Describes the specified bulk operation.
Parameters:
-
bulk_operation_arn
(BulkOperationArn)
–
The Amazon Resource Name (ARN) of the bulk operation to describe.
Raises:
-
ResourceNotFoundException
–
The operation tried to access a nonexistent table or index. The resource might not be specified correctly, or its status might not be ACTIVE.
-
UnknownServiceError
–
The service returned an error code this client does not model.
Source code in docs_src/capo_dynamodb/_services/dynamo_db.py
| def describe_bulk_operation(
self,
bulk_operation_arn: "capo_dynamodb.types.bulk_operation_arn.BulkOperationArn",
*,
config_overrides: Optional[DynamoDBClientConfig] = None,
) -> (
"capo_dynamodb.types.describe_bulk_operation_output.DescribeBulkOperationOutput"
):
"""<p>Describes the specified bulk operation.</p>
Args:
bulk_operation_arn: <p>The Amazon Resource Name (ARN) of the bulk operation to describe.</p>
Raises:
capo_dynamodb.errors.invalid_endpoint_exception.InvalidEndpointException
capo_dynamodb.errors.resource_not_found_exception.ResourceNotFoundException: <p>The operation tried to access a nonexistent table or index. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
capo_dynamodb.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_dynamodb.types.describe_bulk_operation_input.DescribeBulkOperationInput]",
) -> OperationResponse[
"capo_dynamodb.types.describe_bulk_operation_output.DescribeBulkOperationOutput"
]:
import capo_dynamodb._operations.dynamo_db_20120810.describe_bulk_operation
output, http_response = (
capo_dynamodb._operations.dynamo_db_20120810.describe_bulk_operation.describe_bulk_operation(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DescribeBulkOperation")
)
input_: capo_dynamodb.types.describe_bulk_operation_input.DescribeBulkOperationInput = {
"bulk_operation_arn": bulk_operation_arn
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|