@aws-sdk/client-mediastore 3.54.1 → 3.58.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/MediaStoreClient.js +13 -13
  3. package/dist-cjs/commands/CreateContainerCommand.js +3 -3
  4. package/dist-cjs/commands/DeleteContainerCommand.js +3 -3
  5. package/dist-cjs/commands/DeleteContainerPolicyCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteCorsPolicyCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteMetricPolicyCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeContainerCommand.js +3 -3
  10. package/dist-cjs/commands/GetContainerPolicyCommand.js +3 -3
  11. package/dist-cjs/commands/GetCorsPolicyCommand.js +3 -3
  12. package/dist-cjs/commands/GetLifecyclePolicyCommand.js +3 -3
  13. package/dist-cjs/commands/GetMetricPolicyCommand.js +3 -3
  14. package/dist-cjs/commands/ListContainersCommand.js +3 -3
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  16. package/dist-cjs/commands/PutContainerPolicyCommand.js +3 -3
  17. package/dist-cjs/commands/PutCorsPolicyCommand.js +3 -3
  18. package/dist-cjs/commands/PutLifecyclePolicyCommand.js +3 -3
  19. package/dist-cjs/commands/PutMetricPolicyCommand.js +3 -3
  20. package/dist-cjs/commands/StartAccessLoggingCommand.js +3 -3
  21. package/dist-cjs/commands/StopAccessLoggingCommand.js +3 -3
  22. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  23. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  24. package/dist-cjs/endpoints.js +1 -1
  25. package/dist-cjs/protocols/Aws_json1_1.js +52 -52
  26. package/dist-cjs/runtimeConfig.browser.js +4 -4
  27. package/dist-cjs/runtimeConfig.js +9 -9
  28. package/dist-cjs/runtimeConfig.native.js +1 -1
  29. package/dist-es/MediaStore.js +21 -21
  30. package/dist-es/pagination/ListContainersPaginator.js +4 -4
  31. package/dist-types/runtimeConfig.native.d.ts +2 -2
  32. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  33. package/package.json +34 -34
@@ -254,7 +254,7 @@ const deserializeAws_json1_1CreateContainerCommandError = async (output, context
254
254
  $fault: "client",
255
255
  $metadata: deserializeMetadata(output),
256
256
  });
257
- throw smithy_client_1.decorateServiceException(response, parsedBody);
257
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
258
258
  }
259
259
  };
260
260
  const deserializeAws_json1_1DeleteContainerCommand = async (output, context) => {
@@ -296,7 +296,7 @@ const deserializeAws_json1_1DeleteContainerCommandError = async (output, context
296
296
  $fault: "client",
297
297
  $metadata: deserializeMetadata(output),
298
298
  });
299
- throw smithy_client_1.decorateServiceException(response, parsedBody);
299
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
300
300
  }
301
301
  };
302
302
  const deserializeAws_json1_1DeleteContainerPolicyCommand = async (output, context) => {
@@ -341,7 +341,7 @@ const deserializeAws_json1_1DeleteContainerPolicyCommandError = async (output, c
341
341
  $fault: "client",
342
342
  $metadata: deserializeMetadata(output),
343
343
  });
344
- throw smithy_client_1.decorateServiceException(response, parsedBody);
344
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
345
345
  }
346
346
  };
347
347
  const deserializeAws_json1_1DeleteCorsPolicyCommand = async (output, context) => {
@@ -386,7 +386,7 @@ const deserializeAws_json1_1DeleteCorsPolicyCommandError = async (output, contex
386
386
  $fault: "client",
387
387
  $metadata: deserializeMetadata(output),
388
388
  });
389
- throw smithy_client_1.decorateServiceException(response, parsedBody);
389
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
390
390
  }
391
391
  };
392
392
  const deserializeAws_json1_1DeleteLifecyclePolicyCommand = async (output, context) => {
@@ -431,7 +431,7 @@ const deserializeAws_json1_1DeleteLifecyclePolicyCommandError = async (output, c
431
431
  $fault: "client",
432
432
  $metadata: deserializeMetadata(output),
433
433
  });
434
- throw smithy_client_1.decorateServiceException(response, parsedBody);
434
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
435
435
  }
436
436
  };
437
437
  const deserializeAws_json1_1DeleteMetricPolicyCommand = async (output, context) => {
@@ -476,7 +476,7 @@ const deserializeAws_json1_1DeleteMetricPolicyCommandError = async (output, cont
476
476
  $fault: "client",
477
477
  $metadata: deserializeMetadata(output),
478
478
  });
479
- throw smithy_client_1.decorateServiceException(response, parsedBody);
479
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
480
480
  }
481
481
  };
482
482
  const deserializeAws_json1_1DescribeContainerCommand = async (output, context) => {
@@ -515,7 +515,7 @@ const deserializeAws_json1_1DescribeContainerCommandError = async (output, conte
515
515
  $fault: "client",
516
516
  $metadata: deserializeMetadata(output),
517
517
  });
518
- throw smithy_client_1.decorateServiceException(response, parsedBody);
518
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
519
519
  }
520
520
  };
521
521
  const deserializeAws_json1_1GetContainerPolicyCommand = async (output, context) => {
@@ -560,7 +560,7 @@ const deserializeAws_json1_1GetContainerPolicyCommandError = async (output, cont
560
560
  $fault: "client",
561
561
  $metadata: deserializeMetadata(output),
562
562
  });
563
- throw smithy_client_1.decorateServiceException(response, parsedBody);
563
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
564
564
  }
565
565
  };
566
566
  const deserializeAws_json1_1GetCorsPolicyCommand = async (output, context) => {
@@ -605,7 +605,7 @@ const deserializeAws_json1_1GetCorsPolicyCommandError = async (output, context)
605
605
  $fault: "client",
606
606
  $metadata: deserializeMetadata(output),
607
607
  });
608
- throw smithy_client_1.decorateServiceException(response, parsedBody);
608
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
609
609
  }
610
610
  };
611
611
  const deserializeAws_json1_1GetLifecyclePolicyCommand = async (output, context) => {
@@ -650,7 +650,7 @@ const deserializeAws_json1_1GetLifecyclePolicyCommandError = async (output, cont
650
650
  $fault: "client",
651
651
  $metadata: deserializeMetadata(output),
652
652
  });
653
- throw smithy_client_1.decorateServiceException(response, parsedBody);
653
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
654
654
  }
655
655
  };
656
656
  const deserializeAws_json1_1GetMetricPolicyCommand = async (output, context) => {
@@ -695,7 +695,7 @@ const deserializeAws_json1_1GetMetricPolicyCommandError = async (output, context
695
695
  $fault: "client",
696
696
  $metadata: deserializeMetadata(output),
697
697
  });
698
- throw smithy_client_1.decorateServiceException(response, parsedBody);
698
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
699
699
  }
700
700
  };
701
701
  const deserializeAws_json1_1ListContainersCommand = async (output, context) => {
@@ -731,7 +731,7 @@ const deserializeAws_json1_1ListContainersCommandError = async (output, context)
731
731
  $fault: "client",
732
732
  $metadata: deserializeMetadata(output),
733
733
  });
734
- throw smithy_client_1.decorateServiceException(response, parsedBody);
734
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
735
735
  }
736
736
  };
737
737
  const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
@@ -773,7 +773,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
773
773
  $fault: "client",
774
774
  $metadata: deserializeMetadata(output),
775
775
  });
776
- throw smithy_client_1.decorateServiceException(response, parsedBody);
776
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
777
777
  }
778
778
  };
779
779
  const deserializeAws_json1_1PutContainerPolicyCommand = async (output, context) => {
@@ -815,7 +815,7 @@ const deserializeAws_json1_1PutContainerPolicyCommandError = async (output, cont
815
815
  $fault: "client",
816
816
  $metadata: deserializeMetadata(output),
817
817
  });
818
- throw smithy_client_1.decorateServiceException(response, parsedBody);
818
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
819
819
  }
820
820
  };
821
821
  const deserializeAws_json1_1PutCorsPolicyCommand = async (output, context) => {
@@ -857,7 +857,7 @@ const deserializeAws_json1_1PutCorsPolicyCommandError = async (output, context)
857
857
  $fault: "client",
858
858
  $metadata: deserializeMetadata(output),
859
859
  });
860
- throw smithy_client_1.decorateServiceException(response, parsedBody);
860
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
861
861
  }
862
862
  };
863
863
  const deserializeAws_json1_1PutLifecyclePolicyCommand = async (output, context) => {
@@ -899,7 +899,7 @@ const deserializeAws_json1_1PutLifecyclePolicyCommandError = async (output, cont
899
899
  $fault: "client",
900
900
  $metadata: deserializeMetadata(output),
901
901
  });
902
- throw smithy_client_1.decorateServiceException(response, parsedBody);
902
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
903
903
  }
904
904
  };
905
905
  const deserializeAws_json1_1PutMetricPolicyCommand = async (output, context) => {
@@ -941,7 +941,7 @@ const deserializeAws_json1_1PutMetricPolicyCommandError = async (output, context
941
941
  $fault: "client",
942
942
  $metadata: deserializeMetadata(output),
943
943
  });
944
- throw smithy_client_1.decorateServiceException(response, parsedBody);
944
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
945
945
  }
946
946
  };
947
947
  const deserializeAws_json1_1StartAccessLoggingCommand = async (output, context) => {
@@ -983,7 +983,7 @@ const deserializeAws_json1_1StartAccessLoggingCommandError = async (output, cont
983
983
  $fault: "client",
984
984
  $metadata: deserializeMetadata(output),
985
985
  });
986
- throw smithy_client_1.decorateServiceException(response, parsedBody);
986
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
987
987
  }
988
988
  };
989
989
  const deserializeAws_json1_1StopAccessLoggingCommand = async (output, context) => {
@@ -1025,7 +1025,7 @@ const deserializeAws_json1_1StopAccessLoggingCommandError = async (output, conte
1025
1025
  $fault: "client",
1026
1026
  $metadata: deserializeMetadata(output),
1027
1027
  });
1028
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1028
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1029
1029
  }
1030
1030
  };
1031
1031
  const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
@@ -1067,7 +1067,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1067
1067
  $fault: "client",
1068
1068
  $metadata: deserializeMetadata(output),
1069
1069
  });
1070
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1070
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1071
1071
  }
1072
1072
  };
1073
1073
  const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
@@ -1109,7 +1109,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
1109
1109
  $fault: "client",
1110
1110
  $metadata: deserializeMetadata(output),
1111
1111
  });
1112
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1112
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1113
1113
  }
1114
1114
  };
1115
1115
  const deserializeAws_json1_1ContainerInUseExceptionResponse = async (parsedOutput, context) => {
@@ -1119,7 +1119,7 @@ const deserializeAws_json1_1ContainerInUseExceptionResponse = async (parsedOutpu
1119
1119
  $metadata: deserializeMetadata(parsedOutput),
1120
1120
  ...deserialized,
1121
1121
  });
1122
- return smithy_client_1.decorateServiceException(exception, body);
1122
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1123
1123
  };
1124
1124
  const deserializeAws_json1_1ContainerNotFoundExceptionResponse = async (parsedOutput, context) => {
1125
1125
  const body = parsedOutput.body;
@@ -1128,7 +1128,7 @@ const deserializeAws_json1_1ContainerNotFoundExceptionResponse = async (parsedOu
1128
1128
  $metadata: deserializeMetadata(parsedOutput),
1129
1129
  ...deserialized,
1130
1130
  });
1131
- return smithy_client_1.decorateServiceException(exception, body);
1131
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1132
1132
  };
1133
1133
  const deserializeAws_json1_1CorsPolicyNotFoundExceptionResponse = async (parsedOutput, context) => {
1134
1134
  const body = parsedOutput.body;
@@ -1137,7 +1137,7 @@ const deserializeAws_json1_1CorsPolicyNotFoundExceptionResponse = async (parsedO
1137
1137
  $metadata: deserializeMetadata(parsedOutput),
1138
1138
  ...deserialized,
1139
1139
  });
1140
- return smithy_client_1.decorateServiceException(exception, body);
1140
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1141
1141
  };
1142
1142
  const deserializeAws_json1_1InternalServerErrorResponse = async (parsedOutput, context) => {
1143
1143
  const body = parsedOutput.body;
@@ -1146,7 +1146,7 @@ const deserializeAws_json1_1InternalServerErrorResponse = async (parsedOutput, c
1146
1146
  $metadata: deserializeMetadata(parsedOutput),
1147
1147
  ...deserialized,
1148
1148
  });
1149
- return smithy_client_1.decorateServiceException(exception, body);
1149
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1150
1150
  };
1151
1151
  const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
1152
1152
  const body = parsedOutput.body;
@@ -1155,7 +1155,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
1155
1155
  $metadata: deserializeMetadata(parsedOutput),
1156
1156
  ...deserialized,
1157
1157
  });
1158
- return smithy_client_1.decorateServiceException(exception, body);
1158
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1159
1159
  };
1160
1160
  const deserializeAws_json1_1PolicyNotFoundExceptionResponse = async (parsedOutput, context) => {
1161
1161
  const body = parsedOutput.body;
@@ -1164,7 +1164,7 @@ const deserializeAws_json1_1PolicyNotFoundExceptionResponse = async (parsedOutpu
1164
1164
  $metadata: deserializeMetadata(parsedOutput),
1165
1165
  ...deserialized,
1166
1166
  });
1167
- return smithy_client_1.decorateServiceException(exception, body);
1167
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1168
1168
  };
1169
1169
  const serializeAws_json1_1AllowedHeaders = (input, context) => {
1170
1170
  return input
@@ -1414,7 +1414,7 @@ const deserializeAws_json1_1AllowedHeaders = (output, context) => {
1414
1414
  if (entry === null) {
1415
1415
  return null;
1416
1416
  }
1417
- return smithy_client_1.expectString(entry);
1417
+ return (0, smithy_client_1.expectString)(entry);
1418
1418
  });
1419
1419
  return retVal;
1420
1420
  };
@@ -1425,7 +1425,7 @@ const deserializeAws_json1_1AllowedMethods = (output, context) => {
1425
1425
  if (entry === null) {
1426
1426
  return null;
1427
1427
  }
1428
- return smithy_client_1.expectString(entry);
1428
+ return (0, smithy_client_1.expectString)(entry);
1429
1429
  });
1430
1430
  return retVal;
1431
1431
  };
@@ -1436,25 +1436,25 @@ const deserializeAws_json1_1AllowedOrigins = (output, context) => {
1436
1436
  if (entry === null) {
1437
1437
  return null;
1438
1438
  }
1439
- return smithy_client_1.expectString(entry);
1439
+ return (0, smithy_client_1.expectString)(entry);
1440
1440
  });
1441
1441
  return retVal;
1442
1442
  };
1443
1443
  const deserializeAws_json1_1Container = (output, context) => {
1444
1444
  return {
1445
- ARN: smithy_client_1.expectString(output.ARN),
1446
- AccessLoggingEnabled: smithy_client_1.expectBoolean(output.AccessLoggingEnabled),
1445
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
1446
+ AccessLoggingEnabled: (0, smithy_client_1.expectBoolean)(output.AccessLoggingEnabled),
1447
1447
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
1448
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
1448
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
1449
1449
  : undefined,
1450
- Endpoint: smithy_client_1.expectString(output.Endpoint),
1451
- Name: smithy_client_1.expectString(output.Name),
1452
- Status: smithy_client_1.expectString(output.Status),
1450
+ Endpoint: (0, smithy_client_1.expectString)(output.Endpoint),
1451
+ Name: (0, smithy_client_1.expectString)(output.Name),
1452
+ Status: (0, smithy_client_1.expectString)(output.Status),
1453
1453
  };
1454
1454
  };
1455
1455
  const deserializeAws_json1_1ContainerInUseException = (output, context) => {
1456
1456
  return {
1457
- Message: smithy_client_1.expectString(output.Message),
1457
+ Message: (0, smithy_client_1.expectString)(output.Message),
1458
1458
  };
1459
1459
  };
1460
1460
  const deserializeAws_json1_1ContainerList = (output, context) => {
@@ -1470,7 +1470,7 @@ const deserializeAws_json1_1ContainerList = (output, context) => {
1470
1470
  };
1471
1471
  const deserializeAws_json1_1ContainerNotFoundException = (output, context) => {
1472
1472
  return {
1473
- Message: smithy_client_1.expectString(output.Message),
1473
+ Message: (0, smithy_client_1.expectString)(output.Message),
1474
1474
  };
1475
1475
  };
1476
1476
  const deserializeAws_json1_1CorsPolicy = (output, context) => {
@@ -1486,7 +1486,7 @@ const deserializeAws_json1_1CorsPolicy = (output, context) => {
1486
1486
  };
1487
1487
  const deserializeAws_json1_1CorsPolicyNotFoundException = (output, context) => {
1488
1488
  return {
1489
- Message: smithy_client_1.expectString(output.Message),
1489
+ Message: (0, smithy_client_1.expectString)(output.Message),
1490
1490
  };
1491
1491
  };
1492
1492
  const deserializeAws_json1_1CorsRule = (output, context) => {
@@ -1503,7 +1503,7 @@ const deserializeAws_json1_1CorsRule = (output, context) => {
1503
1503
  ExposeHeaders: output.ExposeHeaders !== undefined && output.ExposeHeaders !== null
1504
1504
  ? deserializeAws_json1_1ExposeHeaders(output.ExposeHeaders, context)
1505
1505
  : undefined,
1506
- MaxAgeSeconds: smithy_client_1.expectInt32(output.MaxAgeSeconds),
1506
+ MaxAgeSeconds: (0, smithy_client_1.expectInt32)(output.MaxAgeSeconds),
1507
1507
  };
1508
1508
  };
1509
1509
  const deserializeAws_json1_1CreateContainerOutput = (output, context) => {
@@ -1542,13 +1542,13 @@ const deserializeAws_json1_1ExposeHeaders = (output, context) => {
1542
1542
  if (entry === null) {
1543
1543
  return null;
1544
1544
  }
1545
- return smithy_client_1.expectString(entry);
1545
+ return (0, smithy_client_1.expectString)(entry);
1546
1546
  });
1547
1547
  return retVal;
1548
1548
  };
1549
1549
  const deserializeAws_json1_1GetContainerPolicyOutput = (output, context) => {
1550
1550
  return {
1551
- Policy: smithy_client_1.expectString(output.Policy),
1551
+ Policy: (0, smithy_client_1.expectString)(output.Policy),
1552
1552
  };
1553
1553
  };
1554
1554
  const deserializeAws_json1_1GetCorsPolicyOutput = (output, context) => {
@@ -1560,7 +1560,7 @@ const deserializeAws_json1_1GetCorsPolicyOutput = (output, context) => {
1560
1560
  };
1561
1561
  const deserializeAws_json1_1GetLifecyclePolicyOutput = (output, context) => {
1562
1562
  return {
1563
- LifecyclePolicy: smithy_client_1.expectString(output.LifecyclePolicy),
1563
+ LifecyclePolicy: (0, smithy_client_1.expectString)(output.LifecyclePolicy),
1564
1564
  };
1565
1565
  };
1566
1566
  const deserializeAws_json1_1GetMetricPolicyOutput = (output, context) => {
@@ -1572,12 +1572,12 @@ const deserializeAws_json1_1GetMetricPolicyOutput = (output, context) => {
1572
1572
  };
1573
1573
  const deserializeAws_json1_1InternalServerError = (output, context) => {
1574
1574
  return {
1575
- Message: smithy_client_1.expectString(output.Message),
1575
+ Message: (0, smithy_client_1.expectString)(output.Message),
1576
1576
  };
1577
1577
  };
1578
1578
  const deserializeAws_json1_1LimitExceededException = (output, context) => {
1579
1579
  return {
1580
- Message: smithy_client_1.expectString(output.Message),
1580
+ Message: (0, smithy_client_1.expectString)(output.Message),
1581
1581
  };
1582
1582
  };
1583
1583
  const deserializeAws_json1_1ListContainersOutput = (output, context) => {
@@ -1585,7 +1585,7 @@ const deserializeAws_json1_1ListContainersOutput = (output, context) => {
1585
1585
  Containers: output.Containers !== undefined && output.Containers !== null
1586
1586
  ? deserializeAws_json1_1ContainerList(output.Containers, context)
1587
1587
  : undefined,
1588
- NextToken: smithy_client_1.expectString(output.NextToken),
1588
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1589
1589
  };
1590
1590
  };
1591
1591
  const deserializeAws_json1_1ListTagsForResourceOutput = (output, context) => {
@@ -1597,7 +1597,7 @@ const deserializeAws_json1_1ListTagsForResourceOutput = (output, context) => {
1597
1597
  };
1598
1598
  const deserializeAws_json1_1MetricPolicy = (output, context) => {
1599
1599
  return {
1600
- ContainerLevelMetrics: smithy_client_1.expectString(output.ContainerLevelMetrics),
1600
+ ContainerLevelMetrics: (0, smithy_client_1.expectString)(output.ContainerLevelMetrics),
1601
1601
  MetricPolicyRules: output.MetricPolicyRules !== undefined && output.MetricPolicyRules !== null
1602
1602
  ? deserializeAws_json1_1MetricPolicyRules(output.MetricPolicyRules, context)
1603
1603
  : undefined,
@@ -1605,8 +1605,8 @@ const deserializeAws_json1_1MetricPolicy = (output, context) => {
1605
1605
  };
1606
1606
  const deserializeAws_json1_1MetricPolicyRule = (output, context) => {
1607
1607
  return {
1608
- ObjectGroup: smithy_client_1.expectString(output.ObjectGroup),
1609
- ObjectGroupName: smithy_client_1.expectString(output.ObjectGroupName),
1608
+ ObjectGroup: (0, smithy_client_1.expectString)(output.ObjectGroup),
1609
+ ObjectGroupName: (0, smithy_client_1.expectString)(output.ObjectGroupName),
1610
1610
  };
1611
1611
  };
1612
1612
  const deserializeAws_json1_1MetricPolicyRules = (output, context) => {
@@ -1622,7 +1622,7 @@ const deserializeAws_json1_1MetricPolicyRules = (output, context) => {
1622
1622
  };
1623
1623
  const deserializeAws_json1_1PolicyNotFoundException = (output, context) => {
1624
1624
  return {
1625
- Message: smithy_client_1.expectString(output.Message),
1625
+ Message: (0, smithy_client_1.expectString)(output.Message),
1626
1626
  };
1627
1627
  };
1628
1628
  const deserializeAws_json1_1PutContainerPolicyOutput = (output, context) => {
@@ -1645,8 +1645,8 @@ const deserializeAws_json1_1StopAccessLoggingOutput = (output, context) => {
1645
1645
  };
1646
1646
  const deserializeAws_json1_1Tag = (output, context) => {
1647
1647
  return {
1648
- Key: smithy_client_1.expectString(output.Key),
1649
- Value: smithy_client_1.expectString(output.Value),
1648
+ Key: (0, smithy_client_1.expectString)(output.Key),
1649
+ Value: (0, smithy_client_1.expectString)(output.Value),
1650
1650
  };
1651
1651
  };
1652
1652
  const deserializeAws_json1_1TagList = (output, context) => {
@@ -17,9 +17,9 @@ 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
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
- const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
20
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
21
21
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
22
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
23
23
  return {
24
24
  ...clientSharedValues,
25
25
  ...config,
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
29
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
30
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
31
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 : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
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
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 : invalid_dependency_1.invalidProvider("Region is missing"),
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
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
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
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
@@ -19,9 +19,9 @@ 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 getRuntimeConfig = (config) => {
21
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
22
- const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
22
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
24
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  return {
26
26
  ...clientSharedValues,
27
27
  ...config,
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
30
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
31
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
32
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
33
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
34
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
33
+ 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),
34
+ 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 }),
35
+ 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),
36
+ 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),
37
37
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
39
39
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
40
  default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
41
  }),
42
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
43
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
44
- useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
44
+ 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),
45
+ 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),
46
46
  utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
47
47
  utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
48
48
  };
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
6
  const getRuntimeConfig = (config) => {
7
7
  var _a;
8
- const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
8
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
9
9
  return {
10
10
  ...browserDefaults,
11
11
  ...config,