Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data DeleteDhcpOptions = DeleteDhcpOptions' {
- dryRun :: Maybe Bool
- dhcpOptionsId :: Text
- newDeleteDhcpOptions :: Text -> DeleteDhcpOptions
- deleteDhcpOptions_dryRun :: Lens' DeleteDhcpOptions (Maybe Bool)
- deleteDhcpOptions_dhcpOptionsId :: Lens' DeleteDhcpOptions Text
- data DeleteDhcpOptionsResponse = DeleteDhcpOptionsResponse' {
- newDeleteDhcpOptionsResponse :: DeleteDhcpOptionsResponse
Creating a Request
data DeleteDhcpOptions Source #
See: newDeleteDhcpOptions
smart constructor.
DeleteDhcpOptions' | |
|
Instances
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
.
deleteDhcpOptions_dhcpOptionsId :: Lens' DeleteDhcpOptions Text Source #
The ID of the DHCP options set.
Destructuring the Response
data DeleteDhcpOptionsResponse Source #
See: newDeleteDhcpOptionsResponse
smart constructor.
Instances
Generic DeleteDhcpOptionsResponse Source # | |
Defined in Amazonka.EC2.DeleteDhcpOptions type Rep DeleteDhcpOptionsResponse :: Type -> Type # | |
Read DeleteDhcpOptionsResponse Source # | |
Show DeleteDhcpOptionsResponse Source # | |
Defined in Amazonka.EC2.DeleteDhcpOptions showsPrec :: Int -> DeleteDhcpOptionsResponse -> ShowS # show :: DeleteDhcpOptionsResponse -> String # showList :: [DeleteDhcpOptionsResponse] -> ShowS # | |
NFData DeleteDhcpOptionsResponse Source # | |
Defined in Amazonka.EC2.DeleteDhcpOptions rnf :: DeleteDhcpOptionsResponse -> () # | |
Eq DeleteDhcpOptionsResponse Source # | |
Defined in Amazonka.EC2.DeleteDhcpOptions | |
type Rep DeleteDhcpOptionsResponse Source # | |
newDeleteDhcpOptionsResponse :: DeleteDhcpOptionsResponse Source #
Create a value of DeleteDhcpOptionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.