BillingandCostManagementDataExports / Client / list_executions

list_executions#

BillingandCostManagementDataExports.Client.list_executions(**kwargs)#

Lists the historical executions for the export.

See also: AWS API Documentation

Request Syntax

response = client.list_executions(
    ExportArn='string',
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • ExportArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) for this export.

  • MaxResults (integer) – The maximum number of objects that are returned for the request.

  • NextToken (string) – The token to retrieve the next set of results.

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'
            }
        },
    ],
    'NextToken': 'string'
}

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.

    • NextToken (string) –

      The token to retrieve the next set of results.

Exceptions