Skip to content

Bedrock  >  Operations  >  start_automated_reasoning_policy_build_workflow

start_automated_reasoning_policy_build_workflow

Operation

start_automated_reasoning_policy_build_workflow async

start_automated_reasoning_policy_build_workflow(input: StartAutomatedReasoningPolicyBuildWorkflowInput, plugins: list[Plugin] | None = None) -> StartAutomatedReasoningPolicyBuildWorkflowOutput

Starts a new build workflow for an Automated Reasoning policy. This initiates the process of analyzing source documents and generating policy rules, variables, and types.

Parameters:

Name Type Description Default
input StartAutomatedReasoningPolicyBuildWorkflowInput

An instance of StartAutomatedReasoningPolicyBuildWorkflowInput.

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
StartAutomatedReasoningPolicyBuildWorkflowOutput

An instance of StartAutomatedReasoningPolicyBuildWorkflowOutput.

Input

StartAutomatedReasoningPolicyBuildWorkflowInput dataclass

Dataclass for StartAutomatedReasoningPolicyBuildWorkflowInput structure.

Attributes

build_workflow_type class-attribute instance-attribute
build_workflow_type: AutomatedReasoningPolicyBuildWorkflowType | None = None

The type of build workflow to start (e.g., DOCUMENT_INGESTION for processing new documents, POLICY_REPAIR for fixing existing policies).

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

A unique, case-sensitive identifier to ensure that the operation completes no more than once. If this token matches a previous request, Amazon Bedrock ignores the request but doesn't return an error.

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

The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to start the build workflow.

source_content class-attribute instance-attribute
source_content: AutomatedReasoningPolicyBuildWorkflowSource | None = None

The source content for the build workflow, such as documents to analyze or repair instructions for existing policies.

Output

StartAutomatedReasoningPolicyBuildWorkflowOutput dataclass

Dataclass for StartAutomatedReasoningPolicyBuildWorkflowOutput structure.

Attributes

build_workflow_id instance-attribute
build_workflow_id: str

The unique identifier of the newly started build workflow. Use this ID to track the workflow's progress and retrieve its results.

policy_arn instance-attribute
policy_arn: str

The Amazon Resource Name (ARN) of the Automated Reasoning policy.