Skip to content

Initiates a test workflow to validate Automated Reasoning policy tests

Description

Initiates a test workflow to validate Automated Reasoning policy tests. The workflow executes the specified tests against the policy and generates validation results.

Usage

bedrock_start_automated_reasoning_policy_test_workflow(policyArn,
  buildWorkflowId, testCaseIds, clientRequestToken)

Arguments

  • policyArn

[required] The Amazon Resource Name (ARN) of the Automated Reasoning policy to test.

  • buildWorkflowId

[required] The build workflow identifier. The build workflow must show a COMPLETED status before running tests.

  • testCaseIds

The list of test identifiers to run. If not provided, all tests for the policy are run.

  • clientRequestToken

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.

Value

A list with the following syntax:

list(
  policyArn = "string"
)

Request syntax

svc$start_automated_reasoning_policy_test_workflow(
  policyArn = "string",
  buildWorkflowId = "string",
  testCaseIds = list(
    "string"
  ),
  clientRequestToken = "string"
)