@aws-sdk/client-bedrock-runtime 3.796.0 → 3.798.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/auth/httpAuthSchemeProvider.js +3 -1
- package/dist-cjs/index.js +14 -0
- package/dist-cjs/runtimeConfig.js +1 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -1
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +12 -0
- package/dist-es/runtimeConfig.js +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/dist-types/commands/ConverseCommand.d.ts +36 -10
- package/dist-types/commands/ConverseStreamCommand.d.ts +18 -5
- package/dist-types/models/models_0.d.ts +43 -19
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +2 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +25 -5
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +5 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/package.json +11 -11
|
@@ -40,6 +40,8 @@ const defaultBedrockRuntimeHttpAuthSchemeProvider = (authParameters) => {
|
|
|
40
40
|
exports.defaultBedrockRuntimeHttpAuthSchemeProvider = defaultBedrockRuntimeHttpAuthSchemeProvider;
|
|
41
41
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
42
42
|
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
43
|
-
return Object.assign(config_0, {
|
|
43
|
+
return Object.assign(config_0, {
|
|
44
|
+
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
45
|
+
});
|
|
44
46
|
};
|
|
45
47
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/index.js
CHANGED
|
@@ -622,6 +622,7 @@ var DocumentSource;
|
|
|
622
622
|
((DocumentSource2) => {
|
|
623
623
|
DocumentSource2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
624
624
|
if (value.bytes !== void 0) return visitor.bytes(value.bytes);
|
|
625
|
+
if (value.s3Location !== void 0) return visitor.s3Location(value.s3Location);
|
|
625
626
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
626
627
|
}, "visit");
|
|
627
628
|
})(DocumentSource || (DocumentSource = {}));
|
|
@@ -659,6 +660,7 @@ var ImageSource;
|
|
|
659
660
|
((ImageSource2) => {
|
|
660
661
|
ImageSource2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
661
662
|
if (value.bytes !== void 0) return visitor.bytes(value.bytes);
|
|
663
|
+
if (value.s3Location !== void 0) return visitor.s3Location(value.s3Location);
|
|
662
664
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
663
665
|
}, "visit");
|
|
664
666
|
})(ImageSource || (ImageSource = {}));
|
|
@@ -2000,6 +2002,7 @@ var se_DocumentBlock = /* @__PURE__ */ __name((input, context) => {
|
|
|
2000
2002
|
var se_DocumentSource = /* @__PURE__ */ __name((input, context) => {
|
|
2001
2003
|
return DocumentSource.visit(input, {
|
|
2002
2004
|
bytes: /* @__PURE__ */ __name((value) => ({ bytes: context.base64Encoder(value) }), "bytes"),
|
|
2005
|
+
s3Location: /* @__PURE__ */ __name((value) => ({ s3Location: (0, import_smithy_client._json)(value) }), "s3Location"),
|
|
2003
2006
|
_: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
|
|
2004
2007
|
});
|
|
2005
2008
|
}, "se_DocumentSource");
|
|
@@ -2055,6 +2058,7 @@ var se_ImageBlock = /* @__PURE__ */ __name((input, context) => {
|
|
|
2055
2058
|
var se_ImageSource = /* @__PURE__ */ __name((input, context) => {
|
|
2056
2059
|
return ImageSource.visit(input, {
|
|
2057
2060
|
bytes: /* @__PURE__ */ __name((value) => ({ bytes: context.base64Encoder(value) }), "bytes"),
|
|
2061
|
+
s3Location: /* @__PURE__ */ __name((value) => ({ s3Location: (0, import_smithy_client._json)(value) }), "s3Location"),
|
|
2058
2062
|
_: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
|
|
2059
2063
|
});
|
|
2060
2064
|
}, "se_ImageSource");
|
|
@@ -2315,6 +2319,11 @@ var de_DocumentSource = /* @__PURE__ */ __name((output, context) => {
|
|
|
2315
2319
|
bytes: context.base64Decoder(output.bytes)
|
|
2316
2320
|
};
|
|
2317
2321
|
}
|
|
2322
|
+
if (output.s3Location != null) {
|
|
2323
|
+
return {
|
|
2324
|
+
s3Location: (0, import_smithy_client._json)(output.s3Location)
|
|
2325
|
+
};
|
|
2326
|
+
}
|
|
2318
2327
|
return { $unknown: Object.entries(output)[0] };
|
|
2319
2328
|
}, "de_DocumentSource");
|
|
2320
2329
|
var de_GuardrailAssessment = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -2418,6 +2427,11 @@ var de_ImageSource = /* @__PURE__ */ __name((output, context) => {
|
|
|
2418
2427
|
bytes: context.base64Decoder(output.bytes)
|
|
2419
2428
|
};
|
|
2420
2429
|
}
|
|
2430
|
+
if (output.s3Location != null) {
|
|
2431
|
+
return {
|
|
2432
|
+
s3Location: (0, import_smithy_client._json)(output.s3Location)
|
|
2433
|
+
};
|
|
2434
|
+
}
|
|
2421
2435
|
return { $unknown: Object.entries(output)[0] };
|
|
2422
2436
|
}, "de_ImageSource");
|
|
2423
2437
|
var de_Message = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -40,7 +40,7 @@ const getRuntimeConfig = (config) => {
|
|
|
40
40
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
41
41
|
region: config?.region ??
|
|
42
42
|
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
|
|
43
|
-
requestHandler: node_http_handler_1.
|
|
43
|
+
requestHandler: node_http_handler_1.NodeHttp2Handler.create(config?.requestHandler ?? (async () => ({ ...(await defaultConfigProvider()), disableConcurrentStreams: true }))),
|
|
44
44
|
retryMode: config?.retryMode ??
|
|
45
45
|
(0, node_config_provider_1.loadConfig)({
|
|
46
46
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
@@ -35,5 +35,7 @@ export const defaultBedrockRuntimeHttpAuthSchemeProvider = (authParameters) => {
|
|
|
35
35
|
};
|
|
36
36
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
37
37
|
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
38
|
-
return Object.assign(config_0, {
|
|
38
|
+
return Object.assign(config_0, {
|
|
39
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
40
|
+
});
|
|
39
41
|
};
|
|
@@ -263,6 +263,8 @@ export var DocumentSource;
|
|
|
263
263
|
DocumentSource.visit = (value, visitor) => {
|
|
264
264
|
if (value.bytes !== undefined)
|
|
265
265
|
return visitor.bytes(value.bytes);
|
|
266
|
+
if (value.s3Location !== undefined)
|
|
267
|
+
return visitor.s3Location(value.s3Location);
|
|
266
268
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
267
269
|
};
|
|
268
270
|
})(DocumentSource || (DocumentSource = {}));
|
|
@@ -304,6 +306,8 @@ export var ImageSource;
|
|
|
304
306
|
ImageSource.visit = (value, visitor) => {
|
|
305
307
|
if (value.bytes !== undefined)
|
|
306
308
|
return visitor.bytes(value.bytes);
|
|
309
|
+
if (value.s3Location !== undefined)
|
|
310
|
+
return visitor.s3Location(value.s3Location);
|
|
307
311
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
308
312
|
};
|
|
309
313
|
})(ImageSource || (ImageSource = {}));
|
|
@@ -797,6 +797,7 @@ const se_DocumentBlock = (input, context) => {
|
|
|
797
797
|
const se_DocumentSource = (input, context) => {
|
|
798
798
|
return DocumentSource.visit(input, {
|
|
799
799
|
bytes: (value) => ({ bytes: context.base64Encoder(value) }),
|
|
800
|
+
s3Location: (value) => ({ s3Location: _json(value) }),
|
|
800
801
|
_: (name, value) => ({ [name]: value }),
|
|
801
802
|
});
|
|
802
803
|
};
|
|
@@ -854,6 +855,7 @@ const se_ImageBlock = (input, context) => {
|
|
|
854
855
|
const se_ImageSource = (input, context) => {
|
|
855
856
|
return ImageSource.visit(input, {
|
|
856
857
|
bytes: (value) => ({ bytes: context.base64Encoder(value) }),
|
|
858
|
+
s3Location: (value) => ({ s3Location: _json(value) }),
|
|
857
859
|
_: (name, value) => ({ [name]: value }),
|
|
858
860
|
});
|
|
859
861
|
};
|
|
@@ -1126,6 +1128,11 @@ const de_DocumentSource = (output, context) => {
|
|
|
1126
1128
|
bytes: context.base64Decoder(output.bytes),
|
|
1127
1129
|
};
|
|
1128
1130
|
}
|
|
1131
|
+
if (output.s3Location != null) {
|
|
1132
|
+
return {
|
|
1133
|
+
s3Location: _json(output.s3Location),
|
|
1134
|
+
};
|
|
1135
|
+
}
|
|
1129
1136
|
return { $unknown: Object.entries(output)[0] };
|
|
1130
1137
|
};
|
|
1131
1138
|
const de_GuardrailAssessment = (output, context) => {
|
|
@@ -1233,6 +1240,11 @@ const de_ImageSource = (output, context) => {
|
|
|
1233
1240
|
bytes: context.base64Decoder(output.bytes),
|
|
1234
1241
|
};
|
|
1235
1242
|
}
|
|
1243
|
+
if (output.s3Location != null) {
|
|
1244
|
+
return {
|
|
1245
|
+
s3Location: _json(output.s3Location),
|
|
1246
|
+
};
|
|
1247
|
+
}
|
|
1236
1248
|
return { $unknown: Object.entries(output)[0] };
|
|
1237
1249
|
};
|
|
1238
1250
|
const de_Message = (output, context) => {
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -8,7 +8,7 @@ import { eventStreamSerdeProvider } from "@smithy/eventstream-serde-node";
|
|
|
8
8
|
import { Hash } from "@smithy/hash-node";
|
|
9
9
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
10
10
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
11
|
-
import {
|
|
11
|
+
import { NodeHttp2Handler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
12
12
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
13
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
@@ -36,7 +36,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
36
36
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
37
37
|
region: config?.region ??
|
|
38
38
|
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
|
|
39
|
-
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
39
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? (async () => ({ ...(await defaultConfigProvider()), disableConcurrentStreams: true }))),
|
|
40
40
|
retryMode: config?.retryMode ??
|
|
41
41
|
loadNodeConfig({
|
|
42
42
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
3
|
import { BedrockRuntimeClientResolvedConfig } from "../BedrockRuntimeClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
@@ -29,6 +29,13 @@ export declare const defaultBedrockRuntimeHttpAuthSchemeProvider: BedrockRuntime
|
|
|
29
29
|
* @internal
|
|
30
30
|
*/
|
|
31
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
34
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
35
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
32
39
|
/**
|
|
33
40
|
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
41
|
* @internal
|
|
@@ -44,6 +51,13 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
|
44
51
|
* @internal
|
|
45
52
|
*/
|
|
46
53
|
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
54
|
+
/**
|
|
55
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
56
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
57
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
47
61
|
/**
|
|
48
62
|
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
63
|
* @internal
|
|
@@ -69,6 +69,10 @@ declare const ConverseCommand_base: {
|
|
|
69
69
|
* format: "png" || "jpeg" || "gif" || "webp", // required
|
|
70
70
|
* source: { // ImageSource Union: only one key present
|
|
71
71
|
* bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
72
|
+
* s3Location: { // S3Location
|
|
73
|
+
* uri: "STRING_VALUE", // required
|
|
74
|
+
* bucketOwner: "STRING_VALUE",
|
|
75
|
+
* },
|
|
72
76
|
* },
|
|
73
77
|
* },
|
|
74
78
|
* document: { // DocumentBlock
|
|
@@ -76,13 +80,17 @@ declare const ConverseCommand_base: {
|
|
|
76
80
|
* name: "STRING_VALUE", // required
|
|
77
81
|
* source: { // DocumentSource Union: only one key present
|
|
78
82
|
* bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
83
|
+
* s3Location: {
|
|
84
|
+
* uri: "STRING_VALUE", // required
|
|
85
|
+
* bucketOwner: "STRING_VALUE",
|
|
86
|
+
* },
|
|
79
87
|
* },
|
|
80
88
|
* },
|
|
81
89
|
* video: { // VideoBlock
|
|
82
90
|
* format: "mkv" || "mov" || "mp4" || "webm" || "flv" || "mpeg" || "mpg" || "wmv" || "three_gp", // required
|
|
83
91
|
* source: { // VideoSource Union: only one key present
|
|
84
92
|
* bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
85
|
-
* s3Location: {
|
|
93
|
+
* s3Location: {
|
|
86
94
|
* uri: "STRING_VALUE", // required
|
|
87
95
|
* bucketOwner: "STRING_VALUE",
|
|
88
96
|
* },
|
|
@@ -103,6 +111,10 @@ declare const ConverseCommand_base: {
|
|
|
103
111
|
* format: "png" || "jpeg" || "gif" || "webp", // required
|
|
104
112
|
* source: {// Union: only one key present
|
|
105
113
|
* bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
114
|
+
* s3Location: {
|
|
115
|
+
* uri: "STRING_VALUE", // required
|
|
116
|
+
* bucketOwner: "STRING_VALUE",
|
|
117
|
+
* },
|
|
106
118
|
* },
|
|
107
119
|
* },
|
|
108
120
|
* document: {
|
|
@@ -110,16 +122,17 @@ declare const ConverseCommand_base: {
|
|
|
110
122
|
* name: "STRING_VALUE", // required
|
|
111
123
|
* source: {// Union: only one key present
|
|
112
124
|
* bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
125
|
+
* s3Location: {
|
|
126
|
+
* uri: "STRING_VALUE", // required
|
|
127
|
+
* bucketOwner: "STRING_VALUE",
|
|
128
|
+
* },
|
|
113
129
|
* },
|
|
114
130
|
* },
|
|
115
131
|
* video: {
|
|
116
132
|
* format: "mkv" || "mov" || "mp4" || "webm" || "flv" || "mpeg" || "mpg" || "wmv" || "three_gp", // required
|
|
117
133
|
* source: {// Union: only one key present
|
|
118
134
|
* bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
119
|
-
* s3Location:
|
|
120
|
-
* uri: "STRING_VALUE", // required
|
|
121
|
-
* bucketOwner: "STRING_VALUE",
|
|
122
|
-
* },
|
|
135
|
+
* s3Location: "<S3Location>",
|
|
123
136
|
* },
|
|
124
137
|
* },
|
|
125
138
|
* },
|
|
@@ -239,6 +252,10 @@ declare const ConverseCommand_base: {
|
|
|
239
252
|
* // format: "png" || "jpeg" || "gif" || "webp", // required
|
|
240
253
|
* // source: { // ImageSource Union: only one key present
|
|
241
254
|
* // bytes: new Uint8Array(),
|
|
255
|
+
* // s3Location: { // S3Location
|
|
256
|
+
* // uri: "STRING_VALUE", // required
|
|
257
|
+
* // bucketOwner: "STRING_VALUE",
|
|
258
|
+
* // },
|
|
242
259
|
* // },
|
|
243
260
|
* // },
|
|
244
261
|
* // document: { // DocumentBlock
|
|
@@ -246,13 +263,17 @@ declare const ConverseCommand_base: {
|
|
|
246
263
|
* // name: "STRING_VALUE", // required
|
|
247
264
|
* // source: { // DocumentSource Union: only one key present
|
|
248
265
|
* // bytes: new Uint8Array(),
|
|
266
|
+
* // s3Location: {
|
|
267
|
+
* // uri: "STRING_VALUE", // required
|
|
268
|
+
* // bucketOwner: "STRING_VALUE",
|
|
269
|
+
* // },
|
|
249
270
|
* // },
|
|
250
271
|
* // },
|
|
251
272
|
* // video: { // VideoBlock
|
|
252
273
|
* // format: "mkv" || "mov" || "mp4" || "webm" || "flv" || "mpeg" || "mpg" || "wmv" || "three_gp", // required
|
|
253
274
|
* // source: { // VideoSource Union: only one key present
|
|
254
275
|
* // bytes: new Uint8Array(),
|
|
255
|
-
* // s3Location: {
|
|
276
|
+
* // s3Location: {
|
|
256
277
|
* // uri: "STRING_VALUE", // required
|
|
257
278
|
* // bucketOwner: "STRING_VALUE",
|
|
258
279
|
* // },
|
|
@@ -273,6 +294,10 @@ declare const ConverseCommand_base: {
|
|
|
273
294
|
* // format: "png" || "jpeg" || "gif" || "webp", // required
|
|
274
295
|
* // source: {// Union: only one key present
|
|
275
296
|
* // bytes: new Uint8Array(),
|
|
297
|
+
* // s3Location: {
|
|
298
|
+
* // uri: "STRING_VALUE", // required
|
|
299
|
+
* // bucketOwner: "STRING_VALUE",
|
|
300
|
+
* // },
|
|
276
301
|
* // },
|
|
277
302
|
* // },
|
|
278
303
|
* // document: {
|
|
@@ -280,16 +305,17 @@ declare const ConverseCommand_base: {
|
|
|
280
305
|
* // name: "STRING_VALUE", // required
|
|
281
306
|
* // source: {// Union: only one key present
|
|
282
307
|
* // bytes: new Uint8Array(),
|
|
308
|
+
* // s3Location: {
|
|
309
|
+
* // uri: "STRING_VALUE", // required
|
|
310
|
+
* // bucketOwner: "STRING_VALUE",
|
|
311
|
+
* // },
|
|
283
312
|
* // },
|
|
284
313
|
* // },
|
|
285
314
|
* // video: {
|
|
286
315
|
* // format: "mkv" || "mov" || "mp4" || "webm" || "flv" || "mpeg" || "mpg" || "wmv" || "three_gp", // required
|
|
287
316
|
* // source: {// Union: only one key present
|
|
288
317
|
* // bytes: new Uint8Array(),
|
|
289
|
-
* // s3Location:
|
|
290
|
-
* // uri: "STRING_VALUE", // required
|
|
291
|
-
* // bucketOwner: "STRING_VALUE",
|
|
292
|
-
* // },
|
|
318
|
+
* // s3Location: "<S3Location>",
|
|
293
319
|
* // },
|
|
294
320
|
* // },
|
|
295
321
|
* // },
|
|
@@ -75,6 +75,10 @@ declare const ConverseStreamCommand_base: {
|
|
|
75
75
|
* format: "png" || "jpeg" || "gif" || "webp", // required
|
|
76
76
|
* source: { // ImageSource Union: only one key present
|
|
77
77
|
* bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
78
|
+
* s3Location: { // S3Location
|
|
79
|
+
* uri: "STRING_VALUE", // required
|
|
80
|
+
* bucketOwner: "STRING_VALUE",
|
|
81
|
+
* },
|
|
78
82
|
* },
|
|
79
83
|
* },
|
|
80
84
|
* document: { // DocumentBlock
|
|
@@ -82,13 +86,17 @@ declare const ConverseStreamCommand_base: {
|
|
|
82
86
|
* name: "STRING_VALUE", // required
|
|
83
87
|
* source: { // DocumentSource Union: only one key present
|
|
84
88
|
* bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
89
|
+
* s3Location: {
|
|
90
|
+
* uri: "STRING_VALUE", // required
|
|
91
|
+
* bucketOwner: "STRING_VALUE",
|
|
92
|
+
* },
|
|
85
93
|
* },
|
|
86
94
|
* },
|
|
87
95
|
* video: { // VideoBlock
|
|
88
96
|
* format: "mkv" || "mov" || "mp4" || "webm" || "flv" || "mpeg" || "mpg" || "wmv" || "three_gp", // required
|
|
89
97
|
* source: { // VideoSource Union: only one key present
|
|
90
98
|
* bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
91
|
-
* s3Location: {
|
|
99
|
+
* s3Location: {
|
|
92
100
|
* uri: "STRING_VALUE", // required
|
|
93
101
|
* bucketOwner: "STRING_VALUE",
|
|
94
102
|
* },
|
|
@@ -109,6 +117,10 @@ declare const ConverseStreamCommand_base: {
|
|
|
109
117
|
* format: "png" || "jpeg" || "gif" || "webp", // required
|
|
110
118
|
* source: {// Union: only one key present
|
|
111
119
|
* bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
120
|
+
* s3Location: {
|
|
121
|
+
* uri: "STRING_VALUE", // required
|
|
122
|
+
* bucketOwner: "STRING_VALUE",
|
|
123
|
+
* },
|
|
112
124
|
* },
|
|
113
125
|
* },
|
|
114
126
|
* document: {
|
|
@@ -116,16 +128,17 @@ declare const ConverseStreamCommand_base: {
|
|
|
116
128
|
* name: "STRING_VALUE", // required
|
|
117
129
|
* source: {// Union: only one key present
|
|
118
130
|
* bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
131
|
+
* s3Location: {
|
|
132
|
+
* uri: "STRING_VALUE", // required
|
|
133
|
+
* bucketOwner: "STRING_VALUE",
|
|
134
|
+
* },
|
|
119
135
|
* },
|
|
120
136
|
* },
|
|
121
137
|
* video: {
|
|
122
138
|
* format: "mkv" || "mov" || "mp4" || "webm" || "flv" || "mpeg" || "mpg" || "wmv" || "three_gp", // required
|
|
123
139
|
* source: {// Union: only one key present
|
|
124
140
|
* bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
125
|
-
* s3Location:
|
|
126
|
-
* uri: "STRING_VALUE", // required
|
|
127
|
-
* bucketOwner: "STRING_VALUE",
|
|
128
|
-
* },
|
|
141
|
+
* s3Location: "<S3Location>",
|
|
129
142
|
* },
|
|
130
143
|
* },
|
|
131
144
|
* },
|
|
@@ -1356,11 +1356,27 @@ export declare const DocumentFormat: {
|
|
|
1356
1356
|
* @public
|
|
1357
1357
|
*/
|
|
1358
1358
|
export type DocumentFormat = (typeof DocumentFormat)[keyof typeof DocumentFormat];
|
|
1359
|
+
/**
|
|
1360
|
+
* <p>A storage location in an Amazon S3 bucket.</p>
|
|
1361
|
+
* @public
|
|
1362
|
+
*/
|
|
1363
|
+
export interface S3Location {
|
|
1364
|
+
/**
|
|
1365
|
+
* <p>An object URI starting with <code>s3://</code>.</p>
|
|
1366
|
+
* @public
|
|
1367
|
+
*/
|
|
1368
|
+
uri: string | undefined;
|
|
1369
|
+
/**
|
|
1370
|
+
* <p>If the bucket belongs to another AWS account, specify that account's ID.</p>
|
|
1371
|
+
* @public
|
|
1372
|
+
*/
|
|
1373
|
+
bucketOwner?: string | undefined;
|
|
1374
|
+
}
|
|
1359
1375
|
/**
|
|
1360
1376
|
* <p>Contains the content of a document.</p>
|
|
1361
1377
|
* @public
|
|
1362
1378
|
*/
|
|
1363
|
-
export type DocumentSource = DocumentSource.BytesMember | DocumentSource.$UnknownMember;
|
|
1379
|
+
export type DocumentSource = DocumentSource.BytesMember | DocumentSource.S3LocationMember | DocumentSource.$UnknownMember;
|
|
1364
1380
|
/**
|
|
1365
1381
|
* @public
|
|
1366
1382
|
*/
|
|
@@ -1371,6 +1387,16 @@ export declare namespace DocumentSource {
|
|
|
1371
1387
|
*/
|
|
1372
1388
|
interface BytesMember {
|
|
1373
1389
|
bytes: Uint8Array;
|
|
1390
|
+
s3Location?: never;
|
|
1391
|
+
$unknown?: never;
|
|
1392
|
+
}
|
|
1393
|
+
/**
|
|
1394
|
+
* <p>The location of a document object in an Amazon S3 bucket. To see which models support S3 uploads, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html">Supported models and features for Converse</a>.</p>
|
|
1395
|
+
* @public
|
|
1396
|
+
*/
|
|
1397
|
+
interface S3LocationMember {
|
|
1398
|
+
bytes?: never;
|
|
1399
|
+
s3Location: S3Location;
|
|
1374
1400
|
$unknown?: never;
|
|
1375
1401
|
}
|
|
1376
1402
|
/**
|
|
@@ -1378,10 +1404,12 @@ export declare namespace DocumentSource {
|
|
|
1378
1404
|
*/
|
|
1379
1405
|
interface $UnknownMember {
|
|
1380
1406
|
bytes?: never;
|
|
1407
|
+
s3Location?: never;
|
|
1381
1408
|
$unknown: [string, any];
|
|
1382
1409
|
}
|
|
1383
1410
|
interface Visitor<T> {
|
|
1384
1411
|
bytes: (value: Uint8Array) => T;
|
|
1412
|
+
s3Location: (value: S3Location) => T;
|
|
1385
1413
|
_: (name: string, value: any) => T;
|
|
1386
1414
|
}
|
|
1387
1415
|
const visit: <T>(value: DocumentSource, visitor: Visitor<T>) => T;
|
|
@@ -1576,7 +1604,7 @@ export type ImageFormat = (typeof ImageFormat)[keyof typeof ImageFormat];
|
|
|
1576
1604
|
* <p>The source for an image.</p>
|
|
1577
1605
|
* @public
|
|
1578
1606
|
*/
|
|
1579
|
-
export type ImageSource = ImageSource.BytesMember | ImageSource.$UnknownMember;
|
|
1607
|
+
export type ImageSource = ImageSource.BytesMember | ImageSource.S3LocationMember | ImageSource.$UnknownMember;
|
|
1580
1608
|
/**
|
|
1581
1609
|
* @public
|
|
1582
1610
|
*/
|
|
@@ -1587,6 +1615,16 @@ export declare namespace ImageSource {
|
|
|
1587
1615
|
*/
|
|
1588
1616
|
interface BytesMember {
|
|
1589
1617
|
bytes: Uint8Array;
|
|
1618
|
+
s3Location?: never;
|
|
1619
|
+
$unknown?: never;
|
|
1620
|
+
}
|
|
1621
|
+
/**
|
|
1622
|
+
* <p>The location of an image object in an Amazon S3 bucket. To see which models support S3 uploads, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html">Supported models and features for Converse</a>.</p>
|
|
1623
|
+
* @public
|
|
1624
|
+
*/
|
|
1625
|
+
interface S3LocationMember {
|
|
1626
|
+
bytes?: never;
|
|
1627
|
+
s3Location: S3Location;
|
|
1590
1628
|
$unknown?: never;
|
|
1591
1629
|
}
|
|
1592
1630
|
/**
|
|
@@ -1594,10 +1632,12 @@ export declare namespace ImageSource {
|
|
|
1594
1632
|
*/
|
|
1595
1633
|
interface $UnknownMember {
|
|
1596
1634
|
bytes?: never;
|
|
1635
|
+
s3Location?: never;
|
|
1597
1636
|
$unknown: [string, any];
|
|
1598
1637
|
}
|
|
1599
1638
|
interface Visitor<T> {
|
|
1600
1639
|
bytes: (value: Uint8Array) => T;
|
|
1640
|
+
s3Location: (value: S3Location) => T;
|
|
1601
1641
|
_: (name: string, value: any) => T;
|
|
1602
1642
|
}
|
|
1603
1643
|
const visit: <T>(value: ImageSource, visitor: Visitor<T>) => T;
|
|
@@ -1695,22 +1735,6 @@ export declare const VideoFormat: {
|
|
|
1695
1735
|
* @public
|
|
1696
1736
|
*/
|
|
1697
1737
|
export type VideoFormat = (typeof VideoFormat)[keyof typeof VideoFormat];
|
|
1698
|
-
/**
|
|
1699
|
-
* <p>A storage location in an S3 bucket.</p>
|
|
1700
|
-
* @public
|
|
1701
|
-
*/
|
|
1702
|
-
export interface S3Location {
|
|
1703
|
-
/**
|
|
1704
|
-
* <p>An object URI starting with <code>s3://</code>.</p>
|
|
1705
|
-
* @public
|
|
1706
|
-
*/
|
|
1707
|
-
uri: string | undefined;
|
|
1708
|
-
/**
|
|
1709
|
-
* <p>If the bucket belongs to another AWS account, specify that account's ID.</p>
|
|
1710
|
-
* @public
|
|
1711
|
-
*/
|
|
1712
|
-
bucketOwner?: string | undefined;
|
|
1713
|
-
}
|
|
1714
1738
|
/**
|
|
1715
1739
|
* <p>A video source. You can upload a smaller video as a base64-encoded string as
|
|
1716
1740
|
* long as the encoded file is less than 25MB. You can also transfer videos up to 1GB in size
|
|
@@ -1732,7 +1756,7 @@ export declare namespace VideoSource {
|
|
|
1732
1756
|
$unknown?: never;
|
|
1733
1757
|
}
|
|
1734
1758
|
/**
|
|
1735
|
-
* <p>The location of a video object in an S3 bucket
|
|
1759
|
+
* <p>The location of a video object in an Amazon S3 bucket. To see which models support S3 uploads, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html">Supported models and features for Converse</a>.</p>
|
|
1736
1760
|
* @public
|
|
1737
1761
|
*/
|
|
1738
1762
|
interface S3LocationMember {
|
|
@@ -40,6 +40,7 @@ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
|
40
40
|
}) => import("@smithy/types").EndpointV2;
|
|
41
41
|
tls?: boolean | undefined;
|
|
42
42
|
serviceConfiguredEndpoint?: undefined;
|
|
43
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
43
44
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
44
45
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockRuntimeHttpAuthSchemeProvider;
|
|
45
46
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NodeHttp2Handler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
2
|
import { BedrockRuntimeClientConfig } from "./BedrockRuntimeClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
@@ -40,6 +40,7 @@ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
|
40
40
|
}) => import("@smithy/types").EndpointV2;
|
|
41
41
|
tls?: boolean | undefined;
|
|
42
42
|
serviceConfiguredEndpoint?: undefined;
|
|
43
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
43
44
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
44
45
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockRuntimeHttpAuthSchemeProvider;
|
|
45
46
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -39,6 +39,7 @@ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
|
39
39
|
}) => import("@smithy/types").EndpointV2;
|
|
40
40
|
tls?: boolean | undefined;
|
|
41
41
|
serviceConfiguredEndpoint?: undefined;
|
|
42
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
42
43
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
43
44
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockRuntimeHttpAuthSchemeProvider;
|
|
44
45
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
HttpAuthSchemeParameters,
|
|
10
10
|
HttpAuthSchemeParametersProvider,
|
|
11
11
|
HttpAuthSchemeProvider,
|
|
12
|
+
Provider,
|
|
12
13
|
} from "@smithy/types";
|
|
13
14
|
import { BedrockRuntimeClientResolvedConfig } from "../BedrockRuntimeClient";
|
|
14
15
|
export interface BedrockRuntimeHttpAuthSchemeParameters
|
|
@@ -31,11 +32,13 @@ export interface BedrockRuntimeHttpAuthSchemeProvider
|
|
|
31
32
|
extends HttpAuthSchemeProvider<BedrockRuntimeHttpAuthSchemeParameters> {}
|
|
32
33
|
export declare const defaultBedrockRuntimeHttpAuthSchemeProvider: BedrockRuntimeHttpAuthSchemeProvider;
|
|
33
34
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
34
36
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
35
37
|
httpAuthSchemeProvider?: BedrockRuntimeHttpAuthSchemeProvider;
|
|
36
38
|
}
|
|
37
39
|
export interface HttpAuthSchemeResolvedConfig
|
|
38
40
|
extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
39
42
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
40
43
|
readonly httpAuthSchemeProvider: BedrockRuntimeHttpAuthSchemeProvider;
|
|
41
44
|
}
|
|
@@ -498,20 +498,33 @@ export declare const DocumentFormat: {
|
|
|
498
498
|
};
|
|
499
499
|
export type DocumentFormat =
|
|
500
500
|
(typeof DocumentFormat)[keyof typeof DocumentFormat];
|
|
501
|
+
export interface S3Location {
|
|
502
|
+
uri: string | undefined;
|
|
503
|
+
bucketOwner?: string | undefined;
|
|
504
|
+
}
|
|
501
505
|
export type DocumentSource =
|
|
502
506
|
| DocumentSource.BytesMember
|
|
507
|
+
| DocumentSource.S3LocationMember
|
|
503
508
|
| DocumentSource.$UnknownMember;
|
|
504
509
|
export declare namespace DocumentSource {
|
|
505
510
|
interface BytesMember {
|
|
506
511
|
bytes: Uint8Array;
|
|
512
|
+
s3Location?: never;
|
|
513
|
+
$unknown?: never;
|
|
514
|
+
}
|
|
515
|
+
interface S3LocationMember {
|
|
516
|
+
bytes?: never;
|
|
517
|
+
s3Location: S3Location;
|
|
507
518
|
$unknown?: never;
|
|
508
519
|
}
|
|
509
520
|
interface $UnknownMember {
|
|
510
521
|
bytes?: never;
|
|
522
|
+
s3Location?: never;
|
|
511
523
|
$unknown: [string, any];
|
|
512
524
|
}
|
|
513
525
|
interface Visitor<T> {
|
|
514
526
|
bytes: (value: Uint8Array) => T;
|
|
527
|
+
s3Location: (value: S3Location) => T;
|
|
515
528
|
_: (name: string, value: any) => T;
|
|
516
529
|
}
|
|
517
530
|
const visit: <T>(value: DocumentSource, visitor: Visitor<T>) => T;
|
|
@@ -600,18 +613,29 @@ export declare const ImageFormat: {
|
|
|
600
613
|
readonly WEBP: "webp";
|
|
601
614
|
};
|
|
602
615
|
export type ImageFormat = (typeof ImageFormat)[keyof typeof ImageFormat];
|
|
603
|
-
export type ImageSource =
|
|
616
|
+
export type ImageSource =
|
|
617
|
+
| ImageSource.BytesMember
|
|
618
|
+
| ImageSource.S3LocationMember
|
|
619
|
+
| ImageSource.$UnknownMember;
|
|
604
620
|
export declare namespace ImageSource {
|
|
605
621
|
interface BytesMember {
|
|
606
622
|
bytes: Uint8Array;
|
|
623
|
+
s3Location?: never;
|
|
624
|
+
$unknown?: never;
|
|
625
|
+
}
|
|
626
|
+
interface S3LocationMember {
|
|
627
|
+
bytes?: never;
|
|
628
|
+
s3Location: S3Location;
|
|
607
629
|
$unknown?: never;
|
|
608
630
|
}
|
|
609
631
|
interface $UnknownMember {
|
|
610
632
|
bytes?: never;
|
|
633
|
+
s3Location?: never;
|
|
611
634
|
$unknown: [string, any];
|
|
612
635
|
}
|
|
613
636
|
interface Visitor<T> {
|
|
614
637
|
bytes: (value: Uint8Array) => T;
|
|
638
|
+
s3Location: (value: S3Location) => T;
|
|
615
639
|
_: (name: string, value: any) => T;
|
|
616
640
|
}
|
|
617
641
|
const visit: <T>(value: ImageSource, visitor: Visitor<T>) => T;
|
|
@@ -663,10 +687,6 @@ export declare const VideoFormat: {
|
|
|
663
687
|
readonly WMV: "wmv";
|
|
664
688
|
};
|
|
665
689
|
export type VideoFormat = (typeof VideoFormat)[keyof typeof VideoFormat];
|
|
666
|
-
export interface S3Location {
|
|
667
|
-
uri: string | undefined;
|
|
668
|
-
bucketOwner?: string | undefined;
|
|
669
|
-
}
|
|
670
690
|
export type VideoSource =
|
|
671
691
|
| VideoSource.BytesMember
|
|
672
692
|
| VideoSource.S3LocationMember
|
|
@@ -74,6 +74,10 @@ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
|
74
74
|
) => import("@smithy/types").EndpointV2;
|
|
75
75
|
tls?: boolean | undefined;
|
|
76
76
|
serviceConfiguredEndpoint?: undefined;
|
|
77
|
+
authSchemePreference?:
|
|
78
|
+
| string[]
|
|
79
|
+
| import("@smithy/types").Provider<string[]>
|
|
80
|
+
| undefined;
|
|
77
81
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
78
82
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockRuntimeHttpAuthSchemeProvider;
|
|
79
83
|
credentials?:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NodeHttp2Handler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
2
|
import { BedrockRuntimeClientConfig } from "./BedrockRuntimeClient";
|
|
3
3
|
export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
4
4
|
runtime: string;
|
|
@@ -75,6 +75,10 @@ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
|
75
75
|
) => import("@smithy/types").EndpointV2;
|
|
76
76
|
tls?: boolean | undefined;
|
|
77
77
|
serviceConfiguredEndpoint?: undefined;
|
|
78
|
+
authSchemePreference?:
|
|
79
|
+
| string[]
|
|
80
|
+
| import("@smithy/types").Provider<string[]>
|
|
81
|
+
| undefined;
|
|
78
82
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
79
83
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockRuntimeHttpAuthSchemeProvider;
|
|
80
84
|
credentials?:
|
|
@@ -78,6 +78,10 @@ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
|
78
78
|
) => import("@smithy/types").EndpointV2;
|
|
79
79
|
tls?: boolean | undefined;
|
|
80
80
|
serviceConfiguredEndpoint?: undefined;
|
|
81
|
+
authSchemePreference?:
|
|
82
|
+
| string[]
|
|
83
|
+
| import("@smithy/types").Provider<string[]>
|
|
84
|
+
| undefined;
|
|
81
85
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
82
86
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockRuntimeHttpAuthSchemeProvider;
|
|
83
87
|
credentials?:
|
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.798.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,21 +20,21 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.798.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.798.0",
|
|
25
25
|
"@aws-sdk/eventstream-handler-node": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-eventstream": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.798.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
32
32
|
"@aws-sdk/types": "3.775.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.787.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.798.0",
|
|
36
36
|
"@smithy/config-resolver": "^4.1.0",
|
|
37
|
-
"@smithy/core": "^3.
|
|
37
|
+
"@smithy/core": "^3.3.0",
|
|
38
38
|
"@smithy/eventstream-serde-browser": "^4.0.2",
|
|
39
39
|
"@smithy/eventstream-serde-config-resolver": "^4.1.0",
|
|
40
40
|
"@smithy/eventstream-serde-node": "^4.0.2",
|
|
@@ -42,21 +42,21 @@
|
|
|
42
42
|
"@smithy/hash-node": "^4.0.2",
|
|
43
43
|
"@smithy/invalid-dependency": "^4.0.2",
|
|
44
44
|
"@smithy/middleware-content-length": "^4.0.2",
|
|
45
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
46
|
-
"@smithy/middleware-retry": "^4.1.
|
|
45
|
+
"@smithy/middleware-endpoint": "^4.1.1",
|
|
46
|
+
"@smithy/middleware-retry": "^4.1.1",
|
|
47
47
|
"@smithy/middleware-serde": "^4.0.3",
|
|
48
48
|
"@smithy/middleware-stack": "^4.0.2",
|
|
49
49
|
"@smithy/node-config-provider": "^4.0.2",
|
|
50
50
|
"@smithy/node-http-handler": "^4.0.4",
|
|
51
51
|
"@smithy/protocol-http": "^5.1.0",
|
|
52
|
-
"@smithy/smithy-client": "^4.2.
|
|
52
|
+
"@smithy/smithy-client": "^4.2.1",
|
|
53
53
|
"@smithy/types": "^4.2.0",
|
|
54
54
|
"@smithy/url-parser": "^4.0.2",
|
|
55
55
|
"@smithy/util-base64": "^4.0.0",
|
|
56
56
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
57
57
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
58
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
59
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
58
|
+
"@smithy/util-defaults-mode-browser": "^4.0.9",
|
|
59
|
+
"@smithy/util-defaults-mode-node": "^4.0.9",
|
|
60
60
|
"@smithy/util-endpoints": "^3.0.2",
|
|
61
61
|
"@smithy/util-middleware": "^4.0.2",
|
|
62
62
|
"@smithy/util-retry": "^4.0.2",
|