Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Describes Elastic IP addresses.
This call accepts only one resource-identifying parameter.
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 about user permissions, see Managing User Permissions.
Synopsis
- data DescribeElasticIps = DescribeElasticIps' {}
- newDescribeElasticIps :: DescribeElasticIps
- describeElasticIps_instanceId :: Lens' DescribeElasticIps (Maybe Text)
- describeElasticIps_ips :: Lens' DescribeElasticIps (Maybe [Text])
- describeElasticIps_stackId :: Lens' DescribeElasticIps (Maybe Text)
- data DescribeElasticIpsResponse = DescribeElasticIpsResponse' {
- elasticIps :: Maybe [ElasticIp]
- httpStatus :: Int
- newDescribeElasticIpsResponse :: Int -> DescribeElasticIpsResponse
- describeElasticIpsResponse_elasticIps :: Lens' DescribeElasticIpsResponse (Maybe [ElasticIp])
- describeElasticIpsResponse_httpStatus :: Lens' DescribeElasticIpsResponse Int
Creating a Request
data DescribeElasticIps Source #
See: newDescribeElasticIps
smart constructor.
DescribeElasticIps' | |
|
Instances
newDescribeElasticIps :: DescribeElasticIps Source #
Create a value of DescribeElasticIps
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeElasticIps
, describeElasticIps_instanceId
- The instance ID. If you include this parameter, DescribeElasticIps
returns a description of the Elastic IP addresses associated with the
specified instance.
$sel:ips:DescribeElasticIps'
, describeElasticIps_ips
- 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.
DescribeElasticIps
, describeElasticIps_stackId
- A stack ID. If you include this parameter, DescribeElasticIps
returns
a description of the Elastic IP addresses that are registered with the
specified stack.
Request Lenses
describeElasticIps_instanceId :: 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.
describeElasticIps_ips :: Lens' DescribeElasticIps (Maybe [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.
describeElasticIps_stackId :: 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
data DescribeElasticIpsResponse Source #
Contains the response to a DescribeElasticIps
request.
See: newDescribeElasticIpsResponse
smart constructor.
DescribeElasticIpsResponse' | |
|
Instances
newDescribeElasticIpsResponse Source #
Create a value of DescribeElasticIpsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:elasticIps:DescribeElasticIpsResponse'
, describeElasticIpsResponse_elasticIps
- An ElasticIps
object that describes the specified Elastic IP
addresses.
$sel:httpStatus:DescribeElasticIpsResponse'
, describeElasticIpsResponse_httpStatus
- The response's http status code.
Response Lenses
describeElasticIpsResponse_elasticIps :: Lens' DescribeElasticIpsResponse (Maybe [ElasticIp]) Source #
An ElasticIps
object that describes the specified Elastic IP
addresses.
describeElasticIpsResponse_httpStatus :: Lens' DescribeElasticIpsResponse Int Source #
The response's http status code.