ManagedintegrationsforIoTDeviceManagement / Paginator / ListOtaTaskExecutions

ListOtaTaskExecutions#

class ManagedintegrationsforIoTDeviceManagement.Paginator.ListOtaTaskExecutions#
paginator = client.get_paginator('list_ota_task_executions')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from ManagedintegrationsforIoTDeviceManagement.Client.list_ota_task_executions().

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The over-the-air (OTA) task id.

  • 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

{
    'ExecutionSummaries': [
        {
            'TaskExecutionSummary': {
                'ExecutionNumber': 123,
                'LastUpdatedAt': datetime(2015, 1, 1),
                'QueuedAt': datetime(2015, 1, 1),
                'RetryAttempt': 123,
                'StartedAt': datetime(2015, 1, 1),
                'Status': 'QUEUED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'TIMED_OUT'|'REJECTED'|'REMOVED'|'CANCELED'
            },
            'ManagedThingId': 'string'
        },
    ],

}

Response Structure

  • (dict) –

    • ExecutionSummaries (list) –

      A list of all of the over-the-air (OTA) task executions.

      • (dict) –

        Structure representing one execution summary.

        • TaskExecutionSummary (dict) –

          Structure representing one over-the-air (OTA) task execution summary

          • ExecutionNumber (integer) –

            The execution number of the over-the-air (OTA) task execution summary.

          • LastUpdatedAt (datetime) –

            The timestamp value of when the over-the-air (OTA) task execution summary was last updated.

          • QueuedAt (datetime) –

            The timestamp value of when the over-the-air (OTA) task execution summary is targeted to start.

          • RetryAttempt (integer) –

            The number of retry attempts for starting the over-the-air (OTA) task execution summary after a failed attempt.

          • StartedAt (datetime) –

            The timestamp value of when the over-the-air (OTA) task execution summary started.

          • Status (string) –

            The status of the over-the-air (OTA) task execution summary.

        • ManagedThingId (string) –

          The id of a managed thing.