amazonka-location-2.0: Amazon Location Service 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.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

  • maxResults :: Maybe Natural

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

    Default value: 100

  • 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

Instances

Instances details
ToJSON ListMaps Source # 
Instance details

Defined in Amazonka.Location.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

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 #

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 #

Read ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Show ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

NFData ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Methods

rnf :: ListMaps -> () #

Eq ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Hashable ListMaps Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Methods

hashWithSalt :: Int -> ListMaps -> Int #

hash :: ListMaps -> Int #

type AWSResponse 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" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "ListMaps'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:

ListMaps, listMaps_maxResults - An optional limit for the number of resources returned in a single call.

Default value: 100

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

Request Lenses

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

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

Default value: 100

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

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
Generic ListMapsResponse Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Associated Types

type Rep ListMapsResponse :: Type -> Type #

Read ListMapsResponse Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Show ListMapsResponse Source # 
Instance details

Defined in Amazonka.Location.ListMaps

NFData ListMapsResponse Source # 
Instance details

Defined in Amazonka.Location.ListMaps

Methods

rnf :: ListMapsResponse -> () #

Eq ListMapsResponse Source # 
Instance details

Defined in Amazonka.Location.ListMaps

type Rep ListMapsResponse Source # 
Instance details

Defined in Amazonka.Location.ListMaps

type Rep ListMapsResponse = D1 ('MetaData "ListMapsResponse" "Amazonka.Location.ListMaps" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" '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:

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