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 #

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

Defined in Network.AWS.EC2.DeleteDHCPOptions

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

Defined in Network.AWS.EC2.DeleteDHCPOptions

Show DeleteDHCPOptions # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

Generic DeleteDHCPOptions # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

Associated Types

type Rep DeleteDHCPOptions :: Type -> Type #

Hashable DeleteDHCPOptions # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

AWSRequest DeleteDHCPOptions # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

Associated Types

type Rs DeleteDHCPOptions :: Type #

ToHeaders DeleteDHCPOptions # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

ToPath DeleteDHCPOptions # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

ToQuery DeleteDHCPOptions # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

NFData DeleteDHCPOptions # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

Methods

rnf :: DeleteDHCPOptions -> () #

type Rep DeleteDHCPOptions # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

type Rep DeleteDHCPOptions = D1 (MetaData "DeleteDHCPOptions" "Network.AWS.EC2.DeleteDHCPOptions" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" 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 # 
Instance details

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

Defined in Network.AWS.EC2.DeleteDHCPOptions

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

Defined in Network.AWS.EC2.DeleteDHCPOptions

Show DeleteDHCPOptionsResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

Generic DeleteDHCPOptionsResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

Associated Types

type Rep DeleteDHCPOptionsResponse :: Type -> Type #

NFData DeleteDHCPOptionsResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

type Rep DeleteDHCPOptionsResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteDHCPOptions

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