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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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:

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

Contains the parameters for DeleteDhcpOptions.

See: deleteDHCPOptions smart constructor.

Instances
Eq DeleteDHCPOptions Source # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

Data DeleteDHCPOptions Source # 
Instance details

Defined in Network.AWS.EC2.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 Source # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

Show DeleteDHCPOptions Source # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

Generic DeleteDHCPOptions Source # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

Associated Types

type Rep DeleteDHCPOptions :: Type -> Type #

Hashable DeleteDHCPOptions Source # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

AWSRequest DeleteDHCPOptions Source # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

Associated Types

type Rs DeleteDHCPOptions :: Type #

ToHeaders DeleteDHCPOptions Source # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

ToPath DeleteDHCPOptions Source # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

ToQuery DeleteDHCPOptions Source # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

NFData DeleteDHCPOptions Source # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

Methods

rnf :: DeleteDHCPOptions -> () #

type Rep DeleteDHCPOptions Source # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

type Rep DeleteDHCPOptions = D1 (MetaData "DeleteDHCPOptions" "Network.AWS.EC2.DeleteDHCPOptions" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DeleteDHCPOptions'" PrefixI True) (S1 (MetaSel (Just "_ddhcpoDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_ddhcpoDHCPOptionsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DeleteDHCPOptions Source # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

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 # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

Data DeleteDHCPOptionsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

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 # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

Show DeleteDHCPOptionsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

Generic DeleteDHCPOptionsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

Associated Types

type Rep DeleteDHCPOptionsResponse :: Type -> Type #

NFData DeleteDHCPOptionsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

type Rep DeleteDHCPOptionsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

type Rep DeleteDHCPOptionsResponse = D1 (MetaData "DeleteDHCPOptionsResponse" "Network.AWS.EC2.DeleteDHCPOptions" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DeleteDHCPOptionsResponse'" PrefixI False) (U1 :: Type -> Type))