Bedrock / Client / start_automated_reasoning_policy_test_workflow
start_automated_reasoning_policy_test_workflow¶
- Bedrock.Client.start_automated_reasoning_policy_test_workflow(**kwargs)¶
Initiates a test workflow to validate Automated Reasoning policy tests. The workflow executes the specified tests against the policy and generates validation results.
See also: AWS API Documentation
Request Syntax
response = client.start_automated_reasoning_policy_test_workflow( policyArn='string', buildWorkflowId='string', testCaseIds=[ 'string', ], clientRequestToken='string' )
- Parameters:
policyArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the Automated Reasoning policy to test.
buildWorkflowId (string) –
[REQUIRED]
The build workflow identifier. The build workflow must show a
COMPLETED
status before running tests.testCaseIds (list) –
The list of test identifiers to run. If not provided, all tests for the policy are run.
(string) –
clientRequestToken (string) –
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but doesn’t return an error.
This field is autopopulated if not provided.
- Return type:
dict
- Returns:
Response Syntax
{ 'policyArn': 'string' }
Response Structure
(dict) –
policyArn (string) –
The Amazon Resource Name (ARN) of the policy for which the test workflow was started.
Exceptions
Bedrock.Client.exceptions.ResourceNotFoundException
Bedrock.Client.exceptions.AccessDeniedException
Bedrock.Client.exceptions.ValidationException
Bedrock.Client.exceptions.InternalServerException
Bedrock.Client.exceptions.ResourceInUseException
Bedrock.Client.exceptions.ThrottlingException