BedrockClient.cancel_automated_reasoning_policy_build_workflow
rboto-bedrock==0.4.0 · Service index · Types
Model summary (excerpt): Cancels a running Automated Reasoning policy build workflow. This stops the policy generation process and prevents further processing of the source documents.
Install and imports
from rboto import BedrockClient
from rboto_bedrock.types import (
CancelAutomatedReasoningPolicyBuildWorkflowOutput,
)
Signature
async def cancel_automated_reasoning_policy_build_workflow(
*,
policy_arn: str,
build_workflow_id: str,
) -> CancelAutomatedReasoningPolicyBuildWorkflowOutput: ...
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) |
|---|---|---|
policy_arn |
Yes | The Amazon Resource Name (ARN) of the Automated Reasoning policy whose build workflow you want to cancel. |
build_workflow_id |
Yes | The unique identifier of the build workflow to cancel. You can get this ID from the StartAutomatedReasoningPolicyBuildWorkflow response or by listing build workflows. |
Output
CancelAutomatedReasoningPolicyBuildWorkflowOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
No fields.
| 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.
Related types
CancelAutomatedReasoningPolicyBuildWorkflowOutput
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_bedrock.exceptions:
AccessDeniedError, InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.