Skip to content

DynamoDBClient.cancel_bulk_operation

rboto-dynamodb==0.4.0 · Service index · Types

Model summary (excerpt): Cancels an in-progress bulk operation asynchronously. Cancellation doesn't remove items that the operation has already written. Use DescribeBulkOperation to monitor the operation until it reaches a terminal status.

Install and imports

python -m pip install "rboto[dynamodb]==0.4.0"
from rboto import DynamoDBClient
from rboto_dynamodb.types import (
    CancelBulkOperationOutput,
)

Signature

async def cancel_bulk_operation(
    *,
    bulk_operation_arn: str,
) -> CancelBulkOperationOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
bulk_operation_arn Yes The Amazon Resource Name (ARN) of the bulk operation to cancel.

Output

CancelBulkOperationOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
bulk_operation_arn str Always present —
bulk_operation_status BulkOperationStatusOutput Always present BulkOperationStatusOutput

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

CancelBulkOperationOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_dynamodb.exceptions:

InvalidEndpointError, ResourceNotFoundError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model