LocationService / Paginator / ListTrackers

ListTrackers#

class LocationService.Paginator.ListTrackers#
paginator = client.get_paginator('list_trackers')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from LocationService.Client.list_trackers().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:

PaginationConfig (dict) –

A dictionary that provides parameters to control pagination.

  • MaxItems (integer) –

    The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

  • PageSize (integer) –

    The size of each page.

  • StartingToken (string) –

    A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'Entries': [
        {
            'TrackerName': 'string',
            'Description': 'string',
            'PricingPlan': 'RequestBasedUsage'|'MobileAssetTracking'|'MobileAssetManagement',
            'PricingPlanDataSource': 'string',
            'CreateTime': datetime(2015, 1, 1),
            'UpdateTime': datetime(2015, 1, 1)
        },
    ],

}

Response Structure

  • (dict) –

    • Entries (list) –

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

      • (dict) –

        Contains the tracker resource details.

        • TrackerName (string) –

          The name of the tracker resource.

        • Description (string) –

          The description for the tracker resource.

        • PricingPlan (string) –

          Always returns RequestBasedUsage.

        • PricingPlanDataSource (string) –

          No longer used. Always returns an empty string.

        • CreateTime (datetime) –

          The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

        • UpdateTime (datetime) –

          The timestamp at which the device’s position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.