@aws-sdk/client-bedrock 3.927.0 → 3.929.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/dist-cjs/index.js +6331 -6098
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/BedrockClient.js +2 -0
- package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +3 -10
- package/dist-es/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.js +3 -9
- package/dist-es/commands/CreateAutomatedReasoningPolicyCommand.js +3 -10
- package/dist-es/commands/CreateAutomatedReasoningPolicyTestCaseCommand.js +3 -10
- package/dist-es/commands/CreateAutomatedReasoningPolicyVersionCommand.js +3 -10
- package/dist-es/commands/CreateCustomModelCommand.js +3 -9
- package/dist-es/commands/CreateCustomModelDeploymentCommand.js +3 -9
- package/dist-es/commands/CreateEvaluationJobCommand.js +3 -10
- package/dist-es/commands/CreateFoundationModelAgreementCommand.js +3 -9
- package/dist-es/commands/CreateGuardrailCommand.js +3 -10
- package/dist-es/commands/CreateGuardrailVersionCommand.js +3 -10
- package/dist-es/commands/CreateInferenceProfileCommand.js +3 -10
- package/dist-es/commands/CreateMarketplaceModelEndpointCommand.js +3 -9
- package/dist-es/commands/CreateModelCopyJobCommand.js +3 -9
- package/dist-es/commands/CreateModelCustomizationJobCommand.js +3 -10
- package/dist-es/commands/CreateModelImportJobCommand.js +3 -9
- package/dist-es/commands/CreateModelInvocationJobCommand.js +3 -9
- package/dist-es/commands/CreatePromptRouterCommand.js +3 -10
- package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +3 -9
- package/dist-es/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.js +3 -9
- package/dist-es/commands/DeleteAutomatedReasoningPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.js +3 -9
- package/dist-es/commands/DeleteCustomModelCommand.js +3 -9
- package/dist-es/commands/DeleteCustomModelDeploymentCommand.js +3 -9
- package/dist-es/commands/DeleteFoundationModelAgreementCommand.js +3 -9
- package/dist-es/commands/DeleteGuardrailCommand.js +3 -9
- package/dist-es/commands/DeleteImportedModelCommand.js +3 -9
- package/dist-es/commands/DeleteInferenceProfileCommand.js +3 -9
- package/dist-es/commands/DeleteMarketplaceModelEndpointCommand.js +3 -9
- package/dist-es/commands/DeleteModelInvocationLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/DeletePromptRouterCommand.js +3 -9
- package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +3 -9
- package/dist-es/commands/DeregisterMarketplaceModelEndpointCommand.js +3 -9
- package/dist-es/commands/ExportAutomatedReasoningPolicyVersionCommand.js +3 -10
- package/dist-es/commands/GetAutomatedReasoningPolicyAnnotationsCommand.js +3 -10
- package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.js +3 -10
- package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.js +3 -10
- package/dist-es/commands/GetAutomatedReasoningPolicyCommand.js +3 -10
- package/dist-es/commands/GetAutomatedReasoningPolicyNextScenarioCommand.js +3 -10
- package/dist-es/commands/GetAutomatedReasoningPolicyTestCaseCommand.js +3 -10
- package/dist-es/commands/GetAutomatedReasoningPolicyTestResultCommand.js +3 -10
- package/dist-es/commands/GetCustomModelCommand.js +3 -10
- package/dist-es/commands/GetCustomModelDeploymentCommand.js +3 -9
- package/dist-es/commands/GetEvaluationJobCommand.js +3 -11
- package/dist-es/commands/GetFoundationModelAvailabilityCommand.js +3 -9
- package/dist-es/commands/GetFoundationModelCommand.js +3 -9
- package/dist-es/commands/GetGuardrailCommand.js +3 -10
- package/dist-es/commands/GetImportedModelCommand.js +3 -9
- package/dist-es/commands/GetInferenceProfileCommand.js +3 -10
- package/dist-es/commands/GetMarketplaceModelEndpointCommand.js +3 -9
- package/dist-es/commands/GetModelCopyJobCommand.js +3 -9
- package/dist-es/commands/GetModelCustomizationJobCommand.js +3 -10
- package/dist-es/commands/GetModelImportJobCommand.js +3 -9
- package/dist-es/commands/GetModelInvocationJobCommand.js +3 -10
- package/dist-es/commands/GetModelInvocationLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/GetPromptRouterCommand.js +3 -10
- package/dist-es/commands/GetProvisionedModelThroughputCommand.js +3 -9
- package/dist-es/commands/GetUseCaseForModelAccessCommand.js +3 -9
- package/dist-es/commands/ListAutomatedReasoningPoliciesCommand.js +3 -10
- package/dist-es/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.js +3 -9
- package/dist-es/commands/ListAutomatedReasoningPolicyTestCasesCommand.js +3 -10
- package/dist-es/commands/ListAutomatedReasoningPolicyTestResultsCommand.js +3 -10
- package/dist-es/commands/ListCustomModelDeploymentsCommand.js +3 -9
- package/dist-es/commands/ListCustomModelsCommand.js +3 -9
- package/dist-es/commands/ListEvaluationJobsCommand.js +3 -9
- package/dist-es/commands/ListFoundationModelAgreementOffersCommand.js +3 -9
- package/dist-es/commands/ListFoundationModelsCommand.js +3 -9
- package/dist-es/commands/ListGuardrailsCommand.js +3 -10
- package/dist-es/commands/ListImportedModelsCommand.js +3 -9
- package/dist-es/commands/ListInferenceProfilesCommand.js +3 -10
- package/dist-es/commands/ListMarketplaceModelEndpointsCommand.js +3 -9
- package/dist-es/commands/ListModelCopyJobsCommand.js +3 -9
- package/dist-es/commands/ListModelCustomizationJobsCommand.js +3 -9
- package/dist-es/commands/ListModelImportJobsCommand.js +3 -9
- package/dist-es/commands/ListModelInvocationJobsCommand.js +3 -10
- package/dist-es/commands/ListPromptRoutersCommand.js +3 -10
- package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PutModelInvocationLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/PutUseCaseForModelAccessCommand.js +3 -9
- package/dist-es/commands/RegisterMarketplaceModelEndpointCommand.js +3 -9
- package/dist-es/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.js +3 -10
- package/dist-es/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.js +3 -9
- package/dist-es/commands/StopEvaluationJobCommand.js +3 -10
- package/dist-es/commands/StopModelCustomizationJobCommand.js +3 -9
- package/dist-es/commands/StopModelInvocationJobCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.js +3 -10
- package/dist-es/commands/UpdateAutomatedReasoningPolicyCommand.js +3 -10
- package/dist-es/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.js +3 -10
- package/dist-es/commands/UpdateGuardrailCommand.js +3 -10
- package/dist-es/commands/UpdateMarketplaceModelEndpointCommand.js +3 -9
- package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -775
- package/dist-es/models/models_1.js +0 -314
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +6150 -0
- package/dist-types/BedrockClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -488
- package/dist-types/models/models_1.d.ts +0 -176
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +668 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -366
- package/dist-types/ts3.4/models/models_1.d.ts +0 -130
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +675 -0
- package/package.json +6 -7
- package/dist-es/protocols/Aws_restJson1.js +0 -4177
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -848
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1133
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateGuardrailCommand, se_UpdateGuardrailCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateGuardrail } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateGuardrailCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockControlPlaneService", "UpdateGuardrail", {})
|
|
18
13
|
.n("BedrockClient", "UpdateGuardrailCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateGuardrailCommand)
|
|
21
|
-
.de(de_UpdateGuardrailCommand)
|
|
14
|
+
.sc(UpdateGuardrail)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateMarketplaceModelEndpoint } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateMarketplaceModelEndpointCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockControlPlaneService", "UpdateMarketplaceModelEndpoint", {})
|
|
17
13
|
.n("BedrockClient", "UpdateMarketplaceModelEndpointCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateMarketplaceModelEndpointCommand)
|
|
20
|
-
.de(de_UpdateMarketplaceModelEndpointCommand)
|
|
14
|
+
.sc(UpdateMarketplaceModelEndpoint)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateProvisionedModelThroughput } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateProvisionedModelThroughputCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockControlPlaneService", "UpdateProvisionedModelThroughput", {})
|
|
17
13
|
.n("BedrockClient", "UpdateProvisionedModelThroughputCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateProvisionedModelThroughputCommand)
|
|
20
|
-
.de(de_UpdateProvisionedModelThroughputCommand)
|
|
14
|
+
.sc(UpdateProvisionedModelThroughput)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|