@aws-sdk/client-bedrock-runtime 3.649.0 → 3.651.1
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 +5 -15
- package/dist-es/commands/ApplyGuardrailCommand.js +1 -3
- package/dist-es/commands/ConverseCommand.js +1 -3
- package/dist-es/commands/ConverseStreamCommand.js +1 -3
- package/dist-es/commands/InvokeModelCommand.js +1 -3
- package/dist-es/commands/InvokeModelWithResponseStreamCommand.js +1 -3
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -1747,9 +1747,7 @@ var _xabg_ = "x-amzn-bedrock-guardrailversion";
|
|
|
1747
1747
|
var _xabt = "x-amzn-bedrock-trace";
|
|
1748
1748
|
|
|
1749
1749
|
// src/commands/ApplyGuardrailCommand.ts
|
|
1750
|
-
var _ApplyGuardrailCommand = class _ApplyGuardrailCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1751
|
-
...commonParams
|
|
1752
|
-
}).m(function(Command, cs, config, o) {
|
|
1750
|
+
var _ApplyGuardrailCommand = class _ApplyGuardrailCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1753
1751
|
return [
|
|
1754
1752
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1755
1753
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1763,9 +1761,7 @@ var ApplyGuardrailCommand = _ApplyGuardrailCommand;
|
|
|
1763
1761
|
|
|
1764
1762
|
|
|
1765
1763
|
|
|
1766
|
-
var _ConverseCommand = class _ConverseCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1767
|
-
...commonParams
|
|
1768
|
-
}).m(function(Command, cs, config, o) {
|
|
1764
|
+
var _ConverseCommand = class _ConverseCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1769
1765
|
return [
|
|
1770
1766
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1771
1767
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1779,9 +1775,7 @@ var ConverseCommand = _ConverseCommand;
|
|
|
1779
1775
|
|
|
1780
1776
|
|
|
1781
1777
|
|
|
1782
|
-
var _ConverseStreamCommand = class _ConverseStreamCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1783
|
-
...commonParams
|
|
1784
|
-
}).m(function(Command, cs, config, o) {
|
|
1778
|
+
var _ConverseStreamCommand = class _ConverseStreamCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1785
1779
|
return [
|
|
1786
1780
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1787
1781
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1802,9 +1796,7 @@ var ConverseStreamCommand = _ConverseStreamCommand;
|
|
|
1802
1796
|
|
|
1803
1797
|
|
|
1804
1798
|
|
|
1805
|
-
var _InvokeModelCommand = class _InvokeModelCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1806
|
-
...commonParams
|
|
1807
|
-
}).m(function(Command, cs, config, o) {
|
|
1799
|
+
var _InvokeModelCommand = class _InvokeModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1808
1800
|
return [
|
|
1809
1801
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1810
1802
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1818,9 +1810,7 @@ var InvokeModelCommand = _InvokeModelCommand;
|
|
|
1818
1810
|
|
|
1819
1811
|
|
|
1820
1812
|
|
|
1821
|
-
var _InvokeModelWithResponseStreamCommand = class _InvokeModelWithResponseStreamCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1822
|
-
...commonParams
|
|
1823
|
-
}).m(function(Command, cs, config, o) {
|
|
1813
|
+
var _InvokeModelWithResponseStreamCommand = class _InvokeModelWithResponseStreamCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1824
1814
|
return [
|
|
1825
1815
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1826
1816
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -6,9 +6,7 @@ import { de_ApplyGuardrailCommand, se_ApplyGuardrailCommand } from "../protocols
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ApplyGuardrailCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_ConverseCommand, se_ConverseCommand } from "../protocols/Aws_restJso
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ConverseCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_ConverseStreamCommand, se_ConverseStreamCommand } from "../protocols
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class ConverseStreamCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_InvokeModelCommand, se_InvokeModelCommand } from "../protocols/Aws_r
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class InvokeModelCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_InvokeModelWithResponseStreamCommand, se_InvokeModelWithResponseStre
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class InvokeModelWithResponseStreamCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-runtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.651.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-runtime",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.651.1",
|
|
24
|
+
"@aws-sdk/client-sts": "3.651.1",
|
|
25
|
+
"@aws-sdk/core": "3.651.1",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.651.1",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.649.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.649.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.649.0",
|