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

Description

Get information about your IPAM pools.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeIpamPools Source #

See: newDescribeIpamPools smart constructor.

Constructors

DescribeIpamPools' 

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.

  • ipamPoolIds :: Maybe [Text]

    The IDs of the IPAM pools you would like information on.

  • maxResults :: Maybe Natural

    The maximum number of results to return in the request.

  • nextToken :: Maybe Text

    The token for the next page of results.

Instances

Instances details
ToHeaders DescribeIpamPools Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

ToPath DescribeIpamPools Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

ToQuery DescribeIpamPools Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

AWSPager DescribeIpamPools Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

AWSRequest DescribeIpamPools Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

Associated Types

type AWSResponse DescribeIpamPools #

Generic DescribeIpamPools Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

Associated Types

type Rep DescribeIpamPools :: Type -> Type #

Read DescribeIpamPools Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

Show DescribeIpamPools Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

NFData DescribeIpamPools Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

Methods

rnf :: DescribeIpamPools -> () #

Eq DescribeIpamPools Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

Hashable DescribeIpamPools Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

type AWSResponse DescribeIpamPools Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

type Rep DescribeIpamPools Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

type Rep DescribeIpamPools = D1 ('MetaData "DescribeIpamPools" "Amazonka.EC2.DescribeIpamPools" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeIpamPools'" '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 "ipamPoolIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newDescribeIpamPools :: DescribeIpamPools Source #

Create a value of DescribeIpamPools 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:DescribeIpamPools', describeIpamPools_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:DescribeIpamPools', describeIpamPools_filters - One or more filters for the request. For more information about filtering, see Filtering CLI output.

$sel:ipamPoolIds:DescribeIpamPools', describeIpamPools_ipamPoolIds - The IDs of the IPAM pools you would like information on.

$sel:maxResults:DescribeIpamPools', describeIpamPools_maxResults - The maximum number of results to return in the request.

DescribeIpamPools, describeIpamPools_nextToken - The token for the next page of results.

Request Lenses

describeIpamPools_dryRun :: Lens' DescribeIpamPools (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.

describeIpamPools_filters :: Lens' DescribeIpamPools (Maybe [Filter]) Source #

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

describeIpamPools_ipamPoolIds :: Lens' DescribeIpamPools (Maybe [Text]) Source #

The IDs of the IPAM pools you would like information on.

describeIpamPools_maxResults :: Lens' DescribeIpamPools (Maybe Natural) Source #

The maximum number of results to return in the request.

describeIpamPools_nextToken :: Lens' DescribeIpamPools (Maybe Text) Source #

The token for the next page of results.

Destructuring the Response

data DescribeIpamPoolsResponse Source #

See: newDescribeIpamPoolsResponse smart constructor.

Constructors

DescribeIpamPoolsResponse' 

Fields

Instances

Instances details
Generic DescribeIpamPoolsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

Associated Types

type Rep DescribeIpamPoolsResponse :: Type -> Type #

Read DescribeIpamPoolsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

Show DescribeIpamPoolsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

NFData DescribeIpamPoolsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

Eq DescribeIpamPoolsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

type Rep DescribeIpamPoolsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamPools

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

newDescribeIpamPoolsResponse Source #

Create a value of DescribeIpamPoolsResponse 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:ipamPools:DescribeIpamPoolsResponse', describeIpamPoolsResponse_ipamPools - Information about the IPAM pools.

DescribeIpamPools, describeIpamPoolsResponse_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:DescribeIpamPoolsResponse', describeIpamPoolsResponse_httpStatus - The response's http status code.

Response Lenses

describeIpamPoolsResponse_nextToken :: Lens' DescribeIpamPoolsResponse (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.