Copyright | (c) 2013-2015 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 |
Describes one or more of your Elastic IP addresses.
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.
See: AWS API Reference for DescribeAddresses.
- describeAddresses :: DescribeAddresses
- data DescribeAddresses
- daFilters :: Lens' DescribeAddresses [Filter]
- daPublicIPs :: Lens' DescribeAddresses [Text]
- daAllocationIds :: Lens' DescribeAddresses [Text]
- daDryRun :: Lens' DescribeAddresses (Maybe Bool)
- describeAddressesResponse :: Int -> DescribeAddressesResponse
- data DescribeAddressesResponse
- darsAddresses :: Lens' DescribeAddressesResponse [Address]
- darsResponseStatus :: Lens' DescribeAddressesResponse Int
Creating a Request
describeAddresses :: DescribeAddresses Source
Creates a value of DescribeAddresses
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeAddresses Source
See: describeAddresses
smart constructor.
Request Lenses
daFilters :: Lens' DescribeAddresses [Filter] Source
One or more filters. Filter names and values are case-sensitive.
- 'allocation-id' - [EC2-VPC] The allocation ID for the address.
- 'association-id' - [EC2-VPC] The association ID for the address.
domain
- Indicates whether the address is for use in EC2-Classic (standard
) or in a VPC (vpc
).- 'instance-id' - The ID of the instance the address is associated with, if any.
- 'network-interface-id' - [EC2-VPC] The ID of the network interface that the address is associated with, if any.
- 'network-interface-owner-id' - The AWS account ID of the owner.
- 'private-ip-address' - [EC2-VPC] The private IP address associated with the Elastic IP address.
- 'public-ip' - The Elastic IP address.
daPublicIPs :: Lens' DescribeAddresses [Text] Source
- EC2-Classic
- One or more Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
daAllocationIds :: Lens' DescribeAddresses [Text] Source
- EC2-VPC
- One or more allocation IDs.
Default: Describes all your Elastic IP addresses.
daDryRun :: Lens' DescribeAddresses (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
describeAddressesResponse Source
Creates a value of DescribeAddressesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeAddressesResponse Source
See: describeAddressesResponse
smart constructor.
Response Lenses
darsAddresses :: Lens' DescribeAddressesResponse [Address] Source
Information about one or more Elastic IP addresses.
darsResponseStatus :: Lens' DescribeAddressesResponse Int Source
The response status code.