SageMaker / Paginator / ListDeviceFleets

ListDeviceFleets#

class SageMaker.Paginator.ListDeviceFleets#
paginator = client.get_paginator('list_device_fleets')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from SageMaker.Client.list_device_fleets().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    CreationTimeAfter=datetime(2015, 1, 1),
    CreationTimeBefore=datetime(2015, 1, 1),
    LastModifiedTimeAfter=datetime(2015, 1, 1),
    LastModifiedTimeBefore=datetime(2015, 1, 1),
    NameContains='string',
    SortBy='NAME'|'CREATION_TIME'|'LAST_MODIFIED_TIME',
    SortOrder='Ascending'|'Descending',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • CreationTimeAfter (datetime) – Filter fleets where packaging job was created after specified time.

  • CreationTimeBefore (datetime) – Filter fleets where the edge packaging job was created before specified time.

  • LastModifiedTimeAfter (datetime) – Select fleets where the job was updated after X

  • LastModifiedTimeBefore (datetime) – Select fleets where the job was updated before X

  • NameContains (string) – Filter for fleets containing this name in their fleet device name.

  • SortBy (string) – The column to sort by.

  • SortOrder (string) – What direction to sort in.

  • 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

{
    'DeviceFleetSummaries': [
        {
            'DeviceFleetArn': 'string',
            'DeviceFleetName': 'string',
            'CreationTime': datetime(2015, 1, 1),
            'LastModifiedTime': datetime(2015, 1, 1)
        },
    ],

}

Response Structure

  • (dict) –

    • DeviceFleetSummaries (list) –

      Summary of the device fleet.

      • (dict) –

        Summary of the device fleet.

        • DeviceFleetArn (string) –

          Amazon Resource Name (ARN) of the device fleet.

        • DeviceFleetName (string) –

          Name of the device fleet.

        • CreationTime (datetime) –

          Timestamp of when the device fleet was created.

        • LastModifiedTime (datetime) –

          Timestamp of when the device fleet was last updated.