Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Disassociates an Elastic IP address from the instance or network interface it's associated with.
An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide.
This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error.
- disassociateAddress :: DisassociateAddress
- data DisassociateAddress
- dasAssociationId :: Lens' DisassociateAddress (Maybe Text)
- dasPublicIP :: Lens' DisassociateAddress (Maybe Text)
- dasDryRun :: Lens' DisassociateAddress (Maybe Bool)
- disassociateAddressResponse :: DisassociateAddressResponse
- data DisassociateAddressResponse
Creating a Request
disassociateAddress :: DisassociateAddress Source #
Creates a value of DisassociateAddress
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DisassociateAddress Source #
Contains the parameters for DisassociateAddress.
See: disassociateAddress
smart constructor.
Request Lenses
dasAssociationId :: Lens' DisassociateAddress (Maybe Text) Source #
- EC2-VPC
- The association ID. Required for EC2-VPC.
dasPublicIP :: Lens' DisassociateAddress (Maybe Text) Source #
- EC2-Classic
- The Elastic IP address. Required for EC2-Classic.
dasDryRun :: Lens' DisassociateAddress (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
disassociateAddressResponse :: DisassociateAddressResponse Source #
Creates a value of DisassociateAddressResponse
with the minimum fields required to make a request.
data DisassociateAddressResponse Source #
See: disassociateAddressResponse
smart constructor.