amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.DeleteDhcpOptions

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

data DeleteDhcpOptions Source #

See: newDeleteDhcpOptions smart constructor.

Constructors

DeleteDhcpOptions' 

Fields

  • dryRun :: 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.

  • dhcpOptionsId :: Text

    The ID of the DHCP options set.

Instances

Instances details
ToHeaders DeleteDhcpOptions Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

ToPath DeleteDhcpOptions Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

ToQuery DeleteDhcpOptions Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

AWSRequest DeleteDhcpOptions Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

Associated Types

type AWSResponse DeleteDhcpOptions #

Generic DeleteDhcpOptions Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

Associated Types

type Rep DeleteDhcpOptions :: Type -> Type #

Read DeleteDhcpOptions Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

Show DeleteDhcpOptions Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

NFData DeleteDhcpOptions Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

Methods

rnf :: DeleteDhcpOptions -> () #

Eq DeleteDhcpOptions Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

Hashable DeleteDhcpOptions Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

type AWSResponse DeleteDhcpOptions Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

type Rep DeleteDhcpOptions Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

type Rep DeleteDhcpOptions = D1 ('MetaData "DeleteDhcpOptions" "Amazonka.EC2.DeleteDhcpOptions" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DeleteDhcpOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "dhcpOptionsId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteDhcpOptions Source #

Create a value of DeleteDhcpOptions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dryRun:DeleteDhcpOptions', deleteDhcpOptions_dryRun - 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.

DeleteDhcpOptions, deleteDhcpOptions_dhcpOptionsId - The ID of the DHCP options set.

Request Lenses

deleteDhcpOptions_dryRun :: 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.

Destructuring the Response

data DeleteDhcpOptionsResponse Source #

See: newDeleteDhcpOptionsResponse smart constructor.

Instances

Instances details
Generic DeleteDhcpOptionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

Associated Types

type Rep DeleteDhcpOptionsResponse :: Type -> Type #

Read DeleteDhcpOptionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

Show DeleteDhcpOptionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

NFData DeleteDhcpOptionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

Eq DeleteDhcpOptionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

type Rep DeleteDhcpOptionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteDhcpOptions

type Rep DeleteDhcpOptionsResponse = D1 ('MetaData "DeleteDhcpOptionsResponse" "Amazonka.EC2.DeleteDhcpOptions" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DeleteDhcpOptionsResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteDhcpOptionsResponse :: DeleteDhcpOptionsResponse Source #

Create a value of DeleteDhcpOptionsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.