amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.GetIpamResourceCidrs

Description

Get information about the resources in a scope.

This operation returns paginated results.

Synopsis

Creating a Request

data GetIpamResourceCidrs Source #

See: newGetIpamResourceCidrs smart constructor.

Constructors

GetIpamResourceCidrs' 

Fields

Instances

Instances details
ToHeaders GetIpamResourceCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

ToPath GetIpamResourceCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

ToQuery GetIpamResourceCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

AWSPager GetIpamResourceCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

AWSRequest GetIpamResourceCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

Associated Types

type AWSResponse GetIpamResourceCidrs #

Generic GetIpamResourceCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

Associated Types

type Rep GetIpamResourceCidrs :: Type -> Type #

Read GetIpamResourceCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

Show GetIpamResourceCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

NFData GetIpamResourceCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

Methods

rnf :: GetIpamResourceCidrs -> () #

Eq GetIpamResourceCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

Hashable GetIpamResourceCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

type AWSResponse GetIpamResourceCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

type Rep GetIpamResourceCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

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_resourceOwner :: Lens' GetIpamResourceCidrs (Maybe Text) Source #

The ID of the Amazon Web Services account that owns the resource.

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.

Constructors

GetIpamResourceCidrsResponse' 

Fields

Instances

Instances details
Generic GetIpamResourceCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

Associated Types

type Rep GetIpamResourceCidrsResponse :: Type -> Type #

Read GetIpamResourceCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

Show GetIpamResourceCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

NFData GetIpamResourceCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

Eq GetIpamResourceCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

type Rep GetIpamResourceCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetIpamResourceCidrs

type Rep GetIpamResourceCidrsResponse = D1 ('MetaData "GetIpamResourceCidrsResponse" "Amazonka.EC2.GetIpamResourceCidrs" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "GetIpamResourceCidrsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ipamResourceCidrs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [IpamResourceCidr])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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_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.