automated_reasoning_policy_build_workflow_result_assets
Creates, updates, deletes, gets or lists an automated_reasoning_policy_build_workflow_result_assets resource.
Overview
| Name | automated_reasoning_policy_build_workflow_result_assets |
| Type | Resource |
| Id | aws.bedrock.automated_reasoning_policy_build_workflow_result_assets |
Fields
The following fields are returned by SELECT queries:
- get_automated_reasoning_policy_build_workflow_result_assets
| Name | Datatype | Description |
|---|---|---|
build_workflow_assets | object | 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 | string | The 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_arn | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_automated_reasoning_policy_build_workflow_result_assets | select | policy_arn, build_workflow_id, assetType, region | assetId | Retrieves 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.
| Name | Datatype | Description |
|---|---|---|
assetType | string | 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 | string | The unique identifier of the build workflow whose result assets you want to retrieve. |
policy_arn | string | The Amazon Resource Name (ARN) of the Automated Reasoning policy whose build workflow assets you want to retrieve. |
region | string | AWS region (default: us-east-1) |
assetId | string | 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. |
SELECT examples
- 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.
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 }}'
;