libZSservicesZSamazonka-locationZSamazonka-location
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Location.ListMaps

Description

Lists map resources in your AWS account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListMaps Source #

See: newListMaps smart constructor.

Constructors

ListMaps' 

Fields

  • nextToken :: Maybe Text

    The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

    Default value: null

  • maxResults :: Maybe Natural

    An optional limit for the number of resources returned in a single call.

    Default value: 100

Instances

Instances details
Eq ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Read ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Show ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Generic ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Associated Types

type Rep ListMaps :: Type -> Type #

Methods

from :: ListMaps -> Rep ListMaps x #

to :: Rep ListMaps x -> ListMaps #

NFData ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Methods

rnf :: ListMaps -> () #

Hashable ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Methods

hashWithSalt :: Int -> ListMaps -> Int #

hash :: ListMaps -> Int #

ToJSON ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

AWSPager ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

AWSRequest ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Associated Types

type AWSResponse ListMaps #

ToHeaders ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Methods

toHeaders :: ListMaps -> [Header] #

ToPath ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

ToQuery ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

type Rep ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

type Rep ListMaps = D1 ('MetaData "ListMaps" "Amazonka.Location.ListMaps" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "ListMaps'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

newListMaps :: ListMaps Source #

Create a value of ListMaps 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:nextToken:ListMaps', listMaps_nextToken - The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

Default value: null

$sel:maxResults:ListMaps', listMaps_maxResults - An optional limit for the number of resources returned in a single call.

Default value: 100

Request Lenses

listMaps_nextToken :: Lens' ListMaps (Maybe Text) Source #

The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

Default value: null

listMaps_maxResults :: Lens' ListMaps (Maybe Natural) Source #

An optional limit for the number of resources returned in a single call.

Default value: 100

Destructuring the Response

data ListMapsResponse Source #

See: newListMapsResponse smart constructor.

Constructors

ListMapsResponse' 

Fields

  • nextToken :: Maybe Text

    A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.

  • httpStatus :: Int

    The response's http status code.

  • entries :: [ListMapsResponseEntry]

    Contains a list of maps in your AWS account

Instances

Instances details
Eq ListMapsResponse Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Read ListMapsResponse Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Show ListMapsResponse Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Generic ListMapsResponse Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Associated Types

type Rep ListMapsResponse :: Type -> Type #

NFData ListMapsResponse Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Methods

rnf :: ListMapsResponse -> () #

type Rep ListMapsResponse Source # 
Instance details

Defined in Amazonka.Location.ListMaps

type Rep ListMapsResponse = D1 ('MetaData "ListMapsResponse" "Amazonka.Location.ListMaps" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "ListMapsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "entries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ListMapsResponseEntry]))))

newListMapsResponse Source #

Create a value of ListMapsResponse 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:nextToken:ListMaps', listMapsResponse_nextToken - A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.

$sel:httpStatus:ListMapsResponse', listMapsResponse_httpStatus - The response's http status code.

$sel:entries:ListMapsResponse', listMapsResponse_entries - Contains a list of maps in your AWS account

Response Lenses

listMapsResponse_nextToken :: Lens' ListMapsResponse (Maybe Text) Source #

A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.

listMapsResponse_httpStatus :: Lens' ListMapsResponse Int Source #

The response's http status code.

listMapsResponse_entries :: Lens' ListMapsResponse [ListMapsResponseEntry] Source #

Contains a list of maps in your AWS account