Skip to content

Get Automated Reasoning Policy Test Case

bedrock_get_automated_reasoning_policy_test_case R Documentation

Retrieves details about a specific Automated Reasoning policy test

Description

Retrieves details about a specific Automated Reasoning policy test.

Usage

bedrock_get_automated_reasoning_policy_test_case(policyArn, testCaseId)

Arguments

policyArn

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

testCaseId

[required] The unique identifier of the test to retrieve.

Value

A list with the following syntax:

list(
  policyArn = "string",
  testCase = 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
  )
)

Request syntax

svc$get_automated_reasoning_policy_test_case(
  policyArn = "string",
  testCaseId = "string"
)