list_device_fleets

list_device_fleets(**kwargs)

Returns a list of devices in the fleet.

See also: AWS API Documentation

Request Syntax

response = client.list_device_fleets(
    NextToken='string',
    MaxResults=123,
    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'
)
Parameters
  • NextToken (string) -- The response from the last list when returning a list large enough to need tokening.
  • MaxResults (integer) -- The maximum number of results to select.
  • 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.
Return type

dict

Returns

Response Syntax

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

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.

    • NextToken (string) --

      The response from the last list when returning a list large enough to need tokening.