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 Elastic IP addresses.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
See: AWS API Reference for DescribeElasticIPs.
- describeElasticIPs :: DescribeElasticIPs
- data DescribeElasticIPs
- deiInstanceId :: Lens' DescribeElasticIPs (Maybe Text)
- deiIPs :: Lens' DescribeElasticIPs [Text]
- deiStackId :: Lens' DescribeElasticIPs (Maybe Text)
- describeElasticIPsResponse :: Int -> DescribeElasticIPsResponse
- data DescribeElasticIPsResponse
- deirsElasticIPs :: Lens' DescribeElasticIPsResponse [ElasticIP]
- deirsStatus :: Lens' DescribeElasticIPsResponse Int
Creating a Request
describeElasticIPs :: DescribeElasticIPs Source
Creates a value of DescribeElasticIPs
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeElasticIPs Source
See: describeElasticIPs
smart constructor.
Request Lenses
deiInstanceId :: Lens' DescribeElasticIPs (Maybe Text) Source
The instance ID. If you include this parameter, DescribeElasticIps
returns a description of the Elastic IP addresses associated with the
specified instance.
deiIPs :: Lens' DescribeElasticIPs [Text] Source
An array of Elastic IP addresses to be described. If you include this
parameter, DescribeElasticIps
returns a description of the specified
Elastic IP addresses. Otherwise, it returns a description of every
Elastic IP address.
deiStackId :: Lens' DescribeElasticIPs (Maybe Text) Source
A stack ID. If you include this parameter, DescribeElasticIps
returns
a description of the Elastic IP addresses that are registered with the
specified stack.
Destructuring the Response
describeElasticIPsResponse Source
Creates a value of DescribeElasticIPsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeElasticIPsResponse Source
Contains the response to a DescribeElasticIps
request.
See: describeElasticIPsResponse
smart constructor.
Response Lenses
deirsElasticIPs :: Lens' DescribeElasticIPsResponse [ElasticIP] Source
An ElasticIps
object that describes the specified Elastic IP
addresses.
deirsStatus :: Lens' DescribeElasticIPsResponse Int Source
The response status code.