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

Description

Returns a paginated list of CIDR locations for the given collection (metadata only, does not include CIDR blocks).

This operation returns paginated results.

Synopsis

Creating a Request

data ListCidrLocations Source #

See: newListCidrLocations smart constructor.

Constructors

ListCidrLocations' 

Fields

  • maxResults :: Maybe Text

    The maximum number of CIDR collection locations to return in the response.

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

  • collectionId :: Text

    The CIDR collection ID.

Instances

Instances details
ToHeaders ListCidrLocations Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

ToPath ListCidrLocations Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

ToQuery ListCidrLocations Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

AWSPager ListCidrLocations Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

AWSRequest ListCidrLocations Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

Associated Types

type AWSResponse ListCidrLocations #

Generic ListCidrLocations Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

Associated Types

type Rep ListCidrLocations :: Type -> Type #

Read ListCidrLocations Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

Show ListCidrLocations Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

NFData ListCidrLocations Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

Methods

rnf :: ListCidrLocations -> () #

Eq ListCidrLocations Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

Hashable ListCidrLocations Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

type AWSResponse ListCidrLocations Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

type Rep ListCidrLocations Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

type Rep ListCidrLocations = D1 ('MetaData "ListCidrLocations" "Amazonka.Route53.ListCidrLocations" "amazonka-route53-2.0-8wP357MyuPX6rh87d4wklb" 'False) (C1 ('MetaCons "ListCidrLocations'" 'PrefixI 'True) (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))))

newListCidrLocations Source #

Create a value of ListCidrLocations 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:maxResults:ListCidrLocations', listCidrLocations_maxResults - The maximum number of CIDR collection locations to return in the response.

ListCidrLocations, listCidrLocations_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.

ListCidrLocations, listCidrLocations_collectionId - The CIDR collection ID.

Request Lenses

listCidrLocations_maxResults :: Lens' ListCidrLocations (Maybe Text) Source #

The maximum number of CIDR collection locations to return in the response.

listCidrLocations_nextToken :: Lens' ListCidrLocations (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.

Destructuring the Response

data ListCidrLocationsResponse Source #

See: newListCidrLocationsResponse smart constructor.

Constructors

ListCidrLocationsResponse' 

Fields

  • cidrLocations :: Maybe [LocationSummary]

    A complex type that contains information about the list of CIDR locations.

  • 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 ListCidrLocationsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

Associated Types

type Rep ListCidrLocationsResponse :: Type -> Type #

Read ListCidrLocationsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

Show ListCidrLocationsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

NFData ListCidrLocationsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

Eq ListCidrLocationsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

type Rep ListCidrLocationsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListCidrLocations

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

newListCidrLocationsResponse Source #

Create a value of ListCidrLocationsResponse 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:cidrLocations:ListCidrLocationsResponse', listCidrLocationsResponse_cidrLocations - A complex type that contains information about the list of CIDR locations.

ListCidrLocations, listCidrLocationsResponse_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:ListCidrLocationsResponse', listCidrLocationsResponse_httpStatus - The response's http status code.

Response Lenses

listCidrLocationsResponse_cidrLocations :: Lens' ListCidrLocationsResponse (Maybe [LocationSummary]) Source #

A complex type that contains information about the list of CIDR locations.

listCidrLocationsResponse_nextToken :: Lens' ListCidrLocationsResponse (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.