ListFleets

class RoboMaker.Paginator.ListFleets
paginator = client.get_paginator('list_fleets')
paginate(**kwargs)

Creates an iterator that will paginate through responses from RoboMaker.Client.list_fleets().

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    filters=[
        {
            'name': 'string',
            'values': [
                'string',
            ]
        },
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • filters (list) --

    Optional filters to limit results.

    The filter name name is supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters.

    • (dict) --

      Information about a filter.

      • name (string) --

        The name of the filter.

      • values (list) --

        A list of values.

        • (string) --
  • 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

{
    'fleetDetails': [
        {
            'name': 'string',
            'arn': 'string',
            'createdAt': datetime(2015, 1, 1),
            'lastDeploymentStatus': 'Pending'|'Preparing'|'InProgress'|'Failed'|'Succeeded'|'Canceled',
            'lastDeploymentJob': 'string',
            'lastDeploymentTime': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • fleetDetails (list) --

      A list of fleet details meeting the request criteria.

      • (dict) --

        Information about a fleet.

        • name (string) --

          The name of the fleet.

        • arn (string) --

          The Amazon Resource Name (ARN) of the fleet.

        • createdAt (datetime) --

          The time, in milliseconds since the epoch, when the fleet was created.

        • lastDeploymentStatus (string) --

          The status of the last fleet deployment.

        • lastDeploymentJob (string) --

          The Amazon Resource Name (ARN) of the last deployment job.

        • lastDeploymentTime (datetime) --

          The time of the last deployment.

    • NextToken (string) --

      A token to resume pagination.