Skip to content

get_automated_reasoning_policy_build_workflow_result_assets

Operation

get_automated_reasoning_policy_build_workflow_result_assets

Retrieves the resulting assets from a completed Automated Reasoning policy build workflow, including build logs, quality reports, and generated policy artifacts.

Parameters:

Name Type Description Default
request GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInput | GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInputDict | 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[GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutput

An instance of GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutput.

get_automated_reasoning_policy_build_workflow_result_assets async

Retrieves the resulting assets from a completed Automated Reasoning policy build workflow, including build logs, quality reports, and generated policy artifacts.

Parameters:

Name Type Description Default
request GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInput | GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInputDict | 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[GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutput

An instance of GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutput.

Input

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

GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInputDict

Bases: TypedDict

Dictionary form of GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInput.

Attributes

asset_id instance-attribute
asset_id: str | None

The unique identifier of the specific asset to retrieve when multiple assets of the same type exist. This is required when retrieving SOURCE_DOCUMENT assets, as multiple source documents may have been used in the workflow. The asset ID can be obtained from the asset manifest.

asset_type instance-attribute
asset_type: Required[str]

The type of asset to retrieve (e.g., BUILD_LOG, QUALITY_REPORT, POLICY_DEFINITION, GENERATED_TEST_CASES, POLICY_SCENARIOS, FIDELITY_REPORT, ASSET_MANIFEST, SOURCE_DOCUMENT).

build_workflow_id instance-attribute
build_workflow_id: Required[str]

The unique identifier of the build workflow whose result assets you want to retrieve.

policy_arn instance-attribute
policy_arn: Required[str]

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

GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInput dataclass

Bases: _SerdeShape

Dataclass for GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInput structure.

Attributes

asset_id class-attribute instance-attribute
asset_id: str | None = ...

The unique identifier of the specific asset to retrieve when multiple assets of the same type exist. This is required when retrieving SOURCE_DOCUMENT assets, as multiple source documents may have been used in the workflow. The asset ID can be obtained from the asset manifest.

asset_type class-attribute instance-attribute
asset_type: str | None = ...

The type of asset to retrieve (e.g., BUILD_LOG, QUALITY_REPORT, POLICY_DEFINITION, GENERATED_TEST_CASES, POLICY_SCENARIOS, FIDELITY_REPORT, ASSET_MANIFEST, SOURCE_DOCUMENT).

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

The unique identifier of the build workflow whose result assets you want to retrieve.

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

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

Output

GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutput dataclass

Bases: _SerdeShape

Dataclass for GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutput structure.

Attributes

build_workflow_assets class-attribute instance-attribute
build_workflow_assets: AutomatedReasoningPolicyBuildResultAssets | None = ...

The requested build workflow asset. This is a union type that returns only one of the available asset types (logs, reports, or generated artifacts) based on the specific asset type requested in the API call.

build_workflow_id instance-attribute
build_workflow_id: str

The unique identifier of the build workflow.

policy_arn instance-attribute
policy_arn: str

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

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.