@aws-sdk/client-elasticache 3.296.0 → 3.297.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 (90) hide show
  1. package/dist-cjs/protocols/Aws_query.js +174 -839
  2. package/dist-es/protocols/Aws_query.js +174 -839
  3. package/dist-types/ElastiCache.d.ts +66 -0
  4. package/dist-types/ElastiCacheClient.d.ts +24 -4
  5. package/dist-types/commands/AddTagsToResourceCommand.d.ts +16 -0
  6. package/dist-types/commands/AuthorizeCacheSecurityGroupIngressCommand.d.ts +16 -0
  7. package/dist-types/commands/BatchApplyUpdateActionCommand.d.ts +16 -0
  8. package/dist-types/commands/BatchStopUpdateActionCommand.d.ts +16 -0
  9. package/dist-types/commands/CompleteMigrationCommand.d.ts +16 -0
  10. package/dist-types/commands/CopySnapshotCommand.d.ts +16 -0
  11. package/dist-types/commands/CreateCacheClusterCommand.d.ts +16 -0
  12. package/dist-types/commands/CreateCacheParameterGroupCommand.d.ts +16 -0
  13. package/dist-types/commands/CreateCacheSecurityGroupCommand.d.ts +16 -0
  14. package/dist-types/commands/CreateCacheSubnetGroupCommand.d.ts +16 -0
  15. package/dist-types/commands/CreateGlobalReplicationGroupCommand.d.ts +16 -0
  16. package/dist-types/commands/CreateReplicationGroupCommand.d.ts +16 -0
  17. package/dist-types/commands/CreateSnapshotCommand.d.ts +16 -0
  18. package/dist-types/commands/CreateUserCommand.d.ts +16 -0
  19. package/dist-types/commands/CreateUserGroupCommand.d.ts +16 -0
  20. package/dist-types/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +16 -0
  21. package/dist-types/commands/DecreaseReplicaCountCommand.d.ts +16 -0
  22. package/dist-types/commands/DeleteCacheClusterCommand.d.ts +16 -0
  23. package/dist-types/commands/DeleteCacheParameterGroupCommand.d.ts +16 -0
  24. package/dist-types/commands/DeleteCacheSecurityGroupCommand.d.ts +16 -0
  25. package/dist-types/commands/DeleteCacheSubnetGroupCommand.d.ts +16 -0
  26. package/dist-types/commands/DeleteGlobalReplicationGroupCommand.d.ts +16 -0
  27. package/dist-types/commands/DeleteReplicationGroupCommand.d.ts +16 -0
  28. package/dist-types/commands/DeleteSnapshotCommand.d.ts +16 -0
  29. package/dist-types/commands/DeleteUserCommand.d.ts +16 -0
  30. package/dist-types/commands/DeleteUserGroupCommand.d.ts +16 -0
  31. package/dist-types/commands/DescribeCacheClustersCommand.d.ts +16 -0
  32. package/dist-types/commands/DescribeCacheEngineVersionsCommand.d.ts +16 -0
  33. package/dist-types/commands/DescribeCacheParameterGroupsCommand.d.ts +16 -0
  34. package/dist-types/commands/DescribeCacheParametersCommand.d.ts +16 -0
  35. package/dist-types/commands/DescribeCacheSecurityGroupsCommand.d.ts +16 -0
  36. package/dist-types/commands/DescribeCacheSubnetGroupsCommand.d.ts +16 -0
  37. package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +16 -0
  38. package/dist-types/commands/DescribeEventsCommand.d.ts +16 -0
  39. package/dist-types/commands/DescribeGlobalReplicationGroupsCommand.d.ts +16 -0
  40. package/dist-types/commands/DescribeReplicationGroupsCommand.d.ts +16 -0
  41. package/dist-types/commands/DescribeReservedCacheNodesCommand.d.ts +16 -0
  42. package/dist-types/commands/DescribeReservedCacheNodesOfferingsCommand.d.ts +16 -0
  43. package/dist-types/commands/DescribeServiceUpdatesCommand.d.ts +16 -0
  44. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +16 -0
  45. package/dist-types/commands/DescribeUpdateActionsCommand.d.ts +16 -0
  46. package/dist-types/commands/DescribeUserGroupsCommand.d.ts +16 -0
  47. package/dist-types/commands/DescribeUsersCommand.d.ts +16 -0
  48. package/dist-types/commands/DisassociateGlobalReplicationGroupCommand.d.ts +16 -0
  49. package/dist-types/commands/FailoverGlobalReplicationGroupCommand.d.ts +16 -0
  50. package/dist-types/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +16 -0
  51. package/dist-types/commands/IncreaseReplicaCountCommand.d.ts +16 -0
  52. package/dist-types/commands/ListAllowedNodeTypeModificationsCommand.d.ts +16 -0
  53. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  54. package/dist-types/commands/ModifyCacheClusterCommand.d.ts +16 -0
  55. package/dist-types/commands/ModifyCacheParameterGroupCommand.d.ts +16 -0
  56. package/dist-types/commands/ModifyCacheSubnetGroupCommand.d.ts +16 -0
  57. package/dist-types/commands/ModifyGlobalReplicationGroupCommand.d.ts +16 -0
  58. package/dist-types/commands/ModifyReplicationGroupCommand.d.ts +16 -0
  59. package/dist-types/commands/ModifyReplicationGroupShardConfigurationCommand.d.ts +16 -0
  60. package/dist-types/commands/ModifyUserCommand.d.ts +16 -0
  61. package/dist-types/commands/ModifyUserGroupCommand.d.ts +16 -0
  62. package/dist-types/commands/PurchaseReservedCacheNodesOfferingCommand.d.ts +16 -0
  63. package/dist-types/commands/RebalanceSlotsInGlobalReplicationGroupCommand.d.ts +16 -0
  64. package/dist-types/commands/RebootCacheClusterCommand.d.ts +16 -0
  65. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +16 -0
  66. package/dist-types/commands/ResetCacheParameterGroupCommand.d.ts +16 -0
  67. package/dist-types/commands/RevokeCacheSecurityGroupIngressCommand.d.ts +16 -0
  68. package/dist-types/commands/StartMigrationCommand.d.ts +16 -0
  69. package/dist-types/commands/TestFailoverCommand.d.ts +16 -0
  70. package/dist-types/models/ElastiCacheServiceException.d.ts +2 -0
  71. package/dist-types/models/models_0.d.ts +458 -0
  72. package/dist-types/pagination/DescribeCacheClustersPaginator.d.ts +3 -0
  73. package/dist-types/pagination/DescribeCacheEngineVersionsPaginator.d.ts +3 -0
  74. package/dist-types/pagination/DescribeCacheParameterGroupsPaginator.d.ts +3 -0
  75. package/dist-types/pagination/DescribeCacheParametersPaginator.d.ts +3 -0
  76. package/dist-types/pagination/DescribeCacheSecurityGroupsPaginator.d.ts +3 -0
  77. package/dist-types/pagination/DescribeCacheSubnetGroupsPaginator.d.ts +3 -0
  78. package/dist-types/pagination/DescribeEngineDefaultParametersPaginator.d.ts +3 -0
  79. package/dist-types/pagination/DescribeEventsPaginator.d.ts +3 -0
  80. package/dist-types/pagination/DescribeGlobalReplicationGroupsPaginator.d.ts +3 -0
  81. package/dist-types/pagination/DescribeReplicationGroupsPaginator.d.ts +3 -0
  82. package/dist-types/pagination/DescribeReservedCacheNodesOfferingsPaginator.d.ts +3 -0
  83. package/dist-types/pagination/DescribeReservedCacheNodesPaginator.d.ts +3 -0
  84. package/dist-types/pagination/DescribeServiceUpdatesPaginator.d.ts +3 -0
  85. package/dist-types/pagination/DescribeSnapshotsPaginator.d.ts +3 -0
  86. package/dist-types/pagination/DescribeUpdateActionsPaginator.d.ts +3 -0
  87. package/dist-types/pagination/DescribeUserGroupsPaginator.d.ts +3 -0
  88. package/dist-types/pagination/DescribeUsersPaginator.d.ts +3 -0
  89. package/dist-types/pagination/Interfaces.d.ts +3 -0
  90. package/package.json +3 -3
@@ -6918,10 +6918,7 @@ const serializeAws_queryUserIdListInput = (input, context) => {
6918
6918
  return entries;
6919
6919
  };
6920
6920
  const deserializeAws_queryAllowedNodeTypeModificationsMessage = (output, context) => {
6921
- const contents = {
6922
- ScaleUpModifications: undefined,
6923
- ScaleDownModifications: undefined,
6924
- };
6921
+ const contents = {};
6925
6922
  if (output.ScaleUpModifications === "") {
6926
6923
  contents.ScaleUpModifications = [];
6927
6924
  }
@@ -6938,19 +6935,14 @@ const deserializeAws_queryAllowedNodeTypeModificationsMessage = (output, context
6938
6935
  return contents;
6939
6936
  };
6940
6937
  const deserializeAws_queryAPICallRateForCustomerExceededFault = (output, context) => {
6941
- const contents = {
6942
- message: undefined,
6943
- };
6938
+ const contents = {};
6944
6939
  if (output["message"] !== undefined) {
6945
6940
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6946
6941
  }
6947
6942
  return contents;
6948
6943
  };
6949
6944
  const deserializeAws_queryAuthentication = (output, context) => {
6950
- const contents = {
6951
- Type: undefined,
6952
- PasswordCount: undefined,
6953
- };
6945
+ const contents = {};
6954
6946
  if (output["Type"] !== undefined) {
6955
6947
  contents.Type = (0, smithy_client_1.expectString)(output["Type"]);
6956
6948
  }
@@ -6960,36 +6952,28 @@ const deserializeAws_queryAuthentication = (output, context) => {
6960
6952
  return contents;
6961
6953
  };
6962
6954
  const deserializeAws_queryAuthorizationAlreadyExistsFault = (output, context) => {
6963
- const contents = {
6964
- message: undefined,
6965
- };
6955
+ const contents = {};
6966
6956
  if (output["message"] !== undefined) {
6967
6957
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6968
6958
  }
6969
6959
  return contents;
6970
6960
  };
6971
6961
  const deserializeAws_queryAuthorizationNotFoundFault = (output, context) => {
6972
- const contents = {
6973
- message: undefined,
6974
- };
6962
+ const contents = {};
6975
6963
  if (output["message"] !== undefined) {
6976
6964
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6977
6965
  }
6978
6966
  return contents;
6979
6967
  };
6980
6968
  const deserializeAws_queryAuthorizeCacheSecurityGroupIngressResult = (output, context) => {
6981
- const contents = {
6982
- CacheSecurityGroup: undefined,
6983
- };
6969
+ const contents = {};
6984
6970
  if (output["CacheSecurityGroup"] !== undefined) {
6985
6971
  contents.CacheSecurityGroup = deserializeAws_queryCacheSecurityGroup(output["CacheSecurityGroup"], context);
6986
6972
  }
6987
6973
  return contents;
6988
6974
  };
6989
6975
  const deserializeAws_queryAvailabilityZone = (output, context) => {
6990
- const contents = {
6991
- Name: undefined,
6992
- };
6976
+ const contents = {};
6993
6977
  if (output["Name"] !== undefined) {
6994
6978
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6995
6979
  }
@@ -7003,41 +6987,7 @@ const deserializeAws_queryAvailabilityZonesList = (output, context) => {
7003
6987
  });
7004
6988
  };
7005
6989
  const deserializeAws_queryCacheCluster = (output, context) => {
7006
- const contents = {
7007
- CacheClusterId: undefined,
7008
- ConfigurationEndpoint: undefined,
7009
- ClientDownloadLandingPage: undefined,
7010
- CacheNodeType: undefined,
7011
- Engine: undefined,
7012
- EngineVersion: undefined,
7013
- CacheClusterStatus: undefined,
7014
- NumCacheNodes: undefined,
7015
- PreferredAvailabilityZone: undefined,
7016
- PreferredOutpostArn: undefined,
7017
- CacheClusterCreateTime: undefined,
7018
- PreferredMaintenanceWindow: undefined,
7019
- PendingModifiedValues: undefined,
7020
- NotificationConfiguration: undefined,
7021
- CacheSecurityGroups: undefined,
7022
- CacheParameterGroup: undefined,
7023
- CacheSubnetGroupName: undefined,
7024
- CacheNodes: undefined,
7025
- AutoMinorVersionUpgrade: undefined,
7026
- SecurityGroups: undefined,
7027
- ReplicationGroupId: undefined,
7028
- SnapshotRetentionLimit: undefined,
7029
- SnapshotWindow: undefined,
7030
- AuthTokenEnabled: undefined,
7031
- AuthTokenLastModifiedDate: undefined,
7032
- TransitEncryptionEnabled: undefined,
7033
- AtRestEncryptionEnabled: undefined,
7034
- ARN: undefined,
7035
- ReplicationGroupLogDeliveryEnabled: undefined,
7036
- LogDeliveryConfigurations: undefined,
7037
- NetworkType: undefined,
7038
- IpDiscovery: undefined,
7039
- TransitEncryptionMode: undefined,
7040
- };
6990
+ const contents = {};
7041
6991
  if (output["CacheClusterId"] !== undefined) {
7042
6992
  contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
7043
6993
  }
@@ -7154,9 +7104,7 @@ const deserializeAws_queryCacheCluster = (output, context) => {
7154
7104
  return contents;
7155
7105
  };
7156
7106
  const deserializeAws_queryCacheClusterAlreadyExistsFault = (output, context) => {
7157
- const contents = {
7158
- message: undefined,
7159
- };
7107
+ const contents = {};
7160
7108
  if (output["message"] !== undefined) {
7161
7109
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7162
7110
  }
@@ -7170,10 +7118,7 @@ const deserializeAws_queryCacheClusterList = (output, context) => {
7170
7118
  });
7171
7119
  };
7172
7120
  const deserializeAws_queryCacheClusterMessage = (output, context) => {
7173
- const contents = {
7174
- Marker: undefined,
7175
- CacheClusters: undefined,
7176
- };
7121
+ const contents = {};
7177
7122
  if (output["Marker"] !== undefined) {
7178
7123
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7179
7124
  }
@@ -7186,22 +7131,14 @@ const deserializeAws_queryCacheClusterMessage = (output, context) => {
7186
7131
  return contents;
7187
7132
  };
7188
7133
  const deserializeAws_queryCacheClusterNotFoundFault = (output, context) => {
7189
- const contents = {
7190
- message: undefined,
7191
- };
7134
+ const contents = {};
7192
7135
  if (output["message"] !== undefined) {
7193
7136
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7194
7137
  }
7195
7138
  return contents;
7196
7139
  };
7197
7140
  const deserializeAws_queryCacheEngineVersion = (output, context) => {
7198
- const contents = {
7199
- Engine: undefined,
7200
- EngineVersion: undefined,
7201
- CacheParameterGroupFamily: undefined,
7202
- CacheEngineDescription: undefined,
7203
- CacheEngineVersionDescription: undefined,
7204
- };
7141
+ const contents = {};
7205
7142
  if (output["Engine"] !== undefined) {
7206
7143
  contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
7207
7144
  }
@@ -7227,10 +7164,7 @@ const deserializeAws_queryCacheEngineVersionList = (output, context) => {
7227
7164
  });
7228
7165
  };
7229
7166
  const deserializeAws_queryCacheEngineVersionMessage = (output, context) => {
7230
- const contents = {
7231
- Marker: undefined,
7232
- CacheEngineVersions: undefined,
7233
- };
7167
+ const contents = {};
7234
7168
  if (output["Marker"] !== undefined) {
7235
7169
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7236
7170
  }
@@ -7244,16 +7178,7 @@ const deserializeAws_queryCacheEngineVersionMessage = (output, context) => {
7244
7178
  return contents;
7245
7179
  };
7246
7180
  const deserializeAws_queryCacheNode = (output, context) => {
7247
- const contents = {
7248
- CacheNodeId: undefined,
7249
- CacheNodeStatus: undefined,
7250
- CacheNodeCreateTime: undefined,
7251
- Endpoint: undefined,
7252
- ParameterGroupStatus: undefined,
7253
- SourceCacheNodeId: undefined,
7254
- CustomerAvailabilityZone: undefined,
7255
- CustomerOutpostArn: undefined,
7256
- };
7181
+ const contents = {};
7257
7182
  if (output["CacheNodeId"] !== undefined) {
7258
7183
  contents.CacheNodeId = (0, smithy_client_1.expectString)(output["CacheNodeId"]);
7259
7184
  }
@@ -7295,17 +7220,7 @@ const deserializeAws_queryCacheNodeList = (output, context) => {
7295
7220
  });
7296
7221
  };
7297
7222
  const deserializeAws_queryCacheNodeTypeSpecificParameter = (output, context) => {
7298
- const contents = {
7299
- ParameterName: undefined,
7300
- Description: undefined,
7301
- Source: undefined,
7302
- DataType: undefined,
7303
- AllowedValues: undefined,
7304
- IsModifiable: undefined,
7305
- MinimumEngineVersion: undefined,
7306
- CacheNodeTypeSpecificValues: undefined,
7307
- ChangeType: undefined,
7308
- };
7223
+ const contents = {};
7309
7224
  if (output["ParameterName"] !== undefined) {
7310
7225
  contents.ParameterName = (0, smithy_client_1.expectString)(output["ParameterName"]);
7311
7226
  }
@@ -7347,10 +7262,7 @@ const deserializeAws_queryCacheNodeTypeSpecificParametersList = (output, context
7347
7262
  });
7348
7263
  };
7349
7264
  const deserializeAws_queryCacheNodeTypeSpecificValue = (output, context) => {
7350
- const contents = {
7351
- CacheNodeType: undefined,
7352
- Value: undefined,
7353
- };
7265
+ const contents = {};
7354
7266
  if (output["CacheNodeType"] !== undefined) {
7355
7267
  contents.CacheNodeType = (0, smithy_client_1.expectString)(output["CacheNodeType"]);
7356
7268
  }
@@ -7367,16 +7279,7 @@ const deserializeAws_queryCacheNodeTypeSpecificValueList = (output, context) =>
7367
7279
  });
7368
7280
  };
7369
7281
  const deserializeAws_queryCacheNodeUpdateStatus = (output, context) => {
7370
- const contents = {
7371
- CacheNodeId: undefined,
7372
- NodeUpdateStatus: undefined,
7373
- NodeDeletionDate: undefined,
7374
- NodeUpdateStartDate: undefined,
7375
- NodeUpdateEndDate: undefined,
7376
- NodeUpdateInitiatedBy: undefined,
7377
- NodeUpdateInitiatedDate: undefined,
7378
- NodeUpdateStatusModifiedDate: undefined,
7379
- };
7282
+ const contents = {};
7380
7283
  if (output["CacheNodeId"] !== undefined) {
7381
7284
  contents.CacheNodeId = (0, smithy_client_1.expectString)(output["CacheNodeId"]);
7382
7285
  }
@@ -7411,13 +7314,7 @@ const deserializeAws_queryCacheNodeUpdateStatusList = (output, context) => {
7411
7314
  });
7412
7315
  };
7413
7316
  const deserializeAws_queryCacheParameterGroup = (output, context) => {
7414
- const contents = {
7415
- CacheParameterGroupName: undefined,
7416
- CacheParameterGroupFamily: undefined,
7417
- Description: undefined,
7418
- IsGlobal: undefined,
7419
- ARN: undefined,
7420
- };
7317
+ const contents = {};
7421
7318
  if (output["CacheParameterGroupName"] !== undefined) {
7422
7319
  contents.CacheParameterGroupName = (0, smithy_client_1.expectString)(output["CacheParameterGroupName"]);
7423
7320
  }
@@ -7436,20 +7333,14 @@ const deserializeAws_queryCacheParameterGroup = (output, context) => {
7436
7333
  return contents;
7437
7334
  };
7438
7335
  const deserializeAws_queryCacheParameterGroupAlreadyExistsFault = (output, context) => {
7439
- const contents = {
7440
- message: undefined,
7441
- };
7336
+ const contents = {};
7442
7337
  if (output["message"] !== undefined) {
7443
7338
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7444
7339
  }
7445
7340
  return contents;
7446
7341
  };
7447
7342
  const deserializeAws_queryCacheParameterGroupDetails = (output, context) => {
7448
- const contents = {
7449
- Marker: undefined,
7450
- Parameters: undefined,
7451
- CacheNodeTypeSpecificParameters: undefined,
7452
- };
7343
+ const contents = {};
7453
7344
  if (output["Marker"] !== undefined) {
7454
7345
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7455
7346
  }
@@ -7476,37 +7367,28 @@ const deserializeAws_queryCacheParameterGroupList = (output, context) => {
7476
7367
  });
7477
7368
  };
7478
7369
  const deserializeAws_queryCacheParameterGroupNameMessage = (output, context) => {
7479
- const contents = {
7480
- CacheParameterGroupName: undefined,
7481
- };
7370
+ const contents = {};
7482
7371
  if (output["CacheParameterGroupName"] !== undefined) {
7483
7372
  contents.CacheParameterGroupName = (0, smithy_client_1.expectString)(output["CacheParameterGroupName"]);
7484
7373
  }
7485
7374
  return contents;
7486
7375
  };
7487
7376
  const deserializeAws_queryCacheParameterGroupNotFoundFault = (output, context) => {
7488
- const contents = {
7489
- message: undefined,
7490
- };
7377
+ const contents = {};
7491
7378
  if (output["message"] !== undefined) {
7492
7379
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7493
7380
  }
7494
7381
  return contents;
7495
7382
  };
7496
7383
  const deserializeAws_queryCacheParameterGroupQuotaExceededFault = (output, context) => {
7497
- const contents = {
7498
- message: undefined,
7499
- };
7384
+ const contents = {};
7500
7385
  if (output["message"] !== undefined) {
7501
7386
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7502
7387
  }
7503
7388
  return contents;
7504
7389
  };
7505
7390
  const deserializeAws_queryCacheParameterGroupsMessage = (output, context) => {
7506
- const contents = {
7507
- Marker: undefined,
7508
- CacheParameterGroups: undefined,
7509
- };
7391
+ const contents = {};
7510
7392
  if (output["Marker"] !== undefined) {
7511
7393
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7512
7394
  }
@@ -7520,11 +7402,7 @@ const deserializeAws_queryCacheParameterGroupsMessage = (output, context) => {
7520
7402
  return contents;
7521
7403
  };
7522
7404
  const deserializeAws_queryCacheParameterGroupStatus = (output, context) => {
7523
- const contents = {
7524
- CacheParameterGroupName: undefined,
7525
- ParameterApplyStatus: undefined,
7526
- CacheNodeIdsToReboot: undefined,
7527
- };
7405
+ const contents = {};
7528
7406
  if (output["CacheParameterGroupName"] !== undefined) {
7529
7407
  contents.CacheParameterGroupName = (0, smithy_client_1.expectString)(output["CacheParameterGroupName"]);
7530
7408
  }
@@ -7541,13 +7419,7 @@ const deserializeAws_queryCacheParameterGroupStatus = (output, context) => {
7541
7419
  return contents;
7542
7420
  };
7543
7421
  const deserializeAws_queryCacheSecurityGroup = (output, context) => {
7544
- const contents = {
7545
- OwnerId: undefined,
7546
- CacheSecurityGroupName: undefined,
7547
- Description: undefined,
7548
- EC2SecurityGroups: undefined,
7549
- ARN: undefined,
7550
- };
7422
+ const contents = {};
7551
7423
  if (output["OwnerId"] !== undefined) {
7552
7424
  contents.OwnerId = (0, smithy_client_1.expectString)(output["OwnerId"]);
7553
7425
  }
@@ -7570,19 +7442,14 @@ const deserializeAws_queryCacheSecurityGroup = (output, context) => {
7570
7442
  return contents;
7571
7443
  };
7572
7444
  const deserializeAws_queryCacheSecurityGroupAlreadyExistsFault = (output, context) => {
7573
- const contents = {
7574
- message: undefined,
7575
- };
7445
+ const contents = {};
7576
7446
  if (output["message"] !== undefined) {
7577
7447
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7578
7448
  }
7579
7449
  return contents;
7580
7450
  };
7581
7451
  const deserializeAws_queryCacheSecurityGroupMembership = (output, context) => {
7582
- const contents = {
7583
- CacheSecurityGroupName: undefined,
7584
- Status: undefined,
7585
- };
7452
+ const contents = {};
7586
7453
  if (output["CacheSecurityGroupName"] !== undefined) {
7587
7454
  contents.CacheSecurityGroupName = (0, smithy_client_1.expectString)(output["CacheSecurityGroupName"]);
7588
7455
  }
@@ -7599,10 +7466,7 @@ const deserializeAws_queryCacheSecurityGroupMembershipList = (output, context) =
7599
7466
  });
7600
7467
  };
7601
7468
  const deserializeAws_queryCacheSecurityGroupMessage = (output, context) => {
7602
- const contents = {
7603
- Marker: undefined,
7604
- CacheSecurityGroups: undefined,
7605
- };
7469
+ const contents = {};
7606
7470
  if (output["Marker"] !== undefined) {
7607
7471
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7608
7472
  }
@@ -7616,18 +7480,14 @@ const deserializeAws_queryCacheSecurityGroupMessage = (output, context) => {
7616
7480
  return contents;
7617
7481
  };
7618
7482
  const deserializeAws_queryCacheSecurityGroupNotFoundFault = (output, context) => {
7619
- const contents = {
7620
- message: undefined,
7621
- };
7483
+ const contents = {};
7622
7484
  if (output["message"] !== undefined) {
7623
7485
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7624
7486
  }
7625
7487
  return contents;
7626
7488
  };
7627
7489
  const deserializeAws_queryCacheSecurityGroupQuotaExceededFault = (output, context) => {
7628
- const contents = {
7629
- message: undefined,
7630
- };
7490
+ const contents = {};
7631
7491
  if (output["message"] !== undefined) {
7632
7492
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7633
7493
  }
@@ -7641,14 +7501,7 @@ const deserializeAws_queryCacheSecurityGroups = (output, context) => {
7641
7501
  });
7642
7502
  };
7643
7503
  const deserializeAws_queryCacheSubnetGroup = (output, context) => {
7644
- const contents = {
7645
- CacheSubnetGroupName: undefined,
7646
- CacheSubnetGroupDescription: undefined,
7647
- VpcId: undefined,
7648
- Subnets: undefined,
7649
- ARN: undefined,
7650
- SupportedNetworkTypes: undefined,
7651
- };
7504
+ const contents = {};
7652
7505
  if (output["CacheSubnetGroupName"] !== undefined) {
7653
7506
  contents.CacheSubnetGroupName = (0, smithy_client_1.expectString)(output["CacheSubnetGroupName"]);
7654
7507
  }
@@ -7676,28 +7529,21 @@ const deserializeAws_queryCacheSubnetGroup = (output, context) => {
7676
7529
  return contents;
7677
7530
  };
7678
7531
  const deserializeAws_queryCacheSubnetGroupAlreadyExistsFault = (output, context) => {
7679
- const contents = {
7680
- message: undefined,
7681
- };
7532
+ const contents = {};
7682
7533
  if (output["message"] !== undefined) {
7683
7534
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7684
7535
  }
7685
7536
  return contents;
7686
7537
  };
7687
7538
  const deserializeAws_queryCacheSubnetGroupInUse = (output, context) => {
7688
- const contents = {
7689
- message: undefined,
7690
- };
7539
+ const contents = {};
7691
7540
  if (output["message"] !== undefined) {
7692
7541
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7693
7542
  }
7694
7543
  return contents;
7695
7544
  };
7696
7545
  const deserializeAws_queryCacheSubnetGroupMessage = (output, context) => {
7697
- const contents = {
7698
- Marker: undefined,
7699
- CacheSubnetGroups: undefined,
7700
- };
7546
+ const contents = {};
7701
7547
  if (output["Marker"] !== undefined) {
7702
7548
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7703
7549
  }
@@ -7711,18 +7557,14 @@ const deserializeAws_queryCacheSubnetGroupMessage = (output, context) => {
7711
7557
  return contents;
7712
7558
  };
7713
7559
  const deserializeAws_queryCacheSubnetGroupNotFoundFault = (output, context) => {
7714
- const contents = {
7715
- message: undefined,
7716
- };
7560
+ const contents = {};
7717
7561
  if (output["message"] !== undefined) {
7718
7562
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7719
7563
  }
7720
7564
  return contents;
7721
7565
  };
7722
7566
  const deserializeAws_queryCacheSubnetGroupQuotaExceededFault = (output, context) => {
7723
- const contents = {
7724
- message: undefined,
7725
- };
7567
+ const contents = {};
7726
7568
  if (output["message"] !== undefined) {
7727
7569
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7728
7570
  }
@@ -7736,18 +7578,14 @@ const deserializeAws_queryCacheSubnetGroups = (output, context) => {
7736
7578
  });
7737
7579
  };
7738
7580
  const deserializeAws_queryCacheSubnetQuotaExceededFault = (output, context) => {
7739
- const contents = {
7740
- message: undefined,
7741
- };
7581
+ const contents = {};
7742
7582
  if (output["message"] !== undefined) {
7743
7583
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7744
7584
  }
7745
7585
  return contents;
7746
7586
  };
7747
7587
  const deserializeAws_queryCloudWatchLogsDestinationDetails = (output, context) => {
7748
- const contents = {
7749
- LogGroup: undefined,
7750
- };
7588
+ const contents = {};
7751
7589
  if (output["LogGroup"] !== undefined) {
7752
7590
  contents.LogGroup = (0, smithy_client_1.expectString)(output["LogGroup"]);
7753
7591
  }
@@ -7761,181 +7599,140 @@ const deserializeAws_queryClusterIdList = (output, context) => {
7761
7599
  });
7762
7600
  };
7763
7601
  const deserializeAws_queryClusterQuotaForCustomerExceededFault = (output, context) => {
7764
- const contents = {
7765
- message: undefined,
7766
- };
7602
+ const contents = {};
7767
7603
  if (output["message"] !== undefined) {
7768
7604
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7769
7605
  }
7770
7606
  return contents;
7771
7607
  };
7772
7608
  const deserializeAws_queryCompleteMigrationResponse = (output, context) => {
7773
- const contents = {
7774
- ReplicationGroup: undefined,
7775
- };
7609
+ const contents = {};
7776
7610
  if (output["ReplicationGroup"] !== undefined) {
7777
7611
  contents.ReplicationGroup = deserializeAws_queryReplicationGroup(output["ReplicationGroup"], context);
7778
7612
  }
7779
7613
  return contents;
7780
7614
  };
7781
7615
  const deserializeAws_queryCopySnapshotResult = (output, context) => {
7782
- const contents = {
7783
- Snapshot: undefined,
7784
- };
7616
+ const contents = {};
7785
7617
  if (output["Snapshot"] !== undefined) {
7786
7618
  contents.Snapshot = deserializeAws_querySnapshot(output["Snapshot"], context);
7787
7619
  }
7788
7620
  return contents;
7789
7621
  };
7790
7622
  const deserializeAws_queryCreateCacheClusterResult = (output, context) => {
7791
- const contents = {
7792
- CacheCluster: undefined,
7793
- };
7623
+ const contents = {};
7794
7624
  if (output["CacheCluster"] !== undefined) {
7795
7625
  contents.CacheCluster = deserializeAws_queryCacheCluster(output["CacheCluster"], context);
7796
7626
  }
7797
7627
  return contents;
7798
7628
  };
7799
7629
  const deserializeAws_queryCreateCacheParameterGroupResult = (output, context) => {
7800
- const contents = {
7801
- CacheParameterGroup: undefined,
7802
- };
7630
+ const contents = {};
7803
7631
  if (output["CacheParameterGroup"] !== undefined) {
7804
7632
  contents.CacheParameterGroup = deserializeAws_queryCacheParameterGroup(output["CacheParameterGroup"], context);
7805
7633
  }
7806
7634
  return contents;
7807
7635
  };
7808
7636
  const deserializeAws_queryCreateCacheSecurityGroupResult = (output, context) => {
7809
- const contents = {
7810
- CacheSecurityGroup: undefined,
7811
- };
7637
+ const contents = {};
7812
7638
  if (output["CacheSecurityGroup"] !== undefined) {
7813
7639
  contents.CacheSecurityGroup = deserializeAws_queryCacheSecurityGroup(output["CacheSecurityGroup"], context);
7814
7640
  }
7815
7641
  return contents;
7816
7642
  };
7817
7643
  const deserializeAws_queryCreateCacheSubnetGroupResult = (output, context) => {
7818
- const contents = {
7819
- CacheSubnetGroup: undefined,
7820
- };
7644
+ const contents = {};
7821
7645
  if (output["CacheSubnetGroup"] !== undefined) {
7822
7646
  contents.CacheSubnetGroup = deserializeAws_queryCacheSubnetGroup(output["CacheSubnetGroup"], context);
7823
7647
  }
7824
7648
  return contents;
7825
7649
  };
7826
7650
  const deserializeAws_queryCreateGlobalReplicationGroupResult = (output, context) => {
7827
- const contents = {
7828
- GlobalReplicationGroup: undefined,
7829
- };
7651
+ const contents = {};
7830
7652
  if (output["GlobalReplicationGroup"] !== undefined) {
7831
7653
  contents.GlobalReplicationGroup = deserializeAws_queryGlobalReplicationGroup(output["GlobalReplicationGroup"], context);
7832
7654
  }
7833
7655
  return contents;
7834
7656
  };
7835
7657
  const deserializeAws_queryCreateReplicationGroupResult = (output, context) => {
7836
- const contents = {
7837
- ReplicationGroup: undefined,
7838
- };
7658
+ const contents = {};
7839
7659
  if (output["ReplicationGroup"] !== undefined) {
7840
7660
  contents.ReplicationGroup = deserializeAws_queryReplicationGroup(output["ReplicationGroup"], context);
7841
7661
  }
7842
7662
  return contents;
7843
7663
  };
7844
7664
  const deserializeAws_queryCreateSnapshotResult = (output, context) => {
7845
- const contents = {
7846
- Snapshot: undefined,
7847
- };
7665
+ const contents = {};
7848
7666
  if (output["Snapshot"] !== undefined) {
7849
7667
  contents.Snapshot = deserializeAws_querySnapshot(output["Snapshot"], context);
7850
7668
  }
7851
7669
  return contents;
7852
7670
  };
7853
7671
  const deserializeAws_queryDecreaseNodeGroupsInGlobalReplicationGroupResult = (output, context) => {
7854
- const contents = {
7855
- GlobalReplicationGroup: undefined,
7856
- };
7672
+ const contents = {};
7857
7673
  if (output["GlobalReplicationGroup"] !== undefined) {
7858
7674
  contents.GlobalReplicationGroup = deserializeAws_queryGlobalReplicationGroup(output["GlobalReplicationGroup"], context);
7859
7675
  }
7860
7676
  return contents;
7861
7677
  };
7862
7678
  const deserializeAws_queryDecreaseReplicaCountResult = (output, context) => {
7863
- const contents = {
7864
- ReplicationGroup: undefined,
7865
- };
7679
+ const contents = {};
7866
7680
  if (output["ReplicationGroup"] !== undefined) {
7867
7681
  contents.ReplicationGroup = deserializeAws_queryReplicationGroup(output["ReplicationGroup"], context);
7868
7682
  }
7869
7683
  return contents;
7870
7684
  };
7871
7685
  const deserializeAws_queryDefaultUserAssociatedToUserGroupFault = (output, context) => {
7872
- const contents = {
7873
- message: undefined,
7874
- };
7686
+ const contents = {};
7875
7687
  if (output["message"] !== undefined) {
7876
7688
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7877
7689
  }
7878
7690
  return contents;
7879
7691
  };
7880
7692
  const deserializeAws_queryDefaultUserRequired = (output, context) => {
7881
- const contents = {
7882
- message: undefined,
7883
- };
7693
+ const contents = {};
7884
7694
  if (output["message"] !== undefined) {
7885
7695
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7886
7696
  }
7887
7697
  return contents;
7888
7698
  };
7889
7699
  const deserializeAws_queryDeleteCacheClusterResult = (output, context) => {
7890
- const contents = {
7891
- CacheCluster: undefined,
7892
- };
7700
+ const contents = {};
7893
7701
  if (output["CacheCluster"] !== undefined) {
7894
7702
  contents.CacheCluster = deserializeAws_queryCacheCluster(output["CacheCluster"], context);
7895
7703
  }
7896
7704
  return contents;
7897
7705
  };
7898
7706
  const deserializeAws_queryDeleteGlobalReplicationGroupResult = (output, context) => {
7899
- const contents = {
7900
- GlobalReplicationGroup: undefined,
7901
- };
7707
+ const contents = {};
7902
7708
  if (output["GlobalReplicationGroup"] !== undefined) {
7903
7709
  contents.GlobalReplicationGroup = deserializeAws_queryGlobalReplicationGroup(output["GlobalReplicationGroup"], context);
7904
7710
  }
7905
7711
  return contents;
7906
7712
  };
7907
7713
  const deserializeAws_queryDeleteReplicationGroupResult = (output, context) => {
7908
- const contents = {
7909
- ReplicationGroup: undefined,
7910
- };
7714
+ const contents = {};
7911
7715
  if (output["ReplicationGroup"] !== undefined) {
7912
7716
  contents.ReplicationGroup = deserializeAws_queryReplicationGroup(output["ReplicationGroup"], context);
7913
7717
  }
7914
7718
  return contents;
7915
7719
  };
7916
7720
  const deserializeAws_queryDeleteSnapshotResult = (output, context) => {
7917
- const contents = {
7918
- Snapshot: undefined,
7919
- };
7721
+ const contents = {};
7920
7722
  if (output["Snapshot"] !== undefined) {
7921
7723
  contents.Snapshot = deserializeAws_querySnapshot(output["Snapshot"], context);
7922
7724
  }
7923
7725
  return contents;
7924
7726
  };
7925
7727
  const deserializeAws_queryDescribeEngineDefaultParametersResult = (output, context) => {
7926
- const contents = {
7927
- EngineDefaults: undefined,
7928
- };
7728
+ const contents = {};
7929
7729
  if (output["EngineDefaults"] !== undefined) {
7930
7730
  contents.EngineDefaults = deserializeAws_queryEngineDefaults(output["EngineDefaults"], context);
7931
7731
  }
7932
7732
  return contents;
7933
7733
  };
7934
7734
  const deserializeAws_queryDescribeGlobalReplicationGroupsResult = (output, context) => {
7935
- const contents = {
7936
- Marker: undefined,
7937
- GlobalReplicationGroups: undefined,
7938
- };
7735
+ const contents = {};
7939
7736
  if (output["Marker"] !== undefined) {
7940
7737
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7941
7738
  }
@@ -7949,10 +7746,7 @@ const deserializeAws_queryDescribeGlobalReplicationGroupsResult = (output, conte
7949
7746
  return contents;
7950
7747
  };
7951
7748
  const deserializeAws_queryDescribeSnapshotsListMessage = (output, context) => {
7952
- const contents = {
7953
- Marker: undefined,
7954
- Snapshots: undefined,
7955
- };
7749
+ const contents = {};
7956
7750
  if (output["Marker"] !== undefined) {
7957
7751
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7958
7752
  }
@@ -7965,10 +7759,7 @@ const deserializeAws_queryDescribeSnapshotsListMessage = (output, context) => {
7965
7759
  return contents;
7966
7760
  };
7967
7761
  const deserializeAws_queryDescribeUserGroupsResult = (output, context) => {
7968
- const contents = {
7969
- UserGroups: undefined,
7970
- Marker: undefined,
7971
- };
7762
+ const contents = {};
7972
7763
  if (output.UserGroups === "") {
7973
7764
  contents.UserGroups = [];
7974
7765
  }
@@ -7981,10 +7772,7 @@ const deserializeAws_queryDescribeUserGroupsResult = (output, context) => {
7981
7772
  return contents;
7982
7773
  };
7983
7774
  const deserializeAws_queryDescribeUsersResult = (output, context) => {
7984
- const contents = {
7985
- Users: undefined,
7986
- Marker: undefined,
7987
- };
7775
+ const contents = {};
7988
7776
  if (output.Users === "") {
7989
7777
  contents.Users = [];
7990
7778
  }
@@ -7997,10 +7785,7 @@ const deserializeAws_queryDescribeUsersResult = (output, context) => {
7997
7785
  return contents;
7998
7786
  };
7999
7787
  const deserializeAws_queryDestinationDetails = (output, context) => {
8000
- const contents = {
8001
- CloudWatchLogsDetails: undefined,
8002
- KinesisFirehoseDetails: undefined,
8003
- };
7788
+ const contents = {};
8004
7789
  if (output["CloudWatchLogsDetails"] !== undefined) {
8005
7790
  contents.CloudWatchLogsDetails = deserializeAws_queryCloudWatchLogsDestinationDetails(output["CloudWatchLogsDetails"], context);
8006
7791
  }
@@ -8010,29 +7795,21 @@ const deserializeAws_queryDestinationDetails = (output, context) => {
8010
7795
  return contents;
8011
7796
  };
8012
7797
  const deserializeAws_queryDisassociateGlobalReplicationGroupResult = (output, context) => {
8013
- const contents = {
8014
- GlobalReplicationGroup: undefined,
8015
- };
7798
+ const contents = {};
8016
7799
  if (output["GlobalReplicationGroup"] !== undefined) {
8017
7800
  contents.GlobalReplicationGroup = deserializeAws_queryGlobalReplicationGroup(output["GlobalReplicationGroup"], context);
8018
7801
  }
8019
7802
  return contents;
8020
7803
  };
8021
7804
  const deserializeAws_queryDuplicateUserNameFault = (output, context) => {
8022
- const contents = {
8023
- message: undefined,
8024
- };
7805
+ const contents = {};
8025
7806
  if (output["message"] !== undefined) {
8026
7807
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8027
7808
  }
8028
7809
  return contents;
8029
7810
  };
8030
7811
  const deserializeAws_queryEC2SecurityGroup = (output, context) => {
8031
- const contents = {
8032
- Status: undefined,
8033
- EC2SecurityGroupName: undefined,
8034
- EC2SecurityGroupOwnerId: undefined,
8035
- };
7812
+ const contents = {};
8036
7813
  if (output["Status"] !== undefined) {
8037
7814
  contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
8038
7815
  }
@@ -8052,10 +7829,7 @@ const deserializeAws_queryEC2SecurityGroupList = (output, context) => {
8052
7829
  });
8053
7830
  };
8054
7831
  const deserializeAws_queryEndpoint = (output, context) => {
8055
- const contents = {
8056
- Address: undefined,
8057
- Port: undefined,
8058
- };
7832
+ const contents = {};
8059
7833
  if (output["Address"] !== undefined) {
8060
7834
  contents.Address = (0, smithy_client_1.expectString)(output["Address"]);
8061
7835
  }
@@ -8065,12 +7839,7 @@ const deserializeAws_queryEndpoint = (output, context) => {
8065
7839
  return contents;
8066
7840
  };
8067
7841
  const deserializeAws_queryEngineDefaults = (output, context) => {
8068
- const contents = {
8069
- CacheParameterGroupFamily: undefined,
8070
- Marker: undefined,
8071
- Parameters: undefined,
8072
- CacheNodeTypeSpecificParameters: undefined,
8073
- };
7842
+ const contents = {};
8074
7843
  if (output["CacheParameterGroupFamily"] !== undefined) {
8075
7844
  contents.CacheParameterGroupFamily = (0, smithy_client_1.expectString)(output["CacheParameterGroupFamily"]);
8076
7845
  }
@@ -8093,12 +7862,7 @@ const deserializeAws_queryEngineDefaults = (output, context) => {
8093
7862
  return contents;
8094
7863
  };
8095
7864
  const deserializeAws_queryEvent = (output, context) => {
8096
- const contents = {
8097
- SourceIdentifier: undefined,
8098
- SourceType: undefined,
8099
- Message: undefined,
8100
- Date: undefined,
8101
- };
7865
+ const contents = {};
8102
7866
  if (output["SourceIdentifier"] !== undefined) {
8103
7867
  contents.SourceIdentifier = (0, smithy_client_1.expectString)(output["SourceIdentifier"]);
8104
7868
  }
@@ -8121,10 +7885,7 @@ const deserializeAws_queryEventList = (output, context) => {
8121
7885
  });
8122
7886
  };
8123
7887
  const deserializeAws_queryEventsMessage = (output, context) => {
8124
- const contents = {
8125
- Marker: undefined,
8126
- Events: undefined,
8127
- };
7888
+ const contents = {};
8128
7889
  if (output["Marker"] !== undefined) {
8129
7890
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
8130
7891
  }
@@ -8137,19 +7898,14 @@ const deserializeAws_queryEventsMessage = (output, context) => {
8137
7898
  return contents;
8138
7899
  };
8139
7900
  const deserializeAws_queryFailoverGlobalReplicationGroupResult = (output, context) => {
8140
- const contents = {
8141
- GlobalReplicationGroup: undefined,
8142
- };
7901
+ const contents = {};
8143
7902
  if (output["GlobalReplicationGroup"] !== undefined) {
8144
7903
  contents.GlobalReplicationGroup = deserializeAws_queryGlobalReplicationGroup(output["GlobalReplicationGroup"], context);
8145
7904
  }
8146
7905
  return contents;
8147
7906
  };
8148
7907
  const deserializeAws_queryGlobalNodeGroup = (output, context) => {
8149
- const contents = {
8150
- GlobalNodeGroupId: undefined,
8151
- Slots: undefined,
8152
- };
7908
+ const contents = {};
8153
7909
  if (output["GlobalNodeGroupId"] !== undefined) {
8154
7910
  contents.GlobalNodeGroupId = (0, smithy_client_1.expectString)(output["GlobalNodeGroupId"]);
8155
7911
  }
@@ -8166,21 +7922,7 @@ const deserializeAws_queryGlobalNodeGroupList = (output, context) => {
8166
7922
  });
8167
7923
  };
8168
7924
  const deserializeAws_queryGlobalReplicationGroup = (output, context) => {
8169
- const contents = {
8170
- GlobalReplicationGroupId: undefined,
8171
- GlobalReplicationGroupDescription: undefined,
8172
- Status: undefined,
8173
- CacheNodeType: undefined,
8174
- Engine: undefined,
8175
- EngineVersion: undefined,
8176
- Members: undefined,
8177
- ClusterEnabled: undefined,
8178
- GlobalNodeGroups: undefined,
8179
- AuthTokenEnabled: undefined,
8180
- TransitEncryptionEnabled: undefined,
8181
- AtRestEncryptionEnabled: undefined,
8182
- ARN: undefined,
8183
- };
7925
+ const contents = {};
8184
7926
  if (output["GlobalReplicationGroupId"] !== undefined) {
8185
7927
  contents.GlobalReplicationGroupId = (0, smithy_client_1.expectString)(output["GlobalReplicationGroupId"]);
8186
7928
  }
@@ -8229,19 +7971,14 @@ const deserializeAws_queryGlobalReplicationGroup = (output, context) => {
8229
7971
  return contents;
8230
7972
  };
8231
7973
  const deserializeAws_queryGlobalReplicationGroupAlreadyExistsFault = (output, context) => {
8232
- const contents = {
8233
- message: undefined,
8234
- };
7974
+ const contents = {};
8235
7975
  if (output["message"] !== undefined) {
8236
7976
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8237
7977
  }
8238
7978
  return contents;
8239
7979
  };
8240
7980
  const deserializeAws_queryGlobalReplicationGroupInfo = (output, context) => {
8241
- const contents = {
8242
- GlobalReplicationGroupId: undefined,
8243
- GlobalReplicationGroupMemberRole: undefined,
8244
- };
7981
+ const contents = {};
8245
7982
  if (output["GlobalReplicationGroupId"] !== undefined) {
8246
7983
  contents.GlobalReplicationGroupId = (0, smithy_client_1.expectString)(output["GlobalReplicationGroupId"]);
8247
7984
  }
@@ -8258,13 +7995,7 @@ const deserializeAws_queryGlobalReplicationGroupList = (output, context) => {
8258
7995
  });
8259
7996
  };
8260
7997
  const deserializeAws_queryGlobalReplicationGroupMember = (output, context) => {
8261
- const contents = {
8262
- ReplicationGroupId: undefined,
8263
- ReplicationGroupRegion: undefined,
8264
- Role: undefined,
8265
- AutomaticFailover: undefined,
8266
- Status: undefined,
8267
- };
7998
+ const contents = {};
8268
7999
  if (output["ReplicationGroupId"] !== undefined) {
8269
8000
  contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
8270
8001
  }
@@ -8290,185 +8021,140 @@ const deserializeAws_queryGlobalReplicationGroupMemberList = (output, context) =
8290
8021
  });
8291
8022
  };
8292
8023
  const deserializeAws_queryGlobalReplicationGroupNotFoundFault = (output, context) => {
8293
- const contents = {
8294
- message: undefined,
8295
- };
8024
+ const contents = {};
8296
8025
  if (output["message"] !== undefined) {
8297
8026
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8298
8027
  }
8299
8028
  return contents;
8300
8029
  };
8301
8030
  const deserializeAws_queryIncreaseNodeGroupsInGlobalReplicationGroupResult = (output, context) => {
8302
- const contents = {
8303
- GlobalReplicationGroup: undefined,
8304
- };
8031
+ const contents = {};
8305
8032
  if (output["GlobalReplicationGroup"] !== undefined) {
8306
8033
  contents.GlobalReplicationGroup = deserializeAws_queryGlobalReplicationGroup(output["GlobalReplicationGroup"], context);
8307
8034
  }
8308
8035
  return contents;
8309
8036
  };
8310
8037
  const deserializeAws_queryIncreaseReplicaCountResult = (output, context) => {
8311
- const contents = {
8312
- ReplicationGroup: undefined,
8313
- };
8038
+ const contents = {};
8314
8039
  if (output["ReplicationGroup"] !== undefined) {
8315
8040
  contents.ReplicationGroup = deserializeAws_queryReplicationGroup(output["ReplicationGroup"], context);
8316
8041
  }
8317
8042
  return contents;
8318
8043
  };
8319
8044
  const deserializeAws_queryInsufficientCacheClusterCapacityFault = (output, context) => {
8320
- const contents = {
8321
- message: undefined,
8322
- };
8045
+ const contents = {};
8323
8046
  if (output["message"] !== undefined) {
8324
8047
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8325
8048
  }
8326
8049
  return contents;
8327
8050
  };
8328
8051
  const deserializeAws_queryInvalidARNFault = (output, context) => {
8329
- const contents = {
8330
- message: undefined,
8331
- };
8052
+ const contents = {};
8332
8053
  if (output["message"] !== undefined) {
8333
8054
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8334
8055
  }
8335
8056
  return contents;
8336
8057
  };
8337
8058
  const deserializeAws_queryInvalidCacheClusterStateFault = (output, context) => {
8338
- const contents = {
8339
- message: undefined,
8340
- };
8059
+ const contents = {};
8341
8060
  if (output["message"] !== undefined) {
8342
8061
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8343
8062
  }
8344
8063
  return contents;
8345
8064
  };
8346
8065
  const deserializeAws_queryInvalidCacheParameterGroupStateFault = (output, context) => {
8347
- const contents = {
8348
- message: undefined,
8349
- };
8066
+ const contents = {};
8350
8067
  if (output["message"] !== undefined) {
8351
8068
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8352
8069
  }
8353
8070
  return contents;
8354
8071
  };
8355
8072
  const deserializeAws_queryInvalidCacheSecurityGroupStateFault = (output, context) => {
8356
- const contents = {
8357
- message: undefined,
8358
- };
8073
+ const contents = {};
8359
8074
  if (output["message"] !== undefined) {
8360
8075
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8361
8076
  }
8362
8077
  return contents;
8363
8078
  };
8364
8079
  const deserializeAws_queryInvalidGlobalReplicationGroupStateFault = (output, context) => {
8365
- const contents = {
8366
- message: undefined,
8367
- };
8080
+ const contents = {};
8368
8081
  if (output["message"] !== undefined) {
8369
8082
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8370
8083
  }
8371
8084
  return contents;
8372
8085
  };
8373
8086
  const deserializeAws_queryInvalidKMSKeyFault = (output, context) => {
8374
- const contents = {
8375
- message: undefined,
8376
- };
8087
+ const contents = {};
8377
8088
  if (output["message"] !== undefined) {
8378
8089
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8379
8090
  }
8380
8091
  return contents;
8381
8092
  };
8382
8093
  const deserializeAws_queryInvalidParameterCombinationException = (output, context) => {
8383
- const contents = {
8384
- message: undefined,
8385
- };
8094
+ const contents = {};
8386
8095
  if (output["message"] !== undefined) {
8387
8096
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8388
8097
  }
8389
8098
  return contents;
8390
8099
  };
8391
8100
  const deserializeAws_queryInvalidParameterValueException = (output, context) => {
8392
- const contents = {
8393
- message: undefined,
8394
- };
8101
+ const contents = {};
8395
8102
  if (output["message"] !== undefined) {
8396
8103
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8397
8104
  }
8398
8105
  return contents;
8399
8106
  };
8400
8107
  const deserializeAws_queryInvalidReplicationGroupStateFault = (output, context) => {
8401
- const contents = {
8402
- message: undefined,
8403
- };
8108
+ const contents = {};
8404
8109
  if (output["message"] !== undefined) {
8405
8110
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8406
8111
  }
8407
8112
  return contents;
8408
8113
  };
8409
8114
  const deserializeAws_queryInvalidSnapshotStateFault = (output, context) => {
8410
- const contents = {
8411
- message: undefined,
8412
- };
8115
+ const contents = {};
8413
8116
  if (output["message"] !== undefined) {
8414
8117
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8415
8118
  }
8416
8119
  return contents;
8417
8120
  };
8418
8121
  const deserializeAws_queryInvalidSubnet = (output, context) => {
8419
- const contents = {
8420
- message: undefined,
8421
- };
8122
+ const contents = {};
8422
8123
  if (output["message"] !== undefined) {
8423
8124
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8424
8125
  }
8425
8126
  return contents;
8426
8127
  };
8427
8128
  const deserializeAws_queryInvalidUserGroupStateFault = (output, context) => {
8428
- const contents = {
8429
- message: undefined,
8430
- };
8129
+ const contents = {};
8431
8130
  if (output["message"] !== undefined) {
8432
8131
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8433
8132
  }
8434
8133
  return contents;
8435
8134
  };
8436
8135
  const deserializeAws_queryInvalidUserStateFault = (output, context) => {
8437
- const contents = {
8438
- message: undefined,
8439
- };
8136
+ const contents = {};
8440
8137
  if (output["message"] !== undefined) {
8441
8138
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8442
8139
  }
8443
8140
  return contents;
8444
8141
  };
8445
8142
  const deserializeAws_queryInvalidVPCNetworkStateFault = (output, context) => {
8446
- const contents = {
8447
- message: undefined,
8448
- };
8143
+ const contents = {};
8449
8144
  if (output["message"] !== undefined) {
8450
8145
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8451
8146
  }
8452
8147
  return contents;
8453
8148
  };
8454
8149
  const deserializeAws_queryKinesisFirehoseDestinationDetails = (output, context) => {
8455
- const contents = {
8456
- DeliveryStream: undefined,
8457
- };
8150
+ const contents = {};
8458
8151
  if (output["DeliveryStream"] !== undefined) {
8459
8152
  contents.DeliveryStream = (0, smithy_client_1.expectString)(output["DeliveryStream"]);
8460
8153
  }
8461
8154
  return contents;
8462
8155
  };
8463
8156
  const deserializeAws_queryLogDeliveryConfiguration = (output, context) => {
8464
- const contents = {
8465
- LogType: undefined,
8466
- DestinationType: undefined,
8467
- DestinationDetails: undefined,
8468
- LogFormat: undefined,
8469
- Status: undefined,
8470
- Message: undefined,
8471
- };
8157
+ const contents = {};
8472
8158
  if (output["LogType"] !== undefined) {
8473
8159
  contents.LogType = (0, smithy_client_1.expectString)(output["LogType"]);
8474
8160
  }
@@ -8497,45 +8183,35 @@ const deserializeAws_queryLogDeliveryConfigurationList = (output, context) => {
8497
8183
  });
8498
8184
  };
8499
8185
  const deserializeAws_queryModifyCacheClusterResult = (output, context) => {
8500
- const contents = {
8501
- CacheCluster: undefined,
8502
- };
8186
+ const contents = {};
8503
8187
  if (output["CacheCluster"] !== undefined) {
8504
8188
  contents.CacheCluster = deserializeAws_queryCacheCluster(output["CacheCluster"], context);
8505
8189
  }
8506
8190
  return contents;
8507
8191
  };
8508
8192
  const deserializeAws_queryModifyCacheSubnetGroupResult = (output, context) => {
8509
- const contents = {
8510
- CacheSubnetGroup: undefined,
8511
- };
8193
+ const contents = {};
8512
8194
  if (output["CacheSubnetGroup"] !== undefined) {
8513
8195
  contents.CacheSubnetGroup = deserializeAws_queryCacheSubnetGroup(output["CacheSubnetGroup"], context);
8514
8196
  }
8515
8197
  return contents;
8516
8198
  };
8517
8199
  const deserializeAws_queryModifyGlobalReplicationGroupResult = (output, context) => {
8518
- const contents = {
8519
- GlobalReplicationGroup: undefined,
8520
- };
8200
+ const contents = {};
8521
8201
  if (output["GlobalReplicationGroup"] !== undefined) {
8522
8202
  contents.GlobalReplicationGroup = deserializeAws_queryGlobalReplicationGroup(output["GlobalReplicationGroup"], context);
8523
8203
  }
8524
8204
  return contents;
8525
8205
  };
8526
8206
  const deserializeAws_queryModifyReplicationGroupResult = (output, context) => {
8527
- const contents = {
8528
- ReplicationGroup: undefined,
8529
- };
8207
+ const contents = {};
8530
8208
  if (output["ReplicationGroup"] !== undefined) {
8531
8209
  contents.ReplicationGroup = deserializeAws_queryReplicationGroup(output["ReplicationGroup"], context);
8532
8210
  }
8533
8211
  return contents;
8534
8212
  };
8535
8213
  const deserializeAws_queryModifyReplicationGroupShardConfigurationResult = (output, context) => {
8536
- const contents = {
8537
- ReplicationGroup: undefined,
8538
- };
8214
+ const contents = {};
8539
8215
  if (output["ReplicationGroup"] !== undefined) {
8540
8216
  contents.ReplicationGroup = deserializeAws_queryReplicationGroup(output["ReplicationGroup"], context);
8541
8217
  }
@@ -8549,14 +8225,7 @@ const deserializeAws_queryNetworkTypeList = (output, context) => {
8549
8225
  });
8550
8226
  };
8551
8227
  const deserializeAws_queryNodeGroup = (output, context) => {
8552
- const contents = {
8553
- NodeGroupId: undefined,
8554
- Status: undefined,
8555
- PrimaryEndpoint: undefined,
8556
- ReaderEndpoint: undefined,
8557
- Slots: undefined,
8558
- NodeGroupMembers: undefined,
8559
- };
8228
+ const contents = {};
8560
8229
  if (output["NodeGroupId"] !== undefined) {
8561
8230
  contents.NodeGroupId = (0, smithy_client_1.expectString)(output["NodeGroupId"]);
8562
8231
  }
@@ -8581,15 +8250,7 @@ const deserializeAws_queryNodeGroup = (output, context) => {
8581
8250
  return contents;
8582
8251
  };
8583
8252
  const deserializeAws_queryNodeGroupConfiguration = (output, context) => {
8584
- const contents = {
8585
- NodeGroupId: undefined,
8586
- Slots: undefined,
8587
- ReplicaCount: undefined,
8588
- PrimaryAvailabilityZone: undefined,
8589
- ReplicaAvailabilityZones: undefined,
8590
- PrimaryOutpostArn: undefined,
8591
- ReplicaOutpostArns: undefined,
8592
- };
8253
+ const contents = {};
8593
8254
  if (output["NodeGroupId"] !== undefined) {
8594
8255
  contents.NodeGroupId = (0, smithy_client_1.expectString)(output["NodeGroupId"]);
8595
8256
  }
@@ -8628,14 +8289,7 @@ const deserializeAws_queryNodeGroupList = (output, context) => {
8628
8289
  });
8629
8290
  };
8630
8291
  const deserializeAws_queryNodeGroupMember = (output, context) => {
8631
- const contents = {
8632
- CacheClusterId: undefined,
8633
- CacheNodeId: undefined,
8634
- ReadEndpoint: undefined,
8635
- PreferredAvailabilityZone: undefined,
8636
- PreferredOutpostArn: undefined,
8637
- CurrentRole: undefined,
8638
- };
8292
+ const contents = {};
8639
8293
  if (output["CacheClusterId"] !== undefined) {
8640
8294
  contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
8641
8295
  }
@@ -8664,17 +8318,7 @@ const deserializeAws_queryNodeGroupMemberList = (output, context) => {
8664
8318
  });
8665
8319
  };
8666
8320
  const deserializeAws_queryNodeGroupMemberUpdateStatus = (output, context) => {
8667
- const contents = {
8668
- CacheClusterId: undefined,
8669
- CacheNodeId: undefined,
8670
- NodeUpdateStatus: undefined,
8671
- NodeDeletionDate: undefined,
8672
- NodeUpdateStartDate: undefined,
8673
- NodeUpdateEndDate: undefined,
8674
- NodeUpdateInitiatedBy: undefined,
8675
- NodeUpdateInitiatedDate: undefined,
8676
- NodeUpdateStatusModifiedDate: undefined,
8677
- };
8321
+ const contents = {};
8678
8322
  if (output["CacheClusterId"] !== undefined) {
8679
8323
  contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
8680
8324
  }
@@ -8712,28 +8356,21 @@ const deserializeAws_queryNodeGroupMemberUpdateStatusList = (output, context) =>
8712
8356
  });
8713
8357
  };
8714
8358
  const deserializeAws_queryNodeGroupNotFoundFault = (output, context) => {
8715
- const contents = {
8716
- message: undefined,
8717
- };
8359
+ const contents = {};
8718
8360
  if (output["message"] !== undefined) {
8719
8361
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8720
8362
  }
8721
8363
  return contents;
8722
8364
  };
8723
8365
  const deserializeAws_queryNodeGroupsPerReplicationGroupQuotaExceededFault = (output, context) => {
8724
- const contents = {
8725
- message: undefined,
8726
- };
8366
+ const contents = {};
8727
8367
  if (output["message"] !== undefined) {
8728
8368
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8729
8369
  }
8730
8370
  return contents;
8731
8371
  };
8732
8372
  const deserializeAws_queryNodeGroupUpdateStatus = (output, context) => {
8733
- const contents = {
8734
- NodeGroupId: undefined,
8735
- NodeGroupMemberUpdateStatus: undefined,
8736
- };
8373
+ const contents = {};
8737
8374
  if (output["NodeGroupId"] !== undefined) {
8738
8375
  contents.NodeGroupId = (0, smithy_client_1.expectString)(output["NodeGroupId"]);
8739
8376
  }
@@ -8754,33 +8391,21 @@ const deserializeAws_queryNodeGroupUpdateStatusList = (output, context) => {
8754
8391
  });
8755
8392
  };
8756
8393
  const deserializeAws_queryNodeQuotaForClusterExceededFault = (output, context) => {
8757
- const contents = {
8758
- message: undefined,
8759
- };
8394
+ const contents = {};
8760
8395
  if (output["message"] !== undefined) {
8761
8396
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8762
8397
  }
8763
8398
  return contents;
8764
8399
  };
8765
8400
  const deserializeAws_queryNodeQuotaForCustomerExceededFault = (output, context) => {
8766
- const contents = {
8767
- message: undefined,
8768
- };
8401
+ const contents = {};
8769
8402
  if (output["message"] !== undefined) {
8770
8403
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8771
8404
  }
8772
8405
  return contents;
8773
8406
  };
8774
8407
  const deserializeAws_queryNodeSnapshot = (output, context) => {
8775
- const contents = {
8776
- CacheClusterId: undefined,
8777
- NodeGroupId: undefined,
8778
- CacheNodeId: undefined,
8779
- NodeGroupConfiguration: undefined,
8780
- CacheSize: undefined,
8781
- CacheNodeCreateTime: undefined,
8782
- SnapshotCreateTime: undefined,
8783
- };
8408
+ const contents = {};
8784
8409
  if (output["CacheClusterId"] !== undefined) {
8785
8410
  contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
8786
8411
  }
@@ -8819,19 +8444,14 @@ const deserializeAws_queryNodeTypeList = (output, context) => {
8819
8444
  });
8820
8445
  };
8821
8446
  const deserializeAws_queryNoOperationFault = (output, context) => {
8822
- const contents = {
8823
- message: undefined,
8824
- };
8447
+ const contents = {};
8825
8448
  if (output["message"] !== undefined) {
8826
8449
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8827
8450
  }
8828
8451
  return contents;
8829
8452
  };
8830
8453
  const deserializeAws_queryNotificationConfiguration = (output, context) => {
8831
- const contents = {
8832
- TopicArn: undefined,
8833
- TopicStatus: undefined,
8834
- };
8454
+ const contents = {};
8835
8455
  if (output["TopicArn"] !== undefined) {
8836
8456
  contents.TopicArn = (0, smithy_client_1.expectString)(output["TopicArn"]);
8837
8457
  }
@@ -8848,17 +8468,7 @@ const deserializeAws_queryOutpostArnsList = (output, context) => {
8848
8468
  });
8849
8469
  };
8850
8470
  const deserializeAws_queryParameter = (output, context) => {
8851
- const contents = {
8852
- ParameterName: undefined,
8853
- ParameterValue: undefined,
8854
- Description: undefined,
8855
- Source: undefined,
8856
- DataType: undefined,
8857
- AllowedValues: undefined,
8858
- IsModifiable: undefined,
8859
- MinimumEngineVersion: undefined,
8860
- ChangeType: undefined,
8861
- };
8471
+ const contents = {};
8862
8472
  if (output["ParameterName"] !== undefined) {
8863
8473
  contents.ParameterName = (0, smithy_client_1.expectString)(output["ParameterName"]);
8864
8474
  }
@@ -8896,12 +8506,7 @@ const deserializeAws_queryParametersList = (output, context) => {
8896
8506
  });
8897
8507
  };
8898
8508
  const deserializeAws_queryPendingLogDeliveryConfiguration = (output, context) => {
8899
- const contents = {
8900
- LogType: undefined,
8901
- DestinationType: undefined,
8902
- DestinationDetails: undefined,
8903
- LogFormat: undefined,
8904
- };
8509
+ const contents = {};
8905
8510
  if (output["LogType"] !== undefined) {
8906
8511
  contents.LogType = (0, smithy_client_1.expectString)(output["LogType"]);
8907
8512
  }
@@ -8924,16 +8529,7 @@ const deserializeAws_queryPendingLogDeliveryConfigurationList = (output, context
8924
8529
  });
8925
8530
  };
8926
8531
  const deserializeAws_queryPendingModifiedValues = (output, context) => {
8927
- const contents = {
8928
- NumCacheNodes: undefined,
8929
- CacheNodeIdsToRemove: undefined,
8930
- EngineVersion: undefined,
8931
- CacheNodeType: undefined,
8932
- AuthTokenStatus: undefined,
8933
- LogDeliveryConfigurations: undefined,
8934
- TransitEncryptionEnabled: undefined,
8935
- TransitEncryptionMode: undefined,
8936
- };
8532
+ const contents = {};
8937
8533
  if (output["NumCacheNodes"] !== undefined) {
8938
8534
  contents.NumCacheNodes = (0, smithy_client_1.strictParseInt32)(output["NumCacheNodes"]);
8939
8535
  }
@@ -8969,12 +8565,7 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
8969
8565
  return contents;
8970
8566
  };
8971
8567
  const deserializeAws_queryProcessedUpdateAction = (output, context) => {
8972
- const contents = {
8973
- ReplicationGroupId: undefined,
8974
- CacheClusterId: undefined,
8975
- ServiceUpdateName: undefined,
8976
- UpdateActionStatus: undefined,
8977
- };
8568
+ const contents = {};
8978
8569
  if (output["ReplicationGroupId"] !== undefined) {
8979
8570
  contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
8980
8571
  }
@@ -8997,37 +8588,28 @@ const deserializeAws_queryProcessedUpdateActionList = (output, context) => {
8997
8588
  });
8998
8589
  };
8999
8590
  const deserializeAws_queryPurchaseReservedCacheNodesOfferingResult = (output, context) => {
9000
- const contents = {
9001
- ReservedCacheNode: undefined,
9002
- };
8591
+ const contents = {};
9003
8592
  if (output["ReservedCacheNode"] !== undefined) {
9004
8593
  contents.ReservedCacheNode = deserializeAws_queryReservedCacheNode(output["ReservedCacheNode"], context);
9005
8594
  }
9006
8595
  return contents;
9007
8596
  };
9008
8597
  const deserializeAws_queryRebalanceSlotsInGlobalReplicationGroupResult = (output, context) => {
9009
- const contents = {
9010
- GlobalReplicationGroup: undefined,
9011
- };
8598
+ const contents = {};
9012
8599
  if (output["GlobalReplicationGroup"] !== undefined) {
9013
8600
  contents.GlobalReplicationGroup = deserializeAws_queryGlobalReplicationGroup(output["GlobalReplicationGroup"], context);
9014
8601
  }
9015
8602
  return contents;
9016
8603
  };
9017
8604
  const deserializeAws_queryRebootCacheClusterResult = (output, context) => {
9018
- const contents = {
9019
- CacheCluster: undefined,
9020
- };
8605
+ const contents = {};
9021
8606
  if (output["CacheCluster"] !== undefined) {
9022
8607
  contents.CacheCluster = deserializeAws_queryCacheCluster(output["CacheCluster"], context);
9023
8608
  }
9024
8609
  return contents;
9025
8610
  };
9026
8611
  const deserializeAws_queryRecurringCharge = (output, context) => {
9027
- const contents = {
9028
- RecurringChargeAmount: undefined,
9029
- RecurringChargeFrequency: undefined,
9030
- };
8612
+ const contents = {};
9031
8613
  if (output["RecurringChargeAmount"] !== undefined) {
9032
8614
  contents.RecurringChargeAmount = (0, smithy_client_1.strictParseFloat)(output["RecurringChargeAmount"]);
9033
8615
  }
@@ -9044,38 +8626,7 @@ const deserializeAws_queryRecurringChargeList = (output, context) => {
9044
8626
  });
9045
8627
  };
9046
8628
  const deserializeAws_queryReplicationGroup = (output, context) => {
9047
- const contents = {
9048
- ReplicationGroupId: undefined,
9049
- Description: undefined,
9050
- GlobalReplicationGroupInfo: undefined,
9051
- Status: undefined,
9052
- PendingModifiedValues: undefined,
9053
- MemberClusters: undefined,
9054
- NodeGroups: undefined,
9055
- SnapshottingClusterId: undefined,
9056
- AutomaticFailover: undefined,
9057
- MultiAZ: undefined,
9058
- ConfigurationEndpoint: undefined,
9059
- SnapshotRetentionLimit: undefined,
9060
- SnapshotWindow: undefined,
9061
- ClusterEnabled: undefined,
9062
- CacheNodeType: undefined,
9063
- AuthTokenEnabled: undefined,
9064
- AuthTokenLastModifiedDate: undefined,
9065
- TransitEncryptionEnabled: undefined,
9066
- AtRestEncryptionEnabled: undefined,
9067
- MemberClustersOutpostArns: undefined,
9068
- KmsKeyId: undefined,
9069
- ARN: undefined,
9070
- UserGroupIds: undefined,
9071
- LogDeliveryConfigurations: undefined,
9072
- ReplicationGroupCreateTime: undefined,
9073
- DataTiering: undefined,
9074
- AutoMinorVersionUpgrade: undefined,
9075
- NetworkType: undefined,
9076
- IpDiscovery: undefined,
9077
- TransitEncryptionMode: undefined,
9078
- };
8629
+ const contents = {};
9079
8630
  if (output["ReplicationGroupId"] !== undefined) {
9080
8631
  contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
9081
8632
  }
@@ -9186,18 +8737,14 @@ const deserializeAws_queryReplicationGroup = (output, context) => {
9186
8737
  return contents;
9187
8738
  };
9188
8739
  const deserializeAws_queryReplicationGroupAlreadyExistsFault = (output, context) => {
9189
- const contents = {
9190
- message: undefined,
9191
- };
8740
+ const contents = {};
9192
8741
  if (output["message"] !== undefined) {
9193
8742
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9194
8743
  }
9195
8744
  return contents;
9196
8745
  };
9197
8746
  const deserializeAws_queryReplicationGroupAlreadyUnderMigrationFault = (output, context) => {
9198
- const contents = {
9199
- message: undefined,
9200
- };
8747
+ const contents = {};
9201
8748
  if (output["message"] !== undefined) {
9202
8749
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9203
8750
  }
@@ -9211,10 +8758,7 @@ const deserializeAws_queryReplicationGroupList = (output, context) => {
9211
8758
  });
9212
8759
  };
9213
8760
  const deserializeAws_queryReplicationGroupMessage = (output, context) => {
9214
- const contents = {
9215
- Marker: undefined,
9216
- ReplicationGroups: undefined,
9217
- };
8761
+ const contents = {};
9218
8762
  if (output["Marker"] !== undefined) {
9219
8763
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
9220
8764
  }
@@ -9228,18 +8772,14 @@ const deserializeAws_queryReplicationGroupMessage = (output, context) => {
9228
8772
  return contents;
9229
8773
  };
9230
8774
  const deserializeAws_queryReplicationGroupNotFoundFault = (output, context) => {
9231
- const contents = {
9232
- message: undefined,
9233
- };
8775
+ const contents = {};
9234
8776
  if (output["message"] !== undefined) {
9235
8777
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9236
8778
  }
9237
8779
  return contents;
9238
8780
  };
9239
8781
  const deserializeAws_queryReplicationGroupNotUnderMigrationFault = (output, context) => {
9240
- const contents = {
9241
- message: undefined,
9242
- };
8782
+ const contents = {};
9243
8783
  if (output["message"] !== undefined) {
9244
8784
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9245
8785
  }
@@ -9253,16 +8793,7 @@ const deserializeAws_queryReplicationGroupOutpostArnList = (output, context) =>
9253
8793
  });
9254
8794
  };
9255
8795
  const deserializeAws_queryReplicationGroupPendingModifiedValues = (output, context) => {
9256
- const contents = {
9257
- PrimaryClusterId: undefined,
9258
- AutomaticFailoverStatus: undefined,
9259
- Resharding: undefined,
9260
- AuthTokenStatus: undefined,
9261
- UserGroups: undefined,
9262
- LogDeliveryConfigurations: undefined,
9263
- TransitEncryptionEnabled: undefined,
9264
- TransitEncryptionMode: undefined,
9265
- };
8796
+ const contents = {};
9266
8797
  if (output["PrimaryClusterId"] !== undefined) {
9267
8798
  contents.PrimaryClusterId = (0, smithy_client_1.expectString)(output["PrimaryClusterId"]);
9268
8799
  }
@@ -9294,21 +8825,7 @@ const deserializeAws_queryReplicationGroupPendingModifiedValues = (output, conte
9294
8825
  return contents;
9295
8826
  };
9296
8827
  const deserializeAws_queryReservedCacheNode = (output, context) => {
9297
- const contents = {
9298
- ReservedCacheNodeId: undefined,
9299
- ReservedCacheNodesOfferingId: undefined,
9300
- CacheNodeType: undefined,
9301
- StartTime: undefined,
9302
- Duration: undefined,
9303
- FixedPrice: undefined,
9304
- UsagePrice: undefined,
9305
- CacheNodeCount: undefined,
9306
- ProductDescription: undefined,
9307
- OfferingType: undefined,
9308
- State: undefined,
9309
- RecurringCharges: undefined,
9310
- ReservationARN: undefined,
9311
- };
8828
+ const contents = {};
9312
8829
  if (output["ReservedCacheNodeId"] !== undefined) {
9313
8830
  contents.ReservedCacheNodeId = (0, smithy_client_1.expectString)(output["ReservedCacheNodeId"]);
9314
8831
  }
@@ -9354,9 +8871,7 @@ const deserializeAws_queryReservedCacheNode = (output, context) => {
9354
8871
  return contents;
9355
8872
  };
9356
8873
  const deserializeAws_queryReservedCacheNodeAlreadyExistsFault = (output, context) => {
9357
- const contents = {
9358
- message: undefined,
9359
- };
8874
+ const contents = {};
9360
8875
  if (output["message"] !== undefined) {
9361
8876
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9362
8877
  }
@@ -9370,10 +8885,7 @@ const deserializeAws_queryReservedCacheNodeList = (output, context) => {
9370
8885
  });
9371
8886
  };
9372
8887
  const deserializeAws_queryReservedCacheNodeMessage = (output, context) => {
9373
- const contents = {
9374
- Marker: undefined,
9375
- ReservedCacheNodes: undefined,
9376
- };
8888
+ const contents = {};
9377
8889
  if (output["Marker"] !== undefined) {
9378
8890
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
9379
8891
  }
@@ -9387,34 +8899,21 @@ const deserializeAws_queryReservedCacheNodeMessage = (output, context) => {
9387
8899
  return contents;
9388
8900
  };
9389
8901
  const deserializeAws_queryReservedCacheNodeNotFoundFault = (output, context) => {
9390
- const contents = {
9391
- message: undefined,
9392
- };
8902
+ const contents = {};
9393
8903
  if (output["message"] !== undefined) {
9394
8904
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9395
8905
  }
9396
8906
  return contents;
9397
8907
  };
9398
8908
  const deserializeAws_queryReservedCacheNodeQuotaExceededFault = (output, context) => {
9399
- const contents = {
9400
- message: undefined,
9401
- };
8909
+ const contents = {};
9402
8910
  if (output["message"] !== undefined) {
9403
8911
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9404
8912
  }
9405
8913
  return contents;
9406
8914
  };
9407
8915
  const deserializeAws_queryReservedCacheNodesOffering = (output, context) => {
9408
- const contents = {
9409
- ReservedCacheNodesOfferingId: undefined,
9410
- CacheNodeType: undefined,
9411
- Duration: undefined,
9412
- FixedPrice: undefined,
9413
- UsagePrice: undefined,
9414
- ProductDescription: undefined,
9415
- OfferingType: undefined,
9416
- RecurringCharges: undefined,
9417
- };
8916
+ const contents = {};
9418
8917
  if (output["ReservedCacheNodesOfferingId"] !== undefined) {
9419
8918
  contents.ReservedCacheNodesOfferingId = (0, smithy_client_1.expectString)(output["ReservedCacheNodesOfferingId"]);
9420
8919
  }
@@ -9452,10 +8951,7 @@ const deserializeAws_queryReservedCacheNodesOfferingList = (output, context) =>
9452
8951
  });
9453
8952
  };
9454
8953
  const deserializeAws_queryReservedCacheNodesOfferingMessage = (output, context) => {
9455
- const contents = {
9456
- Marker: undefined,
9457
- ReservedCacheNodesOfferings: undefined,
9458
- };
8954
+ const contents = {};
9459
8955
  if (output["Marker"] !== undefined) {
9460
8956
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
9461
8957
  }
@@ -9469,37 +8965,28 @@ const deserializeAws_queryReservedCacheNodesOfferingMessage = (output, context)
9469
8965
  return contents;
9470
8966
  };
9471
8967
  const deserializeAws_queryReservedCacheNodesOfferingNotFoundFault = (output, context) => {
9472
- const contents = {
9473
- message: undefined,
9474
- };
8968
+ const contents = {};
9475
8969
  if (output["message"] !== undefined) {
9476
8970
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9477
8971
  }
9478
8972
  return contents;
9479
8973
  };
9480
8974
  const deserializeAws_queryReshardingStatus = (output, context) => {
9481
- const contents = {
9482
- SlotMigration: undefined,
9483
- };
8975
+ const contents = {};
9484
8976
  if (output["SlotMigration"] !== undefined) {
9485
8977
  contents.SlotMigration = deserializeAws_querySlotMigration(output["SlotMigration"], context);
9486
8978
  }
9487
8979
  return contents;
9488
8980
  };
9489
8981
  const deserializeAws_queryRevokeCacheSecurityGroupIngressResult = (output, context) => {
9490
- const contents = {
9491
- CacheSecurityGroup: undefined,
9492
- };
8982
+ const contents = {};
9493
8983
  if (output["CacheSecurityGroup"] !== undefined) {
9494
8984
  contents.CacheSecurityGroup = deserializeAws_queryCacheSecurityGroup(output["CacheSecurityGroup"], context);
9495
8985
  }
9496
8986
  return contents;
9497
8987
  };
9498
8988
  const deserializeAws_querySecurityGroupMembership = (output, context) => {
9499
- const contents = {
9500
- SecurityGroupId: undefined,
9501
- Status: undefined,
9502
- };
8989
+ const contents = {};
9503
8990
  if (output["SecurityGroupId"] !== undefined) {
9504
8991
  contents.SecurityGroupId = (0, smithy_client_1.expectString)(output["SecurityGroupId"]);
9505
8992
  }
@@ -9516,29 +9003,14 @@ const deserializeAws_querySecurityGroupMembershipList = (output, context) => {
9516
9003
  });
9517
9004
  };
9518
9005
  const deserializeAws_queryServiceLinkedRoleNotFoundFault = (output, context) => {
9519
- const contents = {
9520
- message: undefined,
9521
- };
9006
+ const contents = {};
9522
9007
  if (output["message"] !== undefined) {
9523
9008
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9524
9009
  }
9525
9010
  return contents;
9526
9011
  };
9527
9012
  const deserializeAws_queryServiceUpdate = (output, context) => {
9528
- const contents = {
9529
- ServiceUpdateName: undefined,
9530
- ServiceUpdateReleaseDate: undefined,
9531
- ServiceUpdateEndDate: undefined,
9532
- ServiceUpdateSeverity: undefined,
9533
- ServiceUpdateRecommendedApplyByDate: undefined,
9534
- ServiceUpdateStatus: undefined,
9535
- ServiceUpdateDescription: undefined,
9536
- ServiceUpdateType: undefined,
9537
- Engine: undefined,
9538
- EngineVersion: undefined,
9539
- AutoUpdateAfterRecommendedApplyByDate: undefined,
9540
- EstimatedUpdateTime: undefined,
9541
- };
9013
+ const contents = {};
9542
9014
  if (output["ServiceUpdateName"] !== undefined) {
9543
9015
  contents.ServiceUpdateName = (0, smithy_client_1.expectString)(output["ServiceUpdateName"]);
9544
9016
  }
@@ -9585,19 +9057,14 @@ const deserializeAws_queryServiceUpdateList = (output, context) => {
9585
9057
  });
9586
9058
  };
9587
9059
  const deserializeAws_queryServiceUpdateNotFoundFault = (output, context) => {
9588
- const contents = {
9589
- message: undefined,
9590
- };
9060
+ const contents = {};
9591
9061
  if (output["message"] !== undefined) {
9592
9062
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9593
9063
  }
9594
9064
  return contents;
9595
9065
  };
9596
9066
  const deserializeAws_queryServiceUpdatesMessage = (output, context) => {
9597
- const contents = {
9598
- Marker: undefined,
9599
- ServiceUpdates: undefined,
9600
- };
9067
+ const contents = {};
9601
9068
  if (output["Marker"] !== undefined) {
9602
9069
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
9603
9070
  }
@@ -9610,45 +9077,14 @@ const deserializeAws_queryServiceUpdatesMessage = (output, context) => {
9610
9077
  return contents;
9611
9078
  };
9612
9079
  const deserializeAws_querySlotMigration = (output, context) => {
9613
- const contents = {
9614
- ProgressPercentage: undefined,
9615
- };
9080
+ const contents = {};
9616
9081
  if (output["ProgressPercentage"] !== undefined) {
9617
9082
  contents.ProgressPercentage = (0, smithy_client_1.strictParseFloat)(output["ProgressPercentage"]);
9618
9083
  }
9619
9084
  return contents;
9620
9085
  };
9621
9086
  const deserializeAws_querySnapshot = (output, context) => {
9622
- const contents = {
9623
- SnapshotName: undefined,
9624
- ReplicationGroupId: undefined,
9625
- ReplicationGroupDescription: undefined,
9626
- CacheClusterId: undefined,
9627
- SnapshotStatus: undefined,
9628
- SnapshotSource: undefined,
9629
- CacheNodeType: undefined,
9630
- Engine: undefined,
9631
- EngineVersion: undefined,
9632
- NumCacheNodes: undefined,
9633
- PreferredAvailabilityZone: undefined,
9634
- PreferredOutpostArn: undefined,
9635
- CacheClusterCreateTime: undefined,
9636
- PreferredMaintenanceWindow: undefined,
9637
- TopicArn: undefined,
9638
- Port: undefined,
9639
- CacheParameterGroupName: undefined,
9640
- CacheSubnetGroupName: undefined,
9641
- VpcId: undefined,
9642
- AutoMinorVersionUpgrade: undefined,
9643
- SnapshotRetentionLimit: undefined,
9644
- SnapshotWindow: undefined,
9645
- NumNodeGroups: undefined,
9646
- AutomaticFailover: undefined,
9647
- NodeSnapshots: undefined,
9648
- KmsKeyId: undefined,
9649
- ARN: undefined,
9650
- DataTiering: undefined,
9651
- };
9087
+ const contents = {};
9652
9088
  if (output["SnapshotName"] !== undefined) {
9653
9089
  contents.SnapshotName = (0, smithy_client_1.expectString)(output["SnapshotName"]);
9654
9090
  }
@@ -9739,18 +9175,14 @@ const deserializeAws_querySnapshot = (output, context) => {
9739
9175
  return contents;
9740
9176
  };
9741
9177
  const deserializeAws_querySnapshotAlreadyExistsFault = (output, context) => {
9742
- const contents = {
9743
- message: undefined,
9744
- };
9178
+ const contents = {};
9745
9179
  if (output["message"] !== undefined) {
9746
9180
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9747
9181
  }
9748
9182
  return contents;
9749
9183
  };
9750
9184
  const deserializeAws_querySnapshotFeatureNotSupportedFault = (output, context) => {
9751
- const contents = {
9752
- message: undefined,
9753
- };
9185
+ const contents = {};
9754
9186
  if (output["message"] !== undefined) {
9755
9187
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9756
9188
  }
@@ -9764,39 +9196,28 @@ const deserializeAws_querySnapshotList = (output, context) => {
9764
9196
  });
9765
9197
  };
9766
9198
  const deserializeAws_querySnapshotNotFoundFault = (output, context) => {
9767
- const contents = {
9768
- message: undefined,
9769
- };
9199
+ const contents = {};
9770
9200
  if (output["message"] !== undefined) {
9771
9201
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9772
9202
  }
9773
9203
  return contents;
9774
9204
  };
9775
9205
  const deserializeAws_querySnapshotQuotaExceededFault = (output, context) => {
9776
- const contents = {
9777
- message: undefined,
9778
- };
9206
+ const contents = {};
9779
9207
  if (output["message"] !== undefined) {
9780
9208
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9781
9209
  }
9782
9210
  return contents;
9783
9211
  };
9784
9212
  const deserializeAws_queryStartMigrationResponse = (output, context) => {
9785
- const contents = {
9786
- ReplicationGroup: undefined,
9787
- };
9213
+ const contents = {};
9788
9214
  if (output["ReplicationGroup"] !== undefined) {
9789
9215
  contents.ReplicationGroup = deserializeAws_queryReplicationGroup(output["ReplicationGroup"], context);
9790
9216
  }
9791
9217
  return contents;
9792
9218
  };
9793
9219
  const deserializeAws_querySubnet = (output, context) => {
9794
- const contents = {
9795
- SubnetIdentifier: undefined,
9796
- SubnetAvailabilityZone: undefined,
9797
- SubnetOutpost: undefined,
9798
- SupportedNetworkTypes: undefined,
9799
- };
9220
+ const contents = {};
9800
9221
  if (output["SubnetIdentifier"] !== undefined) {
9801
9222
  contents.SubnetIdentifier = (0, smithy_client_1.expectString)(output["SubnetIdentifier"]);
9802
9223
  }
@@ -9815,9 +9236,7 @@ const deserializeAws_querySubnet = (output, context) => {
9815
9236
  return contents;
9816
9237
  };
9817
9238
  const deserializeAws_querySubnetInUse = (output, context) => {
9818
- const contents = {
9819
- message: undefined,
9820
- };
9239
+ const contents = {};
9821
9240
  if (output["message"] !== undefined) {
9822
9241
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9823
9242
  }
@@ -9831,28 +9250,21 @@ const deserializeAws_querySubnetList = (output, context) => {
9831
9250
  });
9832
9251
  };
9833
9252
  const deserializeAws_querySubnetNotAllowedFault = (output, context) => {
9834
- const contents = {
9835
- message: undefined,
9836
- };
9253
+ const contents = {};
9837
9254
  if (output["message"] !== undefined) {
9838
9255
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9839
9256
  }
9840
9257
  return contents;
9841
9258
  };
9842
9259
  const deserializeAws_querySubnetOutpost = (output, context) => {
9843
- const contents = {
9844
- SubnetOutpostArn: undefined,
9845
- };
9260
+ const contents = {};
9846
9261
  if (output["SubnetOutpostArn"] !== undefined) {
9847
9262
  contents.SubnetOutpostArn = (0, smithy_client_1.expectString)(output["SubnetOutpostArn"]);
9848
9263
  }
9849
9264
  return contents;
9850
9265
  };
9851
9266
  const deserializeAws_queryTag = (output, context) => {
9852
- const contents = {
9853
- Key: undefined,
9854
- Value: undefined,
9855
- };
9267
+ const contents = {};
9856
9268
  if (output["Key"] !== undefined) {
9857
9269
  contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
9858
9270
  }
@@ -9869,9 +9281,7 @@ const deserializeAws_queryTagList = (output, context) => {
9869
9281
  });
9870
9282
  };
9871
9283
  const deserializeAws_queryTagListMessage = (output, context) => {
9872
- const contents = {
9873
- TagList: undefined,
9874
- };
9284
+ const contents = {};
9875
9285
  if (output.TagList === "") {
9876
9286
  contents.TagList = [];
9877
9287
  }
@@ -9881,36 +9291,28 @@ const deserializeAws_queryTagListMessage = (output, context) => {
9881
9291
  return contents;
9882
9292
  };
9883
9293
  const deserializeAws_queryTagNotFoundFault = (output, context) => {
9884
- const contents = {
9885
- message: undefined,
9886
- };
9294
+ const contents = {};
9887
9295
  if (output["message"] !== undefined) {
9888
9296
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9889
9297
  }
9890
9298
  return contents;
9891
9299
  };
9892
9300
  const deserializeAws_queryTagQuotaPerResourceExceeded = (output, context) => {
9893
- const contents = {
9894
- message: undefined,
9895
- };
9301
+ const contents = {};
9896
9302
  if (output["message"] !== undefined) {
9897
9303
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9898
9304
  }
9899
9305
  return contents;
9900
9306
  };
9901
9307
  const deserializeAws_queryTestFailoverNotAvailableFault = (output, context) => {
9902
- const contents = {
9903
- message: undefined,
9904
- };
9308
+ const contents = {};
9905
9309
  if (output["message"] !== undefined) {
9906
9310
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9907
9311
  }
9908
9312
  return contents;
9909
9313
  };
9910
9314
  const deserializeAws_queryTestFailoverResult = (output, context) => {
9911
- const contents = {
9912
- ReplicationGroup: undefined,
9913
- };
9315
+ const contents = {};
9914
9316
  if (output["ReplicationGroup"] !== undefined) {
9915
9317
  contents.ReplicationGroup = deserializeAws_queryReplicationGroup(output["ReplicationGroup"], context);
9916
9318
  }
@@ -9924,13 +9326,7 @@ const deserializeAws_queryUGReplicationGroupIdList = (output, context) => {
9924
9326
  });
9925
9327
  };
9926
9328
  const deserializeAws_queryUnprocessedUpdateAction = (output, context) => {
9927
- const contents = {
9928
- ReplicationGroupId: undefined,
9929
- CacheClusterId: undefined,
9930
- ServiceUpdateName: undefined,
9931
- ErrorType: undefined,
9932
- ErrorMessage: undefined,
9933
- };
9329
+ const contents = {};
9934
9330
  if (output["ReplicationGroupId"] !== undefined) {
9935
9331
  contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
9936
9332
  }
@@ -9956,25 +9352,7 @@ const deserializeAws_queryUnprocessedUpdateActionList = (output, context) => {
9956
9352
  });
9957
9353
  };
9958
9354
  const deserializeAws_queryUpdateAction = (output, context) => {
9959
- const contents = {
9960
- ReplicationGroupId: undefined,
9961
- CacheClusterId: undefined,
9962
- ServiceUpdateName: undefined,
9963
- ServiceUpdateReleaseDate: undefined,
9964
- ServiceUpdateSeverity: undefined,
9965
- ServiceUpdateStatus: undefined,
9966
- ServiceUpdateRecommendedApplyByDate: undefined,
9967
- ServiceUpdateType: undefined,
9968
- UpdateActionAvailableDate: undefined,
9969
- UpdateActionStatus: undefined,
9970
- NodesUpdated: undefined,
9971
- UpdateActionStatusModifiedDate: undefined,
9972
- SlaMet: undefined,
9973
- NodeGroupUpdateStatus: undefined,
9974
- CacheNodeUpdateStatus: undefined,
9975
- EstimatedUpdateTime: undefined,
9976
- Engine: undefined,
9977
- };
9355
+ const contents = {};
9978
9356
  if (output["ReplicationGroupId"] !== undefined) {
9979
9357
  contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
9980
9358
  }
@@ -10044,10 +9422,7 @@ const deserializeAws_queryUpdateActionList = (output, context) => {
10044
9422
  });
10045
9423
  };
10046
9424
  const deserializeAws_queryUpdateActionResultsMessage = (output, context) => {
10047
- const contents = {
10048
- ProcessedUpdateActions: undefined,
10049
- UnprocessedUpdateActions: undefined,
10050
- };
9425
+ const contents = {};
10051
9426
  if (output.ProcessedUpdateActions === "") {
10052
9427
  contents.ProcessedUpdateActions = [];
10053
9428
  }
@@ -10065,10 +9440,7 @@ const deserializeAws_queryUpdateActionResultsMessage = (output, context) => {
10065
9440
  return contents;
10066
9441
  };
10067
9442
  const deserializeAws_queryUpdateActionsMessage = (output, context) => {
10068
- const contents = {
10069
- Marker: undefined,
10070
- UpdateActions: undefined,
10071
- };
9443
+ const contents = {};
10072
9444
  if (output["Marker"] !== undefined) {
10073
9445
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
10074
9446
  }
@@ -10081,17 +9453,7 @@ const deserializeAws_queryUpdateActionsMessage = (output, context) => {
10081
9453
  return contents;
10082
9454
  };
10083
9455
  const deserializeAws_queryUser = (output, context) => {
10084
- const contents = {
10085
- UserId: undefined,
10086
- UserName: undefined,
10087
- Status: undefined,
10088
- Engine: undefined,
10089
- MinimumEngineVersion: undefined,
10090
- AccessString: undefined,
10091
- UserGroupIds: undefined,
10092
- Authentication: undefined,
10093
- ARN: undefined,
10094
- };
9456
+ const contents = {};
10095
9457
  if (output["UserId"] !== undefined) {
10096
9458
  contents.UserId = (0, smithy_client_1.expectString)(output["UserId"]);
10097
9459
  }
@@ -10125,25 +9487,14 @@ const deserializeAws_queryUser = (output, context) => {
10125
9487
  return contents;
10126
9488
  };
10127
9489
  const deserializeAws_queryUserAlreadyExistsFault = (output, context) => {
10128
- const contents = {
10129
- message: undefined,
10130
- };
9490
+ const contents = {};
10131
9491
  if (output["message"] !== undefined) {
10132
9492
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10133
9493
  }
10134
9494
  return contents;
10135
9495
  };
10136
9496
  const deserializeAws_queryUserGroup = (output, context) => {
10137
- const contents = {
10138
- UserGroupId: undefined,
10139
- Status: undefined,
10140
- Engine: undefined,
10141
- UserIds: undefined,
10142
- MinimumEngineVersion: undefined,
10143
- PendingChanges: undefined,
10144
- ReplicationGroups: undefined,
10145
- ARN: undefined,
10146
- };
9497
+ const contents = {};
10147
9498
  if (output["UserGroupId"] !== undefined) {
10148
9499
  contents.UserGroupId = (0, smithy_client_1.expectString)(output["UserGroupId"]);
10149
9500
  }
@@ -10177,9 +9528,7 @@ const deserializeAws_queryUserGroup = (output, context) => {
10177
9528
  return contents;
10178
9529
  };
10179
9530
  const deserializeAws_queryUserGroupAlreadyExistsFault = (output, context) => {
10180
- const contents = {
10181
- message: undefined,
10182
- };
9531
+ const contents = {};
10183
9532
  if (output["message"] !== undefined) {
10184
9533
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10185
9534
  }
@@ -10200,19 +9549,14 @@ const deserializeAws_queryUserGroupList = (output, context) => {
10200
9549
  });
10201
9550
  };
10202
9551
  const deserializeAws_queryUserGroupNotFoundFault = (output, context) => {
10203
- const contents = {
10204
- message: undefined,
10205
- };
9552
+ const contents = {};
10206
9553
  if (output["message"] !== undefined) {
10207
9554
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10208
9555
  }
10209
9556
  return contents;
10210
9557
  };
10211
9558
  const deserializeAws_queryUserGroupPendingChanges = (output, context) => {
10212
- const contents = {
10213
- UserIdsToRemove: undefined,
10214
- UserIdsToAdd: undefined,
10215
- };
9559
+ const contents = {};
10216
9560
  if (output.UserIdsToRemove === "") {
10217
9561
  contents.UserIdsToRemove = [];
10218
9562
  }
@@ -10228,19 +9572,14 @@ const deserializeAws_queryUserGroupPendingChanges = (output, context) => {
10228
9572
  return contents;
10229
9573
  };
10230
9574
  const deserializeAws_queryUserGroupQuotaExceededFault = (output, context) => {
10231
- const contents = {
10232
- message: undefined,
10233
- };
9575
+ const contents = {};
10234
9576
  if (output["message"] !== undefined) {
10235
9577
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10236
9578
  }
10237
9579
  return contents;
10238
9580
  };
10239
9581
  const deserializeAws_queryUserGroupsUpdateStatus = (output, context) => {
10240
- const contents = {
10241
- UserGroupIdsToAdd: undefined,
10242
- UserGroupIdsToRemove: undefined,
10243
- };
9582
+ const contents = {};
10244
9583
  if (output.UserGroupIdsToAdd === "") {
10245
9584
  contents.UserGroupIdsToAdd = [];
10246
9585
  }
@@ -10270,18 +9609,14 @@ const deserializeAws_queryUserList = (output, context) => {
10270
9609
  });
10271
9610
  };
10272
9611
  const deserializeAws_queryUserNotFoundFault = (output, context) => {
10273
- const contents = {
10274
- message: undefined,
10275
- };
9612
+ const contents = {};
10276
9613
  if (output["message"] !== undefined) {
10277
9614
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10278
9615
  }
10279
9616
  return contents;
10280
9617
  };
10281
9618
  const deserializeAws_queryUserQuotaExceededFault = (output, context) => {
10282
- const contents = {
10283
- message: undefined,
10284
- };
9619
+ const contents = {};
10285
9620
  if (output["message"] !== undefined) {
10286
9621
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10287
9622
  }