Module Values.UpdateAutomatedReasoningPolicyTestCaseRequestSource

Updates an existing Automated Reasoning policy test. You can modify the content, query, expected result, and confidence threshold.

Sourcetype nonrec t = {
  1. policyArn : AutomatedReasoningPolicyArn.t;
    (*

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

    *)
  2. testCaseId : AutomatedReasoningPolicyTestCaseId.t;
    (*

    The unique identifier of the test to update.

    *)
  3. guardContent : AutomatedReasoningPolicyTestGuardContent.t;
    (*

    The updated content to be validated by the Automated Reasoning policy.

    *)
  4. queryContent : AutomatedReasoningPolicyTestQueryContent.t option;
    (*

    The updated input query or prompt that generated the content.

    *)
  5. lastUpdatedAt : Timestamp.t;
    (*

    The timestamp when the test was last updated. This is used as a concurrency token to prevent conflicting modifications.

    *)
  6. expectedAggregatedFindingsResult : AutomatedReasoningCheckResult.t;
    (*

    The updated expected result of the Automated Reasoning check.

    *)
  7. confidenceThreshold : AutomatedReasoningCheckTranslationConfidence.t option;
    (*

    The updated minimum confidence level for logic validation. If null is provided, the threshold will be removed.

    *)
  8. clientRequestToken : IdempotencyToken.t option;
    (*

    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 does not return an error.

    *)
}
Sourceval context_ : string
Sourceval make : ?queryContent:??? -> ?confidenceThreshold:??? -> ?clientRequestToken:??? -> policyArn:AutomatedReasoningPolicyArn.t -> testCaseId:AutomatedReasoningPolicyTestCaseId.t -> guardContent:AutomatedReasoningPolicyTestGuardContent.t -> lastUpdatedAt:Timestamp.t -> expectedAggregatedFindingsResult:AutomatedReasoningCheckResult.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of AutomatedReasoningCheckTranslationConfidence.t | `Enum of string | `String of AutomatedReasoningPolicyArn.t | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t