@aws-sdk/client-codestar-connections 3.118.1 → 3.128.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,33 @@
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.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-codestar-connections
9
+
10
+
11
+
12
+
13
+
14
+ # [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-codestar-connections
17
+
18
+
19
+
20
+
21
+
22
+ # [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
23
+
24
+
25
+ ### Features
26
+
27
+ * **clients:** fallback to status code for unmodeled errors ([#3752](https://github.com/aws/aws-sdk-js-v3/issues/3752)) ([49bcc4f](https://github.com/aws/aws-sdk-js-v3/commit/49bcc4f153e890e798a8e82fd5fc397b2dcc449f))
28
+
29
+
30
+
31
+
32
+
6
33
  ## [3.118.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.118.0...v3.118.1) (2022-06-27)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-codestar-connections
@@ -145,8 +145,7 @@ const deserializeAws_json1_0CreateConnectionCommandError = async (output, contex
145
145
  body: await parseBody(output.body, context),
146
146
  };
147
147
  let response;
148
- let errorCode = "UnknownError";
149
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
148
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
150
149
  switch (errorCode) {
151
150
  case "LimitExceededException":
152
151
  case "com.amazonaws.codestarconnections#LimitExceededException":
@@ -159,10 +158,12 @@ const deserializeAws_json1_0CreateConnectionCommandError = async (output, contex
159
158
  throw await deserializeAws_json1_0ResourceUnavailableExceptionResponse(parsedOutput, context);
160
159
  default:
161
160
  const parsedBody = parsedOutput.body;
161
+ const $metadata = deserializeMetadata(output);
162
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
162
163
  response = new CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException({
163
- name: parsedBody.code || parsedBody.Code || errorCode,
164
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
164
165
  $fault: "client",
165
- $metadata: deserializeMetadata(output),
166
+ $metadata,
166
167
  });
167
168
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
168
169
  }
@@ -187,18 +188,19 @@ const deserializeAws_json1_0CreateHostCommandError = async (output, context) =>
187
188
  body: await parseBody(output.body, context),
188
189
  };
189
190
  let response;
190
- let errorCode = "UnknownError";
191
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
191
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
192
192
  switch (errorCode) {
193
193
  case "LimitExceededException":
194
194
  case "com.amazonaws.codestarconnections#LimitExceededException":
195
195
  throw await deserializeAws_json1_0LimitExceededExceptionResponse(parsedOutput, context);
196
196
  default:
197
197
  const parsedBody = parsedOutput.body;
198
+ const $metadata = deserializeMetadata(output);
199
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
198
200
  response = new CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException({
199
- name: parsedBody.code || parsedBody.Code || errorCode,
201
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
200
202
  $fault: "client",
201
- $metadata: deserializeMetadata(output),
203
+ $metadata,
202
204
  });
203
205
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
204
206
  }
@@ -223,18 +225,19 @@ const deserializeAws_json1_0DeleteConnectionCommandError = async (output, contex
223
225
  body: await parseBody(output.body, context),
224
226
  };
225
227
  let response;
226
- let errorCode = "UnknownError";
227
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
228
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
228
229
  switch (errorCode) {
229
230
  case "ResourceNotFoundException":
230
231
  case "com.amazonaws.codestarconnections#ResourceNotFoundException":
231
232
  throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
232
233
  default:
233
234
  const parsedBody = parsedOutput.body;
235
+ const $metadata = deserializeMetadata(output);
236
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
234
237
  response = new CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException({
235
- name: parsedBody.code || parsedBody.Code || errorCode,
238
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
236
239
  $fault: "client",
237
- $metadata: deserializeMetadata(output),
240
+ $metadata,
238
241
  });
239
242
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
240
243
  }
@@ -259,8 +262,7 @@ const deserializeAws_json1_0DeleteHostCommandError = async (output, context) =>
259
262
  body: await parseBody(output.body, context),
260
263
  };
261
264
  let response;
262
- let errorCode = "UnknownError";
263
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
265
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
264
266
  switch (errorCode) {
265
267
  case "ResourceNotFoundException":
266
268
  case "com.amazonaws.codestarconnections#ResourceNotFoundException":
@@ -270,10 +272,12 @@ const deserializeAws_json1_0DeleteHostCommandError = async (output, context) =>
270
272
  throw await deserializeAws_json1_0ResourceUnavailableExceptionResponse(parsedOutput, context);
271
273
  default:
272
274
  const parsedBody = parsedOutput.body;
275
+ const $metadata = deserializeMetadata(output);
276
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
273
277
  response = new CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException({
274
- name: parsedBody.code || parsedBody.Code || errorCode,
278
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
275
279
  $fault: "client",
276
- $metadata: deserializeMetadata(output),
280
+ $metadata,
277
281
  });
278
282
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
279
283
  }
@@ -298,8 +302,7 @@ const deserializeAws_json1_0GetConnectionCommandError = async (output, context)
298
302
  body: await parseBody(output.body, context),
299
303
  };
300
304
  let response;
301
- let errorCode = "UnknownError";
302
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
305
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
303
306
  switch (errorCode) {
304
307
  case "ResourceNotFoundException":
305
308
  case "com.amazonaws.codestarconnections#ResourceNotFoundException":
@@ -309,10 +312,12 @@ const deserializeAws_json1_0GetConnectionCommandError = async (output, context)
309
312
  throw await deserializeAws_json1_0ResourceUnavailableExceptionResponse(parsedOutput, context);
310
313
  default:
311
314
  const parsedBody = parsedOutput.body;
315
+ const $metadata = deserializeMetadata(output);
316
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
312
317
  response = new CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException({
313
- name: parsedBody.code || parsedBody.Code || errorCode,
318
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
314
319
  $fault: "client",
315
- $metadata: deserializeMetadata(output),
320
+ $metadata,
316
321
  });
317
322
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
318
323
  }
@@ -337,8 +342,7 @@ const deserializeAws_json1_0GetHostCommandError = async (output, context) => {
337
342
  body: await parseBody(output.body, context),
338
343
  };
339
344
  let response;
340
- let errorCode = "UnknownError";
341
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
345
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
342
346
  switch (errorCode) {
343
347
  case "ResourceNotFoundException":
344
348
  case "com.amazonaws.codestarconnections#ResourceNotFoundException":
@@ -348,10 +352,12 @@ const deserializeAws_json1_0GetHostCommandError = async (output, context) => {
348
352
  throw await deserializeAws_json1_0ResourceUnavailableExceptionResponse(parsedOutput, context);
349
353
  default:
350
354
  const parsedBody = parsedOutput.body;
355
+ const $metadata = deserializeMetadata(output);
356
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
351
357
  response = new CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException({
352
- name: parsedBody.code || parsedBody.Code || errorCode,
358
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
353
359
  $fault: "client",
354
- $metadata: deserializeMetadata(output),
360
+ $metadata,
355
361
  });
356
362
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
357
363
  }
@@ -376,15 +382,16 @@ const deserializeAws_json1_0ListConnectionsCommandError = async (output, context
376
382
  body: await parseBody(output.body, context),
377
383
  };
378
384
  let response;
379
- let errorCode = "UnknownError";
380
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
385
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
381
386
  switch (errorCode) {
382
387
  default:
383
388
  const parsedBody = parsedOutput.body;
389
+ const $metadata = deserializeMetadata(output);
390
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
384
391
  response = new CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException({
385
- name: parsedBody.code || parsedBody.Code || errorCode,
392
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
386
393
  $fault: "client",
387
- $metadata: deserializeMetadata(output),
394
+ $metadata,
388
395
  });
389
396
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
390
397
  }
@@ -409,15 +416,16 @@ const deserializeAws_json1_0ListHostsCommandError = async (output, context) => {
409
416
  body: await parseBody(output.body, context),
410
417
  };
411
418
  let response;
412
- let errorCode = "UnknownError";
413
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
419
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
414
420
  switch (errorCode) {
415
421
  default:
416
422
  const parsedBody = parsedOutput.body;
423
+ const $metadata = deserializeMetadata(output);
424
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
417
425
  response = new CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException({
418
- name: parsedBody.code || parsedBody.Code || errorCode,
426
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
419
427
  $fault: "client",
420
- $metadata: deserializeMetadata(output),
428
+ $metadata,
421
429
  });
422
430
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
423
431
  }
@@ -442,18 +450,19 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
442
450
  body: await parseBody(output.body, context),
443
451
  };
444
452
  let response;
445
- let errorCode = "UnknownError";
446
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
453
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
447
454
  switch (errorCode) {
448
455
  case "ResourceNotFoundException":
449
456
  case "com.amazonaws.codestarconnections#ResourceNotFoundException":
450
457
  throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
451
458
  default:
452
459
  const parsedBody = parsedOutput.body;
460
+ const $metadata = deserializeMetadata(output);
461
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
453
462
  response = new CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException({
454
- name: parsedBody.code || parsedBody.Code || errorCode,
463
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
455
464
  $fault: "client",
456
- $metadata: deserializeMetadata(output),
465
+ $metadata,
457
466
  });
458
467
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
459
468
  }
@@ -478,8 +487,7 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
478
487
  body: await parseBody(output.body, context),
479
488
  };
480
489
  let response;
481
- let errorCode = "UnknownError";
482
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
490
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
483
491
  switch (errorCode) {
484
492
  case "LimitExceededException":
485
493
  case "com.amazonaws.codestarconnections#LimitExceededException":
@@ -489,10 +497,12 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
489
497
  throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
490
498
  default:
491
499
  const parsedBody = parsedOutput.body;
500
+ const $metadata = deserializeMetadata(output);
501
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
492
502
  response = new CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException({
493
- name: parsedBody.code || parsedBody.Code || errorCode,
503
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
494
504
  $fault: "client",
495
- $metadata: deserializeMetadata(output),
505
+ $metadata,
496
506
  });
497
507
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
498
508
  }
@@ -517,18 +527,19 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
517
527
  body: await parseBody(output.body, context),
518
528
  };
519
529
  let response;
520
- let errorCode = "UnknownError";
521
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
530
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
522
531
  switch (errorCode) {
523
532
  case "ResourceNotFoundException":
524
533
  case "com.amazonaws.codestarconnections#ResourceNotFoundException":
525
534
  throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
526
535
  default:
527
536
  const parsedBody = parsedOutput.body;
537
+ const $metadata = deserializeMetadata(output);
538
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
528
539
  response = new CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException({
529
- name: parsedBody.code || parsedBody.Code || errorCode,
540
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
530
541
  $fault: "client",
531
- $metadata: deserializeMetadata(output),
542
+ $metadata,
532
543
  });
533
544
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
534
545
  }
@@ -553,8 +564,7 @@ const deserializeAws_json1_0UpdateHostCommandError = async (output, context) =>
553
564
  body: await parseBody(output.body, context),
554
565
  };
555
566
  let response;
556
- let errorCode = "UnknownError";
557
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
567
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
558
568
  switch (errorCode) {
559
569
  case "ConflictException":
560
570
  case "com.amazonaws.codestarconnections#ConflictException":
@@ -570,10 +580,12 @@ const deserializeAws_json1_0UpdateHostCommandError = async (output, context) =>
570
580
  throw await deserializeAws_json1_0UnsupportedOperationExceptionResponse(parsedOutput, context);
571
581
  default:
572
582
  const parsedBody = parsedOutput.body;
583
+ const $metadata = deserializeMetadata(output);
584
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
573
585
  response = new CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException({
574
- name: parsedBody.code || parsedBody.Code || errorCode,
586
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
575
587
  $fault: "client",
576
- $metadata: deserializeMetadata(output),
588
+ $metadata,
577
589
  });
578
590
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
579
591
  }
@@ -625,64 +637,60 @@ const deserializeAws_json1_0UnsupportedOperationExceptionResponse = async (parse
625
637
  };
626
638
  const serializeAws_json1_0CreateConnectionInput = (input, context) => {
627
639
  return {
628
- ...(input.ConnectionName !== undefined &&
629
- input.ConnectionName !== null && { ConnectionName: input.ConnectionName }),
630
- ...(input.HostArn !== undefined && input.HostArn !== null && { HostArn: input.HostArn }),
631
- ...(input.ProviderType !== undefined && input.ProviderType !== null && { ProviderType: input.ProviderType }),
632
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
640
+ ...(input.ConnectionName != null && { ConnectionName: input.ConnectionName }),
641
+ ...(input.HostArn != null && { HostArn: input.HostArn }),
642
+ ...(input.ProviderType != null && { ProviderType: input.ProviderType }),
643
+ ...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
633
644
  };
634
645
  };
635
646
  const serializeAws_json1_0CreateHostInput = (input, context) => {
636
647
  return {
637
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
638
- ...(input.ProviderEndpoint !== undefined &&
639
- input.ProviderEndpoint !== null && { ProviderEndpoint: input.ProviderEndpoint }),
640
- ...(input.ProviderType !== undefined && input.ProviderType !== null && { ProviderType: input.ProviderType }),
641
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
642
- ...(input.VpcConfiguration !== undefined &&
643
- input.VpcConfiguration !== null && {
648
+ ...(input.Name != null && { Name: input.Name }),
649
+ ...(input.ProviderEndpoint != null && { ProviderEndpoint: input.ProviderEndpoint }),
650
+ ...(input.ProviderType != null && { ProviderType: input.ProviderType }),
651
+ ...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
652
+ ...(input.VpcConfiguration != null && {
644
653
  VpcConfiguration: serializeAws_json1_0VpcConfiguration(input.VpcConfiguration, context),
645
654
  }),
646
655
  };
647
656
  };
648
657
  const serializeAws_json1_0DeleteConnectionInput = (input, context) => {
649
658
  return {
650
- ...(input.ConnectionArn !== undefined && input.ConnectionArn !== null && { ConnectionArn: input.ConnectionArn }),
659
+ ...(input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn }),
651
660
  };
652
661
  };
653
662
  const serializeAws_json1_0DeleteHostInput = (input, context) => {
654
663
  return {
655
- ...(input.HostArn !== undefined && input.HostArn !== null && { HostArn: input.HostArn }),
664
+ ...(input.HostArn != null && { HostArn: input.HostArn }),
656
665
  };
657
666
  };
658
667
  const serializeAws_json1_0GetConnectionInput = (input, context) => {
659
668
  return {
660
- ...(input.ConnectionArn !== undefined && input.ConnectionArn !== null && { ConnectionArn: input.ConnectionArn }),
669
+ ...(input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn }),
661
670
  };
662
671
  };
663
672
  const serializeAws_json1_0GetHostInput = (input, context) => {
664
673
  return {
665
- ...(input.HostArn !== undefined && input.HostArn !== null && { HostArn: input.HostArn }),
674
+ ...(input.HostArn != null && { HostArn: input.HostArn }),
666
675
  };
667
676
  };
668
677
  const serializeAws_json1_0ListConnectionsInput = (input, context) => {
669
678
  return {
670
- ...(input.HostArnFilter !== undefined && input.HostArnFilter !== null && { HostArnFilter: input.HostArnFilter }),
671
- ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
672
- ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
673
- ...(input.ProviderTypeFilter !== undefined &&
674
- input.ProviderTypeFilter !== null && { ProviderTypeFilter: input.ProviderTypeFilter }),
679
+ ...(input.HostArnFilter != null && { HostArnFilter: input.HostArnFilter }),
680
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
681
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
682
+ ...(input.ProviderTypeFilter != null && { ProviderTypeFilter: input.ProviderTypeFilter }),
675
683
  };
676
684
  };
677
685
  const serializeAws_json1_0ListHostsInput = (input, context) => {
678
686
  return {
679
- ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
680
- ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
687
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
688
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
681
689
  };
682
690
  };
683
691
  const serializeAws_json1_0ListTagsForResourceInput = (input, context) => {
684
692
  return {
685
- ...(input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }),
693
+ ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
686
694
  };
687
695
  };
688
696
  const serializeAws_json1_0SecurityGroupIds = (input, context) => {
@@ -707,8 +715,8 @@ const serializeAws_json1_0SubnetIds = (input, context) => {
707
715
  };
708
716
  const serializeAws_json1_0Tag = (input, context) => {
709
717
  return {
710
- ...(input.Key !== undefined && input.Key !== null && { Key: input.Key }),
711
- ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
718
+ ...(input.Key != null && { Key: input.Key }),
719
+ ...(input.Value != null && { Value: input.Value }),
712
720
  };
713
721
  };
714
722
  const serializeAws_json1_0TagKeyList = (input, context) => {
@@ -733,39 +741,33 @@ const serializeAws_json1_0TagList = (input, context) => {
733
741
  };
734
742
  const serializeAws_json1_0TagResourceInput = (input, context) => {
735
743
  return {
736
- ...(input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }),
737
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
744
+ ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
745
+ ...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
738
746
  };
739
747
  };
740
748
  const serializeAws_json1_0UntagResourceInput = (input, context) => {
741
749
  return {
742
- ...(input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }),
743
- ...(input.TagKeys !== undefined &&
744
- input.TagKeys !== null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }),
750
+ ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
751
+ ...(input.TagKeys != null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }),
745
752
  };
746
753
  };
747
754
  const serializeAws_json1_0UpdateHostInput = (input, context) => {
748
755
  return {
749
- ...(input.HostArn !== undefined && input.HostArn !== null && { HostArn: input.HostArn }),
750
- ...(input.ProviderEndpoint !== undefined &&
751
- input.ProviderEndpoint !== null && { ProviderEndpoint: input.ProviderEndpoint }),
752
- ...(input.VpcConfiguration !== undefined &&
753
- input.VpcConfiguration !== null && {
756
+ ...(input.HostArn != null && { HostArn: input.HostArn }),
757
+ ...(input.ProviderEndpoint != null && { ProviderEndpoint: input.ProviderEndpoint }),
758
+ ...(input.VpcConfiguration != null && {
754
759
  VpcConfiguration: serializeAws_json1_0VpcConfiguration(input.VpcConfiguration, context),
755
760
  }),
756
761
  };
757
762
  };
758
763
  const serializeAws_json1_0VpcConfiguration = (input, context) => {
759
764
  return {
760
- ...(input.SecurityGroupIds !== undefined &&
761
- input.SecurityGroupIds !== null && {
765
+ ...(input.SecurityGroupIds != null && {
762
766
  SecurityGroupIds: serializeAws_json1_0SecurityGroupIds(input.SecurityGroupIds, context),
763
767
  }),
764
- ...(input.SubnetIds !== undefined &&
765
- input.SubnetIds !== null && { SubnetIds: serializeAws_json1_0SubnetIds(input.SubnetIds, context) }),
766
- ...(input.TlsCertificate !== undefined &&
767
- input.TlsCertificate !== null && { TlsCertificate: input.TlsCertificate }),
768
- ...(input.VpcId !== undefined && input.VpcId !== null && { VpcId: input.VpcId }),
768
+ ...(input.SubnetIds != null && { SubnetIds: serializeAws_json1_0SubnetIds(input.SubnetIds, context) }),
769
+ ...(input.TlsCertificate != null && { TlsCertificate: input.TlsCertificate }),
770
+ ...(input.VpcId != null && { VpcId: input.VpcId }),
769
771
  };
770
772
  };
771
773
  const deserializeAws_json1_0ConflictException = (output, context) => {
@@ -797,17 +799,13 @@ const deserializeAws_json1_0ConnectionList = (output, context) => {
797
799
  const deserializeAws_json1_0CreateConnectionOutput = (output, context) => {
798
800
  return {
799
801
  ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
800
- Tags: output.Tags !== undefined && output.Tags !== null
801
- ? deserializeAws_json1_0TagList(output.Tags, context)
802
- : undefined,
802
+ Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
803
803
  };
804
804
  };
805
805
  const deserializeAws_json1_0CreateHostOutput = (output, context) => {
806
806
  return {
807
807
  HostArn: (0, smithy_client_1.expectString)(output.HostArn),
808
- Tags: output.Tags !== undefined && output.Tags !== null
809
- ? deserializeAws_json1_0TagList(output.Tags, context)
810
- : undefined,
808
+ Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
811
809
  };
812
810
  };
813
811
  const deserializeAws_json1_0DeleteConnectionOutput = (output, context) => {
@@ -818,9 +816,7 @@ const deserializeAws_json1_0DeleteHostOutput = (output, context) => {
818
816
  };
819
817
  const deserializeAws_json1_0GetConnectionOutput = (output, context) => {
820
818
  return {
821
- Connection: output.Connection !== undefined && output.Connection !== null
822
- ? deserializeAws_json1_0Connection(output.Connection, context)
823
- : undefined,
819
+ Connection: output.Connection != null ? deserializeAws_json1_0Connection(output.Connection, context) : undefined,
824
820
  };
825
821
  };
826
822
  const deserializeAws_json1_0GetHostOutput = (output, context) => {
@@ -829,7 +825,7 @@ const deserializeAws_json1_0GetHostOutput = (output, context) => {
829
825
  ProviderEndpoint: (0, smithy_client_1.expectString)(output.ProviderEndpoint),
830
826
  ProviderType: (0, smithy_client_1.expectString)(output.ProviderType),
831
827
  Status: (0, smithy_client_1.expectString)(output.Status),
832
- VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
828
+ VpcConfiguration: output.VpcConfiguration != null
833
829
  ? deserializeAws_json1_0VpcConfiguration(output.VpcConfiguration, context)
834
830
  : undefined,
835
831
  };
@@ -842,7 +838,7 @@ const deserializeAws_json1_0Host = (output, context) => {
842
838
  ProviderType: (0, smithy_client_1.expectString)(output.ProviderType),
843
839
  Status: (0, smithy_client_1.expectString)(output.Status),
844
840
  StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
845
- VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
841
+ VpcConfiguration: output.VpcConfiguration != null
846
842
  ? deserializeAws_json1_0VpcConfiguration(output.VpcConfiguration, context)
847
843
  : undefined,
848
844
  };
@@ -865,25 +861,19 @@ const deserializeAws_json1_0LimitExceededException = (output, context) => {
865
861
  };
866
862
  const deserializeAws_json1_0ListConnectionsOutput = (output, context) => {
867
863
  return {
868
- Connections: output.Connections !== undefined && output.Connections !== null
869
- ? deserializeAws_json1_0ConnectionList(output.Connections, context)
870
- : undefined,
864
+ Connections: output.Connections != null ? deserializeAws_json1_0ConnectionList(output.Connections, context) : undefined,
871
865
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
872
866
  };
873
867
  };
874
868
  const deserializeAws_json1_0ListHostsOutput = (output, context) => {
875
869
  return {
876
- Hosts: output.Hosts !== undefined && output.Hosts !== null
877
- ? deserializeAws_json1_0HostList(output.Hosts, context)
878
- : undefined,
870
+ Hosts: output.Hosts != null ? deserializeAws_json1_0HostList(output.Hosts, context) : undefined,
879
871
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
880
872
  };
881
873
  };
882
874
  const deserializeAws_json1_0ListTagsForResourceOutput = (output, context) => {
883
875
  return {
884
- Tags: output.Tags !== undefined && output.Tags !== null
885
- ? deserializeAws_json1_0TagList(output.Tags, context)
886
- : undefined,
876
+ Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
887
877
  };
888
878
  };
889
879
  const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
@@ -951,12 +941,10 @@ const deserializeAws_json1_0UpdateHostOutput = (output, context) => {
951
941
  };
952
942
  const deserializeAws_json1_0VpcConfiguration = (output, context) => {
953
943
  return {
954
- SecurityGroupIds: output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null
944
+ SecurityGroupIds: output.SecurityGroupIds != null
955
945
  ? deserializeAws_json1_0SecurityGroupIds(output.SecurityGroupIds, context)
956
946
  : undefined,
957
- SubnetIds: output.SubnetIds !== undefined && output.SubnetIds !== null
958
- ? deserializeAws_json1_0SubnetIds(output.SubnetIds, context)
959
- : undefined,
947
+ SubnetIds: output.SubnetIds != null ? deserializeAws_json1_0SubnetIds(output.SubnetIds, context) : undefined,
960
948
  TlsCertificate: (0, smithy_client_1.expectString)(output.TlsCertificate),
961
949
  VpcId: (0, smithy_client_1.expectString)(output.VpcId),
962
950
  };
@@ -1023,5 +1011,4 @@ const loadRestJsonErrorCode = (output, data) => {
1023
1011
  if (data["__type"] !== undefined) {
1024
1012
  return sanitizeErrorCode(data["__type"]);
1025
1013
  }
1026
- return "";
1027
1014
  };
@@ -154,7 +154,7 @@ export var deserializeAws_json1_0CreateConnectionCommand = function (output, con
154
154
  });
155
155
  }); };
156
156
  var deserializeAws_json1_0CreateConnectionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
157
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
157
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
158
158
  var _c;
159
159
  return __generator(this, function (_d) {
160
160
  switch (_d.label) {
@@ -164,7 +164,6 @@ var deserializeAws_json1_0CreateConnectionCommandError = function (output, conte
164
164
  return [4, parseBody(output.body, context)];
165
165
  case 1:
166
166
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
167
- errorCode = "UnknownError";
168
167
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
169
168
  _b = errorCode;
170
169
  switch (_b) {
@@ -184,10 +183,12 @@ var deserializeAws_json1_0CreateConnectionCommandError = function (output, conte
184
183
  case 7: throw _d.sent();
185
184
  case 8:
186
185
  parsedBody = parsedOutput.body;
186
+ $metadata = deserializeMetadata(output);
187
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
187
188
  response = new __BaseException({
188
- name: parsedBody.code || parsedBody.Code || errorCode,
189
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
189
190
  $fault: "client",
190
- $metadata: deserializeMetadata(output),
191
+ $metadata: $metadata,
191
192
  });
192
193
  throw __decorateServiceException(response, parsedBody);
193
194
  }
@@ -212,7 +213,7 @@ export var deserializeAws_json1_0CreateHostCommand = function (output, context)
212
213
  });
213
214
  }); };
214
215
  var deserializeAws_json1_0CreateHostCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
215
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
216
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
216
217
  var _c;
217
218
  return __generator(this, function (_d) {
218
219
  switch (_d.label) {
@@ -222,7 +223,6 @@ var deserializeAws_json1_0CreateHostCommandError = function (output, context) {
222
223
  return [4, parseBody(output.body, context)];
223
224
  case 1:
224
225
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
225
- errorCode = "UnknownError";
226
226
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
227
227
  _b = errorCode;
228
228
  switch (_b) {
@@ -234,10 +234,12 @@ var deserializeAws_json1_0CreateHostCommandError = function (output, context) {
234
234
  case 3: throw _d.sent();
235
235
  case 4:
236
236
  parsedBody = parsedOutput.body;
237
+ $metadata = deserializeMetadata(output);
238
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
237
239
  response = new __BaseException({
238
- name: parsedBody.code || parsedBody.Code || errorCode,
240
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
239
241
  $fault: "client",
240
- $metadata: deserializeMetadata(output),
242
+ $metadata: $metadata,
241
243
  });
242
244
  throw __decorateServiceException(response, parsedBody);
243
245
  }
@@ -262,7 +264,7 @@ export var deserializeAws_json1_0DeleteConnectionCommand = function (output, con
262
264
  });
263
265
  }); };
264
266
  var deserializeAws_json1_0DeleteConnectionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
265
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
267
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
266
268
  var _c;
267
269
  return __generator(this, function (_d) {
268
270
  switch (_d.label) {
@@ -272,7 +274,6 @@ var deserializeAws_json1_0DeleteConnectionCommandError = function (output, conte
272
274
  return [4, parseBody(output.body, context)];
273
275
  case 1:
274
276
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
275
- errorCode = "UnknownError";
276
277
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
277
278
  _b = errorCode;
278
279
  switch (_b) {
@@ -284,10 +285,12 @@ var deserializeAws_json1_0DeleteConnectionCommandError = function (output, conte
284
285
  case 3: throw _d.sent();
285
286
  case 4:
286
287
  parsedBody = parsedOutput.body;
288
+ $metadata = deserializeMetadata(output);
289
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
287
290
  response = new __BaseException({
288
- name: parsedBody.code || parsedBody.Code || errorCode,
291
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
289
292
  $fault: "client",
290
- $metadata: deserializeMetadata(output),
293
+ $metadata: $metadata,
291
294
  });
292
295
  throw __decorateServiceException(response, parsedBody);
293
296
  }
@@ -312,7 +315,7 @@ export var deserializeAws_json1_0DeleteHostCommand = function (output, context)
312
315
  });
313
316
  }); };
314
317
  var deserializeAws_json1_0DeleteHostCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
315
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
318
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
316
319
  var _c;
317
320
  return __generator(this, function (_d) {
318
321
  switch (_d.label) {
@@ -322,7 +325,6 @@ var deserializeAws_json1_0DeleteHostCommandError = function (output, context) {
322
325
  return [4, parseBody(output.body, context)];
323
326
  case 1:
324
327
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
325
- errorCode = "UnknownError";
326
328
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
327
329
  _b = errorCode;
328
330
  switch (_b) {
@@ -338,10 +340,12 @@ var deserializeAws_json1_0DeleteHostCommandError = function (output, context) {
338
340
  case 5: throw _d.sent();
339
341
  case 6:
340
342
  parsedBody = parsedOutput.body;
343
+ $metadata = deserializeMetadata(output);
344
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
341
345
  response = new __BaseException({
342
- name: parsedBody.code || parsedBody.Code || errorCode,
346
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
343
347
  $fault: "client",
344
- $metadata: deserializeMetadata(output),
348
+ $metadata: $metadata,
345
349
  });
346
350
  throw __decorateServiceException(response, parsedBody);
347
351
  }
@@ -366,7 +370,7 @@ export var deserializeAws_json1_0GetConnectionCommand = function (output, contex
366
370
  });
367
371
  }); };
368
372
  var deserializeAws_json1_0GetConnectionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
369
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
373
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
370
374
  var _c;
371
375
  return __generator(this, function (_d) {
372
376
  switch (_d.label) {
@@ -376,7 +380,6 @@ var deserializeAws_json1_0GetConnectionCommandError = function (output, context)
376
380
  return [4, parseBody(output.body, context)];
377
381
  case 1:
378
382
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
379
- errorCode = "UnknownError";
380
383
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
381
384
  _b = errorCode;
382
385
  switch (_b) {
@@ -392,10 +395,12 @@ var deserializeAws_json1_0GetConnectionCommandError = function (output, context)
392
395
  case 5: throw _d.sent();
393
396
  case 6:
394
397
  parsedBody = parsedOutput.body;
398
+ $metadata = deserializeMetadata(output);
399
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
395
400
  response = new __BaseException({
396
- name: parsedBody.code || parsedBody.Code || errorCode,
401
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
397
402
  $fault: "client",
398
- $metadata: deserializeMetadata(output),
403
+ $metadata: $metadata,
399
404
  });
400
405
  throw __decorateServiceException(response, parsedBody);
401
406
  }
@@ -420,7 +425,7 @@ export var deserializeAws_json1_0GetHostCommand = function (output, context) { r
420
425
  });
421
426
  }); };
422
427
  var deserializeAws_json1_0GetHostCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
423
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
428
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
424
429
  var _c;
425
430
  return __generator(this, function (_d) {
426
431
  switch (_d.label) {
@@ -430,7 +435,6 @@ var deserializeAws_json1_0GetHostCommandError = function (output, context) { ret
430
435
  return [4, parseBody(output.body, context)];
431
436
  case 1:
432
437
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
433
- errorCode = "UnknownError";
434
438
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
435
439
  _b = errorCode;
436
440
  switch (_b) {
@@ -446,10 +450,12 @@ var deserializeAws_json1_0GetHostCommandError = function (output, context) { ret
446
450
  case 5: throw _d.sent();
447
451
  case 6:
448
452
  parsedBody = parsedOutput.body;
453
+ $metadata = deserializeMetadata(output);
454
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
449
455
  response = new __BaseException({
450
- name: parsedBody.code || parsedBody.Code || errorCode,
456
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
451
457
  $fault: "client",
452
- $metadata: deserializeMetadata(output),
458
+ $metadata: $metadata,
453
459
  });
454
460
  throw __decorateServiceException(response, parsedBody);
455
461
  }
@@ -474,7 +480,7 @@ export var deserializeAws_json1_0ListConnectionsCommand = function (output, cont
474
480
  });
475
481
  }); };
476
482
  var deserializeAws_json1_0ListConnectionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
477
- var parsedOutput, _a, response, errorCode, parsedBody;
483
+ var parsedOutput, _a, response, errorCode, parsedBody, $metadata, statusCode;
478
484
  var _b;
479
485
  return __generator(this, function (_c) {
480
486
  switch (_c.label) {
@@ -484,15 +490,16 @@ var deserializeAws_json1_0ListConnectionsCommandError = function (output, contex
484
490
  return [4, parseBody(output.body, context)];
485
491
  case 1:
486
492
  parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
487
- errorCode = "UnknownError";
488
493
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
489
494
  switch (errorCode) {
490
495
  default:
491
496
  parsedBody = parsedOutput.body;
497
+ $metadata = deserializeMetadata(output);
498
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
492
499
  response = new __BaseException({
493
- name: parsedBody.code || parsedBody.Code || errorCode,
500
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
494
501
  $fault: "client",
495
- $metadata: deserializeMetadata(output),
502
+ $metadata: $metadata,
496
503
  });
497
504
  throw __decorateServiceException(response, parsedBody);
498
505
  }
@@ -519,7 +526,7 @@ export var deserializeAws_json1_0ListHostsCommand = function (output, context) {
519
526
  });
520
527
  }); };
521
528
  var deserializeAws_json1_0ListHostsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
522
- var parsedOutput, _a, response, errorCode, parsedBody;
529
+ var parsedOutput, _a, response, errorCode, parsedBody, $metadata, statusCode;
523
530
  var _b;
524
531
  return __generator(this, function (_c) {
525
532
  switch (_c.label) {
@@ -529,15 +536,16 @@ var deserializeAws_json1_0ListHostsCommandError = function (output, context) { r
529
536
  return [4, parseBody(output.body, context)];
530
537
  case 1:
531
538
  parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
532
- errorCode = "UnknownError";
533
539
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
534
540
  switch (errorCode) {
535
541
  default:
536
542
  parsedBody = parsedOutput.body;
543
+ $metadata = deserializeMetadata(output);
544
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
537
545
  response = new __BaseException({
538
- name: parsedBody.code || parsedBody.Code || errorCode,
546
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
539
547
  $fault: "client",
540
- $metadata: deserializeMetadata(output),
548
+ $metadata: $metadata,
541
549
  });
542
550
  throw __decorateServiceException(response, parsedBody);
543
551
  }
@@ -564,7 +572,7 @@ export var deserializeAws_json1_0ListTagsForResourceCommand = function (output,
564
572
  });
565
573
  }); };
566
574
  var deserializeAws_json1_0ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
567
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
575
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
568
576
  var _c;
569
577
  return __generator(this, function (_d) {
570
578
  switch (_d.label) {
@@ -574,7 +582,6 @@ var deserializeAws_json1_0ListTagsForResourceCommandError = function (output, co
574
582
  return [4, parseBody(output.body, context)];
575
583
  case 1:
576
584
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
577
- errorCode = "UnknownError";
578
585
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
579
586
  _b = errorCode;
580
587
  switch (_b) {
@@ -586,10 +593,12 @@ var deserializeAws_json1_0ListTagsForResourceCommandError = function (output, co
586
593
  case 3: throw _d.sent();
587
594
  case 4:
588
595
  parsedBody = parsedOutput.body;
596
+ $metadata = deserializeMetadata(output);
597
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
589
598
  response = new __BaseException({
590
- name: parsedBody.code || parsedBody.Code || errorCode,
599
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
591
600
  $fault: "client",
592
- $metadata: deserializeMetadata(output),
601
+ $metadata: $metadata,
593
602
  });
594
603
  throw __decorateServiceException(response, parsedBody);
595
604
  }
@@ -614,7 +623,7 @@ export var deserializeAws_json1_0TagResourceCommand = function (output, context)
614
623
  });
615
624
  }); };
616
625
  var deserializeAws_json1_0TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
617
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
626
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
618
627
  var _c;
619
628
  return __generator(this, function (_d) {
620
629
  switch (_d.label) {
@@ -624,7 +633,6 @@ var deserializeAws_json1_0TagResourceCommandError = function (output, context) {
624
633
  return [4, parseBody(output.body, context)];
625
634
  case 1:
626
635
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
627
- errorCode = "UnknownError";
628
636
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
629
637
  _b = errorCode;
630
638
  switch (_b) {
@@ -640,10 +648,12 @@ var deserializeAws_json1_0TagResourceCommandError = function (output, context) {
640
648
  case 5: throw _d.sent();
641
649
  case 6:
642
650
  parsedBody = parsedOutput.body;
651
+ $metadata = deserializeMetadata(output);
652
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
643
653
  response = new __BaseException({
644
- name: parsedBody.code || parsedBody.Code || errorCode,
654
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
645
655
  $fault: "client",
646
- $metadata: deserializeMetadata(output),
656
+ $metadata: $metadata,
647
657
  });
648
658
  throw __decorateServiceException(response, parsedBody);
649
659
  }
@@ -668,7 +678,7 @@ export var deserializeAws_json1_0UntagResourceCommand = function (output, contex
668
678
  });
669
679
  }); };
670
680
  var deserializeAws_json1_0UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
671
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
681
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
672
682
  var _c;
673
683
  return __generator(this, function (_d) {
674
684
  switch (_d.label) {
@@ -678,7 +688,6 @@ var deserializeAws_json1_0UntagResourceCommandError = function (output, context)
678
688
  return [4, parseBody(output.body, context)];
679
689
  case 1:
680
690
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
681
- errorCode = "UnknownError";
682
691
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
683
692
  _b = errorCode;
684
693
  switch (_b) {
@@ -690,10 +699,12 @@ var deserializeAws_json1_0UntagResourceCommandError = function (output, context)
690
699
  case 3: throw _d.sent();
691
700
  case 4:
692
701
  parsedBody = parsedOutput.body;
702
+ $metadata = deserializeMetadata(output);
703
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
693
704
  response = new __BaseException({
694
- name: parsedBody.code || parsedBody.Code || errorCode,
705
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
695
706
  $fault: "client",
696
- $metadata: deserializeMetadata(output),
707
+ $metadata: $metadata,
697
708
  });
698
709
  throw __decorateServiceException(response, parsedBody);
699
710
  }
@@ -718,7 +729,7 @@ export var deserializeAws_json1_0UpdateHostCommand = function (output, context)
718
729
  });
719
730
  }); };
720
731
  var deserializeAws_json1_0UpdateHostCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
721
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
732
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
722
733
  var _c;
723
734
  return __generator(this, function (_d) {
724
735
  switch (_d.label) {
@@ -728,7 +739,6 @@ var deserializeAws_json1_0UpdateHostCommandError = function (output, context) {
728
739
  return [4, parseBody(output.body, context)];
729
740
  case 1:
730
741
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
731
- errorCode = "UnknownError";
732
742
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
733
743
  _b = errorCode;
734
744
  switch (_b) {
@@ -752,10 +762,12 @@ var deserializeAws_json1_0UpdateHostCommandError = function (output, context) {
752
762
  case 9: throw _d.sent();
753
763
  case 10:
754
764
  parsedBody = parsedOutput.body;
765
+ $metadata = deserializeMetadata(output);
766
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
755
767
  response = new __BaseException({
756
- name: parsedBody.code || parsedBody.Code || errorCode,
768
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
757
769
  $fault: "client",
758
- $metadata: deserializeMetadata(output),
770
+ $metadata: $metadata,
759
771
  });
760
772
  throw __decorateServiceException(response, parsedBody);
761
773
  }
@@ -807,37 +819,33 @@ var deserializeAws_json1_0UnsupportedOperationExceptionResponse = function (pars
807
819
  });
808
820
  }); };
809
821
  var serializeAws_json1_0CreateConnectionInput = function (input, context) {
810
- return __assign(__assign(__assign(__assign({}, (input.ConnectionName !== undefined &&
811
- input.ConnectionName !== null && { ConnectionName: input.ConnectionName })), (input.HostArn !== undefined && input.HostArn !== null && { HostArn: input.HostArn })), (input.ProviderType !== undefined && input.ProviderType !== null && { ProviderType: input.ProviderType })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
822
+ return __assign(__assign(__assign(__assign({}, (input.ConnectionName != null && { ConnectionName: input.ConnectionName })), (input.HostArn != null && { HostArn: input.HostArn })), (input.ProviderType != null && { ProviderType: input.ProviderType })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
812
823
  };
813
824
  var serializeAws_json1_0CreateHostInput = function (input, context) {
814
- return __assign(__assign(__assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ProviderEndpoint !== undefined &&
815
- input.ProviderEndpoint !== null && { ProviderEndpoint: input.ProviderEndpoint })), (input.ProviderType !== undefined && input.ProviderType !== null && { ProviderType: input.ProviderType })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) })), (input.VpcConfiguration !== undefined &&
816
- input.VpcConfiguration !== null && {
825
+ return __assign(__assign(__assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.ProviderEndpoint != null && { ProviderEndpoint: input.ProviderEndpoint })), (input.ProviderType != null && { ProviderType: input.ProviderType })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) })), (input.VpcConfiguration != null && {
817
826
  VpcConfiguration: serializeAws_json1_0VpcConfiguration(input.VpcConfiguration, context),
818
827
  }));
819
828
  };
820
829
  var serializeAws_json1_0DeleteConnectionInput = function (input, context) {
821
- return __assign({}, (input.ConnectionArn !== undefined && input.ConnectionArn !== null && { ConnectionArn: input.ConnectionArn }));
830
+ return __assign({}, (input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn }));
822
831
  };
823
832
  var serializeAws_json1_0DeleteHostInput = function (input, context) {
824
- return __assign({}, (input.HostArn !== undefined && input.HostArn !== null && { HostArn: input.HostArn }));
833
+ return __assign({}, (input.HostArn != null && { HostArn: input.HostArn }));
825
834
  };
826
835
  var serializeAws_json1_0GetConnectionInput = function (input, context) {
827
- return __assign({}, (input.ConnectionArn !== undefined && input.ConnectionArn !== null && { ConnectionArn: input.ConnectionArn }));
836
+ return __assign({}, (input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn }));
828
837
  };
829
838
  var serializeAws_json1_0GetHostInput = function (input, context) {
830
- return __assign({}, (input.HostArn !== undefined && input.HostArn !== null && { HostArn: input.HostArn }));
839
+ return __assign({}, (input.HostArn != null && { HostArn: input.HostArn }));
831
840
  };
832
841
  var serializeAws_json1_0ListConnectionsInput = function (input, context) {
833
- return __assign(__assign(__assign(__assign({}, (input.HostArnFilter !== undefined && input.HostArnFilter !== null && { HostArnFilter: input.HostArnFilter })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ProviderTypeFilter !== undefined &&
834
- input.ProviderTypeFilter !== null && { ProviderTypeFilter: input.ProviderTypeFilter }));
842
+ return __assign(__assign(__assign(__assign({}, (input.HostArnFilter != null && { HostArnFilter: input.HostArnFilter })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ProviderTypeFilter != null && { ProviderTypeFilter: input.ProviderTypeFilter }));
835
843
  };
836
844
  var serializeAws_json1_0ListHostsInput = function (input, context) {
837
- return __assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
845
+ return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
838
846
  };
839
847
  var serializeAws_json1_0ListTagsForResourceInput = function (input, context) {
840
- return __assign({}, (input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }));
848
+ return __assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
841
849
  };
842
850
  var serializeAws_json1_0SecurityGroupIds = function (input, context) {
843
851
  return input
@@ -860,7 +868,7 @@ var serializeAws_json1_0SubnetIds = function (input, context) {
860
868
  });
861
869
  };
862
870
  var serializeAws_json1_0Tag = function (input, context) {
863
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
871
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
864
872
  };
865
873
  var serializeAws_json1_0TagKeyList = function (input, context) {
866
874
  return input
@@ -883,26 +891,20 @@ var serializeAws_json1_0TagList = function (input, context) {
883
891
  });
884
892
  };
885
893
  var serializeAws_json1_0TagResourceInput = function (input, context) {
886
- return __assign(__assign({}, (input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
894
+ return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
887
895
  };
888
896
  var serializeAws_json1_0UntagResourceInput = function (input, context) {
889
- return __assign(__assign({}, (input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn })), (input.TagKeys !== undefined &&
890
- input.TagKeys !== null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }));
897
+ return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }));
891
898
  };
892
899
  var serializeAws_json1_0UpdateHostInput = function (input, context) {
893
- return __assign(__assign(__assign({}, (input.HostArn !== undefined && input.HostArn !== null && { HostArn: input.HostArn })), (input.ProviderEndpoint !== undefined &&
894
- input.ProviderEndpoint !== null && { ProviderEndpoint: input.ProviderEndpoint })), (input.VpcConfiguration !== undefined &&
895
- input.VpcConfiguration !== null && {
900
+ return __assign(__assign(__assign({}, (input.HostArn != null && { HostArn: input.HostArn })), (input.ProviderEndpoint != null && { ProviderEndpoint: input.ProviderEndpoint })), (input.VpcConfiguration != null && {
896
901
  VpcConfiguration: serializeAws_json1_0VpcConfiguration(input.VpcConfiguration, context),
897
902
  }));
898
903
  };
899
904
  var serializeAws_json1_0VpcConfiguration = function (input, context) {
900
- return __assign(__assign(__assign(__assign({}, (input.SecurityGroupIds !== undefined &&
901
- input.SecurityGroupIds !== null && {
905
+ return __assign(__assign(__assign(__assign({}, (input.SecurityGroupIds != null && {
902
906
  SecurityGroupIds: serializeAws_json1_0SecurityGroupIds(input.SecurityGroupIds, context),
903
- })), (input.SubnetIds !== undefined &&
904
- input.SubnetIds !== null && { SubnetIds: serializeAws_json1_0SubnetIds(input.SubnetIds, context) })), (input.TlsCertificate !== undefined &&
905
- input.TlsCertificate !== null && { TlsCertificate: input.TlsCertificate })), (input.VpcId !== undefined && input.VpcId !== null && { VpcId: input.VpcId }));
907
+ })), (input.SubnetIds != null && { SubnetIds: serializeAws_json1_0SubnetIds(input.SubnetIds, context) })), (input.TlsCertificate != null && { TlsCertificate: input.TlsCertificate })), (input.VpcId != null && { VpcId: input.VpcId }));
906
908
  };
907
909
  var deserializeAws_json1_0ConflictException = function (output, context) {
908
910
  return {
@@ -933,17 +935,13 @@ var deserializeAws_json1_0ConnectionList = function (output, context) {
933
935
  var deserializeAws_json1_0CreateConnectionOutput = function (output, context) {
934
936
  return {
935
937
  ConnectionArn: __expectString(output.ConnectionArn),
936
- Tags: output.Tags !== undefined && output.Tags !== null
937
- ? deserializeAws_json1_0TagList(output.Tags, context)
938
- : undefined,
938
+ Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
939
939
  };
940
940
  };
941
941
  var deserializeAws_json1_0CreateHostOutput = function (output, context) {
942
942
  return {
943
943
  HostArn: __expectString(output.HostArn),
944
- Tags: output.Tags !== undefined && output.Tags !== null
945
- ? deserializeAws_json1_0TagList(output.Tags, context)
946
- : undefined,
944
+ Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
947
945
  };
948
946
  };
949
947
  var deserializeAws_json1_0DeleteConnectionOutput = function (output, context) {
@@ -954,9 +952,7 @@ var deserializeAws_json1_0DeleteHostOutput = function (output, context) {
954
952
  };
955
953
  var deserializeAws_json1_0GetConnectionOutput = function (output, context) {
956
954
  return {
957
- Connection: output.Connection !== undefined && output.Connection !== null
958
- ? deserializeAws_json1_0Connection(output.Connection, context)
959
- : undefined,
955
+ Connection: output.Connection != null ? deserializeAws_json1_0Connection(output.Connection, context) : undefined,
960
956
  };
961
957
  };
962
958
  var deserializeAws_json1_0GetHostOutput = function (output, context) {
@@ -965,7 +961,7 @@ var deserializeAws_json1_0GetHostOutput = function (output, context) {
965
961
  ProviderEndpoint: __expectString(output.ProviderEndpoint),
966
962
  ProviderType: __expectString(output.ProviderType),
967
963
  Status: __expectString(output.Status),
968
- VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
964
+ VpcConfiguration: output.VpcConfiguration != null
969
965
  ? deserializeAws_json1_0VpcConfiguration(output.VpcConfiguration, context)
970
966
  : undefined,
971
967
  };
@@ -978,7 +974,7 @@ var deserializeAws_json1_0Host = function (output, context) {
978
974
  ProviderType: __expectString(output.ProviderType),
979
975
  Status: __expectString(output.Status),
980
976
  StatusMessage: __expectString(output.StatusMessage),
981
- VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
977
+ VpcConfiguration: output.VpcConfiguration != null
982
978
  ? deserializeAws_json1_0VpcConfiguration(output.VpcConfiguration, context)
983
979
  : undefined,
984
980
  };
@@ -1001,25 +997,19 @@ var deserializeAws_json1_0LimitExceededException = function (output, context) {
1001
997
  };
1002
998
  var deserializeAws_json1_0ListConnectionsOutput = function (output, context) {
1003
999
  return {
1004
- Connections: output.Connections !== undefined && output.Connections !== null
1005
- ? deserializeAws_json1_0ConnectionList(output.Connections, context)
1006
- : undefined,
1000
+ Connections: output.Connections != null ? deserializeAws_json1_0ConnectionList(output.Connections, context) : undefined,
1007
1001
  NextToken: __expectString(output.NextToken),
1008
1002
  };
1009
1003
  };
1010
1004
  var deserializeAws_json1_0ListHostsOutput = function (output, context) {
1011
1005
  return {
1012
- Hosts: output.Hosts !== undefined && output.Hosts !== null
1013
- ? deserializeAws_json1_0HostList(output.Hosts, context)
1014
- : undefined,
1006
+ Hosts: output.Hosts != null ? deserializeAws_json1_0HostList(output.Hosts, context) : undefined,
1015
1007
  NextToken: __expectString(output.NextToken),
1016
1008
  };
1017
1009
  };
1018
1010
  var deserializeAws_json1_0ListTagsForResourceOutput = function (output, context) {
1019
1011
  return {
1020
- Tags: output.Tags !== undefined && output.Tags !== null
1021
- ? deserializeAws_json1_0TagList(output.Tags, context)
1022
- : undefined,
1012
+ Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
1023
1013
  };
1024
1014
  };
1025
1015
  var deserializeAws_json1_0ResourceNotFoundException = function (output, context) {
@@ -1087,12 +1077,10 @@ var deserializeAws_json1_0UpdateHostOutput = function (output, context) {
1087
1077
  };
1088
1078
  var deserializeAws_json1_0VpcConfiguration = function (output, context) {
1089
1079
  return {
1090
- SecurityGroupIds: output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null
1080
+ SecurityGroupIds: output.SecurityGroupIds != null
1091
1081
  ? deserializeAws_json1_0SecurityGroupIds(output.SecurityGroupIds, context)
1092
1082
  : undefined,
1093
- SubnetIds: output.SubnetIds !== undefined && output.SubnetIds !== null
1094
- ? deserializeAws_json1_0SubnetIds(output.SubnetIds, context)
1095
- : undefined,
1083
+ SubnetIds: output.SubnetIds != null ? deserializeAws_json1_0SubnetIds(output.SubnetIds, context) : undefined,
1096
1084
  TlsCertificate: __expectString(output.TlsCertificate),
1097
1085
  VpcId: __expectString(output.VpcId),
1098
1086
  };
@@ -1171,5 +1159,4 @@ var loadRestJsonErrorCode = function (output, data) {
1171
1159
  if (data["__type"] !== undefined) {
1172
1160
  return sanitizeErrorCode(data["__type"]);
1173
1161
  }
1174
- return "";
1175
1162
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codestar-connections",
3
3
  "description": "AWS SDK for JavaScript Codestar Connections Client for Node.js, Browser and React Native",
4
- "version": "3.118.1",
4
+ "version": "3.128.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",
@@ -18,35 +18,35 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.118.1",
22
- "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.118.1",
24
- "@aws-sdk/fetch-http-handler": "3.110.0",
25
- "@aws-sdk/hash-node": "3.110.0",
26
- "@aws-sdk/invalid-dependency": "3.110.0",
27
- "@aws-sdk/middleware-content-length": "3.110.0",
28
- "@aws-sdk/middleware-host-header": "3.110.0",
29
- "@aws-sdk/middleware-logger": "3.110.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.118.1",
32
- "@aws-sdk/middleware-serde": "3.110.0",
33
- "@aws-sdk/middleware-signing": "3.110.0",
34
- "@aws-sdk/middleware-stack": "3.110.0",
35
- "@aws-sdk/middleware-user-agent": "3.110.0",
36
- "@aws-sdk/node-config-provider": "3.110.0",
37
- "@aws-sdk/node-http-handler": "3.118.1",
38
- "@aws-sdk/protocol-http": "3.110.0",
39
- "@aws-sdk/smithy-client": "3.110.0",
40
- "@aws-sdk/types": "3.110.0",
41
- "@aws-sdk/url-parser": "3.110.0",
21
+ "@aws-sdk/client-sts": "3.128.0",
22
+ "@aws-sdk/config-resolver": "3.128.0",
23
+ "@aws-sdk/credential-provider-node": "3.128.0",
24
+ "@aws-sdk/fetch-http-handler": "3.127.0",
25
+ "@aws-sdk/hash-node": "3.127.0",
26
+ "@aws-sdk/invalid-dependency": "3.127.0",
27
+ "@aws-sdk/middleware-content-length": "3.127.0",
28
+ "@aws-sdk/middleware-host-header": "3.127.0",
29
+ "@aws-sdk/middleware-logger": "3.127.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
+ "@aws-sdk/middleware-retry": "3.127.0",
32
+ "@aws-sdk/middleware-serde": "3.127.0",
33
+ "@aws-sdk/middleware-signing": "3.128.0",
34
+ "@aws-sdk/middleware-stack": "3.127.0",
35
+ "@aws-sdk/middleware-user-agent": "3.127.0",
36
+ "@aws-sdk/node-config-provider": "3.127.0",
37
+ "@aws-sdk/node-http-handler": "3.127.0",
38
+ "@aws-sdk/protocol-http": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.127.0",
40
+ "@aws-sdk/types": "3.127.0",
41
+ "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
- "@aws-sdk/util-user-agent-browser": "3.110.0",
49
- "@aws-sdk/util-user-agent-node": "3.118.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.128.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.127.0",
49
+ "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
51
51
  "@aws-sdk/util-utf8-node": "3.109.0",
52
52
  "tslib": "^2.3.1"