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

Description

Get information about your IPAM scopes.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeIpamScopes Source #

See: newDescribeIpamScopes smart constructor.

Constructors

DescribeIpamScopes' 

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.

  • ipamScopeIds :: Maybe [Text]

    The IDs of the scopes you want 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 DescribeIpamScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

ToPath DescribeIpamScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

ToQuery DescribeIpamScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

AWSPager DescribeIpamScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

AWSRequest DescribeIpamScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

Associated Types

type AWSResponse DescribeIpamScopes #

Generic DescribeIpamScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

Associated Types

type Rep DescribeIpamScopes :: Type -> Type #

Read DescribeIpamScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

Show DescribeIpamScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

NFData DescribeIpamScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

Methods

rnf :: DescribeIpamScopes -> () #

Eq DescribeIpamScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

Hashable DescribeIpamScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

type AWSResponse DescribeIpamScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

type Rep DescribeIpamScopes Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

type Rep DescribeIpamScopes = D1 ('MetaData "DescribeIpamScopes" "Amazonka.EC2.DescribeIpamScopes" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeIpamScopes'" '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 "ipamScopeIds") '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))))))

newDescribeIpamScopes :: DescribeIpamScopes Source #

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

$sel:ipamScopeIds:DescribeIpamScopes', describeIpamScopes_ipamScopeIds - The IDs of the scopes you want information on.

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

DescribeIpamScopes, describeIpamScopes_nextToken - The token for the next page of results.

Request Lenses

describeIpamScopes_dryRun :: Lens' DescribeIpamScopes (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.

describeIpamScopes_filters :: Lens' DescribeIpamScopes (Maybe [Filter]) Source #

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

describeIpamScopes_ipamScopeIds :: Lens' DescribeIpamScopes (Maybe [Text]) Source #

The IDs of the scopes you want information on.

describeIpamScopes_maxResults :: Lens' DescribeIpamScopes (Maybe Natural) Source #

The maximum number of results to return in the request.

describeIpamScopes_nextToken :: Lens' DescribeIpamScopes (Maybe Text) Source #

The token for the next page of results.

Destructuring the Response

data DescribeIpamScopesResponse Source #

See: newDescribeIpamScopesResponse smart constructor.

Constructors

DescribeIpamScopesResponse' 

Fields

Instances

Instances details
Generic DescribeIpamScopesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

Associated Types

type Rep DescribeIpamScopesResponse :: Type -> Type #

Read DescribeIpamScopesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

Show DescribeIpamScopesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

NFData DescribeIpamScopesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

Eq DescribeIpamScopesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

type Rep DescribeIpamScopesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIpamScopes

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

newDescribeIpamScopesResponse Source #

Create a value of DescribeIpamScopesResponse 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:ipamScopes:DescribeIpamScopesResponse', describeIpamScopesResponse_ipamScopes - The scopes you want information on.

DescribeIpamScopes, describeIpamScopesResponse_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:DescribeIpamScopesResponse', describeIpamScopesResponse_httpStatus - The response's http status code.

Response Lenses

describeIpamScopesResponse_nextToken :: Lens' DescribeIpamScopesResponse (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.