import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateAutomatedReasoningPolicyTestCaseRequest, UpdateAutomatedReasoningPolicyTestCaseResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateAutomatedReasoningPolicyTestCaseCommand}. */ export interface UpdateAutomatedReasoningPolicyTestCaseCommandInput extends UpdateAutomatedReasoningPolicyTestCaseRequest { } /** * @public * * The output of {@link UpdateAutomatedReasoningPolicyTestCaseCommand}. */ export interface UpdateAutomatedReasoningPolicyTestCaseCommandOutput extends UpdateAutomatedReasoningPolicyTestCaseResponse, __MetadataBearer { } declare const UpdateAutomatedReasoningPolicyTestCaseCommand_base: { new (input: UpdateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

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

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BedrockClient, UpdateAutomatedReasoningPolicyTestCaseCommand } from "@aws-sdk/client-bedrock"; // ES Modules import * // const { BedrockClient, UpdateAutomatedReasoningPolicyTestCaseCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import * // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock"; * const config = {}; // type is BedrockClientConfig * const client = new BedrockClient(config); * const input = { // UpdateAutomatedReasoningPolicyTestCaseRequest * policyArn: "STRING_VALUE", // required * testCaseId: "STRING_VALUE", // required * guardContent: "STRING_VALUE", // required * queryContent: "STRING_VALUE", * lastUpdatedAt: new Date("TIMESTAMP"), // required * expectedAggregatedFindingsResult: "VALID" || "INVALID" || "SATISFIABLE" || "IMPOSSIBLE" || "TRANSLATION_AMBIGUOUS" || "TOO_COMPLEX" || "NO_TRANSLATION", // required * confidenceThreshold: Number("double"), * clientRequestToken: "STRING_VALUE", * }; * const command = new UpdateAutomatedReasoningPolicyTestCaseCommand(input); * const response = await client.send(command); * // { // UpdateAutomatedReasoningPolicyTestCaseResponse * // policyArn: "STRING_VALUE", // required * // testCaseId: "STRING_VALUE", // required * // }; * * ``` * * @param UpdateAutomatedReasoningPolicyTestCaseCommandInput - {@link UpdateAutomatedReasoningPolicyTestCaseCommandInput} * @returns {@link UpdateAutomatedReasoningPolicyTestCaseCommandOutput} * @see {@link UpdateAutomatedReasoningPolicyTestCaseCommandInput} for command's `input` shape. * @see {@link UpdateAutomatedReasoningPolicyTestCaseCommandOutput} for command's `response` shape. * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

The request is denied because of missing access permissions.

* * @throws {@link ConflictException} (client fault) *

Error occurred because of a conflict while performing an operation.

* * @throws {@link InternalServerException} (server fault) *

An internal server error occurred. Retry your request.

* * @throws {@link ResourceInUseException} (client fault) *

Thrown when attempting to delete or modify a resource that is currently being used by other resources or operations. For example, trying to delete an Automated Reasoning policy that is referenced by an active guardrail.

* * @throws {@link ResourceNotFoundException} (client fault) *

The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.

* * @throws {@link ThrottlingException} (client fault) *

The number of requests exceeds the limit. Resubmit your request later.

* * @throws {@link ValidationException} (client fault) *

Input validation failed. Check your request parameters and retry the request.

* * @throws {@link BedrockServiceException} *

Base exception class for all service exceptions from Bedrock service.

* * * @public */ export declare class UpdateAutomatedReasoningPolicyTestCaseCommand extends UpdateAutomatedReasoningPolicyTestCaseCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateAutomatedReasoningPolicyTestCaseRequest; output: UpdateAutomatedReasoningPolicyTestCaseResponse; }; sdk: { input: UpdateAutomatedReasoningPolicyTestCaseCommandInput; output: UpdateAutomatedReasoningPolicyTestCaseCommandOutput; }; }; }