@aws-sdk/client-bedrock 3.489.0 → 3.495.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/Bedrock.js +1 -51
- package/dist-cjs/BedrockClient.js +1 -43
- package/dist-cjs/commands/CreateModelCustomizationJobCommand.js +1 -28
- package/dist-cjs/commands/CreateProvisionedModelThroughputCommand.js +1 -28
- package/dist-cjs/commands/DeleteCustomModelCommand.js +1 -28
- package/dist-cjs/commands/DeleteModelInvocationLoggingConfigurationCommand.js +1 -28
- package/dist-cjs/commands/DeleteProvisionedModelThroughputCommand.js +1 -28
- package/dist-cjs/commands/GetCustomModelCommand.js +1 -28
- package/dist-cjs/commands/GetFoundationModelCommand.js +1 -28
- package/dist-cjs/commands/GetModelCustomizationJobCommand.js +1 -28
- package/dist-cjs/commands/GetModelInvocationLoggingConfigurationCommand.js +1 -28
- package/dist-cjs/commands/GetProvisionedModelThroughputCommand.js +1 -28
- package/dist-cjs/commands/ListCustomModelsCommand.js +1 -28
- package/dist-cjs/commands/ListFoundationModelsCommand.js +1 -28
- package/dist-cjs/commands/ListModelCustomizationJobsCommand.js +1 -28
- package/dist-cjs/commands/ListProvisionedModelThroughputsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/PutModelInvocationLoggingConfigurationCommand.js +1 -28
- package/dist-cjs/commands/StopModelCustomizationJobCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateProvisionedModelThroughputCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -23
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +2273 -11
- package/dist-cjs/models/BedrockServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -167
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListCustomModelsPaginator.js +1 -7
- package/dist-cjs/pagination/ListModelCustomizationJobsPaginator.js +1 -7
- package/dist-cjs/pagination/ListProvisionedModelThroughputsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -7
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1505
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TagResourceCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class TagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep({
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
20
|
-
})
|
|
21
|
-
.s("AmazonBedrockControlPlaneService", "TagResource", {})
|
|
22
|
-
.n("BedrockClient", "TagResourceCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_restJson1_1.se_TagResourceCommand)
|
|
25
|
-
.de(Aws_restJson1_1.de_TagResourceCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.TagResourceCommand = TagResourceCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UntagResourceCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep({
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
20
|
-
})
|
|
21
|
-
.s("AmazonBedrockControlPlaneService", "UntagResource", {})
|
|
22
|
-
.n("BedrockClient", "UntagResourceCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_restJson1_1.se_UntagResourceCommand)
|
|
25
|
-
.de(Aws_restJson1_1.de_UntagResourceCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateProvisionedModelThroughputCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateProvisionedModelThroughputCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep({
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
20
|
-
})
|
|
21
|
-
.s("AmazonBedrockControlPlaneService", "UpdateProvisionedModelThroughput", {})
|
|
22
|
-
.n("BedrockClient", "UpdateProvisionedModelThroughputCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_restJson1_1.se_UpdateProvisionedModelThroughputCommand)
|
|
25
|
-
.de(Aws_restJson1_1.de_UpdateProvisionedModelThroughputCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.UpdateProvisionedModelThroughputCommand = UpdateProvisionedModelThroughputCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,23 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./CreateModelCustomizationJobCommand"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./CreateProvisionedModelThroughputCommand"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./DeleteCustomModelCommand"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./DeleteModelInvocationLoggingConfigurationCommand"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./DeleteProvisionedModelThroughputCommand"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./GetCustomModelCommand"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./GetFoundationModelCommand"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./GetModelCustomizationJobCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./GetModelInvocationLoggingConfigurationCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./GetProvisionedModelThroughputCommand"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./ListCustomModelsCommand"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./ListFoundationModelsCommand"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./ListModelCustomizationJobsCommand"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./ListProvisionedModelThroughputsCommand"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./PutModelInvocationLoggingConfigurationCommand"), exports);
|
|
20
|
-
tslib_1.__exportStar(require("./StopModelCustomizationJobCommand"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
22
|
-
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./UpdateProvisionedModelThroughputCommand"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,18 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
|
-
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
return {
|
|
6
|
-
...options,
|
|
7
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
9
|
-
defaultSigningName: "bedrock",
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
-
exports.commonParams = {
|
|
14
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
-
Region: { type: "builtInParams", name: "region" },
|
|
17
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
-
};
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("./index.js");
|