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

Description

Lists geofence collections in your AWS account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListGeofenceCollections Source #

See: newListGeofenceCollections smart constructor.

Constructors

ListGeofenceCollections' 

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

Defined in Amazonka.Location.ListGeofenceCollections

ToHeaders ListGeofenceCollections Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

ToPath ListGeofenceCollections Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

ToQuery ListGeofenceCollections Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

AWSPager ListGeofenceCollections Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

AWSRequest ListGeofenceCollections Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

Generic ListGeofenceCollections Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

Associated Types

type Rep ListGeofenceCollections :: Type -> Type #

Read ListGeofenceCollections Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

Show ListGeofenceCollections Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

NFData ListGeofenceCollections Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

Methods

rnf :: ListGeofenceCollections -> () #

Eq ListGeofenceCollections Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

Hashable ListGeofenceCollections Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

type AWSResponse ListGeofenceCollections Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

type Rep ListGeofenceCollections Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

type Rep ListGeofenceCollections = D1 ('MetaData "ListGeofenceCollections" "Amazonka.Location.ListGeofenceCollections" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "ListGeofenceCollections'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListGeofenceCollections :: ListGeofenceCollections Source #

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

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

Default value: 100

ListGeofenceCollections, listGeofenceCollections_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

listGeofenceCollections_maxResults :: Lens' ListGeofenceCollections (Maybe Natural) Source #

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

Default value: 100

listGeofenceCollections_nextToken :: Lens' ListGeofenceCollections (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 ListGeofenceCollectionsResponse Source #

See: newListGeofenceCollectionsResponse smart constructor.

Constructors

ListGeofenceCollectionsResponse' 

Fields

Instances

Instances details
Generic ListGeofenceCollectionsResponse Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

Associated Types

type Rep ListGeofenceCollectionsResponse :: Type -> Type #

Read ListGeofenceCollectionsResponse Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

Show ListGeofenceCollectionsResponse Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

NFData ListGeofenceCollectionsResponse Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

Eq ListGeofenceCollectionsResponse Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

type Rep ListGeofenceCollectionsResponse Source # 
Instance details

Defined in Amazonka.Location.ListGeofenceCollections

type Rep ListGeofenceCollectionsResponse = D1 ('MetaData "ListGeofenceCollectionsResponse" "Amazonka.Location.ListGeofenceCollections" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "ListGeofenceCollectionsResponse'" '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 [ListGeofenceCollectionsResponseEntry]))))

newListGeofenceCollectionsResponse Source #

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

ListGeofenceCollections, listGeofenceCollectionsResponse_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:ListGeofenceCollectionsResponse', listGeofenceCollectionsResponse_httpStatus - The response's http status code.

$sel:entries:ListGeofenceCollectionsResponse', listGeofenceCollectionsResponse_entries - Lists the geofence collections that exist in your AWS account.

Response Lenses

listGeofenceCollectionsResponse_nextToken :: Lens' ListGeofenceCollectionsResponse (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.