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 |
Get the CIDRs provisioned to an IPAM pool.
This operation returns paginated results.
Synopsis
- data GetIpamPoolCidrs = GetIpamPoolCidrs' {}
- newGetIpamPoolCidrs :: Text -> GetIpamPoolCidrs
- getIpamPoolCidrs_dryRun :: Lens' GetIpamPoolCidrs (Maybe Bool)
- getIpamPoolCidrs_filters :: Lens' GetIpamPoolCidrs (Maybe [Filter])
- getIpamPoolCidrs_maxResults :: Lens' GetIpamPoolCidrs (Maybe Natural)
- getIpamPoolCidrs_nextToken :: Lens' GetIpamPoolCidrs (Maybe Text)
- getIpamPoolCidrs_ipamPoolId :: Lens' GetIpamPoolCidrs Text
- data GetIpamPoolCidrsResponse = GetIpamPoolCidrsResponse' {
- ipamPoolCidrs :: Maybe [IpamPoolCidr]
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetIpamPoolCidrsResponse :: Int -> GetIpamPoolCidrsResponse
- getIpamPoolCidrsResponse_ipamPoolCidrs :: Lens' GetIpamPoolCidrsResponse (Maybe [IpamPoolCidr])
- getIpamPoolCidrsResponse_nextToken :: Lens' GetIpamPoolCidrsResponse (Maybe Text)
- getIpamPoolCidrsResponse_httpStatus :: Lens' GetIpamPoolCidrsResponse Int
Creating a Request
data GetIpamPoolCidrs Source #
See: newGetIpamPoolCidrs
smart constructor.
GetIpamPoolCidrs' | |
|
Instances
Create a value of GetIpamPoolCidrs
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:GetIpamPoolCidrs'
, getIpamPoolCidrs_dryRun
- A check for 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:filters:GetIpamPoolCidrs'
, getIpamPoolCidrs_filters
- One or more filters for the request. For more information about
filtering, see
Filtering CLI output.
$sel:maxResults:GetIpamPoolCidrs'
, getIpamPoolCidrs_maxResults
- The maximum number of results to return in the request.
GetIpamPoolCidrs
, getIpamPoolCidrs_nextToken
- The token for the next page of results.
GetIpamPoolCidrs
, getIpamPoolCidrs_ipamPoolId
- The ID of the IPAM pool you want the CIDR for.
Request Lenses
getIpamPoolCidrs_dryRun :: Lens' GetIpamPoolCidrs (Maybe Bool) Source #
A check for 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
.
getIpamPoolCidrs_filters :: Lens' GetIpamPoolCidrs (Maybe [Filter]) Source #
One or more filters for the request. For more information about filtering, see Filtering CLI output.
getIpamPoolCidrs_maxResults :: Lens' GetIpamPoolCidrs (Maybe Natural) Source #
The maximum number of results to return in the request.
getIpamPoolCidrs_nextToken :: Lens' GetIpamPoolCidrs (Maybe Text) Source #
The token for the next page of results.
getIpamPoolCidrs_ipamPoolId :: Lens' GetIpamPoolCidrs Text Source #
The ID of the IPAM pool you want the CIDR for.
Destructuring the Response
data GetIpamPoolCidrsResponse Source #
See: newGetIpamPoolCidrsResponse
smart constructor.
GetIpamPoolCidrsResponse' | |
|
Instances
newGetIpamPoolCidrsResponse Source #
Create a value of GetIpamPoolCidrsResponse
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:ipamPoolCidrs:GetIpamPoolCidrsResponse'
, getIpamPoolCidrsResponse_ipamPoolCidrs
- Information about the CIDRs provisioned to an IPAM pool.
GetIpamPoolCidrs
, getIpamPoolCidrsResponse_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:GetIpamPoolCidrsResponse'
, getIpamPoolCidrsResponse_httpStatus
- The response's http status code.
Response Lenses
getIpamPoolCidrsResponse_ipamPoolCidrs :: Lens' GetIpamPoolCidrsResponse (Maybe [IpamPoolCidr]) Source #
Information about the CIDRs provisioned to an IPAM pool.
getIpamPoolCidrsResponse_nextToken :: Lens' GetIpamPoolCidrsResponse (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.
getIpamPoolCidrsResponse_httpStatus :: Lens' GetIpamPoolCidrsResponse Int Source #
The response's http status code.