Bedrock / Client / list_automated_reasoning_policy_build_workflows
list_automated_reasoning_policy_build_workflows¶
- Bedrock.Client.list_automated_reasoning_policy_build_workflows(**kwargs)¶
Lists all build workflows for an Automated Reasoning policy, showing the history of policy creation and modification attempts.
See also: AWS API Documentation
Request Syntax
response = client.list_automated_reasoning_policy_build_workflows( policyArn='string', nextToken='string', maxResults=123 )
- Parameters:
policyArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the Automated Reasoning policy whose build workflows you want to list.
nextToken (string) – A pagination token from a previous request to continue listing build workflows from where the previous request left off.
maxResults (integer) – The maximum number of build workflows to return in a single response. Valid range is 1-100.
- Return type:
dict
- Returns:
Response Syntax
{ 'automatedReasoningPolicyBuildWorkflowSummaries': [ { 'policyArn': 'string', 'buildWorkflowId': 'string', 'status': 'SCHEDULED'|'CANCEL_REQUESTED'|'PREPROCESSING'|'BUILDING'|'TESTING'|'COMPLETED'|'FAILED'|'CANCELLED', 'buildWorkflowType': 'INGEST_CONTENT'|'REFINE_POLICY'|'IMPORT_POLICY', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1) }, ], 'nextToken': 'string' }
Response Structure
(dict) –
automatedReasoningPolicyBuildWorkflowSummaries (list) –
A list of build workflow summaries, each containing key information about a build workflow including its status and timestamps.
(dict) –
Provides a summary of a policy build workflow, including its current status, timing information, and key identifiers.
policyArn (string) –
The Amazon Resource Name (ARN) of the Automated Reasoning policy associated with this build workflow.
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 (e.g., DOCUMENT_INGESTION, POLICY_REPAIR).
createdAt (datetime) –
The timestamp when the build workflow was created.
updatedAt (datetime) –
The timestamp when the build workflow was last updated.
nextToken (string) –
A pagination token to use in subsequent requests to retrieve additional build workflows.
Exceptions
Bedrock.Client.exceptions.ResourceNotFoundException
Bedrock.Client.exceptions.AccessDeniedException
Bedrock.Client.exceptions.ValidationException
Bedrock.Client.exceptions.InternalServerException
Bedrock.Client.exceptions.ThrottlingException