@aws-sdk/client-docdb 3.295.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 (74) hide show
  1. package/dist-cjs/protocols/Aws_query.js +135 -592
  2. package/dist-es/protocols/Aws_query.js +135 -592
  3. package/dist-types/DocDB.d.ts +54 -0
  4. package/dist-types/DocDBClient.d.ts +24 -4
  5. package/dist-types/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +16 -0
  6. package/dist-types/commands/AddTagsToResourceCommand.d.ts +16 -0
  7. package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +16 -0
  8. package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +16 -0
  9. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +16 -0
  10. package/dist-types/commands/CreateDBClusterCommand.d.ts +16 -0
  11. package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +16 -0
  12. package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +16 -0
  13. package/dist-types/commands/CreateDBInstanceCommand.d.ts +16 -0
  14. package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +16 -0
  15. package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +16 -0
  16. package/dist-types/commands/CreateGlobalClusterCommand.d.ts +16 -0
  17. package/dist-types/commands/DeleteDBClusterCommand.d.ts +16 -0
  18. package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +16 -0
  19. package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +16 -0
  20. package/dist-types/commands/DeleteDBInstanceCommand.d.ts +16 -0
  21. package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +16 -0
  22. package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +16 -0
  23. package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +16 -0
  24. package/dist-types/commands/DescribeCertificatesCommand.d.ts +16 -0
  25. package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +16 -0
  26. package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +16 -0
  27. package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +16 -0
  28. package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +16 -0
  29. package/dist-types/commands/DescribeDBClustersCommand.d.ts +16 -0
  30. package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +16 -0
  31. package/dist-types/commands/DescribeDBInstancesCommand.d.ts +16 -0
  32. package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +16 -0
  33. package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +16 -0
  34. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +16 -0
  35. package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +16 -0
  36. package/dist-types/commands/DescribeEventsCommand.d.ts +16 -0
  37. package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +16 -0
  38. package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +16 -0
  39. package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +16 -0
  40. package/dist-types/commands/FailoverDBClusterCommand.d.ts +16 -0
  41. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  42. package/dist-types/commands/ModifyDBClusterCommand.d.ts +16 -0
  43. package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +16 -0
  44. package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +16 -0
  45. package/dist-types/commands/ModifyDBInstanceCommand.d.ts +16 -0
  46. package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +16 -0
  47. package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +16 -0
  48. package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +16 -0
  49. package/dist-types/commands/RebootDBInstanceCommand.d.ts +16 -0
  50. package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +16 -0
  51. package/dist-types/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +16 -0
  52. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +16 -0
  53. package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +16 -0
  54. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +16 -0
  55. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +16 -0
  56. package/dist-types/commands/StartDBClusterCommand.d.ts +16 -0
  57. package/dist-types/commands/StopDBClusterCommand.d.ts +16 -0
  58. package/dist-types/models/DocDBServiceException.d.ts +2 -0
  59. package/dist-types/models/models_0.d.ts +274 -2
  60. package/dist-types/pagination/DescribeCertificatesPaginator.d.ts +3 -0
  61. package/dist-types/pagination/DescribeDBClusterParameterGroupsPaginator.d.ts +3 -0
  62. package/dist-types/pagination/DescribeDBClusterParametersPaginator.d.ts +3 -0
  63. package/dist-types/pagination/DescribeDBClusterSnapshotsPaginator.d.ts +3 -0
  64. package/dist-types/pagination/DescribeDBClustersPaginator.d.ts +3 -0
  65. package/dist-types/pagination/DescribeDBEngineVersionsPaginator.d.ts +3 -0
  66. package/dist-types/pagination/DescribeDBInstancesPaginator.d.ts +3 -0
  67. package/dist-types/pagination/DescribeDBSubnetGroupsPaginator.d.ts +3 -0
  68. package/dist-types/pagination/DescribeEventSubscriptionsPaginator.d.ts +3 -0
  69. package/dist-types/pagination/DescribeEventsPaginator.d.ts +3 -0
  70. package/dist-types/pagination/DescribeGlobalClustersPaginator.d.ts +3 -0
  71. package/dist-types/pagination/DescribeOrderableDBInstanceOptionsPaginator.d.ts +3 -0
  72. package/dist-types/pagination/DescribePendingMaintenanceActionsPaginator.d.ts +3 -0
  73. package/dist-types/pagination/Interfaces.d.ts +3 -0
  74. package/package.json +31 -31
@@ -4936,18 +4936,14 @@ const serializeAws_queryVpcSecurityGroupIdList = (input, context) => {
4936
4936
  return entries;
4937
4937
  };
4938
4938
  const deserializeAws_queryAddSourceIdentifierToSubscriptionResult = (output, context) => {
4939
- const contents = {
4940
- EventSubscription: undefined,
4941
- };
4939
+ const contents = {};
4942
4940
  if (output["EventSubscription"] !== undefined) {
4943
4941
  contents.EventSubscription = deserializeAws_queryEventSubscription(output["EventSubscription"], context);
4944
4942
  }
4945
4943
  return contents;
4946
4944
  };
4947
4945
  const deserializeAws_queryApplyPendingMaintenanceActionResult = (output, context) => {
4948
- const contents = {
4949
- ResourcePendingMaintenanceActions: undefined,
4950
- };
4946
+ const contents = {};
4951
4947
  if (output["ResourcePendingMaintenanceActions"] !== undefined) {
4952
4948
  contents.ResourcePendingMaintenanceActions = deserializeAws_queryResourcePendingMaintenanceActions(output["ResourcePendingMaintenanceActions"], context);
4953
4949
  }
@@ -4961,18 +4957,14 @@ const deserializeAws_queryAttributeValueList = (output, context) => {
4961
4957
  });
4962
4958
  };
4963
4959
  const deserializeAws_queryAuthorizationNotFoundFault = (output, context) => {
4964
- const contents = {
4965
- message: undefined,
4966
- };
4960
+ const contents = {};
4967
4961
  if (output["message"] !== undefined) {
4968
4962
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
4969
4963
  }
4970
4964
  return contents;
4971
4965
  };
4972
4966
  const deserializeAws_queryAvailabilityZone = (output, context) => {
4973
- const contents = {
4974
- Name: undefined,
4975
- };
4967
+ const contents = {};
4976
4968
  if (output["Name"] !== undefined) {
4977
4969
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
4978
4970
  }
@@ -4993,14 +4985,7 @@ const deserializeAws_queryAvailabilityZones = (output, context) => {
4993
4985
  });
4994
4986
  };
4995
4987
  const deserializeAws_queryCertificate = (output, context) => {
4996
- const contents = {
4997
- CertificateIdentifier: undefined,
4998
- CertificateType: undefined,
4999
- Thumbprint: undefined,
5000
- ValidFrom: undefined,
5001
- ValidTill: undefined,
5002
- CertificateArn: undefined,
5003
- };
4988
+ const contents = {};
5004
4989
  if (output["CertificateIdentifier"] !== undefined) {
5005
4990
  contents.CertificateIdentifier = (0, smithy_client_1.expectString)(output["CertificateIdentifier"]);
5006
4991
  }
@@ -5029,10 +5014,7 @@ const deserializeAws_queryCertificateList = (output, context) => {
5029
5014
  });
5030
5015
  };
5031
5016
  const deserializeAws_queryCertificateMessage = (output, context) => {
5032
- const contents = {
5033
- Certificates: undefined,
5034
- Marker: undefined,
5035
- };
5017
+ const contents = {};
5036
5018
  if (output.Certificates === "") {
5037
5019
  contents.Certificates = [];
5038
5020
  }
@@ -5045,130 +5027,77 @@ const deserializeAws_queryCertificateMessage = (output, context) => {
5045
5027
  return contents;
5046
5028
  };
5047
5029
  const deserializeAws_queryCertificateNotFoundFault = (output, context) => {
5048
- const contents = {
5049
- message: undefined,
5050
- };
5030
+ const contents = {};
5051
5031
  if (output["message"] !== undefined) {
5052
5032
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5053
5033
  }
5054
5034
  return contents;
5055
5035
  };
5056
5036
  const deserializeAws_queryCopyDBClusterParameterGroupResult = (output, context) => {
5057
- const contents = {
5058
- DBClusterParameterGroup: undefined,
5059
- };
5037
+ const contents = {};
5060
5038
  if (output["DBClusterParameterGroup"] !== undefined) {
5061
5039
  contents.DBClusterParameterGroup = deserializeAws_queryDBClusterParameterGroup(output["DBClusterParameterGroup"], context);
5062
5040
  }
5063
5041
  return contents;
5064
5042
  };
5065
5043
  const deserializeAws_queryCopyDBClusterSnapshotResult = (output, context) => {
5066
- const contents = {
5067
- DBClusterSnapshot: undefined,
5068
- };
5044
+ const contents = {};
5069
5045
  if (output["DBClusterSnapshot"] !== undefined) {
5070
5046
  contents.DBClusterSnapshot = deserializeAws_queryDBClusterSnapshot(output["DBClusterSnapshot"], context);
5071
5047
  }
5072
5048
  return contents;
5073
5049
  };
5074
5050
  const deserializeAws_queryCreateDBClusterParameterGroupResult = (output, context) => {
5075
- const contents = {
5076
- DBClusterParameterGroup: undefined,
5077
- };
5051
+ const contents = {};
5078
5052
  if (output["DBClusterParameterGroup"] !== undefined) {
5079
5053
  contents.DBClusterParameterGroup = deserializeAws_queryDBClusterParameterGroup(output["DBClusterParameterGroup"], context);
5080
5054
  }
5081
5055
  return contents;
5082
5056
  };
5083
5057
  const deserializeAws_queryCreateDBClusterResult = (output, context) => {
5084
- const contents = {
5085
- DBCluster: undefined,
5086
- };
5058
+ const contents = {};
5087
5059
  if (output["DBCluster"] !== undefined) {
5088
5060
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
5089
5061
  }
5090
5062
  return contents;
5091
5063
  };
5092
5064
  const deserializeAws_queryCreateDBClusterSnapshotResult = (output, context) => {
5093
- const contents = {
5094
- DBClusterSnapshot: undefined,
5095
- };
5065
+ const contents = {};
5096
5066
  if (output["DBClusterSnapshot"] !== undefined) {
5097
5067
  contents.DBClusterSnapshot = deserializeAws_queryDBClusterSnapshot(output["DBClusterSnapshot"], context);
5098
5068
  }
5099
5069
  return contents;
5100
5070
  };
5101
5071
  const deserializeAws_queryCreateDBInstanceResult = (output, context) => {
5102
- const contents = {
5103
- DBInstance: undefined,
5104
- };
5072
+ const contents = {};
5105
5073
  if (output["DBInstance"] !== undefined) {
5106
5074
  contents.DBInstance = deserializeAws_queryDBInstance(output["DBInstance"], context);
5107
5075
  }
5108
5076
  return contents;
5109
5077
  };
5110
5078
  const deserializeAws_queryCreateDBSubnetGroupResult = (output, context) => {
5111
- const contents = {
5112
- DBSubnetGroup: undefined,
5113
- };
5079
+ const contents = {};
5114
5080
  if (output["DBSubnetGroup"] !== undefined) {
5115
5081
  contents.DBSubnetGroup = deserializeAws_queryDBSubnetGroup(output["DBSubnetGroup"], context);
5116
5082
  }
5117
5083
  return contents;
5118
5084
  };
5119
5085
  const deserializeAws_queryCreateEventSubscriptionResult = (output, context) => {
5120
- const contents = {
5121
- EventSubscription: undefined,
5122
- };
5086
+ const contents = {};
5123
5087
  if (output["EventSubscription"] !== undefined) {
5124
5088
  contents.EventSubscription = deserializeAws_queryEventSubscription(output["EventSubscription"], context);
5125
5089
  }
5126
5090
  return contents;
5127
5091
  };
5128
5092
  const deserializeAws_queryCreateGlobalClusterResult = (output, context) => {
5129
- const contents = {
5130
- GlobalCluster: undefined,
5131
- };
5093
+ const contents = {};
5132
5094
  if (output["GlobalCluster"] !== undefined) {
5133
5095
  contents.GlobalCluster = deserializeAws_queryGlobalCluster(output["GlobalCluster"], context);
5134
5096
  }
5135
5097
  return contents;
5136
5098
  };
5137
5099
  const deserializeAws_queryDBCluster = (output, context) => {
5138
- const contents = {
5139
- AvailabilityZones: undefined,
5140
- BackupRetentionPeriod: undefined,
5141
- DBClusterIdentifier: undefined,
5142
- DBClusterParameterGroup: undefined,
5143
- DBSubnetGroup: undefined,
5144
- Status: undefined,
5145
- PercentProgress: undefined,
5146
- EarliestRestorableTime: undefined,
5147
- Endpoint: undefined,
5148
- ReaderEndpoint: undefined,
5149
- MultiAZ: undefined,
5150
- Engine: undefined,
5151
- EngineVersion: undefined,
5152
- LatestRestorableTime: undefined,
5153
- Port: undefined,
5154
- MasterUsername: undefined,
5155
- PreferredBackupWindow: undefined,
5156
- PreferredMaintenanceWindow: undefined,
5157
- ReplicationSourceIdentifier: undefined,
5158
- ReadReplicaIdentifiers: undefined,
5159
- DBClusterMembers: undefined,
5160
- VpcSecurityGroups: undefined,
5161
- HostedZoneId: undefined,
5162
- StorageEncrypted: undefined,
5163
- KmsKeyId: undefined,
5164
- DbClusterResourceId: undefined,
5165
- DBClusterArn: undefined,
5166
- AssociatedRoles: undefined,
5167
- CloneGroupId: undefined,
5168
- ClusterCreateTime: undefined,
5169
- EnabledCloudwatchLogsExports: undefined,
5170
- DeletionProtection: undefined,
5171
- };
5100
+ const contents = {};
5172
5101
  if (output.AvailabilityZones === "") {
5173
5102
  contents.AvailabilityZones = [];
5174
5103
  }
@@ -5290,9 +5219,7 @@ const deserializeAws_queryDBCluster = (output, context) => {
5290
5219
  return contents;
5291
5220
  };
5292
5221
  const deserializeAws_queryDBClusterAlreadyExistsFault = (output, context) => {
5293
- const contents = {
5294
- message: undefined,
5295
- };
5222
+ const contents = {};
5296
5223
  if (output["message"] !== undefined) {
5297
5224
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5298
5225
  }
@@ -5306,12 +5233,7 @@ const deserializeAws_queryDBClusterList = (output, context) => {
5306
5233
  });
5307
5234
  };
5308
5235
  const deserializeAws_queryDBClusterMember = (output, context) => {
5309
- const contents = {
5310
- DBInstanceIdentifier: undefined,
5311
- IsClusterWriter: undefined,
5312
- DBClusterParameterGroupStatus: undefined,
5313
- PromotionTier: undefined,
5314
- };
5236
+ const contents = {};
5315
5237
  if (output["DBInstanceIdentifier"] !== undefined) {
5316
5238
  contents.DBInstanceIdentifier = (0, smithy_client_1.expectString)(output["DBInstanceIdentifier"]);
5317
5239
  }
@@ -5334,10 +5256,7 @@ const deserializeAws_queryDBClusterMemberList = (output, context) => {
5334
5256
  });
5335
5257
  };
5336
5258
  const deserializeAws_queryDBClusterMessage = (output, context) => {
5337
- const contents = {
5338
- Marker: undefined,
5339
- DBClusters: undefined,
5340
- };
5259
+ const contents = {};
5341
5260
  if (output["Marker"] !== undefined) {
5342
5261
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
5343
5262
  }
@@ -5350,21 +5269,14 @@ const deserializeAws_queryDBClusterMessage = (output, context) => {
5350
5269
  return contents;
5351
5270
  };
5352
5271
  const deserializeAws_queryDBClusterNotFoundFault = (output, context) => {
5353
- const contents = {
5354
- message: undefined,
5355
- };
5272
+ const contents = {};
5356
5273
  if (output["message"] !== undefined) {
5357
5274
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5358
5275
  }
5359
5276
  return contents;
5360
5277
  };
5361
5278
  const deserializeAws_queryDBClusterParameterGroup = (output, context) => {
5362
- const contents = {
5363
- DBClusterParameterGroupName: undefined,
5364
- DBParameterGroupFamily: undefined,
5365
- Description: undefined,
5366
- DBClusterParameterGroupArn: undefined,
5367
- };
5279
+ const contents = {};
5368
5280
  if (output["DBClusterParameterGroupName"] !== undefined) {
5369
5281
  contents.DBClusterParameterGroupName = (0, smithy_client_1.expectString)(output["DBClusterParameterGroupName"]);
5370
5282
  }
@@ -5380,10 +5292,7 @@ const deserializeAws_queryDBClusterParameterGroup = (output, context) => {
5380
5292
  return contents;
5381
5293
  };
5382
5294
  const deserializeAws_queryDBClusterParameterGroupDetails = (output, context) => {
5383
- const contents = {
5384
- Parameters: undefined,
5385
- Marker: undefined,
5386
- };
5295
+ const contents = {};
5387
5296
  if (output.Parameters === "") {
5388
5297
  contents.Parameters = [];
5389
5298
  }
@@ -5403,28 +5312,21 @@ const deserializeAws_queryDBClusterParameterGroupList = (output, context) => {
5403
5312
  });
5404
5313
  };
5405
5314
  const deserializeAws_queryDBClusterParameterGroupNameMessage = (output, context) => {
5406
- const contents = {
5407
- DBClusterParameterGroupName: undefined,
5408
- };
5315
+ const contents = {};
5409
5316
  if (output["DBClusterParameterGroupName"] !== undefined) {
5410
5317
  contents.DBClusterParameterGroupName = (0, smithy_client_1.expectString)(output["DBClusterParameterGroupName"]);
5411
5318
  }
5412
5319
  return contents;
5413
5320
  };
5414
5321
  const deserializeAws_queryDBClusterParameterGroupNotFoundFault = (output, context) => {
5415
- const contents = {
5416
- message: undefined,
5417
- };
5322
+ const contents = {};
5418
5323
  if (output["message"] !== undefined) {
5419
5324
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5420
5325
  }
5421
5326
  return contents;
5422
5327
  };
5423
5328
  const deserializeAws_queryDBClusterParameterGroupsMessage = (output, context) => {
5424
- const contents = {
5425
- Marker: undefined,
5426
- DBClusterParameterGroups: undefined,
5427
- };
5329
+ const contents = {};
5428
5330
  if (output["Marker"] !== undefined) {
5429
5331
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
5430
5332
  }
@@ -5438,19 +5340,14 @@ const deserializeAws_queryDBClusterParameterGroupsMessage = (output, context) =>
5438
5340
  return contents;
5439
5341
  };
5440
5342
  const deserializeAws_queryDBClusterQuotaExceededFault = (output, context) => {
5441
- const contents = {
5442
- message: undefined,
5443
- };
5343
+ const contents = {};
5444
5344
  if (output["message"] !== undefined) {
5445
5345
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5446
5346
  }
5447
5347
  return contents;
5448
5348
  };
5449
5349
  const deserializeAws_queryDBClusterRole = (output, context) => {
5450
- const contents = {
5451
- RoleArn: undefined,
5452
- Status: undefined,
5453
- };
5350
+ const contents = {};
5454
5351
  if (output["RoleArn"] !== undefined) {
5455
5352
  contents.RoleArn = (0, smithy_client_1.expectString)(output["RoleArn"]);
5456
5353
  }
@@ -5467,25 +5364,7 @@ const deserializeAws_queryDBClusterRoles = (output, context) => {
5467
5364
  });
5468
5365
  };
5469
5366
  const deserializeAws_queryDBClusterSnapshot = (output, context) => {
5470
- const contents = {
5471
- AvailabilityZones: undefined,
5472
- DBClusterSnapshotIdentifier: undefined,
5473
- DBClusterIdentifier: undefined,
5474
- SnapshotCreateTime: undefined,
5475
- Engine: undefined,
5476
- Status: undefined,
5477
- Port: undefined,
5478
- VpcId: undefined,
5479
- ClusterCreateTime: undefined,
5480
- MasterUsername: undefined,
5481
- EngineVersion: undefined,
5482
- SnapshotType: undefined,
5483
- PercentProgress: undefined,
5484
- StorageEncrypted: undefined,
5485
- KmsKeyId: undefined,
5486
- DBClusterSnapshotArn: undefined,
5487
- SourceDBClusterSnapshotArn: undefined,
5488
- };
5367
+ const contents = {};
5489
5368
  if (output.AvailabilityZones === "") {
5490
5369
  contents.AvailabilityZones = [];
5491
5370
  }
@@ -5544,19 +5423,14 @@ const deserializeAws_queryDBClusterSnapshot = (output, context) => {
5544
5423
  return contents;
5545
5424
  };
5546
5425
  const deserializeAws_queryDBClusterSnapshotAlreadyExistsFault = (output, context) => {
5547
- const contents = {
5548
- message: undefined,
5549
- };
5426
+ const contents = {};
5550
5427
  if (output["message"] !== undefined) {
5551
5428
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5552
5429
  }
5553
5430
  return contents;
5554
5431
  };
5555
5432
  const deserializeAws_queryDBClusterSnapshotAttribute = (output, context) => {
5556
- const contents = {
5557
- AttributeName: undefined,
5558
- AttributeValues: undefined,
5559
- };
5433
+ const contents = {};
5560
5434
  if (output["AttributeName"] !== undefined) {
5561
5435
  contents.AttributeName = (0, smithy_client_1.expectString)(output["AttributeName"]);
5562
5436
  }
@@ -5576,10 +5450,7 @@ const deserializeAws_queryDBClusterSnapshotAttributeList = (output, context) =>
5576
5450
  });
5577
5451
  };
5578
5452
  const deserializeAws_queryDBClusterSnapshotAttributesResult = (output, context) => {
5579
- const contents = {
5580
- DBClusterSnapshotIdentifier: undefined,
5581
- DBClusterSnapshotAttributes: undefined,
5582
- };
5453
+ const contents = {};
5583
5454
  if (output["DBClusterSnapshotIdentifier"] !== undefined) {
5584
5455
  contents.DBClusterSnapshotIdentifier = (0, smithy_client_1.expectString)(output["DBClusterSnapshotIdentifier"]);
5585
5456
  }
@@ -5600,10 +5471,7 @@ const deserializeAws_queryDBClusterSnapshotList = (output, context) => {
5600
5471
  });
5601
5472
  };
5602
5473
  const deserializeAws_queryDBClusterSnapshotMessage = (output, context) => {
5603
- const contents = {
5604
- Marker: undefined,
5605
- DBClusterSnapshots: undefined,
5606
- };
5474
+ const contents = {};
5607
5475
  if (output["Marker"] !== undefined) {
5608
5476
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
5609
5477
  }
@@ -5617,25 +5485,14 @@ const deserializeAws_queryDBClusterSnapshotMessage = (output, context) => {
5617
5485
  return contents;
5618
5486
  };
5619
5487
  const deserializeAws_queryDBClusterSnapshotNotFoundFault = (output, context) => {
5620
- const contents = {
5621
- message: undefined,
5622
- };
5488
+ const contents = {};
5623
5489
  if (output["message"] !== undefined) {
5624
5490
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5625
5491
  }
5626
5492
  return contents;
5627
5493
  };
5628
5494
  const deserializeAws_queryDBEngineVersion = (output, context) => {
5629
- const contents = {
5630
- Engine: undefined,
5631
- EngineVersion: undefined,
5632
- DBParameterGroupFamily: undefined,
5633
- DBEngineDescription: undefined,
5634
- DBEngineVersionDescription: undefined,
5635
- ValidUpgradeTarget: undefined,
5636
- ExportableLogTypes: undefined,
5637
- SupportsLogExportsToCloudwatchLogs: undefined,
5638
- };
5495
+ const contents = {};
5639
5496
  if (output["Engine"] !== undefined) {
5640
5497
  contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
5641
5498
  }
@@ -5677,10 +5534,7 @@ const deserializeAws_queryDBEngineVersionList = (output, context) => {
5677
5534
  });
5678
5535
  };
5679
5536
  const deserializeAws_queryDBEngineVersionMessage = (output, context) => {
5680
- const contents = {
5681
- Marker: undefined,
5682
- DBEngineVersions: undefined,
5683
- };
5537
+ const contents = {};
5684
5538
  if (output["Marker"] !== undefined) {
5685
5539
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
5686
5540
  }
@@ -5693,35 +5547,7 @@ const deserializeAws_queryDBEngineVersionMessage = (output, context) => {
5693
5547
  return contents;
5694
5548
  };
5695
5549
  const deserializeAws_queryDBInstance = (output, context) => {
5696
- const contents = {
5697
- DBInstanceIdentifier: undefined,
5698
- DBInstanceClass: undefined,
5699
- Engine: undefined,
5700
- DBInstanceStatus: undefined,
5701
- Endpoint: undefined,
5702
- InstanceCreateTime: undefined,
5703
- PreferredBackupWindow: undefined,
5704
- BackupRetentionPeriod: undefined,
5705
- VpcSecurityGroups: undefined,
5706
- AvailabilityZone: undefined,
5707
- DBSubnetGroup: undefined,
5708
- PreferredMaintenanceWindow: undefined,
5709
- PendingModifiedValues: undefined,
5710
- LatestRestorableTime: undefined,
5711
- EngineVersion: undefined,
5712
- AutoMinorVersionUpgrade: undefined,
5713
- PubliclyAccessible: undefined,
5714
- StatusInfos: undefined,
5715
- DBClusterIdentifier: undefined,
5716
- StorageEncrypted: undefined,
5717
- KmsKeyId: undefined,
5718
- DbiResourceId: undefined,
5719
- CACertificateIdentifier: undefined,
5720
- CopyTagsToSnapshot: undefined,
5721
- PromotionTier: undefined,
5722
- DBInstanceArn: undefined,
5723
- EnabledCloudwatchLogsExports: undefined,
5724
- };
5550
+ const contents = {};
5725
5551
  if (output["DBInstanceIdentifier"] !== undefined) {
5726
5552
  contents.DBInstanceIdentifier = (0, smithy_client_1.expectString)(output["DBInstanceIdentifier"]);
5727
5553
  }
@@ -5817,9 +5643,7 @@ const deserializeAws_queryDBInstance = (output, context) => {
5817
5643
  return contents;
5818
5644
  };
5819
5645
  const deserializeAws_queryDBInstanceAlreadyExistsFault = (output, context) => {
5820
- const contents = {
5821
- message: undefined,
5822
- };
5646
+ const contents = {};
5823
5647
  if (output["message"] !== undefined) {
5824
5648
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5825
5649
  }
@@ -5833,10 +5657,7 @@ const deserializeAws_queryDBInstanceList = (output, context) => {
5833
5657
  });
5834
5658
  };
5835
5659
  const deserializeAws_queryDBInstanceMessage = (output, context) => {
5836
- const contents = {
5837
- Marker: undefined,
5838
- DBInstances: undefined,
5839
- };
5660
+ const contents = {};
5840
5661
  if (output["Marker"] !== undefined) {
5841
5662
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
5842
5663
  }
@@ -5849,21 +5670,14 @@ const deserializeAws_queryDBInstanceMessage = (output, context) => {
5849
5670
  return contents;
5850
5671
  };
5851
5672
  const deserializeAws_queryDBInstanceNotFoundFault = (output, context) => {
5852
- const contents = {
5853
- message: undefined,
5854
- };
5673
+ const contents = {};
5855
5674
  if (output["message"] !== undefined) {
5856
5675
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5857
5676
  }
5858
5677
  return contents;
5859
5678
  };
5860
5679
  const deserializeAws_queryDBInstanceStatusInfo = (output, context) => {
5861
- const contents = {
5862
- StatusType: undefined,
5863
- Normal: undefined,
5864
- Status: undefined,
5865
- Message: undefined,
5866
- };
5680
+ const contents = {};
5867
5681
  if (output["StatusType"] !== undefined) {
5868
5682
  contents.StatusType = (0, smithy_client_1.expectString)(output["StatusType"]);
5869
5683
  }
@@ -5886,68 +5700,49 @@ const deserializeAws_queryDBInstanceStatusInfoList = (output, context) => {
5886
5700
  });
5887
5701
  };
5888
5702
  const deserializeAws_queryDBParameterGroupAlreadyExistsFault = (output, context) => {
5889
- const contents = {
5890
- message: undefined,
5891
- };
5703
+ const contents = {};
5892
5704
  if (output["message"] !== undefined) {
5893
5705
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5894
5706
  }
5895
5707
  return contents;
5896
5708
  };
5897
5709
  const deserializeAws_queryDBParameterGroupNotFoundFault = (output, context) => {
5898
- const contents = {
5899
- message: undefined,
5900
- };
5710
+ const contents = {};
5901
5711
  if (output["message"] !== undefined) {
5902
5712
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5903
5713
  }
5904
5714
  return contents;
5905
5715
  };
5906
5716
  const deserializeAws_queryDBParameterGroupQuotaExceededFault = (output, context) => {
5907
- const contents = {
5908
- message: undefined,
5909
- };
5717
+ const contents = {};
5910
5718
  if (output["message"] !== undefined) {
5911
5719
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5912
5720
  }
5913
5721
  return contents;
5914
5722
  };
5915
5723
  const deserializeAws_queryDBSecurityGroupNotFoundFault = (output, context) => {
5916
- const contents = {
5917
- message: undefined,
5918
- };
5724
+ const contents = {};
5919
5725
  if (output["message"] !== undefined) {
5920
5726
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5921
5727
  }
5922
5728
  return contents;
5923
5729
  };
5924
5730
  const deserializeAws_queryDBSnapshotAlreadyExistsFault = (output, context) => {
5925
- const contents = {
5926
- message: undefined,
5927
- };
5731
+ const contents = {};
5928
5732
  if (output["message"] !== undefined) {
5929
5733
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5930
5734
  }
5931
5735
  return contents;
5932
5736
  };
5933
5737
  const deserializeAws_queryDBSnapshotNotFoundFault = (output, context) => {
5934
- const contents = {
5935
- message: undefined,
5936
- };
5738
+ const contents = {};
5937
5739
  if (output["message"] !== undefined) {
5938
5740
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5939
5741
  }
5940
5742
  return contents;
5941
5743
  };
5942
5744
  const deserializeAws_queryDBSubnetGroup = (output, context) => {
5943
- const contents = {
5944
- DBSubnetGroupName: undefined,
5945
- DBSubnetGroupDescription: undefined,
5946
- VpcId: undefined,
5947
- SubnetGroupStatus: undefined,
5948
- Subnets: undefined,
5949
- DBSubnetGroupArn: undefined,
5950
- };
5745
+ const contents = {};
5951
5746
  if (output["DBSubnetGroupName"] !== undefined) {
5952
5747
  contents.DBSubnetGroupName = (0, smithy_client_1.expectString)(output["DBSubnetGroupName"]);
5953
5748
  }
@@ -5972,28 +5767,21 @@ const deserializeAws_queryDBSubnetGroup = (output, context) => {
5972
5767
  return contents;
5973
5768
  };
5974
5769
  const deserializeAws_queryDBSubnetGroupAlreadyExistsFault = (output, context) => {
5975
- const contents = {
5976
- message: undefined,
5977
- };
5770
+ const contents = {};
5978
5771
  if (output["message"] !== undefined) {
5979
5772
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5980
5773
  }
5981
5774
  return contents;
5982
5775
  };
5983
5776
  const deserializeAws_queryDBSubnetGroupDoesNotCoverEnoughAZs = (output, context) => {
5984
- const contents = {
5985
- message: undefined,
5986
- };
5777
+ const contents = {};
5987
5778
  if (output["message"] !== undefined) {
5988
5779
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5989
5780
  }
5990
5781
  return contents;
5991
5782
  };
5992
5783
  const deserializeAws_queryDBSubnetGroupMessage = (output, context) => {
5993
- const contents = {
5994
- Marker: undefined,
5995
- DBSubnetGroups: undefined,
5996
- };
5784
+ const contents = {};
5997
5785
  if (output["Marker"] !== undefined) {
5998
5786
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
5999
5787
  }
@@ -6006,18 +5794,14 @@ const deserializeAws_queryDBSubnetGroupMessage = (output, context) => {
6006
5794
  return contents;
6007
5795
  };
6008
5796
  const deserializeAws_queryDBSubnetGroupNotFoundFault = (output, context) => {
6009
- const contents = {
6010
- message: undefined,
6011
- };
5797
+ const contents = {};
6012
5798
  if (output["message"] !== undefined) {
6013
5799
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6014
5800
  }
6015
5801
  return contents;
6016
5802
  };
6017
5803
  const deserializeAws_queryDBSubnetGroupQuotaExceededFault = (output, context) => {
6018
- const contents = {
6019
- message: undefined,
6020
- };
5804
+ const contents = {};
6021
5805
  if (output["message"] !== undefined) {
6022
5806
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6023
5807
  }
@@ -6031,92 +5815,70 @@ const deserializeAws_queryDBSubnetGroups = (output, context) => {
6031
5815
  });
6032
5816
  };
6033
5817
  const deserializeAws_queryDBSubnetQuotaExceededFault = (output, context) => {
6034
- const contents = {
6035
- message: undefined,
6036
- };
5818
+ const contents = {};
6037
5819
  if (output["message"] !== undefined) {
6038
5820
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6039
5821
  }
6040
5822
  return contents;
6041
5823
  };
6042
5824
  const deserializeAws_queryDBUpgradeDependencyFailureFault = (output, context) => {
6043
- const contents = {
6044
- message: undefined,
6045
- };
5825
+ const contents = {};
6046
5826
  if (output["message"] !== undefined) {
6047
5827
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6048
5828
  }
6049
5829
  return contents;
6050
5830
  };
6051
5831
  const deserializeAws_queryDeleteDBClusterResult = (output, context) => {
6052
- const contents = {
6053
- DBCluster: undefined,
6054
- };
5832
+ const contents = {};
6055
5833
  if (output["DBCluster"] !== undefined) {
6056
5834
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
6057
5835
  }
6058
5836
  return contents;
6059
5837
  };
6060
5838
  const deserializeAws_queryDeleteDBClusterSnapshotResult = (output, context) => {
6061
- const contents = {
6062
- DBClusterSnapshot: undefined,
6063
- };
5839
+ const contents = {};
6064
5840
  if (output["DBClusterSnapshot"] !== undefined) {
6065
5841
  contents.DBClusterSnapshot = deserializeAws_queryDBClusterSnapshot(output["DBClusterSnapshot"], context);
6066
5842
  }
6067
5843
  return contents;
6068
5844
  };
6069
5845
  const deserializeAws_queryDeleteDBInstanceResult = (output, context) => {
6070
- const contents = {
6071
- DBInstance: undefined,
6072
- };
5846
+ const contents = {};
6073
5847
  if (output["DBInstance"] !== undefined) {
6074
5848
  contents.DBInstance = deserializeAws_queryDBInstance(output["DBInstance"], context);
6075
5849
  }
6076
5850
  return contents;
6077
5851
  };
6078
5852
  const deserializeAws_queryDeleteEventSubscriptionResult = (output, context) => {
6079
- const contents = {
6080
- EventSubscription: undefined,
6081
- };
5853
+ const contents = {};
6082
5854
  if (output["EventSubscription"] !== undefined) {
6083
5855
  contents.EventSubscription = deserializeAws_queryEventSubscription(output["EventSubscription"], context);
6084
5856
  }
6085
5857
  return contents;
6086
5858
  };
6087
5859
  const deserializeAws_queryDeleteGlobalClusterResult = (output, context) => {
6088
- const contents = {
6089
- GlobalCluster: undefined,
6090
- };
5860
+ const contents = {};
6091
5861
  if (output["GlobalCluster"] !== undefined) {
6092
5862
  contents.GlobalCluster = deserializeAws_queryGlobalCluster(output["GlobalCluster"], context);
6093
5863
  }
6094
5864
  return contents;
6095
5865
  };
6096
5866
  const deserializeAws_queryDescribeDBClusterSnapshotAttributesResult = (output, context) => {
6097
- const contents = {
6098
- DBClusterSnapshotAttributesResult: undefined,
6099
- };
5867
+ const contents = {};
6100
5868
  if (output["DBClusterSnapshotAttributesResult"] !== undefined) {
6101
5869
  contents.DBClusterSnapshotAttributesResult = deserializeAws_queryDBClusterSnapshotAttributesResult(output["DBClusterSnapshotAttributesResult"], context);
6102
5870
  }
6103
5871
  return contents;
6104
5872
  };
6105
5873
  const deserializeAws_queryDescribeEngineDefaultClusterParametersResult = (output, context) => {
6106
- const contents = {
6107
- EngineDefaults: undefined,
6108
- };
5874
+ const contents = {};
6109
5875
  if (output["EngineDefaults"] !== undefined) {
6110
5876
  contents.EngineDefaults = deserializeAws_queryEngineDefaults(output["EngineDefaults"], context);
6111
5877
  }
6112
5878
  return contents;
6113
5879
  };
6114
5880
  const deserializeAws_queryEndpoint = (output, context) => {
6115
- const contents = {
6116
- Address: undefined,
6117
- Port: undefined,
6118
- HostedZoneId: undefined,
6119
- };
5881
+ const contents = {};
6120
5882
  if (output["Address"] !== undefined) {
6121
5883
  contents.Address = (0, smithy_client_1.expectString)(output["Address"]);
6122
5884
  }
@@ -6129,11 +5891,7 @@ const deserializeAws_queryEndpoint = (output, context) => {
6129
5891
  return contents;
6130
5892
  };
6131
5893
  const deserializeAws_queryEngineDefaults = (output, context) => {
6132
- const contents = {
6133
- DBParameterGroupFamily: undefined,
6134
- Marker: undefined,
6135
- Parameters: undefined,
6136
- };
5894
+ const contents = {};
6137
5895
  if (output["DBParameterGroupFamily"] !== undefined) {
6138
5896
  contents.DBParameterGroupFamily = (0, smithy_client_1.expectString)(output["DBParameterGroupFamily"]);
6139
5897
  }
@@ -6149,14 +5907,7 @@ const deserializeAws_queryEngineDefaults = (output, context) => {
6149
5907
  return contents;
6150
5908
  };
6151
5909
  const deserializeAws_queryEvent = (output, context) => {
6152
- const contents = {
6153
- SourceIdentifier: undefined,
6154
- SourceType: undefined,
6155
- Message: undefined,
6156
- EventCategories: undefined,
6157
- Date: undefined,
6158
- SourceArn: undefined,
6159
- };
5910
+ const contents = {};
6160
5911
  if (output["SourceIdentifier"] !== undefined) {
6161
5912
  contents.SourceIdentifier = (0, smithy_client_1.expectString)(output["SourceIdentifier"]);
6162
5913
  }
@@ -6188,10 +5939,7 @@ const deserializeAws_queryEventCategoriesList = (output, context) => {
6188
5939
  });
6189
5940
  };
6190
5941
  const deserializeAws_queryEventCategoriesMap = (output, context) => {
6191
- const contents = {
6192
- SourceType: undefined,
6193
- EventCategories: undefined,
6194
- };
5942
+ const contents = {};
6195
5943
  if (output["SourceType"] !== undefined) {
6196
5944
  contents.SourceType = (0, smithy_client_1.expectString)(output["SourceType"]);
6197
5945
  }
@@ -6211,9 +5959,7 @@ const deserializeAws_queryEventCategoriesMapList = (output, context) => {
6211
5959
  });
6212
5960
  };
6213
5961
  const deserializeAws_queryEventCategoriesMessage = (output, context) => {
6214
- const contents = {
6215
- EventCategoriesMapList: undefined,
6216
- };
5962
+ const contents = {};
6217
5963
  if (output.EventCategoriesMapList === "") {
6218
5964
  contents.EventCategoriesMapList = [];
6219
5965
  }
@@ -6231,10 +5977,7 @@ const deserializeAws_queryEventList = (output, context) => {
6231
5977
  });
6232
5978
  };
6233
5979
  const deserializeAws_queryEventsMessage = (output, context) => {
6234
- const contents = {
6235
- Marker: undefined,
6236
- Events: undefined,
6237
- };
5980
+ const contents = {};
6238
5981
  if (output["Marker"] !== undefined) {
6239
5982
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
6240
5983
  }
@@ -6247,18 +5990,7 @@ const deserializeAws_queryEventsMessage = (output, context) => {
6247
5990
  return contents;
6248
5991
  };
6249
5992
  const deserializeAws_queryEventSubscription = (output, context) => {
6250
- const contents = {
6251
- CustomerAwsId: undefined,
6252
- CustSubscriptionId: undefined,
6253
- SnsTopicArn: undefined,
6254
- Status: undefined,
6255
- SubscriptionCreationTime: undefined,
6256
- SourceType: undefined,
6257
- SourceIdsList: undefined,
6258
- EventCategoriesList: undefined,
6259
- Enabled: undefined,
6260
- EventSubscriptionArn: undefined,
6261
- };
5993
+ const contents = {};
6262
5994
  if (output["CustomerAwsId"] !== undefined) {
6263
5995
  contents.CustomerAwsId = (0, smithy_client_1.expectString)(output["CustomerAwsId"]);
6264
5996
  }
@@ -6299,9 +6031,7 @@ const deserializeAws_queryEventSubscription = (output, context) => {
6299
6031
  return contents;
6300
6032
  };
6301
6033
  const deserializeAws_queryEventSubscriptionQuotaExceededFault = (output, context) => {
6302
- const contents = {
6303
- message: undefined,
6304
- };
6034
+ const contents = {};
6305
6035
  if (output["message"] !== undefined) {
6306
6036
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6307
6037
  }
@@ -6315,10 +6045,7 @@ const deserializeAws_queryEventSubscriptionsList = (output, context) => {
6315
6045
  });
6316
6046
  };
6317
6047
  const deserializeAws_queryEventSubscriptionsMessage = (output, context) => {
6318
- const contents = {
6319
- Marker: undefined,
6320
- EventSubscriptionsList: undefined,
6321
- };
6048
+ const contents = {};
6322
6049
  if (output["Marker"] !== undefined) {
6323
6050
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
6324
6051
  }
@@ -6332,27 +6059,14 @@ const deserializeAws_queryEventSubscriptionsMessage = (output, context) => {
6332
6059
  return contents;
6333
6060
  };
6334
6061
  const deserializeAws_queryFailoverDBClusterResult = (output, context) => {
6335
- const contents = {
6336
- DBCluster: undefined,
6337
- };
6062
+ const contents = {};
6338
6063
  if (output["DBCluster"] !== undefined) {
6339
6064
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
6340
6065
  }
6341
6066
  return contents;
6342
6067
  };
6343
6068
  const deserializeAws_queryGlobalCluster = (output, context) => {
6344
- const contents = {
6345
- GlobalClusterIdentifier: undefined,
6346
- GlobalClusterResourceId: undefined,
6347
- GlobalClusterArn: undefined,
6348
- Status: undefined,
6349
- Engine: undefined,
6350
- EngineVersion: undefined,
6351
- DatabaseName: undefined,
6352
- StorageEncrypted: undefined,
6353
- DeletionProtection: undefined,
6354
- GlobalClusterMembers: undefined,
6355
- };
6069
+ const contents = {};
6356
6070
  if (output["GlobalClusterIdentifier"] !== undefined) {
6357
6071
  contents.GlobalClusterIdentifier = (0, smithy_client_1.expectString)(output["GlobalClusterIdentifier"]);
6358
6072
  }
@@ -6390,9 +6104,7 @@ const deserializeAws_queryGlobalCluster = (output, context) => {
6390
6104
  return contents;
6391
6105
  };
6392
6106
  const deserializeAws_queryGlobalClusterAlreadyExistsFault = (output, context) => {
6393
- const contents = {
6394
- message: undefined,
6395
- };
6107
+ const contents = {};
6396
6108
  if (output["message"] !== undefined) {
6397
6109
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6398
6110
  }
@@ -6406,11 +6118,7 @@ const deserializeAws_queryGlobalClusterList = (output, context) => {
6406
6118
  });
6407
6119
  };
6408
6120
  const deserializeAws_queryGlobalClusterMember = (output, context) => {
6409
- const contents = {
6410
- DBClusterArn: undefined,
6411
- Readers: undefined,
6412
- IsWriter: undefined,
6413
- };
6121
+ const contents = {};
6414
6122
  if (output["DBClusterArn"] !== undefined) {
6415
6123
  contents.DBClusterArn = (0, smithy_client_1.expectString)(output["DBClusterArn"]);
6416
6124
  }
@@ -6433,28 +6141,21 @@ const deserializeAws_queryGlobalClusterMemberList = (output, context) => {
6433
6141
  });
6434
6142
  };
6435
6143
  const deserializeAws_queryGlobalClusterNotFoundFault = (output, context) => {
6436
- const contents = {
6437
- message: undefined,
6438
- };
6144
+ const contents = {};
6439
6145
  if (output["message"] !== undefined) {
6440
6146
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6441
6147
  }
6442
6148
  return contents;
6443
6149
  };
6444
6150
  const deserializeAws_queryGlobalClusterQuotaExceededFault = (output, context) => {
6445
- const contents = {
6446
- message: undefined,
6447
- };
6151
+ const contents = {};
6448
6152
  if (output["message"] !== undefined) {
6449
6153
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6450
6154
  }
6451
6155
  return contents;
6452
6156
  };
6453
6157
  const deserializeAws_queryGlobalClustersMessage = (output, context) => {
6454
- const contents = {
6455
- Marker: undefined,
6456
- GlobalClusters: undefined,
6457
- };
6158
+ const contents = {};
6458
6159
  if (output["Marker"] !== undefined) {
6459
6160
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
6460
6161
  }
@@ -6467,162 +6168,126 @@ const deserializeAws_queryGlobalClustersMessage = (output, context) => {
6467
6168
  return contents;
6468
6169
  };
6469
6170
  const deserializeAws_queryInstanceQuotaExceededFault = (output, context) => {
6470
- const contents = {
6471
- message: undefined,
6472
- };
6171
+ const contents = {};
6473
6172
  if (output["message"] !== undefined) {
6474
6173
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6475
6174
  }
6476
6175
  return contents;
6477
6176
  };
6478
6177
  const deserializeAws_queryInsufficientDBClusterCapacityFault = (output, context) => {
6479
- const contents = {
6480
- message: undefined,
6481
- };
6178
+ const contents = {};
6482
6179
  if (output["message"] !== undefined) {
6483
6180
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6484
6181
  }
6485
6182
  return contents;
6486
6183
  };
6487
6184
  const deserializeAws_queryInsufficientDBInstanceCapacityFault = (output, context) => {
6488
- const contents = {
6489
- message: undefined,
6490
- };
6185
+ const contents = {};
6491
6186
  if (output["message"] !== undefined) {
6492
6187
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6493
6188
  }
6494
6189
  return contents;
6495
6190
  };
6496
6191
  const deserializeAws_queryInsufficientStorageClusterCapacityFault = (output, context) => {
6497
- const contents = {
6498
- message: undefined,
6499
- };
6192
+ const contents = {};
6500
6193
  if (output["message"] !== undefined) {
6501
6194
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6502
6195
  }
6503
6196
  return contents;
6504
6197
  };
6505
6198
  const deserializeAws_queryInvalidDBClusterSnapshotStateFault = (output, context) => {
6506
- const contents = {
6507
- message: undefined,
6508
- };
6199
+ const contents = {};
6509
6200
  if (output["message"] !== undefined) {
6510
6201
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6511
6202
  }
6512
6203
  return contents;
6513
6204
  };
6514
6205
  const deserializeAws_queryInvalidDBClusterStateFault = (output, context) => {
6515
- const contents = {
6516
- message: undefined,
6517
- };
6206
+ const contents = {};
6518
6207
  if (output["message"] !== undefined) {
6519
6208
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6520
6209
  }
6521
6210
  return contents;
6522
6211
  };
6523
6212
  const deserializeAws_queryInvalidDBInstanceStateFault = (output, context) => {
6524
- const contents = {
6525
- message: undefined,
6526
- };
6213
+ const contents = {};
6527
6214
  if (output["message"] !== undefined) {
6528
6215
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6529
6216
  }
6530
6217
  return contents;
6531
6218
  };
6532
6219
  const deserializeAws_queryInvalidDBParameterGroupStateFault = (output, context) => {
6533
- const contents = {
6534
- message: undefined,
6535
- };
6220
+ const contents = {};
6536
6221
  if (output["message"] !== undefined) {
6537
6222
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6538
6223
  }
6539
6224
  return contents;
6540
6225
  };
6541
6226
  const deserializeAws_queryInvalidDBSecurityGroupStateFault = (output, context) => {
6542
- const contents = {
6543
- message: undefined,
6544
- };
6227
+ const contents = {};
6545
6228
  if (output["message"] !== undefined) {
6546
6229
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6547
6230
  }
6548
6231
  return contents;
6549
6232
  };
6550
6233
  const deserializeAws_queryInvalidDBSnapshotStateFault = (output, context) => {
6551
- const contents = {
6552
- message: undefined,
6553
- };
6234
+ const contents = {};
6554
6235
  if (output["message"] !== undefined) {
6555
6236
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6556
6237
  }
6557
6238
  return contents;
6558
6239
  };
6559
6240
  const deserializeAws_queryInvalidDBSubnetGroupStateFault = (output, context) => {
6560
- const contents = {
6561
- message: undefined,
6562
- };
6241
+ const contents = {};
6563
6242
  if (output["message"] !== undefined) {
6564
6243
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6565
6244
  }
6566
6245
  return contents;
6567
6246
  };
6568
6247
  const deserializeAws_queryInvalidDBSubnetStateFault = (output, context) => {
6569
- const contents = {
6570
- message: undefined,
6571
- };
6248
+ const contents = {};
6572
6249
  if (output["message"] !== undefined) {
6573
6250
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6574
6251
  }
6575
6252
  return contents;
6576
6253
  };
6577
6254
  const deserializeAws_queryInvalidEventSubscriptionStateFault = (output, context) => {
6578
- const contents = {
6579
- message: undefined,
6580
- };
6255
+ const contents = {};
6581
6256
  if (output["message"] !== undefined) {
6582
6257
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6583
6258
  }
6584
6259
  return contents;
6585
6260
  };
6586
6261
  const deserializeAws_queryInvalidGlobalClusterStateFault = (output, context) => {
6587
- const contents = {
6588
- message: undefined,
6589
- };
6262
+ const contents = {};
6590
6263
  if (output["message"] !== undefined) {
6591
6264
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6592
6265
  }
6593
6266
  return contents;
6594
6267
  };
6595
6268
  const deserializeAws_queryInvalidRestoreFault = (output, context) => {
6596
- const contents = {
6597
- message: undefined,
6598
- };
6269
+ const contents = {};
6599
6270
  if (output["message"] !== undefined) {
6600
6271
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6601
6272
  }
6602
6273
  return contents;
6603
6274
  };
6604
6275
  const deserializeAws_queryInvalidSubnet = (output, context) => {
6605
- const contents = {
6606
- message: undefined,
6607
- };
6276
+ const contents = {};
6608
6277
  if (output["message"] !== undefined) {
6609
6278
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6610
6279
  }
6611
6280
  return contents;
6612
6281
  };
6613
6282
  const deserializeAws_queryInvalidVPCNetworkStateFault = (output, context) => {
6614
- const contents = {
6615
- message: undefined,
6616
- };
6283
+ const contents = {};
6617
6284
  if (output["message"] !== undefined) {
6618
6285
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6619
6286
  }
6620
6287
  return contents;
6621
6288
  };
6622
6289
  const deserializeAws_queryKMSKeyNotAccessibleFault = (output, context) => {
6623
- const contents = {
6624
- message: undefined,
6625
- };
6290
+ const contents = {};
6626
6291
  if (output["message"] !== undefined) {
6627
6292
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6628
6293
  }
@@ -6636,68 +6301,49 @@ const deserializeAws_queryLogTypeList = (output, context) => {
6636
6301
  });
6637
6302
  };
6638
6303
  const deserializeAws_queryModifyDBClusterResult = (output, context) => {
6639
- const contents = {
6640
- DBCluster: undefined,
6641
- };
6304
+ const contents = {};
6642
6305
  if (output["DBCluster"] !== undefined) {
6643
6306
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
6644
6307
  }
6645
6308
  return contents;
6646
6309
  };
6647
6310
  const deserializeAws_queryModifyDBClusterSnapshotAttributeResult = (output, context) => {
6648
- const contents = {
6649
- DBClusterSnapshotAttributesResult: undefined,
6650
- };
6311
+ const contents = {};
6651
6312
  if (output["DBClusterSnapshotAttributesResult"] !== undefined) {
6652
6313
  contents.DBClusterSnapshotAttributesResult = deserializeAws_queryDBClusterSnapshotAttributesResult(output["DBClusterSnapshotAttributesResult"], context);
6653
6314
  }
6654
6315
  return contents;
6655
6316
  };
6656
6317
  const deserializeAws_queryModifyDBInstanceResult = (output, context) => {
6657
- const contents = {
6658
- DBInstance: undefined,
6659
- };
6318
+ const contents = {};
6660
6319
  if (output["DBInstance"] !== undefined) {
6661
6320
  contents.DBInstance = deserializeAws_queryDBInstance(output["DBInstance"], context);
6662
6321
  }
6663
6322
  return contents;
6664
6323
  };
6665
6324
  const deserializeAws_queryModifyDBSubnetGroupResult = (output, context) => {
6666
- const contents = {
6667
- DBSubnetGroup: undefined,
6668
- };
6325
+ const contents = {};
6669
6326
  if (output["DBSubnetGroup"] !== undefined) {
6670
6327
  contents.DBSubnetGroup = deserializeAws_queryDBSubnetGroup(output["DBSubnetGroup"], context);
6671
6328
  }
6672
6329
  return contents;
6673
6330
  };
6674
6331
  const deserializeAws_queryModifyEventSubscriptionResult = (output, context) => {
6675
- const contents = {
6676
- EventSubscription: undefined,
6677
- };
6332
+ const contents = {};
6678
6333
  if (output["EventSubscription"] !== undefined) {
6679
6334
  contents.EventSubscription = deserializeAws_queryEventSubscription(output["EventSubscription"], context);
6680
6335
  }
6681
6336
  return contents;
6682
6337
  };
6683
6338
  const deserializeAws_queryModifyGlobalClusterResult = (output, context) => {
6684
- const contents = {
6685
- GlobalCluster: undefined,
6686
- };
6339
+ const contents = {};
6687
6340
  if (output["GlobalCluster"] !== undefined) {
6688
6341
  contents.GlobalCluster = deserializeAws_queryGlobalCluster(output["GlobalCluster"], context);
6689
6342
  }
6690
6343
  return contents;
6691
6344
  };
6692
6345
  const deserializeAws_queryOrderableDBInstanceOption = (output, context) => {
6693
- const contents = {
6694
- Engine: undefined,
6695
- EngineVersion: undefined,
6696
- DBInstanceClass: undefined,
6697
- LicenseModel: undefined,
6698
- AvailabilityZones: undefined,
6699
- Vpc: undefined,
6700
- };
6346
+ const contents = {};
6701
6347
  if (output["Engine"] !== undefined) {
6702
6348
  contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
6703
6349
  }
@@ -6730,10 +6376,7 @@ const deserializeAws_queryOrderableDBInstanceOptionsList = (output, context) =>
6730
6376
  });
6731
6377
  };
6732
6378
  const deserializeAws_queryOrderableDBInstanceOptionsMessage = (output, context) => {
6733
- const contents = {
6734
- OrderableDBInstanceOptions: undefined,
6735
- Marker: undefined,
6736
- };
6379
+ const contents = {};
6737
6380
  if (output.OrderableDBInstanceOptions === "") {
6738
6381
  contents.OrderableDBInstanceOptions = [];
6739
6382
  }
@@ -6747,18 +6390,7 @@ const deserializeAws_queryOrderableDBInstanceOptionsMessage = (output, context)
6747
6390
  return contents;
6748
6391
  };
6749
6392
  const deserializeAws_queryParameter = (output, context) => {
6750
- const contents = {
6751
- ParameterName: undefined,
6752
- ParameterValue: undefined,
6753
- Description: undefined,
6754
- Source: undefined,
6755
- ApplyType: undefined,
6756
- DataType: undefined,
6757
- AllowedValues: undefined,
6758
- IsModifiable: undefined,
6759
- MinimumEngineVersion: undefined,
6760
- ApplyMethod: undefined,
6761
- };
6393
+ const contents = {};
6762
6394
  if (output["ParameterName"] !== undefined) {
6763
6395
  contents.ParameterName = (0, smithy_client_1.expectString)(output["ParameterName"]);
6764
6396
  }
@@ -6799,10 +6431,7 @@ const deserializeAws_queryParametersList = (output, context) => {
6799
6431
  });
6800
6432
  };
6801
6433
  const deserializeAws_queryPendingCloudwatchLogsExports = (output, context) => {
6802
- const contents = {
6803
- LogTypesToEnable: undefined,
6804
- LogTypesToDisable: undefined,
6805
- };
6434
+ const contents = {};
6806
6435
  if (output.LogTypesToEnable === "") {
6807
6436
  contents.LogTypesToEnable = [];
6808
6437
  }
@@ -6818,14 +6447,7 @@ const deserializeAws_queryPendingCloudwatchLogsExports = (output, context) => {
6818
6447
  return contents;
6819
6448
  };
6820
6449
  const deserializeAws_queryPendingMaintenanceAction = (output, context) => {
6821
- const contents = {
6822
- Action: undefined,
6823
- AutoAppliedAfterDate: undefined,
6824
- ForcedApplyDate: undefined,
6825
- OptInStatus: undefined,
6826
- CurrentApplyDate: undefined,
6827
- Description: undefined,
6828
- };
6450
+ const contents = {};
6829
6451
  if (output["Action"] !== undefined) {
6830
6452
  contents.Action = (0, smithy_client_1.expectString)(output["Action"]);
6831
6453
  }
@@ -6861,10 +6483,7 @@ const deserializeAws_queryPendingMaintenanceActions = (output, context) => {
6861
6483
  });
6862
6484
  };
6863
6485
  const deserializeAws_queryPendingMaintenanceActionsMessage = (output, context) => {
6864
- const contents = {
6865
- PendingMaintenanceActions: undefined,
6866
- Marker: undefined,
6867
- };
6486
+ const contents = {};
6868
6487
  if (output.PendingMaintenanceActions === "") {
6869
6488
  contents.PendingMaintenanceActions = [];
6870
6489
  }
@@ -6878,22 +6497,7 @@ const deserializeAws_queryPendingMaintenanceActionsMessage = (output, context) =
6878
6497
  return contents;
6879
6498
  };
6880
6499
  const deserializeAws_queryPendingModifiedValues = (output, context) => {
6881
- const contents = {
6882
- DBInstanceClass: undefined,
6883
- AllocatedStorage: undefined,
6884
- MasterUserPassword: undefined,
6885
- Port: undefined,
6886
- BackupRetentionPeriod: undefined,
6887
- MultiAZ: undefined,
6888
- EngineVersion: undefined,
6889
- LicenseModel: undefined,
6890
- Iops: undefined,
6891
- DBInstanceIdentifier: undefined,
6892
- StorageType: undefined,
6893
- CACertificateIdentifier: undefined,
6894
- DBSubnetGroupName: undefined,
6895
- PendingCloudwatchLogsExports: undefined,
6896
- };
6500
+ const contents = {};
6897
6501
  if (output["DBInstanceClass"] !== undefined) {
6898
6502
  contents.DBInstanceClass = (0, smithy_client_1.expectString)(output["DBInstanceClass"]);
6899
6503
  }
@@ -6953,46 +6557,35 @@ const deserializeAws_queryReadReplicaIdentifierList = (output, context) => {
6953
6557
  });
6954
6558
  };
6955
6559
  const deserializeAws_queryRebootDBInstanceResult = (output, context) => {
6956
- const contents = {
6957
- DBInstance: undefined,
6958
- };
6560
+ const contents = {};
6959
6561
  if (output["DBInstance"] !== undefined) {
6960
6562
  contents.DBInstance = deserializeAws_queryDBInstance(output["DBInstance"], context);
6961
6563
  }
6962
6564
  return contents;
6963
6565
  };
6964
6566
  const deserializeAws_queryRemoveFromGlobalClusterResult = (output, context) => {
6965
- const contents = {
6966
- GlobalCluster: undefined,
6967
- };
6567
+ const contents = {};
6968
6568
  if (output["GlobalCluster"] !== undefined) {
6969
6569
  contents.GlobalCluster = deserializeAws_queryGlobalCluster(output["GlobalCluster"], context);
6970
6570
  }
6971
6571
  return contents;
6972
6572
  };
6973
6573
  const deserializeAws_queryRemoveSourceIdentifierFromSubscriptionResult = (output, context) => {
6974
- const contents = {
6975
- EventSubscription: undefined,
6976
- };
6574
+ const contents = {};
6977
6575
  if (output["EventSubscription"] !== undefined) {
6978
6576
  contents.EventSubscription = deserializeAws_queryEventSubscription(output["EventSubscription"], context);
6979
6577
  }
6980
6578
  return contents;
6981
6579
  };
6982
6580
  const deserializeAws_queryResourceNotFoundFault = (output, context) => {
6983
- const contents = {
6984
- message: undefined,
6985
- };
6581
+ const contents = {};
6986
6582
  if (output["message"] !== undefined) {
6987
6583
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6988
6584
  }
6989
6585
  return contents;
6990
6586
  };
6991
6587
  const deserializeAws_queryResourcePendingMaintenanceActions = (output, context) => {
6992
- const contents = {
6993
- ResourceIdentifier: undefined,
6994
- PendingMaintenanceActionDetails: undefined,
6995
- };
6588
+ const contents = {};
6996
6589
  if (output["ResourceIdentifier"] !== undefined) {
6997
6590
  contents.ResourceIdentifier = (0, smithy_client_1.expectString)(output["ResourceIdentifier"]);
6998
6591
  }
@@ -7006,63 +6599,49 @@ const deserializeAws_queryResourcePendingMaintenanceActions = (output, context)
7006
6599
  return contents;
7007
6600
  };
7008
6601
  const deserializeAws_queryRestoreDBClusterFromSnapshotResult = (output, context) => {
7009
- const contents = {
7010
- DBCluster: undefined,
7011
- };
6602
+ const contents = {};
7012
6603
  if (output["DBCluster"] !== undefined) {
7013
6604
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
7014
6605
  }
7015
6606
  return contents;
7016
6607
  };
7017
6608
  const deserializeAws_queryRestoreDBClusterToPointInTimeResult = (output, context) => {
7018
- const contents = {
7019
- DBCluster: undefined,
7020
- };
6609
+ const contents = {};
7021
6610
  if (output["DBCluster"] !== undefined) {
7022
6611
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
7023
6612
  }
7024
6613
  return contents;
7025
6614
  };
7026
6615
  const deserializeAws_querySharedSnapshotQuotaExceededFault = (output, context) => {
7027
- const contents = {
7028
- message: undefined,
7029
- };
6616
+ const contents = {};
7030
6617
  if (output["message"] !== undefined) {
7031
6618
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7032
6619
  }
7033
6620
  return contents;
7034
6621
  };
7035
6622
  const deserializeAws_querySnapshotQuotaExceededFault = (output, context) => {
7036
- const contents = {
7037
- message: undefined,
7038
- };
6623
+ const contents = {};
7039
6624
  if (output["message"] !== undefined) {
7040
6625
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7041
6626
  }
7042
6627
  return contents;
7043
6628
  };
7044
6629
  const deserializeAws_querySNSInvalidTopicFault = (output, context) => {
7045
- const contents = {
7046
- message: undefined,
7047
- };
6630
+ const contents = {};
7048
6631
  if (output["message"] !== undefined) {
7049
6632
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7050
6633
  }
7051
6634
  return contents;
7052
6635
  };
7053
6636
  const deserializeAws_querySNSNoAuthorizationFault = (output, context) => {
7054
- const contents = {
7055
- message: undefined,
7056
- };
6637
+ const contents = {};
7057
6638
  if (output["message"] !== undefined) {
7058
6639
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7059
6640
  }
7060
6641
  return contents;
7061
6642
  };
7062
6643
  const deserializeAws_querySNSTopicArnNotFoundFault = (output, context) => {
7063
- const contents = {
7064
- message: undefined,
7065
- };
6644
+ const contents = {};
7066
6645
  if (output["message"] !== undefined) {
7067
6646
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7068
6647
  }
@@ -7076,56 +6655,42 @@ const deserializeAws_querySourceIdsList = (output, context) => {
7076
6655
  });
7077
6656
  };
7078
6657
  const deserializeAws_querySourceNotFoundFault = (output, context) => {
7079
- const contents = {
7080
- message: undefined,
7081
- };
6658
+ const contents = {};
7082
6659
  if (output["message"] !== undefined) {
7083
6660
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7084
6661
  }
7085
6662
  return contents;
7086
6663
  };
7087
6664
  const deserializeAws_queryStartDBClusterResult = (output, context) => {
7088
- const contents = {
7089
- DBCluster: undefined,
7090
- };
6665
+ const contents = {};
7091
6666
  if (output["DBCluster"] !== undefined) {
7092
6667
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
7093
6668
  }
7094
6669
  return contents;
7095
6670
  };
7096
6671
  const deserializeAws_queryStopDBClusterResult = (output, context) => {
7097
- const contents = {
7098
- DBCluster: undefined,
7099
- };
6672
+ const contents = {};
7100
6673
  if (output["DBCluster"] !== undefined) {
7101
6674
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
7102
6675
  }
7103
6676
  return contents;
7104
6677
  };
7105
6678
  const deserializeAws_queryStorageQuotaExceededFault = (output, context) => {
7106
- const contents = {
7107
- message: undefined,
7108
- };
6679
+ const contents = {};
7109
6680
  if (output["message"] !== undefined) {
7110
6681
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7111
6682
  }
7112
6683
  return contents;
7113
6684
  };
7114
6685
  const deserializeAws_queryStorageTypeNotSupportedFault = (output, context) => {
7115
- const contents = {
7116
- message: undefined,
7117
- };
6686
+ const contents = {};
7118
6687
  if (output["message"] !== undefined) {
7119
6688
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7120
6689
  }
7121
6690
  return contents;
7122
6691
  };
7123
6692
  const deserializeAws_querySubnet = (output, context) => {
7124
- const contents = {
7125
- SubnetIdentifier: undefined,
7126
- SubnetAvailabilityZone: undefined,
7127
- SubnetStatus: undefined,
7128
- };
6693
+ const contents = {};
7129
6694
  if (output["SubnetIdentifier"] !== undefined) {
7130
6695
  contents.SubnetIdentifier = (0, smithy_client_1.expectString)(output["SubnetIdentifier"]);
7131
6696
  }
@@ -7138,9 +6703,7 @@ const deserializeAws_querySubnet = (output, context) => {
7138
6703
  return contents;
7139
6704
  };
7140
6705
  const deserializeAws_querySubnetAlreadyInUse = (output, context) => {
7141
- const contents = {
7142
- message: undefined,
7143
- };
6706
+ const contents = {};
7144
6707
  if (output["message"] !== undefined) {
7145
6708
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7146
6709
  }
@@ -7154,37 +6717,28 @@ const deserializeAws_querySubnetList = (output, context) => {
7154
6717
  });
7155
6718
  };
7156
6719
  const deserializeAws_querySubscriptionAlreadyExistFault = (output, context) => {
7157
- const contents = {
7158
- message: undefined,
7159
- };
6720
+ const contents = {};
7160
6721
  if (output["message"] !== undefined) {
7161
6722
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7162
6723
  }
7163
6724
  return contents;
7164
6725
  };
7165
6726
  const deserializeAws_querySubscriptionCategoryNotFoundFault = (output, context) => {
7166
- const contents = {
7167
- message: undefined,
7168
- };
6727
+ const contents = {};
7169
6728
  if (output["message"] !== undefined) {
7170
6729
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7171
6730
  }
7172
6731
  return contents;
7173
6732
  };
7174
6733
  const deserializeAws_querySubscriptionNotFoundFault = (output, context) => {
7175
- const contents = {
7176
- message: undefined,
7177
- };
6734
+ const contents = {};
7178
6735
  if (output["message"] !== undefined) {
7179
6736
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7180
6737
  }
7181
6738
  return contents;
7182
6739
  };
7183
6740
  const deserializeAws_queryTag = (output, context) => {
7184
- const contents = {
7185
- Key: undefined,
7186
- Value: undefined,
7187
- };
6741
+ const contents = {};
7188
6742
  if (output["Key"] !== undefined) {
7189
6743
  contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
7190
6744
  }
@@ -7201,9 +6755,7 @@ const deserializeAws_queryTagList = (output, context) => {
7201
6755
  });
7202
6756
  };
7203
6757
  const deserializeAws_queryTagListMessage = (output, context) => {
7204
- const contents = {
7205
- TagList: undefined,
7206
- };
6758
+ const contents = {};
7207
6759
  if (output.TagList === "") {
7208
6760
  contents.TagList = [];
7209
6761
  }
@@ -7213,13 +6765,7 @@ const deserializeAws_queryTagListMessage = (output, context) => {
7213
6765
  return contents;
7214
6766
  };
7215
6767
  const deserializeAws_queryUpgradeTarget = (output, context) => {
7216
- const contents = {
7217
- Engine: undefined,
7218
- EngineVersion: undefined,
7219
- Description: undefined,
7220
- AutoUpgrade: undefined,
7221
- IsMajorVersionUpgrade: undefined,
7222
- };
6768
+ const contents = {};
7223
6769
  if (output["Engine"] !== undefined) {
7224
6770
  contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
7225
6771
  }
@@ -7245,10 +6791,7 @@ const deserializeAws_queryValidUpgradeTargetList = (output, context) => {
7245
6791
  });
7246
6792
  };
7247
6793
  const deserializeAws_queryVpcSecurityGroupMembership = (output, context) => {
7248
- const contents = {
7249
- VpcSecurityGroupId: undefined,
7250
- Status: undefined,
7251
- };
6794
+ const contents = {};
7252
6795
  if (output["VpcSecurityGroupId"] !== undefined) {
7253
6796
  contents.VpcSecurityGroupId = (0, smithy_client_1.expectString)(output["VpcSecurityGroupId"]);
7254
6797
  }