@aws-sdk/client-wisdom 3.200.0 → 3.202.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/CHANGELOG.md +19 -0
- package/dist-cjs/endpoint/EndpointParameters.js +2 -3
- package/dist-cjs/protocols/Aws_restJson1.js +43 -52
- package/dist-cjs/runtimeConfig.browser.js +16 -16
- package/dist-cjs/runtimeConfig.js +20 -19
- package/dist-cjs/runtimeConfig.native.js +1 -2
- package/dist-cjs/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.202.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.201.0...v3.202.0) (2022-11-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-wisdom
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* end support for Node.js 12.x ([#4123](https://github.com/aws/aws-sdk-js-v3/issues/4123)) ([83f913e](https://github.com/aws/aws-sdk-js-v3/commit/83f913ec2ac3878d8726c6964f585550dc5caf3e))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @aws-sdk/client-wisdom
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
var _a, _b;
|
|
6
5
|
return {
|
|
7
6
|
...options,
|
|
8
|
-
useDualstackEndpoint:
|
|
9
|
-
useFipsEndpoint:
|
|
7
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
10
9
|
defaultSigningName: "wisdom",
|
|
11
10
|
};
|
|
12
11
|
};
|
|
@@ -8,15 +8,14 @@ const uuid_1 = require("uuid");
|
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
9
|
const WisdomServiceException_1 = require("../models/WisdomServiceException");
|
|
10
10
|
const serializeAws_restJson1CreateAssistantCommand = async (input, context) => {
|
|
11
|
-
var _a;
|
|
12
11
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
13
12
|
const headers = {
|
|
14
13
|
"content-type": "application/json",
|
|
15
14
|
};
|
|
16
|
-
const resolvedPath = `${
|
|
15
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/assistants";
|
|
17
16
|
let body;
|
|
18
17
|
body = JSON.stringify({
|
|
19
|
-
clientToken:
|
|
18
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
20
19
|
...(input.description != null && { description: input.description }),
|
|
21
20
|
...(input.name != null && { name: input.name }),
|
|
22
21
|
...(input.serverSideEncryptionConfiguration != null && {
|
|
@@ -37,12 +36,11 @@ const serializeAws_restJson1CreateAssistantCommand = async (input, context) => {
|
|
|
37
36
|
};
|
|
38
37
|
exports.serializeAws_restJson1CreateAssistantCommand = serializeAws_restJson1CreateAssistantCommand;
|
|
39
38
|
const serializeAws_restJson1CreateAssistantAssociationCommand = async (input, context) => {
|
|
40
|
-
var _a;
|
|
41
39
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
42
40
|
const headers = {
|
|
43
41
|
"content-type": "application/json",
|
|
44
42
|
};
|
|
45
|
-
let resolvedPath = `${
|
|
43
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/assistants/{assistantId}/associations";
|
|
46
44
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "assistantId", () => input.assistantId, "{assistantId}", false);
|
|
47
45
|
let body;
|
|
48
46
|
body = JSON.stringify({
|
|
@@ -50,7 +48,7 @@ const serializeAws_restJson1CreateAssistantAssociationCommand = async (input, co
|
|
|
50
48
|
association: serializeAws_restJson1AssistantAssociationInputData(input.association, context),
|
|
51
49
|
}),
|
|
52
50
|
...(input.associationType != null && { associationType: input.associationType }),
|
|
53
|
-
clientToken:
|
|
51
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
54
52
|
...(input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
|
|
55
53
|
});
|
|
56
54
|
return new protocol_http_1.HttpRequest({
|
|
@@ -65,17 +63,16 @@ const serializeAws_restJson1CreateAssistantAssociationCommand = async (input, co
|
|
|
65
63
|
};
|
|
66
64
|
exports.serializeAws_restJson1CreateAssistantAssociationCommand = serializeAws_restJson1CreateAssistantAssociationCommand;
|
|
67
65
|
const serializeAws_restJson1CreateContentCommand = async (input, context) => {
|
|
68
|
-
var _a;
|
|
69
66
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
70
67
|
const headers = {
|
|
71
68
|
"content-type": "application/json",
|
|
72
69
|
};
|
|
73
|
-
let resolvedPath = `${
|
|
70
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
74
71
|
"/knowledgeBases/{knowledgeBaseId}/contents";
|
|
75
72
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
76
73
|
let body;
|
|
77
74
|
body = JSON.stringify({
|
|
78
|
-
clientToken:
|
|
75
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
79
76
|
...(input.metadata != null && { metadata: serializeAws_restJson1ContentMetadata(input.metadata, context) }),
|
|
80
77
|
...(input.name != null && { name: input.name }),
|
|
81
78
|
...(input.overrideLinkOutUri != null && { overrideLinkOutUri: input.overrideLinkOutUri }),
|
|
@@ -95,15 +92,14 @@ const serializeAws_restJson1CreateContentCommand = async (input, context) => {
|
|
|
95
92
|
};
|
|
96
93
|
exports.serializeAws_restJson1CreateContentCommand = serializeAws_restJson1CreateContentCommand;
|
|
97
94
|
const serializeAws_restJson1CreateKnowledgeBaseCommand = async (input, context) => {
|
|
98
|
-
var _a;
|
|
99
95
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
100
96
|
const headers = {
|
|
101
97
|
"content-type": "application/json",
|
|
102
98
|
};
|
|
103
|
-
const resolvedPath = `${
|
|
99
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/knowledgeBases";
|
|
104
100
|
let body;
|
|
105
101
|
body = JSON.stringify({
|
|
106
|
-
clientToken:
|
|
102
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
107
103
|
...(input.description != null && { description: input.description }),
|
|
108
104
|
...(input.knowledgeBaseType != null && { knowledgeBaseType: input.knowledgeBaseType }),
|
|
109
105
|
...(input.name != null && { name: input.name }),
|
|
@@ -130,16 +126,15 @@ const serializeAws_restJson1CreateKnowledgeBaseCommand = async (input, context)
|
|
|
130
126
|
};
|
|
131
127
|
exports.serializeAws_restJson1CreateKnowledgeBaseCommand = serializeAws_restJson1CreateKnowledgeBaseCommand;
|
|
132
128
|
const serializeAws_restJson1CreateSessionCommand = async (input, context) => {
|
|
133
|
-
var _a;
|
|
134
129
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
135
130
|
const headers = {
|
|
136
131
|
"content-type": "application/json",
|
|
137
132
|
};
|
|
138
|
-
let resolvedPath = `${
|
|
133
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/assistants/{assistantId}/sessions";
|
|
139
134
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "assistantId", () => input.assistantId, "{assistantId}", false);
|
|
140
135
|
let body;
|
|
141
136
|
body = JSON.stringify({
|
|
142
|
-
clientToken:
|
|
137
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
143
138
|
...(input.description != null && { description: input.description }),
|
|
144
139
|
...(input.name != null && { name: input.name }),
|
|
145
140
|
...(input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
|
|
@@ -158,7 +153,7 @@ exports.serializeAws_restJson1CreateSessionCommand = serializeAws_restJson1Creat
|
|
|
158
153
|
const serializeAws_restJson1DeleteAssistantCommand = async (input, context) => {
|
|
159
154
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
160
155
|
const headers = {};
|
|
161
|
-
let resolvedPath = `${
|
|
156
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/assistants/{assistantId}";
|
|
162
157
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "assistantId", () => input.assistantId, "{assistantId}", false);
|
|
163
158
|
let body;
|
|
164
159
|
return new protocol_http_1.HttpRequest({
|
|
@@ -175,7 +170,7 @@ exports.serializeAws_restJson1DeleteAssistantCommand = serializeAws_restJson1Del
|
|
|
175
170
|
const serializeAws_restJson1DeleteAssistantAssociationCommand = async (input, context) => {
|
|
176
171
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
177
172
|
const headers = {};
|
|
178
|
-
let resolvedPath = `${
|
|
173
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
179
174
|
"/assistants/{assistantId}/associations/{assistantAssociationId}";
|
|
180
175
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "assistantAssociationId", () => input.assistantAssociationId, "{assistantAssociationId}", false);
|
|
181
176
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "assistantId", () => input.assistantId, "{assistantId}", false);
|
|
@@ -194,7 +189,7 @@ exports.serializeAws_restJson1DeleteAssistantAssociationCommand = serializeAws_r
|
|
|
194
189
|
const serializeAws_restJson1DeleteContentCommand = async (input, context) => {
|
|
195
190
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
196
191
|
const headers = {};
|
|
197
|
-
let resolvedPath = `${
|
|
192
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
198
193
|
"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}";
|
|
199
194
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
200
195
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "contentId", () => input.contentId, "{contentId}", false);
|
|
@@ -213,7 +208,7 @@ exports.serializeAws_restJson1DeleteContentCommand = serializeAws_restJson1Delet
|
|
|
213
208
|
const serializeAws_restJson1DeleteKnowledgeBaseCommand = async (input, context) => {
|
|
214
209
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
215
210
|
const headers = {};
|
|
216
|
-
let resolvedPath = `${
|
|
211
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/knowledgeBases/{knowledgeBaseId}";
|
|
217
212
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
218
213
|
let body;
|
|
219
214
|
return new protocol_http_1.HttpRequest({
|
|
@@ -230,7 +225,7 @@ exports.serializeAws_restJson1DeleteKnowledgeBaseCommand = serializeAws_restJson
|
|
|
230
225
|
const serializeAws_restJson1GetAssistantCommand = async (input, context) => {
|
|
231
226
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
232
227
|
const headers = {};
|
|
233
|
-
let resolvedPath = `${
|
|
228
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/assistants/{assistantId}";
|
|
234
229
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "assistantId", () => input.assistantId, "{assistantId}", false);
|
|
235
230
|
let body;
|
|
236
231
|
return new protocol_http_1.HttpRequest({
|
|
@@ -247,7 +242,7 @@ exports.serializeAws_restJson1GetAssistantCommand = serializeAws_restJson1GetAss
|
|
|
247
242
|
const serializeAws_restJson1GetAssistantAssociationCommand = async (input, context) => {
|
|
248
243
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
249
244
|
const headers = {};
|
|
250
|
-
let resolvedPath = `${
|
|
245
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
251
246
|
"/assistants/{assistantId}/associations/{assistantAssociationId}";
|
|
252
247
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "assistantAssociationId", () => input.assistantAssociationId, "{assistantAssociationId}", false);
|
|
253
248
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "assistantId", () => input.assistantId, "{assistantId}", false);
|
|
@@ -266,7 +261,7 @@ exports.serializeAws_restJson1GetAssistantAssociationCommand = serializeAws_rest
|
|
|
266
261
|
const serializeAws_restJson1GetContentCommand = async (input, context) => {
|
|
267
262
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
268
263
|
const headers = {};
|
|
269
|
-
let resolvedPath = `${
|
|
264
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
270
265
|
"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}";
|
|
271
266
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "contentId", () => input.contentId, "{contentId}", false);
|
|
272
267
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
@@ -285,7 +280,7 @@ exports.serializeAws_restJson1GetContentCommand = serializeAws_restJson1GetConte
|
|
|
285
280
|
const serializeAws_restJson1GetContentSummaryCommand = async (input, context) => {
|
|
286
281
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
287
282
|
const headers = {};
|
|
288
|
-
let resolvedPath = `${
|
|
283
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
289
284
|
"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/summary";
|
|
290
285
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "contentId", () => input.contentId, "{contentId}", false);
|
|
291
286
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
@@ -304,7 +299,7 @@ exports.serializeAws_restJson1GetContentSummaryCommand = serializeAws_restJson1G
|
|
|
304
299
|
const serializeAws_restJson1GetKnowledgeBaseCommand = async (input, context) => {
|
|
305
300
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
306
301
|
const headers = {};
|
|
307
|
-
let resolvedPath = `${
|
|
302
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/knowledgeBases/{knowledgeBaseId}";
|
|
308
303
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
309
304
|
let body;
|
|
310
305
|
return new protocol_http_1.HttpRequest({
|
|
@@ -321,7 +316,7 @@ exports.serializeAws_restJson1GetKnowledgeBaseCommand = serializeAws_restJson1Ge
|
|
|
321
316
|
const serializeAws_restJson1GetRecommendationsCommand = async (input, context) => {
|
|
322
317
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
323
318
|
const headers = {};
|
|
324
|
-
let resolvedPath = `${
|
|
319
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
325
320
|
"/assistants/{assistantId}/sessions/{sessionId}/recommendations";
|
|
326
321
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "assistantId", () => input.assistantId, "{assistantId}", false);
|
|
327
322
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "sessionId", () => input.sessionId, "{sessionId}", false);
|
|
@@ -345,7 +340,7 @@ exports.serializeAws_restJson1GetRecommendationsCommand = serializeAws_restJson1
|
|
|
345
340
|
const serializeAws_restJson1GetSessionCommand = async (input, context) => {
|
|
346
341
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
347
342
|
const headers = {};
|
|
348
|
-
let resolvedPath = `${
|
|
343
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
349
344
|
"/assistants/{assistantId}/sessions/{sessionId}";
|
|
350
345
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "assistantId", () => input.assistantId, "{assistantId}", false);
|
|
351
346
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "sessionId", () => input.sessionId, "{sessionId}", false);
|
|
@@ -364,7 +359,7 @@ exports.serializeAws_restJson1GetSessionCommand = serializeAws_restJson1GetSessi
|
|
|
364
359
|
const serializeAws_restJson1ListAssistantAssociationsCommand = async (input, context) => {
|
|
365
360
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
366
361
|
const headers = {};
|
|
367
|
-
let resolvedPath = `${
|
|
362
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/assistants/{assistantId}/associations";
|
|
368
363
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "assistantId", () => input.assistantId, "{assistantId}", false);
|
|
369
364
|
const query = map({
|
|
370
365
|
nextToken: [, input.nextToken],
|
|
@@ -386,7 +381,7 @@ exports.serializeAws_restJson1ListAssistantAssociationsCommand = serializeAws_re
|
|
|
386
381
|
const serializeAws_restJson1ListAssistantsCommand = async (input, context) => {
|
|
387
382
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
388
383
|
const headers = {};
|
|
389
|
-
const resolvedPath = `${
|
|
384
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/assistants";
|
|
390
385
|
const query = map({
|
|
391
386
|
nextToken: [, input.nextToken],
|
|
392
387
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
@@ -407,7 +402,7 @@ exports.serializeAws_restJson1ListAssistantsCommand = serializeAws_restJson1List
|
|
|
407
402
|
const serializeAws_restJson1ListContentsCommand = async (input, context) => {
|
|
408
403
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
409
404
|
const headers = {};
|
|
410
|
-
let resolvedPath = `${
|
|
405
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
411
406
|
"/knowledgeBases/{knowledgeBaseId}/contents";
|
|
412
407
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
413
408
|
const query = map({
|
|
@@ -430,7 +425,7 @@ exports.serializeAws_restJson1ListContentsCommand = serializeAws_restJson1ListCo
|
|
|
430
425
|
const serializeAws_restJson1ListKnowledgeBasesCommand = async (input, context) => {
|
|
431
426
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
432
427
|
const headers = {};
|
|
433
|
-
const resolvedPath = `${
|
|
428
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/knowledgeBases";
|
|
434
429
|
const query = map({
|
|
435
430
|
nextToken: [, input.nextToken],
|
|
436
431
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
@@ -451,7 +446,7 @@ exports.serializeAws_restJson1ListKnowledgeBasesCommand = serializeAws_restJson1
|
|
|
451
446
|
const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
|
|
452
447
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
453
448
|
const headers = {};
|
|
454
|
-
let resolvedPath = `${
|
|
449
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
455
450
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
456
451
|
let body;
|
|
457
452
|
return new protocol_http_1.HttpRequest({
|
|
@@ -470,7 +465,7 @@ const serializeAws_restJson1NotifyRecommendationsReceivedCommand = async (input,
|
|
|
470
465
|
const headers = {
|
|
471
466
|
"content-type": "application/json",
|
|
472
467
|
};
|
|
473
|
-
let resolvedPath = `${
|
|
468
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
474
469
|
"/assistants/{assistantId}/sessions/{sessionId}/recommendations/notify";
|
|
475
470
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "assistantId", () => input.assistantId, "{assistantId}", false);
|
|
476
471
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "sessionId", () => input.sessionId, "{sessionId}", false);
|
|
@@ -496,7 +491,7 @@ const serializeAws_restJson1QueryAssistantCommand = async (input, context) => {
|
|
|
496
491
|
const headers = {
|
|
497
492
|
"content-type": "application/json",
|
|
498
493
|
};
|
|
499
|
-
let resolvedPath = `${
|
|
494
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/assistants/{assistantId}/query";
|
|
500
495
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "assistantId", () => input.assistantId, "{assistantId}", false);
|
|
501
496
|
let body;
|
|
502
497
|
body = JSON.stringify({
|
|
@@ -518,7 +513,7 @@ exports.serializeAws_restJson1QueryAssistantCommand = serializeAws_restJson1Quer
|
|
|
518
513
|
const serializeAws_restJson1RemoveKnowledgeBaseTemplateUriCommand = async (input, context) => {
|
|
519
514
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
520
515
|
const headers = {};
|
|
521
|
-
let resolvedPath = `${
|
|
516
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
522
517
|
"/knowledgeBases/{knowledgeBaseId}/templateUri";
|
|
523
518
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
524
519
|
let body;
|
|
@@ -538,7 +533,7 @@ const serializeAws_restJson1SearchContentCommand = async (input, context) => {
|
|
|
538
533
|
const headers = {
|
|
539
534
|
"content-type": "application/json",
|
|
540
535
|
};
|
|
541
|
-
let resolvedPath = `${
|
|
536
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/knowledgeBases/{knowledgeBaseId}/search";
|
|
542
537
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
543
538
|
const query = map({
|
|
544
539
|
nextToken: [, input.nextToken],
|
|
@@ -567,7 +562,7 @@ const serializeAws_restJson1SearchSessionsCommand = async (input, context) => {
|
|
|
567
562
|
const headers = {
|
|
568
563
|
"content-type": "application/json",
|
|
569
564
|
};
|
|
570
|
-
let resolvedPath = `${
|
|
565
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/assistants/{assistantId}/searchSessions";
|
|
571
566
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "assistantId", () => input.assistantId, "{assistantId}", false);
|
|
572
567
|
const query = map({
|
|
573
568
|
nextToken: [, input.nextToken],
|
|
@@ -596,7 +591,7 @@ const serializeAws_restJson1StartContentUploadCommand = async (input, context) =
|
|
|
596
591
|
const headers = {
|
|
597
592
|
"content-type": "application/json",
|
|
598
593
|
};
|
|
599
|
-
let resolvedPath = `${
|
|
594
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/knowledgeBases/{knowledgeBaseId}/upload";
|
|
600
595
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
601
596
|
let body;
|
|
602
597
|
body = JSON.stringify({
|
|
@@ -618,7 +613,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
618
613
|
const headers = {
|
|
619
614
|
"content-type": "application/json",
|
|
620
615
|
};
|
|
621
|
-
let resolvedPath = `${
|
|
616
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
622
617
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
623
618
|
let body;
|
|
624
619
|
body = JSON.stringify({
|
|
@@ -638,7 +633,7 @@ exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagReso
|
|
|
638
633
|
const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
639
634
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
640
635
|
const headers = {};
|
|
641
|
-
let resolvedPath = `${
|
|
636
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
642
637
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
643
638
|
const query = map({
|
|
644
639
|
tagKeys: [() => input.tagKeys !== void 0, () => (input.tagKeys || []).map((_entry) => _entry)],
|
|
@@ -661,7 +656,7 @@ const serializeAws_restJson1UpdateContentCommand = async (input, context) => {
|
|
|
661
656
|
const headers = {
|
|
662
657
|
"content-type": "application/json",
|
|
663
658
|
};
|
|
664
|
-
let resolvedPath = `${
|
|
659
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
665
660
|
"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}";
|
|
666
661
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
667
662
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "contentId", () => input.contentId, "{contentId}", false);
|
|
@@ -690,7 +685,7 @@ const serializeAws_restJson1UpdateKnowledgeBaseTemplateUriCommand = async (input
|
|
|
690
685
|
const headers = {
|
|
691
686
|
"content-type": "application/json",
|
|
692
687
|
};
|
|
693
|
-
let resolvedPath = `${
|
|
688
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
694
689
|
"/knowledgeBases/{knowledgeBaseId}/templateUri";
|
|
695
690
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
696
691
|
let body;
|
|
@@ -2571,15 +2566,12 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
2571
2566
|
};
|
|
2572
2567
|
}, {});
|
|
2573
2568
|
};
|
|
2574
|
-
const deserializeMetadata = (output) => {
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
2581
|
-
});
|
|
2582
|
-
};
|
|
2569
|
+
const deserializeMetadata = (output) => ({
|
|
2570
|
+
httpStatusCode: output.statusCode,
|
|
2571
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2572
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2573
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
2574
|
+
});
|
|
2583
2575
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
2584
2576
|
if (streamBody instanceof Uint8Array) {
|
|
2585
2577
|
return Promise.resolve(streamBody);
|
|
@@ -2599,9 +2591,8 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
2599
2591
|
return {};
|
|
2600
2592
|
});
|
|
2601
2593
|
const parseErrorBody = async (errorBody, context) => {
|
|
2602
|
-
var _a;
|
|
2603
2594
|
const value = await parseBody(errorBody, context);
|
|
2604
|
-
value.message =
|
|
2595
|
+
value.message = value.message ?? value.Message;
|
|
2605
2596
|
return value;
|
|
2606
2597
|
};
|
|
2607
2598
|
const loadRestJsonErrorCode = (output, data) => {
|
|
@@ -16,7 +16,6 @@ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
|
16
16
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
19
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
20
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
21
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -25,21 +24,22 @@ const getRuntimeConfig = (config) => {
|
|
|
25
24
|
...config,
|
|
26
25
|
runtime: "browser",
|
|
27
26
|
defaultsMode,
|
|
28
|
-
base64Decoder:
|
|
29
|
-
base64Encoder:
|
|
30
|
-
bodyLengthChecker:
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
defaultUserAgentProvider:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
27
|
+
base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
|
|
28
|
+
base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
|
|
29
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
30
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
31
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
|
+
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
|
+
maxAttempts: config?.maxAttempts ?? middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
+
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
|
+
requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
|
+
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
38
|
+
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
39
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
40
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
41
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
|
|
42
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -19,7 +19,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const smithy_client_2 = require("@aws-sdk/smithy-client");
|
|
21
21
|
const getRuntimeConfig = (config) => {
|
|
22
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
23
22
|
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
24
23
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
25
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -29,24 +28,26 @@ const getRuntimeConfig = (config) => {
|
|
|
29
28
|
...config,
|
|
30
29
|
runtime: "node",
|
|
31
30
|
defaultsMode,
|
|
32
|
-
base64Decoder:
|
|
33
|
-
base64Encoder:
|
|
34
|
-
bodyLengthChecker:
|
|
35
|
-
credentialDefaultProvider:
|
|
36
|
-
defaultUserAgentProvider:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
31
|
+
base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
|
|
32
|
+
base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
|
|
33
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
34
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
35
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
36
|
+
(0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
38
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
39
|
+
requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
40
|
+
retryMode: config?.retryMode ??
|
|
41
|
+
(0, node_config_provider_1.loadConfig)({
|
|
42
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
43
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
44
|
+
}),
|
|
45
|
+
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
46
|
+
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
47
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
48
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
49
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
|
|
50
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
|
|
50
51
|
};
|
|
51
52
|
};
|
|
52
53
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -4,13 +4,12 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
|
-
var _a;
|
|
8
7
|
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
8
|
return {
|
|
10
9
|
...browserDefaults,
|
|
11
10
|
...config,
|
|
12
11
|
runtime: "react-native",
|
|
13
|
-
sha256:
|
|
12
|
+
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
14
13
|
};
|
|
15
14
|
};
|
|
16
15
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -3,15 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
|
-
const getRuntimeConfig = (config) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
|
|
15
|
-
});
|
|
16
|
-
};
|
|
6
|
+
const getRuntimeConfig = (config) => ({
|
|
7
|
+
apiVersion: "2020-10-19",
|
|
8
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
9
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
10
|
+
logger: config?.logger ?? {},
|
|
11
|
+
serviceId: config?.serviceId ?? "Wisdom",
|
|
12
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
13
|
+
});
|
|
17
14
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wisdom",
|
|
3
3
|
"description": "AWS SDK for JavaScript Wisdom Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.202.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,45 +19,45 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.202.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.201.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.202.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.201.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.201.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.201.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.201.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.201.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.201.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.201.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.201.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.201.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.201.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.201.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.201.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.201.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.201.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.201.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.201.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.201.0",
|
|
42
|
+
"@aws-sdk/types": "3.201.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.201.0",
|
|
44
44
|
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.201.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.201.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.201.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.201.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.202.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-browser": "3.201.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-node": "3.201.0",
|
|
53
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
54
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
54
|
+
"@aws-sdk/util-utf8-node": "3.201.0",
|
|
55
55
|
"tslib": "^2.3.1",
|
|
56
56
|
"uuid": "^8.3.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@aws-sdk/service-client-documentation-generator": "3.188.0",
|
|
60
|
-
"@tsconfig/
|
|
60
|
+
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^12.7.5",
|
|
62
62
|
"@types/uuid": "^8.3.0",
|
|
63
63
|
"concurrently": "7.0.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
"engines": {
|
|
75
|
-
"node": ">=
|
|
75
|
+
"node": ">=14.0.0"
|
|
76
76
|
},
|
|
77
77
|
"typesVersions": {
|
|
78
78
|
"<4.0": {
|