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

Description

Lists tracker resources in your AWS account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTrackers Source #

See: newListTrackers smart constructor.

Constructors

ListTrackers' 

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

Defined in Amazonka.Location.ListTrackers

Read ListTrackers Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

Show ListTrackers Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

Generic ListTrackers Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

Associated Types

type Rep ListTrackers :: Type -> Type #

NFData ListTrackers Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

Methods

rnf :: ListTrackers -> () #

Hashable ListTrackers Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

ToJSON ListTrackers Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

AWSPager ListTrackers Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

AWSRequest ListTrackers Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

Associated Types

type AWSResponse ListTrackers #

ToHeaders ListTrackers Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

ToPath ListTrackers Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

ToQuery ListTrackers Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

type Rep ListTrackers Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

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

Defined in Amazonka.Location.ListTrackers

newListTrackers :: ListTrackers Source #

Create a value of ListTrackers 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:ListTrackers', listTrackers_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:ListTrackers', listTrackers_maxResults - An optional limit for the number of resources returned in a single call.

Default value: 100

Request Lenses

listTrackers_nextToken :: Lens' ListTrackers (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

listTrackers_maxResults :: Lens' ListTrackers (Maybe Natural) Source #

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

Default value: 100

Destructuring the Response

data ListTrackersResponse Source #

See: newListTrackersResponse smart constructor.

Constructors

ListTrackersResponse' 

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 :: [ListTrackersResponseEntry]

    Contains tracker resources in your AWS account. Details include tracker name, description and timestamps for when the tracker was created and last updated.

Instances

Instances details
Eq ListTrackersResponse Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

Read ListTrackersResponse Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

Show ListTrackersResponse Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

Generic ListTrackersResponse Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

Associated Types

type Rep ListTrackersResponse :: Type -> Type #

NFData ListTrackersResponse Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

Methods

rnf :: ListTrackersResponse -> () #

type Rep ListTrackersResponse Source # 
Instance details

Defined in Amazonka.Location.ListTrackers

type Rep ListTrackersResponse = D1 ('MetaData "ListTrackersResponse" "Amazonka.Location.ListTrackers" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "ListTrackersResponse'" '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 [ListTrackersResponseEntry]))))

newListTrackersResponse Source #

Create a value of ListTrackersResponse 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:ListTrackers', listTrackersResponse_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:ListTrackersResponse', listTrackersResponse_httpStatus - The response's http status code.

$sel:entries:ListTrackersResponse', listTrackersResponse_entries - Contains tracker resources in your AWS account. Details include tracker name, description and timestamps for when the tracker was created and last updated.

Response Lenses

listTrackersResponse_nextToken :: Lens' ListTrackersResponse (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.

listTrackersResponse_entries :: Lens' ListTrackersResponse [ListTrackersResponseEntry] Source #

Contains tracker resources in your AWS account. Details include tracker name, description and timestamps for when the tracker was created and last updated.