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

Copyright(c) 2013-2015 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.

See: AWS API Reference for DeleteDHCPOptions.

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:

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.