BillingandCostManagementDataExports / Paginator / ListExecutions

ListExecutions#

class BillingandCostManagementDataExports.Paginator.ListExecutions#
paginator = client.get_paginator('list_executions')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from BillingandCostManagementDataExports.Client.list_executions().

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The Amazon Resource Name (ARN) for this export.

  • 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

{
    'Executions': [
        {
            'ExecutionId': 'string',
            'ExecutionStatus': {
                'CompletedAt': datetime(2015, 1, 1),
                'CreatedAt': datetime(2015, 1, 1),
                'LastUpdatedAt': datetime(2015, 1, 1),
                'StatusCode': 'INITIATION_IN_PROCESS'|'QUERY_QUEUED'|'QUERY_IN_PROCESS'|'QUERY_FAILURE'|'DELIVERY_IN_PROCESS'|'DELIVERY_SUCCESS'|'DELIVERY_FAILURE',
                'StatusReason': 'INSUFFICIENT_PERMISSION'|'BILL_OWNER_CHANGED'|'INTERNAL_FAILURE'
            }
        },
    ],

}

Response Structure

  • (dict) –

    • Executions (list) –

      The list of executions.

      • (dict) –

        The reference for the data export update.

        • ExecutionId (string) –

          The ID for this specific execution.

        • ExecutionStatus (dict) –

          The status of this specific execution.

          • CompletedAt (datetime) –

            The time when the execution was completed.

          • CreatedAt (datetime) –

            The time when the execution was created.

          • LastUpdatedAt (datetime) –

            The time when the execution was last updated.

          • StatusCode (string) –

            The code for the status of the execution.

          • StatusReason (string) –

            The reason for the failed status.