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 IP address ranges that were specified in calls to ProvisionByoipCidr.
To describe the address pools that were created when you provisioned the address ranges, use DescribePublicIpv4Pools or DescribeIpv6Pools.
This operation returns paginated results.
Synopsis
- data DescribeByoipCidrs = DescribeByoipCidrs' {}
- newDescribeByoipCidrs :: Natural -> DescribeByoipCidrs
- describeByoipCidrs_dryRun :: Lens' DescribeByoipCidrs (Maybe Bool)
- describeByoipCidrs_nextToken :: Lens' DescribeByoipCidrs (Maybe Text)
- describeByoipCidrs_maxResults :: Lens' DescribeByoipCidrs Natural
- data DescribeByoipCidrsResponse = DescribeByoipCidrsResponse' {
- byoipCidrs :: Maybe [ByoipCidr]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeByoipCidrsResponse :: Int -> DescribeByoipCidrsResponse
- describeByoipCidrsResponse_byoipCidrs :: Lens' DescribeByoipCidrsResponse (Maybe [ByoipCidr])
- describeByoipCidrsResponse_nextToken :: Lens' DescribeByoipCidrsResponse (Maybe Text)
- describeByoipCidrsResponse_httpStatus :: Lens' DescribeByoipCidrsResponse Int
Creating a Request
data DescribeByoipCidrs Source #
See: newDescribeByoipCidrs
smart constructor.
DescribeByoipCidrs' | |
|
Instances
newDescribeByoipCidrs Source #
Create a value of DescribeByoipCidrs
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:dryRun:DescribeByoipCidrs'
, describeByoipCidrs_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
.
DescribeByoipCidrs
, describeByoipCidrs_nextToken
- The token for the next page of results.
$sel:maxResults:DescribeByoipCidrs'
, describeByoipCidrs_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.
Request Lenses
describeByoipCidrs_dryRun :: Lens' DescribeByoipCidrs (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
.
describeByoipCidrs_nextToken :: Lens' DescribeByoipCidrs (Maybe Text) Source #
The token for the next page of results.
describeByoipCidrs_maxResults :: Lens' DescribeByoipCidrs 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.
Destructuring the Response
data DescribeByoipCidrsResponse Source #
See: newDescribeByoipCidrsResponse
smart constructor.
DescribeByoipCidrsResponse' | |
|
Instances
newDescribeByoipCidrsResponse Source #
Create a value of DescribeByoipCidrsResponse
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:byoipCidrs:DescribeByoipCidrsResponse'
, describeByoipCidrsResponse_byoipCidrs
- Information about your address ranges.
DescribeByoipCidrs
, describeByoipCidrsResponse_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:DescribeByoipCidrsResponse'
, describeByoipCidrsResponse_httpStatus
- The response's http status code.
Response Lenses
describeByoipCidrsResponse_byoipCidrs :: Lens' DescribeByoipCidrsResponse (Maybe [ByoipCidr]) Source #
Information about your address ranges.
describeByoipCidrsResponse_nextToken :: Lens' DescribeByoipCidrsResponse (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.
describeByoipCidrsResponse_httpStatus :: Lens' DescribeByoipCidrsResponse Int Source #
The response's http status code.