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

Description

Lists geofence collections currently associated to the given tracker resource.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTrackerConsumers Source #

See: newListTrackerConsumers smart constructor.

Constructors

ListTrackerConsumers' 

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

  • trackerName :: Text

    The tracker resource whose associated geofence collections you want to list.

Instances

Instances details
ToJSON ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

ToHeaders ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

ToPath ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

ToQuery ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

AWSPager ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

AWSRequest ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

Associated Types

type AWSResponse ListTrackerConsumers #

Generic ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

Associated Types

type Rep ListTrackerConsumers :: Type -> Type #

Read ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

Show ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

NFData ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

Methods

rnf :: ListTrackerConsumers -> () #

Eq ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

Hashable ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

type AWSResponse ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

type Rep ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

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

newListTrackerConsumers Source #

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

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

Default value: 100

ListTrackerConsumers, listTrackerConsumers_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

ListTrackerConsumers, listTrackerConsumers_trackerName - The tracker resource whose associated geofence collections you want to list.

Request Lenses

listTrackerConsumers_maxResults :: Lens' ListTrackerConsumers (Maybe Natural) Source #

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

Default value: 100

listTrackerConsumers_nextToken :: Lens' ListTrackerConsumers (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

listTrackerConsumers_trackerName :: Lens' ListTrackerConsumers Text Source #

The tracker resource whose associated geofence collections you want to list.

Destructuring the Response

data ListTrackerConsumersResponse Source #

See: newListTrackerConsumersResponse smart constructor.

Constructors

ListTrackerConsumersResponse' 

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.

  • consumerArns :: [Text]

    Contains the list of geofence collection ARNs associated to the tracker resource.

Instances

Instances details
Generic ListTrackerConsumersResponse Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

Associated Types

type Rep ListTrackerConsumersResponse :: Type -> Type #

Read ListTrackerConsumersResponse Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

Show ListTrackerConsumersResponse Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

NFData ListTrackerConsumersResponse Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

Eq ListTrackerConsumersResponse Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

type Rep ListTrackerConsumersResponse Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

type Rep ListTrackerConsumersResponse = D1 ('MetaData "ListTrackerConsumersResponse" "Amazonka.Location.ListTrackerConsumers" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "ListTrackerConsumersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "consumerArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

newListTrackerConsumersResponse Source #

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

ListTrackerConsumers, listTrackerConsumersResponse_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:ListTrackerConsumersResponse', listTrackerConsumersResponse_httpStatus - The response's http status code.

$sel:consumerArns:ListTrackerConsumersResponse', listTrackerConsumersResponse_consumerArns - Contains the list of geofence collection ARNs associated to the tracker resource.

Response Lenses

listTrackerConsumersResponse_nextToken :: Lens' ListTrackerConsumersResponse (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.

listTrackerConsumersResponse_consumerArns :: Lens' ListTrackerConsumersResponse [Text] Source #

Contains the list of geofence collection ARNs associated to the tracker resource.