@aws-sdk/client-elasticache 3.31.0 → 3.32.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 (201) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/ElastiCacheClient.js +13 -13
  3. package/dist/cjs/ElastiCacheClient.js.map +1 -1
  4. package/dist/cjs/commands/AddTagsToResourceCommand.js +3 -3
  5. package/dist/cjs/commands/AddTagsToResourceCommand.js.map +1 -1
  6. package/dist/cjs/commands/AuthorizeCacheSecurityGroupIngressCommand.js +3 -3
  7. package/dist/cjs/commands/AuthorizeCacheSecurityGroupIngressCommand.js.map +1 -1
  8. package/dist/cjs/commands/BatchApplyUpdateActionCommand.js +3 -3
  9. package/dist/cjs/commands/BatchApplyUpdateActionCommand.js.map +1 -1
  10. package/dist/cjs/commands/BatchStopUpdateActionCommand.js +3 -3
  11. package/dist/cjs/commands/BatchStopUpdateActionCommand.js.map +1 -1
  12. package/dist/cjs/commands/CompleteMigrationCommand.js +3 -3
  13. package/dist/cjs/commands/CompleteMigrationCommand.js.map +1 -1
  14. package/dist/cjs/commands/CopySnapshotCommand.js +3 -3
  15. package/dist/cjs/commands/CopySnapshotCommand.js.map +1 -1
  16. package/dist/cjs/commands/CreateCacheClusterCommand.js +3 -3
  17. package/dist/cjs/commands/CreateCacheClusterCommand.js.map +1 -1
  18. package/dist/cjs/commands/CreateCacheParameterGroupCommand.js +3 -3
  19. package/dist/cjs/commands/CreateCacheParameterGroupCommand.js.map +1 -1
  20. package/dist/cjs/commands/CreateCacheSecurityGroupCommand.js +3 -3
  21. package/dist/cjs/commands/CreateCacheSecurityGroupCommand.js.map +1 -1
  22. package/dist/cjs/commands/CreateCacheSubnetGroupCommand.js +3 -3
  23. package/dist/cjs/commands/CreateCacheSubnetGroupCommand.js.map +1 -1
  24. package/dist/cjs/commands/CreateGlobalReplicationGroupCommand.js +3 -3
  25. package/dist/cjs/commands/CreateGlobalReplicationGroupCommand.js.map +1 -1
  26. package/dist/cjs/commands/CreateReplicationGroupCommand.js +3 -3
  27. package/dist/cjs/commands/CreateReplicationGroupCommand.js.map +1 -1
  28. package/dist/cjs/commands/CreateSnapshotCommand.js +3 -3
  29. package/dist/cjs/commands/CreateSnapshotCommand.js.map +1 -1
  30. package/dist/cjs/commands/CreateUserCommand.js +3 -3
  31. package/dist/cjs/commands/CreateUserCommand.js.map +1 -1
  32. package/dist/cjs/commands/CreateUserGroupCommand.js +3 -3
  33. package/dist/cjs/commands/CreateUserGroupCommand.js.map +1 -1
  34. package/dist/cjs/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js +3 -3
  35. package/dist/cjs/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js.map +1 -1
  36. package/dist/cjs/commands/DecreaseReplicaCountCommand.js +3 -3
  37. package/dist/cjs/commands/DecreaseReplicaCountCommand.js.map +1 -1
  38. package/dist/cjs/commands/DeleteCacheClusterCommand.js +3 -3
  39. package/dist/cjs/commands/DeleteCacheClusterCommand.js.map +1 -1
  40. package/dist/cjs/commands/DeleteCacheParameterGroupCommand.js +3 -3
  41. package/dist/cjs/commands/DeleteCacheParameterGroupCommand.js.map +1 -1
  42. package/dist/cjs/commands/DeleteCacheSecurityGroupCommand.js +3 -3
  43. package/dist/cjs/commands/DeleteCacheSecurityGroupCommand.js.map +1 -1
  44. package/dist/cjs/commands/DeleteCacheSubnetGroupCommand.js +3 -3
  45. package/dist/cjs/commands/DeleteCacheSubnetGroupCommand.js.map +1 -1
  46. package/dist/cjs/commands/DeleteGlobalReplicationGroupCommand.js +3 -3
  47. package/dist/cjs/commands/DeleteGlobalReplicationGroupCommand.js.map +1 -1
  48. package/dist/cjs/commands/DeleteReplicationGroupCommand.js +3 -3
  49. package/dist/cjs/commands/DeleteReplicationGroupCommand.js.map +1 -1
  50. package/dist/cjs/commands/DeleteSnapshotCommand.js +3 -3
  51. package/dist/cjs/commands/DeleteSnapshotCommand.js.map +1 -1
  52. package/dist/cjs/commands/DeleteUserCommand.js +3 -3
  53. package/dist/cjs/commands/DeleteUserCommand.js.map +1 -1
  54. package/dist/cjs/commands/DeleteUserGroupCommand.js +3 -3
  55. package/dist/cjs/commands/DeleteUserGroupCommand.js.map +1 -1
  56. package/dist/cjs/commands/DescribeCacheClustersCommand.js +3 -3
  57. package/dist/cjs/commands/DescribeCacheClustersCommand.js.map +1 -1
  58. package/dist/cjs/commands/DescribeCacheEngineVersionsCommand.js +3 -3
  59. package/dist/cjs/commands/DescribeCacheEngineVersionsCommand.js.map +1 -1
  60. package/dist/cjs/commands/DescribeCacheParameterGroupsCommand.js +3 -3
  61. package/dist/cjs/commands/DescribeCacheParameterGroupsCommand.js.map +1 -1
  62. package/dist/cjs/commands/DescribeCacheParametersCommand.js +3 -3
  63. package/dist/cjs/commands/DescribeCacheParametersCommand.js.map +1 -1
  64. package/dist/cjs/commands/DescribeCacheSecurityGroupsCommand.js +3 -3
  65. package/dist/cjs/commands/DescribeCacheSecurityGroupsCommand.js.map +1 -1
  66. package/dist/cjs/commands/DescribeCacheSubnetGroupsCommand.js +3 -3
  67. package/dist/cjs/commands/DescribeCacheSubnetGroupsCommand.js.map +1 -1
  68. package/dist/cjs/commands/DescribeEngineDefaultParametersCommand.js +3 -3
  69. package/dist/cjs/commands/DescribeEngineDefaultParametersCommand.js.map +1 -1
  70. package/dist/cjs/commands/DescribeEventsCommand.js +3 -3
  71. package/dist/cjs/commands/DescribeEventsCommand.js.map +1 -1
  72. package/dist/cjs/commands/DescribeGlobalReplicationGroupsCommand.js +3 -3
  73. package/dist/cjs/commands/DescribeGlobalReplicationGroupsCommand.js.map +1 -1
  74. package/dist/cjs/commands/DescribeReplicationGroupsCommand.js +3 -3
  75. package/dist/cjs/commands/DescribeReplicationGroupsCommand.js.map +1 -1
  76. package/dist/cjs/commands/DescribeReservedCacheNodesCommand.js +3 -3
  77. package/dist/cjs/commands/DescribeReservedCacheNodesCommand.js.map +1 -1
  78. package/dist/cjs/commands/DescribeReservedCacheNodesOfferingsCommand.js +3 -3
  79. package/dist/cjs/commands/DescribeReservedCacheNodesOfferingsCommand.js.map +1 -1
  80. package/dist/cjs/commands/DescribeServiceUpdatesCommand.js +3 -3
  81. package/dist/cjs/commands/DescribeServiceUpdatesCommand.js.map +1 -1
  82. package/dist/cjs/commands/DescribeSnapshotsCommand.js +3 -3
  83. package/dist/cjs/commands/DescribeSnapshotsCommand.js.map +1 -1
  84. package/dist/cjs/commands/DescribeUpdateActionsCommand.js +3 -3
  85. package/dist/cjs/commands/DescribeUpdateActionsCommand.js.map +1 -1
  86. package/dist/cjs/commands/DescribeUserGroupsCommand.js +3 -3
  87. package/dist/cjs/commands/DescribeUserGroupsCommand.js.map +1 -1
  88. package/dist/cjs/commands/DescribeUsersCommand.js +3 -3
  89. package/dist/cjs/commands/DescribeUsersCommand.js.map +1 -1
  90. package/dist/cjs/commands/DisassociateGlobalReplicationGroupCommand.js +3 -3
  91. package/dist/cjs/commands/DisassociateGlobalReplicationGroupCommand.js.map +1 -1
  92. package/dist/cjs/commands/FailoverGlobalReplicationGroupCommand.js +3 -3
  93. package/dist/cjs/commands/FailoverGlobalReplicationGroupCommand.js.map +1 -1
  94. package/dist/cjs/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js +3 -3
  95. package/dist/cjs/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js.map +1 -1
  96. package/dist/cjs/commands/IncreaseReplicaCountCommand.js +3 -3
  97. package/dist/cjs/commands/IncreaseReplicaCountCommand.js.map +1 -1
  98. package/dist/cjs/commands/ListAllowedNodeTypeModificationsCommand.js +3 -3
  99. package/dist/cjs/commands/ListAllowedNodeTypeModificationsCommand.js.map +1 -1
  100. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  101. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  102. package/dist/cjs/commands/ModifyCacheClusterCommand.js +3 -3
  103. package/dist/cjs/commands/ModifyCacheClusterCommand.js.map +1 -1
  104. package/dist/cjs/commands/ModifyCacheParameterGroupCommand.js +3 -3
  105. package/dist/cjs/commands/ModifyCacheParameterGroupCommand.js.map +1 -1
  106. package/dist/cjs/commands/ModifyCacheSubnetGroupCommand.js +3 -3
  107. package/dist/cjs/commands/ModifyCacheSubnetGroupCommand.js.map +1 -1
  108. package/dist/cjs/commands/ModifyGlobalReplicationGroupCommand.js +3 -3
  109. package/dist/cjs/commands/ModifyGlobalReplicationGroupCommand.js.map +1 -1
  110. package/dist/cjs/commands/ModifyReplicationGroupCommand.js +3 -3
  111. package/dist/cjs/commands/ModifyReplicationGroupCommand.js.map +1 -1
  112. package/dist/cjs/commands/ModifyReplicationGroupShardConfigurationCommand.js +3 -3
  113. package/dist/cjs/commands/ModifyReplicationGroupShardConfigurationCommand.js.map +1 -1
  114. package/dist/cjs/commands/ModifyUserCommand.js +3 -3
  115. package/dist/cjs/commands/ModifyUserCommand.js.map +1 -1
  116. package/dist/cjs/commands/ModifyUserGroupCommand.js +3 -3
  117. package/dist/cjs/commands/ModifyUserGroupCommand.js.map +1 -1
  118. package/dist/cjs/commands/PurchaseReservedCacheNodesOfferingCommand.js +3 -3
  119. package/dist/cjs/commands/PurchaseReservedCacheNodesOfferingCommand.js.map +1 -1
  120. package/dist/cjs/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js +3 -3
  121. package/dist/cjs/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js.map +1 -1
  122. package/dist/cjs/commands/RebootCacheClusterCommand.js +3 -3
  123. package/dist/cjs/commands/RebootCacheClusterCommand.js.map +1 -1
  124. package/dist/cjs/commands/RemoveTagsFromResourceCommand.js +3 -3
  125. package/dist/cjs/commands/RemoveTagsFromResourceCommand.js.map +1 -1
  126. package/dist/cjs/commands/ResetCacheParameterGroupCommand.js +3 -3
  127. package/dist/cjs/commands/ResetCacheParameterGroupCommand.js.map +1 -1
  128. package/dist/cjs/commands/RevokeCacheSecurityGroupIngressCommand.js +3 -3
  129. package/dist/cjs/commands/RevokeCacheSecurityGroupIngressCommand.js.map +1 -1
  130. package/dist/cjs/commands/StartMigrationCommand.js +3 -3
  131. package/dist/cjs/commands/StartMigrationCommand.js.map +1 -1
  132. package/dist/cjs/commands/TestFailoverCommand.js +3 -3
  133. package/dist/cjs/commands/TestFailoverCommand.js.map +1 -1
  134. package/dist/cjs/endpoints.js +1 -1
  135. package/dist/cjs/endpoints.js.map +1 -1
  136. package/dist/cjs/index.js +90 -90
  137. package/dist/cjs/index.js.map +1 -1
  138. package/dist/cjs/models/index.js +1 -1
  139. package/dist/cjs/models/index.js.map +1 -1
  140. package/dist/cjs/package.json +32 -32
  141. package/dist/cjs/protocols/Aws_query.js +432 -432
  142. package/dist/cjs/protocols/Aws_query.js.map +1 -1
  143. package/dist/cjs/runtimeConfig.browser.js +4 -4
  144. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  145. package/dist/cjs/runtimeConfig.js +8 -8
  146. package/dist/cjs/runtimeConfig.js.map +1 -1
  147. package/dist/cjs/runtimeConfig.native.js +1 -1
  148. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  149. package/dist/cjs/waiters/waitForCacheClusterAvailable.js +3 -3
  150. package/dist/cjs/waiters/waitForCacheClusterAvailable.js.map +1 -1
  151. package/dist/cjs/waiters/waitForCacheClusterDeleted.js +3 -3
  152. package/dist/cjs/waiters/waitForCacheClusterDeleted.js.map +1 -1
  153. package/dist/cjs/waiters/waitForReplicationGroupAvailable.js +3 -3
  154. package/dist/cjs/waiters/waitForReplicationGroupAvailable.js.map +1 -1
  155. package/dist/cjs/waiters/waitForReplicationGroupDeleted.js +3 -3
  156. package/dist/cjs/waiters/waitForReplicationGroupDeleted.js.map +1 -1
  157. package/dist/es/package.json +32 -32
  158. package/dist/es/pagination/DescribeCacheClustersPaginator.js +4 -4
  159. package/dist/es/pagination/DescribeCacheClustersPaginator.js.map +1 -1
  160. package/dist/es/pagination/DescribeCacheEngineVersionsPaginator.js +4 -4
  161. package/dist/es/pagination/DescribeCacheEngineVersionsPaginator.js.map +1 -1
  162. package/dist/es/pagination/DescribeCacheParameterGroupsPaginator.js +4 -4
  163. package/dist/es/pagination/DescribeCacheParameterGroupsPaginator.js.map +1 -1
  164. package/dist/es/pagination/DescribeCacheParametersPaginator.js +4 -4
  165. package/dist/es/pagination/DescribeCacheParametersPaginator.js.map +1 -1
  166. package/dist/es/pagination/DescribeCacheSecurityGroupsPaginator.js +4 -4
  167. package/dist/es/pagination/DescribeCacheSecurityGroupsPaginator.js.map +1 -1
  168. package/dist/es/pagination/DescribeCacheSubnetGroupsPaginator.js +4 -4
  169. package/dist/es/pagination/DescribeCacheSubnetGroupsPaginator.js.map +1 -1
  170. package/dist/es/pagination/DescribeEngineDefaultParametersPaginator.js +4 -4
  171. package/dist/es/pagination/DescribeEngineDefaultParametersPaginator.js.map +1 -1
  172. package/dist/es/pagination/DescribeEventsPaginator.js +4 -4
  173. package/dist/es/pagination/DescribeEventsPaginator.js.map +1 -1
  174. package/dist/es/pagination/DescribeGlobalReplicationGroupsPaginator.js +4 -4
  175. package/dist/es/pagination/DescribeGlobalReplicationGroupsPaginator.js.map +1 -1
  176. package/dist/es/pagination/DescribeReplicationGroupsPaginator.js +4 -4
  177. package/dist/es/pagination/DescribeReplicationGroupsPaginator.js.map +1 -1
  178. package/dist/es/pagination/DescribeReservedCacheNodesOfferingsPaginator.js +4 -4
  179. package/dist/es/pagination/DescribeReservedCacheNodesOfferingsPaginator.js.map +1 -1
  180. package/dist/es/pagination/DescribeReservedCacheNodesPaginator.js +4 -4
  181. package/dist/es/pagination/DescribeReservedCacheNodesPaginator.js.map +1 -1
  182. package/dist/es/pagination/DescribeServiceUpdatesPaginator.js +4 -4
  183. package/dist/es/pagination/DescribeServiceUpdatesPaginator.js.map +1 -1
  184. package/dist/es/pagination/DescribeSnapshotsPaginator.js +4 -4
  185. package/dist/es/pagination/DescribeSnapshotsPaginator.js.map +1 -1
  186. package/dist/es/pagination/DescribeUpdateActionsPaginator.js +4 -4
  187. package/dist/es/pagination/DescribeUpdateActionsPaginator.js.map +1 -1
  188. package/dist/es/pagination/DescribeUserGroupsPaginator.js +4 -4
  189. package/dist/es/pagination/DescribeUserGroupsPaginator.js.map +1 -1
  190. package/dist/es/pagination/DescribeUsersPaginator.js +4 -4
  191. package/dist/es/pagination/DescribeUsersPaginator.js.map +1 -1
  192. package/dist/es/waiters/waitForCacheClusterAvailable.js +5 -5
  193. package/dist/es/waiters/waitForCacheClusterAvailable.js.map +1 -1
  194. package/dist/es/waiters/waitForCacheClusterDeleted.js +7 -7
  195. package/dist/es/waiters/waitForCacheClusterDeleted.js.map +1 -1
  196. package/dist/es/waiters/waitForReplicationGroupAvailable.js +2 -2
  197. package/dist/es/waiters/waitForReplicationGroupAvailable.js.map +1 -1
  198. package/dist/es/waiters/waitForReplicationGroupDeleted.js +2 -2
  199. package/dist/es/waiters/waitForReplicationGroupDeleted.js.map +1 -1
  200. package/package.json +32 -32
  201. package/tsconfig.json +1 -2
@@ -9029,13 +9029,13 @@ const deserializeAws_queryAllowedNodeTypeModificationsMessage = (output, context
9029
9029
  contents.ScaleUpModifications = [];
9030
9030
  }
9031
9031
  if (output["ScaleUpModifications"] !== undefined && output["ScaleUpModifications"]["member"] !== undefined) {
9032
- contents.ScaleUpModifications = deserializeAws_queryNodeTypeList((0, smithy_client_1.getArrayIfSingleItem)(output["ScaleUpModifications"]["member"]), context);
9032
+ contents.ScaleUpModifications = deserializeAws_queryNodeTypeList(smithy_client_1.getArrayIfSingleItem(output["ScaleUpModifications"]["member"]), context);
9033
9033
  }
9034
9034
  if (output.ScaleDownModifications === "") {
9035
9035
  contents.ScaleDownModifications = [];
9036
9036
  }
9037
9037
  if (output["ScaleDownModifications"] !== undefined && output["ScaleDownModifications"]["member"] !== undefined) {
9038
- contents.ScaleDownModifications = deserializeAws_queryNodeTypeList((0, smithy_client_1.getArrayIfSingleItem)(output["ScaleDownModifications"]["member"]), context);
9038
+ contents.ScaleDownModifications = deserializeAws_queryNodeTypeList(smithy_client_1.getArrayIfSingleItem(output["ScaleDownModifications"]["member"]), context);
9039
9039
  }
9040
9040
  return contents;
9041
9041
  };
@@ -9044,7 +9044,7 @@ const deserializeAws_queryAPICallRateForCustomerExceededFault = (output, context
9044
9044
  message: undefined,
9045
9045
  };
9046
9046
  if (output["message"] !== undefined) {
9047
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9047
+ contents.message = smithy_client_1.expectString(output["message"]);
9048
9048
  }
9049
9049
  return contents;
9050
9050
  };
@@ -9054,10 +9054,10 @@ const deserializeAws_queryAuthentication = (output, context) => {
9054
9054
  PasswordCount: undefined,
9055
9055
  };
9056
9056
  if (output["Type"] !== undefined) {
9057
- contents.Type = (0, smithy_client_1.expectString)(output["Type"]);
9057
+ contents.Type = smithy_client_1.expectString(output["Type"]);
9058
9058
  }
9059
9059
  if (output["PasswordCount"] !== undefined) {
9060
- contents.PasswordCount = (0, smithy_client_1.strictParseInt32)(output["PasswordCount"]);
9060
+ contents.PasswordCount = smithy_client_1.strictParseInt32(output["PasswordCount"]);
9061
9061
  }
9062
9062
  return contents;
9063
9063
  };
@@ -9066,7 +9066,7 @@ const deserializeAws_queryAuthorizationAlreadyExistsFault = (output, context) =>
9066
9066
  message: undefined,
9067
9067
  };
9068
9068
  if (output["message"] !== undefined) {
9069
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9069
+ contents.message = smithy_client_1.expectString(output["message"]);
9070
9070
  }
9071
9071
  return contents;
9072
9072
  };
@@ -9075,7 +9075,7 @@ const deserializeAws_queryAuthorizationNotFoundFault = (output, context) => {
9075
9075
  message: undefined,
9076
9076
  };
9077
9077
  if (output["message"] !== undefined) {
9078
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9078
+ contents.message = smithy_client_1.expectString(output["message"]);
9079
9079
  }
9080
9080
  return contents;
9081
9081
  };
@@ -9093,7 +9093,7 @@ const deserializeAws_queryAvailabilityZone = (output, context) => {
9093
9093
  Name: undefined,
9094
9094
  };
9095
9095
  if (output["Name"] !== undefined) {
9096
- contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
9096
+ contents.Name = smithy_client_1.expectString(output["Name"]);
9097
9097
  }
9098
9098
  return contents;
9099
9099
  };
@@ -9104,7 +9104,7 @@ const deserializeAws_queryAvailabilityZonesList = (output, context) => {
9104
9104
  if (entry === null) {
9105
9105
  return null;
9106
9106
  }
9107
- return (0, smithy_client_1.expectString)(entry);
9107
+ return smithy_client_1.expectString(entry);
9108
9108
  });
9109
9109
  };
9110
9110
  const deserializeAws_queryCacheCluster = (output, context) => {
@@ -9141,40 +9141,40 @@ const deserializeAws_queryCacheCluster = (output, context) => {
9141
9141
  LogDeliveryConfigurations: undefined,
9142
9142
  };
9143
9143
  if (output["CacheClusterId"] !== undefined) {
9144
- contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
9144
+ contents.CacheClusterId = smithy_client_1.expectString(output["CacheClusterId"]);
9145
9145
  }
9146
9146
  if (output["ConfigurationEndpoint"] !== undefined) {
9147
9147
  contents.ConfigurationEndpoint = deserializeAws_queryEndpoint(output["ConfigurationEndpoint"], context);
9148
9148
  }
9149
9149
  if (output["ClientDownloadLandingPage"] !== undefined) {
9150
- contents.ClientDownloadLandingPage = (0, smithy_client_1.expectString)(output["ClientDownloadLandingPage"]);
9150
+ contents.ClientDownloadLandingPage = smithy_client_1.expectString(output["ClientDownloadLandingPage"]);
9151
9151
  }
9152
9152
  if (output["CacheNodeType"] !== undefined) {
9153
- contents.CacheNodeType = (0, smithy_client_1.expectString)(output["CacheNodeType"]);
9153
+ contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
9154
9154
  }
9155
9155
  if (output["Engine"] !== undefined) {
9156
- contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
9156
+ contents.Engine = smithy_client_1.expectString(output["Engine"]);
9157
9157
  }
9158
9158
  if (output["EngineVersion"] !== undefined) {
9159
- contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
9159
+ contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
9160
9160
  }
9161
9161
  if (output["CacheClusterStatus"] !== undefined) {
9162
- contents.CacheClusterStatus = (0, smithy_client_1.expectString)(output["CacheClusterStatus"]);
9162
+ contents.CacheClusterStatus = smithy_client_1.expectString(output["CacheClusterStatus"]);
9163
9163
  }
9164
9164
  if (output["NumCacheNodes"] !== undefined) {
9165
- contents.NumCacheNodes = (0, smithy_client_1.strictParseInt32)(output["NumCacheNodes"]);
9165
+ contents.NumCacheNodes = smithy_client_1.strictParseInt32(output["NumCacheNodes"]);
9166
9166
  }
9167
9167
  if (output["PreferredAvailabilityZone"] !== undefined) {
9168
- contents.PreferredAvailabilityZone = (0, smithy_client_1.expectString)(output["PreferredAvailabilityZone"]);
9168
+ contents.PreferredAvailabilityZone = smithy_client_1.expectString(output["PreferredAvailabilityZone"]);
9169
9169
  }
9170
9170
  if (output["PreferredOutpostArn"] !== undefined) {
9171
- contents.PreferredOutpostArn = (0, smithy_client_1.expectString)(output["PreferredOutpostArn"]);
9171
+ contents.PreferredOutpostArn = smithy_client_1.expectString(output["PreferredOutpostArn"]);
9172
9172
  }
9173
9173
  if (output["CacheClusterCreateTime"] !== undefined) {
9174
- contents.CacheClusterCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CacheClusterCreateTime"]));
9174
+ contents.CacheClusterCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CacheClusterCreateTime"]));
9175
9175
  }
9176
9176
  if (output["PreferredMaintenanceWindow"] !== undefined) {
9177
- contents.PreferredMaintenanceWindow = (0, smithy_client_1.expectString)(output["PreferredMaintenanceWindow"]);
9177
+ contents.PreferredMaintenanceWindow = smithy_client_1.expectString(output["PreferredMaintenanceWindow"]);
9178
9178
  }
9179
9179
  if (output["PendingModifiedValues"] !== undefined) {
9180
9180
  contents.PendingModifiedValues = deserializeAws_queryPendingModifiedValues(output["PendingModifiedValues"], context);
@@ -9187,62 +9187,62 @@ const deserializeAws_queryCacheCluster = (output, context) => {
9187
9187
  }
9188
9188
  if (output["CacheSecurityGroups"] !== undefined &&
9189
9189
  output["CacheSecurityGroups"]["CacheSecurityGroup"] !== undefined) {
9190
- contents.CacheSecurityGroups = deserializeAws_queryCacheSecurityGroupMembershipList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheSecurityGroups"]["CacheSecurityGroup"]), context);
9190
+ contents.CacheSecurityGroups = deserializeAws_queryCacheSecurityGroupMembershipList(smithy_client_1.getArrayIfSingleItem(output["CacheSecurityGroups"]["CacheSecurityGroup"]), context);
9191
9191
  }
9192
9192
  if (output["CacheParameterGroup"] !== undefined) {
9193
9193
  contents.CacheParameterGroup = deserializeAws_queryCacheParameterGroupStatus(output["CacheParameterGroup"], context);
9194
9194
  }
9195
9195
  if (output["CacheSubnetGroupName"] !== undefined) {
9196
- contents.CacheSubnetGroupName = (0, smithy_client_1.expectString)(output["CacheSubnetGroupName"]);
9196
+ contents.CacheSubnetGroupName = smithy_client_1.expectString(output["CacheSubnetGroupName"]);
9197
9197
  }
9198
9198
  if (output.CacheNodes === "") {
9199
9199
  contents.CacheNodes = [];
9200
9200
  }
9201
9201
  if (output["CacheNodes"] !== undefined && output["CacheNodes"]["CacheNode"] !== undefined) {
9202
- contents.CacheNodes = deserializeAws_queryCacheNodeList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheNodes"]["CacheNode"]), context);
9202
+ contents.CacheNodes = deserializeAws_queryCacheNodeList(smithy_client_1.getArrayIfSingleItem(output["CacheNodes"]["CacheNode"]), context);
9203
9203
  }
9204
9204
  if (output["AutoMinorVersionUpgrade"] !== undefined) {
9205
- contents.AutoMinorVersionUpgrade = (0, smithy_client_1.parseBoolean)(output["AutoMinorVersionUpgrade"]);
9205
+ contents.AutoMinorVersionUpgrade = smithy_client_1.parseBoolean(output["AutoMinorVersionUpgrade"]);
9206
9206
  }
9207
9207
  if (output.SecurityGroups === "") {
9208
9208
  contents.SecurityGroups = [];
9209
9209
  }
9210
9210
  if (output["SecurityGroups"] !== undefined && output["SecurityGroups"]["member"] !== undefined) {
9211
- contents.SecurityGroups = deserializeAws_querySecurityGroupMembershipList((0, smithy_client_1.getArrayIfSingleItem)(output["SecurityGroups"]["member"]), context);
9211
+ contents.SecurityGroups = deserializeAws_querySecurityGroupMembershipList(smithy_client_1.getArrayIfSingleItem(output["SecurityGroups"]["member"]), context);
9212
9212
  }
9213
9213
  if (output["ReplicationGroupId"] !== undefined) {
9214
- contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
9214
+ contents.ReplicationGroupId = smithy_client_1.expectString(output["ReplicationGroupId"]);
9215
9215
  }
9216
9216
  if (output["SnapshotRetentionLimit"] !== undefined) {
9217
- contents.SnapshotRetentionLimit = (0, smithy_client_1.strictParseInt32)(output["SnapshotRetentionLimit"]);
9217
+ contents.SnapshotRetentionLimit = smithy_client_1.strictParseInt32(output["SnapshotRetentionLimit"]);
9218
9218
  }
9219
9219
  if (output["SnapshotWindow"] !== undefined) {
9220
- contents.SnapshotWindow = (0, smithy_client_1.expectString)(output["SnapshotWindow"]);
9220
+ contents.SnapshotWindow = smithy_client_1.expectString(output["SnapshotWindow"]);
9221
9221
  }
9222
9222
  if (output["AuthTokenEnabled"] !== undefined) {
9223
- contents.AuthTokenEnabled = (0, smithy_client_1.parseBoolean)(output["AuthTokenEnabled"]);
9223
+ contents.AuthTokenEnabled = smithy_client_1.parseBoolean(output["AuthTokenEnabled"]);
9224
9224
  }
9225
9225
  if (output["AuthTokenLastModifiedDate"] !== undefined) {
9226
- contents.AuthTokenLastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["AuthTokenLastModifiedDate"]));
9226
+ contents.AuthTokenLastModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["AuthTokenLastModifiedDate"]));
9227
9227
  }
9228
9228
  if (output["TransitEncryptionEnabled"] !== undefined) {
9229
- contents.TransitEncryptionEnabled = (0, smithy_client_1.parseBoolean)(output["TransitEncryptionEnabled"]);
9229
+ contents.TransitEncryptionEnabled = smithy_client_1.parseBoolean(output["TransitEncryptionEnabled"]);
9230
9230
  }
9231
9231
  if (output["AtRestEncryptionEnabled"] !== undefined) {
9232
- contents.AtRestEncryptionEnabled = (0, smithy_client_1.parseBoolean)(output["AtRestEncryptionEnabled"]);
9232
+ contents.AtRestEncryptionEnabled = smithy_client_1.parseBoolean(output["AtRestEncryptionEnabled"]);
9233
9233
  }
9234
9234
  if (output["ARN"] !== undefined) {
9235
- contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
9235
+ contents.ARN = smithy_client_1.expectString(output["ARN"]);
9236
9236
  }
9237
9237
  if (output["ReplicationGroupLogDeliveryEnabled"] !== undefined) {
9238
- contents.ReplicationGroupLogDeliveryEnabled = (0, smithy_client_1.parseBoolean)(output["ReplicationGroupLogDeliveryEnabled"]);
9238
+ contents.ReplicationGroupLogDeliveryEnabled = smithy_client_1.parseBoolean(output["ReplicationGroupLogDeliveryEnabled"]);
9239
9239
  }
9240
9240
  if (output.LogDeliveryConfigurations === "") {
9241
9241
  contents.LogDeliveryConfigurations = [];
9242
9242
  }
9243
9243
  if (output["LogDeliveryConfigurations"] !== undefined &&
9244
9244
  output["LogDeliveryConfigurations"]["LogDeliveryConfiguration"] !== undefined) {
9245
- contents.LogDeliveryConfigurations = deserializeAws_queryLogDeliveryConfigurationList((0, smithy_client_1.getArrayIfSingleItem)(output["LogDeliveryConfigurations"]["LogDeliveryConfiguration"]), context);
9245
+ contents.LogDeliveryConfigurations = deserializeAws_queryLogDeliveryConfigurationList(smithy_client_1.getArrayIfSingleItem(output["LogDeliveryConfigurations"]["LogDeliveryConfiguration"]), context);
9246
9246
  }
9247
9247
  return contents;
9248
9248
  };
@@ -9251,7 +9251,7 @@ const deserializeAws_queryCacheClusterAlreadyExistsFault = (output, context) =>
9251
9251
  message: undefined,
9252
9252
  };
9253
9253
  if (output["message"] !== undefined) {
9254
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9254
+ contents.message = smithy_client_1.expectString(output["message"]);
9255
9255
  }
9256
9256
  return contents;
9257
9257
  };
@@ -9271,13 +9271,13 @@ const deserializeAws_queryCacheClusterMessage = (output, context) => {
9271
9271
  CacheClusters: undefined,
9272
9272
  };
9273
9273
  if (output["Marker"] !== undefined) {
9274
- contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
9274
+ contents.Marker = smithy_client_1.expectString(output["Marker"]);
9275
9275
  }
9276
9276
  if (output.CacheClusters === "") {
9277
9277
  contents.CacheClusters = [];
9278
9278
  }
9279
9279
  if (output["CacheClusters"] !== undefined && output["CacheClusters"]["CacheCluster"] !== undefined) {
9280
- contents.CacheClusters = deserializeAws_queryCacheClusterList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheClusters"]["CacheCluster"]), context);
9280
+ contents.CacheClusters = deserializeAws_queryCacheClusterList(smithy_client_1.getArrayIfSingleItem(output["CacheClusters"]["CacheCluster"]), context);
9281
9281
  }
9282
9282
  return contents;
9283
9283
  };
@@ -9286,7 +9286,7 @@ const deserializeAws_queryCacheClusterNotFoundFault = (output, context) => {
9286
9286
  message: undefined,
9287
9287
  };
9288
9288
  if (output["message"] !== undefined) {
9289
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9289
+ contents.message = smithy_client_1.expectString(output["message"]);
9290
9290
  }
9291
9291
  return contents;
9292
9292
  };
@@ -9299,19 +9299,19 @@ const deserializeAws_queryCacheEngineVersion = (output, context) => {
9299
9299
  CacheEngineVersionDescription: undefined,
9300
9300
  };
9301
9301
  if (output["Engine"] !== undefined) {
9302
- contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
9302
+ contents.Engine = smithy_client_1.expectString(output["Engine"]);
9303
9303
  }
9304
9304
  if (output["EngineVersion"] !== undefined) {
9305
- contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
9305
+ contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
9306
9306
  }
9307
9307
  if (output["CacheParameterGroupFamily"] !== undefined) {
9308
- contents.CacheParameterGroupFamily = (0, smithy_client_1.expectString)(output["CacheParameterGroupFamily"]);
9308
+ contents.CacheParameterGroupFamily = smithy_client_1.expectString(output["CacheParameterGroupFamily"]);
9309
9309
  }
9310
9310
  if (output["CacheEngineDescription"] !== undefined) {
9311
- contents.CacheEngineDescription = (0, smithy_client_1.expectString)(output["CacheEngineDescription"]);
9311
+ contents.CacheEngineDescription = smithy_client_1.expectString(output["CacheEngineDescription"]);
9312
9312
  }
9313
9313
  if (output["CacheEngineVersionDescription"] !== undefined) {
9314
- contents.CacheEngineVersionDescription = (0, smithy_client_1.expectString)(output["CacheEngineVersionDescription"]);
9314
+ contents.CacheEngineVersionDescription = smithy_client_1.expectString(output["CacheEngineVersionDescription"]);
9315
9315
  }
9316
9316
  return contents;
9317
9317
  };
@@ -9331,14 +9331,14 @@ const deserializeAws_queryCacheEngineVersionMessage = (output, context) => {
9331
9331
  CacheEngineVersions: undefined,
9332
9332
  };
9333
9333
  if (output["Marker"] !== undefined) {
9334
- contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
9334
+ contents.Marker = smithy_client_1.expectString(output["Marker"]);
9335
9335
  }
9336
9336
  if (output.CacheEngineVersions === "") {
9337
9337
  contents.CacheEngineVersions = [];
9338
9338
  }
9339
9339
  if (output["CacheEngineVersions"] !== undefined &&
9340
9340
  output["CacheEngineVersions"]["CacheEngineVersion"] !== undefined) {
9341
- contents.CacheEngineVersions = deserializeAws_queryCacheEngineVersionList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheEngineVersions"]["CacheEngineVersion"]), context);
9341
+ contents.CacheEngineVersions = deserializeAws_queryCacheEngineVersionList(smithy_client_1.getArrayIfSingleItem(output["CacheEngineVersions"]["CacheEngineVersion"]), context);
9342
9342
  }
9343
9343
  return contents;
9344
9344
  };
@@ -9354,28 +9354,28 @@ const deserializeAws_queryCacheNode = (output, context) => {
9354
9354
  CustomerOutpostArn: undefined,
9355
9355
  };
9356
9356
  if (output["CacheNodeId"] !== undefined) {
9357
- contents.CacheNodeId = (0, smithy_client_1.expectString)(output["CacheNodeId"]);
9357
+ contents.CacheNodeId = smithy_client_1.expectString(output["CacheNodeId"]);
9358
9358
  }
9359
9359
  if (output["CacheNodeStatus"] !== undefined) {
9360
- contents.CacheNodeStatus = (0, smithy_client_1.expectString)(output["CacheNodeStatus"]);
9360
+ contents.CacheNodeStatus = smithy_client_1.expectString(output["CacheNodeStatus"]);
9361
9361
  }
9362
9362
  if (output["CacheNodeCreateTime"] !== undefined) {
9363
- contents.CacheNodeCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CacheNodeCreateTime"]));
9363
+ contents.CacheNodeCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CacheNodeCreateTime"]));
9364
9364
  }
9365
9365
  if (output["Endpoint"] !== undefined) {
9366
9366
  contents.Endpoint = deserializeAws_queryEndpoint(output["Endpoint"], context);
9367
9367
  }
9368
9368
  if (output["ParameterGroupStatus"] !== undefined) {
9369
- contents.ParameterGroupStatus = (0, smithy_client_1.expectString)(output["ParameterGroupStatus"]);
9369
+ contents.ParameterGroupStatus = smithy_client_1.expectString(output["ParameterGroupStatus"]);
9370
9370
  }
9371
9371
  if (output["SourceCacheNodeId"] !== undefined) {
9372
- contents.SourceCacheNodeId = (0, smithy_client_1.expectString)(output["SourceCacheNodeId"]);
9372
+ contents.SourceCacheNodeId = smithy_client_1.expectString(output["SourceCacheNodeId"]);
9373
9373
  }
9374
9374
  if (output["CustomerAvailabilityZone"] !== undefined) {
9375
- contents.CustomerAvailabilityZone = (0, smithy_client_1.expectString)(output["CustomerAvailabilityZone"]);
9375
+ contents.CustomerAvailabilityZone = smithy_client_1.expectString(output["CustomerAvailabilityZone"]);
9376
9376
  }
9377
9377
  if (output["CustomerOutpostArn"] !== undefined) {
9378
- contents.CustomerOutpostArn = (0, smithy_client_1.expectString)(output["CustomerOutpostArn"]);
9378
+ contents.CustomerOutpostArn = smithy_client_1.expectString(output["CustomerOutpostArn"]);
9379
9379
  }
9380
9380
  return contents;
9381
9381
  };
@@ -9386,7 +9386,7 @@ const deserializeAws_queryCacheNodeIdsList = (output, context) => {
9386
9386
  if (entry === null) {
9387
9387
  return null;
9388
9388
  }
9389
- return (0, smithy_client_1.expectString)(entry);
9389
+ return smithy_client_1.expectString(entry);
9390
9390
  });
9391
9391
  };
9392
9392
  const deserializeAws_queryCacheNodeList = (output, context) => {
@@ -9412,35 +9412,35 @@ const deserializeAws_queryCacheNodeTypeSpecificParameter = (output, context) =>
9412
9412
  ChangeType: undefined,
9413
9413
  };
9414
9414
  if (output["ParameterName"] !== undefined) {
9415
- contents.ParameterName = (0, smithy_client_1.expectString)(output["ParameterName"]);
9415
+ contents.ParameterName = smithy_client_1.expectString(output["ParameterName"]);
9416
9416
  }
9417
9417
  if (output["Description"] !== undefined) {
9418
- contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
9418
+ contents.Description = smithy_client_1.expectString(output["Description"]);
9419
9419
  }
9420
9420
  if (output["Source"] !== undefined) {
9421
- contents.Source = (0, smithy_client_1.expectString)(output["Source"]);
9421
+ contents.Source = smithy_client_1.expectString(output["Source"]);
9422
9422
  }
9423
9423
  if (output["DataType"] !== undefined) {
9424
- contents.DataType = (0, smithy_client_1.expectString)(output["DataType"]);
9424
+ contents.DataType = smithy_client_1.expectString(output["DataType"]);
9425
9425
  }
9426
9426
  if (output["AllowedValues"] !== undefined) {
9427
- contents.AllowedValues = (0, smithy_client_1.expectString)(output["AllowedValues"]);
9427
+ contents.AllowedValues = smithy_client_1.expectString(output["AllowedValues"]);
9428
9428
  }
9429
9429
  if (output["IsModifiable"] !== undefined) {
9430
- contents.IsModifiable = (0, smithy_client_1.parseBoolean)(output["IsModifiable"]);
9430
+ contents.IsModifiable = smithy_client_1.parseBoolean(output["IsModifiable"]);
9431
9431
  }
9432
9432
  if (output["MinimumEngineVersion"] !== undefined) {
9433
- contents.MinimumEngineVersion = (0, smithy_client_1.expectString)(output["MinimumEngineVersion"]);
9433
+ contents.MinimumEngineVersion = smithy_client_1.expectString(output["MinimumEngineVersion"]);
9434
9434
  }
9435
9435
  if (output.CacheNodeTypeSpecificValues === "") {
9436
9436
  contents.CacheNodeTypeSpecificValues = [];
9437
9437
  }
9438
9438
  if (output["CacheNodeTypeSpecificValues"] !== undefined &&
9439
9439
  output["CacheNodeTypeSpecificValues"]["CacheNodeTypeSpecificValue"] !== undefined) {
9440
- contents.CacheNodeTypeSpecificValues = deserializeAws_queryCacheNodeTypeSpecificValueList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheNodeTypeSpecificValues"]["CacheNodeTypeSpecificValue"]), context);
9440
+ contents.CacheNodeTypeSpecificValues = deserializeAws_queryCacheNodeTypeSpecificValueList(smithy_client_1.getArrayIfSingleItem(output["CacheNodeTypeSpecificValues"]["CacheNodeTypeSpecificValue"]), context);
9441
9441
  }
9442
9442
  if (output["ChangeType"] !== undefined) {
9443
- contents.ChangeType = (0, smithy_client_1.expectString)(output["ChangeType"]);
9443
+ contents.ChangeType = smithy_client_1.expectString(output["ChangeType"]);
9444
9444
  }
9445
9445
  return contents;
9446
9446
  };
@@ -9460,10 +9460,10 @@ const deserializeAws_queryCacheNodeTypeSpecificValue = (output, context) => {
9460
9460
  Value: undefined,
9461
9461
  };
9462
9462
  if (output["CacheNodeType"] !== undefined) {
9463
- contents.CacheNodeType = (0, smithy_client_1.expectString)(output["CacheNodeType"]);
9463
+ contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
9464
9464
  }
9465
9465
  if (output["Value"] !== undefined) {
9466
- contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
9466
+ contents.Value = smithy_client_1.expectString(output["Value"]);
9467
9467
  }
9468
9468
  return contents;
9469
9469
  };
@@ -9489,28 +9489,28 @@ const deserializeAws_queryCacheNodeUpdateStatus = (output, context) => {
9489
9489
  NodeUpdateStatusModifiedDate: undefined,
9490
9490
  };
9491
9491
  if (output["CacheNodeId"] !== undefined) {
9492
- contents.CacheNodeId = (0, smithy_client_1.expectString)(output["CacheNodeId"]);
9492
+ contents.CacheNodeId = smithy_client_1.expectString(output["CacheNodeId"]);
9493
9493
  }
9494
9494
  if (output["NodeUpdateStatus"] !== undefined) {
9495
- contents.NodeUpdateStatus = (0, smithy_client_1.expectString)(output["NodeUpdateStatus"]);
9495
+ contents.NodeUpdateStatus = smithy_client_1.expectString(output["NodeUpdateStatus"]);
9496
9496
  }
9497
9497
  if (output["NodeDeletionDate"] !== undefined) {
9498
- contents.NodeDeletionDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeDeletionDate"]));
9498
+ contents.NodeDeletionDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeDeletionDate"]));
9499
9499
  }
9500
9500
  if (output["NodeUpdateStartDate"] !== undefined) {
9501
- contents.NodeUpdateStartDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeUpdateStartDate"]));
9501
+ contents.NodeUpdateStartDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateStartDate"]));
9502
9502
  }
9503
9503
  if (output["NodeUpdateEndDate"] !== undefined) {
9504
- contents.NodeUpdateEndDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeUpdateEndDate"]));
9504
+ contents.NodeUpdateEndDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateEndDate"]));
9505
9505
  }
9506
9506
  if (output["NodeUpdateInitiatedBy"] !== undefined) {
9507
- contents.NodeUpdateInitiatedBy = (0, smithy_client_1.expectString)(output["NodeUpdateInitiatedBy"]);
9507
+ contents.NodeUpdateInitiatedBy = smithy_client_1.expectString(output["NodeUpdateInitiatedBy"]);
9508
9508
  }
9509
9509
  if (output["NodeUpdateInitiatedDate"] !== undefined) {
9510
- contents.NodeUpdateInitiatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeUpdateInitiatedDate"]));
9510
+ contents.NodeUpdateInitiatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateInitiatedDate"]));
9511
9511
  }
9512
9512
  if (output["NodeUpdateStatusModifiedDate"] !== undefined) {
9513
- contents.NodeUpdateStatusModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeUpdateStatusModifiedDate"]));
9513
+ contents.NodeUpdateStatusModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateStatusModifiedDate"]));
9514
9514
  }
9515
9515
  return contents;
9516
9516
  };
@@ -9533,19 +9533,19 @@ const deserializeAws_queryCacheParameterGroup = (output, context) => {
9533
9533
  ARN: undefined,
9534
9534
  };
9535
9535
  if (output["CacheParameterGroupName"] !== undefined) {
9536
- contents.CacheParameterGroupName = (0, smithy_client_1.expectString)(output["CacheParameterGroupName"]);
9536
+ contents.CacheParameterGroupName = smithy_client_1.expectString(output["CacheParameterGroupName"]);
9537
9537
  }
9538
9538
  if (output["CacheParameterGroupFamily"] !== undefined) {
9539
- contents.CacheParameterGroupFamily = (0, smithy_client_1.expectString)(output["CacheParameterGroupFamily"]);
9539
+ contents.CacheParameterGroupFamily = smithy_client_1.expectString(output["CacheParameterGroupFamily"]);
9540
9540
  }
9541
9541
  if (output["Description"] !== undefined) {
9542
- contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
9542
+ contents.Description = smithy_client_1.expectString(output["Description"]);
9543
9543
  }
9544
9544
  if (output["IsGlobal"] !== undefined) {
9545
- contents.IsGlobal = (0, smithy_client_1.parseBoolean)(output["IsGlobal"]);
9545
+ contents.IsGlobal = smithy_client_1.parseBoolean(output["IsGlobal"]);
9546
9546
  }
9547
9547
  if (output["ARN"] !== undefined) {
9548
- contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
9548
+ contents.ARN = smithy_client_1.expectString(output["ARN"]);
9549
9549
  }
9550
9550
  return contents;
9551
9551
  };
@@ -9554,7 +9554,7 @@ const deserializeAws_queryCacheParameterGroupAlreadyExistsFault = (output, conte
9554
9554
  message: undefined,
9555
9555
  };
9556
9556
  if (output["message"] !== undefined) {
9557
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9557
+ contents.message = smithy_client_1.expectString(output["message"]);
9558
9558
  }
9559
9559
  return contents;
9560
9560
  };
@@ -9565,20 +9565,20 @@ const deserializeAws_queryCacheParameterGroupDetails = (output, context) => {
9565
9565
  CacheNodeTypeSpecificParameters: undefined,
9566
9566
  };
9567
9567
  if (output["Marker"] !== undefined) {
9568
- contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
9568
+ contents.Marker = smithy_client_1.expectString(output["Marker"]);
9569
9569
  }
9570
9570
  if (output.Parameters === "") {
9571
9571
  contents.Parameters = [];
9572
9572
  }
9573
9573
  if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
9574
- contents.Parameters = deserializeAws_queryParametersList((0, smithy_client_1.getArrayIfSingleItem)(output["Parameters"]["Parameter"]), context);
9574
+ contents.Parameters = deserializeAws_queryParametersList(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["Parameter"]), context);
9575
9575
  }
9576
9576
  if (output.CacheNodeTypeSpecificParameters === "") {
9577
9577
  contents.CacheNodeTypeSpecificParameters = [];
9578
9578
  }
9579
9579
  if (output["CacheNodeTypeSpecificParameters"] !== undefined &&
9580
9580
  output["CacheNodeTypeSpecificParameters"]["CacheNodeTypeSpecificParameter"] !== undefined) {
9581
- contents.CacheNodeTypeSpecificParameters = deserializeAws_queryCacheNodeTypeSpecificParametersList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheNodeTypeSpecificParameters"]["CacheNodeTypeSpecificParameter"]), context);
9581
+ contents.CacheNodeTypeSpecificParameters = deserializeAws_queryCacheNodeTypeSpecificParametersList(smithy_client_1.getArrayIfSingleItem(output["CacheNodeTypeSpecificParameters"]["CacheNodeTypeSpecificParameter"]), context);
9582
9582
  }
9583
9583
  return contents;
9584
9584
  };
@@ -9597,7 +9597,7 @@ const deserializeAws_queryCacheParameterGroupNameMessage = (output, context) =>
9597
9597
  CacheParameterGroupName: undefined,
9598
9598
  };
9599
9599
  if (output["CacheParameterGroupName"] !== undefined) {
9600
- contents.CacheParameterGroupName = (0, smithy_client_1.expectString)(output["CacheParameterGroupName"]);
9600
+ contents.CacheParameterGroupName = smithy_client_1.expectString(output["CacheParameterGroupName"]);
9601
9601
  }
9602
9602
  return contents;
9603
9603
  };
@@ -9606,7 +9606,7 @@ const deserializeAws_queryCacheParameterGroupNotFoundFault = (output, context) =
9606
9606
  message: undefined,
9607
9607
  };
9608
9608
  if (output["message"] !== undefined) {
9609
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9609
+ contents.message = smithy_client_1.expectString(output["message"]);
9610
9610
  }
9611
9611
  return contents;
9612
9612
  };
@@ -9615,7 +9615,7 @@ const deserializeAws_queryCacheParameterGroupQuotaExceededFault = (output, conte
9615
9615
  message: undefined,
9616
9616
  };
9617
9617
  if (output["message"] !== undefined) {
9618
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9618
+ contents.message = smithy_client_1.expectString(output["message"]);
9619
9619
  }
9620
9620
  return contents;
9621
9621
  };
@@ -9625,14 +9625,14 @@ const deserializeAws_queryCacheParameterGroupsMessage = (output, context) => {
9625
9625
  CacheParameterGroups: undefined,
9626
9626
  };
9627
9627
  if (output["Marker"] !== undefined) {
9628
- contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
9628
+ contents.Marker = smithy_client_1.expectString(output["Marker"]);
9629
9629
  }
9630
9630
  if (output.CacheParameterGroups === "") {
9631
9631
  contents.CacheParameterGroups = [];
9632
9632
  }
9633
9633
  if (output["CacheParameterGroups"] !== undefined &&
9634
9634
  output["CacheParameterGroups"]["CacheParameterGroup"] !== undefined) {
9635
- contents.CacheParameterGroups = deserializeAws_queryCacheParameterGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheParameterGroups"]["CacheParameterGroup"]), context);
9635
+ contents.CacheParameterGroups = deserializeAws_queryCacheParameterGroupList(smithy_client_1.getArrayIfSingleItem(output["CacheParameterGroups"]["CacheParameterGroup"]), context);
9636
9636
  }
9637
9637
  return contents;
9638
9638
  };
@@ -9643,16 +9643,16 @@ const deserializeAws_queryCacheParameterGroupStatus = (output, context) => {
9643
9643
  CacheNodeIdsToReboot: undefined,
9644
9644
  };
9645
9645
  if (output["CacheParameterGroupName"] !== undefined) {
9646
- contents.CacheParameterGroupName = (0, smithy_client_1.expectString)(output["CacheParameterGroupName"]);
9646
+ contents.CacheParameterGroupName = smithy_client_1.expectString(output["CacheParameterGroupName"]);
9647
9647
  }
9648
9648
  if (output["ParameterApplyStatus"] !== undefined) {
9649
- contents.ParameterApplyStatus = (0, smithy_client_1.expectString)(output["ParameterApplyStatus"]);
9649
+ contents.ParameterApplyStatus = smithy_client_1.expectString(output["ParameterApplyStatus"]);
9650
9650
  }
9651
9651
  if (output.CacheNodeIdsToReboot === "") {
9652
9652
  contents.CacheNodeIdsToReboot = [];
9653
9653
  }
9654
9654
  if (output["CacheNodeIdsToReboot"] !== undefined && output["CacheNodeIdsToReboot"]["CacheNodeId"] !== undefined) {
9655
- contents.CacheNodeIdsToReboot = deserializeAws_queryCacheNodeIdsList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheNodeIdsToReboot"]["CacheNodeId"]), context);
9655
+ contents.CacheNodeIdsToReboot = deserializeAws_queryCacheNodeIdsList(smithy_client_1.getArrayIfSingleItem(output["CacheNodeIdsToReboot"]["CacheNodeId"]), context);
9656
9656
  }
9657
9657
  return contents;
9658
9658
  };
@@ -9665,22 +9665,22 @@ const deserializeAws_queryCacheSecurityGroup = (output, context) => {
9665
9665
  ARN: undefined,
9666
9666
  };
9667
9667
  if (output["OwnerId"] !== undefined) {
9668
- contents.OwnerId = (0, smithy_client_1.expectString)(output["OwnerId"]);
9668
+ contents.OwnerId = smithy_client_1.expectString(output["OwnerId"]);
9669
9669
  }
9670
9670
  if (output["CacheSecurityGroupName"] !== undefined) {
9671
- contents.CacheSecurityGroupName = (0, smithy_client_1.expectString)(output["CacheSecurityGroupName"]);
9671
+ contents.CacheSecurityGroupName = smithy_client_1.expectString(output["CacheSecurityGroupName"]);
9672
9672
  }
9673
9673
  if (output["Description"] !== undefined) {
9674
- contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
9674
+ contents.Description = smithy_client_1.expectString(output["Description"]);
9675
9675
  }
9676
9676
  if (output.EC2SecurityGroups === "") {
9677
9677
  contents.EC2SecurityGroups = [];
9678
9678
  }
9679
9679
  if (output["EC2SecurityGroups"] !== undefined && output["EC2SecurityGroups"]["EC2SecurityGroup"] !== undefined) {
9680
- contents.EC2SecurityGroups = deserializeAws_queryEC2SecurityGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["EC2SecurityGroups"]["EC2SecurityGroup"]), context);
9680
+ contents.EC2SecurityGroups = deserializeAws_queryEC2SecurityGroupList(smithy_client_1.getArrayIfSingleItem(output["EC2SecurityGroups"]["EC2SecurityGroup"]), context);
9681
9681
  }
9682
9682
  if (output["ARN"] !== undefined) {
9683
- contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
9683
+ contents.ARN = smithy_client_1.expectString(output["ARN"]);
9684
9684
  }
9685
9685
  return contents;
9686
9686
  };
@@ -9689,7 +9689,7 @@ const deserializeAws_queryCacheSecurityGroupAlreadyExistsFault = (output, contex
9689
9689
  message: undefined,
9690
9690
  };
9691
9691
  if (output["message"] !== undefined) {
9692
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9692
+ contents.message = smithy_client_1.expectString(output["message"]);
9693
9693
  }
9694
9694
  return contents;
9695
9695
  };
@@ -9699,10 +9699,10 @@ const deserializeAws_queryCacheSecurityGroupMembership = (output, context) => {
9699
9699
  Status: undefined,
9700
9700
  };
9701
9701
  if (output["CacheSecurityGroupName"] !== undefined) {
9702
- contents.CacheSecurityGroupName = (0, smithy_client_1.expectString)(output["CacheSecurityGroupName"]);
9702
+ contents.CacheSecurityGroupName = smithy_client_1.expectString(output["CacheSecurityGroupName"]);
9703
9703
  }
9704
9704
  if (output["Status"] !== undefined) {
9705
- contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
9705
+ contents.Status = smithy_client_1.expectString(output["Status"]);
9706
9706
  }
9707
9707
  return contents;
9708
9708
  };
@@ -9722,14 +9722,14 @@ const deserializeAws_queryCacheSecurityGroupMessage = (output, context) => {
9722
9722
  CacheSecurityGroups: undefined,
9723
9723
  };
9724
9724
  if (output["Marker"] !== undefined) {
9725
- contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
9725
+ contents.Marker = smithy_client_1.expectString(output["Marker"]);
9726
9726
  }
9727
9727
  if (output.CacheSecurityGroups === "") {
9728
9728
  contents.CacheSecurityGroups = [];
9729
9729
  }
9730
9730
  if (output["CacheSecurityGroups"] !== undefined &&
9731
9731
  output["CacheSecurityGroups"]["CacheSecurityGroup"] !== undefined) {
9732
- contents.CacheSecurityGroups = deserializeAws_queryCacheSecurityGroups((0, smithy_client_1.getArrayIfSingleItem)(output["CacheSecurityGroups"]["CacheSecurityGroup"]), context);
9732
+ contents.CacheSecurityGroups = deserializeAws_queryCacheSecurityGroups(smithy_client_1.getArrayIfSingleItem(output["CacheSecurityGroups"]["CacheSecurityGroup"]), context);
9733
9733
  }
9734
9734
  return contents;
9735
9735
  };
@@ -9738,7 +9738,7 @@ const deserializeAws_queryCacheSecurityGroupNotFoundFault = (output, context) =>
9738
9738
  message: undefined,
9739
9739
  };
9740
9740
  if (output["message"] !== undefined) {
9741
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9741
+ contents.message = smithy_client_1.expectString(output["message"]);
9742
9742
  }
9743
9743
  return contents;
9744
9744
  };
@@ -9747,7 +9747,7 @@ const deserializeAws_queryCacheSecurityGroupQuotaExceededFault = (output, contex
9747
9747
  message: undefined,
9748
9748
  };
9749
9749
  if (output["message"] !== undefined) {
9750
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9750
+ contents.message = smithy_client_1.expectString(output["message"]);
9751
9751
  }
9752
9752
  return contents;
9753
9753
  };
@@ -9770,22 +9770,22 @@ const deserializeAws_queryCacheSubnetGroup = (output, context) => {
9770
9770
  ARN: undefined,
9771
9771
  };
9772
9772
  if (output["CacheSubnetGroupName"] !== undefined) {
9773
- contents.CacheSubnetGroupName = (0, smithy_client_1.expectString)(output["CacheSubnetGroupName"]);
9773
+ contents.CacheSubnetGroupName = smithy_client_1.expectString(output["CacheSubnetGroupName"]);
9774
9774
  }
9775
9775
  if (output["CacheSubnetGroupDescription"] !== undefined) {
9776
- contents.CacheSubnetGroupDescription = (0, smithy_client_1.expectString)(output["CacheSubnetGroupDescription"]);
9776
+ contents.CacheSubnetGroupDescription = smithy_client_1.expectString(output["CacheSubnetGroupDescription"]);
9777
9777
  }
9778
9778
  if (output["VpcId"] !== undefined) {
9779
- contents.VpcId = (0, smithy_client_1.expectString)(output["VpcId"]);
9779
+ contents.VpcId = smithy_client_1.expectString(output["VpcId"]);
9780
9780
  }
9781
9781
  if (output.Subnets === "") {
9782
9782
  contents.Subnets = [];
9783
9783
  }
9784
9784
  if (output["Subnets"] !== undefined && output["Subnets"]["Subnet"] !== undefined) {
9785
- contents.Subnets = deserializeAws_querySubnetList((0, smithy_client_1.getArrayIfSingleItem)(output["Subnets"]["Subnet"]), context);
9785
+ contents.Subnets = deserializeAws_querySubnetList(smithy_client_1.getArrayIfSingleItem(output["Subnets"]["Subnet"]), context);
9786
9786
  }
9787
9787
  if (output["ARN"] !== undefined) {
9788
- contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
9788
+ contents.ARN = smithy_client_1.expectString(output["ARN"]);
9789
9789
  }
9790
9790
  return contents;
9791
9791
  };
@@ -9794,7 +9794,7 @@ const deserializeAws_queryCacheSubnetGroupAlreadyExistsFault = (output, context)
9794
9794
  message: undefined,
9795
9795
  };
9796
9796
  if (output["message"] !== undefined) {
9797
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9797
+ contents.message = smithy_client_1.expectString(output["message"]);
9798
9798
  }
9799
9799
  return contents;
9800
9800
  };
@@ -9803,7 +9803,7 @@ const deserializeAws_queryCacheSubnetGroupInUse = (output, context) => {
9803
9803
  message: undefined,
9804
9804
  };
9805
9805
  if (output["message"] !== undefined) {
9806
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9806
+ contents.message = smithy_client_1.expectString(output["message"]);
9807
9807
  }
9808
9808
  return contents;
9809
9809
  };
@@ -9813,13 +9813,13 @@ const deserializeAws_queryCacheSubnetGroupMessage = (output, context) => {
9813
9813
  CacheSubnetGroups: undefined,
9814
9814
  };
9815
9815
  if (output["Marker"] !== undefined) {
9816
- contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
9816
+ contents.Marker = smithy_client_1.expectString(output["Marker"]);
9817
9817
  }
9818
9818
  if (output.CacheSubnetGroups === "") {
9819
9819
  contents.CacheSubnetGroups = [];
9820
9820
  }
9821
9821
  if (output["CacheSubnetGroups"] !== undefined && output["CacheSubnetGroups"]["CacheSubnetGroup"] !== undefined) {
9822
- contents.CacheSubnetGroups = deserializeAws_queryCacheSubnetGroups((0, smithy_client_1.getArrayIfSingleItem)(output["CacheSubnetGroups"]["CacheSubnetGroup"]), context);
9822
+ contents.CacheSubnetGroups = deserializeAws_queryCacheSubnetGroups(smithy_client_1.getArrayIfSingleItem(output["CacheSubnetGroups"]["CacheSubnetGroup"]), context);
9823
9823
  }
9824
9824
  return contents;
9825
9825
  };
@@ -9828,7 +9828,7 @@ const deserializeAws_queryCacheSubnetGroupNotFoundFault = (output, context) => {
9828
9828
  message: undefined,
9829
9829
  };
9830
9830
  if (output["message"] !== undefined) {
9831
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9831
+ contents.message = smithy_client_1.expectString(output["message"]);
9832
9832
  }
9833
9833
  return contents;
9834
9834
  };
@@ -9837,7 +9837,7 @@ const deserializeAws_queryCacheSubnetGroupQuotaExceededFault = (output, context)
9837
9837
  message: undefined,
9838
9838
  };
9839
9839
  if (output["message"] !== undefined) {
9840
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9840
+ contents.message = smithy_client_1.expectString(output["message"]);
9841
9841
  }
9842
9842
  return contents;
9843
9843
  };
@@ -9856,7 +9856,7 @@ const deserializeAws_queryCacheSubnetQuotaExceededFault = (output, context) => {
9856
9856
  message: undefined,
9857
9857
  };
9858
9858
  if (output["message"] !== undefined) {
9859
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9859
+ contents.message = smithy_client_1.expectString(output["message"]);
9860
9860
  }
9861
9861
  return contents;
9862
9862
  };
@@ -9865,7 +9865,7 @@ const deserializeAws_queryCloudWatchLogsDestinationDetails = (output, context) =
9865
9865
  LogGroup: undefined,
9866
9866
  };
9867
9867
  if (output["LogGroup"] !== undefined) {
9868
- contents.LogGroup = (0, smithy_client_1.expectString)(output["LogGroup"]);
9868
+ contents.LogGroup = smithy_client_1.expectString(output["LogGroup"]);
9869
9869
  }
9870
9870
  return contents;
9871
9871
  };
@@ -9876,7 +9876,7 @@ const deserializeAws_queryClusterIdList = (output, context) => {
9876
9876
  if (entry === null) {
9877
9877
  return null;
9878
9878
  }
9879
- return (0, smithy_client_1.expectString)(entry);
9879
+ return smithy_client_1.expectString(entry);
9880
9880
  });
9881
9881
  };
9882
9882
  const deserializeAws_queryClusterQuotaForCustomerExceededFault = (output, context) => {
@@ -9884,7 +9884,7 @@ const deserializeAws_queryClusterQuotaForCustomerExceededFault = (output, contex
9884
9884
  message: undefined,
9885
9885
  };
9886
9886
  if (output["message"] !== undefined) {
9887
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9887
+ contents.message = smithy_client_1.expectString(output["message"]);
9888
9888
  }
9889
9889
  return contents;
9890
9890
  };
@@ -9992,7 +9992,7 @@ const deserializeAws_queryDefaultUserAssociatedToUserGroupFault = (output, conte
9992
9992
  message: undefined,
9993
9993
  };
9994
9994
  if (output["message"] !== undefined) {
9995
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
9995
+ contents.message = smithy_client_1.expectString(output["message"]);
9996
9996
  }
9997
9997
  return contents;
9998
9998
  };
@@ -10001,7 +10001,7 @@ const deserializeAws_queryDefaultUserRequired = (output, context) => {
10001
10001
  message: undefined,
10002
10002
  };
10003
10003
  if (output["message"] !== undefined) {
10004
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10004
+ contents.message = smithy_client_1.expectString(output["message"]);
10005
10005
  }
10006
10006
  return contents;
10007
10007
  };
@@ -10056,14 +10056,14 @@ const deserializeAws_queryDescribeGlobalReplicationGroupsResult = (output, conte
10056
10056
  GlobalReplicationGroups: undefined,
10057
10057
  };
10058
10058
  if (output["Marker"] !== undefined) {
10059
- contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
10059
+ contents.Marker = smithy_client_1.expectString(output["Marker"]);
10060
10060
  }
10061
10061
  if (output.GlobalReplicationGroups === "") {
10062
10062
  contents.GlobalReplicationGroups = [];
10063
10063
  }
10064
10064
  if (output["GlobalReplicationGroups"] !== undefined &&
10065
10065
  output["GlobalReplicationGroups"]["GlobalReplicationGroup"] !== undefined) {
10066
- contents.GlobalReplicationGroups = deserializeAws_queryGlobalReplicationGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["GlobalReplicationGroups"]["GlobalReplicationGroup"]), context);
10066
+ contents.GlobalReplicationGroups = deserializeAws_queryGlobalReplicationGroupList(smithy_client_1.getArrayIfSingleItem(output["GlobalReplicationGroups"]["GlobalReplicationGroup"]), context);
10067
10067
  }
10068
10068
  return contents;
10069
10069
  };
@@ -10073,13 +10073,13 @@ const deserializeAws_queryDescribeSnapshotsListMessage = (output, context) => {
10073
10073
  Snapshots: undefined,
10074
10074
  };
10075
10075
  if (output["Marker"] !== undefined) {
10076
- contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
10076
+ contents.Marker = smithy_client_1.expectString(output["Marker"]);
10077
10077
  }
10078
10078
  if (output.Snapshots === "") {
10079
10079
  contents.Snapshots = [];
10080
10080
  }
10081
10081
  if (output["Snapshots"] !== undefined && output["Snapshots"]["Snapshot"] !== undefined) {
10082
- contents.Snapshots = deserializeAws_querySnapshotList((0, smithy_client_1.getArrayIfSingleItem)(output["Snapshots"]["Snapshot"]), context);
10082
+ contents.Snapshots = deserializeAws_querySnapshotList(smithy_client_1.getArrayIfSingleItem(output["Snapshots"]["Snapshot"]), context);
10083
10083
  }
10084
10084
  return contents;
10085
10085
  };
@@ -10092,10 +10092,10 @@ const deserializeAws_queryDescribeUserGroupsResult = (output, context) => {
10092
10092
  contents.UserGroups = [];
10093
10093
  }
10094
10094
  if (output["UserGroups"] !== undefined && output["UserGroups"]["member"] !== undefined) {
10095
- contents.UserGroups = deserializeAws_queryUserGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["UserGroups"]["member"]), context);
10095
+ contents.UserGroups = deserializeAws_queryUserGroupList(smithy_client_1.getArrayIfSingleItem(output["UserGroups"]["member"]), context);
10096
10096
  }
10097
10097
  if (output["Marker"] !== undefined) {
10098
- contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
10098
+ contents.Marker = smithy_client_1.expectString(output["Marker"]);
10099
10099
  }
10100
10100
  return contents;
10101
10101
  };
@@ -10108,10 +10108,10 @@ const deserializeAws_queryDescribeUsersResult = (output, context) => {
10108
10108
  contents.Users = [];
10109
10109
  }
10110
10110
  if (output["Users"] !== undefined && output["Users"]["member"] !== undefined) {
10111
- contents.Users = deserializeAws_queryUserList((0, smithy_client_1.getArrayIfSingleItem)(output["Users"]["member"]), context);
10111
+ contents.Users = deserializeAws_queryUserList(smithy_client_1.getArrayIfSingleItem(output["Users"]["member"]), context);
10112
10112
  }
10113
10113
  if (output["Marker"] !== undefined) {
10114
- contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
10114
+ contents.Marker = smithy_client_1.expectString(output["Marker"]);
10115
10115
  }
10116
10116
  return contents;
10117
10117
  };
@@ -10142,7 +10142,7 @@ const deserializeAws_queryDuplicateUserNameFault = (output, context) => {
10142
10142
  message: undefined,
10143
10143
  };
10144
10144
  if (output["message"] !== undefined) {
10145
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10145
+ contents.message = smithy_client_1.expectString(output["message"]);
10146
10146
  }
10147
10147
  return contents;
10148
10148
  };
@@ -10153,13 +10153,13 @@ const deserializeAws_queryEC2SecurityGroup = (output, context) => {
10153
10153
  EC2SecurityGroupOwnerId: undefined,
10154
10154
  };
10155
10155
  if (output["Status"] !== undefined) {
10156
- contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
10156
+ contents.Status = smithy_client_1.expectString(output["Status"]);
10157
10157
  }
10158
10158
  if (output["EC2SecurityGroupName"] !== undefined) {
10159
- contents.EC2SecurityGroupName = (0, smithy_client_1.expectString)(output["EC2SecurityGroupName"]);
10159
+ contents.EC2SecurityGroupName = smithy_client_1.expectString(output["EC2SecurityGroupName"]);
10160
10160
  }
10161
10161
  if (output["EC2SecurityGroupOwnerId"] !== undefined) {
10162
- contents.EC2SecurityGroupOwnerId = (0, smithy_client_1.expectString)(output["EC2SecurityGroupOwnerId"]);
10162
+ contents.EC2SecurityGroupOwnerId = smithy_client_1.expectString(output["EC2SecurityGroupOwnerId"]);
10163
10163
  }
10164
10164
  return contents;
10165
10165
  };
@@ -10179,10 +10179,10 @@ const deserializeAws_queryEndpoint = (output, context) => {
10179
10179
  Port: undefined,
10180
10180
  };
10181
10181
  if (output["Address"] !== undefined) {
10182
- contents.Address = (0, smithy_client_1.expectString)(output["Address"]);
10182
+ contents.Address = smithy_client_1.expectString(output["Address"]);
10183
10183
  }
10184
10184
  if (output["Port"] !== undefined) {
10185
- contents.Port = (0, smithy_client_1.strictParseInt32)(output["Port"]);
10185
+ contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
10186
10186
  }
10187
10187
  return contents;
10188
10188
  };
@@ -10194,23 +10194,23 @@ const deserializeAws_queryEngineDefaults = (output, context) => {
10194
10194
  CacheNodeTypeSpecificParameters: undefined,
10195
10195
  };
10196
10196
  if (output["CacheParameterGroupFamily"] !== undefined) {
10197
- contents.CacheParameterGroupFamily = (0, smithy_client_1.expectString)(output["CacheParameterGroupFamily"]);
10197
+ contents.CacheParameterGroupFamily = smithy_client_1.expectString(output["CacheParameterGroupFamily"]);
10198
10198
  }
10199
10199
  if (output["Marker"] !== undefined) {
10200
- contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
10200
+ contents.Marker = smithy_client_1.expectString(output["Marker"]);
10201
10201
  }
10202
10202
  if (output.Parameters === "") {
10203
10203
  contents.Parameters = [];
10204
10204
  }
10205
10205
  if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
10206
- contents.Parameters = deserializeAws_queryParametersList((0, smithy_client_1.getArrayIfSingleItem)(output["Parameters"]["Parameter"]), context);
10206
+ contents.Parameters = deserializeAws_queryParametersList(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["Parameter"]), context);
10207
10207
  }
10208
10208
  if (output.CacheNodeTypeSpecificParameters === "") {
10209
10209
  contents.CacheNodeTypeSpecificParameters = [];
10210
10210
  }
10211
10211
  if (output["CacheNodeTypeSpecificParameters"] !== undefined &&
10212
10212
  output["CacheNodeTypeSpecificParameters"]["CacheNodeTypeSpecificParameter"] !== undefined) {
10213
- contents.CacheNodeTypeSpecificParameters = deserializeAws_queryCacheNodeTypeSpecificParametersList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheNodeTypeSpecificParameters"]["CacheNodeTypeSpecificParameter"]), context);
10213
+ contents.CacheNodeTypeSpecificParameters = deserializeAws_queryCacheNodeTypeSpecificParametersList(smithy_client_1.getArrayIfSingleItem(output["CacheNodeTypeSpecificParameters"]["CacheNodeTypeSpecificParameter"]), context);
10214
10214
  }
10215
10215
  return contents;
10216
10216
  };
@@ -10222,16 +10222,16 @@ const deserializeAws_queryEvent = (output, context) => {
10222
10222
  Date: undefined,
10223
10223
  };
10224
10224
  if (output["SourceIdentifier"] !== undefined) {
10225
- contents.SourceIdentifier = (0, smithy_client_1.expectString)(output["SourceIdentifier"]);
10225
+ contents.SourceIdentifier = smithy_client_1.expectString(output["SourceIdentifier"]);
10226
10226
  }
10227
10227
  if (output["SourceType"] !== undefined) {
10228
- contents.SourceType = (0, smithy_client_1.expectString)(output["SourceType"]);
10228
+ contents.SourceType = smithy_client_1.expectString(output["SourceType"]);
10229
10229
  }
10230
10230
  if (output["Message"] !== undefined) {
10231
- contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
10231
+ contents.Message = smithy_client_1.expectString(output["Message"]);
10232
10232
  }
10233
10233
  if (output["Date"] !== undefined) {
10234
- contents.Date = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["Date"]));
10234
+ contents.Date = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Date"]));
10235
10235
  }
10236
10236
  return contents;
10237
10237
  };
@@ -10251,13 +10251,13 @@ const deserializeAws_queryEventsMessage = (output, context) => {
10251
10251
  Events: undefined,
10252
10252
  };
10253
10253
  if (output["Marker"] !== undefined) {
10254
- contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
10254
+ contents.Marker = smithy_client_1.expectString(output["Marker"]);
10255
10255
  }
10256
10256
  if (output.Events === "") {
10257
10257
  contents.Events = [];
10258
10258
  }
10259
10259
  if (output["Events"] !== undefined && output["Events"]["Event"] !== undefined) {
10260
- contents.Events = deserializeAws_queryEventList((0, smithy_client_1.getArrayIfSingleItem)(output["Events"]["Event"]), context);
10260
+ contents.Events = deserializeAws_queryEventList(smithy_client_1.getArrayIfSingleItem(output["Events"]["Event"]), context);
10261
10261
  }
10262
10262
  return contents;
10263
10263
  };
@@ -10276,10 +10276,10 @@ const deserializeAws_queryGlobalNodeGroup = (output, context) => {
10276
10276
  Slots: undefined,
10277
10277
  };
10278
10278
  if (output["GlobalNodeGroupId"] !== undefined) {
10279
- contents.GlobalNodeGroupId = (0, smithy_client_1.expectString)(output["GlobalNodeGroupId"]);
10279
+ contents.GlobalNodeGroupId = smithy_client_1.expectString(output["GlobalNodeGroupId"]);
10280
10280
  }
10281
10281
  if (output["Slots"] !== undefined) {
10282
- contents.Slots = (0, smithy_client_1.expectString)(output["Slots"]);
10282
+ contents.Slots = smithy_client_1.expectString(output["Slots"]);
10283
10283
  }
10284
10284
  return contents;
10285
10285
  };
@@ -10310,49 +10310,49 @@ const deserializeAws_queryGlobalReplicationGroup = (output, context) => {
10310
10310
  ARN: undefined,
10311
10311
  };
10312
10312
  if (output["GlobalReplicationGroupId"] !== undefined) {
10313
- contents.GlobalReplicationGroupId = (0, smithy_client_1.expectString)(output["GlobalReplicationGroupId"]);
10313
+ contents.GlobalReplicationGroupId = smithy_client_1.expectString(output["GlobalReplicationGroupId"]);
10314
10314
  }
10315
10315
  if (output["GlobalReplicationGroupDescription"] !== undefined) {
10316
- contents.GlobalReplicationGroupDescription = (0, smithy_client_1.expectString)(output["GlobalReplicationGroupDescription"]);
10316
+ contents.GlobalReplicationGroupDescription = smithy_client_1.expectString(output["GlobalReplicationGroupDescription"]);
10317
10317
  }
10318
10318
  if (output["Status"] !== undefined) {
10319
- contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
10319
+ contents.Status = smithy_client_1.expectString(output["Status"]);
10320
10320
  }
10321
10321
  if (output["CacheNodeType"] !== undefined) {
10322
- contents.CacheNodeType = (0, smithy_client_1.expectString)(output["CacheNodeType"]);
10322
+ contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
10323
10323
  }
10324
10324
  if (output["Engine"] !== undefined) {
10325
- contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
10325
+ contents.Engine = smithy_client_1.expectString(output["Engine"]);
10326
10326
  }
10327
10327
  if (output["EngineVersion"] !== undefined) {
10328
- contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
10328
+ contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
10329
10329
  }
10330
10330
  if (output.Members === "") {
10331
10331
  contents.Members = [];
10332
10332
  }
10333
10333
  if (output["Members"] !== undefined && output["Members"]["GlobalReplicationGroupMember"] !== undefined) {
10334
- contents.Members = deserializeAws_queryGlobalReplicationGroupMemberList((0, smithy_client_1.getArrayIfSingleItem)(output["Members"]["GlobalReplicationGroupMember"]), context);
10334
+ contents.Members = deserializeAws_queryGlobalReplicationGroupMemberList(smithy_client_1.getArrayIfSingleItem(output["Members"]["GlobalReplicationGroupMember"]), context);
10335
10335
  }
10336
10336
  if (output["ClusterEnabled"] !== undefined) {
10337
- contents.ClusterEnabled = (0, smithy_client_1.parseBoolean)(output["ClusterEnabled"]);
10337
+ contents.ClusterEnabled = smithy_client_1.parseBoolean(output["ClusterEnabled"]);
10338
10338
  }
10339
10339
  if (output.GlobalNodeGroups === "") {
10340
10340
  contents.GlobalNodeGroups = [];
10341
10341
  }
10342
10342
  if (output["GlobalNodeGroups"] !== undefined && output["GlobalNodeGroups"]["GlobalNodeGroup"] !== undefined) {
10343
- contents.GlobalNodeGroups = deserializeAws_queryGlobalNodeGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["GlobalNodeGroups"]["GlobalNodeGroup"]), context);
10343
+ contents.GlobalNodeGroups = deserializeAws_queryGlobalNodeGroupList(smithy_client_1.getArrayIfSingleItem(output["GlobalNodeGroups"]["GlobalNodeGroup"]), context);
10344
10344
  }
10345
10345
  if (output["AuthTokenEnabled"] !== undefined) {
10346
- contents.AuthTokenEnabled = (0, smithy_client_1.parseBoolean)(output["AuthTokenEnabled"]);
10346
+ contents.AuthTokenEnabled = smithy_client_1.parseBoolean(output["AuthTokenEnabled"]);
10347
10347
  }
10348
10348
  if (output["TransitEncryptionEnabled"] !== undefined) {
10349
- contents.TransitEncryptionEnabled = (0, smithy_client_1.parseBoolean)(output["TransitEncryptionEnabled"]);
10349
+ contents.TransitEncryptionEnabled = smithy_client_1.parseBoolean(output["TransitEncryptionEnabled"]);
10350
10350
  }
10351
10351
  if (output["AtRestEncryptionEnabled"] !== undefined) {
10352
- contents.AtRestEncryptionEnabled = (0, smithy_client_1.parseBoolean)(output["AtRestEncryptionEnabled"]);
10352
+ contents.AtRestEncryptionEnabled = smithy_client_1.parseBoolean(output["AtRestEncryptionEnabled"]);
10353
10353
  }
10354
10354
  if (output["ARN"] !== undefined) {
10355
- contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
10355
+ contents.ARN = smithy_client_1.expectString(output["ARN"]);
10356
10356
  }
10357
10357
  return contents;
10358
10358
  };
@@ -10361,7 +10361,7 @@ const deserializeAws_queryGlobalReplicationGroupAlreadyExistsFault = (output, co
10361
10361
  message: undefined,
10362
10362
  };
10363
10363
  if (output["message"] !== undefined) {
10364
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10364
+ contents.message = smithy_client_1.expectString(output["message"]);
10365
10365
  }
10366
10366
  return contents;
10367
10367
  };
@@ -10371,10 +10371,10 @@ const deserializeAws_queryGlobalReplicationGroupInfo = (output, context) => {
10371
10371
  GlobalReplicationGroupMemberRole: undefined,
10372
10372
  };
10373
10373
  if (output["GlobalReplicationGroupId"] !== undefined) {
10374
- contents.GlobalReplicationGroupId = (0, smithy_client_1.expectString)(output["GlobalReplicationGroupId"]);
10374
+ contents.GlobalReplicationGroupId = smithy_client_1.expectString(output["GlobalReplicationGroupId"]);
10375
10375
  }
10376
10376
  if (output["GlobalReplicationGroupMemberRole"] !== undefined) {
10377
- contents.GlobalReplicationGroupMemberRole = (0, smithy_client_1.expectString)(output["GlobalReplicationGroupMemberRole"]);
10377
+ contents.GlobalReplicationGroupMemberRole = smithy_client_1.expectString(output["GlobalReplicationGroupMemberRole"]);
10378
10378
  }
10379
10379
  return contents;
10380
10380
  };
@@ -10397,19 +10397,19 @@ const deserializeAws_queryGlobalReplicationGroupMember = (output, context) => {
10397
10397
  Status: undefined,
10398
10398
  };
10399
10399
  if (output["ReplicationGroupId"] !== undefined) {
10400
- contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
10400
+ contents.ReplicationGroupId = smithy_client_1.expectString(output["ReplicationGroupId"]);
10401
10401
  }
10402
10402
  if (output["ReplicationGroupRegion"] !== undefined) {
10403
- contents.ReplicationGroupRegion = (0, smithy_client_1.expectString)(output["ReplicationGroupRegion"]);
10403
+ contents.ReplicationGroupRegion = smithy_client_1.expectString(output["ReplicationGroupRegion"]);
10404
10404
  }
10405
10405
  if (output["Role"] !== undefined) {
10406
- contents.Role = (0, smithy_client_1.expectString)(output["Role"]);
10406
+ contents.Role = smithy_client_1.expectString(output["Role"]);
10407
10407
  }
10408
10408
  if (output["AutomaticFailover"] !== undefined) {
10409
- contents.AutomaticFailover = (0, smithy_client_1.expectString)(output["AutomaticFailover"]);
10409
+ contents.AutomaticFailover = smithy_client_1.expectString(output["AutomaticFailover"]);
10410
10410
  }
10411
10411
  if (output["Status"] !== undefined) {
10412
- contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
10412
+ contents.Status = smithy_client_1.expectString(output["Status"]);
10413
10413
  }
10414
10414
  return contents;
10415
10415
  };
@@ -10428,7 +10428,7 @@ const deserializeAws_queryGlobalReplicationGroupNotFoundFault = (output, context
10428
10428
  message: undefined,
10429
10429
  };
10430
10430
  if (output["message"] !== undefined) {
10431
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10431
+ contents.message = smithy_client_1.expectString(output["message"]);
10432
10432
  }
10433
10433
  return contents;
10434
10434
  };
@@ -10455,7 +10455,7 @@ const deserializeAws_queryInsufficientCacheClusterCapacityFault = (output, conte
10455
10455
  message: undefined,
10456
10456
  };
10457
10457
  if (output["message"] !== undefined) {
10458
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10458
+ contents.message = smithy_client_1.expectString(output["message"]);
10459
10459
  }
10460
10460
  return contents;
10461
10461
  };
@@ -10464,7 +10464,7 @@ const deserializeAws_queryInvalidARNFault = (output, context) => {
10464
10464
  message: undefined,
10465
10465
  };
10466
10466
  if (output["message"] !== undefined) {
10467
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10467
+ contents.message = smithy_client_1.expectString(output["message"]);
10468
10468
  }
10469
10469
  return contents;
10470
10470
  };
@@ -10473,7 +10473,7 @@ const deserializeAws_queryInvalidCacheClusterStateFault = (output, context) => {
10473
10473
  message: undefined,
10474
10474
  };
10475
10475
  if (output["message"] !== undefined) {
10476
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10476
+ contents.message = smithy_client_1.expectString(output["message"]);
10477
10477
  }
10478
10478
  return contents;
10479
10479
  };
@@ -10482,7 +10482,7 @@ const deserializeAws_queryInvalidCacheParameterGroupStateFault = (output, contex
10482
10482
  message: undefined,
10483
10483
  };
10484
10484
  if (output["message"] !== undefined) {
10485
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10485
+ contents.message = smithy_client_1.expectString(output["message"]);
10486
10486
  }
10487
10487
  return contents;
10488
10488
  };
@@ -10491,7 +10491,7 @@ const deserializeAws_queryInvalidCacheSecurityGroupStateFault = (output, context
10491
10491
  message: undefined,
10492
10492
  };
10493
10493
  if (output["message"] !== undefined) {
10494
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10494
+ contents.message = smithy_client_1.expectString(output["message"]);
10495
10495
  }
10496
10496
  return contents;
10497
10497
  };
@@ -10500,7 +10500,7 @@ const deserializeAws_queryInvalidGlobalReplicationGroupStateFault = (output, con
10500
10500
  message: undefined,
10501
10501
  };
10502
10502
  if (output["message"] !== undefined) {
10503
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10503
+ contents.message = smithy_client_1.expectString(output["message"]);
10504
10504
  }
10505
10505
  return contents;
10506
10506
  };
@@ -10509,7 +10509,7 @@ const deserializeAws_queryInvalidKMSKeyFault = (output, context) => {
10509
10509
  message: undefined,
10510
10510
  };
10511
10511
  if (output["message"] !== undefined) {
10512
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10512
+ contents.message = smithy_client_1.expectString(output["message"]);
10513
10513
  }
10514
10514
  return contents;
10515
10515
  };
@@ -10518,7 +10518,7 @@ const deserializeAws_queryInvalidParameterCombinationException = (output, contex
10518
10518
  message: undefined,
10519
10519
  };
10520
10520
  if (output["message"] !== undefined) {
10521
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10521
+ contents.message = smithy_client_1.expectString(output["message"]);
10522
10522
  }
10523
10523
  return contents;
10524
10524
  };
@@ -10527,7 +10527,7 @@ const deserializeAws_queryInvalidParameterValueException = (output, context) =>
10527
10527
  message: undefined,
10528
10528
  };
10529
10529
  if (output["message"] !== undefined) {
10530
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10530
+ contents.message = smithy_client_1.expectString(output["message"]);
10531
10531
  }
10532
10532
  return contents;
10533
10533
  };
@@ -10536,7 +10536,7 @@ const deserializeAws_queryInvalidReplicationGroupStateFault = (output, context)
10536
10536
  message: undefined,
10537
10537
  };
10538
10538
  if (output["message"] !== undefined) {
10539
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10539
+ contents.message = smithy_client_1.expectString(output["message"]);
10540
10540
  }
10541
10541
  return contents;
10542
10542
  };
@@ -10545,7 +10545,7 @@ const deserializeAws_queryInvalidSnapshotStateFault = (output, context) => {
10545
10545
  message: undefined,
10546
10546
  };
10547
10547
  if (output["message"] !== undefined) {
10548
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10548
+ contents.message = smithy_client_1.expectString(output["message"]);
10549
10549
  }
10550
10550
  return contents;
10551
10551
  };
@@ -10554,7 +10554,7 @@ const deserializeAws_queryInvalidSubnet = (output, context) => {
10554
10554
  message: undefined,
10555
10555
  };
10556
10556
  if (output["message"] !== undefined) {
10557
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10557
+ contents.message = smithy_client_1.expectString(output["message"]);
10558
10558
  }
10559
10559
  return contents;
10560
10560
  };
@@ -10563,7 +10563,7 @@ const deserializeAws_queryInvalidUserGroupStateFault = (output, context) => {
10563
10563
  message: undefined,
10564
10564
  };
10565
10565
  if (output["message"] !== undefined) {
10566
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10566
+ contents.message = smithy_client_1.expectString(output["message"]);
10567
10567
  }
10568
10568
  return contents;
10569
10569
  };
@@ -10572,7 +10572,7 @@ const deserializeAws_queryInvalidUserStateFault = (output, context) => {
10572
10572
  message: undefined,
10573
10573
  };
10574
10574
  if (output["message"] !== undefined) {
10575
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10575
+ contents.message = smithy_client_1.expectString(output["message"]);
10576
10576
  }
10577
10577
  return contents;
10578
10578
  };
@@ -10581,7 +10581,7 @@ const deserializeAws_queryInvalidVPCNetworkStateFault = (output, context) => {
10581
10581
  message: undefined,
10582
10582
  };
10583
10583
  if (output["message"] !== undefined) {
10584
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10584
+ contents.message = smithy_client_1.expectString(output["message"]);
10585
10585
  }
10586
10586
  return contents;
10587
10587
  };
@@ -10590,7 +10590,7 @@ const deserializeAws_queryKinesisFirehoseDestinationDetails = (output, context)
10590
10590
  DeliveryStream: undefined,
10591
10591
  };
10592
10592
  if (output["DeliveryStream"] !== undefined) {
10593
- contents.DeliveryStream = (0, smithy_client_1.expectString)(output["DeliveryStream"]);
10593
+ contents.DeliveryStream = smithy_client_1.expectString(output["DeliveryStream"]);
10594
10594
  }
10595
10595
  return contents;
10596
10596
  };
@@ -10604,22 +10604,22 @@ const deserializeAws_queryLogDeliveryConfiguration = (output, context) => {
10604
10604
  Message: undefined,
10605
10605
  };
10606
10606
  if (output["LogType"] !== undefined) {
10607
- contents.LogType = (0, smithy_client_1.expectString)(output["LogType"]);
10607
+ contents.LogType = smithy_client_1.expectString(output["LogType"]);
10608
10608
  }
10609
10609
  if (output["DestinationType"] !== undefined) {
10610
- contents.DestinationType = (0, smithy_client_1.expectString)(output["DestinationType"]);
10610
+ contents.DestinationType = smithy_client_1.expectString(output["DestinationType"]);
10611
10611
  }
10612
10612
  if (output["DestinationDetails"] !== undefined) {
10613
10613
  contents.DestinationDetails = deserializeAws_queryDestinationDetails(output["DestinationDetails"], context);
10614
10614
  }
10615
10615
  if (output["LogFormat"] !== undefined) {
10616
- contents.LogFormat = (0, smithy_client_1.expectString)(output["LogFormat"]);
10616
+ contents.LogFormat = smithy_client_1.expectString(output["LogFormat"]);
10617
10617
  }
10618
10618
  if (output["Status"] !== undefined) {
10619
- contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
10619
+ contents.Status = smithy_client_1.expectString(output["Status"]);
10620
10620
  }
10621
10621
  if (output["Message"] !== undefined) {
10622
- contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
10622
+ contents.Message = smithy_client_1.expectString(output["Message"]);
10623
10623
  }
10624
10624
  return contents;
10625
10625
  };
@@ -10688,10 +10688,10 @@ const deserializeAws_queryNodeGroup = (output, context) => {
10688
10688
  NodeGroupMembers: undefined,
10689
10689
  };
10690
10690
  if (output["NodeGroupId"] !== undefined) {
10691
- contents.NodeGroupId = (0, smithy_client_1.expectString)(output["NodeGroupId"]);
10691
+ contents.NodeGroupId = smithy_client_1.expectString(output["NodeGroupId"]);
10692
10692
  }
10693
10693
  if (output["Status"] !== undefined) {
10694
- contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
10694
+ contents.Status = smithy_client_1.expectString(output["Status"]);
10695
10695
  }
10696
10696
  if (output["PrimaryEndpoint"] !== undefined) {
10697
10697
  contents.PrimaryEndpoint = deserializeAws_queryEndpoint(output["PrimaryEndpoint"], context);
@@ -10700,13 +10700,13 @@ const deserializeAws_queryNodeGroup = (output, context) => {
10700
10700
  contents.ReaderEndpoint = deserializeAws_queryEndpoint(output["ReaderEndpoint"], context);
10701
10701
  }
10702
10702
  if (output["Slots"] !== undefined) {
10703
- contents.Slots = (0, smithy_client_1.expectString)(output["Slots"]);
10703
+ contents.Slots = smithy_client_1.expectString(output["Slots"]);
10704
10704
  }
10705
10705
  if (output.NodeGroupMembers === "") {
10706
10706
  contents.NodeGroupMembers = [];
10707
10707
  }
10708
10708
  if (output["NodeGroupMembers"] !== undefined && output["NodeGroupMembers"]["NodeGroupMember"] !== undefined) {
10709
- contents.NodeGroupMembers = deserializeAws_queryNodeGroupMemberList((0, smithy_client_1.getArrayIfSingleItem)(output["NodeGroupMembers"]["NodeGroupMember"]), context);
10709
+ contents.NodeGroupMembers = deserializeAws_queryNodeGroupMemberList(smithy_client_1.getArrayIfSingleItem(output["NodeGroupMembers"]["NodeGroupMember"]), context);
10710
10710
  }
10711
10711
  return contents;
10712
10712
  };
@@ -10721,32 +10721,32 @@ const deserializeAws_queryNodeGroupConfiguration = (output, context) => {
10721
10721
  ReplicaOutpostArns: undefined,
10722
10722
  };
10723
10723
  if (output["NodeGroupId"] !== undefined) {
10724
- contents.NodeGroupId = (0, smithy_client_1.expectString)(output["NodeGroupId"]);
10724
+ contents.NodeGroupId = smithy_client_1.expectString(output["NodeGroupId"]);
10725
10725
  }
10726
10726
  if (output["Slots"] !== undefined) {
10727
- contents.Slots = (0, smithy_client_1.expectString)(output["Slots"]);
10727
+ contents.Slots = smithy_client_1.expectString(output["Slots"]);
10728
10728
  }
10729
10729
  if (output["ReplicaCount"] !== undefined) {
10730
- contents.ReplicaCount = (0, smithy_client_1.strictParseInt32)(output["ReplicaCount"]);
10730
+ contents.ReplicaCount = smithy_client_1.strictParseInt32(output["ReplicaCount"]);
10731
10731
  }
10732
10732
  if (output["PrimaryAvailabilityZone"] !== undefined) {
10733
- contents.PrimaryAvailabilityZone = (0, smithy_client_1.expectString)(output["PrimaryAvailabilityZone"]);
10733
+ contents.PrimaryAvailabilityZone = smithy_client_1.expectString(output["PrimaryAvailabilityZone"]);
10734
10734
  }
10735
10735
  if (output.ReplicaAvailabilityZones === "") {
10736
10736
  contents.ReplicaAvailabilityZones = [];
10737
10737
  }
10738
10738
  if (output["ReplicaAvailabilityZones"] !== undefined &&
10739
10739
  output["ReplicaAvailabilityZones"]["AvailabilityZone"] !== undefined) {
10740
- contents.ReplicaAvailabilityZones = deserializeAws_queryAvailabilityZonesList((0, smithy_client_1.getArrayIfSingleItem)(output["ReplicaAvailabilityZones"]["AvailabilityZone"]), context);
10740
+ contents.ReplicaAvailabilityZones = deserializeAws_queryAvailabilityZonesList(smithy_client_1.getArrayIfSingleItem(output["ReplicaAvailabilityZones"]["AvailabilityZone"]), context);
10741
10741
  }
10742
10742
  if (output["PrimaryOutpostArn"] !== undefined) {
10743
- contents.PrimaryOutpostArn = (0, smithy_client_1.expectString)(output["PrimaryOutpostArn"]);
10743
+ contents.PrimaryOutpostArn = smithy_client_1.expectString(output["PrimaryOutpostArn"]);
10744
10744
  }
10745
10745
  if (output.ReplicaOutpostArns === "") {
10746
10746
  contents.ReplicaOutpostArns = [];
10747
10747
  }
10748
10748
  if (output["ReplicaOutpostArns"] !== undefined && output["ReplicaOutpostArns"]["OutpostArn"] !== undefined) {
10749
- contents.ReplicaOutpostArns = deserializeAws_queryOutpostArnsList((0, smithy_client_1.getArrayIfSingleItem)(output["ReplicaOutpostArns"]["OutpostArn"]), context);
10749
+ contents.ReplicaOutpostArns = deserializeAws_queryOutpostArnsList(smithy_client_1.getArrayIfSingleItem(output["ReplicaOutpostArns"]["OutpostArn"]), context);
10750
10750
  }
10751
10751
  return contents;
10752
10752
  };
@@ -10770,22 +10770,22 @@ const deserializeAws_queryNodeGroupMember = (output, context) => {
10770
10770
  CurrentRole: undefined,
10771
10771
  };
10772
10772
  if (output["CacheClusterId"] !== undefined) {
10773
- contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
10773
+ contents.CacheClusterId = smithy_client_1.expectString(output["CacheClusterId"]);
10774
10774
  }
10775
10775
  if (output["CacheNodeId"] !== undefined) {
10776
- contents.CacheNodeId = (0, smithy_client_1.expectString)(output["CacheNodeId"]);
10776
+ contents.CacheNodeId = smithy_client_1.expectString(output["CacheNodeId"]);
10777
10777
  }
10778
10778
  if (output["ReadEndpoint"] !== undefined) {
10779
10779
  contents.ReadEndpoint = deserializeAws_queryEndpoint(output["ReadEndpoint"], context);
10780
10780
  }
10781
10781
  if (output["PreferredAvailabilityZone"] !== undefined) {
10782
- contents.PreferredAvailabilityZone = (0, smithy_client_1.expectString)(output["PreferredAvailabilityZone"]);
10782
+ contents.PreferredAvailabilityZone = smithy_client_1.expectString(output["PreferredAvailabilityZone"]);
10783
10783
  }
10784
10784
  if (output["PreferredOutpostArn"] !== undefined) {
10785
- contents.PreferredOutpostArn = (0, smithy_client_1.expectString)(output["PreferredOutpostArn"]);
10785
+ contents.PreferredOutpostArn = smithy_client_1.expectString(output["PreferredOutpostArn"]);
10786
10786
  }
10787
10787
  if (output["CurrentRole"] !== undefined) {
10788
- contents.CurrentRole = (0, smithy_client_1.expectString)(output["CurrentRole"]);
10788
+ contents.CurrentRole = smithy_client_1.expectString(output["CurrentRole"]);
10789
10789
  }
10790
10790
  return contents;
10791
10791
  };
@@ -10812,31 +10812,31 @@ const deserializeAws_queryNodeGroupMemberUpdateStatus = (output, context) => {
10812
10812
  NodeUpdateStatusModifiedDate: undefined,
10813
10813
  };
10814
10814
  if (output["CacheClusterId"] !== undefined) {
10815
- contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
10815
+ contents.CacheClusterId = smithy_client_1.expectString(output["CacheClusterId"]);
10816
10816
  }
10817
10817
  if (output["CacheNodeId"] !== undefined) {
10818
- contents.CacheNodeId = (0, smithy_client_1.expectString)(output["CacheNodeId"]);
10818
+ contents.CacheNodeId = smithy_client_1.expectString(output["CacheNodeId"]);
10819
10819
  }
10820
10820
  if (output["NodeUpdateStatus"] !== undefined) {
10821
- contents.NodeUpdateStatus = (0, smithy_client_1.expectString)(output["NodeUpdateStatus"]);
10821
+ contents.NodeUpdateStatus = smithy_client_1.expectString(output["NodeUpdateStatus"]);
10822
10822
  }
10823
10823
  if (output["NodeDeletionDate"] !== undefined) {
10824
- contents.NodeDeletionDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeDeletionDate"]));
10824
+ contents.NodeDeletionDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeDeletionDate"]));
10825
10825
  }
10826
10826
  if (output["NodeUpdateStartDate"] !== undefined) {
10827
- contents.NodeUpdateStartDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeUpdateStartDate"]));
10827
+ contents.NodeUpdateStartDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateStartDate"]));
10828
10828
  }
10829
10829
  if (output["NodeUpdateEndDate"] !== undefined) {
10830
- contents.NodeUpdateEndDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeUpdateEndDate"]));
10830
+ contents.NodeUpdateEndDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateEndDate"]));
10831
10831
  }
10832
10832
  if (output["NodeUpdateInitiatedBy"] !== undefined) {
10833
- contents.NodeUpdateInitiatedBy = (0, smithy_client_1.expectString)(output["NodeUpdateInitiatedBy"]);
10833
+ contents.NodeUpdateInitiatedBy = smithy_client_1.expectString(output["NodeUpdateInitiatedBy"]);
10834
10834
  }
10835
10835
  if (output["NodeUpdateInitiatedDate"] !== undefined) {
10836
- contents.NodeUpdateInitiatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeUpdateInitiatedDate"]));
10836
+ contents.NodeUpdateInitiatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateInitiatedDate"]));
10837
10837
  }
10838
10838
  if (output["NodeUpdateStatusModifiedDate"] !== undefined) {
10839
- contents.NodeUpdateStatusModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NodeUpdateStatusModifiedDate"]));
10839
+ contents.NodeUpdateStatusModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateStatusModifiedDate"]));
10840
10840
  }
10841
10841
  return contents;
10842
10842
  };
@@ -10855,7 +10855,7 @@ const deserializeAws_queryNodeGroupNotFoundFault = (output, context) => {
10855
10855
  message: undefined,
10856
10856
  };
10857
10857
  if (output["message"] !== undefined) {
10858
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10858
+ contents.message = smithy_client_1.expectString(output["message"]);
10859
10859
  }
10860
10860
  return contents;
10861
10861
  };
@@ -10864,7 +10864,7 @@ const deserializeAws_queryNodeGroupsPerReplicationGroupQuotaExceededFault = (out
10864
10864
  message: undefined,
10865
10865
  };
10866
10866
  if (output["message"] !== undefined) {
10867
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10867
+ contents.message = smithy_client_1.expectString(output["message"]);
10868
10868
  }
10869
10869
  return contents;
10870
10870
  };
@@ -10874,14 +10874,14 @@ const deserializeAws_queryNodeGroupUpdateStatus = (output, context) => {
10874
10874
  NodeGroupMemberUpdateStatus: undefined,
10875
10875
  };
10876
10876
  if (output["NodeGroupId"] !== undefined) {
10877
- contents.NodeGroupId = (0, smithy_client_1.expectString)(output["NodeGroupId"]);
10877
+ contents.NodeGroupId = smithy_client_1.expectString(output["NodeGroupId"]);
10878
10878
  }
10879
10879
  if (output.NodeGroupMemberUpdateStatus === "") {
10880
10880
  contents.NodeGroupMemberUpdateStatus = [];
10881
10881
  }
10882
10882
  if (output["NodeGroupMemberUpdateStatus"] !== undefined &&
10883
10883
  output["NodeGroupMemberUpdateStatus"]["NodeGroupMemberUpdateStatus"] !== undefined) {
10884
- contents.NodeGroupMemberUpdateStatus = deserializeAws_queryNodeGroupMemberUpdateStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["NodeGroupMemberUpdateStatus"]["NodeGroupMemberUpdateStatus"]), context);
10884
+ contents.NodeGroupMemberUpdateStatus = deserializeAws_queryNodeGroupMemberUpdateStatusList(smithy_client_1.getArrayIfSingleItem(output["NodeGroupMemberUpdateStatus"]["NodeGroupMemberUpdateStatus"]), context);
10885
10885
  }
10886
10886
  return contents;
10887
10887
  };
@@ -10900,7 +10900,7 @@ const deserializeAws_queryNodeQuotaForClusterExceededFault = (output, context) =
10900
10900
  message: undefined,
10901
10901
  };
10902
10902
  if (output["message"] !== undefined) {
10903
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10903
+ contents.message = smithy_client_1.expectString(output["message"]);
10904
10904
  }
10905
10905
  return contents;
10906
10906
  };
@@ -10909,7 +10909,7 @@ const deserializeAws_queryNodeQuotaForCustomerExceededFault = (output, context)
10909
10909
  message: undefined,
10910
10910
  };
10911
10911
  if (output["message"] !== undefined) {
10912
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10912
+ contents.message = smithy_client_1.expectString(output["message"]);
10913
10913
  }
10914
10914
  return contents;
10915
10915
  };
@@ -10924,25 +10924,25 @@ const deserializeAws_queryNodeSnapshot = (output, context) => {
10924
10924
  SnapshotCreateTime: undefined,
10925
10925
  };
10926
10926
  if (output["CacheClusterId"] !== undefined) {
10927
- contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
10927
+ contents.CacheClusterId = smithy_client_1.expectString(output["CacheClusterId"]);
10928
10928
  }
10929
10929
  if (output["NodeGroupId"] !== undefined) {
10930
- contents.NodeGroupId = (0, smithy_client_1.expectString)(output["NodeGroupId"]);
10930
+ contents.NodeGroupId = smithy_client_1.expectString(output["NodeGroupId"]);
10931
10931
  }
10932
10932
  if (output["CacheNodeId"] !== undefined) {
10933
- contents.CacheNodeId = (0, smithy_client_1.expectString)(output["CacheNodeId"]);
10933
+ contents.CacheNodeId = smithy_client_1.expectString(output["CacheNodeId"]);
10934
10934
  }
10935
10935
  if (output["NodeGroupConfiguration"] !== undefined) {
10936
10936
  contents.NodeGroupConfiguration = deserializeAws_queryNodeGroupConfiguration(output["NodeGroupConfiguration"], context);
10937
10937
  }
10938
10938
  if (output["CacheSize"] !== undefined) {
10939
- contents.CacheSize = (0, smithy_client_1.expectString)(output["CacheSize"]);
10939
+ contents.CacheSize = smithy_client_1.expectString(output["CacheSize"]);
10940
10940
  }
10941
10941
  if (output["CacheNodeCreateTime"] !== undefined) {
10942
- contents.CacheNodeCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CacheNodeCreateTime"]));
10942
+ contents.CacheNodeCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CacheNodeCreateTime"]));
10943
10943
  }
10944
10944
  if (output["SnapshotCreateTime"] !== undefined) {
10945
- contents.SnapshotCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["SnapshotCreateTime"]));
10945
+ contents.SnapshotCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["SnapshotCreateTime"]));
10946
10946
  }
10947
10947
  return contents;
10948
10948
  };
@@ -10963,7 +10963,7 @@ const deserializeAws_queryNodeTypeList = (output, context) => {
10963
10963
  if (entry === null) {
10964
10964
  return null;
10965
10965
  }
10966
- return (0, smithy_client_1.expectString)(entry);
10966
+ return smithy_client_1.expectString(entry);
10967
10967
  });
10968
10968
  };
10969
10969
  const deserializeAws_queryNoOperationFault = (output, context) => {
@@ -10971,7 +10971,7 @@ const deserializeAws_queryNoOperationFault = (output, context) => {
10971
10971
  message: undefined,
10972
10972
  };
10973
10973
  if (output["message"] !== undefined) {
10974
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
10974
+ contents.message = smithy_client_1.expectString(output["message"]);
10975
10975
  }
10976
10976
  return contents;
10977
10977
  };
@@ -10981,10 +10981,10 @@ const deserializeAws_queryNotificationConfiguration = (output, context) => {
10981
10981
  TopicStatus: undefined,
10982
10982
  };
10983
10983
  if (output["TopicArn"] !== undefined) {
10984
- contents.TopicArn = (0, smithy_client_1.expectString)(output["TopicArn"]);
10984
+ contents.TopicArn = smithy_client_1.expectString(output["TopicArn"]);
10985
10985
  }
10986
10986
  if (output["TopicStatus"] !== undefined) {
10987
- contents.TopicStatus = (0, smithy_client_1.expectString)(output["TopicStatus"]);
10987
+ contents.TopicStatus = smithy_client_1.expectString(output["TopicStatus"]);
10988
10988
  }
10989
10989
  return contents;
10990
10990
  };
@@ -10995,7 +10995,7 @@ const deserializeAws_queryOutpostArnsList = (output, context) => {
10995
10995
  if (entry === null) {
10996
10996
  return null;
10997
10997
  }
10998
- return (0, smithy_client_1.expectString)(entry);
10998
+ return smithy_client_1.expectString(entry);
10999
10999
  });
11000
11000
  };
11001
11001
  const deserializeAws_queryParameter = (output, context) => {
@@ -11011,31 +11011,31 @@ const deserializeAws_queryParameter = (output, context) => {
11011
11011
  ChangeType: undefined,
11012
11012
  };
11013
11013
  if (output["ParameterName"] !== undefined) {
11014
- contents.ParameterName = (0, smithy_client_1.expectString)(output["ParameterName"]);
11014
+ contents.ParameterName = smithy_client_1.expectString(output["ParameterName"]);
11015
11015
  }
11016
11016
  if (output["ParameterValue"] !== undefined) {
11017
- contents.ParameterValue = (0, smithy_client_1.expectString)(output["ParameterValue"]);
11017
+ contents.ParameterValue = smithy_client_1.expectString(output["ParameterValue"]);
11018
11018
  }
11019
11019
  if (output["Description"] !== undefined) {
11020
- contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
11020
+ contents.Description = smithy_client_1.expectString(output["Description"]);
11021
11021
  }
11022
11022
  if (output["Source"] !== undefined) {
11023
- contents.Source = (0, smithy_client_1.expectString)(output["Source"]);
11023
+ contents.Source = smithy_client_1.expectString(output["Source"]);
11024
11024
  }
11025
11025
  if (output["DataType"] !== undefined) {
11026
- contents.DataType = (0, smithy_client_1.expectString)(output["DataType"]);
11026
+ contents.DataType = smithy_client_1.expectString(output["DataType"]);
11027
11027
  }
11028
11028
  if (output["AllowedValues"] !== undefined) {
11029
- contents.AllowedValues = (0, smithy_client_1.expectString)(output["AllowedValues"]);
11029
+ contents.AllowedValues = smithy_client_1.expectString(output["AllowedValues"]);
11030
11030
  }
11031
11031
  if (output["IsModifiable"] !== undefined) {
11032
- contents.IsModifiable = (0, smithy_client_1.parseBoolean)(output["IsModifiable"]);
11032
+ contents.IsModifiable = smithy_client_1.parseBoolean(output["IsModifiable"]);
11033
11033
  }
11034
11034
  if (output["MinimumEngineVersion"] !== undefined) {
11035
- contents.MinimumEngineVersion = (0, smithy_client_1.expectString)(output["MinimumEngineVersion"]);
11035
+ contents.MinimumEngineVersion = smithy_client_1.expectString(output["MinimumEngineVersion"]);
11036
11036
  }
11037
11037
  if (output["ChangeType"] !== undefined) {
11038
- contents.ChangeType = (0, smithy_client_1.expectString)(output["ChangeType"]);
11038
+ contents.ChangeType = smithy_client_1.expectString(output["ChangeType"]);
11039
11039
  }
11040
11040
  return contents;
11041
11041
  };
@@ -11057,16 +11057,16 @@ const deserializeAws_queryPendingLogDeliveryConfiguration = (output, context) =>
11057
11057
  LogFormat: undefined,
11058
11058
  };
11059
11059
  if (output["LogType"] !== undefined) {
11060
- contents.LogType = (0, smithy_client_1.expectString)(output["LogType"]);
11060
+ contents.LogType = smithy_client_1.expectString(output["LogType"]);
11061
11061
  }
11062
11062
  if (output["DestinationType"] !== undefined) {
11063
- contents.DestinationType = (0, smithy_client_1.expectString)(output["DestinationType"]);
11063
+ contents.DestinationType = smithy_client_1.expectString(output["DestinationType"]);
11064
11064
  }
11065
11065
  if (output["DestinationDetails"] !== undefined) {
11066
11066
  contents.DestinationDetails = deserializeAws_queryDestinationDetails(output["DestinationDetails"], context);
11067
11067
  }
11068
11068
  if (output["LogFormat"] !== undefined) {
11069
- contents.LogFormat = (0, smithy_client_1.expectString)(output["LogFormat"]);
11069
+ contents.LogFormat = smithy_client_1.expectString(output["LogFormat"]);
11070
11070
  }
11071
11071
  return contents;
11072
11072
  };
@@ -11090,29 +11090,29 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
11090
11090
  LogDeliveryConfigurations: undefined,
11091
11091
  };
11092
11092
  if (output["NumCacheNodes"] !== undefined) {
11093
- contents.NumCacheNodes = (0, smithy_client_1.strictParseInt32)(output["NumCacheNodes"]);
11093
+ contents.NumCacheNodes = smithy_client_1.strictParseInt32(output["NumCacheNodes"]);
11094
11094
  }
11095
11095
  if (output.CacheNodeIdsToRemove === "") {
11096
11096
  contents.CacheNodeIdsToRemove = [];
11097
11097
  }
11098
11098
  if (output["CacheNodeIdsToRemove"] !== undefined && output["CacheNodeIdsToRemove"]["CacheNodeId"] !== undefined) {
11099
- contents.CacheNodeIdsToRemove = deserializeAws_queryCacheNodeIdsList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheNodeIdsToRemove"]["CacheNodeId"]), context);
11099
+ contents.CacheNodeIdsToRemove = deserializeAws_queryCacheNodeIdsList(smithy_client_1.getArrayIfSingleItem(output["CacheNodeIdsToRemove"]["CacheNodeId"]), context);
11100
11100
  }
11101
11101
  if (output["EngineVersion"] !== undefined) {
11102
- contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
11102
+ contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
11103
11103
  }
11104
11104
  if (output["CacheNodeType"] !== undefined) {
11105
- contents.CacheNodeType = (0, smithy_client_1.expectString)(output["CacheNodeType"]);
11105
+ contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
11106
11106
  }
11107
11107
  if (output["AuthTokenStatus"] !== undefined) {
11108
- contents.AuthTokenStatus = (0, smithy_client_1.expectString)(output["AuthTokenStatus"]);
11108
+ contents.AuthTokenStatus = smithy_client_1.expectString(output["AuthTokenStatus"]);
11109
11109
  }
11110
11110
  if (output.LogDeliveryConfigurations === "") {
11111
11111
  contents.LogDeliveryConfigurations = [];
11112
11112
  }
11113
11113
  if (output["LogDeliveryConfigurations"] !== undefined &&
11114
11114
  output["LogDeliveryConfigurations"]["member"] !== undefined) {
11115
- contents.LogDeliveryConfigurations = deserializeAws_queryPendingLogDeliveryConfigurationList((0, smithy_client_1.getArrayIfSingleItem)(output["LogDeliveryConfigurations"]["member"]), context);
11115
+ contents.LogDeliveryConfigurations = deserializeAws_queryPendingLogDeliveryConfigurationList(smithy_client_1.getArrayIfSingleItem(output["LogDeliveryConfigurations"]["member"]), context);
11116
11116
  }
11117
11117
  return contents;
11118
11118
  };
@@ -11124,16 +11124,16 @@ const deserializeAws_queryProcessedUpdateAction = (output, context) => {
11124
11124
  UpdateActionStatus: undefined,
11125
11125
  };
11126
11126
  if (output["ReplicationGroupId"] !== undefined) {
11127
- contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
11127
+ contents.ReplicationGroupId = smithy_client_1.expectString(output["ReplicationGroupId"]);
11128
11128
  }
11129
11129
  if (output["CacheClusterId"] !== undefined) {
11130
- contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
11130
+ contents.CacheClusterId = smithy_client_1.expectString(output["CacheClusterId"]);
11131
11131
  }
11132
11132
  if (output["ServiceUpdateName"] !== undefined) {
11133
- contents.ServiceUpdateName = (0, smithy_client_1.expectString)(output["ServiceUpdateName"]);
11133
+ contents.ServiceUpdateName = smithy_client_1.expectString(output["ServiceUpdateName"]);
11134
11134
  }
11135
11135
  if (output["UpdateActionStatus"] !== undefined) {
11136
- contents.UpdateActionStatus = (0, smithy_client_1.expectString)(output["UpdateActionStatus"]);
11136
+ contents.UpdateActionStatus = smithy_client_1.expectString(output["UpdateActionStatus"]);
11137
11137
  }
11138
11138
  return contents;
11139
11139
  };
@@ -11180,10 +11180,10 @@ const deserializeAws_queryRecurringCharge = (output, context) => {
11180
11180
  RecurringChargeFrequency: undefined,
11181
11181
  };
11182
11182
  if (output["RecurringChargeAmount"] !== undefined) {
11183
- contents.RecurringChargeAmount = (0, smithy_client_1.strictParseFloat)(output["RecurringChargeAmount"]);
11183
+ contents.RecurringChargeAmount = smithy_client_1.strictParseFloat(output["RecurringChargeAmount"]);
11184
11184
  }
11185
11185
  if (output["RecurringChargeFrequency"] !== undefined) {
11186
- contents.RecurringChargeFrequency = (0, smithy_client_1.expectString)(output["RecurringChargeFrequency"]);
11186
+ contents.RecurringChargeFrequency = smithy_client_1.expectString(output["RecurringChargeFrequency"]);
11187
11187
  }
11188
11188
  return contents;
11189
11189
  };
@@ -11226,16 +11226,16 @@ const deserializeAws_queryReplicationGroup = (output, context) => {
11226
11226
  ReplicationGroupCreateTime: undefined,
11227
11227
  };
11228
11228
  if (output["ReplicationGroupId"] !== undefined) {
11229
- contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
11229
+ contents.ReplicationGroupId = smithy_client_1.expectString(output["ReplicationGroupId"]);
11230
11230
  }
11231
11231
  if (output["Description"] !== undefined) {
11232
- contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
11232
+ contents.Description = smithy_client_1.expectString(output["Description"]);
11233
11233
  }
11234
11234
  if (output["GlobalReplicationGroupInfo"] !== undefined) {
11235
11235
  contents.GlobalReplicationGroupInfo = deserializeAws_queryGlobalReplicationGroupInfo(output["GlobalReplicationGroupInfo"], context);
11236
11236
  }
11237
11237
  if (output["Status"] !== undefined) {
11238
- contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
11238
+ contents.Status = smithy_client_1.expectString(output["Status"]);
11239
11239
  }
11240
11240
  if (output["PendingModifiedValues"] !== undefined) {
11241
11241
  contents.PendingModifiedValues = deserializeAws_queryReplicationGroupPendingModifiedValues(output["PendingModifiedValues"], context);
@@ -11244,78 +11244,78 @@ const deserializeAws_queryReplicationGroup = (output, context) => {
11244
11244
  contents.MemberClusters = [];
11245
11245
  }
11246
11246
  if (output["MemberClusters"] !== undefined && output["MemberClusters"]["ClusterId"] !== undefined) {
11247
- contents.MemberClusters = deserializeAws_queryClusterIdList((0, smithy_client_1.getArrayIfSingleItem)(output["MemberClusters"]["ClusterId"]), context);
11247
+ contents.MemberClusters = deserializeAws_queryClusterIdList(smithy_client_1.getArrayIfSingleItem(output["MemberClusters"]["ClusterId"]), context);
11248
11248
  }
11249
11249
  if (output.NodeGroups === "") {
11250
11250
  contents.NodeGroups = [];
11251
11251
  }
11252
11252
  if (output["NodeGroups"] !== undefined && output["NodeGroups"]["NodeGroup"] !== undefined) {
11253
- contents.NodeGroups = deserializeAws_queryNodeGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["NodeGroups"]["NodeGroup"]), context);
11253
+ contents.NodeGroups = deserializeAws_queryNodeGroupList(smithy_client_1.getArrayIfSingleItem(output["NodeGroups"]["NodeGroup"]), context);
11254
11254
  }
11255
11255
  if (output["SnapshottingClusterId"] !== undefined) {
11256
- contents.SnapshottingClusterId = (0, smithy_client_1.expectString)(output["SnapshottingClusterId"]);
11256
+ contents.SnapshottingClusterId = smithy_client_1.expectString(output["SnapshottingClusterId"]);
11257
11257
  }
11258
11258
  if (output["AutomaticFailover"] !== undefined) {
11259
- contents.AutomaticFailover = (0, smithy_client_1.expectString)(output["AutomaticFailover"]);
11259
+ contents.AutomaticFailover = smithy_client_1.expectString(output["AutomaticFailover"]);
11260
11260
  }
11261
11261
  if (output["MultiAZ"] !== undefined) {
11262
- contents.MultiAZ = (0, smithy_client_1.expectString)(output["MultiAZ"]);
11262
+ contents.MultiAZ = smithy_client_1.expectString(output["MultiAZ"]);
11263
11263
  }
11264
11264
  if (output["ConfigurationEndpoint"] !== undefined) {
11265
11265
  contents.ConfigurationEndpoint = deserializeAws_queryEndpoint(output["ConfigurationEndpoint"], context);
11266
11266
  }
11267
11267
  if (output["SnapshotRetentionLimit"] !== undefined) {
11268
- contents.SnapshotRetentionLimit = (0, smithy_client_1.strictParseInt32)(output["SnapshotRetentionLimit"]);
11268
+ contents.SnapshotRetentionLimit = smithy_client_1.strictParseInt32(output["SnapshotRetentionLimit"]);
11269
11269
  }
11270
11270
  if (output["SnapshotWindow"] !== undefined) {
11271
- contents.SnapshotWindow = (0, smithy_client_1.expectString)(output["SnapshotWindow"]);
11271
+ contents.SnapshotWindow = smithy_client_1.expectString(output["SnapshotWindow"]);
11272
11272
  }
11273
11273
  if (output["ClusterEnabled"] !== undefined) {
11274
- contents.ClusterEnabled = (0, smithy_client_1.parseBoolean)(output["ClusterEnabled"]);
11274
+ contents.ClusterEnabled = smithy_client_1.parseBoolean(output["ClusterEnabled"]);
11275
11275
  }
11276
11276
  if (output["CacheNodeType"] !== undefined) {
11277
- contents.CacheNodeType = (0, smithy_client_1.expectString)(output["CacheNodeType"]);
11277
+ contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
11278
11278
  }
11279
11279
  if (output["AuthTokenEnabled"] !== undefined) {
11280
- contents.AuthTokenEnabled = (0, smithy_client_1.parseBoolean)(output["AuthTokenEnabled"]);
11280
+ contents.AuthTokenEnabled = smithy_client_1.parseBoolean(output["AuthTokenEnabled"]);
11281
11281
  }
11282
11282
  if (output["AuthTokenLastModifiedDate"] !== undefined) {
11283
- contents.AuthTokenLastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["AuthTokenLastModifiedDate"]));
11283
+ contents.AuthTokenLastModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["AuthTokenLastModifiedDate"]));
11284
11284
  }
11285
11285
  if (output["TransitEncryptionEnabled"] !== undefined) {
11286
- contents.TransitEncryptionEnabled = (0, smithy_client_1.parseBoolean)(output["TransitEncryptionEnabled"]);
11286
+ contents.TransitEncryptionEnabled = smithy_client_1.parseBoolean(output["TransitEncryptionEnabled"]);
11287
11287
  }
11288
11288
  if (output["AtRestEncryptionEnabled"] !== undefined) {
11289
- contents.AtRestEncryptionEnabled = (0, smithy_client_1.parseBoolean)(output["AtRestEncryptionEnabled"]);
11289
+ contents.AtRestEncryptionEnabled = smithy_client_1.parseBoolean(output["AtRestEncryptionEnabled"]);
11290
11290
  }
11291
11291
  if (output.MemberClustersOutpostArns === "") {
11292
11292
  contents.MemberClustersOutpostArns = [];
11293
11293
  }
11294
11294
  if (output["MemberClustersOutpostArns"] !== undefined &&
11295
11295
  output["MemberClustersOutpostArns"]["ReplicationGroupOutpostArn"] !== undefined) {
11296
- contents.MemberClustersOutpostArns = deserializeAws_queryReplicationGroupOutpostArnList((0, smithy_client_1.getArrayIfSingleItem)(output["MemberClustersOutpostArns"]["ReplicationGroupOutpostArn"]), context);
11296
+ contents.MemberClustersOutpostArns = deserializeAws_queryReplicationGroupOutpostArnList(smithy_client_1.getArrayIfSingleItem(output["MemberClustersOutpostArns"]["ReplicationGroupOutpostArn"]), context);
11297
11297
  }
11298
11298
  if (output["KmsKeyId"] !== undefined) {
11299
- contents.KmsKeyId = (0, smithy_client_1.expectString)(output["KmsKeyId"]);
11299
+ contents.KmsKeyId = smithy_client_1.expectString(output["KmsKeyId"]);
11300
11300
  }
11301
11301
  if (output["ARN"] !== undefined) {
11302
- contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
11302
+ contents.ARN = smithy_client_1.expectString(output["ARN"]);
11303
11303
  }
11304
11304
  if (output.UserGroupIds === "") {
11305
11305
  contents.UserGroupIds = [];
11306
11306
  }
11307
11307
  if (output["UserGroupIds"] !== undefined && output["UserGroupIds"]["member"] !== undefined) {
11308
- contents.UserGroupIds = deserializeAws_queryUserGroupIdList((0, smithy_client_1.getArrayIfSingleItem)(output["UserGroupIds"]["member"]), context);
11308
+ contents.UserGroupIds = deserializeAws_queryUserGroupIdList(smithy_client_1.getArrayIfSingleItem(output["UserGroupIds"]["member"]), context);
11309
11309
  }
11310
11310
  if (output.LogDeliveryConfigurations === "") {
11311
11311
  contents.LogDeliveryConfigurations = [];
11312
11312
  }
11313
11313
  if (output["LogDeliveryConfigurations"] !== undefined &&
11314
11314
  output["LogDeliveryConfigurations"]["LogDeliveryConfiguration"] !== undefined) {
11315
- contents.LogDeliveryConfigurations = deserializeAws_queryLogDeliveryConfigurationList((0, smithy_client_1.getArrayIfSingleItem)(output["LogDeliveryConfigurations"]["LogDeliveryConfiguration"]), context);
11315
+ contents.LogDeliveryConfigurations = deserializeAws_queryLogDeliveryConfigurationList(smithy_client_1.getArrayIfSingleItem(output["LogDeliveryConfigurations"]["LogDeliveryConfiguration"]), context);
11316
11316
  }
11317
11317
  if (output["ReplicationGroupCreateTime"] !== undefined) {
11318
- contents.ReplicationGroupCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ReplicationGroupCreateTime"]));
11318
+ contents.ReplicationGroupCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ReplicationGroupCreateTime"]));
11319
11319
  }
11320
11320
  return contents;
11321
11321
  };
@@ -11324,7 +11324,7 @@ const deserializeAws_queryReplicationGroupAlreadyExistsFault = (output, context)
11324
11324
  message: undefined,
11325
11325
  };
11326
11326
  if (output["message"] !== undefined) {
11327
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
11327
+ contents.message = smithy_client_1.expectString(output["message"]);
11328
11328
  }
11329
11329
  return contents;
11330
11330
  };
@@ -11333,7 +11333,7 @@ const deserializeAws_queryReplicationGroupAlreadyUnderMigrationFault = (output,
11333
11333
  message: undefined,
11334
11334
  };
11335
11335
  if (output["message"] !== undefined) {
11336
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
11336
+ contents.message = smithy_client_1.expectString(output["message"]);
11337
11337
  }
11338
11338
  return contents;
11339
11339
  };
@@ -11353,13 +11353,13 @@ const deserializeAws_queryReplicationGroupMessage = (output, context) => {
11353
11353
  ReplicationGroups: undefined,
11354
11354
  };
11355
11355
  if (output["Marker"] !== undefined) {
11356
- contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
11356
+ contents.Marker = smithy_client_1.expectString(output["Marker"]);
11357
11357
  }
11358
11358
  if (output.ReplicationGroups === "") {
11359
11359
  contents.ReplicationGroups = [];
11360
11360
  }
11361
11361
  if (output["ReplicationGroups"] !== undefined && output["ReplicationGroups"]["ReplicationGroup"] !== undefined) {
11362
- contents.ReplicationGroups = deserializeAws_queryReplicationGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["ReplicationGroups"]["ReplicationGroup"]), context);
11362
+ contents.ReplicationGroups = deserializeAws_queryReplicationGroupList(smithy_client_1.getArrayIfSingleItem(output["ReplicationGroups"]["ReplicationGroup"]), context);
11363
11363
  }
11364
11364
  return contents;
11365
11365
  };
@@ -11368,7 +11368,7 @@ const deserializeAws_queryReplicationGroupNotFoundFault = (output, context) => {
11368
11368
  message: undefined,
11369
11369
  };
11370
11370
  if (output["message"] !== undefined) {
11371
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
11371
+ contents.message = smithy_client_1.expectString(output["message"]);
11372
11372
  }
11373
11373
  return contents;
11374
11374
  };
@@ -11377,7 +11377,7 @@ const deserializeAws_queryReplicationGroupNotUnderMigrationFault = (output, cont
11377
11377
  message: undefined,
11378
11378
  };
11379
11379
  if (output["message"] !== undefined) {
11380
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
11380
+ contents.message = smithy_client_1.expectString(output["message"]);
11381
11381
  }
11382
11382
  return contents;
11383
11383
  };
@@ -11388,7 +11388,7 @@ const deserializeAws_queryReplicationGroupOutpostArnList = (output, context) =>
11388
11388
  if (entry === null) {
11389
11389
  return null;
11390
11390
  }
11391
- return (0, smithy_client_1.expectString)(entry);
11391
+ return smithy_client_1.expectString(entry);
11392
11392
  });
11393
11393
  };
11394
11394
  const deserializeAws_queryReplicationGroupPendingModifiedValues = (output, context) => {
@@ -11401,16 +11401,16 @@ const deserializeAws_queryReplicationGroupPendingModifiedValues = (output, conte
11401
11401
  LogDeliveryConfigurations: undefined,
11402
11402
  };
11403
11403
  if (output["PrimaryClusterId"] !== undefined) {
11404
- contents.PrimaryClusterId = (0, smithy_client_1.expectString)(output["PrimaryClusterId"]);
11404
+ contents.PrimaryClusterId = smithy_client_1.expectString(output["PrimaryClusterId"]);
11405
11405
  }
11406
11406
  if (output["AutomaticFailoverStatus"] !== undefined) {
11407
- contents.AutomaticFailoverStatus = (0, smithy_client_1.expectString)(output["AutomaticFailoverStatus"]);
11407
+ contents.AutomaticFailoverStatus = smithy_client_1.expectString(output["AutomaticFailoverStatus"]);
11408
11408
  }
11409
11409
  if (output["Resharding"] !== undefined) {
11410
11410
  contents.Resharding = deserializeAws_queryReshardingStatus(output["Resharding"], context);
11411
11411
  }
11412
11412
  if (output["AuthTokenStatus"] !== undefined) {
11413
- contents.AuthTokenStatus = (0, smithy_client_1.expectString)(output["AuthTokenStatus"]);
11413
+ contents.AuthTokenStatus = smithy_client_1.expectString(output["AuthTokenStatus"]);
11414
11414
  }
11415
11415
  if (output["UserGroups"] !== undefined) {
11416
11416
  contents.UserGroups = deserializeAws_queryUserGroupsUpdateStatus(output["UserGroups"], context);
@@ -11420,7 +11420,7 @@ const deserializeAws_queryReplicationGroupPendingModifiedValues = (output, conte
11420
11420
  }
11421
11421
  if (output["LogDeliveryConfigurations"] !== undefined &&
11422
11422
  output["LogDeliveryConfigurations"]["member"] !== undefined) {
11423
- contents.LogDeliveryConfigurations = deserializeAws_queryPendingLogDeliveryConfigurationList((0, smithy_client_1.getArrayIfSingleItem)(output["LogDeliveryConfigurations"]["member"]), context);
11423
+ contents.LogDeliveryConfigurations = deserializeAws_queryPendingLogDeliveryConfigurationList(smithy_client_1.getArrayIfSingleItem(output["LogDeliveryConfigurations"]["member"]), context);
11424
11424
  }
11425
11425
  return contents;
11426
11426
  };
@@ -11441,46 +11441,46 @@ const deserializeAws_queryReservedCacheNode = (output, context) => {
11441
11441
  ReservationARN: undefined,
11442
11442
  };
11443
11443
  if (output["ReservedCacheNodeId"] !== undefined) {
11444
- contents.ReservedCacheNodeId = (0, smithy_client_1.expectString)(output["ReservedCacheNodeId"]);
11444
+ contents.ReservedCacheNodeId = smithy_client_1.expectString(output["ReservedCacheNodeId"]);
11445
11445
  }
11446
11446
  if (output["ReservedCacheNodesOfferingId"] !== undefined) {
11447
- contents.ReservedCacheNodesOfferingId = (0, smithy_client_1.expectString)(output["ReservedCacheNodesOfferingId"]);
11447
+ contents.ReservedCacheNodesOfferingId = smithy_client_1.expectString(output["ReservedCacheNodesOfferingId"]);
11448
11448
  }
11449
11449
  if (output["CacheNodeType"] !== undefined) {
11450
- contents.CacheNodeType = (0, smithy_client_1.expectString)(output["CacheNodeType"]);
11450
+ contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
11451
11451
  }
11452
11452
  if (output["StartTime"] !== undefined) {
11453
- contents.StartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["StartTime"]));
11453
+ contents.StartTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["StartTime"]));
11454
11454
  }
11455
11455
  if (output["Duration"] !== undefined) {
11456
- contents.Duration = (0, smithy_client_1.strictParseInt32)(output["Duration"]);
11456
+ contents.Duration = smithy_client_1.strictParseInt32(output["Duration"]);
11457
11457
  }
11458
11458
  if (output["FixedPrice"] !== undefined) {
11459
- contents.FixedPrice = (0, smithy_client_1.strictParseFloat)(output["FixedPrice"]);
11459
+ contents.FixedPrice = smithy_client_1.strictParseFloat(output["FixedPrice"]);
11460
11460
  }
11461
11461
  if (output["UsagePrice"] !== undefined) {
11462
- contents.UsagePrice = (0, smithy_client_1.strictParseFloat)(output["UsagePrice"]);
11462
+ contents.UsagePrice = smithy_client_1.strictParseFloat(output["UsagePrice"]);
11463
11463
  }
11464
11464
  if (output["CacheNodeCount"] !== undefined) {
11465
- contents.CacheNodeCount = (0, smithy_client_1.strictParseInt32)(output["CacheNodeCount"]);
11465
+ contents.CacheNodeCount = smithy_client_1.strictParseInt32(output["CacheNodeCount"]);
11466
11466
  }
11467
11467
  if (output["ProductDescription"] !== undefined) {
11468
- contents.ProductDescription = (0, smithy_client_1.expectString)(output["ProductDescription"]);
11468
+ contents.ProductDescription = smithy_client_1.expectString(output["ProductDescription"]);
11469
11469
  }
11470
11470
  if (output["OfferingType"] !== undefined) {
11471
- contents.OfferingType = (0, smithy_client_1.expectString)(output["OfferingType"]);
11471
+ contents.OfferingType = smithy_client_1.expectString(output["OfferingType"]);
11472
11472
  }
11473
11473
  if (output["State"] !== undefined) {
11474
- contents.State = (0, smithy_client_1.expectString)(output["State"]);
11474
+ contents.State = smithy_client_1.expectString(output["State"]);
11475
11475
  }
11476
11476
  if (output.RecurringCharges === "") {
11477
11477
  contents.RecurringCharges = [];
11478
11478
  }
11479
11479
  if (output["RecurringCharges"] !== undefined && output["RecurringCharges"]["RecurringCharge"] !== undefined) {
11480
- contents.RecurringCharges = deserializeAws_queryRecurringChargeList((0, smithy_client_1.getArrayIfSingleItem)(output["RecurringCharges"]["RecurringCharge"]), context);
11480
+ contents.RecurringCharges = deserializeAws_queryRecurringChargeList(smithy_client_1.getArrayIfSingleItem(output["RecurringCharges"]["RecurringCharge"]), context);
11481
11481
  }
11482
11482
  if (output["ReservationARN"] !== undefined) {
11483
- contents.ReservationARN = (0, smithy_client_1.expectString)(output["ReservationARN"]);
11483
+ contents.ReservationARN = smithy_client_1.expectString(output["ReservationARN"]);
11484
11484
  }
11485
11485
  return contents;
11486
11486
  };
@@ -11489,7 +11489,7 @@ const deserializeAws_queryReservedCacheNodeAlreadyExistsFault = (output, context
11489
11489
  message: undefined,
11490
11490
  };
11491
11491
  if (output["message"] !== undefined) {
11492
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
11492
+ contents.message = smithy_client_1.expectString(output["message"]);
11493
11493
  }
11494
11494
  return contents;
11495
11495
  };
@@ -11509,13 +11509,13 @@ const deserializeAws_queryReservedCacheNodeMessage = (output, context) => {
11509
11509
  ReservedCacheNodes: undefined,
11510
11510
  };
11511
11511
  if (output["Marker"] !== undefined) {
11512
- contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
11512
+ contents.Marker = smithy_client_1.expectString(output["Marker"]);
11513
11513
  }
11514
11514
  if (output.ReservedCacheNodes === "") {
11515
11515
  contents.ReservedCacheNodes = [];
11516
11516
  }
11517
11517
  if (output["ReservedCacheNodes"] !== undefined && output["ReservedCacheNodes"]["ReservedCacheNode"] !== undefined) {
11518
- contents.ReservedCacheNodes = deserializeAws_queryReservedCacheNodeList((0, smithy_client_1.getArrayIfSingleItem)(output["ReservedCacheNodes"]["ReservedCacheNode"]), context);
11518
+ contents.ReservedCacheNodes = deserializeAws_queryReservedCacheNodeList(smithy_client_1.getArrayIfSingleItem(output["ReservedCacheNodes"]["ReservedCacheNode"]), context);
11519
11519
  }
11520
11520
  return contents;
11521
11521
  };
@@ -11524,7 +11524,7 @@ const deserializeAws_queryReservedCacheNodeNotFoundFault = (output, context) =>
11524
11524
  message: undefined,
11525
11525
  };
11526
11526
  if (output["message"] !== undefined) {
11527
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
11527
+ contents.message = smithy_client_1.expectString(output["message"]);
11528
11528
  }
11529
11529
  return contents;
11530
11530
  };
@@ -11533,7 +11533,7 @@ const deserializeAws_queryReservedCacheNodeQuotaExceededFault = (output, context
11533
11533
  message: undefined,
11534
11534
  };
11535
11535
  if (output["message"] !== undefined) {
11536
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
11536
+ contents.message = smithy_client_1.expectString(output["message"]);
11537
11537
  }
11538
11538
  return contents;
11539
11539
  };
@@ -11549,31 +11549,31 @@ const deserializeAws_queryReservedCacheNodesOffering = (output, context) => {
11549
11549
  RecurringCharges: undefined,
11550
11550
  };
11551
11551
  if (output["ReservedCacheNodesOfferingId"] !== undefined) {
11552
- contents.ReservedCacheNodesOfferingId = (0, smithy_client_1.expectString)(output["ReservedCacheNodesOfferingId"]);
11552
+ contents.ReservedCacheNodesOfferingId = smithy_client_1.expectString(output["ReservedCacheNodesOfferingId"]);
11553
11553
  }
11554
11554
  if (output["CacheNodeType"] !== undefined) {
11555
- contents.CacheNodeType = (0, smithy_client_1.expectString)(output["CacheNodeType"]);
11555
+ contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
11556
11556
  }
11557
11557
  if (output["Duration"] !== undefined) {
11558
- contents.Duration = (0, smithy_client_1.strictParseInt32)(output["Duration"]);
11558
+ contents.Duration = smithy_client_1.strictParseInt32(output["Duration"]);
11559
11559
  }
11560
11560
  if (output["FixedPrice"] !== undefined) {
11561
- contents.FixedPrice = (0, smithy_client_1.strictParseFloat)(output["FixedPrice"]);
11561
+ contents.FixedPrice = smithy_client_1.strictParseFloat(output["FixedPrice"]);
11562
11562
  }
11563
11563
  if (output["UsagePrice"] !== undefined) {
11564
- contents.UsagePrice = (0, smithy_client_1.strictParseFloat)(output["UsagePrice"]);
11564
+ contents.UsagePrice = smithy_client_1.strictParseFloat(output["UsagePrice"]);
11565
11565
  }
11566
11566
  if (output["ProductDescription"] !== undefined) {
11567
- contents.ProductDescription = (0, smithy_client_1.expectString)(output["ProductDescription"]);
11567
+ contents.ProductDescription = smithy_client_1.expectString(output["ProductDescription"]);
11568
11568
  }
11569
11569
  if (output["OfferingType"] !== undefined) {
11570
- contents.OfferingType = (0, smithy_client_1.expectString)(output["OfferingType"]);
11570
+ contents.OfferingType = smithy_client_1.expectString(output["OfferingType"]);
11571
11571
  }
11572
11572
  if (output.RecurringCharges === "") {
11573
11573
  contents.RecurringCharges = [];
11574
11574
  }
11575
11575
  if (output["RecurringCharges"] !== undefined && output["RecurringCharges"]["RecurringCharge"] !== undefined) {
11576
- contents.RecurringCharges = deserializeAws_queryRecurringChargeList((0, smithy_client_1.getArrayIfSingleItem)(output["RecurringCharges"]["RecurringCharge"]), context);
11576
+ contents.RecurringCharges = deserializeAws_queryRecurringChargeList(smithy_client_1.getArrayIfSingleItem(output["RecurringCharges"]["RecurringCharge"]), context);
11577
11577
  }
11578
11578
  return contents;
11579
11579
  };
@@ -11593,14 +11593,14 @@ const deserializeAws_queryReservedCacheNodesOfferingMessage = (output, context)
11593
11593
  ReservedCacheNodesOfferings: undefined,
11594
11594
  };
11595
11595
  if (output["Marker"] !== undefined) {
11596
- contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
11596
+ contents.Marker = smithy_client_1.expectString(output["Marker"]);
11597
11597
  }
11598
11598
  if (output.ReservedCacheNodesOfferings === "") {
11599
11599
  contents.ReservedCacheNodesOfferings = [];
11600
11600
  }
11601
11601
  if (output["ReservedCacheNodesOfferings"] !== undefined &&
11602
11602
  output["ReservedCacheNodesOfferings"]["ReservedCacheNodesOffering"] !== undefined) {
11603
- contents.ReservedCacheNodesOfferings = deserializeAws_queryReservedCacheNodesOfferingList((0, smithy_client_1.getArrayIfSingleItem)(output["ReservedCacheNodesOfferings"]["ReservedCacheNodesOffering"]), context);
11603
+ contents.ReservedCacheNodesOfferings = deserializeAws_queryReservedCacheNodesOfferingList(smithy_client_1.getArrayIfSingleItem(output["ReservedCacheNodesOfferings"]["ReservedCacheNodesOffering"]), context);
11604
11604
  }
11605
11605
  return contents;
11606
11606
  };
@@ -11609,7 +11609,7 @@ const deserializeAws_queryReservedCacheNodesOfferingNotFoundFault = (output, con
11609
11609
  message: undefined,
11610
11610
  };
11611
11611
  if (output["message"] !== undefined) {
11612
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
11612
+ contents.message = smithy_client_1.expectString(output["message"]);
11613
11613
  }
11614
11614
  return contents;
11615
11615
  };
@@ -11637,10 +11637,10 @@ const deserializeAws_querySecurityGroupMembership = (output, context) => {
11637
11637
  Status: undefined,
11638
11638
  };
11639
11639
  if (output["SecurityGroupId"] !== undefined) {
11640
- contents.SecurityGroupId = (0, smithy_client_1.expectString)(output["SecurityGroupId"]);
11640
+ contents.SecurityGroupId = smithy_client_1.expectString(output["SecurityGroupId"]);
11641
11641
  }
11642
11642
  if (output["Status"] !== undefined) {
11643
- contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
11643
+ contents.Status = smithy_client_1.expectString(output["Status"]);
11644
11644
  }
11645
11645
  return contents;
11646
11646
  };
@@ -11659,7 +11659,7 @@ const deserializeAws_queryServiceLinkedRoleNotFoundFault = (output, context) =>
11659
11659
  message: undefined,
11660
11660
  };
11661
11661
  if (output["message"] !== undefined) {
11662
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
11662
+ contents.message = smithy_client_1.expectString(output["message"]);
11663
11663
  }
11664
11664
  return contents;
11665
11665
  };
@@ -11679,40 +11679,40 @@ const deserializeAws_queryServiceUpdate = (output, context) => {
11679
11679
  EstimatedUpdateTime: undefined,
11680
11680
  };
11681
11681
  if (output["ServiceUpdateName"] !== undefined) {
11682
- contents.ServiceUpdateName = (0, smithy_client_1.expectString)(output["ServiceUpdateName"]);
11682
+ contents.ServiceUpdateName = smithy_client_1.expectString(output["ServiceUpdateName"]);
11683
11683
  }
11684
11684
  if (output["ServiceUpdateReleaseDate"] !== undefined) {
11685
- contents.ServiceUpdateReleaseDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ServiceUpdateReleaseDate"]));
11685
+ contents.ServiceUpdateReleaseDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ServiceUpdateReleaseDate"]));
11686
11686
  }
11687
11687
  if (output["ServiceUpdateEndDate"] !== undefined) {
11688
- contents.ServiceUpdateEndDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ServiceUpdateEndDate"]));
11688
+ contents.ServiceUpdateEndDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ServiceUpdateEndDate"]));
11689
11689
  }
11690
11690
  if (output["ServiceUpdateSeverity"] !== undefined) {
11691
- contents.ServiceUpdateSeverity = (0, smithy_client_1.expectString)(output["ServiceUpdateSeverity"]);
11691
+ contents.ServiceUpdateSeverity = smithy_client_1.expectString(output["ServiceUpdateSeverity"]);
11692
11692
  }
11693
11693
  if (output["ServiceUpdateRecommendedApplyByDate"] !== undefined) {
11694
- contents.ServiceUpdateRecommendedApplyByDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ServiceUpdateRecommendedApplyByDate"]));
11694
+ contents.ServiceUpdateRecommendedApplyByDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ServiceUpdateRecommendedApplyByDate"]));
11695
11695
  }
11696
11696
  if (output["ServiceUpdateStatus"] !== undefined) {
11697
- contents.ServiceUpdateStatus = (0, smithy_client_1.expectString)(output["ServiceUpdateStatus"]);
11697
+ contents.ServiceUpdateStatus = smithy_client_1.expectString(output["ServiceUpdateStatus"]);
11698
11698
  }
11699
11699
  if (output["ServiceUpdateDescription"] !== undefined) {
11700
- contents.ServiceUpdateDescription = (0, smithy_client_1.expectString)(output["ServiceUpdateDescription"]);
11700
+ contents.ServiceUpdateDescription = smithy_client_1.expectString(output["ServiceUpdateDescription"]);
11701
11701
  }
11702
11702
  if (output["ServiceUpdateType"] !== undefined) {
11703
- contents.ServiceUpdateType = (0, smithy_client_1.expectString)(output["ServiceUpdateType"]);
11703
+ contents.ServiceUpdateType = smithy_client_1.expectString(output["ServiceUpdateType"]);
11704
11704
  }
11705
11705
  if (output["Engine"] !== undefined) {
11706
- contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
11706
+ contents.Engine = smithy_client_1.expectString(output["Engine"]);
11707
11707
  }
11708
11708
  if (output["EngineVersion"] !== undefined) {
11709
- contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
11709
+ contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
11710
11710
  }
11711
11711
  if (output["AutoUpdateAfterRecommendedApplyByDate"] !== undefined) {
11712
- contents.AutoUpdateAfterRecommendedApplyByDate = (0, smithy_client_1.parseBoolean)(output["AutoUpdateAfterRecommendedApplyByDate"]);
11712
+ contents.AutoUpdateAfterRecommendedApplyByDate = smithy_client_1.parseBoolean(output["AutoUpdateAfterRecommendedApplyByDate"]);
11713
11713
  }
11714
11714
  if (output["EstimatedUpdateTime"] !== undefined) {
11715
- contents.EstimatedUpdateTime = (0, smithy_client_1.expectString)(output["EstimatedUpdateTime"]);
11715
+ contents.EstimatedUpdateTime = smithy_client_1.expectString(output["EstimatedUpdateTime"]);
11716
11716
  }
11717
11717
  return contents;
11718
11718
  };
@@ -11731,7 +11731,7 @@ const deserializeAws_queryServiceUpdateNotFoundFault = (output, context) => {
11731
11731
  message: undefined,
11732
11732
  };
11733
11733
  if (output["message"] !== undefined) {
11734
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
11734
+ contents.message = smithy_client_1.expectString(output["message"]);
11735
11735
  }
11736
11736
  return contents;
11737
11737
  };
@@ -11741,13 +11741,13 @@ const deserializeAws_queryServiceUpdatesMessage = (output, context) => {
11741
11741
  ServiceUpdates: undefined,
11742
11742
  };
11743
11743
  if (output["Marker"] !== undefined) {
11744
- contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
11744
+ contents.Marker = smithy_client_1.expectString(output["Marker"]);
11745
11745
  }
11746
11746
  if (output.ServiceUpdates === "") {
11747
11747
  contents.ServiceUpdates = [];
11748
11748
  }
11749
11749
  if (output["ServiceUpdates"] !== undefined && output["ServiceUpdates"]["ServiceUpdate"] !== undefined) {
11750
- contents.ServiceUpdates = deserializeAws_queryServiceUpdateList((0, smithy_client_1.getArrayIfSingleItem)(output["ServiceUpdates"]["ServiceUpdate"]), context);
11750
+ contents.ServiceUpdates = deserializeAws_queryServiceUpdateList(smithy_client_1.getArrayIfSingleItem(output["ServiceUpdates"]["ServiceUpdate"]), context);
11751
11751
  }
11752
11752
  return contents;
11753
11753
  };
@@ -11756,7 +11756,7 @@ const deserializeAws_querySlotMigration = (output, context) => {
11756
11756
  ProgressPercentage: undefined,
11757
11757
  };
11758
11758
  if (output["ProgressPercentage"] !== undefined) {
11759
- contents.ProgressPercentage = (0, smithy_client_1.strictParseFloat)(output["ProgressPercentage"]);
11759
+ contents.ProgressPercentage = smithy_client_1.strictParseFloat(output["ProgressPercentage"]);
11760
11760
  }
11761
11761
  return contents;
11762
11762
  };
@@ -11791,88 +11791,88 @@ const deserializeAws_querySnapshot = (output, context) => {
11791
11791
  ARN: undefined,
11792
11792
  };
11793
11793
  if (output["SnapshotName"] !== undefined) {
11794
- contents.SnapshotName = (0, smithy_client_1.expectString)(output["SnapshotName"]);
11794
+ contents.SnapshotName = smithy_client_1.expectString(output["SnapshotName"]);
11795
11795
  }
11796
11796
  if (output["ReplicationGroupId"] !== undefined) {
11797
- contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
11797
+ contents.ReplicationGroupId = smithy_client_1.expectString(output["ReplicationGroupId"]);
11798
11798
  }
11799
11799
  if (output["ReplicationGroupDescription"] !== undefined) {
11800
- contents.ReplicationGroupDescription = (0, smithy_client_1.expectString)(output["ReplicationGroupDescription"]);
11800
+ contents.ReplicationGroupDescription = smithy_client_1.expectString(output["ReplicationGroupDescription"]);
11801
11801
  }
11802
11802
  if (output["CacheClusterId"] !== undefined) {
11803
- contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
11803
+ contents.CacheClusterId = smithy_client_1.expectString(output["CacheClusterId"]);
11804
11804
  }
11805
11805
  if (output["SnapshotStatus"] !== undefined) {
11806
- contents.SnapshotStatus = (0, smithy_client_1.expectString)(output["SnapshotStatus"]);
11806
+ contents.SnapshotStatus = smithy_client_1.expectString(output["SnapshotStatus"]);
11807
11807
  }
11808
11808
  if (output["SnapshotSource"] !== undefined) {
11809
- contents.SnapshotSource = (0, smithy_client_1.expectString)(output["SnapshotSource"]);
11809
+ contents.SnapshotSource = smithy_client_1.expectString(output["SnapshotSource"]);
11810
11810
  }
11811
11811
  if (output["CacheNodeType"] !== undefined) {
11812
- contents.CacheNodeType = (0, smithy_client_1.expectString)(output["CacheNodeType"]);
11812
+ contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
11813
11813
  }
11814
11814
  if (output["Engine"] !== undefined) {
11815
- contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
11815
+ contents.Engine = smithy_client_1.expectString(output["Engine"]);
11816
11816
  }
11817
11817
  if (output["EngineVersion"] !== undefined) {
11818
- contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
11818
+ contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
11819
11819
  }
11820
11820
  if (output["NumCacheNodes"] !== undefined) {
11821
- contents.NumCacheNodes = (0, smithy_client_1.strictParseInt32)(output["NumCacheNodes"]);
11821
+ contents.NumCacheNodes = smithy_client_1.strictParseInt32(output["NumCacheNodes"]);
11822
11822
  }
11823
11823
  if (output["PreferredAvailabilityZone"] !== undefined) {
11824
- contents.PreferredAvailabilityZone = (0, smithy_client_1.expectString)(output["PreferredAvailabilityZone"]);
11824
+ contents.PreferredAvailabilityZone = smithy_client_1.expectString(output["PreferredAvailabilityZone"]);
11825
11825
  }
11826
11826
  if (output["PreferredOutpostArn"] !== undefined) {
11827
- contents.PreferredOutpostArn = (0, smithy_client_1.expectString)(output["PreferredOutpostArn"]);
11827
+ contents.PreferredOutpostArn = smithy_client_1.expectString(output["PreferredOutpostArn"]);
11828
11828
  }
11829
11829
  if (output["CacheClusterCreateTime"] !== undefined) {
11830
- contents.CacheClusterCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CacheClusterCreateTime"]));
11830
+ contents.CacheClusterCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CacheClusterCreateTime"]));
11831
11831
  }
11832
11832
  if (output["PreferredMaintenanceWindow"] !== undefined) {
11833
- contents.PreferredMaintenanceWindow = (0, smithy_client_1.expectString)(output["PreferredMaintenanceWindow"]);
11833
+ contents.PreferredMaintenanceWindow = smithy_client_1.expectString(output["PreferredMaintenanceWindow"]);
11834
11834
  }
11835
11835
  if (output["TopicArn"] !== undefined) {
11836
- contents.TopicArn = (0, smithy_client_1.expectString)(output["TopicArn"]);
11836
+ contents.TopicArn = smithy_client_1.expectString(output["TopicArn"]);
11837
11837
  }
11838
11838
  if (output["Port"] !== undefined) {
11839
- contents.Port = (0, smithy_client_1.strictParseInt32)(output["Port"]);
11839
+ contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
11840
11840
  }
11841
11841
  if (output["CacheParameterGroupName"] !== undefined) {
11842
- contents.CacheParameterGroupName = (0, smithy_client_1.expectString)(output["CacheParameterGroupName"]);
11842
+ contents.CacheParameterGroupName = smithy_client_1.expectString(output["CacheParameterGroupName"]);
11843
11843
  }
11844
11844
  if (output["CacheSubnetGroupName"] !== undefined) {
11845
- contents.CacheSubnetGroupName = (0, smithy_client_1.expectString)(output["CacheSubnetGroupName"]);
11845
+ contents.CacheSubnetGroupName = smithy_client_1.expectString(output["CacheSubnetGroupName"]);
11846
11846
  }
11847
11847
  if (output["VpcId"] !== undefined) {
11848
- contents.VpcId = (0, smithy_client_1.expectString)(output["VpcId"]);
11848
+ contents.VpcId = smithy_client_1.expectString(output["VpcId"]);
11849
11849
  }
11850
11850
  if (output["AutoMinorVersionUpgrade"] !== undefined) {
11851
- contents.AutoMinorVersionUpgrade = (0, smithy_client_1.parseBoolean)(output["AutoMinorVersionUpgrade"]);
11851
+ contents.AutoMinorVersionUpgrade = smithy_client_1.parseBoolean(output["AutoMinorVersionUpgrade"]);
11852
11852
  }
11853
11853
  if (output["SnapshotRetentionLimit"] !== undefined) {
11854
- contents.SnapshotRetentionLimit = (0, smithy_client_1.strictParseInt32)(output["SnapshotRetentionLimit"]);
11854
+ contents.SnapshotRetentionLimit = smithy_client_1.strictParseInt32(output["SnapshotRetentionLimit"]);
11855
11855
  }
11856
11856
  if (output["SnapshotWindow"] !== undefined) {
11857
- contents.SnapshotWindow = (0, smithy_client_1.expectString)(output["SnapshotWindow"]);
11857
+ contents.SnapshotWindow = smithy_client_1.expectString(output["SnapshotWindow"]);
11858
11858
  }
11859
11859
  if (output["NumNodeGroups"] !== undefined) {
11860
- contents.NumNodeGroups = (0, smithy_client_1.strictParseInt32)(output["NumNodeGroups"]);
11860
+ contents.NumNodeGroups = smithy_client_1.strictParseInt32(output["NumNodeGroups"]);
11861
11861
  }
11862
11862
  if (output["AutomaticFailover"] !== undefined) {
11863
- contents.AutomaticFailover = (0, smithy_client_1.expectString)(output["AutomaticFailover"]);
11863
+ contents.AutomaticFailover = smithy_client_1.expectString(output["AutomaticFailover"]);
11864
11864
  }
11865
11865
  if (output.NodeSnapshots === "") {
11866
11866
  contents.NodeSnapshots = [];
11867
11867
  }
11868
11868
  if (output["NodeSnapshots"] !== undefined && output["NodeSnapshots"]["NodeSnapshot"] !== undefined) {
11869
- contents.NodeSnapshots = deserializeAws_queryNodeSnapshotList((0, smithy_client_1.getArrayIfSingleItem)(output["NodeSnapshots"]["NodeSnapshot"]), context);
11869
+ contents.NodeSnapshots = deserializeAws_queryNodeSnapshotList(smithy_client_1.getArrayIfSingleItem(output["NodeSnapshots"]["NodeSnapshot"]), context);
11870
11870
  }
11871
11871
  if (output["KmsKeyId"] !== undefined) {
11872
- contents.KmsKeyId = (0, smithy_client_1.expectString)(output["KmsKeyId"]);
11872
+ contents.KmsKeyId = smithy_client_1.expectString(output["KmsKeyId"]);
11873
11873
  }
11874
11874
  if (output["ARN"] !== undefined) {
11875
- contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
11875
+ contents.ARN = smithy_client_1.expectString(output["ARN"]);
11876
11876
  }
11877
11877
  return contents;
11878
11878
  };
@@ -11881,7 +11881,7 @@ const deserializeAws_querySnapshotAlreadyExistsFault = (output, context) => {
11881
11881
  message: undefined,
11882
11882
  };
11883
11883
  if (output["message"] !== undefined) {
11884
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
11884
+ contents.message = smithy_client_1.expectString(output["message"]);
11885
11885
  }
11886
11886
  return contents;
11887
11887
  };
@@ -11890,7 +11890,7 @@ const deserializeAws_querySnapshotFeatureNotSupportedFault = (output, context) =
11890
11890
  message: undefined,
11891
11891
  };
11892
11892
  if (output["message"] !== undefined) {
11893
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
11893
+ contents.message = smithy_client_1.expectString(output["message"]);
11894
11894
  }
11895
11895
  return contents;
11896
11896
  };
@@ -11909,7 +11909,7 @@ const deserializeAws_querySnapshotNotFoundFault = (output, context) => {
11909
11909
  message: undefined,
11910
11910
  };
11911
11911
  if (output["message"] !== undefined) {
11912
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
11912
+ contents.message = smithy_client_1.expectString(output["message"]);
11913
11913
  }
11914
11914
  return contents;
11915
11915
  };
@@ -11918,7 +11918,7 @@ const deserializeAws_querySnapshotQuotaExceededFault = (output, context) => {
11918
11918
  message: undefined,
11919
11919
  };
11920
11920
  if (output["message"] !== undefined) {
11921
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
11921
+ contents.message = smithy_client_1.expectString(output["message"]);
11922
11922
  }
11923
11923
  return contents;
11924
11924
  };
@@ -11938,7 +11938,7 @@ const deserializeAws_querySubnet = (output, context) => {
11938
11938
  SubnetOutpost: undefined,
11939
11939
  };
11940
11940
  if (output["SubnetIdentifier"] !== undefined) {
11941
- contents.SubnetIdentifier = (0, smithy_client_1.expectString)(output["SubnetIdentifier"]);
11941
+ contents.SubnetIdentifier = smithy_client_1.expectString(output["SubnetIdentifier"]);
11942
11942
  }
11943
11943
  if (output["SubnetAvailabilityZone"] !== undefined) {
11944
11944
  contents.SubnetAvailabilityZone = deserializeAws_queryAvailabilityZone(output["SubnetAvailabilityZone"], context);
@@ -11953,7 +11953,7 @@ const deserializeAws_querySubnetInUse = (output, context) => {
11953
11953
  message: undefined,
11954
11954
  };
11955
11955
  if (output["message"] !== undefined) {
11956
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
11956
+ contents.message = smithy_client_1.expectString(output["message"]);
11957
11957
  }
11958
11958
  return contents;
11959
11959
  };
@@ -11972,7 +11972,7 @@ const deserializeAws_querySubnetNotAllowedFault = (output, context) => {
11972
11972
  message: undefined,
11973
11973
  };
11974
11974
  if (output["message"] !== undefined) {
11975
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
11975
+ contents.message = smithy_client_1.expectString(output["message"]);
11976
11976
  }
11977
11977
  return contents;
11978
11978
  };
@@ -11981,7 +11981,7 @@ const deserializeAws_querySubnetOutpost = (output, context) => {
11981
11981
  SubnetOutpostArn: undefined,
11982
11982
  };
11983
11983
  if (output["SubnetOutpostArn"] !== undefined) {
11984
- contents.SubnetOutpostArn = (0, smithy_client_1.expectString)(output["SubnetOutpostArn"]);
11984
+ contents.SubnetOutpostArn = smithy_client_1.expectString(output["SubnetOutpostArn"]);
11985
11985
  }
11986
11986
  return contents;
11987
11987
  };
@@ -11991,10 +11991,10 @@ const deserializeAws_queryTag = (output, context) => {
11991
11991
  Value: undefined,
11992
11992
  };
11993
11993
  if (output["Key"] !== undefined) {
11994
- contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
11994
+ contents.Key = smithy_client_1.expectString(output["Key"]);
11995
11995
  }
11996
11996
  if (output["Value"] !== undefined) {
11997
- contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
11997
+ contents.Value = smithy_client_1.expectString(output["Value"]);
11998
11998
  }
11999
11999
  return contents;
12000
12000
  };
@@ -12016,7 +12016,7 @@ const deserializeAws_queryTagListMessage = (output, context) => {
12016
12016
  contents.TagList = [];
12017
12017
  }
12018
12018
  if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
12019
- contents.TagList = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["TagList"]["Tag"]), context);
12019
+ contents.TagList = deserializeAws_queryTagList(smithy_client_1.getArrayIfSingleItem(output["TagList"]["Tag"]), context);
12020
12020
  }
12021
12021
  return contents;
12022
12022
  };
@@ -12025,7 +12025,7 @@ const deserializeAws_queryTagNotFoundFault = (output, context) => {
12025
12025
  message: undefined,
12026
12026
  };
12027
12027
  if (output["message"] !== undefined) {
12028
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
12028
+ contents.message = smithy_client_1.expectString(output["message"]);
12029
12029
  }
12030
12030
  return contents;
12031
12031
  };
@@ -12034,7 +12034,7 @@ const deserializeAws_queryTagQuotaPerResourceExceeded = (output, context) => {
12034
12034
  message: undefined,
12035
12035
  };
12036
12036
  if (output["message"] !== undefined) {
12037
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
12037
+ contents.message = smithy_client_1.expectString(output["message"]);
12038
12038
  }
12039
12039
  return contents;
12040
12040
  };
@@ -12043,7 +12043,7 @@ const deserializeAws_queryTestFailoverNotAvailableFault = (output, context) => {
12043
12043
  message: undefined,
12044
12044
  };
12045
12045
  if (output["message"] !== undefined) {
12046
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
12046
+ contents.message = smithy_client_1.expectString(output["message"]);
12047
12047
  }
12048
12048
  return contents;
12049
12049
  };
@@ -12063,7 +12063,7 @@ const deserializeAws_queryUGReplicationGroupIdList = (output, context) => {
12063
12063
  if (entry === null) {
12064
12064
  return null;
12065
12065
  }
12066
- return (0, smithy_client_1.expectString)(entry);
12066
+ return smithy_client_1.expectString(entry);
12067
12067
  });
12068
12068
  };
12069
12069
  const deserializeAws_queryUnprocessedUpdateAction = (output, context) => {
@@ -12075,19 +12075,19 @@ const deserializeAws_queryUnprocessedUpdateAction = (output, context) => {
12075
12075
  ErrorMessage: undefined,
12076
12076
  };
12077
12077
  if (output["ReplicationGroupId"] !== undefined) {
12078
- contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
12078
+ contents.ReplicationGroupId = smithy_client_1.expectString(output["ReplicationGroupId"]);
12079
12079
  }
12080
12080
  if (output["CacheClusterId"] !== undefined) {
12081
- contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
12081
+ contents.CacheClusterId = smithy_client_1.expectString(output["CacheClusterId"]);
12082
12082
  }
12083
12083
  if (output["ServiceUpdateName"] !== undefined) {
12084
- contents.ServiceUpdateName = (0, smithy_client_1.expectString)(output["ServiceUpdateName"]);
12084
+ contents.ServiceUpdateName = smithy_client_1.expectString(output["ServiceUpdateName"]);
12085
12085
  }
12086
12086
  if (output["ErrorType"] !== undefined) {
12087
- contents.ErrorType = (0, smithy_client_1.expectString)(output["ErrorType"]);
12087
+ contents.ErrorType = smithy_client_1.expectString(output["ErrorType"]);
12088
12088
  }
12089
12089
  if (output["ErrorMessage"] !== undefined) {
12090
- contents.ErrorMessage = (0, smithy_client_1.expectString)(output["ErrorMessage"]);
12090
+ contents.ErrorMessage = smithy_client_1.expectString(output["ErrorMessage"]);
12091
12091
  }
12092
12092
  return contents;
12093
12093
  };
@@ -12122,63 +12122,63 @@ const deserializeAws_queryUpdateAction = (output, context) => {
12122
12122
  Engine: undefined,
12123
12123
  };
12124
12124
  if (output["ReplicationGroupId"] !== undefined) {
12125
- contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
12125
+ contents.ReplicationGroupId = smithy_client_1.expectString(output["ReplicationGroupId"]);
12126
12126
  }
12127
12127
  if (output["CacheClusterId"] !== undefined) {
12128
- contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
12128
+ contents.CacheClusterId = smithy_client_1.expectString(output["CacheClusterId"]);
12129
12129
  }
12130
12130
  if (output["ServiceUpdateName"] !== undefined) {
12131
- contents.ServiceUpdateName = (0, smithy_client_1.expectString)(output["ServiceUpdateName"]);
12131
+ contents.ServiceUpdateName = smithy_client_1.expectString(output["ServiceUpdateName"]);
12132
12132
  }
12133
12133
  if (output["ServiceUpdateReleaseDate"] !== undefined) {
12134
- contents.ServiceUpdateReleaseDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ServiceUpdateReleaseDate"]));
12134
+ contents.ServiceUpdateReleaseDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ServiceUpdateReleaseDate"]));
12135
12135
  }
12136
12136
  if (output["ServiceUpdateSeverity"] !== undefined) {
12137
- contents.ServiceUpdateSeverity = (0, smithy_client_1.expectString)(output["ServiceUpdateSeverity"]);
12137
+ contents.ServiceUpdateSeverity = smithy_client_1.expectString(output["ServiceUpdateSeverity"]);
12138
12138
  }
12139
12139
  if (output["ServiceUpdateStatus"] !== undefined) {
12140
- contents.ServiceUpdateStatus = (0, smithy_client_1.expectString)(output["ServiceUpdateStatus"]);
12140
+ contents.ServiceUpdateStatus = smithy_client_1.expectString(output["ServiceUpdateStatus"]);
12141
12141
  }
12142
12142
  if (output["ServiceUpdateRecommendedApplyByDate"] !== undefined) {
12143
- contents.ServiceUpdateRecommendedApplyByDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ServiceUpdateRecommendedApplyByDate"]));
12143
+ contents.ServiceUpdateRecommendedApplyByDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ServiceUpdateRecommendedApplyByDate"]));
12144
12144
  }
12145
12145
  if (output["ServiceUpdateType"] !== undefined) {
12146
- contents.ServiceUpdateType = (0, smithy_client_1.expectString)(output["ServiceUpdateType"]);
12146
+ contents.ServiceUpdateType = smithy_client_1.expectString(output["ServiceUpdateType"]);
12147
12147
  }
12148
12148
  if (output["UpdateActionAvailableDate"] !== undefined) {
12149
- contents.UpdateActionAvailableDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["UpdateActionAvailableDate"]));
12149
+ contents.UpdateActionAvailableDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UpdateActionAvailableDate"]));
12150
12150
  }
12151
12151
  if (output["UpdateActionStatus"] !== undefined) {
12152
- contents.UpdateActionStatus = (0, smithy_client_1.expectString)(output["UpdateActionStatus"]);
12152
+ contents.UpdateActionStatus = smithy_client_1.expectString(output["UpdateActionStatus"]);
12153
12153
  }
12154
12154
  if (output["NodesUpdated"] !== undefined) {
12155
- contents.NodesUpdated = (0, smithy_client_1.expectString)(output["NodesUpdated"]);
12155
+ contents.NodesUpdated = smithy_client_1.expectString(output["NodesUpdated"]);
12156
12156
  }
12157
12157
  if (output["UpdateActionStatusModifiedDate"] !== undefined) {
12158
- contents.UpdateActionStatusModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["UpdateActionStatusModifiedDate"]));
12158
+ contents.UpdateActionStatusModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UpdateActionStatusModifiedDate"]));
12159
12159
  }
12160
12160
  if (output["SlaMet"] !== undefined) {
12161
- contents.SlaMet = (0, smithy_client_1.expectString)(output["SlaMet"]);
12161
+ contents.SlaMet = smithy_client_1.expectString(output["SlaMet"]);
12162
12162
  }
12163
12163
  if (output.NodeGroupUpdateStatus === "") {
12164
12164
  contents.NodeGroupUpdateStatus = [];
12165
12165
  }
12166
12166
  if (output["NodeGroupUpdateStatus"] !== undefined &&
12167
12167
  output["NodeGroupUpdateStatus"]["NodeGroupUpdateStatus"] !== undefined) {
12168
- contents.NodeGroupUpdateStatus = deserializeAws_queryNodeGroupUpdateStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["NodeGroupUpdateStatus"]["NodeGroupUpdateStatus"]), context);
12168
+ contents.NodeGroupUpdateStatus = deserializeAws_queryNodeGroupUpdateStatusList(smithy_client_1.getArrayIfSingleItem(output["NodeGroupUpdateStatus"]["NodeGroupUpdateStatus"]), context);
12169
12169
  }
12170
12170
  if (output.CacheNodeUpdateStatus === "") {
12171
12171
  contents.CacheNodeUpdateStatus = [];
12172
12172
  }
12173
12173
  if (output["CacheNodeUpdateStatus"] !== undefined &&
12174
12174
  output["CacheNodeUpdateStatus"]["CacheNodeUpdateStatus"] !== undefined) {
12175
- contents.CacheNodeUpdateStatus = deserializeAws_queryCacheNodeUpdateStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["CacheNodeUpdateStatus"]["CacheNodeUpdateStatus"]), context);
12175
+ contents.CacheNodeUpdateStatus = deserializeAws_queryCacheNodeUpdateStatusList(smithy_client_1.getArrayIfSingleItem(output["CacheNodeUpdateStatus"]["CacheNodeUpdateStatus"]), context);
12176
12176
  }
12177
12177
  if (output["EstimatedUpdateTime"] !== undefined) {
12178
- contents.EstimatedUpdateTime = (0, smithy_client_1.expectString)(output["EstimatedUpdateTime"]);
12178
+ contents.EstimatedUpdateTime = smithy_client_1.expectString(output["EstimatedUpdateTime"]);
12179
12179
  }
12180
12180
  if (output["Engine"] !== undefined) {
12181
- contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
12181
+ contents.Engine = smithy_client_1.expectString(output["Engine"]);
12182
12182
  }
12183
12183
  return contents;
12184
12184
  };
@@ -12202,14 +12202,14 @@ const deserializeAws_queryUpdateActionResultsMessage = (output, context) => {
12202
12202
  }
12203
12203
  if (output["ProcessedUpdateActions"] !== undefined &&
12204
12204
  output["ProcessedUpdateActions"]["ProcessedUpdateAction"] !== undefined) {
12205
- contents.ProcessedUpdateActions = deserializeAws_queryProcessedUpdateActionList((0, smithy_client_1.getArrayIfSingleItem)(output["ProcessedUpdateActions"]["ProcessedUpdateAction"]), context);
12205
+ contents.ProcessedUpdateActions = deserializeAws_queryProcessedUpdateActionList(smithy_client_1.getArrayIfSingleItem(output["ProcessedUpdateActions"]["ProcessedUpdateAction"]), context);
12206
12206
  }
12207
12207
  if (output.UnprocessedUpdateActions === "") {
12208
12208
  contents.UnprocessedUpdateActions = [];
12209
12209
  }
12210
12210
  if (output["UnprocessedUpdateActions"] !== undefined &&
12211
12211
  output["UnprocessedUpdateActions"]["UnprocessedUpdateAction"] !== undefined) {
12212
- contents.UnprocessedUpdateActions = deserializeAws_queryUnprocessedUpdateActionList((0, smithy_client_1.getArrayIfSingleItem)(output["UnprocessedUpdateActions"]["UnprocessedUpdateAction"]), context);
12212
+ contents.UnprocessedUpdateActions = deserializeAws_queryUnprocessedUpdateActionList(smithy_client_1.getArrayIfSingleItem(output["UnprocessedUpdateActions"]["UnprocessedUpdateAction"]), context);
12213
12213
  }
12214
12214
  return contents;
12215
12215
  };
@@ -12219,13 +12219,13 @@ const deserializeAws_queryUpdateActionsMessage = (output, context) => {
12219
12219
  UpdateActions: undefined,
12220
12220
  };
12221
12221
  if (output["Marker"] !== undefined) {
12222
- contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12222
+ contents.Marker = smithy_client_1.expectString(output["Marker"]);
12223
12223
  }
12224
12224
  if (output.UpdateActions === "") {
12225
12225
  contents.UpdateActions = [];
12226
12226
  }
12227
12227
  if (output["UpdateActions"] !== undefined && output["UpdateActions"]["UpdateAction"] !== undefined) {
12228
- contents.UpdateActions = deserializeAws_queryUpdateActionList((0, smithy_client_1.getArrayIfSingleItem)(output["UpdateActions"]["UpdateAction"]), context);
12228
+ contents.UpdateActions = deserializeAws_queryUpdateActionList(smithy_client_1.getArrayIfSingleItem(output["UpdateActions"]["UpdateAction"]), context);
12229
12229
  }
12230
12230
  return contents;
12231
12231
  };
@@ -12241,31 +12241,31 @@ const deserializeAws_queryUser = (output, context) => {
12241
12241
  ARN: undefined,
12242
12242
  };
12243
12243
  if (output["UserId"] !== undefined) {
12244
- contents.UserId = (0, smithy_client_1.expectString)(output["UserId"]);
12244
+ contents.UserId = smithy_client_1.expectString(output["UserId"]);
12245
12245
  }
12246
12246
  if (output["UserName"] !== undefined) {
12247
- contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
12247
+ contents.UserName = smithy_client_1.expectString(output["UserName"]);
12248
12248
  }
12249
12249
  if (output["Status"] !== undefined) {
12250
- contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
12250
+ contents.Status = smithy_client_1.expectString(output["Status"]);
12251
12251
  }
12252
12252
  if (output["Engine"] !== undefined) {
12253
- contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
12253
+ contents.Engine = smithy_client_1.expectString(output["Engine"]);
12254
12254
  }
12255
12255
  if (output["AccessString"] !== undefined) {
12256
- contents.AccessString = (0, smithy_client_1.expectString)(output["AccessString"]);
12256
+ contents.AccessString = smithy_client_1.expectString(output["AccessString"]);
12257
12257
  }
12258
12258
  if (output.UserGroupIds === "") {
12259
12259
  contents.UserGroupIds = [];
12260
12260
  }
12261
12261
  if (output["UserGroupIds"] !== undefined && output["UserGroupIds"]["member"] !== undefined) {
12262
- contents.UserGroupIds = deserializeAws_queryUserGroupIdList((0, smithy_client_1.getArrayIfSingleItem)(output["UserGroupIds"]["member"]), context);
12262
+ contents.UserGroupIds = deserializeAws_queryUserGroupIdList(smithy_client_1.getArrayIfSingleItem(output["UserGroupIds"]["member"]), context);
12263
12263
  }
12264
12264
  if (output["Authentication"] !== undefined) {
12265
12265
  contents.Authentication = deserializeAws_queryAuthentication(output["Authentication"], context);
12266
12266
  }
12267
12267
  if (output["ARN"] !== undefined) {
12268
- contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
12268
+ contents.ARN = smithy_client_1.expectString(output["ARN"]);
12269
12269
  }
12270
12270
  return contents;
12271
12271
  };
@@ -12274,7 +12274,7 @@ const deserializeAws_queryUserAlreadyExistsFault = (output, context) => {
12274
12274
  message: undefined,
12275
12275
  };
12276
12276
  if (output["message"] !== undefined) {
12277
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
12277
+ contents.message = smithy_client_1.expectString(output["message"]);
12278
12278
  }
12279
12279
  return contents;
12280
12280
  };
@@ -12289,19 +12289,19 @@ const deserializeAws_queryUserGroup = (output, context) => {
12289
12289
  ARN: undefined,
12290
12290
  };
12291
12291
  if (output["UserGroupId"] !== undefined) {
12292
- contents.UserGroupId = (0, smithy_client_1.expectString)(output["UserGroupId"]);
12292
+ contents.UserGroupId = smithy_client_1.expectString(output["UserGroupId"]);
12293
12293
  }
12294
12294
  if (output["Status"] !== undefined) {
12295
- contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
12295
+ contents.Status = smithy_client_1.expectString(output["Status"]);
12296
12296
  }
12297
12297
  if (output["Engine"] !== undefined) {
12298
- contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
12298
+ contents.Engine = smithy_client_1.expectString(output["Engine"]);
12299
12299
  }
12300
12300
  if (output.UserIds === "") {
12301
12301
  contents.UserIds = [];
12302
12302
  }
12303
12303
  if (output["UserIds"] !== undefined && output["UserIds"]["member"] !== undefined) {
12304
- contents.UserIds = deserializeAws_queryUserIdList((0, smithy_client_1.getArrayIfSingleItem)(output["UserIds"]["member"]), context);
12304
+ contents.UserIds = deserializeAws_queryUserIdList(smithy_client_1.getArrayIfSingleItem(output["UserIds"]["member"]), context);
12305
12305
  }
12306
12306
  if (output["PendingChanges"] !== undefined) {
12307
12307
  contents.PendingChanges = deserializeAws_queryUserGroupPendingChanges(output["PendingChanges"], context);
@@ -12310,10 +12310,10 @@ const deserializeAws_queryUserGroup = (output, context) => {
12310
12310
  contents.ReplicationGroups = [];
12311
12311
  }
12312
12312
  if (output["ReplicationGroups"] !== undefined && output["ReplicationGroups"]["member"] !== undefined) {
12313
- contents.ReplicationGroups = deserializeAws_queryUGReplicationGroupIdList((0, smithy_client_1.getArrayIfSingleItem)(output["ReplicationGroups"]["member"]), context);
12313
+ contents.ReplicationGroups = deserializeAws_queryUGReplicationGroupIdList(smithy_client_1.getArrayIfSingleItem(output["ReplicationGroups"]["member"]), context);
12314
12314
  }
12315
12315
  if (output["ARN"] !== undefined) {
12316
- contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
12316
+ contents.ARN = smithy_client_1.expectString(output["ARN"]);
12317
12317
  }
12318
12318
  return contents;
12319
12319
  };
@@ -12322,7 +12322,7 @@ const deserializeAws_queryUserGroupAlreadyExistsFault = (output, context) => {
12322
12322
  message: undefined,
12323
12323
  };
12324
12324
  if (output["message"] !== undefined) {
12325
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
12325
+ contents.message = smithy_client_1.expectString(output["message"]);
12326
12326
  }
12327
12327
  return contents;
12328
12328
  };
@@ -12333,7 +12333,7 @@ const deserializeAws_queryUserGroupIdList = (output, context) => {
12333
12333
  if (entry === null) {
12334
12334
  return null;
12335
12335
  }
12336
- return (0, smithy_client_1.expectString)(entry);
12336
+ return smithy_client_1.expectString(entry);
12337
12337
  });
12338
12338
  };
12339
12339
  const deserializeAws_queryUserGroupList = (output, context) => {
@@ -12351,7 +12351,7 @@ const deserializeAws_queryUserGroupNotFoundFault = (output, context) => {
12351
12351
  message: undefined,
12352
12352
  };
12353
12353
  if (output["message"] !== undefined) {
12354
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
12354
+ contents.message = smithy_client_1.expectString(output["message"]);
12355
12355
  }
12356
12356
  return contents;
12357
12357
  };
@@ -12364,13 +12364,13 @@ const deserializeAws_queryUserGroupPendingChanges = (output, context) => {
12364
12364
  contents.UserIdsToRemove = [];
12365
12365
  }
12366
12366
  if (output["UserIdsToRemove"] !== undefined && output["UserIdsToRemove"]["member"] !== undefined) {
12367
- contents.UserIdsToRemove = deserializeAws_queryUserIdList((0, smithy_client_1.getArrayIfSingleItem)(output["UserIdsToRemove"]["member"]), context);
12367
+ contents.UserIdsToRemove = deserializeAws_queryUserIdList(smithy_client_1.getArrayIfSingleItem(output["UserIdsToRemove"]["member"]), context);
12368
12368
  }
12369
12369
  if (output.UserIdsToAdd === "") {
12370
12370
  contents.UserIdsToAdd = [];
12371
12371
  }
12372
12372
  if (output["UserIdsToAdd"] !== undefined && output["UserIdsToAdd"]["member"] !== undefined) {
12373
- contents.UserIdsToAdd = deserializeAws_queryUserIdList((0, smithy_client_1.getArrayIfSingleItem)(output["UserIdsToAdd"]["member"]), context);
12373
+ contents.UserIdsToAdd = deserializeAws_queryUserIdList(smithy_client_1.getArrayIfSingleItem(output["UserIdsToAdd"]["member"]), context);
12374
12374
  }
12375
12375
  return contents;
12376
12376
  };
@@ -12379,7 +12379,7 @@ const deserializeAws_queryUserGroupQuotaExceededFault = (output, context) => {
12379
12379
  message: undefined,
12380
12380
  };
12381
12381
  if (output["message"] !== undefined) {
12382
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
12382
+ contents.message = smithy_client_1.expectString(output["message"]);
12383
12383
  }
12384
12384
  return contents;
12385
12385
  };
@@ -12392,13 +12392,13 @@ const deserializeAws_queryUserGroupsUpdateStatus = (output, context) => {
12392
12392
  contents.UserGroupIdsToAdd = [];
12393
12393
  }
12394
12394
  if (output["UserGroupIdsToAdd"] !== undefined && output["UserGroupIdsToAdd"]["member"] !== undefined) {
12395
- contents.UserGroupIdsToAdd = deserializeAws_queryUserGroupIdList((0, smithy_client_1.getArrayIfSingleItem)(output["UserGroupIdsToAdd"]["member"]), context);
12395
+ contents.UserGroupIdsToAdd = deserializeAws_queryUserGroupIdList(smithy_client_1.getArrayIfSingleItem(output["UserGroupIdsToAdd"]["member"]), context);
12396
12396
  }
12397
12397
  if (output.UserGroupIdsToRemove === "") {
12398
12398
  contents.UserGroupIdsToRemove = [];
12399
12399
  }
12400
12400
  if (output["UserGroupIdsToRemove"] !== undefined && output["UserGroupIdsToRemove"]["member"] !== undefined) {
12401
- contents.UserGroupIdsToRemove = deserializeAws_queryUserGroupIdList((0, smithy_client_1.getArrayIfSingleItem)(output["UserGroupIdsToRemove"]["member"]), context);
12401
+ contents.UserGroupIdsToRemove = deserializeAws_queryUserGroupIdList(smithy_client_1.getArrayIfSingleItem(output["UserGroupIdsToRemove"]["member"]), context);
12402
12402
  }
12403
12403
  return contents;
12404
12404
  };
@@ -12409,7 +12409,7 @@ const deserializeAws_queryUserIdList = (output, context) => {
12409
12409
  if (entry === null) {
12410
12410
  return null;
12411
12411
  }
12412
- return (0, smithy_client_1.expectString)(entry);
12412
+ return smithy_client_1.expectString(entry);
12413
12413
  });
12414
12414
  };
12415
12415
  const deserializeAws_queryUserList = (output, context) => {
@@ -12427,7 +12427,7 @@ const deserializeAws_queryUserNotFoundFault = (output, context) => {
12427
12427
  message: undefined,
12428
12428
  };
12429
12429
  if (output["message"] !== undefined) {
12430
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
12430
+ contents.message = smithy_client_1.expectString(output["message"]);
12431
12431
  }
12432
12432
  return contents;
12433
12433
  };
@@ -12436,7 +12436,7 @@ const deserializeAws_queryUserQuotaExceededFault = (output, context) => {
12436
12436
  message: undefined,
12437
12437
  };
12438
12438
  if (output["message"] !== undefined) {
12439
- contents.message = (0, smithy_client_1.expectString)(output["message"]);
12439
+ contents.message = smithy_client_1.expectString(output["message"]);
12440
12440
  }
12441
12441
  return contents;
12442
12442
  };
@@ -12478,12 +12478,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
12478
12478
  };
12479
12479
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
12480
12480
  if (encoded.length) {
12481
- const parsedObj = (0, fast_xml_parser_1.parse)(encoded, {
12481
+ const parsedObj = fast_xml_parser_1.parse(encoded, {
12482
12482
  attributeNamePrefix: "",
12483
12483
  ignoreAttributes: false,
12484
12484
  parseNodeValue: false,
12485
12485
  trimValues: false,
12486
- tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : (0, entities_1.decodeHTML)(val)),
12486
+ tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
12487
12487
  });
12488
12488
  const textNodeName = "#text";
12489
12489
  const key = Object.keys(parsedObj)[0];
@@ -12492,12 +12492,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
12492
12492
  parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
12493
12493
  delete parsedObjToReturn[textNodeName];
12494
12494
  }
12495
- return (0, smithy_client_1.getValueFromTextNode)(parsedObjToReturn);
12495
+ return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
12496
12496
  }
12497
12497
  return {};
12498
12498
  });
12499
12499
  const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
12500
- .map(([key, value]) => (0, smithy_client_1.extendedEncodeURIComponent)(key) + "=" + (0, smithy_client_1.extendedEncodeURIComponent)(value))
12500
+ .map(([key, value]) => smithy_client_1.extendedEncodeURIComponent(key) + "=" + smithy_client_1.extendedEncodeURIComponent(value))
12501
12501
  .join("&");
12502
12502
  const loadQueryErrorCode = (output, data) => {
12503
12503
  if (data.Error.Code !== undefined) {