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

  • 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

  • trackerName :: Text

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

Instances

Instances details
Eq ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

Read ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

Show ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

Generic ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

Associated Types

type Rep ListTrackerConsumers :: Type -> Type #

NFData ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

Methods

rnf :: ListTrackerConsumers -> () #

Hashable ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

ToJSON 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 #

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

type Rep ListTrackerConsumers Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

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

Defined in Amazonka.Location.ListTrackerConsumers

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:

$sel:nextToken: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

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

Default value: 100

$sel:trackerName:ListTrackerConsumers', listTrackerConsumers_trackerName - The tracker resource whose associated geofence collections you want to list.

Request Lenses

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_maxResults :: Lens' ListTrackerConsumers (Maybe Natural) Source #

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

Default value: 100

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

Defined in Amazonka.Location.ListTrackerConsumers

Read ListTrackerConsumersResponse Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

Show ListTrackerConsumersResponse Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

Generic ListTrackerConsumersResponse Source # 
Instance details

Defined in Amazonka.Location.ListTrackerConsumers

Associated Types

type Rep ListTrackerConsumersResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-locationZSamazonka-location" '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:

$sel:nextToken: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.