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 specified IPv4 address pools.
This operation returns paginated results.
Synopsis
- data DescribePublicIpv4Pools = DescribePublicIpv4Pools' {}
- newDescribePublicIpv4Pools :: DescribePublicIpv4Pools
- describePublicIpv4Pools_filters :: Lens' DescribePublicIpv4Pools (Maybe [Filter])
- describePublicIpv4Pools_maxResults :: Lens' DescribePublicIpv4Pools (Maybe Natural)
- describePublicIpv4Pools_nextToken :: Lens' DescribePublicIpv4Pools (Maybe Text)
- describePublicIpv4Pools_poolIds :: Lens' DescribePublicIpv4Pools (Maybe [Text])
- data DescribePublicIpv4PoolsResponse = DescribePublicIpv4PoolsResponse' {}
- newDescribePublicIpv4PoolsResponse :: Int -> DescribePublicIpv4PoolsResponse
- describePublicIpv4PoolsResponse_nextToken :: Lens' DescribePublicIpv4PoolsResponse (Maybe Text)
- describePublicIpv4PoolsResponse_publicIpv4Pools :: Lens' DescribePublicIpv4PoolsResponse (Maybe [PublicIpv4Pool])
- describePublicIpv4PoolsResponse_httpStatus :: Lens' DescribePublicIpv4PoolsResponse Int
Creating a Request
data DescribePublicIpv4Pools Source #
See: newDescribePublicIpv4Pools
smart constructor.
DescribePublicIpv4Pools' | |
|
Instances
newDescribePublicIpv4Pools :: DescribePublicIpv4Pools Source #
Create a value of DescribePublicIpv4Pools
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:filters:DescribePublicIpv4Pools'
, describePublicIpv4Pools_filters
- One or more filters.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
$sel:maxResults:DescribePublicIpv4Pools'
, describePublicIpv4Pools_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.
DescribePublicIpv4Pools
, describePublicIpv4Pools_nextToken
- The token for the next page of results.
$sel:poolIds:DescribePublicIpv4Pools'
, describePublicIpv4Pools_poolIds
- The IDs of the address pools.
Request Lenses
describePublicIpv4Pools_filters :: Lens' DescribePublicIpv4Pools (Maybe [Filter]) Source #
One or more filters.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
describePublicIpv4Pools_maxResults :: Lens' DescribePublicIpv4Pools (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.
describePublicIpv4Pools_nextToken :: Lens' DescribePublicIpv4Pools (Maybe Text) Source #
The token for the next page of results.
describePublicIpv4Pools_poolIds :: Lens' DescribePublicIpv4Pools (Maybe [Text]) Source #
The IDs of the address pools.
Destructuring the Response
data DescribePublicIpv4PoolsResponse Source #
See: newDescribePublicIpv4PoolsResponse
smart constructor.
DescribePublicIpv4PoolsResponse' | |
|
Instances
newDescribePublicIpv4PoolsResponse Source #
Create a value of DescribePublicIpv4PoolsResponse
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:
DescribePublicIpv4Pools
, describePublicIpv4PoolsResponse_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:publicIpv4Pools:DescribePublicIpv4PoolsResponse'
, describePublicIpv4PoolsResponse_publicIpv4Pools
- Information about the address pools.
$sel:httpStatus:DescribePublicIpv4PoolsResponse'
, describePublicIpv4PoolsResponse_httpStatus
- The response's http status code.
Response Lenses
describePublicIpv4PoolsResponse_nextToken :: Lens' DescribePublicIpv4PoolsResponse (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.
describePublicIpv4PoolsResponse_publicIpv4Pools :: Lens' DescribePublicIpv4PoolsResponse (Maybe [PublicIpv4Pool]) Source #
Information about the address pools.
describePublicIpv4PoolsResponse_httpStatus :: Lens' DescribePublicIpv4PoolsResponse Int Source #
The response's http status code.