automated_reasoning_policy_build_workflows
Creates, updates, deletes, gets or lists an automated_reasoning_policy_build_workflows resource.
Overview
| Name | automated_reasoning_policy_build_workflows |
| Type | Resource |
| Id | aws.bedrock.automated_reasoning_policy_build_workflows |
Fields
The following fields are returned by SELECT queries:
- get_automated_reasoning_policy_build_workflow
- list_automated_reasoning_policy_build_workflows
| Name | Datatype | Description |
|---|---|---|
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>) |
build_workflow_type | string | The type of build workflow being executed (e.g., DOCUMENT_INGESTION, POLICY_REPAIR). (INGEST_CONTENT, REFINE_POLICY, IMPORT_POLICY, GENERATE_FIDELITY_REPORT, GENERATE_POLICY_SCENARIOS, RESOLVE_POLICY_AMBIGUITIES, ITERATIVELY_REFINE_POLICY) |
created_at | string (date-time) | The timestamp when the build workflow was created. |
document_content_type | string | The content type of the source document (e.g., text/plain, application/pdf). (pdf, txt) |
document_description | string | A detailed description of the document's content and how it should be used in the policy generation process. |
document_name | string | The name of the source document used in the build workflow. |
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>) |
status | string | The current status of the build workflow (e.g., RUNNING, COMPLETED, FAILED, CANCELLED). (SCHEDULED, CANCEL_REQUESTED, PREPROCESSING, BUILDING, TESTING, COMPLETED, FAILED, CANCELLED) |
updated_at | string (date-time) | The timestamp when the build workflow was last updated. |
| Name | Datatype | Description |
|---|---|---|
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>) |
build_workflow_type | string | The type of build workflow (e.g., DOCUMENT_INGESTION, POLICY_REPAIR). (INGEST_CONTENT, REFINE_POLICY, IMPORT_POLICY, GENERATE_FIDELITY_REPORT, GENERATE_POLICY_SCENARIOS, RESOLVE_POLICY_AMBIGUITIES, ITERATIVELY_REFINE_POLICY) |
created_at | string (date-time) | The timestamp when the build workflow was created. |
policy_arn | string | The Amazon Resource Name (ARN) of the Automated Reasoning policy associated with this build workflow. (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>) |
status | string | The current status of the build workflow (e.g., RUNNING, COMPLETED, FAILED, CANCELLED). (SCHEDULED, CANCEL_REQUESTED, PREPROCESSING, BUILDING, TESTING, COMPLETED, FAILED, CANCELLED) |
updated_at | string (date-time) | The timestamp when the build workflow was last updated. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_automated_reasoning_policy_build_workflow | select | policy_arn, build_workflow_id, region | Retrieves detailed information about an Automated Reasoning policy build workflow, including its status, configuration, and metadata. | |
list_automated_reasoning_policy_build_workflows | select | policy_arn, region | nextToken, maxResults | Lists all build workflows for an Automated Reasoning policy, showing the history of policy creation and modification attempts. |
delete_automated_reasoning_policy_build_workflow | delete | policy_arn, build_workflow_id, updatedAt, region | Deletes an Automated Reasoning policy build workflow and its associated artifacts. This permanently removes the workflow history and any generated assets. |
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 |
|---|---|---|
build_workflow_id | string | The unique identifier of the build workflow to delete. |
policy_arn | string | The Amazon Resource Name (ARN) of the Automated Reasoning policy whose build workflow you want to delete. |
region | string | AWS region (default: us-east-1) |
updatedAt | string (date-time) | The timestamp when the build workflow was last updated. This is used for optimistic concurrency control to prevent accidental deletion of workflows that have been modified. |
maxResults | integer | The maximum number of build workflows to return in a single response. Valid range is 1-100. |
nextToken | string | A pagination token from a previous request to continue listing build workflows from where the previous request left off. |
SELECT examples
- get_automated_reasoning_policy_build_workflow
- list_automated_reasoning_policy_build_workflows
Retrieves detailed information about an Automated Reasoning policy build workflow, including its status, configuration, and metadata.
SELECT
build_workflow_id,
build_workflow_type,
created_at,
document_content_type,
document_description,
document_name,
policy_arn,
status,
updated_at
FROM aws.bedrock.automated_reasoning_policy_build_workflows
WHERE policy_arn = '{{ policy_arn }}' -- required
AND build_workflow_id = '{{ build_workflow_id }}' -- required
AND region = '{{ region }}' -- required
;
Lists all build workflows for an Automated Reasoning policy, showing the history of policy creation and modification attempts.
SELECT
build_workflow_id,
build_workflow_type,
created_at,
policy_arn,
status,
updated_at
FROM aws.bedrock.automated_reasoning_policy_build_workflows
WHERE policy_arn = '{{ policy_arn }}' -- required
AND region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;
DELETE examples
- delete_automated_reasoning_policy_build_workflow
Deletes an Automated Reasoning policy build workflow and its associated artifacts. This permanently removes the workflow history and any generated assets.
DELETE FROM aws.bedrock.automated_reasoning_policy_build_workflows
WHERE policy_arn = '{{ policy_arn }}' --required
AND build_workflow_id = '{{ build_workflow_id }}' --required
AND updatedAt = '{{ updatedAt }}' --required
AND region = '{{ region }}' --required
;