Skip to content

export_automated_reasoning_policy_version

Operation

export_automated_reasoning_policy_version

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
request ExportAutomatedReasoningPolicyVersionInput | ExportAutomatedReasoningPolicyVersionInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[ExportAutomatedReasoningPolicyVersionInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ExportAutomatedReasoningPolicyVersionOutput

An instance of ExportAutomatedReasoningPolicyVersionOutput.

export_automated_reasoning_policy_version async

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
request ExportAutomatedReasoningPolicyVersionInput | ExportAutomatedReasoningPolicyVersionInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[ExportAutomatedReasoningPolicyVersionInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ExportAutomatedReasoningPolicyVersionOutput

An instance of ExportAutomatedReasoningPolicyVersionOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

ExportAutomatedReasoningPolicyVersionInputDict

Bases: TypedDict

Dictionary form of ExportAutomatedReasoningPolicyVersionInput.

Attributes

policy_arn instance-attribute
policy_arn: Required[str]

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.

ExportAutomatedReasoningPolicyVersionInput dataclass

Bases: _SerdeShape

Dataclass for ExportAutomatedReasoningPolicyVersionInput structure.

Attributes

policy_arn class-attribute instance-attribute
policy_arn: str | 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

Bases: _SerdeShape

Dataclass for ExportAutomatedReasoningPolicyVersionOutput structure.

Attributes

policy_definition instance-attribute

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

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.