Bedrock / Client / get_automated_reasoning_policy_build_workflow
get_automated_reasoning_policy_build_workflow¶
- Bedrock.Client.get_automated_reasoning_policy_build_workflow(**kwargs)¶
Retrieves detailed information about an Automated Reasoning policy build workflow, including its status, configuration, and metadata.
See also: AWS API Documentation
Request Syntax
response = client.get_automated_reasoning_policy_build_workflow( policyArn='string', buildWorkflowId='string' )
- Parameters:
policyArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the Automated Reasoning policy whose build workflow you want to retrieve.
buildWorkflowId (string) –
[REQUIRED]
The unique identifier of the build workflow to retrieve.
- Return type:
dict
- Returns:
Response Syntax
{ 'policyArn': 'string', 'buildWorkflowId': 'string', 'status': 'SCHEDULED'|'CANCEL_REQUESTED'|'PREPROCESSING'|'BUILDING'|'TESTING'|'COMPLETED'|'FAILED'|'CANCELLED', 'buildWorkflowType': 'INGEST_CONTENT'|'REFINE_POLICY'|'IMPORT_POLICY', 'documentName': 'string', 'documentContentType': 'pdf'|'txt', 'documentDescription': 'string', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1) }
Response Structure
(dict) –
policyArn (string) –
The Amazon Resource Name (ARN) of the Automated Reasoning policy.
buildWorkflowId (string) –
The unique identifier of the build workflow.
status (string) –
The current status of the build workflow (e.g., RUNNING, COMPLETED, FAILED, CANCELLED).
buildWorkflowType (string) –
The type of build workflow being executed (e.g., DOCUMENT_INGESTION, POLICY_REPAIR).
documentName (string) –
The name of the source document used in the build workflow.
documentContentType (string) –
The content type of the source document (e.g., text/plain, application/pdf).
documentDescription (string) –
A detailed description of the document’s content and how it should be used in the policy generation process.
createdAt (datetime) –
The timestamp when the build workflow was created.
updatedAt (datetime) –
The timestamp when the build workflow was last updated.
Exceptions
Bedrock.Client.exceptions.ResourceNotFoundException
Bedrock.Client.exceptions.AccessDeniedException
Bedrock.Client.exceptions.ValidationException
Bedrock.Client.exceptions.InternalServerException
Bedrock.Client.exceptions.ThrottlingException