Skip to content

Lists tests for an Automated Reasoning policy

Description

Lists tests for an Automated Reasoning policy. We recommend using pagination to ensure that the operation returns quickly and successfully.

Usage

bedrock_list_automated_reasoning_policy_test_cases(policyArn, nextToken,
  maxResults)

Arguments

  • policyArn

[required] The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to list tests.

  • nextToken

The pagination token from a previous request to retrieve the next page of results.

  • maxResults

The maximum number of tests to return in a single call.

Value

A list with the following syntax:

list(
  testCases = list(
    list(
      testCaseId = "string",
      guardContent = "string",
      queryContent = "string",
      expectedAggregatedFindingsResult = "VALID"|"INVALID"|"SATISFIABLE"|"IMPOSSIBLE"|"TRANSLATION_AMBIGUOUS"|"TOO_COMPLEX"|"NO_TRANSLATION",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      updatedAt = as.POSIXct(
        "2015-01-01"
      ),
      confidenceThreshold = 123.0
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_automated_reasoning_policy_test_cases(
  policyArn = "string",
  nextToken = "string",
  maxResults = 123
)