Skip to main content

automated_reasoning_policy_build_workflow_result_assets

Creates, updates, deletes, gets or lists an automated_reasoning_policy_build_workflow_result_assets resource.

Overview

Nameautomated_reasoning_policy_build_workflow_result_assets
TypeResource
Idaws.bedrock.automated_reasoning_policy_build_workflow_result_assets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
build_workflow_assetsobjectThe 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_idstringThe unique identifier of the build workflow. (pattern: <code>[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12}</code>)
policy_arnstringThe Amazon Resource Name (ARN) of the Automated Reasoning policy. (pattern: <code>arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:automated-reasoning-policy/[a-z0-9]{12}(:([1-9][0-9]{0,11}))?</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_automated_reasoning_policy_build_workflow_result_assetsselectpolicy_arn, build_workflow_id, assetType, regionassetIdRetrieves the resulting assets from a completed Automated Reasoning policy build workflow, including build logs, quality reports, and generated policy artifacts.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
assetTypestringThe 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_idstringThe unique identifier of the build workflow whose result assets you want to retrieve.
policy_arnstringThe Amazon Resource Name (ARN) of the Automated Reasoning policy whose build workflow assets you want to retrieve.
regionstringAWS region (default: us-east-1)
assetIdstringThe 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.

SELECT examples

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

SELECT
build_workflow_assets,
build_workflow_id,
policy_arn
FROM aws.bedrock.automated_reasoning_policy_build_workflow_result_assets
WHERE policy_arn = '{{ policy_arn }}' -- required
AND build_workflow_id = '{{ build_workflow_id }}' -- required
AND assetType = '{{ assetType }}' -- required
AND region = '{{ region }}' -- required
AND assetId = '{{ assetId }}'
;