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 the attributes of the specified Elastic IP addresses. For requirements, see Using reverse DNS for email applications.
This operation returns paginated results.
Synopsis
- data DescribeAddressesAttribute = DescribeAddressesAttribute' {}
- newDescribeAddressesAttribute :: DescribeAddressesAttribute
- describeAddressesAttribute_allocationIds :: Lens' DescribeAddressesAttribute (Maybe [Text])
- describeAddressesAttribute_attribute :: Lens' DescribeAddressesAttribute (Maybe AddressAttributeName)
- describeAddressesAttribute_dryRun :: Lens' DescribeAddressesAttribute (Maybe Bool)
- describeAddressesAttribute_maxResults :: Lens' DescribeAddressesAttribute (Maybe Natural)
- describeAddressesAttribute_nextToken :: Lens' DescribeAddressesAttribute (Maybe Text)
- data DescribeAddressesAttributeResponse = DescribeAddressesAttributeResponse' {
- addresses :: Maybe [AddressAttribute]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeAddressesAttributeResponse :: Int -> DescribeAddressesAttributeResponse
- describeAddressesAttributeResponse_addresses :: Lens' DescribeAddressesAttributeResponse (Maybe [AddressAttribute])
- describeAddressesAttributeResponse_nextToken :: Lens' DescribeAddressesAttributeResponse (Maybe Text)
- describeAddressesAttributeResponse_httpStatus :: Lens' DescribeAddressesAttributeResponse Int
Creating a Request
data DescribeAddressesAttribute Source #
See: newDescribeAddressesAttribute
smart constructor.
DescribeAddressesAttribute' | |
|
Instances
newDescribeAddressesAttribute :: DescribeAddressesAttribute Source #
Create a value of DescribeAddressesAttribute
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:allocationIds:DescribeAddressesAttribute'
, describeAddressesAttribute_allocationIds
- [EC2-VPC] The allocation IDs.
$sel:attribute:DescribeAddressesAttribute'
, describeAddressesAttribute_attribute
- The attribute of the IP address.
$sel:dryRun:DescribeAddressesAttribute'
, describeAddressesAttribute_dryRun
- 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
.
$sel:maxResults:DescribeAddressesAttribute'
, describeAddressesAttribute_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
DescribeAddressesAttribute
, describeAddressesAttribute_nextToken
- The token for the next page of results.
Request Lenses
describeAddressesAttribute_allocationIds :: Lens' DescribeAddressesAttribute (Maybe [Text]) Source #
- EC2-VPC
- The allocation IDs.
describeAddressesAttribute_attribute :: Lens' DescribeAddressesAttribute (Maybe AddressAttributeName) Source #
The attribute of the IP address.
describeAddressesAttribute_dryRun :: Lens' DescribeAddressesAttribute (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
.
describeAddressesAttribute_maxResults :: Lens' DescribeAddressesAttribute (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
describeAddressesAttribute_nextToken :: Lens' DescribeAddressesAttribute (Maybe Text) Source #
The token for the next page of results.
Destructuring the Response
data DescribeAddressesAttributeResponse Source #
See: newDescribeAddressesAttributeResponse
smart constructor.
DescribeAddressesAttributeResponse' | |
|
Instances
newDescribeAddressesAttributeResponse Source #
Create a value of DescribeAddressesAttributeResponse
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:
DescribeAddressesAttributeResponse
, describeAddressesAttributeResponse_addresses
- Information about the IP addresses.
DescribeAddressesAttribute
, describeAddressesAttributeResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:httpStatus:DescribeAddressesAttributeResponse'
, describeAddressesAttributeResponse_httpStatus
- The response's http status code.
Response Lenses
describeAddressesAttributeResponse_addresses :: Lens' DescribeAddressesAttributeResponse (Maybe [AddressAttribute]) Source #
Information about the IP addresses.
describeAddressesAttributeResponse_nextToken :: Lens' DescribeAddressesAttributeResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
describeAddressesAttributeResponse_httpStatus :: Lens' DescribeAddressesAttributeResponse Int Source #
The response's http status code.