@aws-sdk/client-bedrock 3.859.0 → 3.861.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +192 -0
- package/dist-cjs/index.js +2684 -369
- package/dist-es/Bedrock.js +48 -0
- package/dist-es/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.js +22 -0
- package/dist-es/commands/CreateAutomatedReasoningPolicyCommand.js +23 -0
- package/dist-es/commands/CreateAutomatedReasoningPolicyTestCaseCommand.js +23 -0
- package/dist-es/commands/CreateAutomatedReasoningPolicyVersionCommand.js +23 -0
- package/dist-es/commands/CreateGuardrailCommand.js +1 -1
- package/dist-es/commands/CreateGuardrailVersionCommand.js +1 -1
- package/dist-es/commands/CreateInferenceProfileCommand.js +1 -1
- package/dist-es/commands/CreatePromptRouterCommand.js +1 -1
- package/dist-es/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.js +22 -0
- package/dist-es/commands/DeleteAutomatedReasoningPolicyCommand.js +22 -0
- package/dist-es/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.js +22 -0
- package/dist-es/commands/ExportAutomatedReasoningPolicyVersionCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyAnnotationsCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyNextScenarioCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyTestCaseCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyTestResultCommand.js +23 -0
- package/dist-es/commands/GetGuardrailCommand.js +1 -1
- package/dist-es/commands/GetInferenceProfileCommand.js +1 -1
- package/dist-es/commands/GetModelInvocationJobCommand.js +1 -1
- package/dist-es/commands/GetPromptRouterCommand.js +1 -1
- package/dist-es/commands/ListAutomatedReasoningPoliciesCommand.js +23 -0
- package/dist-es/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.js +22 -0
- package/dist-es/commands/ListAutomatedReasoningPolicyTestCasesCommand.js +23 -0
- package/dist-es/commands/ListAutomatedReasoningPolicyTestResultsCommand.js +23 -0
- package/dist-es/commands/ListGuardrailsCommand.js +1 -1
- package/dist-es/commands/ListInferenceProfilesCommand.js +1 -1
- package/dist-es/commands/ListModelInvocationJobsCommand.js +1 -1
- package/dist-es/commands/ListPromptRoutersCommand.js +1 -1
- package/dist-es/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.js +23 -0
- package/dist-es/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.js +22 -0
- package/dist-es/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.js +23 -0
- package/dist-es/commands/UpdateAutomatedReasoningPolicyCommand.js +23 -0
- package/dist-es/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.js +23 -0
- package/dist-es/commands/UpdateGuardrailCommand.js +1 -1
- package/dist-es/commands/index.js +24 -0
- package/dist-es/models/models_0.js +742 -315
- package/dist-es/models/models_1.js +300 -1
- package/dist-es/pagination/ListAutomatedReasoningPoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListAutomatedReasoningPolicyBuildWorkflowsPaginator.js +4 -0
- package/dist-es/pagination/ListAutomatedReasoningPolicyTestCasesPaginator.js +4 -0
- package/dist-es/pagination/ListAutomatedReasoningPolicyTestResultsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +997 -31
- package/dist-types/Bedrock.d.ts +169 -0
- package/dist-types/BedrockClient.d.ts +26 -2
- package/dist-types/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +86 -0
- package/dist-types/commands/CreateAutomatedReasoningPolicyCommand.d.ts +139 -0
- package/dist-types/commands/CreateAutomatedReasoningPolicyTestCaseCommand.d.ts +99 -0
- package/dist-types/commands/CreateAutomatedReasoningPolicyVersionCommand.d.ts +106 -0
- package/dist-types/commands/CreateGuardrailCommand.d.ts +7 -1
- package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateInferenceProfileCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelCopyJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelImportJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/commands/CreatePromptRouterCommand.d.ts +1 -1
- package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +90 -0
- package/dist-types/commands/DeleteAutomatedReasoningPolicyCommand.d.ts +85 -0
- package/dist-types/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.d.ts +93 -0
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +1 -1
- package/dist-types/commands/DeleteImportedModelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInferenceProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeletePromptRouterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/commands/ExportAutomatedReasoningPolicyVersionCommand.d.ts +115 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyAnnotationsCommand.d.ts +172 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +96 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +307 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyCommand.d.ts +94 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyNextScenarioCommand.d.ts +96 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyTestCaseCommand.d.ts +97 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyTestResultCommand.d.ts +258 -0
- package/dist-types/commands/GetFoundationModelCommand.d.ts +1 -1
- package/dist-types/commands/GetGuardrailCommand.d.ts +7 -1
- package/dist-types/commands/GetImportedModelCommand.d.ts +1 -1
- package/dist-types/commands/GetInferenceProfileCommand.d.ts +1 -1
- package/dist-types/commands/GetModelCopyJobCommand.d.ts +1 -1
- package/dist-types/commands/GetModelImportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetPromptRouterCommand.d.ts +1 -1
- package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/commands/ListAutomatedReasoningPoliciesCommand.d.ts +100 -0
- package/dist-types/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.d.ts +99 -0
- package/dist-types/commands/ListAutomatedReasoningPolicyTestCasesCommand.d.ts +100 -0
- package/dist-types/commands/ListAutomatedReasoningPolicyTestResultsCommand.d.ts +265 -0
- package/dist-types/commands/ListFoundationModelsCommand.d.ts +1 -1
- package/dist-types/commands/ListGuardrailsCommand.d.ts +1 -1
- package/dist-types/commands/ListImportedModelsCommand.d.ts +1 -1
- package/dist-types/commands/ListInferenceProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListModelCopyJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListModelImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListPromptRoutersCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +1 -2
- package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +222 -0
- package/dist-types/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.d.ts +95 -0
- package/dist-types/commands/StopModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.d.ts +175 -0
- package/dist-types/commands/UpdateAutomatedReasoningPolicyCommand.d.ts +127 -0
- package/dist-types/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +102 -0
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +7 -1
- package/dist-types/commands/index.d.ts +24 -0
- package/dist-types/models/models_0.d.ts +3899 -3774
- package/dist-types/models/models_1.d.ts +3320 -1
- package/dist-types/pagination/ListAutomatedReasoningPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutomatedReasoningPolicyBuildWorkflowsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutomatedReasoningPolicyTestCasesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutomatedReasoningPolicyTestResultsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +216 -0
- package/dist-types/ts3.4/Bedrock.d.ts +523 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +144 -0
- package/dist-types/ts3.4/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyTestCaseCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateGuardrailVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateInferenceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateModelCopyJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateModelImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePromptRouterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteImportedModelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteInferenceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeletePromptRouterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExportAutomatedReasoningPolicyVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyAnnotationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyNextScenarioCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyTestCaseCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyTestResultCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFoundationModelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetImportedModelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetModelCopyJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetModelImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetPromptRouterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPoliciesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyTestCasesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyTestResultsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFoundationModelsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListGuardrailsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListImportedModelsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelCopyJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelImportJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelInvocationJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPromptRoutersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +24 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2324 -1702
- package/dist-types/ts3.4/models/models_1.d.ts +970 -2
- package/dist-types/ts3.4/pagination/ListAutomatedReasoningPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutomatedReasoningPolicyBuildWorkflowsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutomatedReasoningPolicyTestCasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutomatedReasoningPolicyTestResultsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +288 -0
- package/package.json +1 -1
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
+
import { UpdateAutomatedReasoningPolicyTestCaseRequest, UpdateAutomatedReasoningPolicyTestCaseResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateAutomatedReasoningPolicyTestCaseCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateAutomatedReasoningPolicyTestCaseCommandInput extends UpdateAutomatedReasoningPolicyTestCaseRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateAutomatedReasoningPolicyTestCaseCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateAutomatedReasoningPolicyTestCaseCommandOutput extends UpdateAutomatedReasoningPolicyTestCaseResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateAutomatedReasoningPolicyTestCaseCommand_base: {
|
|
25
|
+
new (input: UpdateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAutomatedReasoningPolicyTestCaseCommandInput, UpdateAutomatedReasoningPolicyTestCaseCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAutomatedReasoningPolicyTestCaseCommandInput, UpdateAutomatedReasoningPolicyTestCaseCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates an existing Automated Reasoning policy test. You can modify the content, query, expected result, and confidence threshold.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockClient, UpdateAutomatedReasoningPolicyTestCaseCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
|
+
* // const { BedrockClient, UpdateAutomatedReasoningPolicyTestCaseCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* const client = new BedrockClient(config);
|
|
37
|
+
* const input = { // UpdateAutomatedReasoningPolicyTestCaseRequest
|
|
38
|
+
* policyArn: "STRING_VALUE", // required
|
|
39
|
+
* testCaseId: "STRING_VALUE", // required
|
|
40
|
+
* guardContent: "STRING_VALUE", // required
|
|
41
|
+
* queryContent: "STRING_VALUE",
|
|
42
|
+
* lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
43
|
+
* expectedAggregatedFindingsResult: "VALID" || "INVALID" || "SATISFIABLE" || "IMPOSSIBLE" || "TRANSLATION_AMBIGUOUS" || "TOO_COMPLEX" || "NO_TRANSLATION", // required
|
|
44
|
+
* confidenceThreshold: Number("double"),
|
|
45
|
+
* kmsKeyArn: "STRING_VALUE",
|
|
46
|
+
* clientRequestToken: "STRING_VALUE",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new UpdateAutomatedReasoningPolicyTestCaseCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // UpdateAutomatedReasoningPolicyTestCaseResponse
|
|
51
|
+
* // policyArn: "STRING_VALUE", // required
|
|
52
|
+
* // testCaseId: "STRING_VALUE", // required
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param UpdateAutomatedReasoningPolicyTestCaseCommandInput - {@link UpdateAutomatedReasoningPolicyTestCaseCommandInput}
|
|
58
|
+
* @returns {@link UpdateAutomatedReasoningPolicyTestCaseCommandOutput}
|
|
59
|
+
* @see {@link UpdateAutomatedReasoningPolicyTestCaseCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link UpdateAutomatedReasoningPolicyTestCaseCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ConflictException} (client fault)
|
|
67
|
+
* <p>Error occurred because of a conflict while performing an operation.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
73
|
+
* <p>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.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link BedrockServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class UpdateAutomatedReasoningPolicyTestCaseCommand extends UpdateAutomatedReasoningPolicyTestCaseCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: UpdateAutomatedReasoningPolicyTestCaseRequest;
|
|
95
|
+
output: UpdateAutomatedReasoningPolicyTestCaseResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: UpdateAutomatedReasoningPolicyTestCaseCommandInput;
|
|
99
|
+
output: UpdateAutomatedReasoningPolicyTestCaseCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { UpdateGuardrailRequest, UpdateGuardrailResponse } from "../models/
|
|
4
|
+
import { UpdateGuardrailRequest, UpdateGuardrailResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -133,6 +133,12 @@ declare const UpdateGuardrailCommand_base: {
|
|
|
133
133
|
* },
|
|
134
134
|
* ],
|
|
135
135
|
* },
|
|
136
|
+
* automatedReasoningPolicyConfig: { // GuardrailAutomatedReasoningPolicyConfig
|
|
137
|
+
* policies: [ // AutomatedReasoningPolicyArnList // required
|
|
138
|
+
* "STRING_VALUE",
|
|
139
|
+
* ],
|
|
140
|
+
* confidenceThreshold: Number("double"),
|
|
141
|
+
* },
|
|
136
142
|
* crossRegionConfig: { // GuardrailCrossRegionConfig
|
|
137
143
|
* guardrailProfileIdentifier: "STRING_VALUE", // required
|
|
138
144
|
* },
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export * from "./BatchDeleteEvaluationJobCommand";
|
|
2
|
+
export * from "./CancelAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
3
|
+
export * from "./CreateAutomatedReasoningPolicyCommand";
|
|
4
|
+
export * from "./CreateAutomatedReasoningPolicyTestCaseCommand";
|
|
5
|
+
export * from "./CreateAutomatedReasoningPolicyVersionCommand";
|
|
2
6
|
export * from "./CreateCustomModelCommand";
|
|
3
7
|
export * from "./CreateCustomModelDeploymentCommand";
|
|
4
8
|
export * from "./CreateEvaluationJobCommand";
|
|
@@ -13,6 +17,9 @@ export * from "./CreateModelImportJobCommand";
|
|
|
13
17
|
export * from "./CreateModelInvocationJobCommand";
|
|
14
18
|
export * from "./CreatePromptRouterCommand";
|
|
15
19
|
export * from "./CreateProvisionedModelThroughputCommand";
|
|
20
|
+
export * from "./DeleteAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
21
|
+
export * from "./DeleteAutomatedReasoningPolicyCommand";
|
|
22
|
+
export * from "./DeleteAutomatedReasoningPolicyTestCaseCommand";
|
|
16
23
|
export * from "./DeleteCustomModelCommand";
|
|
17
24
|
export * from "./DeleteCustomModelDeploymentCommand";
|
|
18
25
|
export * from "./DeleteFoundationModelAgreementCommand";
|
|
@@ -24,6 +31,14 @@ export * from "./DeleteModelInvocationLoggingConfigurationCommand";
|
|
|
24
31
|
export * from "./DeletePromptRouterCommand";
|
|
25
32
|
export * from "./DeleteProvisionedModelThroughputCommand";
|
|
26
33
|
export * from "./DeregisterMarketplaceModelEndpointCommand";
|
|
34
|
+
export * from "./ExportAutomatedReasoningPolicyVersionCommand";
|
|
35
|
+
export * from "./GetAutomatedReasoningPolicyAnnotationsCommand";
|
|
36
|
+
export * from "./GetAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
37
|
+
export * from "./GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand";
|
|
38
|
+
export * from "./GetAutomatedReasoningPolicyCommand";
|
|
39
|
+
export * from "./GetAutomatedReasoningPolicyNextScenarioCommand";
|
|
40
|
+
export * from "./GetAutomatedReasoningPolicyTestCaseCommand";
|
|
41
|
+
export * from "./GetAutomatedReasoningPolicyTestResultCommand";
|
|
27
42
|
export * from "./GetCustomModelCommand";
|
|
28
43
|
export * from "./GetCustomModelDeploymentCommand";
|
|
29
44
|
export * from "./GetEvaluationJobCommand";
|
|
@@ -41,6 +56,10 @@ export * from "./GetModelInvocationLoggingConfigurationCommand";
|
|
|
41
56
|
export * from "./GetPromptRouterCommand";
|
|
42
57
|
export * from "./GetProvisionedModelThroughputCommand";
|
|
43
58
|
export * from "./GetUseCaseForModelAccessCommand";
|
|
59
|
+
export * from "./ListAutomatedReasoningPoliciesCommand";
|
|
60
|
+
export * from "./ListAutomatedReasoningPolicyBuildWorkflowsCommand";
|
|
61
|
+
export * from "./ListAutomatedReasoningPolicyTestCasesCommand";
|
|
62
|
+
export * from "./ListAutomatedReasoningPolicyTestResultsCommand";
|
|
44
63
|
export * from "./ListCustomModelDeploymentsCommand";
|
|
45
64
|
export * from "./ListCustomModelsCommand";
|
|
46
65
|
export * from "./ListEvaluationJobsCommand";
|
|
@@ -60,11 +79,16 @@ export * from "./ListTagsForResourceCommand";
|
|
|
60
79
|
export * from "./PutModelInvocationLoggingConfigurationCommand";
|
|
61
80
|
export * from "./PutUseCaseForModelAccessCommand";
|
|
62
81
|
export * from "./RegisterMarketplaceModelEndpointCommand";
|
|
82
|
+
export * from "./StartAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
83
|
+
export * from "./StartAutomatedReasoningPolicyTestWorkflowCommand";
|
|
63
84
|
export * from "./StopEvaluationJobCommand";
|
|
64
85
|
export * from "./StopModelCustomizationJobCommand";
|
|
65
86
|
export * from "./StopModelInvocationJobCommand";
|
|
66
87
|
export * from "./TagResourceCommand";
|
|
67
88
|
export * from "./UntagResourceCommand";
|
|
89
|
+
export * from "./UpdateAutomatedReasoningPolicyAnnotationsCommand";
|
|
90
|
+
export * from "./UpdateAutomatedReasoningPolicyCommand";
|
|
91
|
+
export * from "./UpdateAutomatedReasoningPolicyTestCaseCommand";
|
|
68
92
|
export * from "./UpdateGuardrailCommand";
|
|
69
93
|
export * from "./UpdateMarketplaceModelEndpointCommand";
|
|
70
94
|
export * from "./UpdateProvisionedModelThroughputCommand";
|