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 information about the resources in a scope.
This operation returns paginated results.
Synopsis
- data GetIpamResourceCidrs = GetIpamResourceCidrs' {}
- newGetIpamResourceCidrs :: Text -> GetIpamResourceCidrs
- getIpamResourceCidrs_dryRun :: Lens' GetIpamResourceCidrs (Maybe Bool)
- getIpamResourceCidrs_filters :: Lens' GetIpamResourceCidrs (Maybe [Filter])
- getIpamResourceCidrs_ipamPoolId :: Lens' GetIpamResourceCidrs (Maybe Text)
- getIpamResourceCidrs_maxResults :: Lens' GetIpamResourceCidrs (Maybe Natural)
- getIpamResourceCidrs_nextToken :: Lens' GetIpamResourceCidrs (Maybe Text)
- getIpamResourceCidrs_resourceId :: Lens' GetIpamResourceCidrs (Maybe Text)
- getIpamResourceCidrs_resourceOwner :: Lens' GetIpamResourceCidrs (Maybe Text)
- getIpamResourceCidrs_resourceTag :: Lens' GetIpamResourceCidrs (Maybe RequestIpamResourceTag)
- getIpamResourceCidrs_resourceType :: Lens' GetIpamResourceCidrs (Maybe IpamResourceType)
- getIpamResourceCidrs_ipamScopeId :: Lens' GetIpamResourceCidrs Text
- data GetIpamResourceCidrsResponse = GetIpamResourceCidrsResponse' {}
- newGetIpamResourceCidrsResponse :: Int -> GetIpamResourceCidrsResponse
- getIpamResourceCidrsResponse_ipamResourceCidrs :: Lens' GetIpamResourceCidrsResponse (Maybe [IpamResourceCidr])
- getIpamResourceCidrsResponse_nextToken :: Lens' GetIpamResourceCidrsResponse (Maybe Text)
- getIpamResourceCidrsResponse_httpStatus :: Lens' GetIpamResourceCidrsResponse Int
Creating a Request
data GetIpamResourceCidrs Source #
See: newGetIpamResourceCidrs
smart constructor.
GetIpamResourceCidrs' | |
|
Instances
newGetIpamResourceCidrs Source #
Create a value of GetIpamResourceCidrs
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:GetIpamResourceCidrs'
, getIpamResourceCidrs_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:GetIpamResourceCidrs'
, getIpamResourceCidrs_filters
- One or more filters for the request. For more information about
filtering, see
Filtering CLI output.
GetIpamResourceCidrs
, getIpamResourceCidrs_ipamPoolId
- The ID of the IPAM pool that the resource is in.
$sel:maxResults:GetIpamResourceCidrs'
, getIpamResourceCidrs_maxResults
- The maximum number of results to return in the request.
GetIpamResourceCidrs
, getIpamResourceCidrs_nextToken
- The token for the next page of results.
GetIpamResourceCidrs
, getIpamResourceCidrs_resourceId
- The ID of the resource.
GetIpamResourceCidrs
, getIpamResourceCidrs_resourceOwner
- The ID of the Amazon Web Services account that owns the resource.
$sel:resourceTag:GetIpamResourceCidrs'
, getIpamResourceCidrs_resourceTag
- The resource tag.
GetIpamResourceCidrs
, getIpamResourceCidrs_resourceType
- The resource type.
GetIpamResourceCidrs
, getIpamResourceCidrs_ipamScopeId
- The ID of the scope that the resource is in.
Request Lenses
getIpamResourceCidrs_dryRun :: Lens' GetIpamResourceCidrs (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
.
getIpamResourceCidrs_filters :: Lens' GetIpamResourceCidrs (Maybe [Filter]) Source #
One or more filters for the request. For more information about filtering, see Filtering CLI output.
getIpamResourceCidrs_ipamPoolId :: Lens' GetIpamResourceCidrs (Maybe Text) Source #
The ID of the IPAM pool that the resource is in.
getIpamResourceCidrs_maxResults :: Lens' GetIpamResourceCidrs (Maybe Natural) Source #
The maximum number of results to return in the request.
getIpamResourceCidrs_nextToken :: Lens' GetIpamResourceCidrs (Maybe Text) Source #
The token for the next page of results.
getIpamResourceCidrs_resourceId :: Lens' GetIpamResourceCidrs (Maybe Text) Source #
The ID of the resource.
getIpamResourceCidrs_resourceOwner :: Lens' GetIpamResourceCidrs (Maybe Text) Source #
The ID of the Amazon Web Services account that owns the resource.
getIpamResourceCidrs_resourceTag :: Lens' GetIpamResourceCidrs (Maybe RequestIpamResourceTag) Source #
The resource tag.
getIpamResourceCidrs_resourceType :: Lens' GetIpamResourceCidrs (Maybe IpamResourceType) Source #
The resource type.
getIpamResourceCidrs_ipamScopeId :: Lens' GetIpamResourceCidrs Text Source #
The ID of the scope that the resource is in.
Destructuring the Response
data GetIpamResourceCidrsResponse Source #
See: newGetIpamResourceCidrsResponse
smart constructor.
GetIpamResourceCidrsResponse' | |
|
Instances
newGetIpamResourceCidrsResponse Source #
Create a value of GetIpamResourceCidrsResponse
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:ipamResourceCidrs:GetIpamResourceCidrsResponse'
, getIpamResourceCidrsResponse_ipamResourceCidrs
- The resource CIDRs.
GetIpamResourceCidrs
, getIpamResourceCidrsResponse_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:GetIpamResourceCidrsResponse'
, getIpamResourceCidrsResponse_httpStatus
- The response's http status code.
Response Lenses
getIpamResourceCidrsResponse_ipamResourceCidrs :: Lens' GetIpamResourceCidrsResponse (Maybe [IpamResourceCidr]) Source #
The resource CIDRs.
getIpamResourceCidrsResponse_nextToken :: Lens' GetIpamResourceCidrsResponse (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.
getIpamResourceCidrsResponse_httpStatus :: Lens' GetIpamResourceCidrsResponse Int Source #
The response's http status code.