Skip to content

Bedrock  >  Operations  >  export_automated_reasoning_policy_version

export_automated_reasoning_policy_version

Operation

export_automated_reasoning_policy_version async

export_automated_reasoning_policy_version(input: ExportAutomatedReasoningPolicyVersionInput, plugins: list[Plugin] | None = None) -> ExportAutomatedReasoningPolicyVersionOutput

Exports the policy definition for an Automated Reasoning policy version. Returns the complete policy definition including rules, variables, and custom variable types in a structured format.

Parameters:

Name Type Description Default
input ExportAutomatedReasoningPolicyVersionInput

An instance of ExportAutomatedReasoningPolicyVersionInput.

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
ExportAutomatedReasoningPolicyVersionOutput

An instance of ExportAutomatedReasoningPolicyVersionOutput.

Input

ExportAutomatedReasoningPolicyVersionInput dataclass

Dataclass for ExportAutomatedReasoningPolicyVersionInput structure.

Attributes

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

The Amazon Resource Name (ARN) of the Automated Reasoning policy to export. Can be either the unversioned ARN for the draft policy or a versioned ARN for a specific policy version.

Output

ExportAutomatedReasoningPolicyVersionOutput dataclass

Dataclass for ExportAutomatedReasoningPolicyVersionOutput structure.

Attributes

policy_definition instance-attribute

The exported policy definition containing the formal logic rules, variables, and custom variable types.