DynamoDB / Client / list_bulk_operations

list_bulk_operations

DynamoDB.Client.list_bulk_operations(**kwargs)

Lists bulk operations that started within the past 90 days for the current Amazon Web Services account and Amazon Web Services Region, with the most recent operations first. Results are paginated. Use the NextToken parameter to retrieve additional results.

See also: AWS API Documentation

Request Syntax

response = client.list_bulk_operations(
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • MaxResults (integer) – The maximum number of bulk operation summaries to return in one page. If you don’t specify a value, DynamoDB uses 10.

  • NextToken (string) – An optional string that, if supplied, must be copied from the output of a previous call to ListBulkOperations. When provided in this manner, the API fetches the next page of results.

Return type:

dict

Returns:

Response Syntax

{
    'BulkOperationsSummaryList': [
        {
            'BulkOperationArn': 'string',
            'BulkOperationStatus': 'IN_PROGRESS'|'COMPLETED'|'COMPLETED_WITH_ERRORS'|'CANCELLING'|'CANCELLED'|'FAILED',
            'StartTime': datetime(2015, 1, 1),
            'EndTime': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • BulkOperationsSummaryList (list) –

      A list of bulk operation summaries for the current Amazon Web Services account and Amazon Web Services Region.

      • (dict) –

        Contains summary information about a bulk operation.

        • BulkOperationArn (string) –

          The Amazon Resource Name (ARN) of the bulk operation.

        • BulkOperationStatus (string) –

          The current status of the bulk operation.

        • StartTime (datetime) –

          The time when DynamoDB accepted the start request.

        • EndTime (datetime) –

          The time when the operation reached a terminal status. DynamoDB omits this value while the operation remains in progress.

    • NextToken (string) –

      If this value is returned, there are additional results to be displayed. To retrieve them, call ListBulkOperations again, with NextToken set to this value.