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

Description

Get the CIDRs provisioned to an IPAM pool.

This operation returns paginated results.

Synopsis

Creating a Request

data GetIpamPoolCidrs Source #

See: newGetIpamPoolCidrs smart constructor.

Constructors

GetIpamPoolCidrs' 

Fields

  • dryRun :: Maybe Bool

    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.

  • filters :: Maybe [Filter]

    One or more filters for the request. For more information about filtering, see Filtering CLI output.

  • maxResults :: Maybe Natural

    The maximum number of results to return in the request.

  • nextToken :: Maybe Text

    The token for the next page of results.

  • ipamPoolId :: Text

    The ID of the IPAM pool you want the CIDR for.

Instances

Instances details
ToHeaders GetIpamPoolCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

ToPath GetIpamPoolCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

ToQuery GetIpamPoolCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

AWSPager GetIpamPoolCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

AWSRequest GetIpamPoolCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

Associated Types

type AWSResponse GetIpamPoolCidrs #

Generic GetIpamPoolCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

Associated Types

type Rep GetIpamPoolCidrs :: Type -> Type #

Read GetIpamPoolCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

Show GetIpamPoolCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

NFData GetIpamPoolCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

Methods

rnf :: GetIpamPoolCidrs -> () #

Eq GetIpamPoolCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

Hashable GetIpamPoolCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

type AWSResponse GetIpamPoolCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

type Rep GetIpamPoolCidrs Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

type Rep GetIpamPoolCidrs = D1 ('MetaData "GetIpamPoolCidrs" "Amazonka.EC2.GetIpamPoolCidrs" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "GetIpamPoolCidrs'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter]))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ipamPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newGetIpamPoolCidrs Source #

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.

Constructors

GetIpamPoolCidrsResponse' 

Fields

Instances

Instances details
Generic GetIpamPoolCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

Associated Types

type Rep GetIpamPoolCidrsResponse :: Type -> Type #

Read GetIpamPoolCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

Show GetIpamPoolCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

NFData GetIpamPoolCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

Eq GetIpamPoolCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

type Rep GetIpamPoolCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetIpamPoolCidrs

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

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.