@aws-sdk/client-amplifybackend 3.200.0 → 3.201.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 CHANGED
@@ -3,6 +3,17 @@
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.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
7
+
8
+
9
+ ### Features
10
+
11
+ * 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))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-amplifybackend
@@ -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: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
9
- useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
7
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
8
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
10
9
  defaultSigningName: "amplifybackend",
11
10
  };
12
11
  };
@@ -11,7 +11,7 @@ const serializeAws_restJson1CloneBackendCommand = async (input, context) => {
11
11
  const headers = {
12
12
  "content-type": "application/json",
13
13
  };
14
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
14
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
15
15
  "/backend/{AppId}/environments/{BackendEnvironmentName}/clone";
16
16
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
17
17
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -35,7 +35,7 @@ const serializeAws_restJson1CreateBackendCommand = async (input, context) => {
35
35
  const headers = {
36
36
  "content-type": "application/json",
37
37
  };
38
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/backend";
38
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backend";
39
39
  let body;
40
40
  body = JSON.stringify({
41
41
  ...(input.AppId != null && { appId: input.AppId }),
@@ -62,7 +62,7 @@ const serializeAws_restJson1CreateBackendAPICommand = async (input, context) =>
62
62
  const headers = {
63
63
  "content-type": "application/json",
64
64
  };
65
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/api";
65
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/api";
66
66
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
67
67
  let body;
68
68
  body = JSON.stringify({
@@ -88,7 +88,7 @@ const serializeAws_restJson1CreateBackendAuthCommand = async (input, context) =>
88
88
  const headers = {
89
89
  "content-type": "application/json",
90
90
  };
91
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/auth";
91
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/auth";
92
92
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
93
93
  let body;
94
94
  body = JSON.stringify({
@@ -114,7 +114,7 @@ const serializeAws_restJson1CreateBackendConfigCommand = async (input, context)
114
114
  const headers = {
115
115
  "content-type": "application/json",
116
116
  };
117
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/config";
117
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/config";
118
118
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
119
119
  let body;
120
120
  body = JSON.stringify({
@@ -136,7 +136,7 @@ const serializeAws_restJson1CreateBackendStorageCommand = async (input, context)
136
136
  const headers = {
137
137
  "content-type": "application/json",
138
138
  };
139
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/storage";
139
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/storage";
140
140
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
141
141
  let body;
142
142
  body = JSON.stringify({
@@ -160,7 +160,7 @@ exports.serializeAws_restJson1CreateBackendStorageCommand = serializeAws_restJso
160
160
  const serializeAws_restJson1CreateTokenCommand = async (input, context) => {
161
161
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
162
162
  const headers = {};
163
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/challenge";
163
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/challenge";
164
164
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
165
165
  let body;
166
166
  return new protocol_http_1.HttpRequest({
@@ -177,7 +177,7 @@ exports.serializeAws_restJson1CreateTokenCommand = serializeAws_restJson1CreateT
177
177
  const serializeAws_restJson1DeleteBackendCommand = async (input, context) => {
178
178
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
179
179
  const headers = {};
180
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
180
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
181
181
  "/backend/{AppId}/environments/{BackendEnvironmentName}/remove";
182
182
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
183
183
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -198,7 +198,7 @@ const serializeAws_restJson1DeleteBackendAPICommand = async (input, context) =>
198
198
  const headers = {
199
199
  "content-type": "application/json",
200
200
  };
201
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
201
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
202
202
  "/backend/{AppId}/api/{BackendEnvironmentName}/remove";
203
203
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
204
204
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -225,7 +225,7 @@ const serializeAws_restJson1DeleteBackendAuthCommand = async (input, context) =>
225
225
  const headers = {
226
226
  "content-type": "application/json",
227
227
  };
228
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
228
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
229
229
  "/backend/{AppId}/auth/{BackendEnvironmentName}/remove";
230
230
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
231
231
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -249,7 +249,7 @@ const serializeAws_restJson1DeleteBackendStorageCommand = async (input, context)
249
249
  const headers = {
250
250
  "content-type": "application/json",
251
251
  };
252
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
252
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
253
253
  "/backend/{AppId}/storage/{BackendEnvironmentName}/remove";
254
254
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
255
255
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -272,7 +272,7 @@ exports.serializeAws_restJson1DeleteBackendStorageCommand = serializeAws_restJso
272
272
  const serializeAws_restJson1DeleteTokenCommand = async (input, context) => {
273
273
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
274
274
  const headers = {};
275
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
275
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
276
276
  "/backend/{AppId}/challenge/{SessionId}/remove";
277
277
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
278
278
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SessionId", () => input.SessionId, "{SessionId}", false);
@@ -293,7 +293,7 @@ const serializeAws_restJson1GenerateBackendAPIModelsCommand = async (input, cont
293
293
  const headers = {
294
294
  "content-type": "application/json",
295
295
  };
296
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
296
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
297
297
  "/backend/{AppId}/api/{BackendEnvironmentName}/generateModels";
298
298
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
299
299
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -317,7 +317,7 @@ const serializeAws_restJson1GetBackendCommand = async (input, context) => {
317
317
  const headers = {
318
318
  "content-type": "application/json",
319
319
  };
320
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/details";
320
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/details";
321
321
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
322
322
  let body;
323
323
  body = JSON.stringify({
@@ -339,7 +339,7 @@ const serializeAws_restJson1GetBackendAPICommand = async (input, context) => {
339
339
  const headers = {
340
340
  "content-type": "application/json",
341
341
  };
342
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
342
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
343
343
  "/backend/{AppId}/api/{BackendEnvironmentName}/details";
344
344
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
345
345
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -366,7 +366,7 @@ const serializeAws_restJson1GetBackendAPIModelsCommand = async (input, context)
366
366
  const headers = {
367
367
  "content-type": "application/json",
368
368
  };
369
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
369
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
370
370
  "/backend/{AppId}/api/{BackendEnvironmentName}/getModels";
371
371
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
372
372
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -390,7 +390,7 @@ const serializeAws_restJson1GetBackendAuthCommand = async (input, context) => {
390
390
  const headers = {
391
391
  "content-type": "application/json",
392
392
  };
393
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
393
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
394
394
  "/backend/{AppId}/auth/{BackendEnvironmentName}/details";
395
395
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
396
396
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -412,7 +412,7 @@ exports.serializeAws_restJson1GetBackendAuthCommand = serializeAws_restJson1GetB
412
412
  const serializeAws_restJson1GetBackendJobCommand = async (input, context) => {
413
413
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
414
414
  const headers = {};
415
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
415
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
416
416
  "/backend/{AppId}/job/{BackendEnvironmentName}/{JobId}";
417
417
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
418
418
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -434,7 +434,7 @@ const serializeAws_restJson1GetBackendStorageCommand = async (input, context) =>
434
434
  const headers = {
435
435
  "content-type": "application/json",
436
436
  };
437
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
437
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
438
438
  "/backend/{AppId}/storage/{BackendEnvironmentName}/details";
439
439
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
440
440
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -456,7 +456,7 @@ exports.serializeAws_restJson1GetBackendStorageCommand = serializeAws_restJson1G
456
456
  const serializeAws_restJson1GetTokenCommand = async (input, context) => {
457
457
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
458
458
  const headers = {};
459
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/challenge/{SessionId}";
459
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/challenge/{SessionId}";
460
460
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
461
461
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SessionId", () => input.SessionId, "{SessionId}", false);
462
462
  let body;
@@ -476,7 +476,7 @@ const serializeAws_restJson1ImportBackendAuthCommand = async (input, context) =>
476
476
  const headers = {
477
477
  "content-type": "application/json",
478
478
  };
479
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
479
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
480
480
  "/backend/{AppId}/auth/{BackendEnvironmentName}/import";
481
481
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
482
482
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -503,7 +503,7 @@ const serializeAws_restJson1ImportBackendStorageCommand = async (input, context)
503
503
  const headers = {
504
504
  "content-type": "application/json",
505
505
  };
506
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
506
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
507
507
  "/backend/{AppId}/storage/{BackendEnvironmentName}/import";
508
508
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
509
509
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -528,7 +528,7 @@ const serializeAws_restJson1ListBackendJobsCommand = async (input, context) => {
528
528
  const headers = {
529
529
  "content-type": "application/json",
530
530
  };
531
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
531
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
532
532
  "/backend/{AppId}/job/{BackendEnvironmentName}";
533
533
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
534
534
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -556,7 +556,7 @@ const serializeAws_restJson1ListS3BucketsCommand = async (input, context) => {
556
556
  const headers = {
557
557
  "content-type": "application/json",
558
558
  };
559
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/s3Buckets";
559
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/s3Buckets";
560
560
  let body;
561
561
  body = JSON.stringify({
562
562
  ...(input.NextToken != null && { nextToken: input.NextToken }),
@@ -577,7 +577,7 @@ const serializeAws_restJson1RemoveAllBackendsCommand = async (input, context) =>
577
577
  const headers = {
578
578
  "content-type": "application/json",
579
579
  };
580
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/remove";
580
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/remove";
581
581
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
582
582
  let body;
583
583
  body = JSON.stringify({
@@ -597,7 +597,7 @@ exports.serializeAws_restJson1RemoveAllBackendsCommand = serializeAws_restJson1R
597
597
  const serializeAws_restJson1RemoveBackendConfigCommand = async (input, context) => {
598
598
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
599
599
  const headers = {};
600
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/config/remove";
600
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/config/remove";
601
601
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
602
602
  let body;
603
603
  return new protocol_http_1.HttpRequest({
@@ -616,7 +616,7 @@ const serializeAws_restJson1UpdateBackendAPICommand = async (input, context) =>
616
616
  const headers = {
617
617
  "content-type": "application/json",
618
618
  };
619
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
619
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
620
620
  "/backend/{AppId}/api/{BackendEnvironmentName}";
621
621
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
622
622
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -643,7 +643,7 @@ const serializeAws_restJson1UpdateBackendAuthCommand = async (input, context) =>
643
643
  const headers = {
644
644
  "content-type": "application/json",
645
645
  };
646
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
646
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
647
647
  "/backend/{AppId}/auth/{BackendEnvironmentName}";
648
648
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
649
649
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -670,7 +670,7 @@ const serializeAws_restJson1UpdateBackendConfigCommand = async (input, context)
670
670
  const headers = {
671
671
  "content-type": "application/json",
672
672
  };
673
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/config/update";
673
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backend/{AppId}/config/update";
674
674
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
675
675
  let body;
676
676
  body = JSON.stringify({
@@ -694,7 +694,7 @@ const serializeAws_restJson1UpdateBackendJobCommand = async (input, context) =>
694
694
  const headers = {
695
695
  "content-type": "application/json",
696
696
  };
697
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
697
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
698
698
  "/backend/{AppId}/job/{BackendEnvironmentName}/{JobId}";
699
699
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
700
700
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -720,7 +720,7 @@ const serializeAws_restJson1UpdateBackendStorageCommand = async (input, context)
720
720
  const headers = {
721
721
  "content-type": "application/json",
722
722
  };
723
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
723
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
724
724
  "/backend/{AppId}/storage/{BackendEnvironmentName}";
725
725
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppId", () => input.AppId, "{AppId}", false);
726
726
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackendEnvironmentName", () => input.BackendEnvironmentName, "{BackendEnvironmentName}", false);
@@ -3161,15 +3161,12 @@ const deserializeAws_restJson1SocialProviderSettings = (output, context) => {
3161
3161
  : undefined,
3162
3162
  };
3163
3163
  };
3164
- const deserializeMetadata = (output) => {
3165
- var _a, _b;
3166
- return ({
3167
- httpStatusCode: output.statusCode,
3168
- requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
3169
- extendedRequestId: output.headers["x-amz-id-2"],
3170
- cfId: output.headers["x-amz-cf-id"],
3171
- });
3172
- };
3164
+ const deserializeMetadata = (output) => ({
3165
+ httpStatusCode: output.statusCode,
3166
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
3167
+ extendedRequestId: output.headers["x-amz-id-2"],
3168
+ cfId: output.headers["x-amz-cf-id"],
3169
+ });
3173
3170
  const collectBody = (streamBody = new Uint8Array(), context) => {
3174
3171
  if (streamBody instanceof Uint8Array) {
3175
3172
  return Promise.resolve(streamBody);
@@ -3189,9 +3186,8 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
3189
3186
  return {};
3190
3187
  });
3191
3188
  const parseErrorBody = async (errorBody, context) => {
3192
- var _a;
3193
3189
  const value = await parseBody(errorBody, context);
3194
- value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
3190
+ value.message = value.message ?? value.Message;
3195
3191
  return value;
3196
3192
  };
3197
3193
  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: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
29
- base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
30
- bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
31
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
32
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
34
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
35
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
37
- sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
38
- streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
39
- useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
40
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
41
- utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
42
- utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
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: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
33
- base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
34
- bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
35
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
36
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
37
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
38
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
39
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
40
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
41
- ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
42
- default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
43
- }),
44
- sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
45
- streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
46
- useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
47
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
48
- utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
49
- utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
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: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : sha256_js_1.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
- var _a, _b, _c, _d, _e;
8
- return ({
9
- apiVersion: "2020-08-11",
10
- disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
11
- endpointProvider: (_b = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _b !== void 0 ? _b : endpointResolver_1.defaultEndpointResolver,
12
- logger: (_c = config === null || config === void 0 ? void 0 : config.logger) !== null && _c !== void 0 ? _c : {},
13
- serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "AmplifyBackend",
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-08-11",
8
+ disableHostPrefix: config?.disableHostPrefix ?? false,
9
+ endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
10
+ logger: config?.logger ?? {},
11
+ serviceId: config?.serviceId ?? "AmplifyBackend",
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-amplifybackend",
3
3
  "description": "AWS SDK for JavaScript Amplifybackend Client for Node.js, Browser and React Native",
4
- "version": "3.200.0",
4
+ "version": "3.201.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,44 +19,44 @@
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.200.0",
23
- "@aws-sdk/config-resolver": "3.200.0",
24
- "@aws-sdk/credential-provider-node": "3.200.0",
25
- "@aws-sdk/fetch-http-handler": "3.200.0",
26
- "@aws-sdk/hash-node": "3.200.0",
27
- "@aws-sdk/invalid-dependency": "3.200.0",
28
- "@aws-sdk/middleware-content-length": "3.200.0",
29
- "@aws-sdk/middleware-endpoint": "3.200.0",
30
- "@aws-sdk/middleware-host-header": "3.200.0",
31
- "@aws-sdk/middleware-logger": "3.200.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.200.0",
33
- "@aws-sdk/middleware-retry": "3.200.0",
34
- "@aws-sdk/middleware-serde": "3.200.0",
35
- "@aws-sdk/middleware-signing": "3.200.0",
36
- "@aws-sdk/middleware-stack": "3.200.0",
37
- "@aws-sdk/middleware-user-agent": "3.200.0",
38
- "@aws-sdk/node-config-provider": "3.200.0",
39
- "@aws-sdk/node-http-handler": "3.200.0",
40
- "@aws-sdk/protocol-http": "3.200.0",
41
- "@aws-sdk/smithy-client": "3.200.0",
42
- "@aws-sdk/types": "3.200.0",
43
- "@aws-sdk/url-parser": "3.200.0",
22
+ "@aws-sdk/client-sts": "3.201.0",
23
+ "@aws-sdk/config-resolver": "3.201.0",
24
+ "@aws-sdk/credential-provider-node": "3.201.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.188.0",
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.188.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.200.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.200.0",
50
- "@aws-sdk/util-endpoints": "3.200.0",
51
- "@aws-sdk/util-user-agent-browser": "3.200.0",
52
- "@aws-sdk/util-user-agent-node": "3.200.0",
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.201.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.199.0",
54
+ "@aws-sdk/util-utf8-node": "3.201.0",
55
55
  "tslib": "^2.3.1"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@aws-sdk/service-client-documentation-generator": "3.188.0",
59
- "@tsconfig/recommended": "1.0.1",
59
+ "@tsconfig/node14": "1.0.3",
60
60
  "@types/node": "^12.7.5",
61
61
  "concurrently": "7.0.0",
62
62
  "downlevel-dts": "0.10.1",
@@ -70,7 +70,7 @@
70
70
  }
71
71
  },
72
72
  "engines": {
73
- "node": ">=12.0.0"
73
+ "node": ">=14.0.0"
74
74
  },
75
75
  "typesVersions": {
76
76
  "<4.0": {