@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,99 @@
|
|
|
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 { CreateAutomatedReasoningPolicyTestCaseRequest, CreateAutomatedReasoningPolicyTestCaseResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateAutomatedReasoningPolicyTestCaseCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateAutomatedReasoningPolicyTestCaseCommandInput extends CreateAutomatedReasoningPolicyTestCaseRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateAutomatedReasoningPolicyTestCaseCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAutomatedReasoningPolicyTestCaseCommandOutput extends CreateAutomatedReasoningPolicyTestCaseResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateAutomatedReasoningPolicyTestCaseCommand_base: {
|
|
25
|
+
new (input: CreateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAutomatedReasoningPolicyTestCaseCommandInput, CreateAutomatedReasoningPolicyTestCaseCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAutomatedReasoningPolicyTestCaseCommandInput, CreateAutomatedReasoningPolicyTestCaseCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a test for an Automated Reasoning policy. Tests validate that your policy works as expected by providing sample inputs and expected outcomes. Use tests to verify policy behavior before deploying to production.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockClient, CreateAutomatedReasoningPolicyTestCaseCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
|
+
* // const { BedrockClient, CreateAutomatedReasoningPolicyTestCaseCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* const client = new BedrockClient(config);
|
|
37
|
+
* const input = { // CreateAutomatedReasoningPolicyTestCaseRequest
|
|
38
|
+
* policyArn: "STRING_VALUE", // required
|
|
39
|
+
* guardContent: "STRING_VALUE", // required
|
|
40
|
+
* queryContent: "STRING_VALUE",
|
|
41
|
+
* expectedAggregatedFindingsResult: "VALID" || "INVALID" || "SATISFIABLE" || "IMPOSSIBLE" || "TRANSLATION_AMBIGUOUS" || "TOO_COMPLEX" || "NO_TRANSLATION", // required
|
|
42
|
+
* clientRequestToken: "STRING_VALUE",
|
|
43
|
+
* confidenceThreshold: Number("double"),
|
|
44
|
+
* };
|
|
45
|
+
* const command = new CreateAutomatedReasoningPolicyTestCaseCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // CreateAutomatedReasoningPolicyTestCaseResponse
|
|
48
|
+
* // policyArn: "STRING_VALUE", // required
|
|
49
|
+
* // testCaseId: "STRING_VALUE", // required
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param CreateAutomatedReasoningPolicyTestCaseCommandInput - {@link CreateAutomatedReasoningPolicyTestCaseCommandInput}
|
|
55
|
+
* @returns {@link CreateAutomatedReasoningPolicyTestCaseCommandOutput}
|
|
56
|
+
* @see {@link CreateAutomatedReasoningPolicyTestCaseCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link CreateAutomatedReasoningPolicyTestCaseCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ConflictException} (client fault)
|
|
64
|
+
* <p>Error occurred because of a conflict while performing an operation.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
73
|
+
* <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link BedrockServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class CreateAutomatedReasoningPolicyTestCaseCommand extends CreateAutomatedReasoningPolicyTestCaseCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: CreateAutomatedReasoningPolicyTestCaseRequest;
|
|
92
|
+
output: CreateAutomatedReasoningPolicyTestCaseResponse;
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: CreateAutomatedReasoningPolicyTestCaseCommandInput;
|
|
96
|
+
output: CreateAutomatedReasoningPolicyTestCaseCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
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 { CreateAutomatedReasoningPolicyVersionRequest, CreateAutomatedReasoningPolicyVersionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateAutomatedReasoningPolicyVersionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateAutomatedReasoningPolicyVersionCommandInput extends CreateAutomatedReasoningPolicyVersionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateAutomatedReasoningPolicyVersionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAutomatedReasoningPolicyVersionCommandOutput extends CreateAutomatedReasoningPolicyVersionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateAutomatedReasoningPolicyVersionCommand_base: {
|
|
25
|
+
new (input: CreateAutomatedReasoningPolicyVersionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAutomatedReasoningPolicyVersionCommandInput, CreateAutomatedReasoningPolicyVersionCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateAutomatedReasoningPolicyVersionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAutomatedReasoningPolicyVersionCommandInput, CreateAutomatedReasoningPolicyVersionCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new version of an existing Automated Reasoning policy. This allows you to iterate on your policy rules while maintaining previous versions for rollback or comparison purposes.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockClient, CreateAutomatedReasoningPolicyVersionCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
|
+
* // const { BedrockClient, CreateAutomatedReasoningPolicyVersionCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* const client = new BedrockClient(config);
|
|
37
|
+
* const input = { // CreateAutomatedReasoningPolicyVersionRequest
|
|
38
|
+
* policyArn: "STRING_VALUE", // required
|
|
39
|
+
* clientRequestToken: "STRING_VALUE",
|
|
40
|
+
* lastUpdatedDefinitionHash: "STRING_VALUE", // required
|
|
41
|
+
* tags: [ // TagList
|
|
42
|
+
* { // Tag
|
|
43
|
+
* key: "STRING_VALUE", // required
|
|
44
|
+
* value: "STRING_VALUE", // required
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new CreateAutomatedReasoningPolicyVersionCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // CreateAutomatedReasoningPolicyVersionResponse
|
|
51
|
+
* // policyArn: "STRING_VALUE", // required
|
|
52
|
+
* // version: "STRING_VALUE", // required
|
|
53
|
+
* // name: "STRING_VALUE", // required
|
|
54
|
+
* // description: "STRING_VALUE",
|
|
55
|
+
* // definitionHash: "STRING_VALUE", // required
|
|
56
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param CreateAutomatedReasoningPolicyVersionCommandInput - {@link CreateAutomatedReasoningPolicyVersionCommandInput}
|
|
62
|
+
* @returns {@link CreateAutomatedReasoningPolicyVersionCommandOutput}
|
|
63
|
+
* @see {@link CreateAutomatedReasoningPolicyVersionCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link CreateAutomatedReasoningPolicyVersionCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ConflictException} (client fault)
|
|
71
|
+
* <p>Error occurred because of a conflict while performing an operation.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
80
|
+
* <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
83
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ValidationException} (client fault)
|
|
86
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link BedrockServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class CreateAutomatedReasoningPolicyVersionCommand extends CreateAutomatedReasoningPolicyVersionCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: CreateAutomatedReasoningPolicyVersionRequest;
|
|
99
|
+
output: CreateAutomatedReasoningPolicyVersionResponse;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: CreateAutomatedReasoningPolicyVersionCommandInput;
|
|
103
|
+
output: CreateAutomatedReasoningPolicyVersionCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -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 { CreateGuardrailRequest, CreateGuardrailResponse } from "../models/
|
|
4
|
+
import { CreateGuardrailRequest, CreateGuardrailResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -132,6 +132,12 @@ declare const CreateGuardrailCommand_base: {
|
|
|
132
132
|
* },
|
|
133
133
|
* ],
|
|
134
134
|
* },
|
|
135
|
+
* automatedReasoningPolicyConfig: { // GuardrailAutomatedReasoningPolicyConfig
|
|
136
|
+
* policies: [ // AutomatedReasoningPolicyArnList // required
|
|
137
|
+
* "STRING_VALUE",
|
|
138
|
+
* ],
|
|
139
|
+
* confidenceThreshold: Number("double"),
|
|
140
|
+
* },
|
|
135
141
|
* crossRegionConfig: { // GuardrailCrossRegionConfig
|
|
136
142
|
* guardrailProfileIdentifier: "STRING_VALUE", // required
|
|
137
143
|
* },
|
|
@@ -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 { CreateGuardrailVersionRequest, CreateGuardrailVersionResponse } from "../models/
|
|
4
|
+
import { CreateGuardrailVersionRequest, CreateGuardrailVersionResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { CreateInferenceProfileRequest, CreateInferenceProfileResponse } from "../models/
|
|
4
|
+
import { CreateInferenceProfileRequest, CreateInferenceProfileResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { CreateModelCopyJobRequest, CreateModelCopyJobResponse } from "../models/
|
|
4
|
+
import { CreateModelCopyJobRequest, CreateModelCopyJobResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { CreateModelImportJobRequest, CreateModelImportJobResponse } from "../models/
|
|
4
|
+
import { CreateModelImportJobRequest, CreateModelImportJobResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { CreateModelInvocationJobRequest, CreateModelInvocationJobResponse } from "../models/
|
|
4
|
+
import { CreateModelInvocationJobRequest, CreateModelInvocationJobResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { CreatePromptRouterRequest, CreatePromptRouterResponse } from "../models/
|
|
4
|
+
import { CreatePromptRouterRequest, CreatePromptRouterResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { CreateProvisionedModelThroughputRequest, CreateProvisionedModelThroughputResponse } from "../models/
|
|
4
|
+
import { CreateProvisionedModelThroughputRequest, CreateProvisionedModelThroughputResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,90 @@
|
|
|
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 { DeleteAutomatedReasoningPolicyBuildWorkflowRequest, DeleteAutomatedReasoningPolicyBuildWorkflowResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteAutomatedReasoningPolicyBuildWorkflowCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput extends DeleteAutomatedReasoningPolicyBuildWorkflowRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteAutomatedReasoningPolicyBuildWorkflowCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteAutomatedReasoningPolicyBuildWorkflowCommandOutput extends DeleteAutomatedReasoningPolicyBuildWorkflowResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteAutomatedReasoningPolicyBuildWorkflowCommand_base: {
|
|
25
|
+
new (input: DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput, DeleteAutomatedReasoningPolicyBuildWorkflowCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput, DeleteAutomatedReasoningPolicyBuildWorkflowCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes an Automated Reasoning policy build workflow and its associated artifacts. This permanently removes the workflow history and any generated assets.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockClient, DeleteAutomatedReasoningPolicyBuildWorkflowCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
|
+
* // const { BedrockClient, DeleteAutomatedReasoningPolicyBuildWorkflowCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* const client = new BedrockClient(config);
|
|
37
|
+
* const input = { // DeleteAutomatedReasoningPolicyBuildWorkflowRequest
|
|
38
|
+
* policyArn: "STRING_VALUE", // required
|
|
39
|
+
* buildWorkflowId: "STRING_VALUE", // required
|
|
40
|
+
* lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteAutomatedReasoningPolicyBuildWorkflowCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput - {@link DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput}
|
|
49
|
+
* @returns {@link DeleteAutomatedReasoningPolicyBuildWorkflowCommandOutput}
|
|
50
|
+
* @see {@link DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link DeleteAutomatedReasoningPolicyBuildWorkflowCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ConflictException} (client fault)
|
|
58
|
+
* <p>Error occurred because of a conflict while performing an operation.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link BedrockServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class DeleteAutomatedReasoningPolicyBuildWorkflowCommand extends DeleteAutomatedReasoningPolicyBuildWorkflowCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: DeleteAutomatedReasoningPolicyBuildWorkflowRequest;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput;
|
|
87
|
+
output: DeleteAutomatedReasoningPolicyBuildWorkflowCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
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 { DeleteAutomatedReasoningPolicyRequest, DeleteAutomatedReasoningPolicyResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteAutomatedReasoningPolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteAutomatedReasoningPolicyCommandInput extends DeleteAutomatedReasoningPolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteAutomatedReasoningPolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteAutomatedReasoningPolicyCommandOutput extends DeleteAutomatedReasoningPolicyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteAutomatedReasoningPolicyCommand_base: {
|
|
25
|
+
new (input: DeleteAutomatedReasoningPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAutomatedReasoningPolicyCommandInput, DeleteAutomatedReasoningPolicyCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteAutomatedReasoningPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAutomatedReasoningPolicyCommandInput, DeleteAutomatedReasoningPolicyCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes an Automated Reasoning policy or policy version. This operation is idempotent. If you delete a policy more than once, each call succeeds. Deleting a policy removes it permanently and cannot be undone.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockClient, DeleteAutomatedReasoningPolicyCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
|
+
* // const { BedrockClient, DeleteAutomatedReasoningPolicyCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* const client = new BedrockClient(config);
|
|
37
|
+
* const input = { // DeleteAutomatedReasoningPolicyRequest
|
|
38
|
+
* policyArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteAutomatedReasoningPolicyCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteAutomatedReasoningPolicyCommandInput - {@link DeleteAutomatedReasoningPolicyCommandInput}
|
|
47
|
+
* @returns {@link DeleteAutomatedReasoningPolicyCommandOutput}
|
|
48
|
+
* @see {@link DeleteAutomatedReasoningPolicyCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteAutomatedReasoningPolicyCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalServerException} (server fault)
|
|
56
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
62
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ValidationException} (client fault)
|
|
65
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link BedrockServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
69
|
+
*
|
|
70
|
+
*
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class DeleteAutomatedReasoningPolicyCommand extends DeleteAutomatedReasoningPolicyCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: DeleteAutomatedReasoningPolicyRequest;
|
|
78
|
+
output: {};
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: DeleteAutomatedReasoningPolicyCommandInput;
|
|
82
|
+
output: DeleteAutomatedReasoningPolicyCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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 { DeleteAutomatedReasoningPolicyTestCaseRequest, DeleteAutomatedReasoningPolicyTestCaseResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteAutomatedReasoningPolicyTestCaseCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteAutomatedReasoningPolicyTestCaseCommandInput extends DeleteAutomatedReasoningPolicyTestCaseRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteAutomatedReasoningPolicyTestCaseCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteAutomatedReasoningPolicyTestCaseCommandOutput extends DeleteAutomatedReasoningPolicyTestCaseResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteAutomatedReasoningPolicyTestCaseCommand_base: {
|
|
25
|
+
new (input: DeleteAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAutomatedReasoningPolicyTestCaseCommandInput, DeleteAutomatedReasoningPolicyTestCaseCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAutomatedReasoningPolicyTestCaseCommandInput, DeleteAutomatedReasoningPolicyTestCaseCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes an Automated Reasoning policy test. This operation is idempotent; if you delete a test more than once, each call succeeds.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockClient, DeleteAutomatedReasoningPolicyTestCaseCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
|
+
* // const { BedrockClient, DeleteAutomatedReasoningPolicyTestCaseCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* const client = new BedrockClient(config);
|
|
37
|
+
* const input = { // DeleteAutomatedReasoningPolicyTestCaseRequest
|
|
38
|
+
* policyArn: "STRING_VALUE", // required
|
|
39
|
+
* testCaseId: "STRING_VALUE", // required
|
|
40
|
+
* lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteAutomatedReasoningPolicyTestCaseCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param DeleteAutomatedReasoningPolicyTestCaseCommandInput - {@link DeleteAutomatedReasoningPolicyTestCaseCommandInput}
|
|
49
|
+
* @returns {@link DeleteAutomatedReasoningPolicyTestCaseCommandOutput}
|
|
50
|
+
* @see {@link DeleteAutomatedReasoningPolicyTestCaseCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link DeleteAutomatedReasoningPolicyTestCaseCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ConflictException} (client fault)
|
|
58
|
+
* <p>Error occurred because of a conflict while performing an operation.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
64
|
+
* <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>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link BedrockServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class DeleteAutomatedReasoningPolicyTestCaseCommand extends DeleteAutomatedReasoningPolicyTestCaseCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: DeleteAutomatedReasoningPolicyTestCaseRequest;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: DeleteAutomatedReasoningPolicyTestCaseCommandInput;
|
|
90
|
+
output: DeleteAutomatedReasoningPolicyTestCaseCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -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 { DeleteGuardrailRequest, DeleteGuardrailResponse } from "../models/
|
|
4
|
+
import { DeleteGuardrailRequest, DeleteGuardrailResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { DeleteImportedModelRequest, DeleteImportedModelResponse } from "../models/
|
|
4
|
+
import { DeleteImportedModelRequest, DeleteImportedModelResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { DeleteInferenceProfileRequest, DeleteInferenceProfileResponse } from "../models/
|
|
4
|
+
import { DeleteInferenceProfileRequest, DeleteInferenceProfileResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { DeleteModelInvocationLoggingConfigurationRequest, DeleteModelInvocationLoggingConfigurationResponse } from "../models/
|
|
4
|
+
import { DeleteModelInvocationLoggingConfigurationRequest, DeleteModelInvocationLoggingConfigurationResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { DeletePromptRouterRequest, DeletePromptRouterResponse } from "../models/
|
|
4
|
+
import { DeletePromptRouterRequest, DeletePromptRouterResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { DeleteProvisionedModelThroughputRequest, DeleteProvisionedModelThroughputResponse } from "../models/
|
|
4
|
+
import { DeleteProvisionedModelThroughputRequest, DeleteProvisionedModelThroughputResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|