Skip to main content

automated_reasoning_policy_build_workflows

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

Overview

Nameautomated_reasoning_policy_build_workflows
TypeResource
Idaws.bedrock.automated_reasoning_policy_build_workflows

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
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>)
build_workflow_typestringThe 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_atstring (date-time)The timestamp when the build workflow was created.
document_content_typestringThe content type of the source document (e.g., text/plain, application/pdf). (pdf, txt)
document_descriptionstringA detailed description of the document's content and how it should be used in the policy generation process.
document_namestringThe name of the source document used in the build workflow.
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>)
statusstringThe current status of the build workflow (e.g., RUNNING, COMPLETED, FAILED, CANCELLED). (SCHEDULED, CANCEL_REQUESTED, PREPROCESSING, BUILDING, TESTING, COMPLETED, FAILED, CANCELLED)
updated_atstring (date-time)The timestamp when the build workflow was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_automated_reasoning_policy_build_workflowselectpolicy_arn, build_workflow_id, regionRetrieves detailed information about an Automated Reasoning policy build workflow, including its status, configuration, and metadata.
list_automated_reasoning_policy_build_workflowsselectpolicy_arn, regionnextToken, maxResultsLists all build workflows for an Automated Reasoning policy, showing the history of policy creation and modification attempts.
delete_automated_reasoning_policy_build_workflowdeletepolicy_arn, build_workflow_id, updatedAt, regionDeletes 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.

NameDatatypeDescription
build_workflow_idstringThe unique identifier of the build workflow to delete.
policy_arnstringThe Amazon Resource Name (ARN) of the Automated Reasoning policy whose build workflow you want to delete.
regionstringAWS region (default: us-east-1)
updatedAtstring (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.
maxResultsintegerThe maximum number of build workflows to return in a single response. Valid range is 1-100.
nextTokenstringA pagination token from a previous request to continue listing build workflows from where the previous request left off.

SELECT examples

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
;

DELETE examples

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
;