amazonka-route53-2.0: Amazon Route 53 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.Route53.ListCidrBlocks

Description

Returns a paginated list of location objects and their CIDR blocks.

This operation returns paginated results.

Synopsis

Creating a Request

data ListCidrBlocks Source #

See: newListCidrBlocks smart constructor.

Constructors

ListCidrBlocks' 

Fields

Instances

Instances details
ToHeaders ListCidrBlocks Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

ToPath ListCidrBlocks Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

ToQuery ListCidrBlocks Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

AWSPager ListCidrBlocks Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

AWSRequest ListCidrBlocks Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

Associated Types

type AWSResponse ListCidrBlocks #

Generic ListCidrBlocks Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

Associated Types

type Rep ListCidrBlocks :: Type -> Type #

Read ListCidrBlocks Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

Show ListCidrBlocks Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

NFData ListCidrBlocks Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

Methods

rnf :: ListCidrBlocks -> () #

Eq ListCidrBlocks Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

Hashable ListCidrBlocks Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

type AWSResponse ListCidrBlocks Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

type Rep ListCidrBlocks Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

type Rep ListCidrBlocks = D1 ('MetaData "ListCidrBlocks" "Amazonka.Route53.ListCidrBlocks" "amazonka-route53-2.0-8wP357MyuPX6rh87d4wklb" 'False) (C1 ('MetaCons "ListCidrBlocks'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "locationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "collectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListCidrBlocks Source #

Create a value of ListCidrBlocks 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:

ListCidrBlocks, listCidrBlocks_locationName - The name of the CIDR collection location.

$sel:maxResults:ListCidrBlocks', listCidrBlocks_maxResults - Maximum number of results you want returned.

ListCidrBlocks, listCidrBlocks_nextToken - An opaque pagination token to indicate where the service is to begin enumerating results.

ListCidrBlocks, listCidrBlocks_collectionId - The UUID of the CIDR collection.

Request Lenses

listCidrBlocks_locationName :: Lens' ListCidrBlocks (Maybe Text) Source #

The name of the CIDR collection location.

listCidrBlocks_maxResults :: Lens' ListCidrBlocks (Maybe Text) Source #

Maximum number of results you want returned.

listCidrBlocks_nextToken :: Lens' ListCidrBlocks (Maybe Text) Source #

An opaque pagination token to indicate where the service is to begin enumerating results.

listCidrBlocks_collectionId :: Lens' ListCidrBlocks Text Source #

The UUID of the CIDR collection.

Destructuring the Response

data ListCidrBlocksResponse Source #

See: newListCidrBlocksResponse smart constructor.

Constructors

ListCidrBlocksResponse' 

Fields

  • cidrBlocks :: Maybe [CidrBlockSummary]

    A complex type that contains information about the CIDR blocks.

  • nextToken :: Maybe Text

    An opaque pagination token to indicate where the service is to begin enumerating results.

    If no value is provided, the listing of results starts from the beginning.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListCidrBlocksResponse Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

Associated Types

type Rep ListCidrBlocksResponse :: Type -> Type #

Read ListCidrBlocksResponse Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

Show ListCidrBlocksResponse Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

NFData ListCidrBlocksResponse Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

Methods

rnf :: ListCidrBlocksResponse -> () #

Eq ListCidrBlocksResponse Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

type Rep ListCidrBlocksResponse Source # 
Instance details

Defined in Amazonka.Route53.ListCidrBlocks

type Rep ListCidrBlocksResponse = D1 ('MetaData "ListCidrBlocksResponse" "Amazonka.Route53.ListCidrBlocks" "amazonka-route53-2.0-8wP357MyuPX6rh87d4wklb" 'False) (C1 ('MetaCons "ListCidrBlocksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cidrBlocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CidrBlockSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListCidrBlocksResponse Source #

Create a value of ListCidrBlocksResponse 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:cidrBlocks:ListCidrBlocksResponse', listCidrBlocksResponse_cidrBlocks - A complex type that contains information about the CIDR blocks.

ListCidrBlocks, listCidrBlocksResponse_nextToken - An opaque pagination token to indicate where the service is to begin enumerating results.

If no value is provided, the listing of results starts from the beginning.

$sel:httpStatus:ListCidrBlocksResponse', listCidrBlocksResponse_httpStatus - The response's http status code.

Response Lenses

listCidrBlocksResponse_cidrBlocks :: Lens' ListCidrBlocksResponse (Maybe [CidrBlockSummary]) Source #

A complex type that contains information about the CIDR blocks.

listCidrBlocksResponse_nextToken :: Lens' ListCidrBlocksResponse (Maybe Text) Source #

An opaque pagination token to indicate where the service is to begin enumerating results.

If no value is provided, the listing of results starts from the beginning.