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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DisassociateAddress

Contents

Description

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 ElasticCompute Cloud User Guide.

This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DisassociateAddress.html

Synopsis

Request

Request constructor

disassociateAddress :: DisassociateAddress Source

DisassociateAddress constructor.

The fields accessible through corresponding lenses are:

Request lenses

da1AssociationId :: Lens' DisassociateAddress (Maybe Text) Source

EC2-VPC
The association ID. Required for EC2-VPC.

da1PublicIp :: Lens' DisassociateAddress (Maybe Text) Source

EC2-Classic
The Elastic IP address. Required for EC2-Classic.

Response

Response constructor