@aws-sdk/client-bedrock-runtime 3.890.0 → 3.893.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.
@@ -33,6 +33,8 @@ declare const ApplyGuardrailCommand_base: {
33
33
  * ```javascript
34
34
  * import { BedrockRuntimeClient, ApplyGuardrailCommand } from "@aws-sdk/client-bedrock-runtime"; // ES Modules import
35
35
  * // const { BedrockRuntimeClient, ApplyGuardrailCommand } = require("@aws-sdk/client-bedrock-runtime"); // CommonJS import
36
+ * // import type { BedrockRuntimeClientConfig } from "@aws-sdk/client-bedrock-runtime";
37
+ * const config = {}; // type is BedrockRuntimeClientConfig
36
38
  * const client = new BedrockRuntimeClient(config);
37
39
  * const input = { // ApplyGuardrailRequest
38
40
  * guardrailIdentifier: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const ConverseCommand_base: {
33
33
  * ```javascript
34
34
  * import { BedrockRuntimeClient, ConverseCommand } from "@aws-sdk/client-bedrock-runtime"; // ES Modules import
35
35
  * // const { BedrockRuntimeClient, ConverseCommand } = require("@aws-sdk/client-bedrock-runtime"); // CommonJS import
36
+ * // import type { BedrockRuntimeClientConfig } from "@aws-sdk/client-bedrock-runtime";
37
+ * const config = {}; // type is BedrockRuntimeClientConfig
36
38
  * const client = new BedrockRuntimeClient(config);
37
39
  * const input = { // ConverseRequest
38
40
  * modelId: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const ConverseStreamCommand_base: {
33
33
  * ```javascript
34
34
  * import { BedrockRuntimeClient, ConverseStreamCommand } from "@aws-sdk/client-bedrock-runtime"; // ES Modules import
35
35
  * // const { BedrockRuntimeClient, ConverseStreamCommand } = require("@aws-sdk/client-bedrock-runtime"); // CommonJS import
36
+ * // import type { BedrockRuntimeClientConfig } from "@aws-sdk/client-bedrock-runtime";
37
+ * const config = {}; // type is BedrockRuntimeClientConfig
36
38
  * const client = new BedrockRuntimeClient(config);
37
39
  * const input = { // ConverseStreamRequest
38
40
  * modelId: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const CountTokensCommand_base: {
33
33
  * ```javascript
34
34
  * import { BedrockRuntimeClient, CountTokensCommand } from "@aws-sdk/client-bedrock-runtime"; // ES Modules import
35
35
  * // const { BedrockRuntimeClient, CountTokensCommand } = require("@aws-sdk/client-bedrock-runtime"); // CommonJS import
36
+ * // import type { BedrockRuntimeClientConfig } from "@aws-sdk/client-bedrock-runtime";
37
+ * const config = {}; // type is BedrockRuntimeClientConfig
36
38
  * const client = new BedrockRuntimeClient(config);
37
39
  * const input = { // CountTokensRequest
38
40
  * modelId: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const GetAsyncInvokeCommand_base: {
33
33
  * ```javascript
34
34
  * import { BedrockRuntimeClient, GetAsyncInvokeCommand } from "@aws-sdk/client-bedrock-runtime"; // ES Modules import
35
35
  * // const { BedrockRuntimeClient, GetAsyncInvokeCommand } = require("@aws-sdk/client-bedrock-runtime"); // CommonJS import
36
+ * // import type { BedrockRuntimeClientConfig } from "@aws-sdk/client-bedrock-runtime";
37
+ * const config = {}; // type is BedrockRuntimeClientConfig
36
38
  * const client = new BedrockRuntimeClient(config);
37
39
  * const input = { // GetAsyncInvokeRequest
38
40
  * invocationArn: "STRING_VALUE", // required
@@ -46,6 +46,8 @@ declare const InvokeModelCommand_base: {
46
46
  * ```javascript
47
47
  * import { BedrockRuntimeClient, InvokeModelCommand } from "@aws-sdk/client-bedrock-runtime"; // ES Modules import
48
48
  * // const { BedrockRuntimeClient, InvokeModelCommand } = require("@aws-sdk/client-bedrock-runtime"); // CommonJS import
49
+ * // import type { BedrockRuntimeClientConfig } from "@aws-sdk/client-bedrock-runtime";
50
+ * const config = {}; // type is BedrockRuntimeClientConfig
49
51
  * const client = new BedrockRuntimeClient(config);
50
52
  * const input = { // InvokeModelRequest
51
53
  * body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
@@ -33,6 +33,8 @@ declare const InvokeModelWithBidirectionalStreamCommand_base: {
33
33
  * ```javascript
34
34
  * import { BedrockRuntimeClient, InvokeModelWithBidirectionalStreamCommand } from "@aws-sdk/client-bedrock-runtime"; // ES Modules import
35
35
  * // const { BedrockRuntimeClient, InvokeModelWithBidirectionalStreamCommand } = require("@aws-sdk/client-bedrock-runtime"); // CommonJS import
36
+ * // import type { BedrockRuntimeClientConfig } from "@aws-sdk/client-bedrock-runtime";
37
+ * const config = {}; // type is BedrockRuntimeClientConfig
36
38
  * const client = new BedrockRuntimeClient(config);
37
39
  * const input = { // InvokeModelWithBidirectionalStreamRequest
38
40
  * modelId: "STRING_VALUE", // required
@@ -39,6 +39,8 @@ declare const InvokeModelWithResponseStreamCommand_base: {
39
39
  * ```javascript
40
40
  * import { BedrockRuntimeClient, InvokeModelWithResponseStreamCommand } from "@aws-sdk/client-bedrock-runtime"; // ES Modules import
41
41
  * // const { BedrockRuntimeClient, InvokeModelWithResponseStreamCommand } = require("@aws-sdk/client-bedrock-runtime"); // CommonJS import
42
+ * // import type { BedrockRuntimeClientConfig } from "@aws-sdk/client-bedrock-runtime";
43
+ * const config = {}; // type is BedrockRuntimeClientConfig
42
44
  * const client = new BedrockRuntimeClient(config);
43
45
  * const input = { // InvokeModelWithResponseStreamRequest
44
46
  * body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
@@ -33,6 +33,8 @@ declare const ListAsyncInvokesCommand_base: {
33
33
  * ```javascript
34
34
  * import { BedrockRuntimeClient, ListAsyncInvokesCommand } from "@aws-sdk/client-bedrock-runtime"; // ES Modules import
35
35
  * // const { BedrockRuntimeClient, ListAsyncInvokesCommand } = require("@aws-sdk/client-bedrock-runtime"); // CommonJS import
36
+ * // import type { BedrockRuntimeClientConfig } from "@aws-sdk/client-bedrock-runtime";
37
+ * const config = {}; // type is BedrockRuntimeClientConfig
36
38
  * const client = new BedrockRuntimeClient(config);
37
39
  * const input = { // ListAsyncInvokesRequest
38
40
  * submitTimeAfter: new Date("TIMESTAMP"),
@@ -33,6 +33,8 @@ declare const StartAsyncInvokeCommand_base: {
33
33
  * ```javascript
34
34
  * import { BedrockRuntimeClient, StartAsyncInvokeCommand } from "@aws-sdk/client-bedrock-runtime"; // ES Modules import
35
35
  * // const { BedrockRuntimeClient, StartAsyncInvokeCommand } = require("@aws-sdk/client-bedrock-runtime"); // CommonJS import
36
+ * // import type { BedrockRuntimeClientConfig } from "@aws-sdk/client-bedrock-runtime";
37
+ * const config = {}; // type is BedrockRuntimeClientConfig
36
38
  * const client = new BedrockRuntimeClient(config);
37
39
  * const input = { // StartAsyncInvokeRequest
38
40
  * clientRequestToken: "STRING_VALUE",
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.890.0",
4
+ "version": "3.893.0",
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,23 +20,23 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.890.0",
24
- "@aws-sdk/credential-provider-node": "3.890.0",
25
- "@aws-sdk/eventstream-handler-node": "3.890.0",
26
- "@aws-sdk/middleware-eventstream": "3.887.0",
27
- "@aws-sdk/middleware-host-header": "3.887.0",
28
- "@aws-sdk/middleware-logger": "3.887.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.887.0",
30
- "@aws-sdk/middleware-user-agent": "3.890.0",
31
- "@aws-sdk/middleware-websocket": "3.890.0",
32
- "@aws-sdk/region-config-resolver": "3.890.0",
33
- "@aws-sdk/token-providers": "3.890.0",
34
- "@aws-sdk/types": "3.887.0",
35
- "@aws-sdk/util-endpoints": "3.890.0",
36
- "@aws-sdk/util-user-agent-browser": "3.887.0",
37
- "@aws-sdk/util-user-agent-node": "3.890.0",
23
+ "@aws-sdk/core": "3.893.0",
24
+ "@aws-sdk/credential-provider-node": "3.893.0",
25
+ "@aws-sdk/eventstream-handler-node": "3.893.0",
26
+ "@aws-sdk/middleware-eventstream": "3.893.0",
27
+ "@aws-sdk/middleware-host-header": "3.893.0",
28
+ "@aws-sdk/middleware-logger": "3.893.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.893.0",
30
+ "@aws-sdk/middleware-user-agent": "3.893.0",
31
+ "@aws-sdk/middleware-websocket": "3.893.0",
32
+ "@aws-sdk/region-config-resolver": "3.893.0",
33
+ "@aws-sdk/token-providers": "3.893.0",
34
+ "@aws-sdk/types": "3.893.0",
35
+ "@aws-sdk/util-endpoints": "3.893.0",
36
+ "@aws-sdk/util-user-agent-browser": "3.893.0",
37
+ "@aws-sdk/util-user-agent-node": "3.893.0",
38
38
  "@smithy/config-resolver": "^4.2.2",
39
- "@smithy/core": "^3.11.0",
39
+ "@smithy/core": "^3.11.1",
40
40
  "@smithy/eventstream-serde-browser": "^4.1.1",
41
41
  "@smithy/eventstream-serde-config-resolver": "^4.2.1",
42
42
  "@smithy/eventstream-serde-node": "^4.1.1",
@@ -44,25 +44,25 @@
44
44
  "@smithy/hash-node": "^4.1.1",
45
45
  "@smithy/invalid-dependency": "^4.1.1",
46
46
  "@smithy/middleware-content-length": "^4.1.1",
47
- "@smithy/middleware-endpoint": "^4.2.2",
48
- "@smithy/middleware-retry": "^4.2.2",
47
+ "@smithy/middleware-endpoint": "^4.2.3",
48
+ "@smithy/middleware-retry": "^4.2.4",
49
49
  "@smithy/middleware-serde": "^4.1.1",
50
50
  "@smithy/middleware-stack": "^4.1.1",
51
51
  "@smithy/node-config-provider": "^4.2.2",
52
52
  "@smithy/node-http-handler": "^4.2.1",
53
53
  "@smithy/protocol-http": "^5.2.1",
54
- "@smithy/smithy-client": "^4.6.2",
54
+ "@smithy/smithy-client": "^4.6.3",
55
55
  "@smithy/types": "^4.5.0",
56
56
  "@smithy/url-parser": "^4.1.1",
57
57
  "@smithy/util-base64": "^4.1.0",
58
58
  "@smithy/util-body-length-browser": "^4.1.0",
59
59
  "@smithy/util-body-length-node": "^4.1.0",
60
- "@smithy/util-defaults-mode-browser": "^4.1.2",
61
- "@smithy/util-defaults-mode-node": "^4.1.2",
60
+ "@smithy/util-defaults-mode-browser": "^4.1.3",
61
+ "@smithy/util-defaults-mode-node": "^4.1.3",
62
62
  "@smithy/util-endpoints": "^3.1.2",
63
63
  "@smithy/util-middleware": "^4.1.1",
64
- "@smithy/util-retry": "^4.1.1",
65
- "@smithy/util-stream": "^4.3.1",
64
+ "@smithy/util-retry": "^4.1.2",
65
+ "@smithy/util-stream": "^4.3.2",
66
66
  "@smithy/util-utf8": "^4.1.0",
67
67
  "@types/uuid": "^9.0.1",
68
68
  "tslib": "^2.6.2",