@aws-sdk/client-elasticache 3.53.0 → 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 (109) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/ElastiCacheClient.js +13 -13
  3. package/dist-cjs/commands/AddTagsToResourceCommand.js +3 -3
  4. package/dist-cjs/commands/AuthorizeCacheSecurityGroupIngressCommand.js +3 -3
  5. package/dist-cjs/commands/BatchApplyUpdateActionCommand.js +3 -3
  6. package/dist-cjs/commands/BatchStopUpdateActionCommand.js +3 -3
  7. package/dist-cjs/commands/CompleteMigrationCommand.js +3 -3
  8. package/dist-cjs/commands/CopySnapshotCommand.js +3 -3
  9. package/dist-cjs/commands/CreateCacheClusterCommand.js +3 -3
  10. package/dist-cjs/commands/CreateCacheParameterGroupCommand.js +3 -3
  11. package/dist-cjs/commands/CreateCacheSecurityGroupCommand.js +3 -3
  12. package/dist-cjs/commands/CreateCacheSubnetGroupCommand.js +3 -3
  13. package/dist-cjs/commands/CreateGlobalReplicationGroupCommand.js +3 -3
  14. package/dist-cjs/commands/CreateReplicationGroupCommand.js +3 -3
  15. package/dist-cjs/commands/CreateSnapshotCommand.js +3 -3
  16. package/dist-cjs/commands/CreateUserCommand.js +3 -3
  17. package/dist-cjs/commands/CreateUserGroupCommand.js +3 -3
  18. package/dist-cjs/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js +3 -3
  19. package/dist-cjs/commands/DecreaseReplicaCountCommand.js +3 -3
  20. package/dist-cjs/commands/DeleteCacheClusterCommand.js +3 -3
  21. package/dist-cjs/commands/DeleteCacheParameterGroupCommand.js +3 -3
  22. package/dist-cjs/commands/DeleteCacheSecurityGroupCommand.js +3 -3
  23. package/dist-cjs/commands/DeleteCacheSubnetGroupCommand.js +3 -3
  24. package/dist-cjs/commands/DeleteGlobalReplicationGroupCommand.js +3 -3
  25. package/dist-cjs/commands/DeleteReplicationGroupCommand.js +3 -3
  26. package/dist-cjs/commands/DeleteSnapshotCommand.js +3 -3
  27. package/dist-cjs/commands/DeleteUserCommand.js +3 -3
  28. package/dist-cjs/commands/DeleteUserGroupCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeCacheClustersCommand.js +3 -3
  30. package/dist-cjs/commands/DescribeCacheEngineVersionsCommand.js +3 -3
  31. package/dist-cjs/commands/DescribeCacheParameterGroupsCommand.js +3 -3
  32. package/dist-cjs/commands/DescribeCacheParametersCommand.js +3 -3
  33. package/dist-cjs/commands/DescribeCacheSecurityGroupsCommand.js +3 -3
  34. package/dist-cjs/commands/DescribeCacheSubnetGroupsCommand.js +3 -3
  35. package/dist-cjs/commands/DescribeEngineDefaultParametersCommand.js +3 -3
  36. package/dist-cjs/commands/DescribeEventsCommand.js +3 -3
  37. package/dist-cjs/commands/DescribeGlobalReplicationGroupsCommand.js +3 -3
  38. package/dist-cjs/commands/DescribeReplicationGroupsCommand.js +3 -3
  39. package/dist-cjs/commands/DescribeReservedCacheNodesCommand.js +3 -3
  40. package/dist-cjs/commands/DescribeReservedCacheNodesOfferingsCommand.js +3 -3
  41. package/dist-cjs/commands/DescribeServiceUpdatesCommand.js +3 -3
  42. package/dist-cjs/commands/DescribeSnapshotsCommand.js +3 -3
  43. package/dist-cjs/commands/DescribeUpdateActionsCommand.js +3 -3
  44. package/dist-cjs/commands/DescribeUserGroupsCommand.js +3 -3
  45. package/dist-cjs/commands/DescribeUsersCommand.js +3 -3
  46. package/dist-cjs/commands/DisassociateGlobalReplicationGroupCommand.js +3 -3
  47. package/dist-cjs/commands/FailoverGlobalReplicationGroupCommand.js +3 -3
  48. package/dist-cjs/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js +3 -3
  49. package/dist-cjs/commands/IncreaseReplicaCountCommand.js +3 -3
  50. package/dist-cjs/commands/ListAllowedNodeTypeModificationsCommand.js +3 -3
  51. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  52. package/dist-cjs/commands/ModifyCacheClusterCommand.js +3 -3
  53. package/dist-cjs/commands/ModifyCacheParameterGroupCommand.js +3 -3
  54. package/dist-cjs/commands/ModifyCacheSubnetGroupCommand.js +3 -3
  55. package/dist-cjs/commands/ModifyGlobalReplicationGroupCommand.js +3 -3
  56. package/dist-cjs/commands/ModifyReplicationGroupCommand.js +3 -3
  57. package/dist-cjs/commands/ModifyReplicationGroupShardConfigurationCommand.js +3 -3
  58. package/dist-cjs/commands/ModifyUserCommand.js +3 -3
  59. package/dist-cjs/commands/ModifyUserGroupCommand.js +3 -3
  60. package/dist-cjs/commands/PurchaseReservedCacheNodesOfferingCommand.js +3 -3
  61. package/dist-cjs/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js +3 -3
  62. package/dist-cjs/commands/RebootCacheClusterCommand.js +3 -3
  63. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +3 -3
  64. package/dist-cjs/commands/ResetCacheParameterGroupCommand.js +3 -3
  65. package/dist-cjs/commands/RevokeCacheSecurityGroupIngressCommand.js +3 -3
  66. package/dist-cjs/commands/StartMigrationCommand.js +3 -3
  67. package/dist-cjs/commands/TestFailoverCommand.js +3 -3
  68. package/dist-cjs/endpoints.js +1 -1
  69. package/dist-cjs/protocols/Aws_query.js +568 -568
  70. package/dist-cjs/runtimeConfig.browser.js +4 -4
  71. package/dist-cjs/runtimeConfig.js +9 -9
  72. package/dist-cjs/runtimeConfig.native.js +1 -1
  73. package/dist-cjs/waiters/waitForCacheClusterAvailable.js +3 -3
  74. package/dist-cjs/waiters/waitForCacheClusterDeleted.js +3 -3
  75. package/dist-cjs/waiters/waitForReplicationGroupAvailable.js +3 -3
  76. package/dist-cjs/waiters/waitForReplicationGroupDeleted.js +3 -3
  77. package/dist-es/ElastiCache.js +65 -65
  78. package/dist-es/pagination/DescribeCacheClustersPaginator.js +4 -4
  79. package/dist-es/pagination/DescribeCacheEngineVersionsPaginator.js +4 -4
  80. package/dist-es/pagination/DescribeCacheParameterGroupsPaginator.js +4 -4
  81. package/dist-es/pagination/DescribeCacheParametersPaginator.js +4 -4
  82. package/dist-es/pagination/DescribeCacheSecurityGroupsPaginator.js +4 -4
  83. package/dist-es/pagination/DescribeCacheSubnetGroupsPaginator.js +4 -4
  84. package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js +4 -4
  85. package/dist-es/pagination/DescribeEventsPaginator.js +4 -4
  86. package/dist-es/pagination/DescribeGlobalReplicationGroupsPaginator.js +4 -4
  87. package/dist-es/pagination/DescribeReplicationGroupsPaginator.js +4 -4
  88. package/dist-es/pagination/DescribeReservedCacheNodesOfferingsPaginator.js +4 -4
  89. package/dist-es/pagination/DescribeReservedCacheNodesPaginator.js +4 -4
  90. package/dist-es/pagination/DescribeServiceUpdatesPaginator.js +4 -4
  91. package/dist-es/pagination/DescribeSnapshotsPaginator.js +4 -4
  92. package/dist-es/pagination/DescribeUpdateActionsPaginator.js +4 -4
  93. package/dist-es/pagination/DescribeUserGroupsPaginator.js +4 -4
  94. package/dist-es/pagination/DescribeUsersPaginator.js +4 -4
  95. package/dist-es/protocols/Aws_query.js +108 -108
  96. package/dist-es/waiters/waitForCacheClusterAvailable.js +5 -5
  97. package/dist-es/waiters/waitForCacheClusterDeleted.js +7 -7
  98. package/dist-es/waiters/waitForReplicationGroupAvailable.js +2 -2
  99. package/dist-es/waiters/waitForReplicationGroupDeleted.js +2 -2
  100. package/dist-types/ElastiCacheClient.d.ts +2 -2
  101. package/dist-types/models/models_0.d.ts +2 -34
  102. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  103. package/dist-types/runtimeConfig.d.ts +1 -1
  104. package/dist-types/runtimeConfig.native.d.ts +3 -3
  105. package/dist-types/ts3.4/ElastiCacheClient.d.ts +2 -2
  106. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  107. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  108. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  109. package/package.json +35 -35
@@ -920,7 +920,7 @@ const deserializeAws_queryAddTagsToResourceCommandError = async (output, context
920
920
  $fault: "client",
921
921
  $metadata: deserializeMetadata(output),
922
922
  });
923
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
923
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
924
924
  }
925
925
  };
926
926
  const deserializeAws_queryAuthorizeCacheSecurityGroupIngressCommand = async (output, context) => {
@@ -968,7 +968,7 @@ const deserializeAws_queryAuthorizeCacheSecurityGroupIngressCommandError = async
968
968
  $fault: "client",
969
969
  $metadata: deserializeMetadata(output),
970
970
  });
971
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
971
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
972
972
  }
973
973
  };
974
974
  const deserializeAws_queryBatchApplyUpdateActionCommand = async (output, context) => {
@@ -1007,7 +1007,7 @@ const deserializeAws_queryBatchApplyUpdateActionCommandError = async (output, co
1007
1007
  $fault: "client",
1008
1008
  $metadata: deserializeMetadata(output),
1009
1009
  });
1010
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1010
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1011
1011
  }
1012
1012
  };
1013
1013
  const deserializeAws_queryBatchStopUpdateActionCommand = async (output, context) => {
@@ -1046,7 +1046,7 @@ const deserializeAws_queryBatchStopUpdateActionCommandError = async (output, con
1046
1046
  $fault: "client",
1047
1047
  $metadata: deserializeMetadata(output),
1048
1048
  });
1049
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1049
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1050
1050
  }
1051
1051
  };
1052
1052
  const deserializeAws_queryCompleteMigrationCommand = async (output, context) => {
@@ -1088,7 +1088,7 @@ const deserializeAws_queryCompleteMigrationCommandError = async (output, context
1088
1088
  $fault: "client",
1089
1089
  $metadata: deserializeMetadata(output),
1090
1090
  });
1091
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1091
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1092
1092
  }
1093
1093
  };
1094
1094
  const deserializeAws_queryCopySnapshotCommand = async (output, context) => {
@@ -1142,7 +1142,7 @@ const deserializeAws_queryCopySnapshotCommandError = async (output, context) =>
1142
1142
  $fault: "client",
1143
1143
  $metadata: deserializeMetadata(output),
1144
1144
  });
1145
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1145
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1146
1146
  }
1147
1147
  };
1148
1148
  const deserializeAws_queryCreateCacheClusterCommand = async (output, context) => {
@@ -1217,7 +1217,7 @@ const deserializeAws_queryCreateCacheClusterCommandError = async (output, contex
1217
1217
  $fault: "client",
1218
1218
  $metadata: deserializeMetadata(output),
1219
1219
  });
1220
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1220
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1221
1221
  }
1222
1222
  };
1223
1223
  const deserializeAws_queryCreateCacheParameterGroupCommand = async (output, context) => {
@@ -1268,7 +1268,7 @@ const deserializeAws_queryCreateCacheParameterGroupCommandError = async (output,
1268
1268
  $fault: "client",
1269
1269
  $metadata: deserializeMetadata(output),
1270
1270
  });
1271
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1271
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1272
1272
  }
1273
1273
  };
1274
1274
  const deserializeAws_queryCreateCacheSecurityGroupCommand = async (output, context) => {
@@ -1316,7 +1316,7 @@ const deserializeAws_queryCreateCacheSecurityGroupCommandError = async (output,
1316
1316
  $fault: "client",
1317
1317
  $metadata: deserializeMetadata(output),
1318
1318
  });
1319
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1319
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1320
1320
  }
1321
1321
  };
1322
1322
  const deserializeAws_queryCreateCacheSubnetGroupCommand = async (output, context) => {
@@ -1367,7 +1367,7 @@ const deserializeAws_queryCreateCacheSubnetGroupCommandError = async (output, co
1367
1367
  $fault: "client",
1368
1368
  $metadata: deserializeMetadata(output),
1369
1369
  });
1370
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1370
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1371
1371
  }
1372
1372
  };
1373
1373
  const deserializeAws_queryCreateGlobalReplicationGroupCommand = async (output, context) => {
@@ -1415,7 +1415,7 @@ const deserializeAws_queryCreateGlobalReplicationGroupCommandError = async (outp
1415
1415
  $fault: "client",
1416
1416
  $metadata: deserializeMetadata(output),
1417
1417
  });
1418
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1418
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1419
1419
  }
1420
1420
  };
1421
1421
  const deserializeAws_queryCreateReplicationGroupCommand = async (output, context) => {
@@ -1505,7 +1505,7 @@ const deserializeAws_queryCreateReplicationGroupCommandError = async (output, co
1505
1505
  $fault: "client",
1506
1506
  $metadata: deserializeMetadata(output),
1507
1507
  });
1508
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1508
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1509
1509
  }
1510
1510
  };
1511
1511
  const deserializeAws_queryCreateSnapshotCommand = async (output, context) => {
@@ -1568,7 +1568,7 @@ const deserializeAws_queryCreateSnapshotCommandError = async (output, context) =
1568
1568
  $fault: "client",
1569
1569
  $metadata: deserializeMetadata(output),
1570
1570
  });
1571
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1571
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1572
1572
  }
1573
1573
  };
1574
1574
  const deserializeAws_queryCreateUserCommand = async (output, context) => {
@@ -1622,7 +1622,7 @@ const deserializeAws_queryCreateUserCommandError = async (output, context) => {
1622
1622
  $fault: "client",
1623
1623
  $metadata: deserializeMetadata(output),
1624
1624
  });
1625
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1625
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1626
1626
  }
1627
1627
  };
1628
1628
  const deserializeAws_queryCreateUserGroupCommand = async (output, context) => {
@@ -1679,7 +1679,7 @@ const deserializeAws_queryCreateUserGroupCommandError = async (output, context)
1679
1679
  $fault: "client",
1680
1680
  $metadata: deserializeMetadata(output),
1681
1681
  });
1682
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1682
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1683
1683
  }
1684
1684
  };
1685
1685
  const deserializeAws_queryDecreaseNodeGroupsInGlobalReplicationGroupCommand = async (output, context) => {
@@ -1724,7 +1724,7 @@ const deserializeAws_queryDecreaseNodeGroupsInGlobalReplicationGroupCommandError
1724
1724
  $fault: "client",
1725
1725
  $metadata: deserializeMetadata(output),
1726
1726
  });
1727
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1727
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1728
1728
  }
1729
1729
  };
1730
1730
  const deserializeAws_queryDecreaseReplicaCountCommand = async (output, context) => {
@@ -1793,7 +1793,7 @@ const deserializeAws_queryDecreaseReplicaCountCommandError = async (output, cont
1793
1793
  $fault: "client",
1794
1794
  $metadata: deserializeMetadata(output),
1795
1795
  });
1796
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1796
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1797
1797
  }
1798
1798
  };
1799
1799
  const deserializeAws_queryDeleteCacheClusterCommand = async (output, context) => {
@@ -1847,7 +1847,7 @@ const deserializeAws_queryDeleteCacheClusterCommandError = async (output, contex
1847
1847
  $fault: "client",
1848
1848
  $metadata: deserializeMetadata(output),
1849
1849
  });
1850
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1850
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1851
1851
  }
1852
1852
  };
1853
1853
  const deserializeAws_queryDeleteCacheParameterGroupCommand = async (output, context) => {
@@ -1889,7 +1889,7 @@ const deserializeAws_queryDeleteCacheParameterGroupCommandError = async (output,
1889
1889
  $fault: "client",
1890
1890
  $metadata: deserializeMetadata(output),
1891
1891
  });
1892
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1892
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1893
1893
  }
1894
1894
  };
1895
1895
  const deserializeAws_queryDeleteCacheSecurityGroupCommand = async (output, context) => {
@@ -1931,7 +1931,7 @@ const deserializeAws_queryDeleteCacheSecurityGroupCommandError = async (output,
1931
1931
  $fault: "client",
1932
1932
  $metadata: deserializeMetadata(output),
1933
1933
  });
1934
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1934
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1935
1935
  }
1936
1936
  };
1937
1937
  const deserializeAws_queryDeleteCacheSubnetGroupCommand = async (output, context) => {
@@ -1967,7 +1967,7 @@ const deserializeAws_queryDeleteCacheSubnetGroupCommandError = async (output, co
1967
1967
  $fault: "client",
1968
1968
  $metadata: deserializeMetadata(output),
1969
1969
  });
1970
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1970
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1971
1971
  }
1972
1972
  };
1973
1973
  const deserializeAws_queryDeleteGlobalReplicationGroupCommand = async (output, context) => {
@@ -2009,7 +2009,7 @@ const deserializeAws_queryDeleteGlobalReplicationGroupCommandError = async (outp
2009
2009
  $fault: "client",
2010
2010
  $metadata: deserializeMetadata(output),
2011
2011
  });
2012
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2012
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2013
2013
  }
2014
2014
  };
2015
2015
  const deserializeAws_queryDeleteReplicationGroupCommand = async (output, context) => {
@@ -2063,7 +2063,7 @@ const deserializeAws_queryDeleteReplicationGroupCommandError = async (output, co
2063
2063
  $fault: "client",
2064
2064
  $metadata: deserializeMetadata(output),
2065
2065
  });
2066
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2066
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2067
2067
  }
2068
2068
  };
2069
2069
  const deserializeAws_queryDeleteSnapshotCommand = async (output, context) => {
@@ -2108,7 +2108,7 @@ const deserializeAws_queryDeleteSnapshotCommandError = async (output, context) =
2108
2108
  $fault: "client",
2109
2109
  $metadata: deserializeMetadata(output),
2110
2110
  });
2111
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2111
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2112
2112
  }
2113
2113
  };
2114
2114
  const deserializeAws_queryDeleteUserCommand = async (output, context) => {
@@ -2156,7 +2156,7 @@ const deserializeAws_queryDeleteUserCommandError = async (output, context) => {
2156
2156
  $fault: "client",
2157
2157
  $metadata: deserializeMetadata(output),
2158
2158
  });
2159
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2159
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2160
2160
  }
2161
2161
  };
2162
2162
  const deserializeAws_queryDeleteUserGroupCommand = async (output, context) => {
@@ -2201,7 +2201,7 @@ const deserializeAws_queryDeleteUserGroupCommandError = async (output, context)
2201
2201
  $fault: "client",
2202
2202
  $metadata: deserializeMetadata(output),
2203
2203
  });
2204
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2204
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2205
2205
  }
2206
2206
  };
2207
2207
  const deserializeAws_queryDescribeCacheClustersCommand = async (output, context) => {
@@ -2243,7 +2243,7 @@ const deserializeAws_queryDescribeCacheClustersCommandError = async (output, con
2243
2243
  $fault: "client",
2244
2244
  $metadata: deserializeMetadata(output),
2245
2245
  });
2246
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2246
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2247
2247
  }
2248
2248
  };
2249
2249
  const deserializeAws_queryDescribeCacheEngineVersionsCommand = async (output, context) => {
@@ -2276,7 +2276,7 @@ const deserializeAws_queryDescribeCacheEngineVersionsCommandError = async (outpu
2276
2276
  $fault: "client",
2277
2277
  $metadata: deserializeMetadata(output),
2278
2278
  });
2279
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2279
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2280
2280
  }
2281
2281
  };
2282
2282
  const deserializeAws_queryDescribeCacheParameterGroupsCommand = async (output, context) => {
@@ -2318,7 +2318,7 @@ const deserializeAws_queryDescribeCacheParameterGroupsCommandError = async (outp
2318
2318
  $fault: "client",
2319
2319
  $metadata: deserializeMetadata(output),
2320
2320
  });
2321
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2321
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2322
2322
  }
2323
2323
  };
2324
2324
  const deserializeAws_queryDescribeCacheParametersCommand = async (output, context) => {
@@ -2360,7 +2360,7 @@ const deserializeAws_queryDescribeCacheParametersCommandError = async (output, c
2360
2360
  $fault: "client",
2361
2361
  $metadata: deserializeMetadata(output),
2362
2362
  });
2363
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2363
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2364
2364
  }
2365
2365
  };
2366
2366
  const deserializeAws_queryDescribeCacheSecurityGroupsCommand = async (output, context) => {
@@ -2402,7 +2402,7 @@ const deserializeAws_queryDescribeCacheSecurityGroupsCommandError = async (outpu
2402
2402
  $fault: "client",
2403
2403
  $metadata: deserializeMetadata(output),
2404
2404
  });
2405
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2405
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2406
2406
  }
2407
2407
  };
2408
2408
  const deserializeAws_queryDescribeCacheSubnetGroupsCommand = async (output, context) => {
@@ -2438,7 +2438,7 @@ const deserializeAws_queryDescribeCacheSubnetGroupsCommandError = async (output,
2438
2438
  $fault: "client",
2439
2439
  $metadata: deserializeMetadata(output),
2440
2440
  });
2441
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2441
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2442
2442
  }
2443
2443
  };
2444
2444
  const deserializeAws_queryDescribeEngineDefaultParametersCommand = async (output, context) => {
@@ -2477,7 +2477,7 @@ const deserializeAws_queryDescribeEngineDefaultParametersCommandError = async (o
2477
2477
  $fault: "client",
2478
2478
  $metadata: deserializeMetadata(output),
2479
2479
  });
2480
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2480
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2481
2481
  }
2482
2482
  };
2483
2483
  const deserializeAws_queryDescribeEventsCommand = async (output, context) => {
@@ -2516,7 +2516,7 @@ const deserializeAws_queryDescribeEventsCommandError = async (output, context) =
2516
2516
  $fault: "client",
2517
2517
  $metadata: deserializeMetadata(output),
2518
2518
  });
2519
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2519
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2520
2520
  }
2521
2521
  };
2522
2522
  const deserializeAws_queryDescribeGlobalReplicationGroupsCommand = async (output, context) => {
@@ -2558,7 +2558,7 @@ const deserializeAws_queryDescribeGlobalReplicationGroupsCommandError = async (o
2558
2558
  $fault: "client",
2559
2559
  $metadata: deserializeMetadata(output),
2560
2560
  });
2561
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2561
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2562
2562
  }
2563
2563
  };
2564
2564
  const deserializeAws_queryDescribeReplicationGroupsCommand = async (output, context) => {
@@ -2600,7 +2600,7 @@ const deserializeAws_queryDescribeReplicationGroupsCommandError = async (output,
2600
2600
  $fault: "client",
2601
2601
  $metadata: deserializeMetadata(output),
2602
2602
  });
2603
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2603
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2604
2604
  }
2605
2605
  };
2606
2606
  const deserializeAws_queryDescribeReservedCacheNodesCommand = async (output, context) => {
@@ -2642,7 +2642,7 @@ const deserializeAws_queryDescribeReservedCacheNodesCommandError = async (output
2642
2642
  $fault: "client",
2643
2643
  $metadata: deserializeMetadata(output),
2644
2644
  });
2645
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2645
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2646
2646
  }
2647
2647
  };
2648
2648
  const deserializeAws_queryDescribeReservedCacheNodesOfferingsCommand = async (output, context) => {
@@ -2684,7 +2684,7 @@ const deserializeAws_queryDescribeReservedCacheNodesOfferingsCommandError = asyn
2684
2684
  $fault: "client",
2685
2685
  $metadata: deserializeMetadata(output),
2686
2686
  });
2687
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2687
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2688
2688
  }
2689
2689
  };
2690
2690
  const deserializeAws_queryDescribeServiceUpdatesCommand = async (output, context) => {
@@ -2726,7 +2726,7 @@ const deserializeAws_queryDescribeServiceUpdatesCommandError = async (output, co
2726
2726
  $fault: "client",
2727
2727
  $metadata: deserializeMetadata(output),
2728
2728
  });
2729
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2729
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2730
2730
  }
2731
2731
  };
2732
2732
  const deserializeAws_queryDescribeSnapshotsCommand = async (output, context) => {
@@ -2771,7 +2771,7 @@ const deserializeAws_queryDescribeSnapshotsCommandError = async (output, context
2771
2771
  $fault: "client",
2772
2772
  $metadata: deserializeMetadata(output),
2773
2773
  });
2774
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2774
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2775
2775
  }
2776
2776
  };
2777
2777
  const deserializeAws_queryDescribeUpdateActionsCommand = async (output, context) => {
@@ -2810,7 +2810,7 @@ const deserializeAws_queryDescribeUpdateActionsCommandError = async (output, con
2810
2810
  $fault: "client",
2811
2811
  $metadata: deserializeMetadata(output),
2812
2812
  });
2813
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2813
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2814
2814
  }
2815
2815
  };
2816
2816
  const deserializeAws_queryDescribeUserGroupsCommand = async (output, context) => {
@@ -2852,7 +2852,7 @@ const deserializeAws_queryDescribeUserGroupsCommandError = async (output, contex
2852
2852
  $fault: "client",
2853
2853
  $metadata: deserializeMetadata(output),
2854
2854
  });
2855
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2855
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2856
2856
  }
2857
2857
  };
2858
2858
  const deserializeAws_queryDescribeUsersCommand = async (output, context) => {
@@ -2894,7 +2894,7 @@ const deserializeAws_queryDescribeUsersCommandError = async (output, context) =>
2894
2894
  $fault: "client",
2895
2895
  $metadata: deserializeMetadata(output),
2896
2896
  });
2897
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2897
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2898
2898
  }
2899
2899
  };
2900
2900
  const deserializeAws_queryDisassociateGlobalReplicationGroupCommand = async (output, context) => {
@@ -2939,7 +2939,7 @@ const deserializeAws_queryDisassociateGlobalReplicationGroupCommandError = async
2939
2939
  $fault: "client",
2940
2940
  $metadata: deserializeMetadata(output),
2941
2941
  });
2942
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2942
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2943
2943
  }
2944
2944
  };
2945
2945
  const deserializeAws_queryFailoverGlobalReplicationGroupCommand = async (output, context) => {
@@ -2984,7 +2984,7 @@ const deserializeAws_queryFailoverGlobalReplicationGroupCommandError = async (ou
2984
2984
  $fault: "client",
2985
2985
  $metadata: deserializeMetadata(output),
2986
2986
  });
2987
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2987
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2988
2988
  }
2989
2989
  };
2990
2990
  const deserializeAws_queryIncreaseNodeGroupsInGlobalReplicationGroupCommand = async (output, context) => {
@@ -3026,7 +3026,7 @@ const deserializeAws_queryIncreaseNodeGroupsInGlobalReplicationGroupCommandError
3026
3026
  $fault: "client",
3027
3027
  $metadata: deserializeMetadata(output),
3028
3028
  });
3029
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3029
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3030
3030
  }
3031
3031
  };
3032
3032
  const deserializeAws_queryIncreaseReplicaCountCommand = async (output, context) => {
@@ -3095,7 +3095,7 @@ const deserializeAws_queryIncreaseReplicaCountCommandError = async (output, cont
3095
3095
  $fault: "client",
3096
3096
  $metadata: deserializeMetadata(output),
3097
3097
  });
3098
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3098
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3099
3099
  }
3100
3100
  };
3101
3101
  const deserializeAws_queryListAllowedNodeTypeModificationsCommand = async (output, context) => {
@@ -3140,7 +3140,7 @@ const deserializeAws_queryListAllowedNodeTypeModificationsCommandError = async (
3140
3140
  $fault: "client",
3141
3141
  $metadata: deserializeMetadata(output),
3142
3142
  });
3143
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3143
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3144
3144
  }
3145
3145
  };
3146
3146
  const deserializeAws_queryListTagsForResourceCommand = async (output, context) => {
@@ -3206,7 +3206,7 @@ const deserializeAws_queryListTagsForResourceCommandError = async (output, conte
3206
3206
  $fault: "client",
3207
3207
  $metadata: deserializeMetadata(output),
3208
3208
  });
3209
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3209
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3210
3210
  }
3211
3211
  };
3212
3212
  const deserializeAws_queryModifyCacheClusterCommand = async (output, context) => {
@@ -3272,7 +3272,7 @@ const deserializeAws_queryModifyCacheClusterCommandError = async (output, contex
3272
3272
  $fault: "client",
3273
3273
  $metadata: deserializeMetadata(output),
3274
3274
  });
3275
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3275
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3276
3276
  }
3277
3277
  };
3278
3278
  const deserializeAws_queryModifyCacheParameterGroupCommand = async (output, context) => {
@@ -3320,7 +3320,7 @@ const deserializeAws_queryModifyCacheParameterGroupCommandError = async (output,
3320
3320
  $fault: "client",
3321
3321
  $metadata: deserializeMetadata(output),
3322
3322
  });
3323
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3323
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3324
3324
  }
3325
3325
  };
3326
3326
  const deserializeAws_queryModifyCacheSubnetGroupCommand = async (output, context) => {
@@ -3368,7 +3368,7 @@ const deserializeAws_queryModifyCacheSubnetGroupCommandError = async (output, co
3368
3368
  $fault: "client",
3369
3369
  $metadata: deserializeMetadata(output),
3370
3370
  });
3371
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3371
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3372
3372
  }
3373
3373
  };
3374
3374
  const deserializeAws_queryModifyGlobalReplicationGroupCommand = async (output, context) => {
@@ -3410,7 +3410,7 @@ const deserializeAws_queryModifyGlobalReplicationGroupCommandError = async (outp
3410
3410
  $fault: "client",
3411
3411
  $metadata: deserializeMetadata(output),
3412
3412
  });
3413
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3413
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3414
3414
  }
3415
3415
  };
3416
3416
  const deserializeAws_queryModifyReplicationGroupCommand = async (output, context) => {
@@ -3491,7 +3491,7 @@ const deserializeAws_queryModifyReplicationGroupCommandError = async (output, co
3491
3491
  $fault: "client",
3492
3492
  $metadata: deserializeMetadata(output),
3493
3493
  });
3494
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3494
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3495
3495
  }
3496
3496
  };
3497
3497
  const deserializeAws_queryModifyReplicationGroupShardConfigurationCommand = async (output, context) => {
@@ -3554,7 +3554,7 @@ const deserializeAws_queryModifyReplicationGroupShardConfigurationCommandError =
3554
3554
  $fault: "client",
3555
3555
  $metadata: deserializeMetadata(output),
3556
3556
  });
3557
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3557
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3558
3558
  }
3559
3559
  };
3560
3560
  const deserializeAws_queryModifyUserCommand = async (output, context) => {
@@ -3602,7 +3602,7 @@ const deserializeAws_queryModifyUserCommandError = async (output, context) => {
3602
3602
  $fault: "client",
3603
3603
  $metadata: deserializeMetadata(output),
3604
3604
  });
3605
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3605
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3606
3606
  }
3607
3607
  };
3608
3608
  const deserializeAws_queryModifyUserGroupCommand = async (output, context) => {
@@ -3659,7 +3659,7 @@ const deserializeAws_queryModifyUserGroupCommandError = async (output, context)
3659
3659
  $fault: "client",
3660
3660
  $metadata: deserializeMetadata(output),
3661
3661
  });
3662
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3662
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3663
3663
  }
3664
3664
  };
3665
3665
  const deserializeAws_queryPurchaseReservedCacheNodesOfferingCommand = async (output, context) => {
@@ -3710,7 +3710,7 @@ const deserializeAws_queryPurchaseReservedCacheNodesOfferingCommandError = async
3710
3710
  $fault: "client",
3711
3711
  $metadata: deserializeMetadata(output),
3712
3712
  });
3713
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3713
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3714
3714
  }
3715
3715
  };
3716
3716
  const deserializeAws_queryRebalanceSlotsInGlobalReplicationGroupCommand = async (output, context) => {
@@ -3752,7 +3752,7 @@ const deserializeAws_queryRebalanceSlotsInGlobalReplicationGroupCommandError = a
3752
3752
  $fault: "client",
3753
3753
  $metadata: deserializeMetadata(output),
3754
3754
  });
3755
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3755
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3756
3756
  }
3757
3757
  };
3758
3758
  const deserializeAws_queryRebootCacheClusterCommand = async (output, context) => {
@@ -3791,7 +3791,7 @@ const deserializeAws_queryRebootCacheClusterCommandError = async (output, contex
3791
3791
  $fault: "client",
3792
3792
  $metadata: deserializeMetadata(output),
3793
3793
  });
3794
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3794
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3795
3795
  }
3796
3796
  };
3797
3797
  const deserializeAws_queryRemoveTagsFromResourceCommand = async (output, context) => {
@@ -3860,7 +3860,7 @@ const deserializeAws_queryRemoveTagsFromResourceCommandError = async (output, co
3860
3860
  $fault: "client",
3861
3861
  $metadata: deserializeMetadata(output),
3862
3862
  });
3863
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3863
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3864
3864
  }
3865
3865
  };
3866
3866
  const deserializeAws_queryResetCacheParameterGroupCommand = async (output, context) => {
@@ -3908,7 +3908,7 @@ const deserializeAws_queryResetCacheParameterGroupCommandError = async (output,
3908
3908
  $fault: "client",
3909
3909
  $metadata: deserializeMetadata(output),
3910
3910
  });
3911
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3911
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3912
3912
  }
3913
3913
  };
3914
3914
  const deserializeAws_queryRevokeCacheSecurityGroupIngressCommand = async (output, context) => {
@@ -3956,7 +3956,7 @@ const deserializeAws_queryRevokeCacheSecurityGroupIngressCommandError = async (o
3956
3956
  $fault: "client",
3957
3957
  $metadata: deserializeMetadata(output),
3958
3958
  });
3959
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3959
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3960
3960
  }
3961
3961
  };
3962
3962
  const deserializeAws_queryStartMigrationCommand = async (output, context) => {
@@ -4001,7 +4001,7 @@ const deserializeAws_queryStartMigrationCommandError = async (output, context) =
4001
4001
  $fault: "client",
4002
4002
  $metadata: deserializeMetadata(output),
4003
4003
  });
4004
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4004
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4005
4005
  }
4006
4006
  };
4007
4007
  const deserializeAws_queryTestFailoverCommand = async (output, context) => {
@@ -4061,7 +4061,7 @@ const deserializeAws_queryTestFailoverCommandError = async (output, context) =>
4061
4061
  $fault: "client",
4062
4062
  $metadata: deserializeMetadata(output),
4063
4063
  });
4064
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4064
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4065
4065
  }
4066
4066
  };
4067
4067
  const deserializeAws_queryAPICallRateForCustomerExceededFaultResponse = async (parsedOutput, context) => {
@@ -4071,7 +4071,7 @@ const deserializeAws_queryAPICallRateForCustomerExceededFaultResponse = async (p
4071
4071
  $metadata: deserializeMetadata(parsedOutput),
4072
4072
  ...deserialized,
4073
4073
  });
4074
- return smithy_client_1.decorateServiceException(exception, body);
4074
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4075
4075
  };
4076
4076
  const deserializeAws_queryAuthorizationAlreadyExistsFaultResponse = async (parsedOutput, context) => {
4077
4077
  const body = parsedOutput.body;
@@ -4080,7 +4080,7 @@ const deserializeAws_queryAuthorizationAlreadyExistsFaultResponse = async (parse
4080
4080
  $metadata: deserializeMetadata(parsedOutput),
4081
4081
  ...deserialized,
4082
4082
  });
4083
- return smithy_client_1.decorateServiceException(exception, body);
4083
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4084
4084
  };
4085
4085
  const deserializeAws_queryAuthorizationNotFoundFaultResponse = async (parsedOutput, context) => {
4086
4086
  const body = parsedOutput.body;
@@ -4089,7 +4089,7 @@ const deserializeAws_queryAuthorizationNotFoundFaultResponse = async (parsedOutp
4089
4089
  $metadata: deserializeMetadata(parsedOutput),
4090
4090
  ...deserialized,
4091
4091
  });
4092
- return smithy_client_1.decorateServiceException(exception, body);
4092
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4093
4093
  };
4094
4094
  const deserializeAws_queryCacheClusterAlreadyExistsFaultResponse = async (parsedOutput, context) => {
4095
4095
  const body = parsedOutput.body;
@@ -4098,7 +4098,7 @@ const deserializeAws_queryCacheClusterAlreadyExistsFaultResponse = async (parsed
4098
4098
  $metadata: deserializeMetadata(parsedOutput),
4099
4099
  ...deserialized,
4100
4100
  });
4101
- return smithy_client_1.decorateServiceException(exception, body);
4101
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4102
4102
  };
4103
4103
  const deserializeAws_queryCacheClusterNotFoundFaultResponse = async (parsedOutput, context) => {
4104
4104
  const body = parsedOutput.body;
@@ -4107,7 +4107,7 @@ const deserializeAws_queryCacheClusterNotFoundFaultResponse = async (parsedOutpu
4107
4107
  $metadata: deserializeMetadata(parsedOutput),
4108
4108
  ...deserialized,
4109
4109
  });
4110
- return smithy_client_1.decorateServiceException(exception, body);
4110
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4111
4111
  };
4112
4112
  const deserializeAws_queryCacheParameterGroupAlreadyExistsFaultResponse = async (parsedOutput, context) => {
4113
4113
  const body = parsedOutput.body;
@@ -4116,7 +4116,7 @@ const deserializeAws_queryCacheParameterGroupAlreadyExistsFaultResponse = async
4116
4116
  $metadata: deserializeMetadata(parsedOutput),
4117
4117
  ...deserialized,
4118
4118
  });
4119
- return smithy_client_1.decorateServiceException(exception, body);
4119
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4120
4120
  };
4121
4121
  const deserializeAws_queryCacheParameterGroupNotFoundFaultResponse = async (parsedOutput, context) => {
4122
4122
  const body = parsedOutput.body;
@@ -4125,7 +4125,7 @@ const deserializeAws_queryCacheParameterGroupNotFoundFaultResponse = async (pars
4125
4125
  $metadata: deserializeMetadata(parsedOutput),
4126
4126
  ...deserialized,
4127
4127
  });
4128
- return smithy_client_1.decorateServiceException(exception, body);
4128
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4129
4129
  };
4130
4130
  const deserializeAws_queryCacheParameterGroupQuotaExceededFaultResponse = async (parsedOutput, context) => {
4131
4131
  const body = parsedOutput.body;
@@ -4134,7 +4134,7 @@ const deserializeAws_queryCacheParameterGroupQuotaExceededFaultResponse = async
4134
4134
  $metadata: deserializeMetadata(parsedOutput),
4135
4135
  ...deserialized,
4136
4136
  });
4137
- return smithy_client_1.decorateServiceException(exception, body);
4137
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4138
4138
  };
4139
4139
  const deserializeAws_queryCacheSecurityGroupAlreadyExistsFaultResponse = async (parsedOutput, context) => {
4140
4140
  const body = parsedOutput.body;
@@ -4143,7 +4143,7 @@ const deserializeAws_queryCacheSecurityGroupAlreadyExistsFaultResponse = async (
4143
4143
  $metadata: deserializeMetadata(parsedOutput),
4144
4144
  ...deserialized,
4145
4145
  });
4146
- return smithy_client_1.decorateServiceException(exception, body);
4146
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4147
4147
  };
4148
4148
  const deserializeAws_queryCacheSecurityGroupNotFoundFaultResponse = async (parsedOutput, context) => {
4149
4149
  const body = parsedOutput.body;
@@ -4152,7 +4152,7 @@ const deserializeAws_queryCacheSecurityGroupNotFoundFaultResponse = async (parse
4152
4152
  $metadata: deserializeMetadata(parsedOutput),
4153
4153
  ...deserialized,
4154
4154
  });
4155
- return smithy_client_1.decorateServiceException(exception, body);
4155
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4156
4156
  };
4157
4157
  const deserializeAws_queryCacheSecurityGroupQuotaExceededFaultResponse = async (parsedOutput, context) => {
4158
4158
  const body = parsedOutput.body;
@@ -4161,7 +4161,7 @@ const deserializeAws_queryCacheSecurityGroupQuotaExceededFaultResponse = async (
4161
4161
  $metadata: deserializeMetadata(parsedOutput),
4162
4162
  ...deserialized,
4163
4163
  });
4164
- return smithy_client_1.decorateServiceException(exception, body);
4164
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4165
4165
  };
4166
4166
  const deserializeAws_queryCacheSubnetGroupAlreadyExistsFaultResponse = async (parsedOutput, context) => {
4167
4167
  const body = parsedOutput.body;
@@ -4170,7 +4170,7 @@ const deserializeAws_queryCacheSubnetGroupAlreadyExistsFaultResponse = async (pa
4170
4170
  $metadata: deserializeMetadata(parsedOutput),
4171
4171
  ...deserialized,
4172
4172
  });
4173
- return smithy_client_1.decorateServiceException(exception, body);
4173
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4174
4174
  };
4175
4175
  const deserializeAws_queryCacheSubnetGroupInUseResponse = async (parsedOutput, context) => {
4176
4176
  const body = parsedOutput.body;
@@ -4179,7 +4179,7 @@ const deserializeAws_queryCacheSubnetGroupInUseResponse = async (parsedOutput, c
4179
4179
  $metadata: deserializeMetadata(parsedOutput),
4180
4180
  ...deserialized,
4181
4181
  });
4182
- return smithy_client_1.decorateServiceException(exception, body);
4182
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4183
4183
  };
4184
4184
  const deserializeAws_queryCacheSubnetGroupNotFoundFaultResponse = async (parsedOutput, context) => {
4185
4185
  const body = parsedOutput.body;
@@ -4188,7 +4188,7 @@ const deserializeAws_queryCacheSubnetGroupNotFoundFaultResponse = async (parsedO
4188
4188
  $metadata: deserializeMetadata(parsedOutput),
4189
4189
  ...deserialized,
4190
4190
  });
4191
- return smithy_client_1.decorateServiceException(exception, body);
4191
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4192
4192
  };
4193
4193
  const deserializeAws_queryCacheSubnetGroupQuotaExceededFaultResponse = async (parsedOutput, context) => {
4194
4194
  const body = parsedOutput.body;
@@ -4197,7 +4197,7 @@ const deserializeAws_queryCacheSubnetGroupQuotaExceededFaultResponse = async (pa
4197
4197
  $metadata: deserializeMetadata(parsedOutput),
4198
4198
  ...deserialized,
4199
4199
  });
4200
- return smithy_client_1.decorateServiceException(exception, body);
4200
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4201
4201
  };
4202
4202
  const deserializeAws_queryCacheSubnetQuotaExceededFaultResponse = async (parsedOutput, context) => {
4203
4203
  const body = parsedOutput.body;
@@ -4206,7 +4206,7 @@ const deserializeAws_queryCacheSubnetQuotaExceededFaultResponse = async (parsedO
4206
4206
  $metadata: deserializeMetadata(parsedOutput),
4207
4207
  ...deserialized,
4208
4208
  });
4209
- return smithy_client_1.decorateServiceException(exception, body);
4209
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4210
4210
  };
4211
4211
  const deserializeAws_queryClusterQuotaForCustomerExceededFaultResponse = async (parsedOutput, context) => {
4212
4212
  const body = parsedOutput.body;
@@ -4215,7 +4215,7 @@ const deserializeAws_queryClusterQuotaForCustomerExceededFaultResponse = async (
4215
4215
  $metadata: deserializeMetadata(parsedOutput),
4216
4216
  ...deserialized,
4217
4217
  });
4218
- return smithy_client_1.decorateServiceException(exception, body);
4218
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4219
4219
  };
4220
4220
  const deserializeAws_queryDefaultUserAssociatedToUserGroupFaultResponse = async (parsedOutput, context) => {
4221
4221
  const body = parsedOutput.body;
@@ -4224,7 +4224,7 @@ const deserializeAws_queryDefaultUserAssociatedToUserGroupFaultResponse = async
4224
4224
  $metadata: deserializeMetadata(parsedOutput),
4225
4225
  ...deserialized,
4226
4226
  });
4227
- return smithy_client_1.decorateServiceException(exception, body);
4227
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4228
4228
  };
4229
4229
  const deserializeAws_queryDefaultUserRequiredResponse = async (parsedOutput, context) => {
4230
4230
  const body = parsedOutput.body;
@@ -4233,7 +4233,7 @@ const deserializeAws_queryDefaultUserRequiredResponse = async (parsedOutput, con
4233
4233
  $metadata: deserializeMetadata(parsedOutput),
4234
4234
  ...deserialized,
4235
4235
  });
4236
- return smithy_client_1.decorateServiceException(exception, body);
4236
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4237
4237
  };
4238
4238
  const deserializeAws_queryDuplicateUserNameFaultResponse = async (parsedOutput, context) => {
4239
4239
  const body = parsedOutput.body;
@@ -4242,7 +4242,7 @@ const deserializeAws_queryDuplicateUserNameFaultResponse = async (parsedOutput,
4242
4242
  $metadata: deserializeMetadata(parsedOutput),
4243
4243
  ...deserialized,
4244
4244
  });
4245
- return smithy_client_1.decorateServiceException(exception, body);
4245
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4246
4246
  };
4247
4247
  const deserializeAws_queryGlobalReplicationGroupAlreadyExistsFaultResponse = async (parsedOutput, context) => {
4248
4248
  const body = parsedOutput.body;
@@ -4251,7 +4251,7 @@ const deserializeAws_queryGlobalReplicationGroupAlreadyExistsFaultResponse = asy
4251
4251
  $metadata: deserializeMetadata(parsedOutput),
4252
4252
  ...deserialized,
4253
4253
  });
4254
- return smithy_client_1.decorateServiceException(exception, body);
4254
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4255
4255
  };
4256
4256
  const deserializeAws_queryGlobalReplicationGroupNotFoundFaultResponse = async (parsedOutput, context) => {
4257
4257
  const body = parsedOutput.body;
@@ -4260,7 +4260,7 @@ const deserializeAws_queryGlobalReplicationGroupNotFoundFaultResponse = async (p
4260
4260
  $metadata: deserializeMetadata(parsedOutput),
4261
4261
  ...deserialized,
4262
4262
  });
4263
- return smithy_client_1.decorateServiceException(exception, body);
4263
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4264
4264
  };
4265
4265
  const deserializeAws_queryInsufficientCacheClusterCapacityFaultResponse = async (parsedOutput, context) => {
4266
4266
  const body = parsedOutput.body;
@@ -4269,7 +4269,7 @@ const deserializeAws_queryInsufficientCacheClusterCapacityFaultResponse = async
4269
4269
  $metadata: deserializeMetadata(parsedOutput),
4270
4270
  ...deserialized,
4271
4271
  });
4272
- return smithy_client_1.decorateServiceException(exception, body);
4272
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4273
4273
  };
4274
4274
  const deserializeAws_queryInvalidARNFaultResponse = async (parsedOutput, context) => {
4275
4275
  const body = parsedOutput.body;
@@ -4278,7 +4278,7 @@ const deserializeAws_queryInvalidARNFaultResponse = async (parsedOutput, context
4278
4278
  $metadata: deserializeMetadata(parsedOutput),
4279
4279
  ...deserialized,
4280
4280
  });
4281
- return smithy_client_1.decorateServiceException(exception, body);
4281
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4282
4282
  };
4283
4283
  const deserializeAws_queryInvalidCacheClusterStateFaultResponse = async (parsedOutput, context) => {
4284
4284
  const body = parsedOutput.body;
@@ -4287,7 +4287,7 @@ const deserializeAws_queryInvalidCacheClusterStateFaultResponse = async (parsedO
4287
4287
  $metadata: deserializeMetadata(parsedOutput),
4288
4288
  ...deserialized,
4289
4289
  });
4290
- return smithy_client_1.decorateServiceException(exception, body);
4290
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4291
4291
  };
4292
4292
  const deserializeAws_queryInvalidCacheParameterGroupStateFaultResponse = async (parsedOutput, context) => {
4293
4293
  const body = parsedOutput.body;
@@ -4296,7 +4296,7 @@ const deserializeAws_queryInvalidCacheParameterGroupStateFaultResponse = async (
4296
4296
  $metadata: deserializeMetadata(parsedOutput),
4297
4297
  ...deserialized,
4298
4298
  });
4299
- return smithy_client_1.decorateServiceException(exception, body);
4299
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4300
4300
  };
4301
4301
  const deserializeAws_queryInvalidCacheSecurityGroupStateFaultResponse = async (parsedOutput, context) => {
4302
4302
  const body = parsedOutput.body;
@@ -4305,7 +4305,7 @@ const deserializeAws_queryInvalidCacheSecurityGroupStateFaultResponse = async (p
4305
4305
  $metadata: deserializeMetadata(parsedOutput),
4306
4306
  ...deserialized,
4307
4307
  });
4308
- return smithy_client_1.decorateServiceException(exception, body);
4308
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4309
4309
  };
4310
4310
  const deserializeAws_queryInvalidGlobalReplicationGroupStateFaultResponse = async (parsedOutput, context) => {
4311
4311
  const body = parsedOutput.body;
@@ -4314,7 +4314,7 @@ const deserializeAws_queryInvalidGlobalReplicationGroupStateFaultResponse = asyn
4314
4314
  $metadata: deserializeMetadata(parsedOutput),
4315
4315
  ...deserialized,
4316
4316
  });
4317
- return smithy_client_1.decorateServiceException(exception, body);
4317
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4318
4318
  };
4319
4319
  const deserializeAws_queryInvalidKMSKeyFaultResponse = async (parsedOutput, context) => {
4320
4320
  const body = parsedOutput.body;
@@ -4323,7 +4323,7 @@ const deserializeAws_queryInvalidKMSKeyFaultResponse = async (parsedOutput, cont
4323
4323
  $metadata: deserializeMetadata(parsedOutput),
4324
4324
  ...deserialized,
4325
4325
  });
4326
- return smithy_client_1.decorateServiceException(exception, body);
4326
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4327
4327
  };
4328
4328
  const deserializeAws_queryInvalidParameterCombinationExceptionResponse = async (parsedOutput, context) => {
4329
4329
  const body = parsedOutput.body;
@@ -4332,7 +4332,7 @@ const deserializeAws_queryInvalidParameterCombinationExceptionResponse = async (
4332
4332
  $metadata: deserializeMetadata(parsedOutput),
4333
4333
  ...deserialized,
4334
4334
  });
4335
- return smithy_client_1.decorateServiceException(exception, body);
4335
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4336
4336
  };
4337
4337
  const deserializeAws_queryInvalidParameterValueExceptionResponse = async (parsedOutput, context) => {
4338
4338
  const body = parsedOutput.body;
@@ -4341,7 +4341,7 @@ const deserializeAws_queryInvalidParameterValueExceptionResponse = async (parsed
4341
4341
  $metadata: deserializeMetadata(parsedOutput),
4342
4342
  ...deserialized,
4343
4343
  });
4344
- return smithy_client_1.decorateServiceException(exception, body);
4344
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4345
4345
  };
4346
4346
  const deserializeAws_queryInvalidReplicationGroupStateFaultResponse = async (parsedOutput, context) => {
4347
4347
  const body = parsedOutput.body;
@@ -4350,7 +4350,7 @@ const deserializeAws_queryInvalidReplicationGroupStateFaultResponse = async (par
4350
4350
  $metadata: deserializeMetadata(parsedOutput),
4351
4351
  ...deserialized,
4352
4352
  });
4353
- return smithy_client_1.decorateServiceException(exception, body);
4353
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4354
4354
  };
4355
4355
  const deserializeAws_queryInvalidSnapshotStateFaultResponse = async (parsedOutput, context) => {
4356
4356
  const body = parsedOutput.body;
@@ -4359,7 +4359,7 @@ const deserializeAws_queryInvalidSnapshotStateFaultResponse = async (parsedOutpu
4359
4359
  $metadata: deserializeMetadata(parsedOutput),
4360
4360
  ...deserialized,
4361
4361
  });
4362
- return smithy_client_1.decorateServiceException(exception, body);
4362
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4363
4363
  };
4364
4364
  const deserializeAws_queryInvalidSubnetResponse = async (parsedOutput, context) => {
4365
4365
  const body = parsedOutput.body;
@@ -4368,7 +4368,7 @@ const deserializeAws_queryInvalidSubnetResponse = async (parsedOutput, context)
4368
4368
  $metadata: deserializeMetadata(parsedOutput),
4369
4369
  ...deserialized,
4370
4370
  });
4371
- return smithy_client_1.decorateServiceException(exception, body);
4371
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4372
4372
  };
4373
4373
  const deserializeAws_queryInvalidUserGroupStateFaultResponse = async (parsedOutput, context) => {
4374
4374
  const body = parsedOutput.body;
@@ -4377,7 +4377,7 @@ const deserializeAws_queryInvalidUserGroupStateFaultResponse = async (parsedOutp
4377
4377
  $metadata: deserializeMetadata(parsedOutput),
4378
4378
  ...deserialized,
4379
4379
  });
4380
- return smithy_client_1.decorateServiceException(exception, body);
4380
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4381
4381
  };
4382
4382
  const deserializeAws_queryInvalidUserStateFaultResponse = async (parsedOutput, context) => {
4383
4383
  const body = parsedOutput.body;
@@ -4386,7 +4386,7 @@ const deserializeAws_queryInvalidUserStateFaultResponse = async (parsedOutput, c
4386
4386
  $metadata: deserializeMetadata(parsedOutput),
4387
4387
  ...deserialized,
4388
4388
  });
4389
- return smithy_client_1.decorateServiceException(exception, body);
4389
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4390
4390
  };
4391
4391
  const deserializeAws_queryInvalidVPCNetworkStateFaultResponse = async (parsedOutput, context) => {
4392
4392
  const body = parsedOutput.body;
@@ -4395,7 +4395,7 @@ const deserializeAws_queryInvalidVPCNetworkStateFaultResponse = async (parsedOut
4395
4395
  $metadata: deserializeMetadata(parsedOutput),
4396
4396
  ...deserialized,
4397
4397
  });
4398
- return smithy_client_1.decorateServiceException(exception, body);
4398
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4399
4399
  };
4400
4400
  const deserializeAws_queryNodeGroupNotFoundFaultResponse = async (parsedOutput, context) => {
4401
4401
  const body = parsedOutput.body;
@@ -4404,7 +4404,7 @@ const deserializeAws_queryNodeGroupNotFoundFaultResponse = async (parsedOutput,
4404
4404
  $metadata: deserializeMetadata(parsedOutput),
4405
4405
  ...deserialized,
4406
4406
  });
4407
- return smithy_client_1.decorateServiceException(exception, body);
4407
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4408
4408
  };
4409
4409
  const deserializeAws_queryNodeGroupsPerReplicationGroupQuotaExceededFaultResponse = async (parsedOutput, context) => {
4410
4410
  const body = parsedOutput.body;
@@ -4413,7 +4413,7 @@ const deserializeAws_queryNodeGroupsPerReplicationGroupQuotaExceededFaultRespons
4413
4413
  $metadata: deserializeMetadata(parsedOutput),
4414
4414
  ...deserialized,
4415
4415
  });
4416
- return smithy_client_1.decorateServiceException(exception, body);
4416
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4417
4417
  };
4418
4418
  const deserializeAws_queryNodeQuotaForClusterExceededFaultResponse = async (parsedOutput, context) => {
4419
4419
  const body = parsedOutput.body;
@@ -4422,7 +4422,7 @@ const deserializeAws_queryNodeQuotaForClusterExceededFaultResponse = async (pars
4422
4422
  $metadata: deserializeMetadata(parsedOutput),
4423
4423
  ...deserialized,
4424
4424
  });
4425
- return smithy_client_1.decorateServiceException(exception, body);
4425
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4426
4426
  };
4427
4427
  const deserializeAws_queryNodeQuotaForCustomerExceededFaultResponse = async (parsedOutput, context) => {
4428
4428
  const body = parsedOutput.body;
@@ -4431,7 +4431,7 @@ const deserializeAws_queryNodeQuotaForCustomerExceededFaultResponse = async (par
4431
4431
  $metadata: deserializeMetadata(parsedOutput),
4432
4432
  ...deserialized,
4433
4433
  });
4434
- return smithy_client_1.decorateServiceException(exception, body);
4434
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4435
4435
  };
4436
4436
  const deserializeAws_queryNoOperationFaultResponse = async (parsedOutput, context) => {
4437
4437
  const body = parsedOutput.body;
@@ -4440,7 +4440,7 @@ const deserializeAws_queryNoOperationFaultResponse = async (parsedOutput, contex
4440
4440
  $metadata: deserializeMetadata(parsedOutput),
4441
4441
  ...deserialized,
4442
4442
  });
4443
- return smithy_client_1.decorateServiceException(exception, body);
4443
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4444
4444
  };
4445
4445
  const deserializeAws_queryReplicationGroupAlreadyExistsFaultResponse = async (parsedOutput, context) => {
4446
4446
  const body = parsedOutput.body;
@@ -4449,7 +4449,7 @@ const deserializeAws_queryReplicationGroupAlreadyExistsFaultResponse = async (pa
4449
4449
  $metadata: deserializeMetadata(parsedOutput),
4450
4450
  ...deserialized,
4451
4451
  });
4452
- return smithy_client_1.decorateServiceException(exception, body);
4452
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4453
4453
  };
4454
4454
  const deserializeAws_queryReplicationGroupAlreadyUnderMigrationFaultResponse = async (parsedOutput, context) => {
4455
4455
  const body = parsedOutput.body;
@@ -4458,7 +4458,7 @@ const deserializeAws_queryReplicationGroupAlreadyUnderMigrationFaultResponse = a
4458
4458
  $metadata: deserializeMetadata(parsedOutput),
4459
4459
  ...deserialized,
4460
4460
  });
4461
- return smithy_client_1.decorateServiceException(exception, body);
4461
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4462
4462
  };
4463
4463
  const deserializeAws_queryReplicationGroupNotFoundFaultResponse = async (parsedOutput, context) => {
4464
4464
  const body = parsedOutput.body;
@@ -4467,7 +4467,7 @@ const deserializeAws_queryReplicationGroupNotFoundFaultResponse = async (parsedO
4467
4467
  $metadata: deserializeMetadata(parsedOutput),
4468
4468
  ...deserialized,
4469
4469
  });
4470
- return smithy_client_1.decorateServiceException(exception, body);
4470
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4471
4471
  };
4472
4472
  const deserializeAws_queryReplicationGroupNotUnderMigrationFaultResponse = async (parsedOutput, context) => {
4473
4473
  const body = parsedOutput.body;
@@ -4476,7 +4476,7 @@ const deserializeAws_queryReplicationGroupNotUnderMigrationFaultResponse = async
4476
4476
  $metadata: deserializeMetadata(parsedOutput),
4477
4477
  ...deserialized,
4478
4478
  });
4479
- return smithy_client_1.decorateServiceException(exception, body);
4479
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4480
4480
  };
4481
4481
  const deserializeAws_queryReservedCacheNodeAlreadyExistsFaultResponse = async (parsedOutput, context) => {
4482
4482
  const body = parsedOutput.body;
@@ -4485,7 +4485,7 @@ const deserializeAws_queryReservedCacheNodeAlreadyExistsFaultResponse = async (p
4485
4485
  $metadata: deserializeMetadata(parsedOutput),
4486
4486
  ...deserialized,
4487
4487
  });
4488
- return smithy_client_1.decorateServiceException(exception, body);
4488
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4489
4489
  };
4490
4490
  const deserializeAws_queryReservedCacheNodeNotFoundFaultResponse = async (parsedOutput, context) => {
4491
4491
  const body = parsedOutput.body;
@@ -4494,7 +4494,7 @@ const deserializeAws_queryReservedCacheNodeNotFoundFaultResponse = async (parsed
4494
4494
  $metadata: deserializeMetadata(parsedOutput),
4495
4495
  ...deserialized,
4496
4496
  });
4497
- return smithy_client_1.decorateServiceException(exception, body);
4497
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4498
4498
  };
4499
4499
  const deserializeAws_queryReservedCacheNodeQuotaExceededFaultResponse = async (parsedOutput, context) => {
4500
4500
  const body = parsedOutput.body;
@@ -4503,7 +4503,7 @@ const deserializeAws_queryReservedCacheNodeQuotaExceededFaultResponse = async (p
4503
4503
  $metadata: deserializeMetadata(parsedOutput),
4504
4504
  ...deserialized,
4505
4505
  });
4506
- return smithy_client_1.decorateServiceException(exception, body);
4506
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4507
4507
  };
4508
4508
  const deserializeAws_queryReservedCacheNodesOfferingNotFoundFaultResponse = async (parsedOutput, context) => {
4509
4509
  const body = parsedOutput.body;
@@ -4512,7 +4512,7 @@ const deserializeAws_queryReservedCacheNodesOfferingNotFoundFaultResponse = asyn
4512
4512
  $metadata: deserializeMetadata(parsedOutput),
4513
4513
  ...deserialized,
4514
4514
  });
4515
- return smithy_client_1.decorateServiceException(exception, body);
4515
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4516
4516
  };
4517
4517
  const deserializeAws_queryServiceLinkedRoleNotFoundFaultResponse = async (parsedOutput, context) => {
4518
4518
  const body = parsedOutput.body;
@@ -4521,7 +4521,7 @@ const deserializeAws_queryServiceLinkedRoleNotFoundFaultResponse = async (parsed
4521
4521
  $metadata: deserializeMetadata(parsedOutput),
4522
4522
  ...deserialized,
4523
4523
  });
4524
- return smithy_client_1.decorateServiceException(exception, body);
4524
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4525
4525
  };
4526
4526
  const deserializeAws_queryServiceUpdateNotFoundFaultResponse = async (parsedOutput, context) => {
4527
4527
  const body = parsedOutput.body;
@@ -4530,7 +4530,7 @@ const deserializeAws_queryServiceUpdateNotFoundFaultResponse = async (parsedOutp
4530
4530
  $metadata: deserializeMetadata(parsedOutput),
4531
4531
  ...deserialized,
4532
4532
  });
4533
- return smithy_client_1.decorateServiceException(exception, body);
4533
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4534
4534
  };
4535
4535
  const deserializeAws_querySnapshotAlreadyExistsFaultResponse = async (parsedOutput, context) => {
4536
4536
  const body = parsedOutput.body;
@@ -4539,7 +4539,7 @@ const deserializeAws_querySnapshotAlreadyExistsFaultResponse = async (parsedOutp
4539
4539
  $metadata: deserializeMetadata(parsedOutput),
4540
4540
  ...deserialized,
4541
4541
  });
4542
- return smithy_client_1.decorateServiceException(exception, body);
4542
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4543
4543
  };
4544
4544
  const deserializeAws_querySnapshotFeatureNotSupportedFaultResponse = async (parsedOutput, context) => {
4545
4545
  const body = parsedOutput.body;
@@ -4548,7 +4548,7 @@ const deserializeAws_querySnapshotFeatureNotSupportedFaultResponse = async (pars
4548
4548
  $metadata: deserializeMetadata(parsedOutput),
4549
4549
  ...deserialized,
4550
4550
  });
4551
- return smithy_client_1.decorateServiceException(exception, body);
4551
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4552
4552
  };
4553
4553
  const deserializeAws_querySnapshotNotFoundFaultResponse = async (parsedOutput, context) => {
4554
4554
  const body = parsedOutput.body;
@@ -4557,7 +4557,7 @@ const deserializeAws_querySnapshotNotFoundFaultResponse = async (parsedOutput, c
4557
4557
  $metadata: deserializeMetadata(parsedOutput),
4558
4558
  ...deserialized,
4559
4559
  });
4560
- return smithy_client_1.decorateServiceException(exception, body);
4560
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4561
4561
  };
4562
4562
  const deserializeAws_querySnapshotQuotaExceededFaultResponse = async (parsedOutput, context) => {
4563
4563
  const body = parsedOutput.body;
@@ -4566,7 +4566,7 @@ const deserializeAws_querySnapshotQuotaExceededFaultResponse = async (parsedOutp
4566
4566
  $metadata: deserializeMetadata(parsedOutput),
4567
4567
  ...deserialized,
4568
4568
  });
4569
- return smithy_client_1.decorateServiceException(exception, body);
4569
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4570
4570
  };
4571
4571
  const deserializeAws_querySubnetInUseResponse = async (parsedOutput, context) => {
4572
4572
  const body = parsedOutput.body;
@@ -4575,7 +4575,7 @@ const deserializeAws_querySubnetInUseResponse = async (parsedOutput, context) =>
4575
4575
  $metadata: deserializeMetadata(parsedOutput),
4576
4576
  ...deserialized,
4577
4577
  });
4578
- return smithy_client_1.decorateServiceException(exception, body);
4578
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4579
4579
  };
4580
4580
  const deserializeAws_querySubnetNotAllowedFaultResponse = async (parsedOutput, context) => {
4581
4581
  const body = parsedOutput.body;
@@ -4584,7 +4584,7 @@ const deserializeAws_querySubnetNotAllowedFaultResponse = async (parsedOutput, c
4584
4584
  $metadata: deserializeMetadata(parsedOutput),
4585
4585
  ...deserialized,
4586
4586
  });
4587
- return smithy_client_1.decorateServiceException(exception, body);
4587
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4588
4588
  };
4589
4589
  const deserializeAws_queryTagNotFoundFaultResponse = async (parsedOutput, context) => {
4590
4590
  const body = parsedOutput.body;
@@ -4593,7 +4593,7 @@ const deserializeAws_queryTagNotFoundFaultResponse = async (parsedOutput, contex
4593
4593
  $metadata: deserializeMetadata(parsedOutput),
4594
4594
  ...deserialized,
4595
4595
  });
4596
- return smithy_client_1.decorateServiceException(exception, body);
4596
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4597
4597
  };
4598
4598
  const deserializeAws_queryTagQuotaPerResourceExceededResponse = async (parsedOutput, context) => {
4599
4599
  const body = parsedOutput.body;
@@ -4602,7 +4602,7 @@ const deserializeAws_queryTagQuotaPerResourceExceededResponse = async (parsedOut
4602
4602
  $metadata: deserializeMetadata(parsedOutput),
4603
4603
  ...deserialized,
4604
4604
  });
4605
- return smithy_client_1.decorateServiceException(exception, body);
4605
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4606
4606
  };
4607
4607
  const deserializeAws_queryTestFailoverNotAvailableFaultResponse = async (parsedOutput, context) => {
4608
4608
  const body = parsedOutput.body;
@@ -4611,7 +4611,7 @@ const deserializeAws_queryTestFailoverNotAvailableFaultResponse = async (parsedO
4611
4611
  $metadata: deserializeMetadata(parsedOutput),
4612
4612
  ...deserialized,
4613
4613
  });
4614
- return smithy_client_1.decorateServiceException(exception, body);
4614
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4615
4615
  };
4616
4616
  const deserializeAws_queryUserAlreadyExistsFaultResponse = async (parsedOutput, context) => {
4617
4617
  const body = parsedOutput.body;
@@ -4620,7 +4620,7 @@ const deserializeAws_queryUserAlreadyExistsFaultResponse = async (parsedOutput,
4620
4620
  $metadata: deserializeMetadata(parsedOutput),
4621
4621
  ...deserialized,
4622
4622
  });
4623
- return smithy_client_1.decorateServiceException(exception, body);
4623
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4624
4624
  };
4625
4625
  const deserializeAws_queryUserGroupAlreadyExistsFaultResponse = async (parsedOutput, context) => {
4626
4626
  const body = parsedOutput.body;
@@ -4629,7 +4629,7 @@ const deserializeAws_queryUserGroupAlreadyExistsFaultResponse = async (parsedOut
4629
4629
  $metadata: deserializeMetadata(parsedOutput),
4630
4630
  ...deserialized,
4631
4631
  });
4632
- return smithy_client_1.decorateServiceException(exception, body);
4632
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4633
4633
  };
4634
4634
  const deserializeAws_queryUserGroupNotFoundFaultResponse = async (parsedOutput, context) => {
4635
4635
  const body = parsedOutput.body;
@@ -4638,7 +4638,7 @@ const deserializeAws_queryUserGroupNotFoundFaultResponse = async (parsedOutput,
4638
4638
  $metadata: deserializeMetadata(parsedOutput),
4639
4639
  ...deserialized,
4640
4640
  });
4641
- return smithy_client_1.decorateServiceException(exception, body);
4641
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4642
4642
  };
4643
4643
  const deserializeAws_queryUserGroupQuotaExceededFaultResponse = async (parsedOutput, context) => {
4644
4644
  const body = parsedOutput.body;
@@ -4647,7 +4647,7 @@ const deserializeAws_queryUserGroupQuotaExceededFaultResponse = async (parsedOut
4647
4647
  $metadata: deserializeMetadata(parsedOutput),
4648
4648
  ...deserialized,
4649
4649
  });
4650
- return smithy_client_1.decorateServiceException(exception, body);
4650
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4651
4651
  };
4652
4652
  const deserializeAws_queryUserNotFoundFaultResponse = async (parsedOutput, context) => {
4653
4653
  const body = parsedOutput.body;
@@ -4656,7 +4656,7 @@ const deserializeAws_queryUserNotFoundFaultResponse = async (parsedOutput, conte
4656
4656
  $metadata: deserializeMetadata(parsedOutput),
4657
4657
  ...deserialized,
4658
4658
  });
4659
- return smithy_client_1.decorateServiceException(exception, body);
4659
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4660
4660
  };
4661
4661
  const deserializeAws_queryUserQuotaExceededFaultResponse = async (parsedOutput, context) => {
4662
4662
  const body = parsedOutput.body;
@@ -4665,7 +4665,7 @@ const deserializeAws_queryUserQuotaExceededFaultResponse = async (parsedOutput,
4665
4665
  $metadata: deserializeMetadata(parsedOutput),
4666
4666
  ...deserialized,
4667
4667
  });
4668
- return smithy_client_1.decorateServiceException(exception, body);
4668
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4669
4669
  };
4670
4670
  const serializeAws_queryAddTagsToResourceMessage = (input, context) => {
4671
4671
  const entries = {};
@@ -6784,13 +6784,13 @@ const deserializeAws_queryAllowedNodeTypeModificationsMessage = (output, context
6784
6784
  contents.ScaleUpModifications = [];
6785
6785
  }
6786
6786
  if (output["ScaleUpModifications"] !== undefined && output["ScaleUpModifications"]["member"] !== undefined) {
6787
- contents.ScaleUpModifications = deserializeAws_queryNodeTypeList(smithy_client_1.getArrayIfSingleItem(output["ScaleUpModifications"]["member"]), context);
6787
+ contents.ScaleUpModifications = deserializeAws_queryNodeTypeList((0, smithy_client_1.getArrayIfSingleItem)(output["ScaleUpModifications"]["member"]), context);
6788
6788
  }
6789
6789
  if (output.ScaleDownModifications === "") {
6790
6790
  contents.ScaleDownModifications = [];
6791
6791
  }
6792
6792
  if (output["ScaleDownModifications"] !== undefined && output["ScaleDownModifications"]["member"] !== undefined) {
6793
- contents.ScaleDownModifications = deserializeAws_queryNodeTypeList(smithy_client_1.getArrayIfSingleItem(output["ScaleDownModifications"]["member"]), context);
6793
+ contents.ScaleDownModifications = deserializeAws_queryNodeTypeList((0, smithy_client_1.getArrayIfSingleItem)(output["ScaleDownModifications"]["member"]), context);
6794
6794
  }
6795
6795
  return contents;
6796
6796
  };
@@ -6799,7 +6799,7 @@ const deserializeAws_queryAPICallRateForCustomerExceededFault = (output, context
6799
6799
  message: undefined,
6800
6800
  };
6801
6801
  if (output["message"] !== undefined) {
6802
- contents.message = smithy_client_1.expectString(output["message"]);
6802
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6803
6803
  }
6804
6804
  return contents;
6805
6805
  };
@@ -6809,10 +6809,10 @@ const deserializeAws_queryAuthentication = (output, context) => {
6809
6809
  PasswordCount: undefined,
6810
6810
  };
6811
6811
  if (output["Type"] !== undefined) {
6812
- contents.Type = smithy_client_1.expectString(output["Type"]);
6812
+ contents.Type = (0, smithy_client_1.expectString)(output["Type"]);
6813
6813
  }
6814
6814
  if (output["PasswordCount"] !== undefined) {
6815
- contents.PasswordCount = smithy_client_1.strictParseInt32(output["PasswordCount"]);
6815
+ contents.PasswordCount = (0, smithy_client_1.strictParseInt32)(output["PasswordCount"]);
6816
6816
  }
6817
6817
  return contents;
6818
6818
  };
@@ -6821,7 +6821,7 @@ const deserializeAws_queryAuthorizationAlreadyExistsFault = (output, context) =>
6821
6821
  message: undefined,
6822
6822
  };
6823
6823
  if (output["message"] !== undefined) {
6824
- contents.message = smithy_client_1.expectString(output["message"]);
6824
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6825
6825
  }
6826
6826
  return contents;
6827
6827
  };
@@ -6830,7 +6830,7 @@ const deserializeAws_queryAuthorizationNotFoundFault = (output, context) => {
6830
6830
  message: undefined,
6831
6831
  };
6832
6832
  if (output["message"] !== undefined) {
6833
- contents.message = smithy_client_1.expectString(output["message"]);
6833
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6834
6834
  }
6835
6835
  return contents;
6836
6836
  };
@@ -6848,7 +6848,7 @@ const deserializeAws_queryAvailabilityZone = (output, context) => {
6848
6848
  Name: undefined,
6849
6849
  };
6850
6850
  if (output["Name"] !== undefined) {
6851
- contents.Name = smithy_client_1.expectString(output["Name"]);
6851
+ contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6852
6852
  }
6853
6853
  return contents;
6854
6854
  };
@@ -6859,7 +6859,7 @@ const deserializeAws_queryAvailabilityZonesList = (output, context) => {
6859
6859
  if (entry === null) {
6860
6860
  return null;
6861
6861
  }
6862
- return smithy_client_1.expectString(entry);
6862
+ return (0, smithy_client_1.expectString)(entry);
6863
6863
  });
6864
6864
  };
6865
6865
  const deserializeAws_queryCacheCluster = (output, context) => {
@@ -6896,40 +6896,40 @@ const deserializeAws_queryCacheCluster = (output, context) => {
6896
6896
  LogDeliveryConfigurations: undefined,
6897
6897
  };
6898
6898
  if (output["CacheClusterId"] !== undefined) {
6899
- contents.CacheClusterId = smithy_client_1.expectString(output["CacheClusterId"]);
6899
+ contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
6900
6900
  }
6901
6901
  if (output["ConfigurationEndpoint"] !== undefined) {
6902
6902
  contents.ConfigurationEndpoint = deserializeAws_queryEndpoint(output["ConfigurationEndpoint"], context);
6903
6903
  }
6904
6904
  if (output["ClientDownloadLandingPage"] !== undefined) {
6905
- contents.ClientDownloadLandingPage = smithy_client_1.expectString(output["ClientDownloadLandingPage"]);
6905
+ contents.ClientDownloadLandingPage = (0, smithy_client_1.expectString)(output["ClientDownloadLandingPage"]);
6906
6906
  }
6907
6907
  if (output["CacheNodeType"] !== undefined) {
6908
- contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
6908
+ contents.CacheNodeType = (0, smithy_client_1.expectString)(output["CacheNodeType"]);
6909
6909
  }
6910
6910
  if (output["Engine"] !== undefined) {
6911
- contents.Engine = smithy_client_1.expectString(output["Engine"]);
6911
+ contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
6912
6912
  }
6913
6913
  if (output["EngineVersion"] !== undefined) {
6914
- contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
6914
+ contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
6915
6915
  }
6916
6916
  if (output["CacheClusterStatus"] !== undefined) {
6917
- contents.CacheClusterStatus = smithy_client_1.expectString(output["CacheClusterStatus"]);
6917
+ contents.CacheClusterStatus = (0, smithy_client_1.expectString)(output["CacheClusterStatus"]);
6918
6918
  }
6919
6919
  if (output["NumCacheNodes"] !== undefined) {
6920
- contents.NumCacheNodes = smithy_client_1.strictParseInt32(output["NumCacheNodes"]);
6920
+ contents.NumCacheNodes = (0, smithy_client_1.strictParseInt32)(output["NumCacheNodes"]);
6921
6921
  }
6922
6922
  if (output["PreferredAvailabilityZone"] !== undefined) {
6923
- contents.PreferredAvailabilityZone = smithy_client_1.expectString(output["PreferredAvailabilityZone"]);
6923
+ contents.PreferredAvailabilityZone = (0, smithy_client_1.expectString)(output["PreferredAvailabilityZone"]);
6924
6924
  }
6925
6925
  if (output["PreferredOutpostArn"] !== undefined) {
6926
- contents.PreferredOutpostArn = smithy_client_1.expectString(output["PreferredOutpostArn"]);
6926
+ contents.PreferredOutpostArn = (0, smithy_client_1.expectString)(output["PreferredOutpostArn"]);
6927
6927
  }
6928
6928
  if (output["CacheClusterCreateTime"] !== undefined) {
6929
- contents.CacheClusterCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CacheClusterCreateTime"]));
6929
+ contents.CacheClusterCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CacheClusterCreateTime"]));
6930
6930
  }
6931
6931
  if (output["PreferredMaintenanceWindow"] !== undefined) {
6932
- contents.PreferredMaintenanceWindow = smithy_client_1.expectString(output["PreferredMaintenanceWindow"]);
6932
+ contents.PreferredMaintenanceWindow = (0, smithy_client_1.expectString)(output["PreferredMaintenanceWindow"]);
6933
6933
  }
6934
6934
  if (output["PendingModifiedValues"] !== undefined) {
6935
6935
  contents.PendingModifiedValues = deserializeAws_queryPendingModifiedValues(output["PendingModifiedValues"], context);
@@ -6942,62 +6942,62 @@ const deserializeAws_queryCacheCluster = (output, context) => {
6942
6942
  }
6943
6943
  if (output["CacheSecurityGroups"] !== undefined &&
6944
6944
  output["CacheSecurityGroups"]["CacheSecurityGroup"] !== undefined) {
6945
- contents.CacheSecurityGroups = deserializeAws_queryCacheSecurityGroupMembershipList(smithy_client_1.getArrayIfSingleItem(output["CacheSecurityGroups"]["CacheSecurityGroup"]), context);
6945
+ contents.CacheSecurityGroups = deserializeAws_queryCacheSecurityGroupMembershipList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheSecurityGroups"]["CacheSecurityGroup"]), context);
6946
6946
  }
6947
6947
  if (output["CacheParameterGroup"] !== undefined) {
6948
6948
  contents.CacheParameterGroup = deserializeAws_queryCacheParameterGroupStatus(output["CacheParameterGroup"], context);
6949
6949
  }
6950
6950
  if (output["CacheSubnetGroupName"] !== undefined) {
6951
- contents.CacheSubnetGroupName = smithy_client_1.expectString(output["CacheSubnetGroupName"]);
6951
+ contents.CacheSubnetGroupName = (0, smithy_client_1.expectString)(output["CacheSubnetGroupName"]);
6952
6952
  }
6953
6953
  if (output.CacheNodes === "") {
6954
6954
  contents.CacheNodes = [];
6955
6955
  }
6956
6956
  if (output["CacheNodes"] !== undefined && output["CacheNodes"]["CacheNode"] !== undefined) {
6957
- contents.CacheNodes = deserializeAws_queryCacheNodeList(smithy_client_1.getArrayIfSingleItem(output["CacheNodes"]["CacheNode"]), context);
6957
+ contents.CacheNodes = deserializeAws_queryCacheNodeList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheNodes"]["CacheNode"]), context);
6958
6958
  }
6959
6959
  if (output["AutoMinorVersionUpgrade"] !== undefined) {
6960
- contents.AutoMinorVersionUpgrade = smithy_client_1.parseBoolean(output["AutoMinorVersionUpgrade"]);
6960
+ contents.AutoMinorVersionUpgrade = (0, smithy_client_1.parseBoolean)(output["AutoMinorVersionUpgrade"]);
6961
6961
  }
6962
6962
  if (output.SecurityGroups === "") {
6963
6963
  contents.SecurityGroups = [];
6964
6964
  }
6965
6965
  if (output["SecurityGroups"] !== undefined && output["SecurityGroups"]["member"] !== undefined) {
6966
- contents.SecurityGroups = deserializeAws_querySecurityGroupMembershipList(smithy_client_1.getArrayIfSingleItem(output["SecurityGroups"]["member"]), context);
6966
+ contents.SecurityGroups = deserializeAws_querySecurityGroupMembershipList((0, smithy_client_1.getArrayIfSingleItem)(output["SecurityGroups"]["member"]), context);
6967
6967
  }
6968
6968
  if (output["ReplicationGroupId"] !== undefined) {
6969
- contents.ReplicationGroupId = smithy_client_1.expectString(output["ReplicationGroupId"]);
6969
+ contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
6970
6970
  }
6971
6971
  if (output["SnapshotRetentionLimit"] !== undefined) {
6972
- contents.SnapshotRetentionLimit = smithy_client_1.strictParseInt32(output["SnapshotRetentionLimit"]);
6972
+ contents.SnapshotRetentionLimit = (0, smithy_client_1.strictParseInt32)(output["SnapshotRetentionLimit"]);
6973
6973
  }
6974
6974
  if (output["SnapshotWindow"] !== undefined) {
6975
- contents.SnapshotWindow = smithy_client_1.expectString(output["SnapshotWindow"]);
6975
+ contents.SnapshotWindow = (0, smithy_client_1.expectString)(output["SnapshotWindow"]);
6976
6976
  }
6977
6977
  if (output["AuthTokenEnabled"] !== undefined) {
6978
- contents.AuthTokenEnabled = smithy_client_1.parseBoolean(output["AuthTokenEnabled"]);
6978
+ contents.AuthTokenEnabled = (0, smithy_client_1.parseBoolean)(output["AuthTokenEnabled"]);
6979
6979
  }
6980
6980
  if (output["AuthTokenLastModifiedDate"] !== undefined) {
6981
- contents.AuthTokenLastModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["AuthTokenLastModifiedDate"]));
6981
+ contents.AuthTokenLastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["AuthTokenLastModifiedDate"]));
6982
6982
  }
6983
6983
  if (output["TransitEncryptionEnabled"] !== undefined) {
6984
- contents.TransitEncryptionEnabled = smithy_client_1.parseBoolean(output["TransitEncryptionEnabled"]);
6984
+ contents.TransitEncryptionEnabled = (0, smithy_client_1.parseBoolean)(output["TransitEncryptionEnabled"]);
6985
6985
  }
6986
6986
  if (output["AtRestEncryptionEnabled"] !== undefined) {
6987
- contents.AtRestEncryptionEnabled = smithy_client_1.parseBoolean(output["AtRestEncryptionEnabled"]);
6987
+ contents.AtRestEncryptionEnabled = (0, smithy_client_1.parseBoolean)(output["AtRestEncryptionEnabled"]);
6988
6988
  }
6989
6989
  if (output["ARN"] !== undefined) {
6990
- contents.ARN = smithy_client_1.expectString(output["ARN"]);
6990
+ contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
6991
6991
  }
6992
6992
  if (output["ReplicationGroupLogDeliveryEnabled"] !== undefined) {
6993
- contents.ReplicationGroupLogDeliveryEnabled = smithy_client_1.parseBoolean(output["ReplicationGroupLogDeliveryEnabled"]);
6993
+ contents.ReplicationGroupLogDeliveryEnabled = (0, smithy_client_1.parseBoolean)(output["ReplicationGroupLogDeliveryEnabled"]);
6994
6994
  }
6995
6995
  if (output.LogDeliveryConfigurations === "") {
6996
6996
  contents.LogDeliveryConfigurations = [];
6997
6997
  }
6998
6998
  if (output["LogDeliveryConfigurations"] !== undefined &&
6999
6999
  output["LogDeliveryConfigurations"]["LogDeliveryConfiguration"] !== undefined) {
7000
- contents.LogDeliveryConfigurations = deserializeAws_queryLogDeliveryConfigurationList(smithy_client_1.getArrayIfSingleItem(output["LogDeliveryConfigurations"]["LogDeliveryConfiguration"]), context);
7000
+ contents.LogDeliveryConfigurations = deserializeAws_queryLogDeliveryConfigurationList((0, smithy_client_1.getArrayIfSingleItem)(output["LogDeliveryConfigurations"]["LogDeliveryConfiguration"]), context);
7001
7001
  }
7002
7002
  return contents;
7003
7003
  };
@@ -7006,7 +7006,7 @@ const deserializeAws_queryCacheClusterAlreadyExistsFault = (output, context) =>
7006
7006
  message: undefined,
7007
7007
  };
7008
7008
  if (output["message"] !== undefined) {
7009
- contents.message = smithy_client_1.expectString(output["message"]);
7009
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7010
7010
  }
7011
7011
  return contents;
7012
7012
  };
@@ -7026,13 +7026,13 @@ const deserializeAws_queryCacheClusterMessage = (output, context) => {
7026
7026
  CacheClusters: undefined,
7027
7027
  };
7028
7028
  if (output["Marker"] !== undefined) {
7029
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
7029
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7030
7030
  }
7031
7031
  if (output.CacheClusters === "") {
7032
7032
  contents.CacheClusters = [];
7033
7033
  }
7034
7034
  if (output["CacheClusters"] !== undefined && output["CacheClusters"]["CacheCluster"] !== undefined) {
7035
- contents.CacheClusters = deserializeAws_queryCacheClusterList(smithy_client_1.getArrayIfSingleItem(output["CacheClusters"]["CacheCluster"]), context);
7035
+ contents.CacheClusters = deserializeAws_queryCacheClusterList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheClusters"]["CacheCluster"]), context);
7036
7036
  }
7037
7037
  return contents;
7038
7038
  };
@@ -7041,7 +7041,7 @@ const deserializeAws_queryCacheClusterNotFoundFault = (output, context) => {
7041
7041
  message: undefined,
7042
7042
  };
7043
7043
  if (output["message"] !== undefined) {
7044
- contents.message = smithy_client_1.expectString(output["message"]);
7044
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7045
7045
  }
7046
7046
  return contents;
7047
7047
  };
@@ -7054,19 +7054,19 @@ const deserializeAws_queryCacheEngineVersion = (output, context) => {
7054
7054
  CacheEngineVersionDescription: undefined,
7055
7055
  };
7056
7056
  if (output["Engine"] !== undefined) {
7057
- contents.Engine = smithy_client_1.expectString(output["Engine"]);
7057
+ contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
7058
7058
  }
7059
7059
  if (output["EngineVersion"] !== undefined) {
7060
- contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
7060
+ contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
7061
7061
  }
7062
7062
  if (output["CacheParameterGroupFamily"] !== undefined) {
7063
- contents.CacheParameterGroupFamily = smithy_client_1.expectString(output["CacheParameterGroupFamily"]);
7063
+ contents.CacheParameterGroupFamily = (0, smithy_client_1.expectString)(output["CacheParameterGroupFamily"]);
7064
7064
  }
7065
7065
  if (output["CacheEngineDescription"] !== undefined) {
7066
- contents.CacheEngineDescription = smithy_client_1.expectString(output["CacheEngineDescription"]);
7066
+ contents.CacheEngineDescription = (0, smithy_client_1.expectString)(output["CacheEngineDescription"]);
7067
7067
  }
7068
7068
  if (output["CacheEngineVersionDescription"] !== undefined) {
7069
- contents.CacheEngineVersionDescription = smithy_client_1.expectString(output["CacheEngineVersionDescription"]);
7069
+ contents.CacheEngineVersionDescription = (0, smithy_client_1.expectString)(output["CacheEngineVersionDescription"]);
7070
7070
  }
7071
7071
  return contents;
7072
7072
  };
@@ -7086,14 +7086,14 @@ const deserializeAws_queryCacheEngineVersionMessage = (output, context) => {
7086
7086
  CacheEngineVersions: undefined,
7087
7087
  };
7088
7088
  if (output["Marker"] !== undefined) {
7089
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
7089
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7090
7090
  }
7091
7091
  if (output.CacheEngineVersions === "") {
7092
7092
  contents.CacheEngineVersions = [];
7093
7093
  }
7094
7094
  if (output["CacheEngineVersions"] !== undefined &&
7095
7095
  output["CacheEngineVersions"]["CacheEngineVersion"] !== undefined) {
7096
- contents.CacheEngineVersions = deserializeAws_queryCacheEngineVersionList(smithy_client_1.getArrayIfSingleItem(output["CacheEngineVersions"]["CacheEngineVersion"]), context);
7096
+ contents.CacheEngineVersions = deserializeAws_queryCacheEngineVersionList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheEngineVersions"]["CacheEngineVersion"]), context);
7097
7097
  }
7098
7098
  return contents;
7099
7099
  };
@@ -7109,28 +7109,28 @@ const deserializeAws_queryCacheNode = (output, context) => {
7109
7109
  CustomerOutpostArn: undefined,
7110
7110
  };
7111
7111
  if (output["CacheNodeId"] !== undefined) {
7112
- contents.CacheNodeId = smithy_client_1.expectString(output["CacheNodeId"]);
7112
+ contents.CacheNodeId = (0, smithy_client_1.expectString)(output["CacheNodeId"]);
7113
7113
  }
7114
7114
  if (output["CacheNodeStatus"] !== undefined) {
7115
- contents.CacheNodeStatus = smithy_client_1.expectString(output["CacheNodeStatus"]);
7115
+ contents.CacheNodeStatus = (0, smithy_client_1.expectString)(output["CacheNodeStatus"]);
7116
7116
  }
7117
7117
  if (output["CacheNodeCreateTime"] !== undefined) {
7118
- contents.CacheNodeCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CacheNodeCreateTime"]));
7118
+ contents.CacheNodeCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CacheNodeCreateTime"]));
7119
7119
  }
7120
7120
  if (output["Endpoint"] !== undefined) {
7121
7121
  contents.Endpoint = deserializeAws_queryEndpoint(output["Endpoint"], context);
7122
7122
  }
7123
7123
  if (output["ParameterGroupStatus"] !== undefined) {
7124
- contents.ParameterGroupStatus = smithy_client_1.expectString(output["ParameterGroupStatus"]);
7124
+ contents.ParameterGroupStatus = (0, smithy_client_1.expectString)(output["ParameterGroupStatus"]);
7125
7125
  }
7126
7126
  if (output["SourceCacheNodeId"] !== undefined) {
7127
- contents.SourceCacheNodeId = smithy_client_1.expectString(output["SourceCacheNodeId"]);
7127
+ contents.SourceCacheNodeId = (0, smithy_client_1.expectString)(output["SourceCacheNodeId"]);
7128
7128
  }
7129
7129
  if (output["CustomerAvailabilityZone"] !== undefined) {
7130
- contents.CustomerAvailabilityZone = smithy_client_1.expectString(output["CustomerAvailabilityZone"]);
7130
+ contents.CustomerAvailabilityZone = (0, smithy_client_1.expectString)(output["CustomerAvailabilityZone"]);
7131
7131
  }
7132
7132
  if (output["CustomerOutpostArn"] !== undefined) {
7133
- contents.CustomerOutpostArn = smithy_client_1.expectString(output["CustomerOutpostArn"]);
7133
+ contents.CustomerOutpostArn = (0, smithy_client_1.expectString)(output["CustomerOutpostArn"]);
7134
7134
  }
7135
7135
  return contents;
7136
7136
  };
@@ -7141,7 +7141,7 @@ const deserializeAws_queryCacheNodeIdsList = (output, context) => {
7141
7141
  if (entry === null) {
7142
7142
  return null;
7143
7143
  }
7144
- return smithy_client_1.expectString(entry);
7144
+ return (0, smithy_client_1.expectString)(entry);
7145
7145
  });
7146
7146
  };
7147
7147
  const deserializeAws_queryCacheNodeList = (output, context) => {
@@ -7167,35 +7167,35 @@ const deserializeAws_queryCacheNodeTypeSpecificParameter = (output, context) =>
7167
7167
  ChangeType: undefined,
7168
7168
  };
7169
7169
  if (output["ParameterName"] !== undefined) {
7170
- contents.ParameterName = smithy_client_1.expectString(output["ParameterName"]);
7170
+ contents.ParameterName = (0, smithy_client_1.expectString)(output["ParameterName"]);
7171
7171
  }
7172
7172
  if (output["Description"] !== undefined) {
7173
- contents.Description = smithy_client_1.expectString(output["Description"]);
7173
+ contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
7174
7174
  }
7175
7175
  if (output["Source"] !== undefined) {
7176
- contents.Source = smithy_client_1.expectString(output["Source"]);
7176
+ contents.Source = (0, smithy_client_1.expectString)(output["Source"]);
7177
7177
  }
7178
7178
  if (output["DataType"] !== undefined) {
7179
- contents.DataType = smithy_client_1.expectString(output["DataType"]);
7179
+ contents.DataType = (0, smithy_client_1.expectString)(output["DataType"]);
7180
7180
  }
7181
7181
  if (output["AllowedValues"] !== undefined) {
7182
- contents.AllowedValues = smithy_client_1.expectString(output["AllowedValues"]);
7182
+ contents.AllowedValues = (0, smithy_client_1.expectString)(output["AllowedValues"]);
7183
7183
  }
7184
7184
  if (output["IsModifiable"] !== undefined) {
7185
- contents.IsModifiable = smithy_client_1.parseBoolean(output["IsModifiable"]);
7185
+ contents.IsModifiable = (0, smithy_client_1.parseBoolean)(output["IsModifiable"]);
7186
7186
  }
7187
7187
  if (output["MinimumEngineVersion"] !== undefined) {
7188
- contents.MinimumEngineVersion = smithy_client_1.expectString(output["MinimumEngineVersion"]);
7188
+ contents.MinimumEngineVersion = (0, smithy_client_1.expectString)(output["MinimumEngineVersion"]);
7189
7189
  }
7190
7190
  if (output.CacheNodeTypeSpecificValues === "") {
7191
7191
  contents.CacheNodeTypeSpecificValues = [];
7192
7192
  }
7193
7193
  if (output["CacheNodeTypeSpecificValues"] !== undefined &&
7194
7194
  output["CacheNodeTypeSpecificValues"]["CacheNodeTypeSpecificValue"] !== undefined) {
7195
- contents.CacheNodeTypeSpecificValues = deserializeAws_queryCacheNodeTypeSpecificValueList(smithy_client_1.getArrayIfSingleItem(output["CacheNodeTypeSpecificValues"]["CacheNodeTypeSpecificValue"]), context);
7195
+ contents.CacheNodeTypeSpecificValues = deserializeAws_queryCacheNodeTypeSpecificValueList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheNodeTypeSpecificValues"]["CacheNodeTypeSpecificValue"]), context);
7196
7196
  }
7197
7197
  if (output["ChangeType"] !== undefined) {
7198
- contents.ChangeType = smithy_client_1.expectString(output["ChangeType"]);
7198
+ contents.ChangeType = (0, smithy_client_1.expectString)(output["ChangeType"]);
7199
7199
  }
7200
7200
  return contents;
7201
7201
  };
@@ -7215,10 +7215,10 @@ const deserializeAws_queryCacheNodeTypeSpecificValue = (output, context) => {
7215
7215
  Value: undefined,
7216
7216
  };
7217
7217
  if (output["CacheNodeType"] !== undefined) {
7218
- contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
7218
+ contents.CacheNodeType = (0, smithy_client_1.expectString)(output["CacheNodeType"]);
7219
7219
  }
7220
7220
  if (output["Value"] !== undefined) {
7221
- contents.Value = smithy_client_1.expectString(output["Value"]);
7221
+ contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
7222
7222
  }
7223
7223
  return contents;
7224
7224
  };
@@ -7244,28 +7244,28 @@ const deserializeAws_queryCacheNodeUpdateStatus = (output, context) => {
7244
7244
  NodeUpdateStatusModifiedDate: undefined,
7245
7245
  };
7246
7246
  if (output["CacheNodeId"] !== undefined) {
7247
- contents.CacheNodeId = smithy_client_1.expectString(output["CacheNodeId"]);
7247
+ contents.CacheNodeId = (0, smithy_client_1.expectString)(output["CacheNodeId"]);
7248
7248
  }
7249
7249
  if (output["NodeUpdateStatus"] !== undefined) {
7250
- contents.NodeUpdateStatus = smithy_client_1.expectString(output["NodeUpdateStatus"]);
7250
+ contents.NodeUpdateStatus = (0, smithy_client_1.expectString)(output["NodeUpdateStatus"]);
7251
7251
  }
7252
7252
  if (output["NodeDeletionDate"] !== undefined) {
7253
- contents.NodeDeletionDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeDeletionDate"]));
7253
+ contents.NodeDeletionDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeDeletionDate"]));
7254
7254
  }
7255
7255
  if (output["NodeUpdateStartDate"] !== undefined) {
7256
- contents.NodeUpdateStartDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateStartDate"]));
7256
+ contents.NodeUpdateStartDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeUpdateStartDate"]));
7257
7257
  }
7258
7258
  if (output["NodeUpdateEndDate"] !== undefined) {
7259
- contents.NodeUpdateEndDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateEndDate"]));
7259
+ contents.NodeUpdateEndDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeUpdateEndDate"]));
7260
7260
  }
7261
7261
  if (output["NodeUpdateInitiatedBy"] !== undefined) {
7262
- contents.NodeUpdateInitiatedBy = smithy_client_1.expectString(output["NodeUpdateInitiatedBy"]);
7262
+ contents.NodeUpdateInitiatedBy = (0, smithy_client_1.expectString)(output["NodeUpdateInitiatedBy"]);
7263
7263
  }
7264
7264
  if (output["NodeUpdateInitiatedDate"] !== undefined) {
7265
- contents.NodeUpdateInitiatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateInitiatedDate"]));
7265
+ contents.NodeUpdateInitiatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeUpdateInitiatedDate"]));
7266
7266
  }
7267
7267
  if (output["NodeUpdateStatusModifiedDate"] !== undefined) {
7268
- contents.NodeUpdateStatusModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateStatusModifiedDate"]));
7268
+ contents.NodeUpdateStatusModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeUpdateStatusModifiedDate"]));
7269
7269
  }
7270
7270
  return contents;
7271
7271
  };
@@ -7288,19 +7288,19 @@ const deserializeAws_queryCacheParameterGroup = (output, context) => {
7288
7288
  ARN: undefined,
7289
7289
  };
7290
7290
  if (output["CacheParameterGroupName"] !== undefined) {
7291
- contents.CacheParameterGroupName = smithy_client_1.expectString(output["CacheParameterGroupName"]);
7291
+ contents.CacheParameterGroupName = (0, smithy_client_1.expectString)(output["CacheParameterGroupName"]);
7292
7292
  }
7293
7293
  if (output["CacheParameterGroupFamily"] !== undefined) {
7294
- contents.CacheParameterGroupFamily = smithy_client_1.expectString(output["CacheParameterGroupFamily"]);
7294
+ contents.CacheParameterGroupFamily = (0, smithy_client_1.expectString)(output["CacheParameterGroupFamily"]);
7295
7295
  }
7296
7296
  if (output["Description"] !== undefined) {
7297
- contents.Description = smithy_client_1.expectString(output["Description"]);
7297
+ contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
7298
7298
  }
7299
7299
  if (output["IsGlobal"] !== undefined) {
7300
- contents.IsGlobal = smithy_client_1.parseBoolean(output["IsGlobal"]);
7300
+ contents.IsGlobal = (0, smithy_client_1.parseBoolean)(output["IsGlobal"]);
7301
7301
  }
7302
7302
  if (output["ARN"] !== undefined) {
7303
- contents.ARN = smithy_client_1.expectString(output["ARN"]);
7303
+ contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
7304
7304
  }
7305
7305
  return contents;
7306
7306
  };
@@ -7309,7 +7309,7 @@ const deserializeAws_queryCacheParameterGroupAlreadyExistsFault = (output, conte
7309
7309
  message: undefined,
7310
7310
  };
7311
7311
  if (output["message"] !== undefined) {
7312
- contents.message = smithy_client_1.expectString(output["message"]);
7312
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7313
7313
  }
7314
7314
  return contents;
7315
7315
  };
@@ -7320,20 +7320,20 @@ const deserializeAws_queryCacheParameterGroupDetails = (output, context) => {
7320
7320
  CacheNodeTypeSpecificParameters: undefined,
7321
7321
  };
7322
7322
  if (output["Marker"] !== undefined) {
7323
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
7323
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7324
7324
  }
7325
7325
  if (output.Parameters === "") {
7326
7326
  contents.Parameters = [];
7327
7327
  }
7328
7328
  if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
7329
- contents.Parameters = deserializeAws_queryParametersList(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["Parameter"]), context);
7329
+ contents.Parameters = deserializeAws_queryParametersList((0, smithy_client_1.getArrayIfSingleItem)(output["Parameters"]["Parameter"]), context);
7330
7330
  }
7331
7331
  if (output.CacheNodeTypeSpecificParameters === "") {
7332
7332
  contents.CacheNodeTypeSpecificParameters = [];
7333
7333
  }
7334
7334
  if (output["CacheNodeTypeSpecificParameters"] !== undefined &&
7335
7335
  output["CacheNodeTypeSpecificParameters"]["CacheNodeTypeSpecificParameter"] !== undefined) {
7336
- contents.CacheNodeTypeSpecificParameters = deserializeAws_queryCacheNodeTypeSpecificParametersList(smithy_client_1.getArrayIfSingleItem(output["CacheNodeTypeSpecificParameters"]["CacheNodeTypeSpecificParameter"]), context);
7336
+ contents.CacheNodeTypeSpecificParameters = deserializeAws_queryCacheNodeTypeSpecificParametersList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheNodeTypeSpecificParameters"]["CacheNodeTypeSpecificParameter"]), context);
7337
7337
  }
7338
7338
  return contents;
7339
7339
  };
@@ -7352,7 +7352,7 @@ const deserializeAws_queryCacheParameterGroupNameMessage = (output, context) =>
7352
7352
  CacheParameterGroupName: undefined,
7353
7353
  };
7354
7354
  if (output["CacheParameterGroupName"] !== undefined) {
7355
- contents.CacheParameterGroupName = smithy_client_1.expectString(output["CacheParameterGroupName"]);
7355
+ contents.CacheParameterGroupName = (0, smithy_client_1.expectString)(output["CacheParameterGroupName"]);
7356
7356
  }
7357
7357
  return contents;
7358
7358
  };
@@ -7361,7 +7361,7 @@ const deserializeAws_queryCacheParameterGroupNotFoundFault = (output, context) =
7361
7361
  message: undefined,
7362
7362
  };
7363
7363
  if (output["message"] !== undefined) {
7364
- contents.message = smithy_client_1.expectString(output["message"]);
7364
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7365
7365
  }
7366
7366
  return contents;
7367
7367
  };
@@ -7370,7 +7370,7 @@ const deserializeAws_queryCacheParameterGroupQuotaExceededFault = (output, conte
7370
7370
  message: undefined,
7371
7371
  };
7372
7372
  if (output["message"] !== undefined) {
7373
- contents.message = smithy_client_1.expectString(output["message"]);
7373
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7374
7374
  }
7375
7375
  return contents;
7376
7376
  };
@@ -7380,14 +7380,14 @@ const deserializeAws_queryCacheParameterGroupsMessage = (output, context) => {
7380
7380
  CacheParameterGroups: undefined,
7381
7381
  };
7382
7382
  if (output["Marker"] !== undefined) {
7383
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
7383
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7384
7384
  }
7385
7385
  if (output.CacheParameterGroups === "") {
7386
7386
  contents.CacheParameterGroups = [];
7387
7387
  }
7388
7388
  if (output["CacheParameterGroups"] !== undefined &&
7389
7389
  output["CacheParameterGroups"]["CacheParameterGroup"] !== undefined) {
7390
- contents.CacheParameterGroups = deserializeAws_queryCacheParameterGroupList(smithy_client_1.getArrayIfSingleItem(output["CacheParameterGroups"]["CacheParameterGroup"]), context);
7390
+ contents.CacheParameterGroups = deserializeAws_queryCacheParameterGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheParameterGroups"]["CacheParameterGroup"]), context);
7391
7391
  }
7392
7392
  return contents;
7393
7393
  };
@@ -7398,16 +7398,16 @@ const deserializeAws_queryCacheParameterGroupStatus = (output, context) => {
7398
7398
  CacheNodeIdsToReboot: undefined,
7399
7399
  };
7400
7400
  if (output["CacheParameterGroupName"] !== undefined) {
7401
- contents.CacheParameterGroupName = smithy_client_1.expectString(output["CacheParameterGroupName"]);
7401
+ contents.CacheParameterGroupName = (0, smithy_client_1.expectString)(output["CacheParameterGroupName"]);
7402
7402
  }
7403
7403
  if (output["ParameterApplyStatus"] !== undefined) {
7404
- contents.ParameterApplyStatus = smithy_client_1.expectString(output["ParameterApplyStatus"]);
7404
+ contents.ParameterApplyStatus = (0, smithy_client_1.expectString)(output["ParameterApplyStatus"]);
7405
7405
  }
7406
7406
  if (output.CacheNodeIdsToReboot === "") {
7407
7407
  contents.CacheNodeIdsToReboot = [];
7408
7408
  }
7409
7409
  if (output["CacheNodeIdsToReboot"] !== undefined && output["CacheNodeIdsToReboot"]["CacheNodeId"] !== undefined) {
7410
- contents.CacheNodeIdsToReboot = deserializeAws_queryCacheNodeIdsList(smithy_client_1.getArrayIfSingleItem(output["CacheNodeIdsToReboot"]["CacheNodeId"]), context);
7410
+ contents.CacheNodeIdsToReboot = deserializeAws_queryCacheNodeIdsList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheNodeIdsToReboot"]["CacheNodeId"]), context);
7411
7411
  }
7412
7412
  return contents;
7413
7413
  };
@@ -7420,22 +7420,22 @@ const deserializeAws_queryCacheSecurityGroup = (output, context) => {
7420
7420
  ARN: undefined,
7421
7421
  };
7422
7422
  if (output["OwnerId"] !== undefined) {
7423
- contents.OwnerId = smithy_client_1.expectString(output["OwnerId"]);
7423
+ contents.OwnerId = (0, smithy_client_1.expectString)(output["OwnerId"]);
7424
7424
  }
7425
7425
  if (output["CacheSecurityGroupName"] !== undefined) {
7426
- contents.CacheSecurityGroupName = smithy_client_1.expectString(output["CacheSecurityGroupName"]);
7426
+ contents.CacheSecurityGroupName = (0, smithy_client_1.expectString)(output["CacheSecurityGroupName"]);
7427
7427
  }
7428
7428
  if (output["Description"] !== undefined) {
7429
- contents.Description = smithy_client_1.expectString(output["Description"]);
7429
+ contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
7430
7430
  }
7431
7431
  if (output.EC2SecurityGroups === "") {
7432
7432
  contents.EC2SecurityGroups = [];
7433
7433
  }
7434
7434
  if (output["EC2SecurityGroups"] !== undefined && output["EC2SecurityGroups"]["EC2SecurityGroup"] !== undefined) {
7435
- contents.EC2SecurityGroups = deserializeAws_queryEC2SecurityGroupList(smithy_client_1.getArrayIfSingleItem(output["EC2SecurityGroups"]["EC2SecurityGroup"]), context);
7435
+ contents.EC2SecurityGroups = deserializeAws_queryEC2SecurityGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["EC2SecurityGroups"]["EC2SecurityGroup"]), context);
7436
7436
  }
7437
7437
  if (output["ARN"] !== undefined) {
7438
- contents.ARN = smithy_client_1.expectString(output["ARN"]);
7438
+ contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
7439
7439
  }
7440
7440
  return contents;
7441
7441
  };
@@ -7444,7 +7444,7 @@ const deserializeAws_queryCacheSecurityGroupAlreadyExistsFault = (output, contex
7444
7444
  message: undefined,
7445
7445
  };
7446
7446
  if (output["message"] !== undefined) {
7447
- contents.message = smithy_client_1.expectString(output["message"]);
7447
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7448
7448
  }
7449
7449
  return contents;
7450
7450
  };
@@ -7454,10 +7454,10 @@ const deserializeAws_queryCacheSecurityGroupMembership = (output, context) => {
7454
7454
  Status: undefined,
7455
7455
  };
7456
7456
  if (output["CacheSecurityGroupName"] !== undefined) {
7457
- contents.CacheSecurityGroupName = smithy_client_1.expectString(output["CacheSecurityGroupName"]);
7457
+ contents.CacheSecurityGroupName = (0, smithy_client_1.expectString)(output["CacheSecurityGroupName"]);
7458
7458
  }
7459
7459
  if (output["Status"] !== undefined) {
7460
- contents.Status = smithy_client_1.expectString(output["Status"]);
7460
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7461
7461
  }
7462
7462
  return contents;
7463
7463
  };
@@ -7477,14 +7477,14 @@ const deserializeAws_queryCacheSecurityGroupMessage = (output, context) => {
7477
7477
  CacheSecurityGroups: undefined,
7478
7478
  };
7479
7479
  if (output["Marker"] !== undefined) {
7480
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
7480
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7481
7481
  }
7482
7482
  if (output.CacheSecurityGroups === "") {
7483
7483
  contents.CacheSecurityGroups = [];
7484
7484
  }
7485
7485
  if (output["CacheSecurityGroups"] !== undefined &&
7486
7486
  output["CacheSecurityGroups"]["CacheSecurityGroup"] !== undefined) {
7487
- contents.CacheSecurityGroups = deserializeAws_queryCacheSecurityGroups(smithy_client_1.getArrayIfSingleItem(output["CacheSecurityGroups"]["CacheSecurityGroup"]), context);
7487
+ contents.CacheSecurityGroups = deserializeAws_queryCacheSecurityGroups((0, smithy_client_1.getArrayIfSingleItem)(output["CacheSecurityGroups"]["CacheSecurityGroup"]), context);
7488
7488
  }
7489
7489
  return contents;
7490
7490
  };
@@ -7493,7 +7493,7 @@ const deserializeAws_queryCacheSecurityGroupNotFoundFault = (output, context) =>
7493
7493
  message: undefined,
7494
7494
  };
7495
7495
  if (output["message"] !== undefined) {
7496
- contents.message = smithy_client_1.expectString(output["message"]);
7496
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7497
7497
  }
7498
7498
  return contents;
7499
7499
  };
@@ -7502,7 +7502,7 @@ const deserializeAws_queryCacheSecurityGroupQuotaExceededFault = (output, contex
7502
7502
  message: undefined,
7503
7503
  };
7504
7504
  if (output["message"] !== undefined) {
7505
- contents.message = smithy_client_1.expectString(output["message"]);
7505
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7506
7506
  }
7507
7507
  return contents;
7508
7508
  };
@@ -7525,22 +7525,22 @@ const deserializeAws_queryCacheSubnetGroup = (output, context) => {
7525
7525
  ARN: undefined,
7526
7526
  };
7527
7527
  if (output["CacheSubnetGroupName"] !== undefined) {
7528
- contents.CacheSubnetGroupName = smithy_client_1.expectString(output["CacheSubnetGroupName"]);
7528
+ contents.CacheSubnetGroupName = (0, smithy_client_1.expectString)(output["CacheSubnetGroupName"]);
7529
7529
  }
7530
7530
  if (output["CacheSubnetGroupDescription"] !== undefined) {
7531
- contents.CacheSubnetGroupDescription = smithy_client_1.expectString(output["CacheSubnetGroupDescription"]);
7531
+ contents.CacheSubnetGroupDescription = (0, smithy_client_1.expectString)(output["CacheSubnetGroupDescription"]);
7532
7532
  }
7533
7533
  if (output["VpcId"] !== undefined) {
7534
- contents.VpcId = smithy_client_1.expectString(output["VpcId"]);
7534
+ contents.VpcId = (0, smithy_client_1.expectString)(output["VpcId"]);
7535
7535
  }
7536
7536
  if (output.Subnets === "") {
7537
7537
  contents.Subnets = [];
7538
7538
  }
7539
7539
  if (output["Subnets"] !== undefined && output["Subnets"]["Subnet"] !== undefined) {
7540
- contents.Subnets = deserializeAws_querySubnetList(smithy_client_1.getArrayIfSingleItem(output["Subnets"]["Subnet"]), context);
7540
+ contents.Subnets = deserializeAws_querySubnetList((0, smithy_client_1.getArrayIfSingleItem)(output["Subnets"]["Subnet"]), context);
7541
7541
  }
7542
7542
  if (output["ARN"] !== undefined) {
7543
- contents.ARN = smithy_client_1.expectString(output["ARN"]);
7543
+ contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
7544
7544
  }
7545
7545
  return contents;
7546
7546
  };
@@ -7549,7 +7549,7 @@ const deserializeAws_queryCacheSubnetGroupAlreadyExistsFault = (output, context)
7549
7549
  message: undefined,
7550
7550
  };
7551
7551
  if (output["message"] !== undefined) {
7552
- contents.message = smithy_client_1.expectString(output["message"]);
7552
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7553
7553
  }
7554
7554
  return contents;
7555
7555
  };
@@ -7558,7 +7558,7 @@ const deserializeAws_queryCacheSubnetGroupInUse = (output, context) => {
7558
7558
  message: undefined,
7559
7559
  };
7560
7560
  if (output["message"] !== undefined) {
7561
- contents.message = smithy_client_1.expectString(output["message"]);
7561
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7562
7562
  }
7563
7563
  return contents;
7564
7564
  };
@@ -7568,13 +7568,13 @@ const deserializeAws_queryCacheSubnetGroupMessage = (output, context) => {
7568
7568
  CacheSubnetGroups: undefined,
7569
7569
  };
7570
7570
  if (output["Marker"] !== undefined) {
7571
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
7571
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7572
7572
  }
7573
7573
  if (output.CacheSubnetGroups === "") {
7574
7574
  contents.CacheSubnetGroups = [];
7575
7575
  }
7576
7576
  if (output["CacheSubnetGroups"] !== undefined && output["CacheSubnetGroups"]["CacheSubnetGroup"] !== undefined) {
7577
- contents.CacheSubnetGroups = deserializeAws_queryCacheSubnetGroups(smithy_client_1.getArrayIfSingleItem(output["CacheSubnetGroups"]["CacheSubnetGroup"]), context);
7577
+ contents.CacheSubnetGroups = deserializeAws_queryCacheSubnetGroups((0, smithy_client_1.getArrayIfSingleItem)(output["CacheSubnetGroups"]["CacheSubnetGroup"]), context);
7578
7578
  }
7579
7579
  return contents;
7580
7580
  };
@@ -7583,7 +7583,7 @@ const deserializeAws_queryCacheSubnetGroupNotFoundFault = (output, context) => {
7583
7583
  message: undefined,
7584
7584
  };
7585
7585
  if (output["message"] !== undefined) {
7586
- contents.message = smithy_client_1.expectString(output["message"]);
7586
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7587
7587
  }
7588
7588
  return contents;
7589
7589
  };
@@ -7592,7 +7592,7 @@ const deserializeAws_queryCacheSubnetGroupQuotaExceededFault = (output, context)
7592
7592
  message: undefined,
7593
7593
  };
7594
7594
  if (output["message"] !== undefined) {
7595
- contents.message = smithy_client_1.expectString(output["message"]);
7595
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7596
7596
  }
7597
7597
  return contents;
7598
7598
  };
@@ -7611,7 +7611,7 @@ const deserializeAws_queryCacheSubnetQuotaExceededFault = (output, context) => {
7611
7611
  message: undefined,
7612
7612
  };
7613
7613
  if (output["message"] !== undefined) {
7614
- contents.message = smithy_client_1.expectString(output["message"]);
7614
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7615
7615
  }
7616
7616
  return contents;
7617
7617
  };
@@ -7620,7 +7620,7 @@ const deserializeAws_queryCloudWatchLogsDestinationDetails = (output, context) =
7620
7620
  LogGroup: undefined,
7621
7621
  };
7622
7622
  if (output["LogGroup"] !== undefined) {
7623
- contents.LogGroup = smithy_client_1.expectString(output["LogGroup"]);
7623
+ contents.LogGroup = (0, smithy_client_1.expectString)(output["LogGroup"]);
7624
7624
  }
7625
7625
  return contents;
7626
7626
  };
@@ -7631,7 +7631,7 @@ const deserializeAws_queryClusterIdList = (output, context) => {
7631
7631
  if (entry === null) {
7632
7632
  return null;
7633
7633
  }
7634
- return smithy_client_1.expectString(entry);
7634
+ return (0, smithy_client_1.expectString)(entry);
7635
7635
  });
7636
7636
  };
7637
7637
  const deserializeAws_queryClusterQuotaForCustomerExceededFault = (output, context) => {
@@ -7639,7 +7639,7 @@ const deserializeAws_queryClusterQuotaForCustomerExceededFault = (output, contex
7639
7639
  message: undefined,
7640
7640
  };
7641
7641
  if (output["message"] !== undefined) {
7642
- contents.message = smithy_client_1.expectString(output["message"]);
7642
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7643
7643
  }
7644
7644
  return contents;
7645
7645
  };
@@ -7747,7 +7747,7 @@ const deserializeAws_queryDefaultUserAssociatedToUserGroupFault = (output, conte
7747
7747
  message: undefined,
7748
7748
  };
7749
7749
  if (output["message"] !== undefined) {
7750
- contents.message = smithy_client_1.expectString(output["message"]);
7750
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7751
7751
  }
7752
7752
  return contents;
7753
7753
  };
@@ -7756,7 +7756,7 @@ const deserializeAws_queryDefaultUserRequired = (output, context) => {
7756
7756
  message: undefined,
7757
7757
  };
7758
7758
  if (output["message"] !== undefined) {
7759
- contents.message = smithy_client_1.expectString(output["message"]);
7759
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7760
7760
  }
7761
7761
  return contents;
7762
7762
  };
@@ -7811,14 +7811,14 @@ const deserializeAws_queryDescribeGlobalReplicationGroupsResult = (output, conte
7811
7811
  GlobalReplicationGroups: undefined,
7812
7812
  };
7813
7813
  if (output["Marker"] !== undefined) {
7814
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
7814
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7815
7815
  }
7816
7816
  if (output.GlobalReplicationGroups === "") {
7817
7817
  contents.GlobalReplicationGroups = [];
7818
7818
  }
7819
7819
  if (output["GlobalReplicationGroups"] !== undefined &&
7820
7820
  output["GlobalReplicationGroups"]["GlobalReplicationGroup"] !== undefined) {
7821
- contents.GlobalReplicationGroups = deserializeAws_queryGlobalReplicationGroupList(smithy_client_1.getArrayIfSingleItem(output["GlobalReplicationGroups"]["GlobalReplicationGroup"]), context);
7821
+ contents.GlobalReplicationGroups = deserializeAws_queryGlobalReplicationGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["GlobalReplicationGroups"]["GlobalReplicationGroup"]), context);
7822
7822
  }
7823
7823
  return contents;
7824
7824
  };
@@ -7828,13 +7828,13 @@ const deserializeAws_queryDescribeSnapshotsListMessage = (output, context) => {
7828
7828
  Snapshots: undefined,
7829
7829
  };
7830
7830
  if (output["Marker"] !== undefined) {
7831
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
7831
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7832
7832
  }
7833
7833
  if (output.Snapshots === "") {
7834
7834
  contents.Snapshots = [];
7835
7835
  }
7836
7836
  if (output["Snapshots"] !== undefined && output["Snapshots"]["Snapshot"] !== undefined) {
7837
- contents.Snapshots = deserializeAws_querySnapshotList(smithy_client_1.getArrayIfSingleItem(output["Snapshots"]["Snapshot"]), context);
7837
+ contents.Snapshots = deserializeAws_querySnapshotList((0, smithy_client_1.getArrayIfSingleItem)(output["Snapshots"]["Snapshot"]), context);
7838
7838
  }
7839
7839
  return contents;
7840
7840
  };
@@ -7847,10 +7847,10 @@ const deserializeAws_queryDescribeUserGroupsResult = (output, context) => {
7847
7847
  contents.UserGroups = [];
7848
7848
  }
7849
7849
  if (output["UserGroups"] !== undefined && output["UserGroups"]["member"] !== undefined) {
7850
- contents.UserGroups = deserializeAws_queryUserGroupList(smithy_client_1.getArrayIfSingleItem(output["UserGroups"]["member"]), context);
7850
+ contents.UserGroups = deserializeAws_queryUserGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["UserGroups"]["member"]), context);
7851
7851
  }
7852
7852
  if (output["Marker"] !== undefined) {
7853
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
7853
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7854
7854
  }
7855
7855
  return contents;
7856
7856
  };
@@ -7863,10 +7863,10 @@ const deserializeAws_queryDescribeUsersResult = (output, context) => {
7863
7863
  contents.Users = [];
7864
7864
  }
7865
7865
  if (output["Users"] !== undefined && output["Users"]["member"] !== undefined) {
7866
- contents.Users = deserializeAws_queryUserList(smithy_client_1.getArrayIfSingleItem(output["Users"]["member"]), context);
7866
+ contents.Users = deserializeAws_queryUserList((0, smithy_client_1.getArrayIfSingleItem)(output["Users"]["member"]), context);
7867
7867
  }
7868
7868
  if (output["Marker"] !== undefined) {
7869
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
7869
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7870
7870
  }
7871
7871
  return contents;
7872
7872
  };
@@ -7897,7 +7897,7 @@ const deserializeAws_queryDuplicateUserNameFault = (output, context) => {
7897
7897
  message: undefined,
7898
7898
  };
7899
7899
  if (output["message"] !== undefined) {
7900
- contents.message = smithy_client_1.expectString(output["message"]);
7900
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7901
7901
  }
7902
7902
  return contents;
7903
7903
  };
@@ -7908,13 +7908,13 @@ const deserializeAws_queryEC2SecurityGroup = (output, context) => {
7908
7908
  EC2SecurityGroupOwnerId: undefined,
7909
7909
  };
7910
7910
  if (output["Status"] !== undefined) {
7911
- contents.Status = smithy_client_1.expectString(output["Status"]);
7911
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7912
7912
  }
7913
7913
  if (output["EC2SecurityGroupName"] !== undefined) {
7914
- contents.EC2SecurityGroupName = smithy_client_1.expectString(output["EC2SecurityGroupName"]);
7914
+ contents.EC2SecurityGroupName = (0, smithy_client_1.expectString)(output["EC2SecurityGroupName"]);
7915
7915
  }
7916
7916
  if (output["EC2SecurityGroupOwnerId"] !== undefined) {
7917
- contents.EC2SecurityGroupOwnerId = smithy_client_1.expectString(output["EC2SecurityGroupOwnerId"]);
7917
+ contents.EC2SecurityGroupOwnerId = (0, smithy_client_1.expectString)(output["EC2SecurityGroupOwnerId"]);
7918
7918
  }
7919
7919
  return contents;
7920
7920
  };
@@ -7934,10 +7934,10 @@ const deserializeAws_queryEndpoint = (output, context) => {
7934
7934
  Port: undefined,
7935
7935
  };
7936
7936
  if (output["Address"] !== undefined) {
7937
- contents.Address = smithy_client_1.expectString(output["Address"]);
7937
+ contents.Address = (0, smithy_client_1.expectString)(output["Address"]);
7938
7938
  }
7939
7939
  if (output["Port"] !== undefined) {
7940
- contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
7940
+ contents.Port = (0, smithy_client_1.strictParseInt32)(output["Port"]);
7941
7941
  }
7942
7942
  return contents;
7943
7943
  };
@@ -7949,23 +7949,23 @@ const deserializeAws_queryEngineDefaults = (output, context) => {
7949
7949
  CacheNodeTypeSpecificParameters: undefined,
7950
7950
  };
7951
7951
  if (output["CacheParameterGroupFamily"] !== undefined) {
7952
- contents.CacheParameterGroupFamily = smithy_client_1.expectString(output["CacheParameterGroupFamily"]);
7952
+ contents.CacheParameterGroupFamily = (0, smithy_client_1.expectString)(output["CacheParameterGroupFamily"]);
7953
7953
  }
7954
7954
  if (output["Marker"] !== undefined) {
7955
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
7955
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7956
7956
  }
7957
7957
  if (output.Parameters === "") {
7958
7958
  contents.Parameters = [];
7959
7959
  }
7960
7960
  if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
7961
- contents.Parameters = deserializeAws_queryParametersList(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["Parameter"]), context);
7961
+ contents.Parameters = deserializeAws_queryParametersList((0, smithy_client_1.getArrayIfSingleItem)(output["Parameters"]["Parameter"]), context);
7962
7962
  }
7963
7963
  if (output.CacheNodeTypeSpecificParameters === "") {
7964
7964
  contents.CacheNodeTypeSpecificParameters = [];
7965
7965
  }
7966
7966
  if (output["CacheNodeTypeSpecificParameters"] !== undefined &&
7967
7967
  output["CacheNodeTypeSpecificParameters"]["CacheNodeTypeSpecificParameter"] !== undefined) {
7968
- contents.CacheNodeTypeSpecificParameters = deserializeAws_queryCacheNodeTypeSpecificParametersList(smithy_client_1.getArrayIfSingleItem(output["CacheNodeTypeSpecificParameters"]["CacheNodeTypeSpecificParameter"]), context);
7968
+ contents.CacheNodeTypeSpecificParameters = deserializeAws_queryCacheNodeTypeSpecificParametersList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheNodeTypeSpecificParameters"]["CacheNodeTypeSpecificParameter"]), context);
7969
7969
  }
7970
7970
  return contents;
7971
7971
  };
@@ -7977,16 +7977,16 @@ const deserializeAws_queryEvent = (output, context) => {
7977
7977
  Date: undefined,
7978
7978
  };
7979
7979
  if (output["SourceIdentifier"] !== undefined) {
7980
- contents.SourceIdentifier = smithy_client_1.expectString(output["SourceIdentifier"]);
7980
+ contents.SourceIdentifier = (0, smithy_client_1.expectString)(output["SourceIdentifier"]);
7981
7981
  }
7982
7982
  if (output["SourceType"] !== undefined) {
7983
- contents.SourceType = smithy_client_1.expectString(output["SourceType"]);
7983
+ contents.SourceType = (0, smithy_client_1.expectString)(output["SourceType"]);
7984
7984
  }
7985
7985
  if (output["Message"] !== undefined) {
7986
- contents.Message = smithy_client_1.expectString(output["Message"]);
7986
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
7987
7987
  }
7988
7988
  if (output["Date"] !== undefined) {
7989
- contents.Date = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Date"]));
7989
+ contents.Date = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["Date"]));
7990
7990
  }
7991
7991
  return contents;
7992
7992
  };
@@ -8006,13 +8006,13 @@ const deserializeAws_queryEventsMessage = (output, context) => {
8006
8006
  Events: undefined,
8007
8007
  };
8008
8008
  if (output["Marker"] !== undefined) {
8009
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
8009
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
8010
8010
  }
8011
8011
  if (output.Events === "") {
8012
8012
  contents.Events = [];
8013
8013
  }
8014
8014
  if (output["Events"] !== undefined && output["Events"]["Event"] !== undefined) {
8015
- contents.Events = deserializeAws_queryEventList(smithy_client_1.getArrayIfSingleItem(output["Events"]["Event"]), context);
8015
+ contents.Events = deserializeAws_queryEventList((0, smithy_client_1.getArrayIfSingleItem)(output["Events"]["Event"]), context);
8016
8016
  }
8017
8017
  return contents;
8018
8018
  };
@@ -8031,10 +8031,10 @@ const deserializeAws_queryGlobalNodeGroup = (output, context) => {
8031
8031
  Slots: undefined,
8032
8032
  };
8033
8033
  if (output["GlobalNodeGroupId"] !== undefined) {
8034
- contents.GlobalNodeGroupId = smithy_client_1.expectString(output["GlobalNodeGroupId"]);
8034
+ contents.GlobalNodeGroupId = (0, smithy_client_1.expectString)(output["GlobalNodeGroupId"]);
8035
8035
  }
8036
8036
  if (output["Slots"] !== undefined) {
8037
- contents.Slots = smithy_client_1.expectString(output["Slots"]);
8037
+ contents.Slots = (0, smithy_client_1.expectString)(output["Slots"]);
8038
8038
  }
8039
8039
  return contents;
8040
8040
  };
@@ -8065,49 +8065,49 @@ const deserializeAws_queryGlobalReplicationGroup = (output, context) => {
8065
8065
  ARN: undefined,
8066
8066
  };
8067
8067
  if (output["GlobalReplicationGroupId"] !== undefined) {
8068
- contents.GlobalReplicationGroupId = smithy_client_1.expectString(output["GlobalReplicationGroupId"]);
8068
+ contents.GlobalReplicationGroupId = (0, smithy_client_1.expectString)(output["GlobalReplicationGroupId"]);
8069
8069
  }
8070
8070
  if (output["GlobalReplicationGroupDescription"] !== undefined) {
8071
- contents.GlobalReplicationGroupDescription = smithy_client_1.expectString(output["GlobalReplicationGroupDescription"]);
8071
+ contents.GlobalReplicationGroupDescription = (0, smithy_client_1.expectString)(output["GlobalReplicationGroupDescription"]);
8072
8072
  }
8073
8073
  if (output["Status"] !== undefined) {
8074
- contents.Status = smithy_client_1.expectString(output["Status"]);
8074
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
8075
8075
  }
8076
8076
  if (output["CacheNodeType"] !== undefined) {
8077
- contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
8077
+ contents.CacheNodeType = (0, smithy_client_1.expectString)(output["CacheNodeType"]);
8078
8078
  }
8079
8079
  if (output["Engine"] !== undefined) {
8080
- contents.Engine = smithy_client_1.expectString(output["Engine"]);
8080
+ contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
8081
8081
  }
8082
8082
  if (output["EngineVersion"] !== undefined) {
8083
- contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
8083
+ contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
8084
8084
  }
8085
8085
  if (output.Members === "") {
8086
8086
  contents.Members = [];
8087
8087
  }
8088
8088
  if (output["Members"] !== undefined && output["Members"]["GlobalReplicationGroupMember"] !== undefined) {
8089
- contents.Members = deserializeAws_queryGlobalReplicationGroupMemberList(smithy_client_1.getArrayIfSingleItem(output["Members"]["GlobalReplicationGroupMember"]), context);
8089
+ contents.Members = deserializeAws_queryGlobalReplicationGroupMemberList((0, smithy_client_1.getArrayIfSingleItem)(output["Members"]["GlobalReplicationGroupMember"]), context);
8090
8090
  }
8091
8091
  if (output["ClusterEnabled"] !== undefined) {
8092
- contents.ClusterEnabled = smithy_client_1.parseBoolean(output["ClusterEnabled"]);
8092
+ contents.ClusterEnabled = (0, smithy_client_1.parseBoolean)(output["ClusterEnabled"]);
8093
8093
  }
8094
8094
  if (output.GlobalNodeGroups === "") {
8095
8095
  contents.GlobalNodeGroups = [];
8096
8096
  }
8097
8097
  if (output["GlobalNodeGroups"] !== undefined && output["GlobalNodeGroups"]["GlobalNodeGroup"] !== undefined) {
8098
- contents.GlobalNodeGroups = deserializeAws_queryGlobalNodeGroupList(smithy_client_1.getArrayIfSingleItem(output["GlobalNodeGroups"]["GlobalNodeGroup"]), context);
8098
+ contents.GlobalNodeGroups = deserializeAws_queryGlobalNodeGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["GlobalNodeGroups"]["GlobalNodeGroup"]), context);
8099
8099
  }
8100
8100
  if (output["AuthTokenEnabled"] !== undefined) {
8101
- contents.AuthTokenEnabled = smithy_client_1.parseBoolean(output["AuthTokenEnabled"]);
8101
+ contents.AuthTokenEnabled = (0, smithy_client_1.parseBoolean)(output["AuthTokenEnabled"]);
8102
8102
  }
8103
8103
  if (output["TransitEncryptionEnabled"] !== undefined) {
8104
- contents.TransitEncryptionEnabled = smithy_client_1.parseBoolean(output["TransitEncryptionEnabled"]);
8104
+ contents.TransitEncryptionEnabled = (0, smithy_client_1.parseBoolean)(output["TransitEncryptionEnabled"]);
8105
8105
  }
8106
8106
  if (output["AtRestEncryptionEnabled"] !== undefined) {
8107
- contents.AtRestEncryptionEnabled = smithy_client_1.parseBoolean(output["AtRestEncryptionEnabled"]);
8107
+ contents.AtRestEncryptionEnabled = (0, smithy_client_1.parseBoolean)(output["AtRestEncryptionEnabled"]);
8108
8108
  }
8109
8109
  if (output["ARN"] !== undefined) {
8110
- contents.ARN = smithy_client_1.expectString(output["ARN"]);
8110
+ contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
8111
8111
  }
8112
8112
  return contents;
8113
8113
  };
@@ -8116,7 +8116,7 @@ const deserializeAws_queryGlobalReplicationGroupAlreadyExistsFault = (output, co
8116
8116
  message: undefined,
8117
8117
  };
8118
8118
  if (output["message"] !== undefined) {
8119
- contents.message = smithy_client_1.expectString(output["message"]);
8119
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8120
8120
  }
8121
8121
  return contents;
8122
8122
  };
@@ -8126,10 +8126,10 @@ const deserializeAws_queryGlobalReplicationGroupInfo = (output, context) => {
8126
8126
  GlobalReplicationGroupMemberRole: undefined,
8127
8127
  };
8128
8128
  if (output["GlobalReplicationGroupId"] !== undefined) {
8129
- contents.GlobalReplicationGroupId = smithy_client_1.expectString(output["GlobalReplicationGroupId"]);
8129
+ contents.GlobalReplicationGroupId = (0, smithy_client_1.expectString)(output["GlobalReplicationGroupId"]);
8130
8130
  }
8131
8131
  if (output["GlobalReplicationGroupMemberRole"] !== undefined) {
8132
- contents.GlobalReplicationGroupMemberRole = smithy_client_1.expectString(output["GlobalReplicationGroupMemberRole"]);
8132
+ contents.GlobalReplicationGroupMemberRole = (0, smithy_client_1.expectString)(output["GlobalReplicationGroupMemberRole"]);
8133
8133
  }
8134
8134
  return contents;
8135
8135
  };
@@ -8152,19 +8152,19 @@ const deserializeAws_queryGlobalReplicationGroupMember = (output, context) => {
8152
8152
  Status: undefined,
8153
8153
  };
8154
8154
  if (output["ReplicationGroupId"] !== undefined) {
8155
- contents.ReplicationGroupId = smithy_client_1.expectString(output["ReplicationGroupId"]);
8155
+ contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
8156
8156
  }
8157
8157
  if (output["ReplicationGroupRegion"] !== undefined) {
8158
- contents.ReplicationGroupRegion = smithy_client_1.expectString(output["ReplicationGroupRegion"]);
8158
+ contents.ReplicationGroupRegion = (0, smithy_client_1.expectString)(output["ReplicationGroupRegion"]);
8159
8159
  }
8160
8160
  if (output["Role"] !== undefined) {
8161
- contents.Role = smithy_client_1.expectString(output["Role"]);
8161
+ contents.Role = (0, smithy_client_1.expectString)(output["Role"]);
8162
8162
  }
8163
8163
  if (output["AutomaticFailover"] !== undefined) {
8164
- contents.AutomaticFailover = smithy_client_1.expectString(output["AutomaticFailover"]);
8164
+ contents.AutomaticFailover = (0, smithy_client_1.expectString)(output["AutomaticFailover"]);
8165
8165
  }
8166
8166
  if (output["Status"] !== undefined) {
8167
- contents.Status = smithy_client_1.expectString(output["Status"]);
8167
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
8168
8168
  }
8169
8169
  return contents;
8170
8170
  };
@@ -8183,7 +8183,7 @@ const deserializeAws_queryGlobalReplicationGroupNotFoundFault = (output, context
8183
8183
  message: undefined,
8184
8184
  };
8185
8185
  if (output["message"] !== undefined) {
8186
- contents.message = smithy_client_1.expectString(output["message"]);
8186
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8187
8187
  }
8188
8188
  return contents;
8189
8189
  };
@@ -8210,7 +8210,7 @@ const deserializeAws_queryInsufficientCacheClusterCapacityFault = (output, conte
8210
8210
  message: undefined,
8211
8211
  };
8212
8212
  if (output["message"] !== undefined) {
8213
- contents.message = smithy_client_1.expectString(output["message"]);
8213
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8214
8214
  }
8215
8215
  return contents;
8216
8216
  };
@@ -8219,7 +8219,7 @@ const deserializeAws_queryInvalidARNFault = (output, context) => {
8219
8219
  message: undefined,
8220
8220
  };
8221
8221
  if (output["message"] !== undefined) {
8222
- contents.message = smithy_client_1.expectString(output["message"]);
8222
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8223
8223
  }
8224
8224
  return contents;
8225
8225
  };
@@ -8228,7 +8228,7 @@ const deserializeAws_queryInvalidCacheClusterStateFault = (output, context) => {
8228
8228
  message: undefined,
8229
8229
  };
8230
8230
  if (output["message"] !== undefined) {
8231
- contents.message = smithy_client_1.expectString(output["message"]);
8231
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8232
8232
  }
8233
8233
  return contents;
8234
8234
  };
@@ -8237,7 +8237,7 @@ const deserializeAws_queryInvalidCacheParameterGroupStateFault = (output, contex
8237
8237
  message: undefined,
8238
8238
  };
8239
8239
  if (output["message"] !== undefined) {
8240
- contents.message = smithy_client_1.expectString(output["message"]);
8240
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8241
8241
  }
8242
8242
  return contents;
8243
8243
  };
@@ -8246,7 +8246,7 @@ const deserializeAws_queryInvalidCacheSecurityGroupStateFault = (output, context
8246
8246
  message: undefined,
8247
8247
  };
8248
8248
  if (output["message"] !== undefined) {
8249
- contents.message = smithy_client_1.expectString(output["message"]);
8249
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8250
8250
  }
8251
8251
  return contents;
8252
8252
  };
@@ -8255,7 +8255,7 @@ const deserializeAws_queryInvalidGlobalReplicationGroupStateFault = (output, con
8255
8255
  message: undefined,
8256
8256
  };
8257
8257
  if (output["message"] !== undefined) {
8258
- contents.message = smithy_client_1.expectString(output["message"]);
8258
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8259
8259
  }
8260
8260
  return contents;
8261
8261
  };
@@ -8264,7 +8264,7 @@ const deserializeAws_queryInvalidKMSKeyFault = (output, context) => {
8264
8264
  message: undefined,
8265
8265
  };
8266
8266
  if (output["message"] !== undefined) {
8267
- contents.message = smithy_client_1.expectString(output["message"]);
8267
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8268
8268
  }
8269
8269
  return contents;
8270
8270
  };
@@ -8273,7 +8273,7 @@ const deserializeAws_queryInvalidParameterCombinationException = (output, contex
8273
8273
  message: undefined,
8274
8274
  };
8275
8275
  if (output["message"] !== undefined) {
8276
- contents.message = smithy_client_1.expectString(output["message"]);
8276
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8277
8277
  }
8278
8278
  return contents;
8279
8279
  };
@@ -8282,7 +8282,7 @@ const deserializeAws_queryInvalidParameterValueException = (output, context) =>
8282
8282
  message: undefined,
8283
8283
  };
8284
8284
  if (output["message"] !== undefined) {
8285
- contents.message = smithy_client_1.expectString(output["message"]);
8285
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8286
8286
  }
8287
8287
  return contents;
8288
8288
  };
@@ -8291,7 +8291,7 @@ const deserializeAws_queryInvalidReplicationGroupStateFault = (output, context)
8291
8291
  message: undefined,
8292
8292
  };
8293
8293
  if (output["message"] !== undefined) {
8294
- contents.message = smithy_client_1.expectString(output["message"]);
8294
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8295
8295
  }
8296
8296
  return contents;
8297
8297
  };
@@ -8300,7 +8300,7 @@ const deserializeAws_queryInvalidSnapshotStateFault = (output, context) => {
8300
8300
  message: undefined,
8301
8301
  };
8302
8302
  if (output["message"] !== undefined) {
8303
- contents.message = smithy_client_1.expectString(output["message"]);
8303
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8304
8304
  }
8305
8305
  return contents;
8306
8306
  };
@@ -8309,7 +8309,7 @@ const deserializeAws_queryInvalidSubnet = (output, context) => {
8309
8309
  message: undefined,
8310
8310
  };
8311
8311
  if (output["message"] !== undefined) {
8312
- contents.message = smithy_client_1.expectString(output["message"]);
8312
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8313
8313
  }
8314
8314
  return contents;
8315
8315
  };
@@ -8318,7 +8318,7 @@ const deserializeAws_queryInvalidUserGroupStateFault = (output, context) => {
8318
8318
  message: undefined,
8319
8319
  };
8320
8320
  if (output["message"] !== undefined) {
8321
- contents.message = smithy_client_1.expectString(output["message"]);
8321
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8322
8322
  }
8323
8323
  return contents;
8324
8324
  };
@@ -8327,7 +8327,7 @@ const deserializeAws_queryInvalidUserStateFault = (output, context) => {
8327
8327
  message: undefined,
8328
8328
  };
8329
8329
  if (output["message"] !== undefined) {
8330
- contents.message = smithy_client_1.expectString(output["message"]);
8330
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8331
8331
  }
8332
8332
  return contents;
8333
8333
  };
@@ -8336,7 +8336,7 @@ const deserializeAws_queryInvalidVPCNetworkStateFault = (output, context) => {
8336
8336
  message: undefined,
8337
8337
  };
8338
8338
  if (output["message"] !== undefined) {
8339
- contents.message = smithy_client_1.expectString(output["message"]);
8339
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8340
8340
  }
8341
8341
  return contents;
8342
8342
  };
@@ -8345,7 +8345,7 @@ const deserializeAws_queryKinesisFirehoseDestinationDetails = (output, context)
8345
8345
  DeliveryStream: undefined,
8346
8346
  };
8347
8347
  if (output["DeliveryStream"] !== undefined) {
8348
- contents.DeliveryStream = smithy_client_1.expectString(output["DeliveryStream"]);
8348
+ contents.DeliveryStream = (0, smithy_client_1.expectString)(output["DeliveryStream"]);
8349
8349
  }
8350
8350
  return contents;
8351
8351
  };
@@ -8359,22 +8359,22 @@ const deserializeAws_queryLogDeliveryConfiguration = (output, context) => {
8359
8359
  Message: undefined,
8360
8360
  };
8361
8361
  if (output["LogType"] !== undefined) {
8362
- contents.LogType = smithy_client_1.expectString(output["LogType"]);
8362
+ contents.LogType = (0, smithy_client_1.expectString)(output["LogType"]);
8363
8363
  }
8364
8364
  if (output["DestinationType"] !== undefined) {
8365
- contents.DestinationType = smithy_client_1.expectString(output["DestinationType"]);
8365
+ contents.DestinationType = (0, smithy_client_1.expectString)(output["DestinationType"]);
8366
8366
  }
8367
8367
  if (output["DestinationDetails"] !== undefined) {
8368
8368
  contents.DestinationDetails = deserializeAws_queryDestinationDetails(output["DestinationDetails"], context);
8369
8369
  }
8370
8370
  if (output["LogFormat"] !== undefined) {
8371
- contents.LogFormat = smithy_client_1.expectString(output["LogFormat"]);
8371
+ contents.LogFormat = (0, smithy_client_1.expectString)(output["LogFormat"]);
8372
8372
  }
8373
8373
  if (output["Status"] !== undefined) {
8374
- contents.Status = smithy_client_1.expectString(output["Status"]);
8374
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
8375
8375
  }
8376
8376
  if (output["Message"] !== undefined) {
8377
- contents.Message = smithy_client_1.expectString(output["Message"]);
8377
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
8378
8378
  }
8379
8379
  return contents;
8380
8380
  };
@@ -8443,10 +8443,10 @@ const deserializeAws_queryNodeGroup = (output, context) => {
8443
8443
  NodeGroupMembers: undefined,
8444
8444
  };
8445
8445
  if (output["NodeGroupId"] !== undefined) {
8446
- contents.NodeGroupId = smithy_client_1.expectString(output["NodeGroupId"]);
8446
+ contents.NodeGroupId = (0, smithy_client_1.expectString)(output["NodeGroupId"]);
8447
8447
  }
8448
8448
  if (output["Status"] !== undefined) {
8449
- contents.Status = smithy_client_1.expectString(output["Status"]);
8449
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
8450
8450
  }
8451
8451
  if (output["PrimaryEndpoint"] !== undefined) {
8452
8452
  contents.PrimaryEndpoint = deserializeAws_queryEndpoint(output["PrimaryEndpoint"], context);
@@ -8455,13 +8455,13 @@ const deserializeAws_queryNodeGroup = (output, context) => {
8455
8455
  contents.ReaderEndpoint = deserializeAws_queryEndpoint(output["ReaderEndpoint"], context);
8456
8456
  }
8457
8457
  if (output["Slots"] !== undefined) {
8458
- contents.Slots = smithy_client_1.expectString(output["Slots"]);
8458
+ contents.Slots = (0, smithy_client_1.expectString)(output["Slots"]);
8459
8459
  }
8460
8460
  if (output.NodeGroupMembers === "") {
8461
8461
  contents.NodeGroupMembers = [];
8462
8462
  }
8463
8463
  if (output["NodeGroupMembers"] !== undefined && output["NodeGroupMembers"]["NodeGroupMember"] !== undefined) {
8464
- contents.NodeGroupMembers = deserializeAws_queryNodeGroupMemberList(smithy_client_1.getArrayIfSingleItem(output["NodeGroupMembers"]["NodeGroupMember"]), context);
8464
+ contents.NodeGroupMembers = deserializeAws_queryNodeGroupMemberList((0, smithy_client_1.getArrayIfSingleItem)(output["NodeGroupMembers"]["NodeGroupMember"]), context);
8465
8465
  }
8466
8466
  return contents;
8467
8467
  };
@@ -8476,32 +8476,32 @@ const deserializeAws_queryNodeGroupConfiguration = (output, context) => {
8476
8476
  ReplicaOutpostArns: undefined,
8477
8477
  };
8478
8478
  if (output["NodeGroupId"] !== undefined) {
8479
- contents.NodeGroupId = smithy_client_1.expectString(output["NodeGroupId"]);
8479
+ contents.NodeGroupId = (0, smithy_client_1.expectString)(output["NodeGroupId"]);
8480
8480
  }
8481
8481
  if (output["Slots"] !== undefined) {
8482
- contents.Slots = smithy_client_1.expectString(output["Slots"]);
8482
+ contents.Slots = (0, smithy_client_1.expectString)(output["Slots"]);
8483
8483
  }
8484
8484
  if (output["ReplicaCount"] !== undefined) {
8485
- contents.ReplicaCount = smithy_client_1.strictParseInt32(output["ReplicaCount"]);
8485
+ contents.ReplicaCount = (0, smithy_client_1.strictParseInt32)(output["ReplicaCount"]);
8486
8486
  }
8487
8487
  if (output["PrimaryAvailabilityZone"] !== undefined) {
8488
- contents.PrimaryAvailabilityZone = smithy_client_1.expectString(output["PrimaryAvailabilityZone"]);
8488
+ contents.PrimaryAvailabilityZone = (0, smithy_client_1.expectString)(output["PrimaryAvailabilityZone"]);
8489
8489
  }
8490
8490
  if (output.ReplicaAvailabilityZones === "") {
8491
8491
  contents.ReplicaAvailabilityZones = [];
8492
8492
  }
8493
8493
  if (output["ReplicaAvailabilityZones"] !== undefined &&
8494
8494
  output["ReplicaAvailabilityZones"]["AvailabilityZone"] !== undefined) {
8495
- contents.ReplicaAvailabilityZones = deserializeAws_queryAvailabilityZonesList(smithy_client_1.getArrayIfSingleItem(output["ReplicaAvailabilityZones"]["AvailabilityZone"]), context);
8495
+ contents.ReplicaAvailabilityZones = deserializeAws_queryAvailabilityZonesList((0, smithy_client_1.getArrayIfSingleItem)(output["ReplicaAvailabilityZones"]["AvailabilityZone"]), context);
8496
8496
  }
8497
8497
  if (output["PrimaryOutpostArn"] !== undefined) {
8498
- contents.PrimaryOutpostArn = smithy_client_1.expectString(output["PrimaryOutpostArn"]);
8498
+ contents.PrimaryOutpostArn = (0, smithy_client_1.expectString)(output["PrimaryOutpostArn"]);
8499
8499
  }
8500
8500
  if (output.ReplicaOutpostArns === "") {
8501
8501
  contents.ReplicaOutpostArns = [];
8502
8502
  }
8503
8503
  if (output["ReplicaOutpostArns"] !== undefined && output["ReplicaOutpostArns"]["OutpostArn"] !== undefined) {
8504
- contents.ReplicaOutpostArns = deserializeAws_queryOutpostArnsList(smithy_client_1.getArrayIfSingleItem(output["ReplicaOutpostArns"]["OutpostArn"]), context);
8504
+ contents.ReplicaOutpostArns = deserializeAws_queryOutpostArnsList((0, smithy_client_1.getArrayIfSingleItem)(output["ReplicaOutpostArns"]["OutpostArn"]), context);
8505
8505
  }
8506
8506
  return contents;
8507
8507
  };
@@ -8525,22 +8525,22 @@ const deserializeAws_queryNodeGroupMember = (output, context) => {
8525
8525
  CurrentRole: undefined,
8526
8526
  };
8527
8527
  if (output["CacheClusterId"] !== undefined) {
8528
- contents.CacheClusterId = smithy_client_1.expectString(output["CacheClusterId"]);
8528
+ contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
8529
8529
  }
8530
8530
  if (output["CacheNodeId"] !== undefined) {
8531
- contents.CacheNodeId = smithy_client_1.expectString(output["CacheNodeId"]);
8531
+ contents.CacheNodeId = (0, smithy_client_1.expectString)(output["CacheNodeId"]);
8532
8532
  }
8533
8533
  if (output["ReadEndpoint"] !== undefined) {
8534
8534
  contents.ReadEndpoint = deserializeAws_queryEndpoint(output["ReadEndpoint"], context);
8535
8535
  }
8536
8536
  if (output["PreferredAvailabilityZone"] !== undefined) {
8537
- contents.PreferredAvailabilityZone = smithy_client_1.expectString(output["PreferredAvailabilityZone"]);
8537
+ contents.PreferredAvailabilityZone = (0, smithy_client_1.expectString)(output["PreferredAvailabilityZone"]);
8538
8538
  }
8539
8539
  if (output["PreferredOutpostArn"] !== undefined) {
8540
- contents.PreferredOutpostArn = smithy_client_1.expectString(output["PreferredOutpostArn"]);
8540
+ contents.PreferredOutpostArn = (0, smithy_client_1.expectString)(output["PreferredOutpostArn"]);
8541
8541
  }
8542
8542
  if (output["CurrentRole"] !== undefined) {
8543
- contents.CurrentRole = smithy_client_1.expectString(output["CurrentRole"]);
8543
+ contents.CurrentRole = (0, smithy_client_1.expectString)(output["CurrentRole"]);
8544
8544
  }
8545
8545
  return contents;
8546
8546
  };
@@ -8567,31 +8567,31 @@ const deserializeAws_queryNodeGroupMemberUpdateStatus = (output, context) => {
8567
8567
  NodeUpdateStatusModifiedDate: undefined,
8568
8568
  };
8569
8569
  if (output["CacheClusterId"] !== undefined) {
8570
- contents.CacheClusterId = smithy_client_1.expectString(output["CacheClusterId"]);
8570
+ contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
8571
8571
  }
8572
8572
  if (output["CacheNodeId"] !== undefined) {
8573
- contents.CacheNodeId = smithy_client_1.expectString(output["CacheNodeId"]);
8573
+ contents.CacheNodeId = (0, smithy_client_1.expectString)(output["CacheNodeId"]);
8574
8574
  }
8575
8575
  if (output["NodeUpdateStatus"] !== undefined) {
8576
- contents.NodeUpdateStatus = smithy_client_1.expectString(output["NodeUpdateStatus"]);
8576
+ contents.NodeUpdateStatus = (0, smithy_client_1.expectString)(output["NodeUpdateStatus"]);
8577
8577
  }
8578
8578
  if (output["NodeDeletionDate"] !== undefined) {
8579
- contents.NodeDeletionDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeDeletionDate"]));
8579
+ contents.NodeDeletionDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeDeletionDate"]));
8580
8580
  }
8581
8581
  if (output["NodeUpdateStartDate"] !== undefined) {
8582
- contents.NodeUpdateStartDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateStartDate"]));
8582
+ contents.NodeUpdateStartDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeUpdateStartDate"]));
8583
8583
  }
8584
8584
  if (output["NodeUpdateEndDate"] !== undefined) {
8585
- contents.NodeUpdateEndDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateEndDate"]));
8585
+ contents.NodeUpdateEndDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeUpdateEndDate"]));
8586
8586
  }
8587
8587
  if (output["NodeUpdateInitiatedBy"] !== undefined) {
8588
- contents.NodeUpdateInitiatedBy = smithy_client_1.expectString(output["NodeUpdateInitiatedBy"]);
8588
+ contents.NodeUpdateInitiatedBy = (0, smithy_client_1.expectString)(output["NodeUpdateInitiatedBy"]);
8589
8589
  }
8590
8590
  if (output["NodeUpdateInitiatedDate"] !== undefined) {
8591
- contents.NodeUpdateInitiatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateInitiatedDate"]));
8591
+ contents.NodeUpdateInitiatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeUpdateInitiatedDate"]));
8592
8592
  }
8593
8593
  if (output["NodeUpdateStatusModifiedDate"] !== undefined) {
8594
- contents.NodeUpdateStatusModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateStatusModifiedDate"]));
8594
+ contents.NodeUpdateStatusModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeUpdateStatusModifiedDate"]));
8595
8595
  }
8596
8596
  return contents;
8597
8597
  };
@@ -8610,7 +8610,7 @@ const deserializeAws_queryNodeGroupNotFoundFault = (output, context) => {
8610
8610
  message: undefined,
8611
8611
  };
8612
8612
  if (output["message"] !== undefined) {
8613
- contents.message = smithy_client_1.expectString(output["message"]);
8613
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8614
8614
  }
8615
8615
  return contents;
8616
8616
  };
@@ -8619,7 +8619,7 @@ const deserializeAws_queryNodeGroupsPerReplicationGroupQuotaExceededFault = (out
8619
8619
  message: undefined,
8620
8620
  };
8621
8621
  if (output["message"] !== undefined) {
8622
- contents.message = smithy_client_1.expectString(output["message"]);
8622
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8623
8623
  }
8624
8624
  return contents;
8625
8625
  };
@@ -8629,14 +8629,14 @@ const deserializeAws_queryNodeGroupUpdateStatus = (output, context) => {
8629
8629
  NodeGroupMemberUpdateStatus: undefined,
8630
8630
  };
8631
8631
  if (output["NodeGroupId"] !== undefined) {
8632
- contents.NodeGroupId = smithy_client_1.expectString(output["NodeGroupId"]);
8632
+ contents.NodeGroupId = (0, smithy_client_1.expectString)(output["NodeGroupId"]);
8633
8633
  }
8634
8634
  if (output.NodeGroupMemberUpdateStatus === "") {
8635
8635
  contents.NodeGroupMemberUpdateStatus = [];
8636
8636
  }
8637
8637
  if (output["NodeGroupMemberUpdateStatus"] !== undefined &&
8638
8638
  output["NodeGroupMemberUpdateStatus"]["NodeGroupMemberUpdateStatus"] !== undefined) {
8639
- contents.NodeGroupMemberUpdateStatus = deserializeAws_queryNodeGroupMemberUpdateStatusList(smithy_client_1.getArrayIfSingleItem(output["NodeGroupMemberUpdateStatus"]["NodeGroupMemberUpdateStatus"]), context);
8639
+ contents.NodeGroupMemberUpdateStatus = deserializeAws_queryNodeGroupMemberUpdateStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["NodeGroupMemberUpdateStatus"]["NodeGroupMemberUpdateStatus"]), context);
8640
8640
  }
8641
8641
  return contents;
8642
8642
  };
@@ -8655,7 +8655,7 @@ const deserializeAws_queryNodeQuotaForClusterExceededFault = (output, context) =
8655
8655
  message: undefined,
8656
8656
  };
8657
8657
  if (output["message"] !== undefined) {
8658
- contents.message = smithy_client_1.expectString(output["message"]);
8658
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8659
8659
  }
8660
8660
  return contents;
8661
8661
  };
@@ -8664,7 +8664,7 @@ const deserializeAws_queryNodeQuotaForCustomerExceededFault = (output, context)
8664
8664
  message: undefined,
8665
8665
  };
8666
8666
  if (output["message"] !== undefined) {
8667
- contents.message = smithy_client_1.expectString(output["message"]);
8667
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8668
8668
  }
8669
8669
  return contents;
8670
8670
  };
@@ -8679,25 +8679,25 @@ const deserializeAws_queryNodeSnapshot = (output, context) => {
8679
8679
  SnapshotCreateTime: undefined,
8680
8680
  };
8681
8681
  if (output["CacheClusterId"] !== undefined) {
8682
- contents.CacheClusterId = smithy_client_1.expectString(output["CacheClusterId"]);
8682
+ contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
8683
8683
  }
8684
8684
  if (output["NodeGroupId"] !== undefined) {
8685
- contents.NodeGroupId = smithy_client_1.expectString(output["NodeGroupId"]);
8685
+ contents.NodeGroupId = (0, smithy_client_1.expectString)(output["NodeGroupId"]);
8686
8686
  }
8687
8687
  if (output["CacheNodeId"] !== undefined) {
8688
- contents.CacheNodeId = smithy_client_1.expectString(output["CacheNodeId"]);
8688
+ contents.CacheNodeId = (0, smithy_client_1.expectString)(output["CacheNodeId"]);
8689
8689
  }
8690
8690
  if (output["NodeGroupConfiguration"] !== undefined) {
8691
8691
  contents.NodeGroupConfiguration = deserializeAws_queryNodeGroupConfiguration(output["NodeGroupConfiguration"], context);
8692
8692
  }
8693
8693
  if (output["CacheSize"] !== undefined) {
8694
- contents.CacheSize = smithy_client_1.expectString(output["CacheSize"]);
8694
+ contents.CacheSize = (0, smithy_client_1.expectString)(output["CacheSize"]);
8695
8695
  }
8696
8696
  if (output["CacheNodeCreateTime"] !== undefined) {
8697
- contents.CacheNodeCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CacheNodeCreateTime"]));
8697
+ contents.CacheNodeCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CacheNodeCreateTime"]));
8698
8698
  }
8699
8699
  if (output["SnapshotCreateTime"] !== undefined) {
8700
- contents.SnapshotCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["SnapshotCreateTime"]));
8700
+ contents.SnapshotCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["SnapshotCreateTime"]));
8701
8701
  }
8702
8702
  return contents;
8703
8703
  };
@@ -8718,7 +8718,7 @@ const deserializeAws_queryNodeTypeList = (output, context) => {
8718
8718
  if (entry === null) {
8719
8719
  return null;
8720
8720
  }
8721
- return smithy_client_1.expectString(entry);
8721
+ return (0, smithy_client_1.expectString)(entry);
8722
8722
  });
8723
8723
  };
8724
8724
  const deserializeAws_queryNoOperationFault = (output, context) => {
@@ -8726,7 +8726,7 @@ const deserializeAws_queryNoOperationFault = (output, context) => {
8726
8726
  message: undefined,
8727
8727
  };
8728
8728
  if (output["message"] !== undefined) {
8729
- contents.message = smithy_client_1.expectString(output["message"]);
8729
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
8730
8730
  }
8731
8731
  return contents;
8732
8732
  };
@@ -8736,10 +8736,10 @@ const deserializeAws_queryNotificationConfiguration = (output, context) => {
8736
8736
  TopicStatus: undefined,
8737
8737
  };
8738
8738
  if (output["TopicArn"] !== undefined) {
8739
- contents.TopicArn = smithy_client_1.expectString(output["TopicArn"]);
8739
+ contents.TopicArn = (0, smithy_client_1.expectString)(output["TopicArn"]);
8740
8740
  }
8741
8741
  if (output["TopicStatus"] !== undefined) {
8742
- contents.TopicStatus = smithy_client_1.expectString(output["TopicStatus"]);
8742
+ contents.TopicStatus = (0, smithy_client_1.expectString)(output["TopicStatus"]);
8743
8743
  }
8744
8744
  return contents;
8745
8745
  };
@@ -8750,7 +8750,7 @@ const deserializeAws_queryOutpostArnsList = (output, context) => {
8750
8750
  if (entry === null) {
8751
8751
  return null;
8752
8752
  }
8753
- return smithy_client_1.expectString(entry);
8753
+ return (0, smithy_client_1.expectString)(entry);
8754
8754
  });
8755
8755
  };
8756
8756
  const deserializeAws_queryParameter = (output, context) => {
@@ -8766,31 +8766,31 @@ const deserializeAws_queryParameter = (output, context) => {
8766
8766
  ChangeType: undefined,
8767
8767
  };
8768
8768
  if (output["ParameterName"] !== undefined) {
8769
- contents.ParameterName = smithy_client_1.expectString(output["ParameterName"]);
8769
+ contents.ParameterName = (0, smithy_client_1.expectString)(output["ParameterName"]);
8770
8770
  }
8771
8771
  if (output["ParameterValue"] !== undefined) {
8772
- contents.ParameterValue = smithy_client_1.expectString(output["ParameterValue"]);
8772
+ contents.ParameterValue = (0, smithy_client_1.expectString)(output["ParameterValue"]);
8773
8773
  }
8774
8774
  if (output["Description"] !== undefined) {
8775
- contents.Description = smithy_client_1.expectString(output["Description"]);
8775
+ contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
8776
8776
  }
8777
8777
  if (output["Source"] !== undefined) {
8778
- contents.Source = smithy_client_1.expectString(output["Source"]);
8778
+ contents.Source = (0, smithy_client_1.expectString)(output["Source"]);
8779
8779
  }
8780
8780
  if (output["DataType"] !== undefined) {
8781
- contents.DataType = smithy_client_1.expectString(output["DataType"]);
8781
+ contents.DataType = (0, smithy_client_1.expectString)(output["DataType"]);
8782
8782
  }
8783
8783
  if (output["AllowedValues"] !== undefined) {
8784
- contents.AllowedValues = smithy_client_1.expectString(output["AllowedValues"]);
8784
+ contents.AllowedValues = (0, smithy_client_1.expectString)(output["AllowedValues"]);
8785
8785
  }
8786
8786
  if (output["IsModifiable"] !== undefined) {
8787
- contents.IsModifiable = smithy_client_1.parseBoolean(output["IsModifiable"]);
8787
+ contents.IsModifiable = (0, smithy_client_1.parseBoolean)(output["IsModifiable"]);
8788
8788
  }
8789
8789
  if (output["MinimumEngineVersion"] !== undefined) {
8790
- contents.MinimumEngineVersion = smithy_client_1.expectString(output["MinimumEngineVersion"]);
8790
+ contents.MinimumEngineVersion = (0, smithy_client_1.expectString)(output["MinimumEngineVersion"]);
8791
8791
  }
8792
8792
  if (output["ChangeType"] !== undefined) {
8793
- contents.ChangeType = smithy_client_1.expectString(output["ChangeType"]);
8793
+ contents.ChangeType = (0, smithy_client_1.expectString)(output["ChangeType"]);
8794
8794
  }
8795
8795
  return contents;
8796
8796
  };
@@ -8812,16 +8812,16 @@ const deserializeAws_queryPendingLogDeliveryConfiguration = (output, context) =>
8812
8812
  LogFormat: undefined,
8813
8813
  };
8814
8814
  if (output["LogType"] !== undefined) {
8815
- contents.LogType = smithy_client_1.expectString(output["LogType"]);
8815
+ contents.LogType = (0, smithy_client_1.expectString)(output["LogType"]);
8816
8816
  }
8817
8817
  if (output["DestinationType"] !== undefined) {
8818
- contents.DestinationType = smithy_client_1.expectString(output["DestinationType"]);
8818
+ contents.DestinationType = (0, smithy_client_1.expectString)(output["DestinationType"]);
8819
8819
  }
8820
8820
  if (output["DestinationDetails"] !== undefined) {
8821
8821
  contents.DestinationDetails = deserializeAws_queryDestinationDetails(output["DestinationDetails"], context);
8822
8822
  }
8823
8823
  if (output["LogFormat"] !== undefined) {
8824
- contents.LogFormat = smithy_client_1.expectString(output["LogFormat"]);
8824
+ contents.LogFormat = (0, smithy_client_1.expectString)(output["LogFormat"]);
8825
8825
  }
8826
8826
  return contents;
8827
8827
  };
@@ -8845,29 +8845,29 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
8845
8845
  LogDeliveryConfigurations: undefined,
8846
8846
  };
8847
8847
  if (output["NumCacheNodes"] !== undefined) {
8848
- contents.NumCacheNodes = smithy_client_1.strictParseInt32(output["NumCacheNodes"]);
8848
+ contents.NumCacheNodes = (0, smithy_client_1.strictParseInt32)(output["NumCacheNodes"]);
8849
8849
  }
8850
8850
  if (output.CacheNodeIdsToRemove === "") {
8851
8851
  contents.CacheNodeIdsToRemove = [];
8852
8852
  }
8853
8853
  if (output["CacheNodeIdsToRemove"] !== undefined && output["CacheNodeIdsToRemove"]["CacheNodeId"] !== undefined) {
8854
- contents.CacheNodeIdsToRemove = deserializeAws_queryCacheNodeIdsList(smithy_client_1.getArrayIfSingleItem(output["CacheNodeIdsToRemove"]["CacheNodeId"]), context);
8854
+ contents.CacheNodeIdsToRemove = deserializeAws_queryCacheNodeIdsList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheNodeIdsToRemove"]["CacheNodeId"]), context);
8855
8855
  }
8856
8856
  if (output["EngineVersion"] !== undefined) {
8857
- contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
8857
+ contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
8858
8858
  }
8859
8859
  if (output["CacheNodeType"] !== undefined) {
8860
- contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
8860
+ contents.CacheNodeType = (0, smithy_client_1.expectString)(output["CacheNodeType"]);
8861
8861
  }
8862
8862
  if (output["AuthTokenStatus"] !== undefined) {
8863
- contents.AuthTokenStatus = smithy_client_1.expectString(output["AuthTokenStatus"]);
8863
+ contents.AuthTokenStatus = (0, smithy_client_1.expectString)(output["AuthTokenStatus"]);
8864
8864
  }
8865
8865
  if (output.LogDeliveryConfigurations === "") {
8866
8866
  contents.LogDeliveryConfigurations = [];
8867
8867
  }
8868
8868
  if (output["LogDeliveryConfigurations"] !== undefined &&
8869
8869
  output["LogDeliveryConfigurations"]["member"] !== undefined) {
8870
- contents.LogDeliveryConfigurations = deserializeAws_queryPendingLogDeliveryConfigurationList(smithy_client_1.getArrayIfSingleItem(output["LogDeliveryConfigurations"]["member"]), context);
8870
+ contents.LogDeliveryConfigurations = deserializeAws_queryPendingLogDeliveryConfigurationList((0, smithy_client_1.getArrayIfSingleItem)(output["LogDeliveryConfigurations"]["member"]), context);
8871
8871
  }
8872
8872
  return contents;
8873
8873
  };
@@ -8879,16 +8879,16 @@ const deserializeAws_queryProcessedUpdateAction = (output, context) => {
8879
8879
  UpdateActionStatus: undefined,
8880
8880
  };
8881
8881
  if (output["ReplicationGroupId"] !== undefined) {
8882
- contents.ReplicationGroupId = smithy_client_1.expectString(output["ReplicationGroupId"]);
8882
+ contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
8883
8883
  }
8884
8884
  if (output["CacheClusterId"] !== undefined) {
8885
- contents.CacheClusterId = smithy_client_1.expectString(output["CacheClusterId"]);
8885
+ contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
8886
8886
  }
8887
8887
  if (output["ServiceUpdateName"] !== undefined) {
8888
- contents.ServiceUpdateName = smithy_client_1.expectString(output["ServiceUpdateName"]);
8888
+ contents.ServiceUpdateName = (0, smithy_client_1.expectString)(output["ServiceUpdateName"]);
8889
8889
  }
8890
8890
  if (output["UpdateActionStatus"] !== undefined) {
8891
- contents.UpdateActionStatus = smithy_client_1.expectString(output["UpdateActionStatus"]);
8891
+ contents.UpdateActionStatus = (0, smithy_client_1.expectString)(output["UpdateActionStatus"]);
8892
8892
  }
8893
8893
  return contents;
8894
8894
  };
@@ -8935,10 +8935,10 @@ const deserializeAws_queryRecurringCharge = (output, context) => {
8935
8935
  RecurringChargeFrequency: undefined,
8936
8936
  };
8937
8937
  if (output["RecurringChargeAmount"] !== undefined) {
8938
- contents.RecurringChargeAmount = smithy_client_1.strictParseFloat(output["RecurringChargeAmount"]);
8938
+ contents.RecurringChargeAmount = (0, smithy_client_1.strictParseFloat)(output["RecurringChargeAmount"]);
8939
8939
  }
8940
8940
  if (output["RecurringChargeFrequency"] !== undefined) {
8941
- contents.RecurringChargeFrequency = smithy_client_1.expectString(output["RecurringChargeFrequency"]);
8941
+ contents.RecurringChargeFrequency = (0, smithy_client_1.expectString)(output["RecurringChargeFrequency"]);
8942
8942
  }
8943
8943
  return contents;
8944
8944
  };
@@ -8982,16 +8982,16 @@ const deserializeAws_queryReplicationGroup = (output, context) => {
8982
8982
  DataTiering: undefined,
8983
8983
  };
8984
8984
  if (output["ReplicationGroupId"] !== undefined) {
8985
- contents.ReplicationGroupId = smithy_client_1.expectString(output["ReplicationGroupId"]);
8985
+ contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
8986
8986
  }
8987
8987
  if (output["Description"] !== undefined) {
8988
- contents.Description = smithy_client_1.expectString(output["Description"]);
8988
+ contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
8989
8989
  }
8990
8990
  if (output["GlobalReplicationGroupInfo"] !== undefined) {
8991
8991
  contents.GlobalReplicationGroupInfo = deserializeAws_queryGlobalReplicationGroupInfo(output["GlobalReplicationGroupInfo"], context);
8992
8992
  }
8993
8993
  if (output["Status"] !== undefined) {
8994
- contents.Status = smithy_client_1.expectString(output["Status"]);
8994
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
8995
8995
  }
8996
8996
  if (output["PendingModifiedValues"] !== undefined) {
8997
8997
  contents.PendingModifiedValues = deserializeAws_queryReplicationGroupPendingModifiedValues(output["PendingModifiedValues"], context);
@@ -9000,81 +9000,81 @@ const deserializeAws_queryReplicationGroup = (output, context) => {
9000
9000
  contents.MemberClusters = [];
9001
9001
  }
9002
9002
  if (output["MemberClusters"] !== undefined && output["MemberClusters"]["ClusterId"] !== undefined) {
9003
- contents.MemberClusters = deserializeAws_queryClusterIdList(smithy_client_1.getArrayIfSingleItem(output["MemberClusters"]["ClusterId"]), context);
9003
+ contents.MemberClusters = deserializeAws_queryClusterIdList((0, smithy_client_1.getArrayIfSingleItem)(output["MemberClusters"]["ClusterId"]), context);
9004
9004
  }
9005
9005
  if (output.NodeGroups === "") {
9006
9006
  contents.NodeGroups = [];
9007
9007
  }
9008
9008
  if (output["NodeGroups"] !== undefined && output["NodeGroups"]["NodeGroup"] !== undefined) {
9009
- contents.NodeGroups = deserializeAws_queryNodeGroupList(smithy_client_1.getArrayIfSingleItem(output["NodeGroups"]["NodeGroup"]), context);
9009
+ contents.NodeGroups = deserializeAws_queryNodeGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["NodeGroups"]["NodeGroup"]), context);
9010
9010
  }
9011
9011
  if (output["SnapshottingClusterId"] !== undefined) {
9012
- contents.SnapshottingClusterId = smithy_client_1.expectString(output["SnapshottingClusterId"]);
9012
+ contents.SnapshottingClusterId = (0, smithy_client_1.expectString)(output["SnapshottingClusterId"]);
9013
9013
  }
9014
9014
  if (output["AutomaticFailover"] !== undefined) {
9015
- contents.AutomaticFailover = smithy_client_1.expectString(output["AutomaticFailover"]);
9015
+ contents.AutomaticFailover = (0, smithy_client_1.expectString)(output["AutomaticFailover"]);
9016
9016
  }
9017
9017
  if (output["MultiAZ"] !== undefined) {
9018
- contents.MultiAZ = smithy_client_1.expectString(output["MultiAZ"]);
9018
+ contents.MultiAZ = (0, smithy_client_1.expectString)(output["MultiAZ"]);
9019
9019
  }
9020
9020
  if (output["ConfigurationEndpoint"] !== undefined) {
9021
9021
  contents.ConfigurationEndpoint = deserializeAws_queryEndpoint(output["ConfigurationEndpoint"], context);
9022
9022
  }
9023
9023
  if (output["SnapshotRetentionLimit"] !== undefined) {
9024
- contents.SnapshotRetentionLimit = smithy_client_1.strictParseInt32(output["SnapshotRetentionLimit"]);
9024
+ contents.SnapshotRetentionLimit = (0, smithy_client_1.strictParseInt32)(output["SnapshotRetentionLimit"]);
9025
9025
  }
9026
9026
  if (output["SnapshotWindow"] !== undefined) {
9027
- contents.SnapshotWindow = smithy_client_1.expectString(output["SnapshotWindow"]);
9027
+ contents.SnapshotWindow = (0, smithy_client_1.expectString)(output["SnapshotWindow"]);
9028
9028
  }
9029
9029
  if (output["ClusterEnabled"] !== undefined) {
9030
- contents.ClusterEnabled = smithy_client_1.parseBoolean(output["ClusterEnabled"]);
9030
+ contents.ClusterEnabled = (0, smithy_client_1.parseBoolean)(output["ClusterEnabled"]);
9031
9031
  }
9032
9032
  if (output["CacheNodeType"] !== undefined) {
9033
- contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
9033
+ contents.CacheNodeType = (0, smithy_client_1.expectString)(output["CacheNodeType"]);
9034
9034
  }
9035
9035
  if (output["AuthTokenEnabled"] !== undefined) {
9036
- contents.AuthTokenEnabled = smithy_client_1.parseBoolean(output["AuthTokenEnabled"]);
9036
+ contents.AuthTokenEnabled = (0, smithy_client_1.parseBoolean)(output["AuthTokenEnabled"]);
9037
9037
  }
9038
9038
  if (output["AuthTokenLastModifiedDate"] !== undefined) {
9039
- contents.AuthTokenLastModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["AuthTokenLastModifiedDate"]));
9039
+ contents.AuthTokenLastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["AuthTokenLastModifiedDate"]));
9040
9040
  }
9041
9041
  if (output["TransitEncryptionEnabled"] !== undefined) {
9042
- contents.TransitEncryptionEnabled = smithy_client_1.parseBoolean(output["TransitEncryptionEnabled"]);
9042
+ contents.TransitEncryptionEnabled = (0, smithy_client_1.parseBoolean)(output["TransitEncryptionEnabled"]);
9043
9043
  }
9044
9044
  if (output["AtRestEncryptionEnabled"] !== undefined) {
9045
- contents.AtRestEncryptionEnabled = smithy_client_1.parseBoolean(output["AtRestEncryptionEnabled"]);
9045
+ contents.AtRestEncryptionEnabled = (0, smithy_client_1.parseBoolean)(output["AtRestEncryptionEnabled"]);
9046
9046
  }
9047
9047
  if (output.MemberClustersOutpostArns === "") {
9048
9048
  contents.MemberClustersOutpostArns = [];
9049
9049
  }
9050
9050
  if (output["MemberClustersOutpostArns"] !== undefined &&
9051
9051
  output["MemberClustersOutpostArns"]["ReplicationGroupOutpostArn"] !== undefined) {
9052
- contents.MemberClustersOutpostArns = deserializeAws_queryReplicationGroupOutpostArnList(smithy_client_1.getArrayIfSingleItem(output["MemberClustersOutpostArns"]["ReplicationGroupOutpostArn"]), context);
9052
+ contents.MemberClustersOutpostArns = deserializeAws_queryReplicationGroupOutpostArnList((0, smithy_client_1.getArrayIfSingleItem)(output["MemberClustersOutpostArns"]["ReplicationGroupOutpostArn"]), context);
9053
9053
  }
9054
9054
  if (output["KmsKeyId"] !== undefined) {
9055
- contents.KmsKeyId = smithy_client_1.expectString(output["KmsKeyId"]);
9055
+ contents.KmsKeyId = (0, smithy_client_1.expectString)(output["KmsKeyId"]);
9056
9056
  }
9057
9057
  if (output["ARN"] !== undefined) {
9058
- contents.ARN = smithy_client_1.expectString(output["ARN"]);
9058
+ contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
9059
9059
  }
9060
9060
  if (output.UserGroupIds === "") {
9061
9061
  contents.UserGroupIds = [];
9062
9062
  }
9063
9063
  if (output["UserGroupIds"] !== undefined && output["UserGroupIds"]["member"] !== undefined) {
9064
- contents.UserGroupIds = deserializeAws_queryUserGroupIdList(smithy_client_1.getArrayIfSingleItem(output["UserGroupIds"]["member"]), context);
9064
+ contents.UserGroupIds = deserializeAws_queryUserGroupIdList((0, smithy_client_1.getArrayIfSingleItem)(output["UserGroupIds"]["member"]), context);
9065
9065
  }
9066
9066
  if (output.LogDeliveryConfigurations === "") {
9067
9067
  contents.LogDeliveryConfigurations = [];
9068
9068
  }
9069
9069
  if (output["LogDeliveryConfigurations"] !== undefined &&
9070
9070
  output["LogDeliveryConfigurations"]["LogDeliveryConfiguration"] !== undefined) {
9071
- contents.LogDeliveryConfigurations = deserializeAws_queryLogDeliveryConfigurationList(smithy_client_1.getArrayIfSingleItem(output["LogDeliveryConfigurations"]["LogDeliveryConfiguration"]), context);
9071
+ contents.LogDeliveryConfigurations = deserializeAws_queryLogDeliveryConfigurationList((0, smithy_client_1.getArrayIfSingleItem)(output["LogDeliveryConfigurations"]["LogDeliveryConfiguration"]), context);
9072
9072
  }
9073
9073
  if (output["ReplicationGroupCreateTime"] !== undefined) {
9074
- contents.ReplicationGroupCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ReplicationGroupCreateTime"]));
9074
+ contents.ReplicationGroupCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ReplicationGroupCreateTime"]));
9075
9075
  }
9076
9076
  if (output["DataTiering"] !== undefined) {
9077
- contents.DataTiering = smithy_client_1.expectString(output["DataTiering"]);
9077
+ contents.DataTiering = (0, smithy_client_1.expectString)(output["DataTiering"]);
9078
9078
  }
9079
9079
  return contents;
9080
9080
  };
@@ -9083,7 +9083,7 @@ const deserializeAws_queryReplicationGroupAlreadyExistsFault = (output, context)
9083
9083
  message: undefined,
9084
9084
  };
9085
9085
  if (output["message"] !== undefined) {
9086
- contents.message = smithy_client_1.expectString(output["message"]);
9086
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9087
9087
  }
9088
9088
  return contents;
9089
9089
  };
@@ -9092,7 +9092,7 @@ const deserializeAws_queryReplicationGroupAlreadyUnderMigrationFault = (output,
9092
9092
  message: undefined,
9093
9093
  };
9094
9094
  if (output["message"] !== undefined) {
9095
- contents.message = smithy_client_1.expectString(output["message"]);
9095
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9096
9096
  }
9097
9097
  return contents;
9098
9098
  };
@@ -9112,13 +9112,13 @@ const deserializeAws_queryReplicationGroupMessage = (output, context) => {
9112
9112
  ReplicationGroups: undefined,
9113
9113
  };
9114
9114
  if (output["Marker"] !== undefined) {
9115
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
9115
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
9116
9116
  }
9117
9117
  if (output.ReplicationGroups === "") {
9118
9118
  contents.ReplicationGroups = [];
9119
9119
  }
9120
9120
  if (output["ReplicationGroups"] !== undefined && output["ReplicationGroups"]["ReplicationGroup"] !== undefined) {
9121
- contents.ReplicationGroups = deserializeAws_queryReplicationGroupList(smithy_client_1.getArrayIfSingleItem(output["ReplicationGroups"]["ReplicationGroup"]), context);
9121
+ contents.ReplicationGroups = deserializeAws_queryReplicationGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["ReplicationGroups"]["ReplicationGroup"]), context);
9122
9122
  }
9123
9123
  return contents;
9124
9124
  };
@@ -9127,7 +9127,7 @@ const deserializeAws_queryReplicationGroupNotFoundFault = (output, context) => {
9127
9127
  message: undefined,
9128
9128
  };
9129
9129
  if (output["message"] !== undefined) {
9130
- contents.message = smithy_client_1.expectString(output["message"]);
9130
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9131
9131
  }
9132
9132
  return contents;
9133
9133
  };
@@ -9136,7 +9136,7 @@ const deserializeAws_queryReplicationGroupNotUnderMigrationFault = (output, cont
9136
9136
  message: undefined,
9137
9137
  };
9138
9138
  if (output["message"] !== undefined) {
9139
- contents.message = smithy_client_1.expectString(output["message"]);
9139
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9140
9140
  }
9141
9141
  return contents;
9142
9142
  };
@@ -9147,7 +9147,7 @@ const deserializeAws_queryReplicationGroupOutpostArnList = (output, context) =>
9147
9147
  if (entry === null) {
9148
9148
  return null;
9149
9149
  }
9150
- return smithy_client_1.expectString(entry);
9150
+ return (0, smithy_client_1.expectString)(entry);
9151
9151
  });
9152
9152
  };
9153
9153
  const deserializeAws_queryReplicationGroupPendingModifiedValues = (output, context) => {
@@ -9160,16 +9160,16 @@ const deserializeAws_queryReplicationGroupPendingModifiedValues = (output, conte
9160
9160
  LogDeliveryConfigurations: undefined,
9161
9161
  };
9162
9162
  if (output["PrimaryClusterId"] !== undefined) {
9163
- contents.PrimaryClusterId = smithy_client_1.expectString(output["PrimaryClusterId"]);
9163
+ contents.PrimaryClusterId = (0, smithy_client_1.expectString)(output["PrimaryClusterId"]);
9164
9164
  }
9165
9165
  if (output["AutomaticFailoverStatus"] !== undefined) {
9166
- contents.AutomaticFailoverStatus = smithy_client_1.expectString(output["AutomaticFailoverStatus"]);
9166
+ contents.AutomaticFailoverStatus = (0, smithy_client_1.expectString)(output["AutomaticFailoverStatus"]);
9167
9167
  }
9168
9168
  if (output["Resharding"] !== undefined) {
9169
9169
  contents.Resharding = deserializeAws_queryReshardingStatus(output["Resharding"], context);
9170
9170
  }
9171
9171
  if (output["AuthTokenStatus"] !== undefined) {
9172
- contents.AuthTokenStatus = smithy_client_1.expectString(output["AuthTokenStatus"]);
9172
+ contents.AuthTokenStatus = (0, smithy_client_1.expectString)(output["AuthTokenStatus"]);
9173
9173
  }
9174
9174
  if (output["UserGroups"] !== undefined) {
9175
9175
  contents.UserGroups = deserializeAws_queryUserGroupsUpdateStatus(output["UserGroups"], context);
@@ -9179,7 +9179,7 @@ const deserializeAws_queryReplicationGroupPendingModifiedValues = (output, conte
9179
9179
  }
9180
9180
  if (output["LogDeliveryConfigurations"] !== undefined &&
9181
9181
  output["LogDeliveryConfigurations"]["member"] !== undefined) {
9182
- contents.LogDeliveryConfigurations = deserializeAws_queryPendingLogDeliveryConfigurationList(smithy_client_1.getArrayIfSingleItem(output["LogDeliveryConfigurations"]["member"]), context);
9182
+ contents.LogDeliveryConfigurations = deserializeAws_queryPendingLogDeliveryConfigurationList((0, smithy_client_1.getArrayIfSingleItem)(output["LogDeliveryConfigurations"]["member"]), context);
9183
9183
  }
9184
9184
  return contents;
9185
9185
  };
@@ -9200,46 +9200,46 @@ const deserializeAws_queryReservedCacheNode = (output, context) => {
9200
9200
  ReservationARN: undefined,
9201
9201
  };
9202
9202
  if (output["ReservedCacheNodeId"] !== undefined) {
9203
- contents.ReservedCacheNodeId = smithy_client_1.expectString(output["ReservedCacheNodeId"]);
9203
+ contents.ReservedCacheNodeId = (0, smithy_client_1.expectString)(output["ReservedCacheNodeId"]);
9204
9204
  }
9205
9205
  if (output["ReservedCacheNodesOfferingId"] !== undefined) {
9206
- contents.ReservedCacheNodesOfferingId = smithy_client_1.expectString(output["ReservedCacheNodesOfferingId"]);
9206
+ contents.ReservedCacheNodesOfferingId = (0, smithy_client_1.expectString)(output["ReservedCacheNodesOfferingId"]);
9207
9207
  }
9208
9208
  if (output["CacheNodeType"] !== undefined) {
9209
- contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
9209
+ contents.CacheNodeType = (0, smithy_client_1.expectString)(output["CacheNodeType"]);
9210
9210
  }
9211
9211
  if (output["StartTime"] !== undefined) {
9212
- contents.StartTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["StartTime"]));
9212
+ contents.StartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["StartTime"]));
9213
9213
  }
9214
9214
  if (output["Duration"] !== undefined) {
9215
- contents.Duration = smithy_client_1.strictParseInt32(output["Duration"]);
9215
+ contents.Duration = (0, smithy_client_1.strictParseInt32)(output["Duration"]);
9216
9216
  }
9217
9217
  if (output["FixedPrice"] !== undefined) {
9218
- contents.FixedPrice = smithy_client_1.strictParseFloat(output["FixedPrice"]);
9218
+ contents.FixedPrice = (0, smithy_client_1.strictParseFloat)(output["FixedPrice"]);
9219
9219
  }
9220
9220
  if (output["UsagePrice"] !== undefined) {
9221
- contents.UsagePrice = smithy_client_1.strictParseFloat(output["UsagePrice"]);
9221
+ contents.UsagePrice = (0, smithy_client_1.strictParseFloat)(output["UsagePrice"]);
9222
9222
  }
9223
9223
  if (output["CacheNodeCount"] !== undefined) {
9224
- contents.CacheNodeCount = smithy_client_1.strictParseInt32(output["CacheNodeCount"]);
9224
+ contents.CacheNodeCount = (0, smithy_client_1.strictParseInt32)(output["CacheNodeCount"]);
9225
9225
  }
9226
9226
  if (output["ProductDescription"] !== undefined) {
9227
- contents.ProductDescription = smithy_client_1.expectString(output["ProductDescription"]);
9227
+ contents.ProductDescription = (0, smithy_client_1.expectString)(output["ProductDescription"]);
9228
9228
  }
9229
9229
  if (output["OfferingType"] !== undefined) {
9230
- contents.OfferingType = smithy_client_1.expectString(output["OfferingType"]);
9230
+ contents.OfferingType = (0, smithy_client_1.expectString)(output["OfferingType"]);
9231
9231
  }
9232
9232
  if (output["State"] !== undefined) {
9233
- contents.State = smithy_client_1.expectString(output["State"]);
9233
+ contents.State = (0, smithy_client_1.expectString)(output["State"]);
9234
9234
  }
9235
9235
  if (output.RecurringCharges === "") {
9236
9236
  contents.RecurringCharges = [];
9237
9237
  }
9238
9238
  if (output["RecurringCharges"] !== undefined && output["RecurringCharges"]["RecurringCharge"] !== undefined) {
9239
- contents.RecurringCharges = deserializeAws_queryRecurringChargeList(smithy_client_1.getArrayIfSingleItem(output["RecurringCharges"]["RecurringCharge"]), context);
9239
+ contents.RecurringCharges = deserializeAws_queryRecurringChargeList((0, smithy_client_1.getArrayIfSingleItem)(output["RecurringCharges"]["RecurringCharge"]), context);
9240
9240
  }
9241
9241
  if (output["ReservationARN"] !== undefined) {
9242
- contents.ReservationARN = smithy_client_1.expectString(output["ReservationARN"]);
9242
+ contents.ReservationARN = (0, smithy_client_1.expectString)(output["ReservationARN"]);
9243
9243
  }
9244
9244
  return contents;
9245
9245
  };
@@ -9248,7 +9248,7 @@ const deserializeAws_queryReservedCacheNodeAlreadyExistsFault = (output, context
9248
9248
  message: undefined,
9249
9249
  };
9250
9250
  if (output["message"] !== undefined) {
9251
- contents.message = smithy_client_1.expectString(output["message"]);
9251
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9252
9252
  }
9253
9253
  return contents;
9254
9254
  };
@@ -9268,13 +9268,13 @@ const deserializeAws_queryReservedCacheNodeMessage = (output, context) => {
9268
9268
  ReservedCacheNodes: undefined,
9269
9269
  };
9270
9270
  if (output["Marker"] !== undefined) {
9271
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
9271
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
9272
9272
  }
9273
9273
  if (output.ReservedCacheNodes === "") {
9274
9274
  contents.ReservedCacheNodes = [];
9275
9275
  }
9276
9276
  if (output["ReservedCacheNodes"] !== undefined && output["ReservedCacheNodes"]["ReservedCacheNode"] !== undefined) {
9277
- contents.ReservedCacheNodes = deserializeAws_queryReservedCacheNodeList(smithy_client_1.getArrayIfSingleItem(output["ReservedCacheNodes"]["ReservedCacheNode"]), context);
9277
+ contents.ReservedCacheNodes = deserializeAws_queryReservedCacheNodeList((0, smithy_client_1.getArrayIfSingleItem)(output["ReservedCacheNodes"]["ReservedCacheNode"]), context);
9278
9278
  }
9279
9279
  return contents;
9280
9280
  };
@@ -9283,7 +9283,7 @@ const deserializeAws_queryReservedCacheNodeNotFoundFault = (output, context) =>
9283
9283
  message: undefined,
9284
9284
  };
9285
9285
  if (output["message"] !== undefined) {
9286
- contents.message = smithy_client_1.expectString(output["message"]);
9286
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9287
9287
  }
9288
9288
  return contents;
9289
9289
  };
@@ -9292,7 +9292,7 @@ const deserializeAws_queryReservedCacheNodeQuotaExceededFault = (output, context
9292
9292
  message: undefined,
9293
9293
  };
9294
9294
  if (output["message"] !== undefined) {
9295
- contents.message = smithy_client_1.expectString(output["message"]);
9295
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9296
9296
  }
9297
9297
  return contents;
9298
9298
  };
@@ -9308,31 +9308,31 @@ const deserializeAws_queryReservedCacheNodesOffering = (output, context) => {
9308
9308
  RecurringCharges: undefined,
9309
9309
  };
9310
9310
  if (output["ReservedCacheNodesOfferingId"] !== undefined) {
9311
- contents.ReservedCacheNodesOfferingId = smithy_client_1.expectString(output["ReservedCacheNodesOfferingId"]);
9311
+ contents.ReservedCacheNodesOfferingId = (0, smithy_client_1.expectString)(output["ReservedCacheNodesOfferingId"]);
9312
9312
  }
9313
9313
  if (output["CacheNodeType"] !== undefined) {
9314
- contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
9314
+ contents.CacheNodeType = (0, smithy_client_1.expectString)(output["CacheNodeType"]);
9315
9315
  }
9316
9316
  if (output["Duration"] !== undefined) {
9317
- contents.Duration = smithy_client_1.strictParseInt32(output["Duration"]);
9317
+ contents.Duration = (0, smithy_client_1.strictParseInt32)(output["Duration"]);
9318
9318
  }
9319
9319
  if (output["FixedPrice"] !== undefined) {
9320
- contents.FixedPrice = smithy_client_1.strictParseFloat(output["FixedPrice"]);
9320
+ contents.FixedPrice = (0, smithy_client_1.strictParseFloat)(output["FixedPrice"]);
9321
9321
  }
9322
9322
  if (output["UsagePrice"] !== undefined) {
9323
- contents.UsagePrice = smithy_client_1.strictParseFloat(output["UsagePrice"]);
9323
+ contents.UsagePrice = (0, smithy_client_1.strictParseFloat)(output["UsagePrice"]);
9324
9324
  }
9325
9325
  if (output["ProductDescription"] !== undefined) {
9326
- contents.ProductDescription = smithy_client_1.expectString(output["ProductDescription"]);
9326
+ contents.ProductDescription = (0, smithy_client_1.expectString)(output["ProductDescription"]);
9327
9327
  }
9328
9328
  if (output["OfferingType"] !== undefined) {
9329
- contents.OfferingType = smithy_client_1.expectString(output["OfferingType"]);
9329
+ contents.OfferingType = (0, smithy_client_1.expectString)(output["OfferingType"]);
9330
9330
  }
9331
9331
  if (output.RecurringCharges === "") {
9332
9332
  contents.RecurringCharges = [];
9333
9333
  }
9334
9334
  if (output["RecurringCharges"] !== undefined && output["RecurringCharges"]["RecurringCharge"] !== undefined) {
9335
- contents.RecurringCharges = deserializeAws_queryRecurringChargeList(smithy_client_1.getArrayIfSingleItem(output["RecurringCharges"]["RecurringCharge"]), context);
9335
+ contents.RecurringCharges = deserializeAws_queryRecurringChargeList((0, smithy_client_1.getArrayIfSingleItem)(output["RecurringCharges"]["RecurringCharge"]), context);
9336
9336
  }
9337
9337
  return contents;
9338
9338
  };
@@ -9352,14 +9352,14 @@ const deserializeAws_queryReservedCacheNodesOfferingMessage = (output, context)
9352
9352
  ReservedCacheNodesOfferings: undefined,
9353
9353
  };
9354
9354
  if (output["Marker"] !== undefined) {
9355
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
9355
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
9356
9356
  }
9357
9357
  if (output.ReservedCacheNodesOfferings === "") {
9358
9358
  contents.ReservedCacheNodesOfferings = [];
9359
9359
  }
9360
9360
  if (output["ReservedCacheNodesOfferings"] !== undefined &&
9361
9361
  output["ReservedCacheNodesOfferings"]["ReservedCacheNodesOffering"] !== undefined) {
9362
- contents.ReservedCacheNodesOfferings = deserializeAws_queryReservedCacheNodesOfferingList(smithy_client_1.getArrayIfSingleItem(output["ReservedCacheNodesOfferings"]["ReservedCacheNodesOffering"]), context);
9362
+ contents.ReservedCacheNodesOfferings = deserializeAws_queryReservedCacheNodesOfferingList((0, smithy_client_1.getArrayIfSingleItem)(output["ReservedCacheNodesOfferings"]["ReservedCacheNodesOffering"]), context);
9363
9363
  }
9364
9364
  return contents;
9365
9365
  };
@@ -9368,7 +9368,7 @@ const deserializeAws_queryReservedCacheNodesOfferingNotFoundFault = (output, con
9368
9368
  message: undefined,
9369
9369
  };
9370
9370
  if (output["message"] !== undefined) {
9371
- contents.message = smithy_client_1.expectString(output["message"]);
9371
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9372
9372
  }
9373
9373
  return contents;
9374
9374
  };
@@ -9396,10 +9396,10 @@ const deserializeAws_querySecurityGroupMembership = (output, context) => {
9396
9396
  Status: undefined,
9397
9397
  };
9398
9398
  if (output["SecurityGroupId"] !== undefined) {
9399
- contents.SecurityGroupId = smithy_client_1.expectString(output["SecurityGroupId"]);
9399
+ contents.SecurityGroupId = (0, smithy_client_1.expectString)(output["SecurityGroupId"]);
9400
9400
  }
9401
9401
  if (output["Status"] !== undefined) {
9402
- contents.Status = smithy_client_1.expectString(output["Status"]);
9402
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
9403
9403
  }
9404
9404
  return contents;
9405
9405
  };
@@ -9418,7 +9418,7 @@ const deserializeAws_queryServiceLinkedRoleNotFoundFault = (output, context) =>
9418
9418
  message: undefined,
9419
9419
  };
9420
9420
  if (output["message"] !== undefined) {
9421
- contents.message = smithy_client_1.expectString(output["message"]);
9421
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9422
9422
  }
9423
9423
  return contents;
9424
9424
  };
@@ -9438,40 +9438,40 @@ const deserializeAws_queryServiceUpdate = (output, context) => {
9438
9438
  EstimatedUpdateTime: undefined,
9439
9439
  };
9440
9440
  if (output["ServiceUpdateName"] !== undefined) {
9441
- contents.ServiceUpdateName = smithy_client_1.expectString(output["ServiceUpdateName"]);
9441
+ contents.ServiceUpdateName = (0, smithy_client_1.expectString)(output["ServiceUpdateName"]);
9442
9442
  }
9443
9443
  if (output["ServiceUpdateReleaseDate"] !== undefined) {
9444
- contents.ServiceUpdateReleaseDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ServiceUpdateReleaseDate"]));
9444
+ contents.ServiceUpdateReleaseDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ServiceUpdateReleaseDate"]));
9445
9445
  }
9446
9446
  if (output["ServiceUpdateEndDate"] !== undefined) {
9447
- contents.ServiceUpdateEndDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ServiceUpdateEndDate"]));
9447
+ contents.ServiceUpdateEndDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ServiceUpdateEndDate"]));
9448
9448
  }
9449
9449
  if (output["ServiceUpdateSeverity"] !== undefined) {
9450
- contents.ServiceUpdateSeverity = smithy_client_1.expectString(output["ServiceUpdateSeverity"]);
9450
+ contents.ServiceUpdateSeverity = (0, smithy_client_1.expectString)(output["ServiceUpdateSeverity"]);
9451
9451
  }
9452
9452
  if (output["ServiceUpdateRecommendedApplyByDate"] !== undefined) {
9453
- contents.ServiceUpdateRecommendedApplyByDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ServiceUpdateRecommendedApplyByDate"]));
9453
+ contents.ServiceUpdateRecommendedApplyByDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ServiceUpdateRecommendedApplyByDate"]));
9454
9454
  }
9455
9455
  if (output["ServiceUpdateStatus"] !== undefined) {
9456
- contents.ServiceUpdateStatus = smithy_client_1.expectString(output["ServiceUpdateStatus"]);
9456
+ contents.ServiceUpdateStatus = (0, smithy_client_1.expectString)(output["ServiceUpdateStatus"]);
9457
9457
  }
9458
9458
  if (output["ServiceUpdateDescription"] !== undefined) {
9459
- contents.ServiceUpdateDescription = smithy_client_1.expectString(output["ServiceUpdateDescription"]);
9459
+ contents.ServiceUpdateDescription = (0, smithy_client_1.expectString)(output["ServiceUpdateDescription"]);
9460
9460
  }
9461
9461
  if (output["ServiceUpdateType"] !== undefined) {
9462
- contents.ServiceUpdateType = smithy_client_1.expectString(output["ServiceUpdateType"]);
9462
+ contents.ServiceUpdateType = (0, smithy_client_1.expectString)(output["ServiceUpdateType"]);
9463
9463
  }
9464
9464
  if (output["Engine"] !== undefined) {
9465
- contents.Engine = smithy_client_1.expectString(output["Engine"]);
9465
+ contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
9466
9466
  }
9467
9467
  if (output["EngineVersion"] !== undefined) {
9468
- contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
9468
+ contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
9469
9469
  }
9470
9470
  if (output["AutoUpdateAfterRecommendedApplyByDate"] !== undefined) {
9471
- contents.AutoUpdateAfterRecommendedApplyByDate = smithy_client_1.parseBoolean(output["AutoUpdateAfterRecommendedApplyByDate"]);
9471
+ contents.AutoUpdateAfterRecommendedApplyByDate = (0, smithy_client_1.parseBoolean)(output["AutoUpdateAfterRecommendedApplyByDate"]);
9472
9472
  }
9473
9473
  if (output["EstimatedUpdateTime"] !== undefined) {
9474
- contents.EstimatedUpdateTime = smithy_client_1.expectString(output["EstimatedUpdateTime"]);
9474
+ contents.EstimatedUpdateTime = (0, smithy_client_1.expectString)(output["EstimatedUpdateTime"]);
9475
9475
  }
9476
9476
  return contents;
9477
9477
  };
@@ -9490,7 +9490,7 @@ const deserializeAws_queryServiceUpdateNotFoundFault = (output, context) => {
9490
9490
  message: undefined,
9491
9491
  };
9492
9492
  if (output["message"] !== undefined) {
9493
- contents.message = smithy_client_1.expectString(output["message"]);
9493
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9494
9494
  }
9495
9495
  return contents;
9496
9496
  };
@@ -9500,13 +9500,13 @@ const deserializeAws_queryServiceUpdatesMessage = (output, context) => {
9500
9500
  ServiceUpdates: undefined,
9501
9501
  };
9502
9502
  if (output["Marker"] !== undefined) {
9503
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
9503
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
9504
9504
  }
9505
9505
  if (output.ServiceUpdates === "") {
9506
9506
  contents.ServiceUpdates = [];
9507
9507
  }
9508
9508
  if (output["ServiceUpdates"] !== undefined && output["ServiceUpdates"]["ServiceUpdate"] !== undefined) {
9509
- contents.ServiceUpdates = deserializeAws_queryServiceUpdateList(smithy_client_1.getArrayIfSingleItem(output["ServiceUpdates"]["ServiceUpdate"]), context);
9509
+ contents.ServiceUpdates = deserializeAws_queryServiceUpdateList((0, smithy_client_1.getArrayIfSingleItem)(output["ServiceUpdates"]["ServiceUpdate"]), context);
9510
9510
  }
9511
9511
  return contents;
9512
9512
  };
@@ -9515,7 +9515,7 @@ const deserializeAws_querySlotMigration = (output, context) => {
9515
9515
  ProgressPercentage: undefined,
9516
9516
  };
9517
9517
  if (output["ProgressPercentage"] !== undefined) {
9518
- contents.ProgressPercentage = smithy_client_1.strictParseFloat(output["ProgressPercentage"]);
9518
+ contents.ProgressPercentage = (0, smithy_client_1.strictParseFloat)(output["ProgressPercentage"]);
9519
9519
  }
9520
9520
  return contents;
9521
9521
  };
@@ -9551,91 +9551,91 @@ const deserializeAws_querySnapshot = (output, context) => {
9551
9551
  DataTiering: undefined,
9552
9552
  };
9553
9553
  if (output["SnapshotName"] !== undefined) {
9554
- contents.SnapshotName = smithy_client_1.expectString(output["SnapshotName"]);
9554
+ contents.SnapshotName = (0, smithy_client_1.expectString)(output["SnapshotName"]);
9555
9555
  }
9556
9556
  if (output["ReplicationGroupId"] !== undefined) {
9557
- contents.ReplicationGroupId = smithy_client_1.expectString(output["ReplicationGroupId"]);
9557
+ contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
9558
9558
  }
9559
9559
  if (output["ReplicationGroupDescription"] !== undefined) {
9560
- contents.ReplicationGroupDescription = smithy_client_1.expectString(output["ReplicationGroupDescription"]);
9560
+ contents.ReplicationGroupDescription = (0, smithy_client_1.expectString)(output["ReplicationGroupDescription"]);
9561
9561
  }
9562
9562
  if (output["CacheClusterId"] !== undefined) {
9563
- contents.CacheClusterId = smithy_client_1.expectString(output["CacheClusterId"]);
9563
+ contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
9564
9564
  }
9565
9565
  if (output["SnapshotStatus"] !== undefined) {
9566
- contents.SnapshotStatus = smithy_client_1.expectString(output["SnapshotStatus"]);
9566
+ contents.SnapshotStatus = (0, smithy_client_1.expectString)(output["SnapshotStatus"]);
9567
9567
  }
9568
9568
  if (output["SnapshotSource"] !== undefined) {
9569
- contents.SnapshotSource = smithy_client_1.expectString(output["SnapshotSource"]);
9569
+ contents.SnapshotSource = (0, smithy_client_1.expectString)(output["SnapshotSource"]);
9570
9570
  }
9571
9571
  if (output["CacheNodeType"] !== undefined) {
9572
- contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
9572
+ contents.CacheNodeType = (0, smithy_client_1.expectString)(output["CacheNodeType"]);
9573
9573
  }
9574
9574
  if (output["Engine"] !== undefined) {
9575
- contents.Engine = smithy_client_1.expectString(output["Engine"]);
9575
+ contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
9576
9576
  }
9577
9577
  if (output["EngineVersion"] !== undefined) {
9578
- contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
9578
+ contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
9579
9579
  }
9580
9580
  if (output["NumCacheNodes"] !== undefined) {
9581
- contents.NumCacheNodes = smithy_client_1.strictParseInt32(output["NumCacheNodes"]);
9581
+ contents.NumCacheNodes = (0, smithy_client_1.strictParseInt32)(output["NumCacheNodes"]);
9582
9582
  }
9583
9583
  if (output["PreferredAvailabilityZone"] !== undefined) {
9584
- contents.PreferredAvailabilityZone = smithy_client_1.expectString(output["PreferredAvailabilityZone"]);
9584
+ contents.PreferredAvailabilityZone = (0, smithy_client_1.expectString)(output["PreferredAvailabilityZone"]);
9585
9585
  }
9586
9586
  if (output["PreferredOutpostArn"] !== undefined) {
9587
- contents.PreferredOutpostArn = smithy_client_1.expectString(output["PreferredOutpostArn"]);
9587
+ contents.PreferredOutpostArn = (0, smithy_client_1.expectString)(output["PreferredOutpostArn"]);
9588
9588
  }
9589
9589
  if (output["CacheClusterCreateTime"] !== undefined) {
9590
- contents.CacheClusterCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CacheClusterCreateTime"]));
9590
+ contents.CacheClusterCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CacheClusterCreateTime"]));
9591
9591
  }
9592
9592
  if (output["PreferredMaintenanceWindow"] !== undefined) {
9593
- contents.PreferredMaintenanceWindow = smithy_client_1.expectString(output["PreferredMaintenanceWindow"]);
9593
+ contents.PreferredMaintenanceWindow = (0, smithy_client_1.expectString)(output["PreferredMaintenanceWindow"]);
9594
9594
  }
9595
9595
  if (output["TopicArn"] !== undefined) {
9596
- contents.TopicArn = smithy_client_1.expectString(output["TopicArn"]);
9596
+ contents.TopicArn = (0, smithy_client_1.expectString)(output["TopicArn"]);
9597
9597
  }
9598
9598
  if (output["Port"] !== undefined) {
9599
- contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
9599
+ contents.Port = (0, smithy_client_1.strictParseInt32)(output["Port"]);
9600
9600
  }
9601
9601
  if (output["CacheParameterGroupName"] !== undefined) {
9602
- contents.CacheParameterGroupName = smithy_client_1.expectString(output["CacheParameterGroupName"]);
9602
+ contents.CacheParameterGroupName = (0, smithy_client_1.expectString)(output["CacheParameterGroupName"]);
9603
9603
  }
9604
9604
  if (output["CacheSubnetGroupName"] !== undefined) {
9605
- contents.CacheSubnetGroupName = smithy_client_1.expectString(output["CacheSubnetGroupName"]);
9605
+ contents.CacheSubnetGroupName = (0, smithy_client_1.expectString)(output["CacheSubnetGroupName"]);
9606
9606
  }
9607
9607
  if (output["VpcId"] !== undefined) {
9608
- contents.VpcId = smithy_client_1.expectString(output["VpcId"]);
9608
+ contents.VpcId = (0, smithy_client_1.expectString)(output["VpcId"]);
9609
9609
  }
9610
9610
  if (output["AutoMinorVersionUpgrade"] !== undefined) {
9611
- contents.AutoMinorVersionUpgrade = smithy_client_1.parseBoolean(output["AutoMinorVersionUpgrade"]);
9611
+ contents.AutoMinorVersionUpgrade = (0, smithy_client_1.parseBoolean)(output["AutoMinorVersionUpgrade"]);
9612
9612
  }
9613
9613
  if (output["SnapshotRetentionLimit"] !== undefined) {
9614
- contents.SnapshotRetentionLimit = smithy_client_1.strictParseInt32(output["SnapshotRetentionLimit"]);
9614
+ contents.SnapshotRetentionLimit = (0, smithy_client_1.strictParseInt32)(output["SnapshotRetentionLimit"]);
9615
9615
  }
9616
9616
  if (output["SnapshotWindow"] !== undefined) {
9617
- contents.SnapshotWindow = smithy_client_1.expectString(output["SnapshotWindow"]);
9617
+ contents.SnapshotWindow = (0, smithy_client_1.expectString)(output["SnapshotWindow"]);
9618
9618
  }
9619
9619
  if (output["NumNodeGroups"] !== undefined) {
9620
- contents.NumNodeGroups = smithy_client_1.strictParseInt32(output["NumNodeGroups"]);
9620
+ contents.NumNodeGroups = (0, smithy_client_1.strictParseInt32)(output["NumNodeGroups"]);
9621
9621
  }
9622
9622
  if (output["AutomaticFailover"] !== undefined) {
9623
- contents.AutomaticFailover = smithy_client_1.expectString(output["AutomaticFailover"]);
9623
+ contents.AutomaticFailover = (0, smithy_client_1.expectString)(output["AutomaticFailover"]);
9624
9624
  }
9625
9625
  if (output.NodeSnapshots === "") {
9626
9626
  contents.NodeSnapshots = [];
9627
9627
  }
9628
9628
  if (output["NodeSnapshots"] !== undefined && output["NodeSnapshots"]["NodeSnapshot"] !== undefined) {
9629
- contents.NodeSnapshots = deserializeAws_queryNodeSnapshotList(smithy_client_1.getArrayIfSingleItem(output["NodeSnapshots"]["NodeSnapshot"]), context);
9629
+ contents.NodeSnapshots = deserializeAws_queryNodeSnapshotList((0, smithy_client_1.getArrayIfSingleItem)(output["NodeSnapshots"]["NodeSnapshot"]), context);
9630
9630
  }
9631
9631
  if (output["KmsKeyId"] !== undefined) {
9632
- contents.KmsKeyId = smithy_client_1.expectString(output["KmsKeyId"]);
9632
+ contents.KmsKeyId = (0, smithy_client_1.expectString)(output["KmsKeyId"]);
9633
9633
  }
9634
9634
  if (output["ARN"] !== undefined) {
9635
- contents.ARN = smithy_client_1.expectString(output["ARN"]);
9635
+ contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
9636
9636
  }
9637
9637
  if (output["DataTiering"] !== undefined) {
9638
- contents.DataTiering = smithy_client_1.expectString(output["DataTiering"]);
9638
+ contents.DataTiering = (0, smithy_client_1.expectString)(output["DataTiering"]);
9639
9639
  }
9640
9640
  return contents;
9641
9641
  };
@@ -9644,7 +9644,7 @@ const deserializeAws_querySnapshotAlreadyExistsFault = (output, context) => {
9644
9644
  message: undefined,
9645
9645
  };
9646
9646
  if (output["message"] !== undefined) {
9647
- contents.message = smithy_client_1.expectString(output["message"]);
9647
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9648
9648
  }
9649
9649
  return contents;
9650
9650
  };
@@ -9653,7 +9653,7 @@ const deserializeAws_querySnapshotFeatureNotSupportedFault = (output, context) =
9653
9653
  message: undefined,
9654
9654
  };
9655
9655
  if (output["message"] !== undefined) {
9656
- contents.message = smithy_client_1.expectString(output["message"]);
9656
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9657
9657
  }
9658
9658
  return contents;
9659
9659
  };
@@ -9672,7 +9672,7 @@ const deserializeAws_querySnapshotNotFoundFault = (output, context) => {
9672
9672
  message: undefined,
9673
9673
  };
9674
9674
  if (output["message"] !== undefined) {
9675
- contents.message = smithy_client_1.expectString(output["message"]);
9675
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9676
9676
  }
9677
9677
  return contents;
9678
9678
  };
@@ -9681,7 +9681,7 @@ const deserializeAws_querySnapshotQuotaExceededFault = (output, context) => {
9681
9681
  message: undefined,
9682
9682
  };
9683
9683
  if (output["message"] !== undefined) {
9684
- contents.message = smithy_client_1.expectString(output["message"]);
9684
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9685
9685
  }
9686
9686
  return contents;
9687
9687
  };
@@ -9701,7 +9701,7 @@ const deserializeAws_querySubnet = (output, context) => {
9701
9701
  SubnetOutpost: undefined,
9702
9702
  };
9703
9703
  if (output["SubnetIdentifier"] !== undefined) {
9704
- contents.SubnetIdentifier = smithy_client_1.expectString(output["SubnetIdentifier"]);
9704
+ contents.SubnetIdentifier = (0, smithy_client_1.expectString)(output["SubnetIdentifier"]);
9705
9705
  }
9706
9706
  if (output["SubnetAvailabilityZone"] !== undefined) {
9707
9707
  contents.SubnetAvailabilityZone = deserializeAws_queryAvailabilityZone(output["SubnetAvailabilityZone"], context);
@@ -9716,7 +9716,7 @@ const deserializeAws_querySubnetInUse = (output, context) => {
9716
9716
  message: undefined,
9717
9717
  };
9718
9718
  if (output["message"] !== undefined) {
9719
- contents.message = smithy_client_1.expectString(output["message"]);
9719
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9720
9720
  }
9721
9721
  return contents;
9722
9722
  };
@@ -9735,7 +9735,7 @@ const deserializeAws_querySubnetNotAllowedFault = (output, context) => {
9735
9735
  message: undefined,
9736
9736
  };
9737
9737
  if (output["message"] !== undefined) {
9738
- contents.message = smithy_client_1.expectString(output["message"]);
9738
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9739
9739
  }
9740
9740
  return contents;
9741
9741
  };
@@ -9744,7 +9744,7 @@ const deserializeAws_querySubnetOutpost = (output, context) => {
9744
9744
  SubnetOutpostArn: undefined,
9745
9745
  };
9746
9746
  if (output["SubnetOutpostArn"] !== undefined) {
9747
- contents.SubnetOutpostArn = smithy_client_1.expectString(output["SubnetOutpostArn"]);
9747
+ contents.SubnetOutpostArn = (0, smithy_client_1.expectString)(output["SubnetOutpostArn"]);
9748
9748
  }
9749
9749
  return contents;
9750
9750
  };
@@ -9754,10 +9754,10 @@ const deserializeAws_queryTag = (output, context) => {
9754
9754
  Value: undefined,
9755
9755
  };
9756
9756
  if (output["Key"] !== undefined) {
9757
- contents.Key = smithy_client_1.expectString(output["Key"]);
9757
+ contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
9758
9758
  }
9759
9759
  if (output["Value"] !== undefined) {
9760
- contents.Value = smithy_client_1.expectString(output["Value"]);
9760
+ contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
9761
9761
  }
9762
9762
  return contents;
9763
9763
  };
@@ -9779,7 +9779,7 @@ const deserializeAws_queryTagListMessage = (output, context) => {
9779
9779
  contents.TagList = [];
9780
9780
  }
9781
9781
  if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
9782
- contents.TagList = deserializeAws_queryTagList(smithy_client_1.getArrayIfSingleItem(output["TagList"]["Tag"]), context);
9782
+ contents.TagList = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["TagList"]["Tag"]), context);
9783
9783
  }
9784
9784
  return contents;
9785
9785
  };
@@ -9788,7 +9788,7 @@ const deserializeAws_queryTagNotFoundFault = (output, context) => {
9788
9788
  message: undefined,
9789
9789
  };
9790
9790
  if (output["message"] !== undefined) {
9791
- contents.message = smithy_client_1.expectString(output["message"]);
9791
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9792
9792
  }
9793
9793
  return contents;
9794
9794
  };
@@ -9797,7 +9797,7 @@ const deserializeAws_queryTagQuotaPerResourceExceeded = (output, context) => {
9797
9797
  message: undefined,
9798
9798
  };
9799
9799
  if (output["message"] !== undefined) {
9800
- contents.message = smithy_client_1.expectString(output["message"]);
9800
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9801
9801
  }
9802
9802
  return contents;
9803
9803
  };
@@ -9806,7 +9806,7 @@ const deserializeAws_queryTestFailoverNotAvailableFault = (output, context) => {
9806
9806
  message: undefined,
9807
9807
  };
9808
9808
  if (output["message"] !== undefined) {
9809
- contents.message = smithy_client_1.expectString(output["message"]);
9809
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
9810
9810
  }
9811
9811
  return contents;
9812
9812
  };
@@ -9826,7 +9826,7 @@ const deserializeAws_queryUGReplicationGroupIdList = (output, context) => {
9826
9826
  if (entry === null) {
9827
9827
  return null;
9828
9828
  }
9829
- return smithy_client_1.expectString(entry);
9829
+ return (0, smithy_client_1.expectString)(entry);
9830
9830
  });
9831
9831
  };
9832
9832
  const deserializeAws_queryUnprocessedUpdateAction = (output, context) => {
@@ -9838,19 +9838,19 @@ const deserializeAws_queryUnprocessedUpdateAction = (output, context) => {
9838
9838
  ErrorMessage: undefined,
9839
9839
  };
9840
9840
  if (output["ReplicationGroupId"] !== undefined) {
9841
- contents.ReplicationGroupId = smithy_client_1.expectString(output["ReplicationGroupId"]);
9841
+ contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
9842
9842
  }
9843
9843
  if (output["CacheClusterId"] !== undefined) {
9844
- contents.CacheClusterId = smithy_client_1.expectString(output["CacheClusterId"]);
9844
+ contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
9845
9845
  }
9846
9846
  if (output["ServiceUpdateName"] !== undefined) {
9847
- contents.ServiceUpdateName = smithy_client_1.expectString(output["ServiceUpdateName"]);
9847
+ contents.ServiceUpdateName = (0, smithy_client_1.expectString)(output["ServiceUpdateName"]);
9848
9848
  }
9849
9849
  if (output["ErrorType"] !== undefined) {
9850
- contents.ErrorType = smithy_client_1.expectString(output["ErrorType"]);
9850
+ contents.ErrorType = (0, smithy_client_1.expectString)(output["ErrorType"]);
9851
9851
  }
9852
9852
  if (output["ErrorMessage"] !== undefined) {
9853
- contents.ErrorMessage = smithy_client_1.expectString(output["ErrorMessage"]);
9853
+ contents.ErrorMessage = (0, smithy_client_1.expectString)(output["ErrorMessage"]);
9854
9854
  }
9855
9855
  return contents;
9856
9856
  };
@@ -9885,63 +9885,63 @@ const deserializeAws_queryUpdateAction = (output, context) => {
9885
9885
  Engine: undefined,
9886
9886
  };
9887
9887
  if (output["ReplicationGroupId"] !== undefined) {
9888
- contents.ReplicationGroupId = smithy_client_1.expectString(output["ReplicationGroupId"]);
9888
+ contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
9889
9889
  }
9890
9890
  if (output["CacheClusterId"] !== undefined) {
9891
- contents.CacheClusterId = smithy_client_1.expectString(output["CacheClusterId"]);
9891
+ contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
9892
9892
  }
9893
9893
  if (output["ServiceUpdateName"] !== undefined) {
9894
- contents.ServiceUpdateName = smithy_client_1.expectString(output["ServiceUpdateName"]);
9894
+ contents.ServiceUpdateName = (0, smithy_client_1.expectString)(output["ServiceUpdateName"]);
9895
9895
  }
9896
9896
  if (output["ServiceUpdateReleaseDate"] !== undefined) {
9897
- contents.ServiceUpdateReleaseDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ServiceUpdateReleaseDate"]));
9897
+ contents.ServiceUpdateReleaseDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ServiceUpdateReleaseDate"]));
9898
9898
  }
9899
9899
  if (output["ServiceUpdateSeverity"] !== undefined) {
9900
- contents.ServiceUpdateSeverity = smithy_client_1.expectString(output["ServiceUpdateSeverity"]);
9900
+ contents.ServiceUpdateSeverity = (0, smithy_client_1.expectString)(output["ServiceUpdateSeverity"]);
9901
9901
  }
9902
9902
  if (output["ServiceUpdateStatus"] !== undefined) {
9903
- contents.ServiceUpdateStatus = smithy_client_1.expectString(output["ServiceUpdateStatus"]);
9903
+ contents.ServiceUpdateStatus = (0, smithy_client_1.expectString)(output["ServiceUpdateStatus"]);
9904
9904
  }
9905
9905
  if (output["ServiceUpdateRecommendedApplyByDate"] !== undefined) {
9906
- contents.ServiceUpdateRecommendedApplyByDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ServiceUpdateRecommendedApplyByDate"]));
9906
+ contents.ServiceUpdateRecommendedApplyByDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ServiceUpdateRecommendedApplyByDate"]));
9907
9907
  }
9908
9908
  if (output["ServiceUpdateType"] !== undefined) {
9909
- contents.ServiceUpdateType = smithy_client_1.expectString(output["ServiceUpdateType"]);
9909
+ contents.ServiceUpdateType = (0, smithy_client_1.expectString)(output["ServiceUpdateType"]);
9910
9910
  }
9911
9911
  if (output["UpdateActionAvailableDate"] !== undefined) {
9912
- contents.UpdateActionAvailableDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UpdateActionAvailableDate"]));
9912
+ contents.UpdateActionAvailableDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["UpdateActionAvailableDate"]));
9913
9913
  }
9914
9914
  if (output["UpdateActionStatus"] !== undefined) {
9915
- contents.UpdateActionStatus = smithy_client_1.expectString(output["UpdateActionStatus"]);
9915
+ contents.UpdateActionStatus = (0, smithy_client_1.expectString)(output["UpdateActionStatus"]);
9916
9916
  }
9917
9917
  if (output["NodesUpdated"] !== undefined) {
9918
- contents.NodesUpdated = smithy_client_1.expectString(output["NodesUpdated"]);
9918
+ contents.NodesUpdated = (0, smithy_client_1.expectString)(output["NodesUpdated"]);
9919
9919
  }
9920
9920
  if (output["UpdateActionStatusModifiedDate"] !== undefined) {
9921
- contents.UpdateActionStatusModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UpdateActionStatusModifiedDate"]));
9921
+ contents.UpdateActionStatusModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["UpdateActionStatusModifiedDate"]));
9922
9922
  }
9923
9923
  if (output["SlaMet"] !== undefined) {
9924
- contents.SlaMet = smithy_client_1.expectString(output["SlaMet"]);
9924
+ contents.SlaMet = (0, smithy_client_1.expectString)(output["SlaMet"]);
9925
9925
  }
9926
9926
  if (output.NodeGroupUpdateStatus === "") {
9927
9927
  contents.NodeGroupUpdateStatus = [];
9928
9928
  }
9929
9929
  if (output["NodeGroupUpdateStatus"] !== undefined &&
9930
9930
  output["NodeGroupUpdateStatus"]["NodeGroupUpdateStatus"] !== undefined) {
9931
- contents.NodeGroupUpdateStatus = deserializeAws_queryNodeGroupUpdateStatusList(smithy_client_1.getArrayIfSingleItem(output["NodeGroupUpdateStatus"]["NodeGroupUpdateStatus"]), context);
9931
+ contents.NodeGroupUpdateStatus = deserializeAws_queryNodeGroupUpdateStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["NodeGroupUpdateStatus"]["NodeGroupUpdateStatus"]), context);
9932
9932
  }
9933
9933
  if (output.CacheNodeUpdateStatus === "") {
9934
9934
  contents.CacheNodeUpdateStatus = [];
9935
9935
  }
9936
9936
  if (output["CacheNodeUpdateStatus"] !== undefined &&
9937
9937
  output["CacheNodeUpdateStatus"]["CacheNodeUpdateStatus"] !== undefined) {
9938
- contents.CacheNodeUpdateStatus = deserializeAws_queryCacheNodeUpdateStatusList(smithy_client_1.getArrayIfSingleItem(output["CacheNodeUpdateStatus"]["CacheNodeUpdateStatus"]), context);
9938
+ contents.CacheNodeUpdateStatus = deserializeAws_queryCacheNodeUpdateStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheNodeUpdateStatus"]["CacheNodeUpdateStatus"]), context);
9939
9939
  }
9940
9940
  if (output["EstimatedUpdateTime"] !== undefined) {
9941
- contents.EstimatedUpdateTime = smithy_client_1.expectString(output["EstimatedUpdateTime"]);
9941
+ contents.EstimatedUpdateTime = (0, smithy_client_1.expectString)(output["EstimatedUpdateTime"]);
9942
9942
  }
9943
9943
  if (output["Engine"] !== undefined) {
9944
- contents.Engine = smithy_client_1.expectString(output["Engine"]);
9944
+ contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
9945
9945
  }
9946
9946
  return contents;
9947
9947
  };
@@ -9965,14 +9965,14 @@ const deserializeAws_queryUpdateActionResultsMessage = (output, context) => {
9965
9965
  }
9966
9966
  if (output["ProcessedUpdateActions"] !== undefined &&
9967
9967
  output["ProcessedUpdateActions"]["ProcessedUpdateAction"] !== undefined) {
9968
- contents.ProcessedUpdateActions = deserializeAws_queryProcessedUpdateActionList(smithy_client_1.getArrayIfSingleItem(output["ProcessedUpdateActions"]["ProcessedUpdateAction"]), context);
9968
+ contents.ProcessedUpdateActions = deserializeAws_queryProcessedUpdateActionList((0, smithy_client_1.getArrayIfSingleItem)(output["ProcessedUpdateActions"]["ProcessedUpdateAction"]), context);
9969
9969
  }
9970
9970
  if (output.UnprocessedUpdateActions === "") {
9971
9971
  contents.UnprocessedUpdateActions = [];
9972
9972
  }
9973
9973
  if (output["UnprocessedUpdateActions"] !== undefined &&
9974
9974
  output["UnprocessedUpdateActions"]["UnprocessedUpdateAction"] !== undefined) {
9975
- contents.UnprocessedUpdateActions = deserializeAws_queryUnprocessedUpdateActionList(smithy_client_1.getArrayIfSingleItem(output["UnprocessedUpdateActions"]["UnprocessedUpdateAction"]), context);
9975
+ contents.UnprocessedUpdateActions = deserializeAws_queryUnprocessedUpdateActionList((0, smithy_client_1.getArrayIfSingleItem)(output["UnprocessedUpdateActions"]["UnprocessedUpdateAction"]), context);
9976
9976
  }
9977
9977
  return contents;
9978
9978
  };
@@ -9982,13 +9982,13 @@ const deserializeAws_queryUpdateActionsMessage = (output, context) => {
9982
9982
  UpdateActions: undefined,
9983
9983
  };
9984
9984
  if (output["Marker"] !== undefined) {
9985
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
9985
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
9986
9986
  }
9987
9987
  if (output.UpdateActions === "") {
9988
9988
  contents.UpdateActions = [];
9989
9989
  }
9990
9990
  if (output["UpdateActions"] !== undefined && output["UpdateActions"]["UpdateAction"] !== undefined) {
9991
- contents.UpdateActions = deserializeAws_queryUpdateActionList(smithy_client_1.getArrayIfSingleItem(output["UpdateActions"]["UpdateAction"]), context);
9991
+ contents.UpdateActions = deserializeAws_queryUpdateActionList((0, smithy_client_1.getArrayIfSingleItem)(output["UpdateActions"]["UpdateAction"]), context);
9992
9992
  }
9993
9993
  return contents;
9994
9994
  };
@@ -10005,34 +10005,34 @@ const deserializeAws_queryUser = (output, context) => {
10005
10005
  ARN: undefined,
10006
10006
  };
10007
10007
  if (output["UserId"] !== undefined) {
10008
- contents.UserId = smithy_client_1.expectString(output["UserId"]);
10008
+ contents.UserId = (0, smithy_client_1.expectString)(output["UserId"]);
10009
10009
  }
10010
10010
  if (output["UserName"] !== undefined) {
10011
- contents.UserName = smithy_client_1.expectString(output["UserName"]);
10011
+ contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
10012
10012
  }
10013
10013
  if (output["Status"] !== undefined) {
10014
- contents.Status = smithy_client_1.expectString(output["Status"]);
10014
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
10015
10015
  }
10016
10016
  if (output["Engine"] !== undefined) {
10017
- contents.Engine = smithy_client_1.expectString(output["Engine"]);
10017
+ contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
10018
10018
  }
10019
10019
  if (output["MinimumEngineVersion"] !== undefined) {
10020
- contents.MinimumEngineVersion = smithy_client_1.expectString(output["MinimumEngineVersion"]);
10020
+ contents.MinimumEngineVersion = (0, smithy_client_1.expectString)(output["MinimumEngineVersion"]);
10021
10021
  }
10022
10022
  if (output["AccessString"] !== undefined) {
10023
- contents.AccessString = smithy_client_1.expectString(output["AccessString"]);
10023
+ contents.AccessString = (0, smithy_client_1.expectString)(output["AccessString"]);
10024
10024
  }
10025
10025
  if (output.UserGroupIds === "") {
10026
10026
  contents.UserGroupIds = [];
10027
10027
  }
10028
10028
  if (output["UserGroupIds"] !== undefined && output["UserGroupIds"]["member"] !== undefined) {
10029
- contents.UserGroupIds = deserializeAws_queryUserGroupIdList(smithy_client_1.getArrayIfSingleItem(output["UserGroupIds"]["member"]), context);
10029
+ contents.UserGroupIds = deserializeAws_queryUserGroupIdList((0, smithy_client_1.getArrayIfSingleItem)(output["UserGroupIds"]["member"]), context);
10030
10030
  }
10031
10031
  if (output["Authentication"] !== undefined) {
10032
10032
  contents.Authentication = deserializeAws_queryAuthentication(output["Authentication"], context);
10033
10033
  }
10034
10034
  if (output["ARN"] !== undefined) {
10035
- contents.ARN = smithy_client_1.expectString(output["ARN"]);
10035
+ contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
10036
10036
  }
10037
10037
  return contents;
10038
10038
  };
@@ -10041,7 +10041,7 @@ const deserializeAws_queryUserAlreadyExistsFault = (output, context) => {
10041
10041
  message: undefined,
10042
10042
  };
10043
10043
  if (output["message"] !== undefined) {
10044
- contents.message = smithy_client_1.expectString(output["message"]);
10044
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
10045
10045
  }
10046
10046
  return contents;
10047
10047
  };
@@ -10057,22 +10057,22 @@ const deserializeAws_queryUserGroup = (output, context) => {
10057
10057
  ARN: undefined,
10058
10058
  };
10059
10059
  if (output["UserGroupId"] !== undefined) {
10060
- contents.UserGroupId = smithy_client_1.expectString(output["UserGroupId"]);
10060
+ contents.UserGroupId = (0, smithy_client_1.expectString)(output["UserGroupId"]);
10061
10061
  }
10062
10062
  if (output["Status"] !== undefined) {
10063
- contents.Status = smithy_client_1.expectString(output["Status"]);
10063
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
10064
10064
  }
10065
10065
  if (output["Engine"] !== undefined) {
10066
- contents.Engine = smithy_client_1.expectString(output["Engine"]);
10066
+ contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
10067
10067
  }
10068
10068
  if (output.UserIds === "") {
10069
10069
  contents.UserIds = [];
10070
10070
  }
10071
10071
  if (output["UserIds"] !== undefined && output["UserIds"]["member"] !== undefined) {
10072
- contents.UserIds = deserializeAws_queryUserIdList(smithy_client_1.getArrayIfSingleItem(output["UserIds"]["member"]), context);
10072
+ contents.UserIds = deserializeAws_queryUserIdList((0, smithy_client_1.getArrayIfSingleItem)(output["UserIds"]["member"]), context);
10073
10073
  }
10074
10074
  if (output["MinimumEngineVersion"] !== undefined) {
10075
- contents.MinimumEngineVersion = smithy_client_1.expectString(output["MinimumEngineVersion"]);
10075
+ contents.MinimumEngineVersion = (0, smithy_client_1.expectString)(output["MinimumEngineVersion"]);
10076
10076
  }
10077
10077
  if (output["PendingChanges"] !== undefined) {
10078
10078
  contents.PendingChanges = deserializeAws_queryUserGroupPendingChanges(output["PendingChanges"], context);
@@ -10081,10 +10081,10 @@ const deserializeAws_queryUserGroup = (output, context) => {
10081
10081
  contents.ReplicationGroups = [];
10082
10082
  }
10083
10083
  if (output["ReplicationGroups"] !== undefined && output["ReplicationGroups"]["member"] !== undefined) {
10084
- contents.ReplicationGroups = deserializeAws_queryUGReplicationGroupIdList(smithy_client_1.getArrayIfSingleItem(output["ReplicationGroups"]["member"]), context);
10084
+ contents.ReplicationGroups = deserializeAws_queryUGReplicationGroupIdList((0, smithy_client_1.getArrayIfSingleItem)(output["ReplicationGroups"]["member"]), context);
10085
10085
  }
10086
10086
  if (output["ARN"] !== undefined) {
10087
- contents.ARN = smithy_client_1.expectString(output["ARN"]);
10087
+ contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
10088
10088
  }
10089
10089
  return contents;
10090
10090
  };
@@ -10093,7 +10093,7 @@ const deserializeAws_queryUserGroupAlreadyExistsFault = (output, context) => {
10093
10093
  message: undefined,
10094
10094
  };
10095
10095
  if (output["message"] !== undefined) {
10096
- contents.message = smithy_client_1.expectString(output["message"]);
10096
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
10097
10097
  }
10098
10098
  return contents;
10099
10099
  };
@@ -10104,7 +10104,7 @@ const deserializeAws_queryUserGroupIdList = (output, context) => {
10104
10104
  if (entry === null) {
10105
10105
  return null;
10106
10106
  }
10107
- return smithy_client_1.expectString(entry);
10107
+ return (0, smithy_client_1.expectString)(entry);
10108
10108
  });
10109
10109
  };
10110
10110
  const deserializeAws_queryUserGroupList = (output, context) => {
@@ -10122,7 +10122,7 @@ const deserializeAws_queryUserGroupNotFoundFault = (output, context) => {
10122
10122
  message: undefined,
10123
10123
  };
10124
10124
  if (output["message"] !== undefined) {
10125
- contents.message = smithy_client_1.expectString(output["message"]);
10125
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
10126
10126
  }
10127
10127
  return contents;
10128
10128
  };
@@ -10135,13 +10135,13 @@ const deserializeAws_queryUserGroupPendingChanges = (output, context) => {
10135
10135
  contents.UserIdsToRemove = [];
10136
10136
  }
10137
10137
  if (output["UserIdsToRemove"] !== undefined && output["UserIdsToRemove"]["member"] !== undefined) {
10138
- contents.UserIdsToRemove = deserializeAws_queryUserIdList(smithy_client_1.getArrayIfSingleItem(output["UserIdsToRemove"]["member"]), context);
10138
+ contents.UserIdsToRemove = deserializeAws_queryUserIdList((0, smithy_client_1.getArrayIfSingleItem)(output["UserIdsToRemove"]["member"]), context);
10139
10139
  }
10140
10140
  if (output.UserIdsToAdd === "") {
10141
10141
  contents.UserIdsToAdd = [];
10142
10142
  }
10143
10143
  if (output["UserIdsToAdd"] !== undefined && output["UserIdsToAdd"]["member"] !== undefined) {
10144
- contents.UserIdsToAdd = deserializeAws_queryUserIdList(smithy_client_1.getArrayIfSingleItem(output["UserIdsToAdd"]["member"]), context);
10144
+ contents.UserIdsToAdd = deserializeAws_queryUserIdList((0, smithy_client_1.getArrayIfSingleItem)(output["UserIdsToAdd"]["member"]), context);
10145
10145
  }
10146
10146
  return contents;
10147
10147
  };
@@ -10150,7 +10150,7 @@ const deserializeAws_queryUserGroupQuotaExceededFault = (output, context) => {
10150
10150
  message: undefined,
10151
10151
  };
10152
10152
  if (output["message"] !== undefined) {
10153
- contents.message = smithy_client_1.expectString(output["message"]);
10153
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
10154
10154
  }
10155
10155
  return contents;
10156
10156
  };
@@ -10163,13 +10163,13 @@ const deserializeAws_queryUserGroupsUpdateStatus = (output, context) => {
10163
10163
  contents.UserGroupIdsToAdd = [];
10164
10164
  }
10165
10165
  if (output["UserGroupIdsToAdd"] !== undefined && output["UserGroupIdsToAdd"]["member"] !== undefined) {
10166
- contents.UserGroupIdsToAdd = deserializeAws_queryUserGroupIdList(smithy_client_1.getArrayIfSingleItem(output["UserGroupIdsToAdd"]["member"]), context);
10166
+ contents.UserGroupIdsToAdd = deserializeAws_queryUserGroupIdList((0, smithy_client_1.getArrayIfSingleItem)(output["UserGroupIdsToAdd"]["member"]), context);
10167
10167
  }
10168
10168
  if (output.UserGroupIdsToRemove === "") {
10169
10169
  contents.UserGroupIdsToRemove = [];
10170
10170
  }
10171
10171
  if (output["UserGroupIdsToRemove"] !== undefined && output["UserGroupIdsToRemove"]["member"] !== undefined) {
10172
- contents.UserGroupIdsToRemove = deserializeAws_queryUserGroupIdList(smithy_client_1.getArrayIfSingleItem(output["UserGroupIdsToRemove"]["member"]), context);
10172
+ contents.UserGroupIdsToRemove = deserializeAws_queryUserGroupIdList((0, smithy_client_1.getArrayIfSingleItem)(output["UserGroupIdsToRemove"]["member"]), context);
10173
10173
  }
10174
10174
  return contents;
10175
10175
  };
@@ -10180,7 +10180,7 @@ const deserializeAws_queryUserIdList = (output, context) => {
10180
10180
  if (entry === null) {
10181
10181
  return null;
10182
10182
  }
10183
- return smithy_client_1.expectString(entry);
10183
+ return (0, smithy_client_1.expectString)(entry);
10184
10184
  });
10185
10185
  };
10186
10186
  const deserializeAws_queryUserList = (output, context) => {
@@ -10198,7 +10198,7 @@ const deserializeAws_queryUserNotFoundFault = (output, context) => {
10198
10198
  message: undefined,
10199
10199
  };
10200
10200
  if (output["message"] !== undefined) {
10201
- contents.message = smithy_client_1.expectString(output["message"]);
10201
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
10202
10202
  }
10203
10203
  return contents;
10204
10204
  };
@@ -10207,7 +10207,7 @@ const deserializeAws_queryUserQuotaExceededFault = (output, context) => {
10207
10207
  message: undefined,
10208
10208
  };
10209
10209
  if (output["message"] !== undefined) {
10210
- contents.message = smithy_client_1.expectString(output["message"]);
10210
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
10211
10211
  }
10212
10212
  return contents;
10213
10213
  };
@@ -10247,12 +10247,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
10247
10247
  };
10248
10248
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
10249
10249
  if (encoded.length) {
10250
- const parsedObj = fast_xml_parser_1.parse(encoded, {
10250
+ const parsedObj = (0, fast_xml_parser_1.parse)(encoded, {
10251
10251
  attributeNamePrefix: "",
10252
10252
  ignoreAttributes: false,
10253
10253
  parseNodeValue: false,
10254
10254
  trimValues: false,
10255
- tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
10255
+ tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : (0, entities_1.decodeHTML)(val)),
10256
10256
  });
10257
10257
  const textNodeName = "#text";
10258
10258
  const key = Object.keys(parsedObj)[0];
@@ -10261,12 +10261,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
10261
10261
  parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
10262
10262
  delete parsedObjToReturn[textNodeName];
10263
10263
  }
10264
- return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
10264
+ return (0, smithy_client_1.getValueFromTextNode)(parsedObjToReturn);
10265
10265
  }
10266
10266
  return {};
10267
10267
  });
10268
10268
  const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
10269
- .map(([key, value]) => smithy_client_1.extendedEncodeURIComponent(key) + "=" + smithy_client_1.extendedEncodeURIComponent(value))
10269
+ .map(([key, value]) => (0, smithy_client_1.extendedEncodeURIComponent)(key) + "=" + (0, smithy_client_1.extendedEncodeURIComponent)(value))
10270
10270
  .join("&");
10271
10271
  const loadQueryErrorCode = (output, data) => {
10272
10272
  if (data.Error.Code !== undefined) {