@aws-sdk/client-memorydb 3.54.1 → 3.55.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 (46) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/MemoryDBClient.js +13 -13
  3. package/dist-cjs/commands/BatchUpdateClusterCommand.js +3 -3
  4. package/dist-cjs/commands/CopySnapshotCommand.js +3 -3
  5. package/dist-cjs/commands/CreateACLCommand.js +3 -3
  6. package/dist-cjs/commands/CreateClusterCommand.js +3 -3
  7. package/dist-cjs/commands/CreateParameterGroupCommand.js +3 -3
  8. package/dist-cjs/commands/CreateSnapshotCommand.js +3 -3
  9. package/dist-cjs/commands/CreateSubnetGroupCommand.js +3 -3
  10. package/dist-cjs/commands/CreateUserCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteACLCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteClusterCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteParameterGroupCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteSnapshotCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteSubnetGroupCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteUserCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeACLsCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeClustersCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeEngineVersionsCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeEventsCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeParameterGroupsCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeParametersCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeServiceUpdatesCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeSnapshotsCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeSubnetGroupsCommand.js +3 -3
  26. package/dist-cjs/commands/DescribeUsersCommand.js +3 -3
  27. package/dist-cjs/commands/FailoverShardCommand.js +3 -3
  28. package/dist-cjs/commands/ListAllowedNodeTypeUpdatesCommand.js +3 -3
  29. package/dist-cjs/commands/ListTagsCommand.js +3 -3
  30. package/dist-cjs/commands/ResetParameterGroupCommand.js +3 -3
  31. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  32. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  33. package/dist-cjs/commands/UpdateACLCommand.js +3 -3
  34. package/dist-cjs/commands/UpdateClusterCommand.js +3 -3
  35. package/dist-cjs/commands/UpdateParameterGroupCommand.js +3 -3
  36. package/dist-cjs/commands/UpdateSubnetGroupCommand.js +3 -3
  37. package/dist-cjs/commands/UpdateUserCommand.js +3 -3
  38. package/dist-cjs/endpoints.js +1 -1
  39. package/dist-cjs/protocols/Aws_json1_1.js +254 -254
  40. package/dist-cjs/runtimeConfig.browser.js +4 -4
  41. package/dist-cjs/runtimeConfig.js +9 -9
  42. package/dist-cjs/runtimeConfig.native.js +1 -1
  43. package/dist-es/MemoryDB.js +35 -35
  44. package/dist-types/runtimeConfig.native.d.ts +2 -2
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  46. package/package.json +34 -34
@@ -392,7 +392,7 @@ const deserializeAws_json1_1BatchUpdateClusterCommandError = async (output, cont
392
392
  $fault: "client",
393
393
  $metadata: deserializeMetadata(output),
394
394
  });
395
- throw smithy_client_1.decorateServiceException(response, parsedBody);
395
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
396
396
  }
397
397
  };
398
398
  const deserializeAws_json1_1CopySnapshotCommand = async (output, context) => {
@@ -449,7 +449,7 @@ const deserializeAws_json1_1CopySnapshotCommandError = async (output, context) =
449
449
  $fault: "client",
450
450
  $metadata: deserializeMetadata(output),
451
451
  });
452
- throw smithy_client_1.decorateServiceException(response, parsedBody);
452
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
453
453
  }
454
454
  };
455
455
  const deserializeAws_json1_1CreateACLCommand = async (output, context) => {
@@ -503,7 +503,7 @@ const deserializeAws_json1_1CreateACLCommandError = async (output, context) => {
503
503
  $fault: "client",
504
504
  $metadata: deserializeMetadata(output),
505
505
  });
506
- throw smithy_client_1.decorateServiceException(response, parsedBody);
506
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
507
507
  }
508
508
  };
509
509
  const deserializeAws_json1_1CreateClusterCommand = async (output, context) => {
@@ -584,7 +584,7 @@ const deserializeAws_json1_1CreateClusterCommandError = async (output, context)
584
584
  $fault: "client",
585
585
  $metadata: deserializeMetadata(output),
586
586
  });
587
- throw smithy_client_1.decorateServiceException(response, parsedBody);
587
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
588
588
  }
589
589
  };
590
590
  const deserializeAws_json1_1CreateParameterGroupCommand = async (output, context) => {
@@ -638,7 +638,7 @@ const deserializeAws_json1_1CreateParameterGroupCommandError = async (output, co
638
638
  $fault: "client",
639
639
  $metadata: deserializeMetadata(output),
640
640
  });
641
- throw smithy_client_1.decorateServiceException(response, parsedBody);
641
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
642
642
  }
643
643
  };
644
644
  const deserializeAws_json1_1CreateSnapshotCommand = async (output, context) => {
@@ -695,7 +695,7 @@ const deserializeAws_json1_1CreateSnapshotCommandError = 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_1CreateSubnetGroupCommand = async (output, context) => {
@@ -749,7 +749,7 @@ const deserializeAws_json1_1CreateSubnetGroupCommandError = async (output, conte
749
749
  $fault: "client",
750
750
  $metadata: deserializeMetadata(output),
751
751
  });
752
- throw smithy_client_1.decorateServiceException(response, parsedBody);
752
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
753
753
  }
754
754
  };
755
755
  const deserializeAws_json1_1CreateUserCommand = async (output, context) => {
@@ -800,7 +800,7 @@ const deserializeAws_json1_1CreateUserCommandError = async (output, context) =>
800
800
  $fault: "client",
801
801
  $metadata: deserializeMetadata(output),
802
802
  });
803
- throw smithy_client_1.decorateServiceException(response, parsedBody);
803
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
804
804
  }
805
805
  };
806
806
  const deserializeAws_json1_1DeleteACLCommand = async (output, context) => {
@@ -842,7 +842,7 @@ const deserializeAws_json1_1DeleteACLCommandError = async (output, context) => {
842
842
  $fault: "client",
843
843
  $metadata: deserializeMetadata(output),
844
844
  });
845
- throw smithy_client_1.decorateServiceException(response, parsedBody);
845
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
846
846
  }
847
847
  };
848
848
  const deserializeAws_json1_1DeleteClusterCommand = async (output, context) => {
@@ -893,7 +893,7 @@ const deserializeAws_json1_1DeleteClusterCommandError = async (output, context)
893
893
  $fault: "client",
894
894
  $metadata: deserializeMetadata(output),
895
895
  });
896
- throw smithy_client_1.decorateServiceException(response, parsedBody);
896
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
897
897
  }
898
898
  };
899
899
  const deserializeAws_json1_1DeleteParameterGroupCommand = async (output, context) => {
@@ -941,7 +941,7 @@ const deserializeAws_json1_1DeleteParameterGroupCommandError = async (output, co
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_1DeleteSnapshotCommand = async (output, context) => {
@@ -989,7 +989,7 @@ const deserializeAws_json1_1DeleteSnapshotCommandError = async (output, context)
989
989
  $fault: "client",
990
990
  $metadata: deserializeMetadata(output),
991
991
  });
992
- throw smithy_client_1.decorateServiceException(response, parsedBody);
992
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
993
993
  }
994
994
  };
995
995
  const deserializeAws_json1_1DeleteSubnetGroupCommand = async (output, context) => {
@@ -1031,7 +1031,7 @@ const deserializeAws_json1_1DeleteSubnetGroupCommandError = async (output, conte
1031
1031
  $fault: "client",
1032
1032
  $metadata: deserializeMetadata(output),
1033
1033
  });
1034
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1034
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1035
1035
  }
1036
1036
  };
1037
1037
  const deserializeAws_json1_1DeleteUserCommand = async (output, context) => {
@@ -1073,7 +1073,7 @@ const deserializeAws_json1_1DeleteUserCommandError = async (output, context) =>
1073
1073
  $fault: "client",
1074
1074
  $metadata: deserializeMetadata(output),
1075
1075
  });
1076
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1076
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1077
1077
  }
1078
1078
  };
1079
1079
  const deserializeAws_json1_1DescribeACLsCommand = async (output, context) => {
@@ -1112,7 +1112,7 @@ const deserializeAws_json1_1DescribeACLsCommandError = async (output, context) =
1112
1112
  $fault: "client",
1113
1113
  $metadata: deserializeMetadata(output),
1114
1114
  });
1115
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1115
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1116
1116
  }
1117
1117
  };
1118
1118
  const deserializeAws_json1_1DescribeClustersCommand = async (output, context) => {
@@ -1157,7 +1157,7 @@ const deserializeAws_json1_1DescribeClustersCommandError = async (output, contex
1157
1157
  $fault: "client",
1158
1158
  $metadata: deserializeMetadata(output),
1159
1159
  });
1160
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1160
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1161
1161
  }
1162
1162
  };
1163
1163
  const deserializeAws_json1_1DescribeEngineVersionsCommand = async (output, context) => {
@@ -1199,7 +1199,7 @@ const deserializeAws_json1_1DescribeEngineVersionsCommandError = async (output,
1199
1199
  $fault: "client",
1200
1200
  $metadata: deserializeMetadata(output),
1201
1201
  });
1202
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1202
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1203
1203
  }
1204
1204
  };
1205
1205
  const deserializeAws_json1_1DescribeEventsCommand = async (output, context) => {
@@ -1241,7 +1241,7 @@ const deserializeAws_json1_1DescribeEventsCommandError = async (output, context)
1241
1241
  $fault: "client",
1242
1242
  $metadata: deserializeMetadata(output),
1243
1243
  });
1244
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1244
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1245
1245
  }
1246
1246
  };
1247
1247
  const deserializeAws_json1_1DescribeParameterGroupsCommand = async (output, context) => {
@@ -1286,7 +1286,7 @@ const deserializeAws_json1_1DescribeParameterGroupsCommandError = async (output,
1286
1286
  $fault: "client",
1287
1287
  $metadata: deserializeMetadata(output),
1288
1288
  });
1289
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1289
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1290
1290
  }
1291
1291
  };
1292
1292
  const deserializeAws_json1_1DescribeParametersCommand = async (output, context) => {
@@ -1331,7 +1331,7 @@ const deserializeAws_json1_1DescribeParametersCommandError = async (output, cont
1331
1331
  $fault: "client",
1332
1332
  $metadata: deserializeMetadata(output),
1333
1333
  });
1334
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1334
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1335
1335
  }
1336
1336
  };
1337
1337
  const deserializeAws_json1_1DescribeServiceUpdatesCommand = async (output, context) => {
@@ -1370,7 +1370,7 @@ const deserializeAws_json1_1DescribeServiceUpdatesCommandError = async (output,
1370
1370
  $fault: "client",
1371
1371
  $metadata: deserializeMetadata(output),
1372
1372
  });
1373
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1373
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1374
1374
  }
1375
1375
  };
1376
1376
  const deserializeAws_json1_1DescribeSnapshotsCommand = async (output, context) => {
@@ -1415,7 +1415,7 @@ const deserializeAws_json1_1DescribeSnapshotsCommandError = async (output, conte
1415
1415
  $fault: "client",
1416
1416
  $metadata: deserializeMetadata(output),
1417
1417
  });
1418
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1418
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1419
1419
  }
1420
1420
  };
1421
1421
  const deserializeAws_json1_1DescribeSubnetGroupsCommand = async (output, context) => {
@@ -1454,7 +1454,7 @@ const deserializeAws_json1_1DescribeSubnetGroupsCommandError = async (output, co
1454
1454
  $fault: "client",
1455
1455
  $metadata: deserializeMetadata(output),
1456
1456
  });
1457
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1457
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1458
1458
  }
1459
1459
  };
1460
1460
  const deserializeAws_json1_1DescribeUsersCommand = async (output, context) => {
@@ -1493,7 +1493,7 @@ const deserializeAws_json1_1DescribeUsersCommandError = async (output, context)
1493
1493
  $fault: "client",
1494
1494
  $metadata: deserializeMetadata(output),
1495
1495
  });
1496
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1496
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1497
1497
  }
1498
1498
  };
1499
1499
  const deserializeAws_json1_1FailoverShardCommand = async (output, context) => {
@@ -1550,7 +1550,7 @@ const deserializeAws_json1_1FailoverShardCommandError = async (output, context)
1550
1550
  $fault: "client",
1551
1551
  $metadata: deserializeMetadata(output),
1552
1552
  });
1553
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1553
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1554
1554
  }
1555
1555
  };
1556
1556
  const deserializeAws_json1_1ListAllowedNodeTypeUpdatesCommand = async (output, context) => {
@@ -1595,7 +1595,7 @@ const deserializeAws_json1_1ListAllowedNodeTypeUpdatesCommandError = async (outp
1595
1595
  $fault: "client",
1596
1596
  $metadata: deserializeMetadata(output),
1597
1597
  });
1598
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1598
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1599
1599
  }
1600
1600
  };
1601
1601
  const deserializeAws_json1_1ListTagsCommand = async (output, context) => {
@@ -1655,7 +1655,7 @@ const deserializeAws_json1_1ListTagsCommandError = async (output, context) => {
1655
1655
  $fault: "client",
1656
1656
  $metadata: deserializeMetadata(output),
1657
1657
  });
1658
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1658
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1659
1659
  }
1660
1660
  };
1661
1661
  const deserializeAws_json1_1ResetParameterGroupCommand = async (output, context) => {
@@ -1703,7 +1703,7 @@ const deserializeAws_json1_1ResetParameterGroupCommandError = async (output, con
1703
1703
  $fault: "client",
1704
1704
  $metadata: deserializeMetadata(output),
1705
1705
  });
1706
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1706
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1707
1707
  }
1708
1708
  };
1709
1709
  const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
@@ -1766,7 +1766,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1766
1766
  $fault: "client",
1767
1767
  $metadata: deserializeMetadata(output),
1768
1768
  });
1769
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1769
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1770
1770
  }
1771
1771
  };
1772
1772
  const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
@@ -1829,7 +1829,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
1829
1829
  $fault: "client",
1830
1830
  $metadata: deserializeMetadata(output),
1831
1831
  });
1832
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1832
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1833
1833
  }
1834
1834
  };
1835
1835
  const deserializeAws_json1_1UpdateACLCommand = async (output, context) => {
@@ -1883,7 +1883,7 @@ const deserializeAws_json1_1UpdateACLCommandError = async (output, context) => {
1883
1883
  $fault: "client",
1884
1884
  $metadata: deserializeMetadata(output),
1885
1885
  });
1886
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1886
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1887
1887
  }
1888
1888
  };
1889
1889
  const deserializeAws_json1_1UpdateClusterCommand = async (output, context) => {
@@ -1964,7 +1964,7 @@ const deserializeAws_json1_1UpdateClusterCommandError = async (output, context)
1964
1964
  $fault: "client",
1965
1965
  $metadata: deserializeMetadata(output),
1966
1966
  });
1967
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1967
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1968
1968
  }
1969
1969
  };
1970
1970
  const deserializeAws_json1_1UpdateParameterGroupCommand = async (output, context) => {
@@ -2012,7 +2012,7 @@ const deserializeAws_json1_1UpdateParameterGroupCommandError = async (output, co
2012
2012
  $fault: "client",
2013
2013
  $metadata: deserializeMetadata(output),
2014
2014
  });
2015
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2015
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2016
2016
  }
2017
2017
  };
2018
2018
  const deserializeAws_json1_1UpdateSubnetGroupCommand = async (output, context) => {
@@ -2063,7 +2063,7 @@ const deserializeAws_json1_1UpdateSubnetGroupCommandError = async (output, conte
2063
2063
  $fault: "client",
2064
2064
  $metadata: deserializeMetadata(output),
2065
2065
  });
2066
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2066
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2067
2067
  }
2068
2068
  };
2069
2069
  const deserializeAws_json1_1UpdateUserCommand = async (output, context) => {
@@ -2108,7 +2108,7 @@ const deserializeAws_json1_1UpdateUserCommandError = async (output, context) =>
2108
2108
  $fault: "client",
2109
2109
  $metadata: deserializeMetadata(output),
2110
2110
  });
2111
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2111
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2112
2112
  }
2113
2113
  };
2114
2114
  const deserializeAws_json1_1ACLAlreadyExistsFaultResponse = async (parsedOutput, context) => {
@@ -2118,7 +2118,7 @@ const deserializeAws_json1_1ACLAlreadyExistsFaultResponse = async (parsedOutput,
2118
2118
  $metadata: deserializeMetadata(parsedOutput),
2119
2119
  ...deserialized,
2120
2120
  });
2121
- return smithy_client_1.decorateServiceException(exception, body);
2121
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2122
2122
  };
2123
2123
  const deserializeAws_json1_1ACLNotFoundFaultResponse = async (parsedOutput, context) => {
2124
2124
  const body = parsedOutput.body;
@@ -2127,7 +2127,7 @@ const deserializeAws_json1_1ACLNotFoundFaultResponse = async (parsedOutput, cont
2127
2127
  $metadata: deserializeMetadata(parsedOutput),
2128
2128
  ...deserialized,
2129
2129
  });
2130
- return smithy_client_1.decorateServiceException(exception, body);
2130
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2131
2131
  };
2132
2132
  const deserializeAws_json1_1ACLQuotaExceededFaultResponse = async (parsedOutput, context) => {
2133
2133
  const body = parsedOutput.body;
@@ -2136,7 +2136,7 @@ const deserializeAws_json1_1ACLQuotaExceededFaultResponse = async (parsedOutput,
2136
2136
  $metadata: deserializeMetadata(parsedOutput),
2137
2137
  ...deserialized,
2138
2138
  });
2139
- return smithy_client_1.decorateServiceException(exception, body);
2139
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2140
2140
  };
2141
2141
  const deserializeAws_json1_1APICallRateForCustomerExceededFaultResponse = async (parsedOutput, context) => {
2142
2142
  const body = parsedOutput.body;
@@ -2145,7 +2145,7 @@ const deserializeAws_json1_1APICallRateForCustomerExceededFaultResponse = async
2145
2145
  $metadata: deserializeMetadata(parsedOutput),
2146
2146
  ...deserialized,
2147
2147
  });
2148
- return smithy_client_1.decorateServiceException(exception, body);
2148
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2149
2149
  };
2150
2150
  const deserializeAws_json1_1ClusterAlreadyExistsFaultResponse = async (parsedOutput, context) => {
2151
2151
  const body = parsedOutput.body;
@@ -2154,7 +2154,7 @@ const deserializeAws_json1_1ClusterAlreadyExistsFaultResponse = async (parsedOut
2154
2154
  $metadata: deserializeMetadata(parsedOutput),
2155
2155
  ...deserialized,
2156
2156
  });
2157
- return smithy_client_1.decorateServiceException(exception, body);
2157
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2158
2158
  };
2159
2159
  const deserializeAws_json1_1ClusterNotFoundFaultResponse = async (parsedOutput, context) => {
2160
2160
  const body = parsedOutput.body;
@@ -2163,7 +2163,7 @@ const deserializeAws_json1_1ClusterNotFoundFaultResponse = async (parsedOutput,
2163
2163
  $metadata: deserializeMetadata(parsedOutput),
2164
2164
  ...deserialized,
2165
2165
  });
2166
- return smithy_client_1.decorateServiceException(exception, body);
2166
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2167
2167
  };
2168
2168
  const deserializeAws_json1_1ClusterQuotaForCustomerExceededFaultResponse = async (parsedOutput, context) => {
2169
2169
  const body = parsedOutput.body;
@@ -2172,7 +2172,7 @@ const deserializeAws_json1_1ClusterQuotaForCustomerExceededFaultResponse = async
2172
2172
  $metadata: deserializeMetadata(parsedOutput),
2173
2173
  ...deserialized,
2174
2174
  });
2175
- return smithy_client_1.decorateServiceException(exception, body);
2175
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2176
2176
  };
2177
2177
  const deserializeAws_json1_1DefaultUserRequiredResponse = async (parsedOutput, context) => {
2178
2178
  const body = parsedOutput.body;
@@ -2181,7 +2181,7 @@ const deserializeAws_json1_1DefaultUserRequiredResponse = async (parsedOutput, c
2181
2181
  $metadata: deserializeMetadata(parsedOutput),
2182
2182
  ...deserialized,
2183
2183
  });
2184
- return smithy_client_1.decorateServiceException(exception, body);
2184
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2185
2185
  };
2186
2186
  const deserializeAws_json1_1DuplicateUserNameFaultResponse = async (parsedOutput, context) => {
2187
2187
  const body = parsedOutput.body;
@@ -2190,7 +2190,7 @@ const deserializeAws_json1_1DuplicateUserNameFaultResponse = async (parsedOutput
2190
2190
  $metadata: deserializeMetadata(parsedOutput),
2191
2191
  ...deserialized,
2192
2192
  });
2193
- return smithy_client_1.decorateServiceException(exception, body);
2193
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2194
2194
  };
2195
2195
  const deserializeAws_json1_1InsufficientClusterCapacityFaultResponse = async (parsedOutput, context) => {
2196
2196
  const body = parsedOutput.body;
@@ -2199,7 +2199,7 @@ const deserializeAws_json1_1InsufficientClusterCapacityFaultResponse = async (pa
2199
2199
  $metadata: deserializeMetadata(parsedOutput),
2200
2200
  ...deserialized,
2201
2201
  });
2202
- return smithy_client_1.decorateServiceException(exception, body);
2202
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2203
2203
  };
2204
2204
  const deserializeAws_json1_1InvalidACLStateFaultResponse = async (parsedOutput, context) => {
2205
2205
  const body = parsedOutput.body;
@@ -2208,7 +2208,7 @@ const deserializeAws_json1_1InvalidACLStateFaultResponse = async (parsedOutput,
2208
2208
  $metadata: deserializeMetadata(parsedOutput),
2209
2209
  ...deserialized,
2210
2210
  });
2211
- return smithy_client_1.decorateServiceException(exception, body);
2211
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2212
2212
  };
2213
2213
  const deserializeAws_json1_1InvalidARNFaultResponse = async (parsedOutput, context) => {
2214
2214
  const body = parsedOutput.body;
@@ -2217,7 +2217,7 @@ const deserializeAws_json1_1InvalidARNFaultResponse = async (parsedOutput, conte
2217
2217
  $metadata: deserializeMetadata(parsedOutput),
2218
2218
  ...deserialized,
2219
2219
  });
2220
- return smithy_client_1.decorateServiceException(exception, body);
2220
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2221
2221
  };
2222
2222
  const deserializeAws_json1_1InvalidClusterStateFaultResponse = async (parsedOutput, context) => {
2223
2223
  const body = parsedOutput.body;
@@ -2226,7 +2226,7 @@ const deserializeAws_json1_1InvalidClusterStateFaultResponse = async (parsedOutp
2226
2226
  $metadata: deserializeMetadata(parsedOutput),
2227
2227
  ...deserialized,
2228
2228
  });
2229
- return smithy_client_1.decorateServiceException(exception, body);
2229
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2230
2230
  };
2231
2231
  const deserializeAws_json1_1InvalidCredentialsExceptionResponse = async (parsedOutput, context) => {
2232
2232
  const body = parsedOutput.body;
@@ -2235,7 +2235,7 @@ const deserializeAws_json1_1InvalidCredentialsExceptionResponse = async (parsedO
2235
2235
  $metadata: deserializeMetadata(parsedOutput),
2236
2236
  ...deserialized,
2237
2237
  });
2238
- return smithy_client_1.decorateServiceException(exception, body);
2238
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2239
2239
  };
2240
2240
  const deserializeAws_json1_1InvalidKMSKeyFaultResponse = async (parsedOutput, context) => {
2241
2241
  const body = parsedOutput.body;
@@ -2244,7 +2244,7 @@ const deserializeAws_json1_1InvalidKMSKeyFaultResponse = async (parsedOutput, co
2244
2244
  $metadata: deserializeMetadata(parsedOutput),
2245
2245
  ...deserialized,
2246
2246
  });
2247
- return smithy_client_1.decorateServiceException(exception, body);
2247
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2248
2248
  };
2249
2249
  const deserializeAws_json1_1InvalidNodeStateFaultResponse = async (parsedOutput, context) => {
2250
2250
  const body = parsedOutput.body;
@@ -2253,7 +2253,7 @@ const deserializeAws_json1_1InvalidNodeStateFaultResponse = async (parsedOutput,
2253
2253
  $metadata: deserializeMetadata(parsedOutput),
2254
2254
  ...deserialized,
2255
2255
  });
2256
- return smithy_client_1.decorateServiceException(exception, body);
2256
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2257
2257
  };
2258
2258
  const deserializeAws_json1_1InvalidParameterCombinationExceptionResponse = async (parsedOutput, context) => {
2259
2259
  const body = parsedOutput.body;
@@ -2262,7 +2262,7 @@ const deserializeAws_json1_1InvalidParameterCombinationExceptionResponse = async
2262
2262
  $metadata: deserializeMetadata(parsedOutput),
2263
2263
  ...deserialized,
2264
2264
  });
2265
- return smithy_client_1.decorateServiceException(exception, body);
2265
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2266
2266
  };
2267
2267
  const deserializeAws_json1_1InvalidParameterGroupStateFaultResponse = async (parsedOutput, context) => {
2268
2268
  const body = parsedOutput.body;
@@ -2271,7 +2271,7 @@ const deserializeAws_json1_1InvalidParameterGroupStateFaultResponse = async (par
2271
2271
  $metadata: deserializeMetadata(parsedOutput),
2272
2272
  ...deserialized,
2273
2273
  });
2274
- return smithy_client_1.decorateServiceException(exception, body);
2274
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2275
2275
  };
2276
2276
  const deserializeAws_json1_1InvalidParameterValueExceptionResponse = async (parsedOutput, context) => {
2277
2277
  const body = parsedOutput.body;
@@ -2280,7 +2280,7 @@ const deserializeAws_json1_1InvalidParameterValueExceptionResponse = async (pars
2280
2280
  $metadata: deserializeMetadata(parsedOutput),
2281
2281
  ...deserialized,
2282
2282
  });
2283
- return smithy_client_1.decorateServiceException(exception, body);
2283
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2284
2284
  };
2285
2285
  const deserializeAws_json1_1InvalidSnapshotStateFaultResponse = async (parsedOutput, context) => {
2286
2286
  const body = parsedOutput.body;
@@ -2289,7 +2289,7 @@ const deserializeAws_json1_1InvalidSnapshotStateFaultResponse = async (parsedOut
2289
2289
  $metadata: deserializeMetadata(parsedOutput),
2290
2290
  ...deserialized,
2291
2291
  });
2292
- return smithy_client_1.decorateServiceException(exception, body);
2292
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2293
2293
  };
2294
2294
  const deserializeAws_json1_1InvalidSubnetResponse = async (parsedOutput, context) => {
2295
2295
  const body = parsedOutput.body;
@@ -2298,7 +2298,7 @@ const deserializeAws_json1_1InvalidSubnetResponse = async (parsedOutput, context
2298
2298
  $metadata: deserializeMetadata(parsedOutput),
2299
2299
  ...deserialized,
2300
2300
  });
2301
- return smithy_client_1.decorateServiceException(exception, body);
2301
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2302
2302
  };
2303
2303
  const deserializeAws_json1_1InvalidUserStateFaultResponse = async (parsedOutput, context) => {
2304
2304
  const body = parsedOutput.body;
@@ -2307,7 +2307,7 @@ const deserializeAws_json1_1InvalidUserStateFaultResponse = async (parsedOutput,
2307
2307
  $metadata: deserializeMetadata(parsedOutput),
2308
2308
  ...deserialized,
2309
2309
  });
2310
- return smithy_client_1.decorateServiceException(exception, body);
2310
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2311
2311
  };
2312
2312
  const deserializeAws_json1_1InvalidVPCNetworkStateFaultResponse = async (parsedOutput, context) => {
2313
2313
  const body = parsedOutput.body;
@@ -2316,7 +2316,7 @@ const deserializeAws_json1_1InvalidVPCNetworkStateFaultResponse = async (parsedO
2316
2316
  $metadata: deserializeMetadata(parsedOutput),
2317
2317
  ...deserialized,
2318
2318
  });
2319
- return smithy_client_1.decorateServiceException(exception, body);
2319
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2320
2320
  };
2321
2321
  const deserializeAws_json1_1NodeQuotaForClusterExceededFaultResponse = async (parsedOutput, context) => {
2322
2322
  const body = parsedOutput.body;
@@ -2325,7 +2325,7 @@ const deserializeAws_json1_1NodeQuotaForClusterExceededFaultResponse = async (pa
2325
2325
  $metadata: deserializeMetadata(parsedOutput),
2326
2326
  ...deserialized,
2327
2327
  });
2328
- return smithy_client_1.decorateServiceException(exception, body);
2328
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2329
2329
  };
2330
2330
  const deserializeAws_json1_1NodeQuotaForCustomerExceededFaultResponse = async (parsedOutput, context) => {
2331
2331
  const body = parsedOutput.body;
@@ -2334,7 +2334,7 @@ const deserializeAws_json1_1NodeQuotaForCustomerExceededFaultResponse = async (p
2334
2334
  $metadata: deserializeMetadata(parsedOutput),
2335
2335
  ...deserialized,
2336
2336
  });
2337
- return smithy_client_1.decorateServiceException(exception, body);
2337
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2338
2338
  };
2339
2339
  const deserializeAws_json1_1NoOperationFaultResponse = async (parsedOutput, context) => {
2340
2340
  const body = parsedOutput.body;
@@ -2343,7 +2343,7 @@ const deserializeAws_json1_1NoOperationFaultResponse = async (parsedOutput, cont
2343
2343
  $metadata: deserializeMetadata(parsedOutput),
2344
2344
  ...deserialized,
2345
2345
  });
2346
- return smithy_client_1.decorateServiceException(exception, body);
2346
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2347
2347
  };
2348
2348
  const deserializeAws_json1_1ParameterGroupAlreadyExistsFaultResponse = async (parsedOutput, context) => {
2349
2349
  const body = parsedOutput.body;
@@ -2352,7 +2352,7 @@ const deserializeAws_json1_1ParameterGroupAlreadyExistsFaultResponse = async (pa
2352
2352
  $metadata: deserializeMetadata(parsedOutput),
2353
2353
  ...deserialized,
2354
2354
  });
2355
- return smithy_client_1.decorateServiceException(exception, body);
2355
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2356
2356
  };
2357
2357
  const deserializeAws_json1_1ParameterGroupNotFoundFaultResponse = async (parsedOutput, context) => {
2358
2358
  const body = parsedOutput.body;
@@ -2361,7 +2361,7 @@ const deserializeAws_json1_1ParameterGroupNotFoundFaultResponse = async (parsedO
2361
2361
  $metadata: deserializeMetadata(parsedOutput),
2362
2362
  ...deserialized,
2363
2363
  });
2364
- return smithy_client_1.decorateServiceException(exception, body);
2364
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2365
2365
  };
2366
2366
  const deserializeAws_json1_1ParameterGroupQuotaExceededFaultResponse = async (parsedOutput, context) => {
2367
2367
  const body = parsedOutput.body;
@@ -2370,7 +2370,7 @@ const deserializeAws_json1_1ParameterGroupQuotaExceededFaultResponse = async (pa
2370
2370
  $metadata: deserializeMetadata(parsedOutput),
2371
2371
  ...deserialized,
2372
2372
  });
2373
- return smithy_client_1.decorateServiceException(exception, body);
2373
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2374
2374
  };
2375
2375
  const deserializeAws_json1_1ServiceLinkedRoleNotFoundFaultResponse = async (parsedOutput, context) => {
2376
2376
  const body = parsedOutput.body;
@@ -2379,7 +2379,7 @@ const deserializeAws_json1_1ServiceLinkedRoleNotFoundFaultResponse = async (pars
2379
2379
  $metadata: deserializeMetadata(parsedOutput),
2380
2380
  ...deserialized,
2381
2381
  });
2382
- return smithy_client_1.decorateServiceException(exception, body);
2382
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2383
2383
  };
2384
2384
  const deserializeAws_json1_1ServiceUpdateNotFoundFaultResponse = async (parsedOutput, context) => {
2385
2385
  const body = parsedOutput.body;
@@ -2388,7 +2388,7 @@ const deserializeAws_json1_1ServiceUpdateNotFoundFaultResponse = async (parsedOu
2388
2388
  $metadata: deserializeMetadata(parsedOutput),
2389
2389
  ...deserialized,
2390
2390
  });
2391
- return smithy_client_1.decorateServiceException(exception, body);
2391
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2392
2392
  };
2393
2393
  const deserializeAws_json1_1ShardNotFoundFaultResponse = async (parsedOutput, context) => {
2394
2394
  const body = parsedOutput.body;
@@ -2397,7 +2397,7 @@ const deserializeAws_json1_1ShardNotFoundFaultResponse = async (parsedOutput, co
2397
2397
  $metadata: deserializeMetadata(parsedOutput),
2398
2398
  ...deserialized,
2399
2399
  });
2400
- return smithy_client_1.decorateServiceException(exception, body);
2400
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2401
2401
  };
2402
2402
  const deserializeAws_json1_1ShardsPerClusterQuotaExceededFaultResponse = async (parsedOutput, context) => {
2403
2403
  const body = parsedOutput.body;
@@ -2406,7 +2406,7 @@ const deserializeAws_json1_1ShardsPerClusterQuotaExceededFaultResponse = async (
2406
2406
  $metadata: deserializeMetadata(parsedOutput),
2407
2407
  ...deserialized,
2408
2408
  });
2409
- return smithy_client_1.decorateServiceException(exception, body);
2409
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2410
2410
  };
2411
2411
  const deserializeAws_json1_1SnapshotAlreadyExistsFaultResponse = async (parsedOutput, context) => {
2412
2412
  const body = parsedOutput.body;
@@ -2415,7 +2415,7 @@ const deserializeAws_json1_1SnapshotAlreadyExistsFaultResponse = async (parsedOu
2415
2415
  $metadata: deserializeMetadata(parsedOutput),
2416
2416
  ...deserialized,
2417
2417
  });
2418
- return smithy_client_1.decorateServiceException(exception, body);
2418
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2419
2419
  };
2420
2420
  const deserializeAws_json1_1SnapshotNotFoundFaultResponse = async (parsedOutput, context) => {
2421
2421
  const body = parsedOutput.body;
@@ -2424,7 +2424,7 @@ const deserializeAws_json1_1SnapshotNotFoundFaultResponse = async (parsedOutput,
2424
2424
  $metadata: deserializeMetadata(parsedOutput),
2425
2425
  ...deserialized,
2426
2426
  });
2427
- return smithy_client_1.decorateServiceException(exception, body);
2427
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2428
2428
  };
2429
2429
  const deserializeAws_json1_1SnapshotQuotaExceededFaultResponse = async (parsedOutput, context) => {
2430
2430
  const body = parsedOutput.body;
@@ -2433,7 +2433,7 @@ const deserializeAws_json1_1SnapshotQuotaExceededFaultResponse = async (parsedOu
2433
2433
  $metadata: deserializeMetadata(parsedOutput),
2434
2434
  ...deserialized,
2435
2435
  });
2436
- return smithy_client_1.decorateServiceException(exception, body);
2436
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2437
2437
  };
2438
2438
  const deserializeAws_json1_1SubnetGroupAlreadyExistsFaultResponse = async (parsedOutput, context) => {
2439
2439
  const body = parsedOutput.body;
@@ -2442,7 +2442,7 @@ const deserializeAws_json1_1SubnetGroupAlreadyExistsFaultResponse = async (parse
2442
2442
  $metadata: deserializeMetadata(parsedOutput),
2443
2443
  ...deserialized,
2444
2444
  });
2445
- return smithy_client_1.decorateServiceException(exception, body);
2445
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2446
2446
  };
2447
2447
  const deserializeAws_json1_1SubnetGroupInUseFaultResponse = async (parsedOutput, context) => {
2448
2448
  const body = parsedOutput.body;
@@ -2451,7 +2451,7 @@ const deserializeAws_json1_1SubnetGroupInUseFaultResponse = async (parsedOutput,
2451
2451
  $metadata: deserializeMetadata(parsedOutput),
2452
2452
  ...deserialized,
2453
2453
  });
2454
- return smithy_client_1.decorateServiceException(exception, body);
2454
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2455
2455
  };
2456
2456
  const deserializeAws_json1_1SubnetGroupNotFoundFaultResponse = async (parsedOutput, context) => {
2457
2457
  const body = parsedOutput.body;
@@ -2460,7 +2460,7 @@ const deserializeAws_json1_1SubnetGroupNotFoundFaultResponse = async (parsedOutp
2460
2460
  $metadata: deserializeMetadata(parsedOutput),
2461
2461
  ...deserialized,
2462
2462
  });
2463
- return smithy_client_1.decorateServiceException(exception, body);
2463
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2464
2464
  };
2465
2465
  const deserializeAws_json1_1SubnetGroupQuotaExceededFaultResponse = async (parsedOutput, context) => {
2466
2466
  const body = parsedOutput.body;
@@ -2469,7 +2469,7 @@ const deserializeAws_json1_1SubnetGroupQuotaExceededFaultResponse = async (parse
2469
2469
  $metadata: deserializeMetadata(parsedOutput),
2470
2470
  ...deserialized,
2471
2471
  });
2472
- return smithy_client_1.decorateServiceException(exception, body);
2472
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2473
2473
  };
2474
2474
  const deserializeAws_json1_1SubnetInUseResponse = async (parsedOutput, context) => {
2475
2475
  const body = parsedOutput.body;
@@ -2478,7 +2478,7 @@ const deserializeAws_json1_1SubnetInUseResponse = async (parsedOutput, context)
2478
2478
  $metadata: deserializeMetadata(parsedOutput),
2479
2479
  ...deserialized,
2480
2480
  });
2481
- return smithy_client_1.decorateServiceException(exception, body);
2481
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2482
2482
  };
2483
2483
  const deserializeAws_json1_1SubnetNotAllowedFaultResponse = async (parsedOutput, context) => {
2484
2484
  const body = parsedOutput.body;
@@ -2487,7 +2487,7 @@ const deserializeAws_json1_1SubnetNotAllowedFaultResponse = async (parsedOutput,
2487
2487
  $metadata: deserializeMetadata(parsedOutput),
2488
2488
  ...deserialized,
2489
2489
  });
2490
- return smithy_client_1.decorateServiceException(exception, body);
2490
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2491
2491
  };
2492
2492
  const deserializeAws_json1_1SubnetQuotaExceededFaultResponse = async (parsedOutput, context) => {
2493
2493
  const body = parsedOutput.body;
@@ -2496,7 +2496,7 @@ const deserializeAws_json1_1SubnetQuotaExceededFaultResponse = async (parsedOutp
2496
2496
  $metadata: deserializeMetadata(parsedOutput),
2497
2497
  ...deserialized,
2498
2498
  });
2499
- return smithy_client_1.decorateServiceException(exception, body);
2499
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2500
2500
  };
2501
2501
  const deserializeAws_json1_1TagNotFoundFaultResponse = async (parsedOutput, context) => {
2502
2502
  const body = parsedOutput.body;
@@ -2505,7 +2505,7 @@ const deserializeAws_json1_1TagNotFoundFaultResponse = async (parsedOutput, cont
2505
2505
  $metadata: deserializeMetadata(parsedOutput),
2506
2506
  ...deserialized,
2507
2507
  });
2508
- return smithy_client_1.decorateServiceException(exception, body);
2508
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2509
2509
  };
2510
2510
  const deserializeAws_json1_1TagQuotaPerResourceExceededResponse = async (parsedOutput, context) => {
2511
2511
  const body = parsedOutput.body;
@@ -2514,7 +2514,7 @@ const deserializeAws_json1_1TagQuotaPerResourceExceededResponse = async (parsedO
2514
2514
  $metadata: deserializeMetadata(parsedOutput),
2515
2515
  ...deserialized,
2516
2516
  });
2517
- return smithy_client_1.decorateServiceException(exception, body);
2517
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2518
2518
  };
2519
2519
  const deserializeAws_json1_1TestFailoverNotAvailableFaultResponse = async (parsedOutput, context) => {
2520
2520
  const body = parsedOutput.body;
@@ -2523,7 +2523,7 @@ const deserializeAws_json1_1TestFailoverNotAvailableFaultResponse = async (parse
2523
2523
  $metadata: deserializeMetadata(parsedOutput),
2524
2524
  ...deserialized,
2525
2525
  });
2526
- return smithy_client_1.decorateServiceException(exception, body);
2526
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2527
2527
  };
2528
2528
  const deserializeAws_json1_1UserAlreadyExistsFaultResponse = async (parsedOutput, context) => {
2529
2529
  const body = parsedOutput.body;
@@ -2532,7 +2532,7 @@ const deserializeAws_json1_1UserAlreadyExistsFaultResponse = async (parsedOutput
2532
2532
  $metadata: deserializeMetadata(parsedOutput),
2533
2533
  ...deserialized,
2534
2534
  });
2535
- return smithy_client_1.decorateServiceException(exception, body);
2535
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2536
2536
  };
2537
2537
  const deserializeAws_json1_1UserNotFoundFaultResponse = async (parsedOutput, context) => {
2538
2538
  const body = parsedOutput.body;
@@ -2541,7 +2541,7 @@ const deserializeAws_json1_1UserNotFoundFaultResponse = async (parsedOutput, con
2541
2541
  $metadata: deserializeMetadata(parsedOutput),
2542
2542
  ...deserialized,
2543
2543
  });
2544
- return smithy_client_1.decorateServiceException(exception, body);
2544
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2545
2545
  };
2546
2546
  const deserializeAws_json1_1UserQuotaExceededFaultResponse = async (parsedOutput, context) => {
2547
2547
  const body = parsedOutput.body;
@@ -2550,7 +2550,7 @@ const deserializeAws_json1_1UserQuotaExceededFaultResponse = async (parsedOutput
2550
2550
  $metadata: deserializeMetadata(parsedOutput),
2551
2551
  ...deserialized,
2552
2552
  });
2553
- return smithy_client_1.decorateServiceException(exception, body);
2553
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2554
2554
  };
2555
2555
  const serializeAws_json1_1AuthenticationMode = (input, context) => {
2556
2556
  return {
@@ -3078,16 +3078,16 @@ const serializeAws_json1_1UserNameListInput = (input, context) => {
3078
3078
  };
3079
3079
  const deserializeAws_json1_1ACL = (output, context) => {
3080
3080
  return {
3081
- ARN: smithy_client_1.expectString(output.ARN),
3081
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
3082
3082
  Clusters: output.Clusters !== undefined && output.Clusters !== null
3083
3083
  ? deserializeAws_json1_1ACLClusterNameList(output.Clusters, context)
3084
3084
  : undefined,
3085
- MinimumEngineVersion: smithy_client_1.expectString(output.MinimumEngineVersion),
3086
- Name: smithy_client_1.expectString(output.Name),
3085
+ MinimumEngineVersion: (0, smithy_client_1.expectString)(output.MinimumEngineVersion),
3086
+ Name: (0, smithy_client_1.expectString)(output.Name),
3087
3087
  PendingChanges: output.PendingChanges !== undefined && output.PendingChanges !== null
3088
3088
  ? deserializeAws_json1_1ACLPendingChanges(output.PendingChanges, context)
3089
3089
  : undefined,
3090
- Status: smithy_client_1.expectString(output.Status),
3090
+ Status: (0, smithy_client_1.expectString)(output.Status),
3091
3091
  UserNames: output.UserNames !== undefined && output.UserNames !== null
3092
3092
  ? deserializeAws_json1_1UserNameList(output.UserNames, context)
3093
3093
  : undefined,
@@ -3095,7 +3095,7 @@ const deserializeAws_json1_1ACL = (output, context) => {
3095
3095
  };
3096
3096
  const deserializeAws_json1_1ACLAlreadyExistsFault = (output, context) => {
3097
3097
  return {
3098
- message: smithy_client_1.expectString(output.message),
3098
+ message: (0, smithy_client_1.expectString)(output.message),
3099
3099
  };
3100
3100
  };
3101
3101
  const deserializeAws_json1_1ACLClusterNameList = (output, context) => {
@@ -3105,7 +3105,7 @@ const deserializeAws_json1_1ACLClusterNameList = (output, context) => {
3105
3105
  if (entry === null) {
3106
3106
  return null;
3107
3107
  }
3108
- return smithy_client_1.expectString(entry);
3108
+ return (0, smithy_client_1.expectString)(entry);
3109
3109
  });
3110
3110
  return retVal;
3111
3111
  };
@@ -3127,13 +3127,13 @@ const deserializeAws_json1_1ACLNameList = (output, context) => {
3127
3127
  if (entry === null) {
3128
3128
  return null;
3129
3129
  }
3130
- return smithy_client_1.expectString(entry);
3130
+ return (0, smithy_client_1.expectString)(entry);
3131
3131
  });
3132
3132
  return retVal;
3133
3133
  };
3134
3134
  const deserializeAws_json1_1ACLNotFoundFault = (output, context) => {
3135
3135
  return {
3136
- message: smithy_client_1.expectString(output.message),
3136
+ message: (0, smithy_client_1.expectString)(output.message),
3137
3137
  };
3138
3138
  };
3139
3139
  const deserializeAws_json1_1ACLPendingChanges = (output, context) => {
@@ -3148,28 +3148,28 @@ const deserializeAws_json1_1ACLPendingChanges = (output, context) => {
3148
3148
  };
3149
3149
  const deserializeAws_json1_1ACLQuotaExceededFault = (output, context) => {
3150
3150
  return {
3151
- message: smithy_client_1.expectString(output.message),
3151
+ message: (0, smithy_client_1.expectString)(output.message),
3152
3152
  };
3153
3153
  };
3154
3154
  const deserializeAws_json1_1ACLsUpdateStatus = (output, context) => {
3155
3155
  return {
3156
- ACLToApply: smithy_client_1.expectString(output.ACLToApply),
3156
+ ACLToApply: (0, smithy_client_1.expectString)(output.ACLToApply),
3157
3157
  };
3158
3158
  };
3159
3159
  const deserializeAws_json1_1APICallRateForCustomerExceededFault = (output, context) => {
3160
3160
  return {
3161
- message: smithy_client_1.expectString(output.message),
3161
+ message: (0, smithy_client_1.expectString)(output.message),
3162
3162
  };
3163
3163
  };
3164
3164
  const deserializeAws_json1_1Authentication = (output, context) => {
3165
3165
  return {
3166
- PasswordCount: smithy_client_1.expectInt32(output.PasswordCount),
3167
- Type: smithy_client_1.expectString(output.Type),
3166
+ PasswordCount: (0, smithy_client_1.expectInt32)(output.PasswordCount),
3167
+ Type: (0, smithy_client_1.expectString)(output.Type),
3168
3168
  };
3169
3169
  };
3170
3170
  const deserializeAws_json1_1AvailabilityZone = (output, context) => {
3171
3171
  return {
3172
- Name: smithy_client_1.expectString(output.Name),
3172
+ Name: (0, smithy_client_1.expectString)(output.Name),
3173
3173
  };
3174
3174
  };
3175
3175
  const deserializeAws_json1_1BatchUpdateClusterResponse = (output, context) => {
@@ -3184,23 +3184,23 @@ const deserializeAws_json1_1BatchUpdateClusterResponse = (output, context) => {
3184
3184
  };
3185
3185
  const deserializeAws_json1_1Cluster = (output, context) => {
3186
3186
  return {
3187
- ACLName: smithy_client_1.expectString(output.ACLName),
3188
- ARN: smithy_client_1.expectString(output.ARN),
3189
- AutoMinorVersionUpgrade: smithy_client_1.expectBoolean(output.AutoMinorVersionUpgrade),
3190
- AvailabilityMode: smithy_client_1.expectString(output.AvailabilityMode),
3187
+ ACLName: (0, smithy_client_1.expectString)(output.ACLName),
3188
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
3189
+ AutoMinorVersionUpgrade: (0, smithy_client_1.expectBoolean)(output.AutoMinorVersionUpgrade),
3190
+ AvailabilityMode: (0, smithy_client_1.expectString)(output.AvailabilityMode),
3191
3191
  ClusterEndpoint: output.ClusterEndpoint !== undefined && output.ClusterEndpoint !== null
3192
3192
  ? deserializeAws_json1_1Endpoint(output.ClusterEndpoint, context)
3193
3193
  : undefined,
3194
- Description: smithy_client_1.expectString(output.Description),
3195
- EnginePatchVersion: smithy_client_1.expectString(output.EnginePatchVersion),
3196
- EngineVersion: smithy_client_1.expectString(output.EngineVersion),
3197
- KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
3198
- MaintenanceWindow: smithy_client_1.expectString(output.MaintenanceWindow),
3199
- Name: smithy_client_1.expectString(output.Name),
3200
- NodeType: smithy_client_1.expectString(output.NodeType),
3201
- NumberOfShards: smithy_client_1.expectInt32(output.NumberOfShards),
3202
- ParameterGroupName: smithy_client_1.expectString(output.ParameterGroupName),
3203
- ParameterGroupStatus: smithy_client_1.expectString(output.ParameterGroupStatus),
3194
+ Description: (0, smithy_client_1.expectString)(output.Description),
3195
+ EnginePatchVersion: (0, smithy_client_1.expectString)(output.EnginePatchVersion),
3196
+ EngineVersion: (0, smithy_client_1.expectString)(output.EngineVersion),
3197
+ KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
3198
+ MaintenanceWindow: (0, smithy_client_1.expectString)(output.MaintenanceWindow),
3199
+ Name: (0, smithy_client_1.expectString)(output.Name),
3200
+ NodeType: (0, smithy_client_1.expectString)(output.NodeType),
3201
+ NumberOfShards: (0, smithy_client_1.expectInt32)(output.NumberOfShards),
3202
+ ParameterGroupName: (0, smithy_client_1.expectString)(output.ParameterGroupName),
3203
+ ParameterGroupStatus: (0, smithy_client_1.expectString)(output.ParameterGroupStatus),
3204
3204
  PendingUpdates: output.PendingUpdates !== undefined && output.PendingUpdates !== null
3205
3205
  ? deserializeAws_json1_1ClusterPendingUpdates(output.PendingUpdates, context)
3206
3206
  : undefined,
@@ -3210,38 +3210,38 @@ const deserializeAws_json1_1Cluster = (output, context) => {
3210
3210
  Shards: output.Shards !== undefined && output.Shards !== null
3211
3211
  ? deserializeAws_json1_1ShardList(output.Shards, context)
3212
3212
  : undefined,
3213
- SnapshotRetentionLimit: smithy_client_1.expectInt32(output.SnapshotRetentionLimit),
3214
- SnapshotWindow: smithy_client_1.expectString(output.SnapshotWindow),
3215
- SnsTopicArn: smithy_client_1.expectString(output.SnsTopicArn),
3216
- SnsTopicStatus: smithy_client_1.expectString(output.SnsTopicStatus),
3217
- Status: smithy_client_1.expectString(output.Status),
3218
- SubnetGroupName: smithy_client_1.expectString(output.SubnetGroupName),
3219
- TLSEnabled: smithy_client_1.expectBoolean(output.TLSEnabled),
3213
+ SnapshotRetentionLimit: (0, smithy_client_1.expectInt32)(output.SnapshotRetentionLimit),
3214
+ SnapshotWindow: (0, smithy_client_1.expectString)(output.SnapshotWindow),
3215
+ SnsTopicArn: (0, smithy_client_1.expectString)(output.SnsTopicArn),
3216
+ SnsTopicStatus: (0, smithy_client_1.expectString)(output.SnsTopicStatus),
3217
+ Status: (0, smithy_client_1.expectString)(output.Status),
3218
+ SubnetGroupName: (0, smithy_client_1.expectString)(output.SubnetGroupName),
3219
+ TLSEnabled: (0, smithy_client_1.expectBoolean)(output.TLSEnabled),
3220
3220
  };
3221
3221
  };
3222
3222
  const deserializeAws_json1_1ClusterAlreadyExistsFault = (output, context) => {
3223
3223
  return {
3224
- message: smithy_client_1.expectString(output.message),
3224
+ message: (0, smithy_client_1.expectString)(output.message),
3225
3225
  };
3226
3226
  };
3227
3227
  const deserializeAws_json1_1ClusterConfiguration = (output, context) => {
3228
3228
  return {
3229
- Description: smithy_client_1.expectString(output.Description),
3230
- EngineVersion: smithy_client_1.expectString(output.EngineVersion),
3231
- MaintenanceWindow: smithy_client_1.expectString(output.MaintenanceWindow),
3232
- Name: smithy_client_1.expectString(output.Name),
3233
- NodeType: smithy_client_1.expectString(output.NodeType),
3234
- NumShards: smithy_client_1.expectInt32(output.NumShards),
3235
- ParameterGroupName: smithy_client_1.expectString(output.ParameterGroupName),
3236
- Port: smithy_client_1.expectInt32(output.Port),
3229
+ Description: (0, smithy_client_1.expectString)(output.Description),
3230
+ EngineVersion: (0, smithy_client_1.expectString)(output.EngineVersion),
3231
+ MaintenanceWindow: (0, smithy_client_1.expectString)(output.MaintenanceWindow),
3232
+ Name: (0, smithy_client_1.expectString)(output.Name),
3233
+ NodeType: (0, smithy_client_1.expectString)(output.NodeType),
3234
+ NumShards: (0, smithy_client_1.expectInt32)(output.NumShards),
3235
+ ParameterGroupName: (0, smithy_client_1.expectString)(output.ParameterGroupName),
3236
+ Port: (0, smithy_client_1.expectInt32)(output.Port),
3237
3237
  Shards: output.Shards !== undefined && output.Shards !== null
3238
3238
  ? deserializeAws_json1_1ShardDetails(output.Shards, context)
3239
3239
  : undefined,
3240
- SnapshotRetentionLimit: smithy_client_1.expectInt32(output.SnapshotRetentionLimit),
3241
- SnapshotWindow: smithy_client_1.expectString(output.SnapshotWindow),
3242
- SubnetGroupName: smithy_client_1.expectString(output.SubnetGroupName),
3243
- TopicArn: smithy_client_1.expectString(output.TopicArn),
3244
- VpcId: smithy_client_1.expectString(output.VpcId),
3240
+ SnapshotRetentionLimit: (0, smithy_client_1.expectInt32)(output.SnapshotRetentionLimit),
3241
+ SnapshotWindow: (0, smithy_client_1.expectString)(output.SnapshotWindow),
3242
+ SubnetGroupName: (0, smithy_client_1.expectString)(output.SubnetGroupName),
3243
+ TopicArn: (0, smithy_client_1.expectString)(output.TopicArn),
3244
+ VpcId: (0, smithy_client_1.expectString)(output.VpcId),
3245
3245
  };
3246
3246
  };
3247
3247
  const deserializeAws_json1_1ClusterList = (output, context) => {
@@ -3257,7 +3257,7 @@ const deserializeAws_json1_1ClusterList = (output, context) => {
3257
3257
  };
3258
3258
  const deserializeAws_json1_1ClusterNotFoundFault = (output, context) => {
3259
3259
  return {
3260
- message: smithy_client_1.expectString(output.message),
3260
+ message: (0, smithy_client_1.expectString)(output.message),
3261
3261
  };
3262
3262
  };
3263
3263
  const deserializeAws_json1_1ClusterPendingUpdates = (output, context) => {
@@ -3275,7 +3275,7 @@ const deserializeAws_json1_1ClusterPendingUpdates = (output, context) => {
3275
3275
  };
3276
3276
  const deserializeAws_json1_1ClusterQuotaForCustomerExceededFault = (output, context) => {
3277
3277
  return {
3278
- message: smithy_client_1.expectString(output.message),
3278
+ message: (0, smithy_client_1.expectString)(output.message),
3279
3279
  };
3280
3280
  };
3281
3281
  const deserializeAws_json1_1CopySnapshotResponse = (output, context) => {
@@ -3325,7 +3325,7 @@ const deserializeAws_json1_1CreateUserResponse = (output, context) => {
3325
3325
  };
3326
3326
  const deserializeAws_json1_1DefaultUserRequired = (output, context) => {
3327
3327
  return {
3328
- message: smithy_client_1.expectString(output.message),
3328
+ message: (0, smithy_client_1.expectString)(output.message),
3329
3329
  };
3330
3330
  };
3331
3331
  const deserializeAws_json1_1DeleteACLResponse = (output, context) => {
@@ -3371,7 +3371,7 @@ const deserializeAws_json1_1DescribeACLsResponse = (output, context) => {
3371
3371
  ACLs: output.ACLs !== undefined && output.ACLs !== null
3372
3372
  ? deserializeAws_json1_1ACLList(output.ACLs, context)
3373
3373
  : undefined,
3374
- NextToken: smithy_client_1.expectString(output.NextToken),
3374
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3375
3375
  };
3376
3376
  };
3377
3377
  const deserializeAws_json1_1DescribeClustersResponse = (output, context) => {
@@ -3379,7 +3379,7 @@ const deserializeAws_json1_1DescribeClustersResponse = (output, context) => {
3379
3379
  Clusters: output.Clusters !== undefined && output.Clusters !== null
3380
3380
  ? deserializeAws_json1_1ClusterList(output.Clusters, context)
3381
3381
  : undefined,
3382
- NextToken: smithy_client_1.expectString(output.NextToken),
3382
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3383
3383
  };
3384
3384
  };
3385
3385
  const deserializeAws_json1_1DescribeEngineVersionsResponse = (output, context) => {
@@ -3387,7 +3387,7 @@ const deserializeAws_json1_1DescribeEngineVersionsResponse = (output, context) =
3387
3387
  EngineVersions: output.EngineVersions !== undefined && output.EngineVersions !== null
3388
3388
  ? deserializeAws_json1_1EngineVersionInfoList(output.EngineVersions, context)
3389
3389
  : undefined,
3390
- NextToken: smithy_client_1.expectString(output.NextToken),
3390
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3391
3391
  };
3392
3392
  };
3393
3393
  const deserializeAws_json1_1DescribeEventsResponse = (output, context) => {
@@ -3395,12 +3395,12 @@ const deserializeAws_json1_1DescribeEventsResponse = (output, context) => {
3395
3395
  Events: output.Events !== undefined && output.Events !== null
3396
3396
  ? deserializeAws_json1_1EventList(output.Events, context)
3397
3397
  : undefined,
3398
- NextToken: smithy_client_1.expectString(output.NextToken),
3398
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3399
3399
  };
3400
3400
  };
3401
3401
  const deserializeAws_json1_1DescribeParameterGroupsResponse = (output, context) => {
3402
3402
  return {
3403
- NextToken: smithy_client_1.expectString(output.NextToken),
3403
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3404
3404
  ParameterGroups: output.ParameterGroups !== undefined && output.ParameterGroups !== null
3405
3405
  ? deserializeAws_json1_1ParameterGroupList(output.ParameterGroups, context)
3406
3406
  : undefined,
@@ -3408,7 +3408,7 @@ const deserializeAws_json1_1DescribeParameterGroupsResponse = (output, context)
3408
3408
  };
3409
3409
  const deserializeAws_json1_1DescribeParametersResponse = (output, context) => {
3410
3410
  return {
3411
- NextToken: smithy_client_1.expectString(output.NextToken),
3411
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3412
3412
  Parameters: output.Parameters !== undefined && output.Parameters !== null
3413
3413
  ? deserializeAws_json1_1ParametersList(output.Parameters, context)
3414
3414
  : undefined,
@@ -3416,7 +3416,7 @@ const deserializeAws_json1_1DescribeParametersResponse = (output, context) => {
3416
3416
  };
3417
3417
  const deserializeAws_json1_1DescribeServiceUpdatesResponse = (output, context) => {
3418
3418
  return {
3419
- NextToken: smithy_client_1.expectString(output.NextToken),
3419
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3420
3420
  ServiceUpdates: output.ServiceUpdates !== undefined && output.ServiceUpdates !== null
3421
3421
  ? deserializeAws_json1_1ServiceUpdateList(output.ServiceUpdates, context)
3422
3422
  : undefined,
@@ -3424,7 +3424,7 @@ const deserializeAws_json1_1DescribeServiceUpdatesResponse = (output, context) =
3424
3424
  };
3425
3425
  const deserializeAws_json1_1DescribeSnapshotsResponse = (output, context) => {
3426
3426
  return {
3427
- NextToken: smithy_client_1.expectString(output.NextToken),
3427
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3428
3428
  Snapshots: output.Snapshots !== undefined && output.Snapshots !== null
3429
3429
  ? deserializeAws_json1_1SnapshotList(output.Snapshots, context)
3430
3430
  : undefined,
@@ -3432,7 +3432,7 @@ const deserializeAws_json1_1DescribeSnapshotsResponse = (output, context) => {
3432
3432
  };
3433
3433
  const deserializeAws_json1_1DescribeSubnetGroupsResponse = (output, context) => {
3434
3434
  return {
3435
- NextToken: smithy_client_1.expectString(output.NextToken),
3435
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3436
3436
  SubnetGroups: output.SubnetGroups !== undefined && output.SubnetGroups !== null
3437
3437
  ? deserializeAws_json1_1SubnetGroupList(output.SubnetGroups, context)
3438
3438
  : undefined,
@@ -3440,7 +3440,7 @@ const deserializeAws_json1_1DescribeSubnetGroupsResponse = (output, context) =>
3440
3440
  };
3441
3441
  const deserializeAws_json1_1DescribeUsersResponse = (output, context) => {
3442
3442
  return {
3443
- NextToken: smithy_client_1.expectString(output.NextToken),
3443
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3444
3444
  Users: output.Users !== undefined && output.Users !== null
3445
3445
  ? deserializeAws_json1_1UserList(output.Users, context)
3446
3446
  : undefined,
@@ -3448,20 +3448,20 @@ const deserializeAws_json1_1DescribeUsersResponse = (output, context) => {
3448
3448
  };
3449
3449
  const deserializeAws_json1_1DuplicateUserNameFault = (output, context) => {
3450
3450
  return {
3451
- message: smithy_client_1.expectString(output.message),
3451
+ message: (0, smithy_client_1.expectString)(output.message),
3452
3452
  };
3453
3453
  };
3454
3454
  const deserializeAws_json1_1Endpoint = (output, context) => {
3455
3455
  return {
3456
- Address: smithy_client_1.expectString(output.Address),
3457
- Port: smithy_client_1.expectInt32(output.Port),
3456
+ Address: (0, smithy_client_1.expectString)(output.Address),
3457
+ Port: (0, smithy_client_1.expectInt32)(output.Port),
3458
3458
  };
3459
3459
  };
3460
3460
  const deserializeAws_json1_1EngineVersionInfo = (output, context) => {
3461
3461
  return {
3462
- EnginePatchVersion: smithy_client_1.expectString(output.EnginePatchVersion),
3463
- EngineVersion: smithy_client_1.expectString(output.EngineVersion),
3464
- ParameterGroupFamily: smithy_client_1.expectString(output.ParameterGroupFamily),
3462
+ EnginePatchVersion: (0, smithy_client_1.expectString)(output.EnginePatchVersion),
3463
+ EngineVersion: (0, smithy_client_1.expectString)(output.EngineVersion),
3464
+ ParameterGroupFamily: (0, smithy_client_1.expectString)(output.ParameterGroupFamily),
3465
3465
  };
3466
3466
  };
3467
3467
  const deserializeAws_json1_1EngineVersionInfoList = (output, context) => {
@@ -3478,11 +3478,11 @@ const deserializeAws_json1_1EngineVersionInfoList = (output, context) => {
3478
3478
  const deserializeAws_json1_1Event = (output, context) => {
3479
3479
  return {
3480
3480
  Date: output.Date !== undefined && output.Date !== null
3481
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Date)))
3481
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Date)))
3482
3482
  : undefined,
3483
- Message: smithy_client_1.expectString(output.Message),
3484
- SourceName: smithy_client_1.expectString(output.SourceName),
3485
- SourceType: smithy_client_1.expectString(output.SourceType),
3483
+ Message: (0, smithy_client_1.expectString)(output.Message),
3484
+ SourceName: (0, smithy_client_1.expectString)(output.SourceName),
3485
+ SourceType: (0, smithy_client_1.expectString)(output.SourceType),
3486
3486
  };
3487
3487
  };
3488
3488
  const deserializeAws_json1_1EventList = (output, context) => {
@@ -3505,72 +3505,72 @@ const deserializeAws_json1_1FailoverShardResponse = (output, context) => {
3505
3505
  };
3506
3506
  const deserializeAws_json1_1InsufficientClusterCapacityFault = (output, context) => {
3507
3507
  return {
3508
- message: smithy_client_1.expectString(output.message),
3508
+ message: (0, smithy_client_1.expectString)(output.message),
3509
3509
  };
3510
3510
  };
3511
3511
  const deserializeAws_json1_1InvalidACLStateFault = (output, context) => {
3512
3512
  return {
3513
- message: smithy_client_1.expectString(output.message),
3513
+ message: (0, smithy_client_1.expectString)(output.message),
3514
3514
  };
3515
3515
  };
3516
3516
  const deserializeAws_json1_1InvalidARNFault = (output, context) => {
3517
3517
  return {
3518
- message: smithy_client_1.expectString(output.message),
3518
+ message: (0, smithy_client_1.expectString)(output.message),
3519
3519
  };
3520
3520
  };
3521
3521
  const deserializeAws_json1_1InvalidClusterStateFault = (output, context) => {
3522
3522
  return {
3523
- message: smithy_client_1.expectString(output.message),
3523
+ message: (0, smithy_client_1.expectString)(output.message),
3524
3524
  };
3525
3525
  };
3526
3526
  const deserializeAws_json1_1InvalidCredentialsException = (output, context) => {
3527
3527
  return {
3528
- message: smithy_client_1.expectString(output.message),
3528
+ message: (0, smithy_client_1.expectString)(output.message),
3529
3529
  };
3530
3530
  };
3531
3531
  const deserializeAws_json1_1InvalidKMSKeyFault = (output, context) => {
3532
3532
  return {
3533
- message: smithy_client_1.expectString(output.message),
3533
+ message: (0, smithy_client_1.expectString)(output.message),
3534
3534
  };
3535
3535
  };
3536
3536
  const deserializeAws_json1_1InvalidNodeStateFault = (output, context) => {
3537
3537
  return {
3538
- message: smithy_client_1.expectString(output.message),
3538
+ message: (0, smithy_client_1.expectString)(output.message),
3539
3539
  };
3540
3540
  };
3541
3541
  const deserializeAws_json1_1InvalidParameterCombinationException = (output, context) => {
3542
3542
  return {
3543
- message: smithy_client_1.expectString(output.message),
3543
+ message: (0, smithy_client_1.expectString)(output.message),
3544
3544
  };
3545
3545
  };
3546
3546
  const deserializeAws_json1_1InvalidParameterGroupStateFault = (output, context) => {
3547
3547
  return {
3548
- message: smithy_client_1.expectString(output.message),
3548
+ message: (0, smithy_client_1.expectString)(output.message),
3549
3549
  };
3550
3550
  };
3551
3551
  const deserializeAws_json1_1InvalidParameterValueException = (output, context) => {
3552
3552
  return {
3553
- message: smithy_client_1.expectString(output.message),
3553
+ message: (0, smithy_client_1.expectString)(output.message),
3554
3554
  };
3555
3555
  };
3556
3556
  const deserializeAws_json1_1InvalidSnapshotStateFault = (output, context) => {
3557
3557
  return {
3558
- message: smithy_client_1.expectString(output.message),
3558
+ message: (0, smithy_client_1.expectString)(output.message),
3559
3559
  };
3560
3560
  };
3561
3561
  const deserializeAws_json1_1InvalidSubnet = (output, context) => {
3562
3562
  return {
3563
- message: smithy_client_1.expectString(output.message),
3563
+ message: (0, smithy_client_1.expectString)(output.message),
3564
3564
  };
3565
3565
  };
3566
3566
  const deserializeAws_json1_1InvalidUserStateFault = (output, context) => {
3567
3567
  return {
3568
- message: smithy_client_1.expectString(output.message),
3568
+ message: (0, smithy_client_1.expectString)(output.message),
3569
3569
  };
3570
3570
  };
3571
3571
  const deserializeAws_json1_1InvalidVPCNetworkStateFault = (output, context) => {
3572
3572
  return {
3573
- message: smithy_client_1.expectString(output.message),
3573
+ message: (0, smithy_client_1.expectString)(output.message),
3574
3574
  };
3575
3575
  };
3576
3576
  const deserializeAws_json1_1ListAllowedNodeTypeUpdatesResponse = (output, context) => {
@@ -3592,15 +3592,15 @@ const deserializeAws_json1_1ListTagsResponse = (output, context) => {
3592
3592
  };
3593
3593
  const deserializeAws_json1_1Node = (output, context) => {
3594
3594
  return {
3595
- AvailabilityZone: smithy_client_1.expectString(output.AvailabilityZone),
3595
+ AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
3596
3596
  CreateTime: output.CreateTime !== undefined && output.CreateTime !== null
3597
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateTime)))
3597
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTime)))
3598
3598
  : undefined,
3599
3599
  Endpoint: output.Endpoint !== undefined && output.Endpoint !== null
3600
3600
  ? deserializeAws_json1_1Endpoint(output.Endpoint, context)
3601
3601
  : undefined,
3602
- Name: smithy_client_1.expectString(output.Name),
3603
- Status: smithy_client_1.expectString(output.Status),
3602
+ Name: (0, smithy_client_1.expectString)(output.Name),
3603
+ Status: (0, smithy_client_1.expectString)(output.Status),
3604
3604
  };
3605
3605
  };
3606
3606
  const deserializeAws_json1_1NodeList = (output, context) => {
@@ -3616,12 +3616,12 @@ const deserializeAws_json1_1NodeList = (output, context) => {
3616
3616
  };
3617
3617
  const deserializeAws_json1_1NodeQuotaForClusterExceededFault = (output, context) => {
3618
3618
  return {
3619
- message: smithy_client_1.expectString(output.message),
3619
+ message: (0, smithy_client_1.expectString)(output.message),
3620
3620
  };
3621
3621
  };
3622
3622
  const deserializeAws_json1_1NodeQuotaForCustomerExceededFault = (output, context) => {
3623
3623
  return {
3624
- message: smithy_client_1.expectString(output.message),
3624
+ message: (0, smithy_client_1.expectString)(output.message),
3625
3625
  };
3626
3626
  };
3627
3627
  const deserializeAws_json1_1NodeTypeList = (output, context) => {
@@ -3631,36 +3631,36 @@ const deserializeAws_json1_1NodeTypeList = (output, context) => {
3631
3631
  if (entry === null) {
3632
3632
  return null;
3633
3633
  }
3634
- return smithy_client_1.expectString(entry);
3634
+ return (0, smithy_client_1.expectString)(entry);
3635
3635
  });
3636
3636
  return retVal;
3637
3637
  };
3638
3638
  const deserializeAws_json1_1NoOperationFault = (output, context) => {
3639
3639
  return {
3640
- message: smithy_client_1.expectString(output.message),
3640
+ message: (0, smithy_client_1.expectString)(output.message),
3641
3641
  };
3642
3642
  };
3643
3643
  const deserializeAws_json1_1Parameter = (output, context) => {
3644
3644
  return {
3645
- AllowedValues: smithy_client_1.expectString(output.AllowedValues),
3646
- DataType: smithy_client_1.expectString(output.DataType),
3647
- Description: smithy_client_1.expectString(output.Description),
3648
- MinimumEngineVersion: smithy_client_1.expectString(output.MinimumEngineVersion),
3649
- Name: smithy_client_1.expectString(output.Name),
3650
- Value: smithy_client_1.expectString(output.Value),
3645
+ AllowedValues: (0, smithy_client_1.expectString)(output.AllowedValues),
3646
+ DataType: (0, smithy_client_1.expectString)(output.DataType),
3647
+ Description: (0, smithy_client_1.expectString)(output.Description),
3648
+ MinimumEngineVersion: (0, smithy_client_1.expectString)(output.MinimumEngineVersion),
3649
+ Name: (0, smithy_client_1.expectString)(output.Name),
3650
+ Value: (0, smithy_client_1.expectString)(output.Value),
3651
3651
  };
3652
3652
  };
3653
3653
  const deserializeAws_json1_1ParameterGroup = (output, context) => {
3654
3654
  return {
3655
- ARN: smithy_client_1.expectString(output.ARN),
3656
- Description: smithy_client_1.expectString(output.Description),
3657
- Family: smithy_client_1.expectString(output.Family),
3658
- Name: smithy_client_1.expectString(output.Name),
3655
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
3656
+ Description: (0, smithy_client_1.expectString)(output.Description),
3657
+ Family: (0, smithy_client_1.expectString)(output.Family),
3658
+ Name: (0, smithy_client_1.expectString)(output.Name),
3659
3659
  };
3660
3660
  };
3661
3661
  const deserializeAws_json1_1ParameterGroupAlreadyExistsFault = (output, context) => {
3662
3662
  return {
3663
- message: smithy_client_1.expectString(output.message),
3663
+ message: (0, smithy_client_1.expectString)(output.message),
3664
3664
  };
3665
3665
  };
3666
3666
  const deserializeAws_json1_1ParameterGroupList = (output, context) => {
@@ -3676,12 +3676,12 @@ const deserializeAws_json1_1ParameterGroupList = (output, context) => {
3676
3676
  };
3677
3677
  const deserializeAws_json1_1ParameterGroupNotFoundFault = (output, context) => {
3678
3678
  return {
3679
- message: smithy_client_1.expectString(output.message),
3679
+ message: (0, smithy_client_1.expectString)(output.message),
3680
3680
  };
3681
3681
  };
3682
3682
  const deserializeAws_json1_1ParameterGroupQuotaExceededFault = (output, context) => {
3683
3683
  return {
3684
- message: smithy_client_1.expectString(output.message),
3684
+ message: (0, smithy_client_1.expectString)(output.message),
3685
3685
  };
3686
3686
  };
3687
3687
  const deserializeAws_json1_1ParametersList = (output, context) => {
@@ -3697,8 +3697,8 @@ const deserializeAws_json1_1ParametersList = (output, context) => {
3697
3697
  };
3698
3698
  const deserializeAws_json1_1PendingModifiedServiceUpdate = (output, context) => {
3699
3699
  return {
3700
- ServiceUpdateName: smithy_client_1.expectString(output.ServiceUpdateName),
3701
- Status: smithy_client_1.expectString(output.Status),
3700
+ ServiceUpdateName: (0, smithy_client_1.expectString)(output.ServiceUpdateName),
3701
+ Status: (0, smithy_client_1.expectString)(output.Status),
3702
3702
  };
3703
3703
  };
3704
3704
  const deserializeAws_json1_1PendingModifiedServiceUpdateList = (output, context) => {
@@ -3728,8 +3728,8 @@ const deserializeAws_json1_1ReshardingStatus = (output, context) => {
3728
3728
  };
3729
3729
  const deserializeAws_json1_1SecurityGroupMembership = (output, context) => {
3730
3730
  return {
3731
- SecurityGroupId: smithy_client_1.expectString(output.SecurityGroupId),
3732
- Status: smithy_client_1.expectString(output.Status),
3731
+ SecurityGroupId: (0, smithy_client_1.expectString)(output.SecurityGroupId),
3732
+ Status: (0, smithy_client_1.expectString)(output.Status),
3733
3733
  };
3734
3734
  };
3735
3735
  const deserializeAws_json1_1SecurityGroupMembershipList = (output, context) => {
@@ -3745,23 +3745,23 @@ const deserializeAws_json1_1SecurityGroupMembershipList = (output, context) => {
3745
3745
  };
3746
3746
  const deserializeAws_json1_1ServiceLinkedRoleNotFoundFault = (output, context) => {
3747
3747
  return {
3748
- message: smithy_client_1.expectString(output.message),
3748
+ message: (0, smithy_client_1.expectString)(output.message),
3749
3749
  };
3750
3750
  };
3751
3751
  const deserializeAws_json1_1ServiceUpdate = (output, context) => {
3752
3752
  return {
3753
3753
  AutoUpdateStartDate: output.AutoUpdateStartDate !== undefined && output.AutoUpdateStartDate !== null
3754
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.AutoUpdateStartDate)))
3754
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AutoUpdateStartDate)))
3755
3755
  : undefined,
3756
- ClusterName: smithy_client_1.expectString(output.ClusterName),
3757
- Description: smithy_client_1.expectString(output.Description),
3758
- NodesUpdated: smithy_client_1.expectString(output.NodesUpdated),
3756
+ ClusterName: (0, smithy_client_1.expectString)(output.ClusterName),
3757
+ Description: (0, smithy_client_1.expectString)(output.Description),
3758
+ NodesUpdated: (0, smithy_client_1.expectString)(output.NodesUpdated),
3759
3759
  ReleaseDate: output.ReleaseDate !== undefined && output.ReleaseDate !== null
3760
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReleaseDate)))
3760
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReleaseDate)))
3761
3761
  : undefined,
3762
- ServiceUpdateName: smithy_client_1.expectString(output.ServiceUpdateName),
3763
- Status: smithy_client_1.expectString(output.Status),
3764
- Type: smithy_client_1.expectString(output.Type),
3762
+ ServiceUpdateName: (0, smithy_client_1.expectString)(output.ServiceUpdateName),
3763
+ Status: (0, smithy_client_1.expectString)(output.Status),
3764
+ Type: (0, smithy_client_1.expectString)(output.Type),
3765
3765
  };
3766
3766
  };
3767
3767
  const deserializeAws_json1_1ServiceUpdateList = (output, context) => {
@@ -3777,24 +3777,24 @@ const deserializeAws_json1_1ServiceUpdateList = (output, context) => {
3777
3777
  };
3778
3778
  const deserializeAws_json1_1ServiceUpdateNotFoundFault = (output, context) => {
3779
3779
  return {
3780
- message: smithy_client_1.expectString(output.message),
3780
+ message: (0, smithy_client_1.expectString)(output.message),
3781
3781
  };
3782
3782
  };
3783
3783
  const deserializeAws_json1_1Shard = (output, context) => {
3784
3784
  return {
3785
- Name: smithy_client_1.expectString(output.Name),
3785
+ Name: (0, smithy_client_1.expectString)(output.Name),
3786
3786
  Nodes: output.Nodes !== undefined && output.Nodes !== null
3787
3787
  ? deserializeAws_json1_1NodeList(output.Nodes, context)
3788
3788
  : undefined,
3789
- NumberOfNodes: smithy_client_1.expectInt32(output.NumberOfNodes),
3790
- Slots: smithy_client_1.expectString(output.Slots),
3791
- Status: smithy_client_1.expectString(output.Status),
3789
+ NumberOfNodes: (0, smithy_client_1.expectInt32)(output.NumberOfNodes),
3790
+ Slots: (0, smithy_client_1.expectString)(output.Slots),
3791
+ Status: (0, smithy_client_1.expectString)(output.Status),
3792
3792
  };
3793
3793
  };
3794
3794
  const deserializeAws_json1_1ShardConfiguration = (output, context) => {
3795
3795
  return {
3796
- ReplicaCount: smithy_client_1.expectInt32(output.ReplicaCount),
3797
- Slots: smithy_client_1.expectString(output.Slots),
3796
+ ReplicaCount: (0, smithy_client_1.expectInt32)(output.ReplicaCount),
3797
+ Slots: (0, smithy_client_1.expectString)(output.Slots),
3798
3798
  };
3799
3799
  };
3800
3800
  const deserializeAws_json1_1ShardDetail = (output, context) => {
@@ -3802,10 +3802,10 @@ const deserializeAws_json1_1ShardDetail = (output, context) => {
3802
3802
  Configuration: output.Configuration !== undefined && output.Configuration !== null
3803
3803
  ? deserializeAws_json1_1ShardConfiguration(output.Configuration, context)
3804
3804
  : undefined,
3805
- Name: smithy_client_1.expectString(output.Name),
3806
- Size: smithy_client_1.expectString(output.Size),
3805
+ Name: (0, smithy_client_1.expectString)(output.Name),
3806
+ Size: (0, smithy_client_1.expectString)(output.Size),
3807
3807
  SnapshotCreationTime: output.SnapshotCreationTime !== undefined && output.SnapshotCreationTime !== null
3808
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SnapshotCreationTime)))
3808
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SnapshotCreationTime)))
3809
3809
  : undefined,
3810
3810
  };
3811
3811
  };
@@ -3833,34 +3833,34 @@ const deserializeAws_json1_1ShardList = (output, context) => {
3833
3833
  };
3834
3834
  const deserializeAws_json1_1ShardNotFoundFault = (output, context) => {
3835
3835
  return {
3836
- message: smithy_client_1.expectString(output.message),
3836
+ message: (0, smithy_client_1.expectString)(output.message),
3837
3837
  };
3838
3838
  };
3839
3839
  const deserializeAws_json1_1ShardsPerClusterQuotaExceededFault = (output, context) => {
3840
3840
  return {
3841
- message: smithy_client_1.expectString(output.message),
3841
+ message: (0, smithy_client_1.expectString)(output.message),
3842
3842
  };
3843
3843
  };
3844
3844
  const deserializeAws_json1_1SlotMigration = (output, context) => {
3845
3845
  return {
3846
- ProgressPercentage: smithy_client_1.limitedParseDouble(output.ProgressPercentage),
3846
+ ProgressPercentage: (0, smithy_client_1.limitedParseDouble)(output.ProgressPercentage),
3847
3847
  };
3848
3848
  };
3849
3849
  const deserializeAws_json1_1Snapshot = (output, context) => {
3850
3850
  return {
3851
- ARN: smithy_client_1.expectString(output.ARN),
3851
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
3852
3852
  ClusterConfiguration: output.ClusterConfiguration !== undefined && output.ClusterConfiguration !== null
3853
3853
  ? deserializeAws_json1_1ClusterConfiguration(output.ClusterConfiguration, context)
3854
3854
  : undefined,
3855
- KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
3856
- Name: smithy_client_1.expectString(output.Name),
3857
- Source: smithy_client_1.expectString(output.Source),
3858
- Status: smithy_client_1.expectString(output.Status),
3855
+ KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
3856
+ Name: (0, smithy_client_1.expectString)(output.Name),
3857
+ Source: (0, smithy_client_1.expectString)(output.Source),
3858
+ Status: (0, smithy_client_1.expectString)(output.Status),
3859
3859
  };
3860
3860
  };
3861
3861
  const deserializeAws_json1_1SnapshotAlreadyExistsFault = (output, context) => {
3862
3862
  return {
3863
- message: smithy_client_1.expectString(output.message),
3863
+ message: (0, smithy_client_1.expectString)(output.message),
3864
3864
  };
3865
3865
  };
3866
3866
  const deserializeAws_json1_1SnapshotList = (output, context) => {
@@ -3876,12 +3876,12 @@ const deserializeAws_json1_1SnapshotList = (output, context) => {
3876
3876
  };
3877
3877
  const deserializeAws_json1_1SnapshotNotFoundFault = (output, context) => {
3878
3878
  return {
3879
- message: smithy_client_1.expectString(output.message),
3879
+ message: (0, smithy_client_1.expectString)(output.message),
3880
3880
  };
3881
3881
  };
3882
3882
  const deserializeAws_json1_1SnapshotQuotaExceededFault = (output, context) => {
3883
3883
  return {
3884
- message: smithy_client_1.expectString(output.message),
3884
+ message: (0, smithy_client_1.expectString)(output.message),
3885
3885
  };
3886
3886
  };
3887
3887
  const deserializeAws_json1_1Subnet = (output, context) => {
@@ -3889,28 +3889,28 @@ const deserializeAws_json1_1Subnet = (output, context) => {
3889
3889
  AvailabilityZone: output.AvailabilityZone !== undefined && output.AvailabilityZone !== null
3890
3890
  ? deserializeAws_json1_1AvailabilityZone(output.AvailabilityZone, context)
3891
3891
  : undefined,
3892
- Identifier: smithy_client_1.expectString(output.Identifier),
3892
+ Identifier: (0, smithy_client_1.expectString)(output.Identifier),
3893
3893
  };
3894
3894
  };
3895
3895
  const deserializeAws_json1_1SubnetGroup = (output, context) => {
3896
3896
  return {
3897
- ARN: smithy_client_1.expectString(output.ARN),
3898
- Description: smithy_client_1.expectString(output.Description),
3899
- Name: smithy_client_1.expectString(output.Name),
3897
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
3898
+ Description: (0, smithy_client_1.expectString)(output.Description),
3899
+ Name: (0, smithy_client_1.expectString)(output.Name),
3900
3900
  Subnets: output.Subnets !== undefined && output.Subnets !== null
3901
3901
  ? deserializeAws_json1_1SubnetList(output.Subnets, context)
3902
3902
  : undefined,
3903
- VpcId: smithy_client_1.expectString(output.VpcId),
3903
+ VpcId: (0, smithy_client_1.expectString)(output.VpcId),
3904
3904
  };
3905
3905
  };
3906
3906
  const deserializeAws_json1_1SubnetGroupAlreadyExistsFault = (output, context) => {
3907
3907
  return {
3908
- message: smithy_client_1.expectString(output.message),
3908
+ message: (0, smithy_client_1.expectString)(output.message),
3909
3909
  };
3910
3910
  };
3911
3911
  const deserializeAws_json1_1SubnetGroupInUseFault = (output, context) => {
3912
3912
  return {
3913
- message: smithy_client_1.expectString(output.message),
3913
+ message: (0, smithy_client_1.expectString)(output.message),
3914
3914
  };
3915
3915
  };
3916
3916
  const deserializeAws_json1_1SubnetGroupList = (output, context) => {
@@ -3926,17 +3926,17 @@ const deserializeAws_json1_1SubnetGroupList = (output, context) => {
3926
3926
  };
3927
3927
  const deserializeAws_json1_1SubnetGroupNotFoundFault = (output, context) => {
3928
3928
  return {
3929
- message: smithy_client_1.expectString(output.message),
3929
+ message: (0, smithy_client_1.expectString)(output.message),
3930
3930
  };
3931
3931
  };
3932
3932
  const deserializeAws_json1_1SubnetGroupQuotaExceededFault = (output, context) => {
3933
3933
  return {
3934
- message: smithy_client_1.expectString(output.message),
3934
+ message: (0, smithy_client_1.expectString)(output.message),
3935
3935
  };
3936
3936
  };
3937
3937
  const deserializeAws_json1_1SubnetInUse = (output, context) => {
3938
3938
  return {
3939
- message: smithy_client_1.expectString(output.message),
3939
+ message: (0, smithy_client_1.expectString)(output.message),
3940
3940
  };
3941
3941
  };
3942
3942
  const deserializeAws_json1_1SubnetList = (output, context) => {
@@ -3952,18 +3952,18 @@ const deserializeAws_json1_1SubnetList = (output, context) => {
3952
3952
  };
3953
3953
  const deserializeAws_json1_1SubnetNotAllowedFault = (output, context) => {
3954
3954
  return {
3955
- message: smithy_client_1.expectString(output.message),
3955
+ message: (0, smithy_client_1.expectString)(output.message),
3956
3956
  };
3957
3957
  };
3958
3958
  const deserializeAws_json1_1SubnetQuotaExceededFault = (output, context) => {
3959
3959
  return {
3960
- message: smithy_client_1.expectString(output.message),
3960
+ message: (0, smithy_client_1.expectString)(output.message),
3961
3961
  };
3962
3962
  };
3963
3963
  const deserializeAws_json1_1Tag = (output, context) => {
3964
3964
  return {
3965
- Key: smithy_client_1.expectString(output.Key),
3966
- Value: smithy_client_1.expectString(output.Value),
3965
+ Key: (0, smithy_client_1.expectString)(output.Key),
3966
+ Value: (0, smithy_client_1.expectString)(output.Value),
3967
3967
  };
3968
3968
  };
3969
3969
  const deserializeAws_json1_1TagList = (output, context) => {
@@ -3979,12 +3979,12 @@ const deserializeAws_json1_1TagList = (output, context) => {
3979
3979
  };
3980
3980
  const deserializeAws_json1_1TagNotFoundFault = (output, context) => {
3981
3981
  return {
3982
- message: smithy_client_1.expectString(output.message),
3982
+ message: (0, smithy_client_1.expectString)(output.message),
3983
3983
  };
3984
3984
  };
3985
3985
  const deserializeAws_json1_1TagQuotaPerResourceExceeded = (output, context) => {
3986
3986
  return {
3987
- message: smithy_client_1.expectString(output.message),
3987
+ message: (0, smithy_client_1.expectString)(output.message),
3988
3988
  };
3989
3989
  };
3990
3990
  const deserializeAws_json1_1TagResourceResponse = (output, context) => {
@@ -3996,14 +3996,14 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
3996
3996
  };
3997
3997
  const deserializeAws_json1_1TestFailoverNotAvailableFault = (output, context) => {
3998
3998
  return {
3999
- message: smithy_client_1.expectString(output.message),
3999
+ message: (0, smithy_client_1.expectString)(output.message),
4000
4000
  };
4001
4001
  };
4002
4002
  const deserializeAws_json1_1UnprocessedCluster = (output, context) => {
4003
4003
  return {
4004
- ClusterName: smithy_client_1.expectString(output.ClusterName),
4005
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
4006
- ErrorType: smithy_client_1.expectString(output.ErrorType),
4004
+ ClusterName: (0, smithy_client_1.expectString)(output.ClusterName),
4005
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
4006
+ ErrorType: (0, smithy_client_1.expectString)(output.ErrorType),
4007
4007
  };
4008
4008
  };
4009
4009
  const deserializeAws_json1_1UnprocessedClusterList = (output, context) => {
@@ -4060,19 +4060,19 @@ const deserializeAws_json1_1User = (output, context) => {
4060
4060
  ACLNames: output.ACLNames !== undefined && output.ACLNames !== null
4061
4061
  ? deserializeAws_json1_1ACLNameList(output.ACLNames, context)
4062
4062
  : undefined,
4063
- ARN: smithy_client_1.expectString(output.ARN),
4064
- AccessString: smithy_client_1.expectString(output.AccessString),
4063
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
4064
+ AccessString: (0, smithy_client_1.expectString)(output.AccessString),
4065
4065
  Authentication: output.Authentication !== undefined && output.Authentication !== null
4066
4066
  ? deserializeAws_json1_1Authentication(output.Authentication, context)
4067
4067
  : undefined,
4068
- MinimumEngineVersion: smithy_client_1.expectString(output.MinimumEngineVersion),
4069
- Name: smithy_client_1.expectString(output.Name),
4070
- Status: smithy_client_1.expectString(output.Status),
4068
+ MinimumEngineVersion: (0, smithy_client_1.expectString)(output.MinimumEngineVersion),
4069
+ Name: (0, smithy_client_1.expectString)(output.Name),
4070
+ Status: (0, smithy_client_1.expectString)(output.Status),
4071
4071
  };
4072
4072
  };
4073
4073
  const deserializeAws_json1_1UserAlreadyExistsFault = (output, context) => {
4074
4074
  return {
4075
- message: smithy_client_1.expectString(output.message),
4075
+ message: (0, smithy_client_1.expectString)(output.message),
4076
4076
  };
4077
4077
  };
4078
4078
  const deserializeAws_json1_1UserList = (output, context) => {
@@ -4093,18 +4093,18 @@ const deserializeAws_json1_1UserNameList = (output, context) => {
4093
4093
  if (entry === null) {
4094
4094
  return null;
4095
4095
  }
4096
- return smithy_client_1.expectString(entry);
4096
+ return (0, smithy_client_1.expectString)(entry);
4097
4097
  });
4098
4098
  return retVal;
4099
4099
  };
4100
4100
  const deserializeAws_json1_1UserNotFoundFault = (output, context) => {
4101
4101
  return {
4102
- message: smithy_client_1.expectString(output.message),
4102
+ message: (0, smithy_client_1.expectString)(output.message),
4103
4103
  };
4104
4104
  };
4105
4105
  const deserializeAws_json1_1UserQuotaExceededFault = (output, context) => {
4106
4106
  return {
4107
- message: smithy_client_1.expectString(output.message),
4107
+ message: (0, smithy_client_1.expectString)(output.message),
4108
4108
  };
4109
4109
  };
4110
4110
  const deserializeMetadata = (output) => {