amazonka-ec2-1.4.5: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DeleteDHCPOptions

Contents

Description

Deletes the specified set of DHCP options. You must disassociate the set of DHCP options before you can delete it. You can disassociate the set of DHCP options by associating either a new set of options or the default set of options with the VPC.

Synopsis

Creating a Request

deleteDHCPOptions #

Creates a value of DeleteDHCPOptions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ddhcpoDryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .
  • ddhcpoDHCPOptionsId - The ID of the DHCP options set.

data DeleteDHCPOptions #

Contains the parameters for DeleteDhcpOptions.

See: deleteDHCPOptions smart constructor.

Instances

Eq DeleteDHCPOptions # 
Data DeleteDHCPOptions # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteDHCPOptions -> c DeleteDHCPOptions #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteDHCPOptions #

toConstr :: DeleteDHCPOptions -> Constr #

dataTypeOf :: DeleteDHCPOptions -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteDHCPOptions) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteDHCPOptions) #

gmapT :: (forall b. Data b => b -> b) -> DeleteDHCPOptions -> DeleteDHCPOptions #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteDHCPOptions -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteDHCPOptions -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteDHCPOptions -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteDHCPOptions -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteDHCPOptions -> m DeleteDHCPOptions #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteDHCPOptions -> m DeleteDHCPOptions #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteDHCPOptions -> m DeleteDHCPOptions #

Read DeleteDHCPOptions # 
Show DeleteDHCPOptions # 
Generic DeleteDHCPOptions # 
Hashable DeleteDHCPOptions # 
NFData DeleteDHCPOptions # 

Methods

rnf :: DeleteDHCPOptions -> () #

AWSRequest DeleteDHCPOptions # 
ToQuery DeleteDHCPOptions # 
ToPath DeleteDHCPOptions # 
ToHeaders DeleteDHCPOptions # 
type Rep DeleteDHCPOptions # 
type Rep DeleteDHCPOptions = D1 (MetaData "DeleteDHCPOptions" "Network.AWS.EC2.DeleteDHCPOptions" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DeleteDHCPOptions'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ddhcpoDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_ddhcpoDHCPOptionsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteDHCPOptions # 

Request Lenses

ddhcpoDryRun :: Lens' DeleteDHCPOptions (Maybe Bool) #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .

ddhcpoDHCPOptionsId :: Lens' DeleteDHCPOptions Text #

The ID of the DHCP options set.

Destructuring the Response

deleteDHCPOptionsResponse :: DeleteDHCPOptionsResponse #

Creates a value of DeleteDHCPOptionsResponse with the minimum fields required to make a request.

data DeleteDHCPOptionsResponse #

See: deleteDHCPOptionsResponse smart constructor.

Instances

Eq DeleteDHCPOptionsResponse # 
Data DeleteDHCPOptionsResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteDHCPOptionsResponse -> c DeleteDHCPOptionsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteDHCPOptionsResponse #

toConstr :: DeleteDHCPOptionsResponse -> Constr #

dataTypeOf :: DeleteDHCPOptionsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteDHCPOptionsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteDHCPOptionsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteDHCPOptionsResponse -> DeleteDHCPOptionsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteDHCPOptionsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteDHCPOptionsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteDHCPOptionsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteDHCPOptionsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteDHCPOptionsResponse -> m DeleteDHCPOptionsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteDHCPOptionsResponse -> m DeleteDHCPOptionsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteDHCPOptionsResponse -> m DeleteDHCPOptionsResponse #

Read DeleteDHCPOptionsResponse # 
Show DeleteDHCPOptionsResponse # 
Generic DeleteDHCPOptionsResponse # 
NFData DeleteDHCPOptionsResponse # 
type Rep DeleteDHCPOptionsResponse # 
type Rep DeleteDHCPOptionsResponse = D1 (MetaData "DeleteDHCPOptionsResponse" "Network.AWS.EC2.DeleteDHCPOptions" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DeleteDHCPOptionsResponse'" PrefixI False) U1)