Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes Elastic IP addresses .
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 .
Synopsis
- 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]
- deirsResponseStatus :: 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:
deiInstanceId
- The instance ID. If you include this parameter,DescribeElasticIps
returns a description of the Elastic IP addresses associated with the specified instance.deiIPs
- 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
- A stack ID. If you include this parameter,DescribeElasticIps
returns a description of the Elastic IP addresses that are registered with the specified stack.
data DescribeElasticIPs Source #
See: describeElasticIPs
smart constructor.
Instances
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:
deirsElasticIPs
- AnElasticIps
object that describes the specified Elastic IP addresses.deirsResponseStatus
- -- | The response status code.
data DescribeElasticIPsResponse Source #
Contains the response to a DescribeElasticIps
request.
See: describeElasticIPsResponse
smart constructor.
Instances
Response Lenses
deirsElasticIPs :: Lens' DescribeElasticIPsResponse [ElasticIP] Source #
An ElasticIps
object that describes the specified Elastic IP addresses.
deirsResponseStatus :: Lens' DescribeElasticIPsResponse Int Source #
- - | The response status code.