Skip to content

Bedrock  >  Operations  >  cancel_automated_reasoning_policy_build_workflow

cancel_automated_reasoning_policy_build_workflow

Operation

cancel_automated_reasoning_policy_build_workflow async

cancel_automated_reasoning_policy_build_workflow(input: CancelAutomatedReasoningPolicyBuildWorkflowInput, plugins: list[Plugin] | None = None) -> CancelAutomatedReasoningPolicyBuildWorkflowOutput

Cancels a running Automated Reasoning policy build workflow. This stops the policy generation process and prevents further processing of the source documents.

Parameters:

Name Type Description Default
input CancelAutomatedReasoningPolicyBuildWorkflowInput

An instance of CancelAutomatedReasoningPolicyBuildWorkflowInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
CancelAutomatedReasoningPolicyBuildWorkflowOutput

An instance of CancelAutomatedReasoningPolicyBuildWorkflowOutput.

Input

CancelAutomatedReasoningPolicyBuildWorkflowInput dataclass

Dataclass for CancelAutomatedReasoningPolicyBuildWorkflowInput structure.

Attributes

build_workflow_id class-attribute instance-attribute
build_workflow_id: str | None = None

The unique identifier of the build workflow to cancel. You can get this ID from the StartAutomatedReasoningPolicyBuildWorkflow response or by listing build workflows.

policy_arn class-attribute instance-attribute
policy_arn: str | None = None

The Amazon Resource Name (ARN) of the Automated Reasoning policy whose build workflow you want to cancel.

Output

CancelAutomatedReasoningPolicyBuildWorkflowOutput dataclass

Dataclass for CancelAutomatedReasoningPolicyBuildWorkflowOutput structure.