amazonka-ec2-1.4.4: 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 Source #

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:

data DeleteDHCPOptions Source #

Contains the parameters for DeleteDhcpOptions.

See: deleteDHCPOptions smart constructor.

Instances

Eq DeleteDHCPOptions Source # 
Data DeleteDHCPOptions Source # 

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 Source # 
Show DeleteDHCPOptions Source # 
Generic DeleteDHCPOptions Source # 
Hashable DeleteDHCPOptions Source # 
NFData DeleteDHCPOptions Source # 

Methods

rnf :: DeleteDHCPOptions -> () #

AWSRequest DeleteDHCPOptions Source # 
ToPath DeleteDHCPOptions Source # 
ToHeaders DeleteDHCPOptions Source # 
ToQuery DeleteDHCPOptions Source # 
type Rep DeleteDHCPOptions Source # 
type Rep DeleteDHCPOptions = D1 (MetaData "DeleteDHCPOptions" "Network.AWS.EC2.DeleteDHCPOptions" "amazonka-ec2-1.4.4-4aYNmHv73MpJXVQjlVKYjQ" 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 Source # 

Request Lenses

ddhcpoDryRun :: Lens' DeleteDHCPOptions (Maybe Bool) Source #

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 Source #

The ID of the DHCP options set.

Destructuring the Response

deleteDHCPOptionsResponse :: DeleteDHCPOptionsResponse Source #

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

data DeleteDHCPOptionsResponse Source #

See: deleteDHCPOptionsResponse smart constructor.

Instances

Eq DeleteDHCPOptionsResponse Source # 
Data DeleteDHCPOptionsResponse Source # 

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 Source # 
Show DeleteDHCPOptionsResponse Source # 
Generic DeleteDHCPOptionsResponse Source # 
NFData DeleteDHCPOptionsResponse Source # 
type Rep DeleteDHCPOptionsResponse Source # 
type Rep DeleteDHCPOptionsResponse = D1 (MetaData "DeleteDHCPOptionsResponse" "Network.AWS.EC2.DeleteDHCPOptions" "amazonka-ec2-1.4.4-4aYNmHv73MpJXVQjlVKYjQ" False) (C1 (MetaCons "DeleteDHCPOptionsResponse'" PrefixI False) U1)