@aws-sdk/client-neptune 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 (93) hide show
  1. package/dist-cjs/protocols/Aws_query.js +171 -818
  2. package/dist-es/protocols/Aws_query.js +171 -818
  3. package/dist-types/Neptune.d.ts +70 -0
  4. package/dist-types/NeptuneClient.d.ts +24 -4
  5. package/dist-types/commands/AddRoleToDBClusterCommand.d.ts +16 -0
  6. package/dist-types/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +16 -0
  7. package/dist-types/commands/AddTagsToResourceCommand.d.ts +16 -0
  8. package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +16 -0
  9. package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +16 -0
  10. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +16 -0
  11. package/dist-types/commands/CopyDBParameterGroupCommand.d.ts +16 -0
  12. package/dist-types/commands/CreateDBClusterCommand.d.ts +16 -0
  13. package/dist-types/commands/CreateDBClusterEndpointCommand.d.ts +16 -0
  14. package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +16 -0
  15. package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +16 -0
  16. package/dist-types/commands/CreateDBInstanceCommand.d.ts +16 -0
  17. package/dist-types/commands/CreateDBParameterGroupCommand.d.ts +16 -0
  18. package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +16 -0
  19. package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +16 -0
  20. package/dist-types/commands/CreateGlobalClusterCommand.d.ts +16 -0
  21. package/dist-types/commands/DeleteDBClusterCommand.d.ts +16 -0
  22. package/dist-types/commands/DeleteDBClusterEndpointCommand.d.ts +16 -0
  23. package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +16 -0
  24. package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +16 -0
  25. package/dist-types/commands/DeleteDBInstanceCommand.d.ts +16 -0
  26. package/dist-types/commands/DeleteDBParameterGroupCommand.d.ts +16 -0
  27. package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +16 -0
  28. package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +16 -0
  29. package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +16 -0
  30. package/dist-types/commands/DescribeDBClusterEndpointsCommand.d.ts +16 -0
  31. package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +16 -0
  32. package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +16 -0
  33. package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +16 -0
  34. package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +16 -0
  35. package/dist-types/commands/DescribeDBClustersCommand.d.ts +16 -0
  36. package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +16 -0
  37. package/dist-types/commands/DescribeDBInstancesCommand.d.ts +16 -0
  38. package/dist-types/commands/DescribeDBParameterGroupsCommand.d.ts +16 -0
  39. package/dist-types/commands/DescribeDBParametersCommand.d.ts +16 -0
  40. package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +16 -0
  41. package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +16 -0
  42. package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +16 -0
  43. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +16 -0
  44. package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +16 -0
  45. package/dist-types/commands/DescribeEventsCommand.d.ts +16 -0
  46. package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +16 -0
  47. package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +16 -0
  48. package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +16 -0
  49. package/dist-types/commands/DescribeValidDBInstanceModificationsCommand.d.ts +16 -0
  50. package/dist-types/commands/FailoverDBClusterCommand.d.ts +16 -0
  51. package/dist-types/commands/FailoverGlobalClusterCommand.d.ts +16 -0
  52. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  53. package/dist-types/commands/ModifyDBClusterCommand.d.ts +16 -0
  54. package/dist-types/commands/ModifyDBClusterEndpointCommand.d.ts +16 -0
  55. package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +16 -0
  56. package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +16 -0
  57. package/dist-types/commands/ModifyDBInstanceCommand.d.ts +16 -0
  58. package/dist-types/commands/ModifyDBParameterGroupCommand.d.ts +16 -0
  59. package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +16 -0
  60. package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +16 -0
  61. package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +16 -0
  62. package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +16 -0
  63. package/dist-types/commands/RebootDBInstanceCommand.d.ts +16 -0
  64. package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +16 -0
  65. package/dist-types/commands/RemoveRoleFromDBClusterCommand.d.ts +16 -0
  66. package/dist-types/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +16 -0
  67. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +16 -0
  68. package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +16 -0
  69. package/dist-types/commands/ResetDBParameterGroupCommand.d.ts +16 -0
  70. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +16 -0
  71. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +16 -0
  72. package/dist-types/commands/StartDBClusterCommand.d.ts +16 -0
  73. package/dist-types/commands/StopDBClusterCommand.d.ts +16 -0
  74. package/dist-types/models/NeptuneServiceException.d.ts +2 -0
  75. package/dist-types/models/models_0.d.ts +503 -2
  76. package/dist-types/pagination/DescribeDBClusterEndpointsPaginator.d.ts +3 -0
  77. package/dist-types/pagination/DescribeDBClusterParameterGroupsPaginator.d.ts +3 -0
  78. package/dist-types/pagination/DescribeDBClusterParametersPaginator.d.ts +3 -0
  79. package/dist-types/pagination/DescribeDBClusterSnapshotsPaginator.d.ts +3 -0
  80. package/dist-types/pagination/DescribeDBClustersPaginator.d.ts +3 -0
  81. package/dist-types/pagination/DescribeDBEngineVersionsPaginator.d.ts +3 -0
  82. package/dist-types/pagination/DescribeDBInstancesPaginator.d.ts +3 -0
  83. package/dist-types/pagination/DescribeDBParameterGroupsPaginator.d.ts +3 -0
  84. package/dist-types/pagination/DescribeDBParametersPaginator.d.ts +3 -0
  85. package/dist-types/pagination/DescribeDBSubnetGroupsPaginator.d.ts +3 -0
  86. package/dist-types/pagination/DescribeEngineDefaultParametersPaginator.d.ts +3 -0
  87. package/dist-types/pagination/DescribeEventSubscriptionsPaginator.d.ts +3 -0
  88. package/dist-types/pagination/DescribeEventsPaginator.d.ts +3 -0
  89. package/dist-types/pagination/DescribeGlobalClustersPaginator.d.ts +3 -0
  90. package/dist-types/pagination/DescribeOrderableDBInstanceOptionsPaginator.d.ts +3 -0
  91. package/dist-types/pagination/DescribePendingMaintenanceActionsPaginator.d.ts +3 -0
  92. package/dist-types/pagination/Interfaces.d.ts +3 -0
  93. package/package.json +31 -31
@@ -6491,18 +6491,14 @@ const serializeAws_queryVpcSecurityGroupIdList = (input, context) => {
6491
6491
  return entries;
6492
6492
  };
6493
6493
  const deserializeAws_queryAddSourceIdentifierToSubscriptionResult = (output, context) => {
6494
- const contents = {
6495
- EventSubscription: undefined,
6496
- };
6494
+ const contents = {};
6497
6495
  if (output["EventSubscription"] !== undefined) {
6498
6496
  contents.EventSubscription = deserializeAws_queryEventSubscription(output["EventSubscription"], context);
6499
6497
  }
6500
6498
  return contents;
6501
6499
  };
6502
6500
  const deserializeAws_queryApplyPendingMaintenanceActionResult = (output, context) => {
6503
- const contents = {
6504
- ResourcePendingMaintenanceActions: undefined,
6505
- };
6501
+ const contents = {};
6506
6502
  if (output["ResourcePendingMaintenanceActions"] !== undefined) {
6507
6503
  contents.ResourcePendingMaintenanceActions = deserializeAws_queryResourcePendingMaintenanceActions(output["ResourcePendingMaintenanceActions"], context);
6508
6504
  }
@@ -6516,18 +6512,14 @@ const deserializeAws_queryAttributeValueList = (output, context) => {
6516
6512
  });
6517
6513
  };
6518
6514
  const deserializeAws_queryAuthorizationNotFoundFault = (output, context) => {
6519
- const contents = {
6520
- message: undefined,
6521
- };
6515
+ const contents = {};
6522
6516
  if (output["message"] !== undefined) {
6523
6517
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6524
6518
  }
6525
6519
  return contents;
6526
6520
  };
6527
6521
  const deserializeAws_queryAvailabilityZone = (output, context) => {
6528
- const contents = {
6529
- Name: undefined,
6530
- };
6522
+ const contents = {};
6531
6523
  if (output["Name"] !== undefined) {
6532
6524
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6533
6525
  }
@@ -6548,19 +6540,14 @@ const deserializeAws_queryAvailabilityZones = (output, context) => {
6548
6540
  });
6549
6541
  };
6550
6542
  const deserializeAws_queryCertificateNotFoundFault = (output, context) => {
6551
- const contents = {
6552
- message: undefined,
6553
- };
6543
+ const contents = {};
6554
6544
  if (output["message"] !== undefined) {
6555
6545
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6556
6546
  }
6557
6547
  return contents;
6558
6548
  };
6559
6549
  const deserializeAws_queryCharacterSet = (output, context) => {
6560
- const contents = {
6561
- CharacterSetName: undefined,
6562
- CharacterSetDescription: undefined,
6563
- };
6550
+ const contents = {};
6564
6551
  if (output["CharacterSetName"] !== undefined) {
6565
6552
  contents.CharacterSetName = (0, smithy_client_1.expectString)(output["CharacterSetName"]);
6566
6553
  }
@@ -6570,15 +6557,7 @@ const deserializeAws_queryCharacterSet = (output, context) => {
6570
6557
  return contents;
6571
6558
  };
6572
6559
  const deserializeAws_queryClusterPendingModifiedValues = (output, context) => {
6573
- const contents = {
6574
- PendingCloudwatchLogsExports: undefined,
6575
- DBClusterIdentifier: undefined,
6576
- IAMDatabaseAuthenticationEnabled: undefined,
6577
- EngineVersion: undefined,
6578
- BackupRetentionPeriod: undefined,
6579
- AllocatedStorage: undefined,
6580
- Iops: undefined,
6581
- };
6560
+ const contents = {};
6582
6561
  if (output["PendingCloudwatchLogsExports"] !== undefined) {
6583
6562
  contents.PendingCloudwatchLogsExports = deserializeAws_queryPendingCloudwatchLogsExports(output["PendingCloudwatchLogsExports"], context);
6584
6563
  }
@@ -6603,45 +6582,28 @@ const deserializeAws_queryClusterPendingModifiedValues = (output, context) => {
6603
6582
  return contents;
6604
6583
  };
6605
6584
  const deserializeAws_queryCopyDBClusterParameterGroupResult = (output, context) => {
6606
- const contents = {
6607
- DBClusterParameterGroup: undefined,
6608
- };
6585
+ const contents = {};
6609
6586
  if (output["DBClusterParameterGroup"] !== undefined) {
6610
6587
  contents.DBClusterParameterGroup = deserializeAws_queryDBClusterParameterGroup(output["DBClusterParameterGroup"], context);
6611
6588
  }
6612
6589
  return contents;
6613
6590
  };
6614
6591
  const deserializeAws_queryCopyDBClusterSnapshotResult = (output, context) => {
6615
- const contents = {
6616
- DBClusterSnapshot: undefined,
6617
- };
6592
+ const contents = {};
6618
6593
  if (output["DBClusterSnapshot"] !== undefined) {
6619
6594
  contents.DBClusterSnapshot = deserializeAws_queryDBClusterSnapshot(output["DBClusterSnapshot"], context);
6620
6595
  }
6621
6596
  return contents;
6622
6597
  };
6623
6598
  const deserializeAws_queryCopyDBParameterGroupResult = (output, context) => {
6624
- const contents = {
6625
- DBParameterGroup: undefined,
6626
- };
6599
+ const contents = {};
6627
6600
  if (output["DBParameterGroup"] !== undefined) {
6628
6601
  contents.DBParameterGroup = deserializeAws_queryDBParameterGroup(output["DBParameterGroup"], context);
6629
6602
  }
6630
6603
  return contents;
6631
6604
  };
6632
6605
  const deserializeAws_queryCreateDBClusterEndpointOutput = (output, context) => {
6633
- const contents = {
6634
- DBClusterEndpointIdentifier: undefined,
6635
- DBClusterIdentifier: undefined,
6636
- DBClusterEndpointResourceIdentifier: undefined,
6637
- Endpoint: undefined,
6638
- Status: undefined,
6639
- EndpointType: undefined,
6640
- CustomEndpointType: undefined,
6641
- StaticMembers: undefined,
6642
- ExcludedMembers: undefined,
6643
- DBClusterEndpointArn: undefined,
6644
- };
6606
+ const contents = {};
6645
6607
  if (output["DBClusterEndpointIdentifier"] !== undefined) {
6646
6608
  contents.DBClusterEndpointIdentifier = (0, smithy_client_1.expectString)(output["DBClusterEndpointIdentifier"]);
6647
6609
  }
@@ -6681,123 +6643,63 @@ const deserializeAws_queryCreateDBClusterEndpointOutput = (output, context) => {
6681
6643
  return contents;
6682
6644
  };
6683
6645
  const deserializeAws_queryCreateDBClusterParameterGroupResult = (output, context) => {
6684
- const contents = {
6685
- DBClusterParameterGroup: undefined,
6686
- };
6646
+ const contents = {};
6687
6647
  if (output["DBClusterParameterGroup"] !== undefined) {
6688
6648
  contents.DBClusterParameterGroup = deserializeAws_queryDBClusterParameterGroup(output["DBClusterParameterGroup"], context);
6689
6649
  }
6690
6650
  return contents;
6691
6651
  };
6692
6652
  const deserializeAws_queryCreateDBClusterResult = (output, context) => {
6693
- const contents = {
6694
- DBCluster: undefined,
6695
- };
6653
+ const contents = {};
6696
6654
  if (output["DBCluster"] !== undefined) {
6697
6655
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
6698
6656
  }
6699
6657
  return contents;
6700
6658
  };
6701
6659
  const deserializeAws_queryCreateDBClusterSnapshotResult = (output, context) => {
6702
- const contents = {
6703
- DBClusterSnapshot: undefined,
6704
- };
6660
+ const contents = {};
6705
6661
  if (output["DBClusterSnapshot"] !== undefined) {
6706
6662
  contents.DBClusterSnapshot = deserializeAws_queryDBClusterSnapshot(output["DBClusterSnapshot"], context);
6707
6663
  }
6708
6664
  return contents;
6709
6665
  };
6710
6666
  const deserializeAws_queryCreateDBInstanceResult = (output, context) => {
6711
- const contents = {
6712
- DBInstance: undefined,
6713
- };
6667
+ const contents = {};
6714
6668
  if (output["DBInstance"] !== undefined) {
6715
6669
  contents.DBInstance = deserializeAws_queryDBInstance(output["DBInstance"], context);
6716
6670
  }
6717
6671
  return contents;
6718
6672
  };
6719
6673
  const deserializeAws_queryCreateDBParameterGroupResult = (output, context) => {
6720
- const contents = {
6721
- DBParameterGroup: undefined,
6722
- };
6674
+ const contents = {};
6723
6675
  if (output["DBParameterGroup"] !== undefined) {
6724
6676
  contents.DBParameterGroup = deserializeAws_queryDBParameterGroup(output["DBParameterGroup"], context);
6725
6677
  }
6726
6678
  return contents;
6727
6679
  };
6728
6680
  const deserializeAws_queryCreateDBSubnetGroupResult = (output, context) => {
6729
- const contents = {
6730
- DBSubnetGroup: undefined,
6731
- };
6681
+ const contents = {};
6732
6682
  if (output["DBSubnetGroup"] !== undefined) {
6733
6683
  contents.DBSubnetGroup = deserializeAws_queryDBSubnetGroup(output["DBSubnetGroup"], context);
6734
6684
  }
6735
6685
  return contents;
6736
6686
  };
6737
6687
  const deserializeAws_queryCreateEventSubscriptionResult = (output, context) => {
6738
- const contents = {
6739
- EventSubscription: undefined,
6740
- };
6688
+ const contents = {};
6741
6689
  if (output["EventSubscription"] !== undefined) {
6742
6690
  contents.EventSubscription = deserializeAws_queryEventSubscription(output["EventSubscription"], context);
6743
6691
  }
6744
6692
  return contents;
6745
6693
  };
6746
6694
  const deserializeAws_queryCreateGlobalClusterResult = (output, context) => {
6747
- const contents = {
6748
- GlobalCluster: undefined,
6749
- };
6695
+ const contents = {};
6750
6696
  if (output["GlobalCluster"] !== undefined) {
6751
6697
  contents.GlobalCluster = deserializeAws_queryGlobalCluster(output["GlobalCluster"], context);
6752
6698
  }
6753
6699
  return contents;
6754
6700
  };
6755
6701
  const deserializeAws_queryDBCluster = (output, context) => {
6756
- const contents = {
6757
- AllocatedStorage: undefined,
6758
- AvailabilityZones: undefined,
6759
- BackupRetentionPeriod: undefined,
6760
- CharacterSetName: undefined,
6761
- DatabaseName: undefined,
6762
- DBClusterIdentifier: undefined,
6763
- DBClusterParameterGroup: undefined,
6764
- DBSubnetGroup: undefined,
6765
- Status: undefined,
6766
- PercentProgress: undefined,
6767
- EarliestRestorableTime: undefined,
6768
- Endpoint: undefined,
6769
- ReaderEndpoint: undefined,
6770
- MultiAZ: undefined,
6771
- Engine: undefined,
6772
- EngineVersion: undefined,
6773
- LatestRestorableTime: undefined,
6774
- Port: undefined,
6775
- MasterUsername: undefined,
6776
- DBClusterOptionGroupMemberships: undefined,
6777
- PreferredBackupWindow: undefined,
6778
- PreferredMaintenanceWindow: undefined,
6779
- ReplicationSourceIdentifier: undefined,
6780
- ReadReplicaIdentifiers: undefined,
6781
- DBClusterMembers: undefined,
6782
- VpcSecurityGroups: undefined,
6783
- HostedZoneId: undefined,
6784
- StorageEncrypted: undefined,
6785
- KmsKeyId: undefined,
6786
- DbClusterResourceId: undefined,
6787
- DBClusterArn: undefined,
6788
- AssociatedRoles: undefined,
6789
- IAMDatabaseAuthenticationEnabled: undefined,
6790
- CloneGroupId: undefined,
6791
- ClusterCreateTime: undefined,
6792
- CopyTagsToSnapshot: undefined,
6793
- EnabledCloudwatchLogsExports: undefined,
6794
- PendingModifiedValues: undefined,
6795
- DeletionProtection: undefined,
6796
- CrossAccountClone: undefined,
6797
- AutomaticRestartTime: undefined,
6798
- ServerlessV2ScalingConfiguration: undefined,
6799
- GlobalClusterIdentifier: undefined,
6800
- };
6702
+ const contents = {};
6801
6703
  if (output["AllocatedStorage"] !== undefined) {
6802
6704
  contents.AllocatedStorage = (0, smithy_client_1.strictParseInt32)(output["AllocatedStorage"]);
6803
6705
  }
@@ -6956,27 +6858,14 @@ const deserializeAws_queryDBCluster = (output, context) => {
6956
6858
  return contents;
6957
6859
  };
6958
6860
  const deserializeAws_queryDBClusterAlreadyExistsFault = (output, context) => {
6959
- const contents = {
6960
- message: undefined,
6961
- };
6861
+ const contents = {};
6962
6862
  if (output["message"] !== undefined) {
6963
6863
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6964
6864
  }
6965
6865
  return contents;
6966
6866
  };
6967
6867
  const deserializeAws_queryDBClusterEndpoint = (output, context) => {
6968
- const contents = {
6969
- DBClusterEndpointIdentifier: undefined,
6970
- DBClusterIdentifier: undefined,
6971
- DBClusterEndpointResourceIdentifier: undefined,
6972
- Endpoint: undefined,
6973
- Status: undefined,
6974
- EndpointType: undefined,
6975
- CustomEndpointType: undefined,
6976
- StaticMembers: undefined,
6977
- ExcludedMembers: undefined,
6978
- DBClusterEndpointArn: undefined,
6979
- };
6868
+ const contents = {};
6980
6869
  if (output["DBClusterEndpointIdentifier"] !== undefined) {
6981
6870
  contents.DBClusterEndpointIdentifier = (0, smithy_client_1.expectString)(output["DBClusterEndpointIdentifier"]);
6982
6871
  }
@@ -7016,9 +6905,7 @@ const deserializeAws_queryDBClusterEndpoint = (output, context) => {
7016
6905
  return contents;
7017
6906
  };
7018
6907
  const deserializeAws_queryDBClusterEndpointAlreadyExistsFault = (output, context) => {
7019
- const contents = {
7020
- message: undefined,
7021
- };
6908
+ const contents = {};
7022
6909
  if (output["message"] !== undefined) {
7023
6910
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7024
6911
  }
@@ -7032,10 +6919,7 @@ const deserializeAws_queryDBClusterEndpointList = (output, context) => {
7032
6919
  });
7033
6920
  };
7034
6921
  const deserializeAws_queryDBClusterEndpointMessage = (output, context) => {
7035
- const contents = {
7036
- Marker: undefined,
7037
- DBClusterEndpoints: undefined,
7038
- };
6922
+ const contents = {};
7039
6923
  if (output["Marker"] !== undefined) {
7040
6924
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7041
6925
  }
@@ -7049,18 +6933,14 @@ const deserializeAws_queryDBClusterEndpointMessage = (output, context) => {
7049
6933
  return contents;
7050
6934
  };
7051
6935
  const deserializeAws_queryDBClusterEndpointNotFoundFault = (output, context) => {
7052
- const contents = {
7053
- message: undefined,
7054
- };
6936
+ const contents = {};
7055
6937
  if (output["message"] !== undefined) {
7056
6938
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7057
6939
  }
7058
6940
  return contents;
7059
6941
  };
7060
6942
  const deserializeAws_queryDBClusterEndpointQuotaExceededFault = (output, context) => {
7061
- const contents = {
7062
- message: undefined,
7063
- };
6943
+ const contents = {};
7064
6944
  if (output["message"] !== undefined) {
7065
6945
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7066
6946
  }
@@ -7074,12 +6954,7 @@ const deserializeAws_queryDBClusterList = (output, context) => {
7074
6954
  });
7075
6955
  };
7076
6956
  const deserializeAws_queryDBClusterMember = (output, context) => {
7077
- const contents = {
7078
- DBInstanceIdentifier: undefined,
7079
- IsClusterWriter: undefined,
7080
- DBClusterParameterGroupStatus: undefined,
7081
- PromotionTier: undefined,
7082
- };
6957
+ const contents = {};
7083
6958
  if (output["DBInstanceIdentifier"] !== undefined) {
7084
6959
  contents.DBInstanceIdentifier = (0, smithy_client_1.expectString)(output["DBInstanceIdentifier"]);
7085
6960
  }
@@ -7102,10 +6977,7 @@ const deserializeAws_queryDBClusterMemberList = (output, context) => {
7102
6977
  });
7103
6978
  };
7104
6979
  const deserializeAws_queryDBClusterMessage = (output, context) => {
7105
- const contents = {
7106
- Marker: undefined,
7107
- DBClusters: undefined,
7108
- };
6980
+ const contents = {};
7109
6981
  if (output["Marker"] !== undefined) {
7110
6982
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7111
6983
  }
@@ -7118,9 +6990,7 @@ const deserializeAws_queryDBClusterMessage = (output, context) => {
7118
6990
  return contents;
7119
6991
  };
7120
6992
  const deserializeAws_queryDBClusterNotFoundFault = (output, context) => {
7121
- const contents = {
7122
- message: undefined,
7123
- };
6993
+ const contents = {};
7124
6994
  if (output["message"] !== undefined) {
7125
6995
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7126
6996
  }
@@ -7134,10 +7004,7 @@ const deserializeAws_queryDBClusterOptionGroupMemberships = (output, context) =>
7134
7004
  });
7135
7005
  };
7136
7006
  const deserializeAws_queryDBClusterOptionGroupStatus = (output, context) => {
7137
- const contents = {
7138
- DBClusterOptionGroupName: undefined,
7139
- Status: undefined,
7140
- };
7007
+ const contents = {};
7141
7008
  if (output["DBClusterOptionGroupName"] !== undefined) {
7142
7009
  contents.DBClusterOptionGroupName = (0, smithy_client_1.expectString)(output["DBClusterOptionGroupName"]);
7143
7010
  }
@@ -7147,12 +7014,7 @@ const deserializeAws_queryDBClusterOptionGroupStatus = (output, context) => {
7147
7014
  return contents;
7148
7015
  };
7149
7016
  const deserializeAws_queryDBClusterParameterGroup = (output, context) => {
7150
- const contents = {
7151
- DBClusterParameterGroupName: undefined,
7152
- DBParameterGroupFamily: undefined,
7153
- Description: undefined,
7154
- DBClusterParameterGroupArn: undefined,
7155
- };
7017
+ const contents = {};
7156
7018
  if (output["DBClusterParameterGroupName"] !== undefined) {
7157
7019
  contents.DBClusterParameterGroupName = (0, smithy_client_1.expectString)(output["DBClusterParameterGroupName"]);
7158
7020
  }
@@ -7168,10 +7030,7 @@ const deserializeAws_queryDBClusterParameterGroup = (output, context) => {
7168
7030
  return contents;
7169
7031
  };
7170
7032
  const deserializeAws_queryDBClusterParameterGroupDetails = (output, context) => {
7171
- const contents = {
7172
- Parameters: undefined,
7173
- Marker: undefined,
7174
- };
7033
+ const contents = {};
7175
7034
  if (output.Parameters === "") {
7176
7035
  contents.Parameters = [];
7177
7036
  }
@@ -7191,28 +7050,21 @@ const deserializeAws_queryDBClusterParameterGroupList = (output, context) => {
7191
7050
  });
7192
7051
  };
7193
7052
  const deserializeAws_queryDBClusterParameterGroupNameMessage = (output, context) => {
7194
- const contents = {
7195
- DBClusterParameterGroupName: undefined,
7196
- };
7053
+ const contents = {};
7197
7054
  if (output["DBClusterParameterGroupName"] !== undefined) {
7198
7055
  contents.DBClusterParameterGroupName = (0, smithy_client_1.expectString)(output["DBClusterParameterGroupName"]);
7199
7056
  }
7200
7057
  return contents;
7201
7058
  };
7202
7059
  const deserializeAws_queryDBClusterParameterGroupNotFoundFault = (output, context) => {
7203
- const contents = {
7204
- message: undefined,
7205
- };
7060
+ const contents = {};
7206
7061
  if (output["message"] !== undefined) {
7207
7062
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7208
7063
  }
7209
7064
  return contents;
7210
7065
  };
7211
7066
  const deserializeAws_queryDBClusterParameterGroupsMessage = (output, context) => {
7212
- const contents = {
7213
- Marker: undefined,
7214
- DBClusterParameterGroups: undefined,
7215
- };
7067
+ const contents = {};
7216
7068
  if (output["Marker"] !== undefined) {
7217
7069
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7218
7070
  }
@@ -7226,20 +7078,14 @@ const deserializeAws_queryDBClusterParameterGroupsMessage = (output, context) =>
7226
7078
  return contents;
7227
7079
  };
7228
7080
  const deserializeAws_queryDBClusterQuotaExceededFault = (output, context) => {
7229
- const contents = {
7230
- message: undefined,
7231
- };
7081
+ const contents = {};
7232
7082
  if (output["message"] !== undefined) {
7233
7083
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7234
7084
  }
7235
7085
  return contents;
7236
7086
  };
7237
7087
  const deserializeAws_queryDBClusterRole = (output, context) => {
7238
- const contents = {
7239
- RoleArn: undefined,
7240
- Status: undefined,
7241
- FeatureName: undefined,
7242
- };
7088
+ const contents = {};
7243
7089
  if (output["RoleArn"] !== undefined) {
7244
7090
  contents.RoleArn = (0, smithy_client_1.expectString)(output["RoleArn"]);
7245
7091
  }
@@ -7252,27 +7098,21 @@ const deserializeAws_queryDBClusterRole = (output, context) => {
7252
7098
  return contents;
7253
7099
  };
7254
7100
  const deserializeAws_queryDBClusterRoleAlreadyExistsFault = (output, context) => {
7255
- const contents = {
7256
- message: undefined,
7257
- };
7101
+ const contents = {};
7258
7102
  if (output["message"] !== undefined) {
7259
7103
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7260
7104
  }
7261
7105
  return contents;
7262
7106
  };
7263
7107
  const deserializeAws_queryDBClusterRoleNotFoundFault = (output, context) => {
7264
- const contents = {
7265
- message: undefined,
7266
- };
7108
+ const contents = {};
7267
7109
  if (output["message"] !== undefined) {
7268
7110
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7269
7111
  }
7270
7112
  return contents;
7271
7113
  };
7272
7114
  const deserializeAws_queryDBClusterRoleQuotaExceededFault = (output, context) => {
7273
- const contents = {
7274
- message: undefined,
7275
- };
7115
+ const contents = {};
7276
7116
  if (output["message"] !== undefined) {
7277
7117
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7278
7118
  }
@@ -7286,28 +7126,7 @@ const deserializeAws_queryDBClusterRoles = (output, context) => {
7286
7126
  });
7287
7127
  };
7288
7128
  const deserializeAws_queryDBClusterSnapshot = (output, context) => {
7289
- const contents = {
7290
- AvailabilityZones: undefined,
7291
- DBClusterSnapshotIdentifier: undefined,
7292
- DBClusterIdentifier: undefined,
7293
- SnapshotCreateTime: undefined,
7294
- Engine: undefined,
7295
- AllocatedStorage: undefined,
7296
- Status: undefined,
7297
- Port: undefined,
7298
- VpcId: undefined,
7299
- ClusterCreateTime: undefined,
7300
- MasterUsername: undefined,
7301
- EngineVersion: undefined,
7302
- LicenseModel: undefined,
7303
- SnapshotType: undefined,
7304
- PercentProgress: undefined,
7305
- StorageEncrypted: undefined,
7306
- KmsKeyId: undefined,
7307
- DBClusterSnapshotArn: undefined,
7308
- SourceDBClusterSnapshotArn: undefined,
7309
- IAMDatabaseAuthenticationEnabled: undefined,
7310
- };
7129
+ const contents = {};
7311
7130
  if (output.AvailabilityZones === "") {
7312
7131
  contents.AvailabilityZones = [];
7313
7132
  }
@@ -7375,19 +7194,14 @@ const deserializeAws_queryDBClusterSnapshot = (output, context) => {
7375
7194
  return contents;
7376
7195
  };
7377
7196
  const deserializeAws_queryDBClusterSnapshotAlreadyExistsFault = (output, context) => {
7378
- const contents = {
7379
- message: undefined,
7380
- };
7197
+ const contents = {};
7381
7198
  if (output["message"] !== undefined) {
7382
7199
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7383
7200
  }
7384
7201
  return contents;
7385
7202
  };
7386
7203
  const deserializeAws_queryDBClusterSnapshotAttribute = (output, context) => {
7387
- const contents = {
7388
- AttributeName: undefined,
7389
- AttributeValues: undefined,
7390
- };
7204
+ const contents = {};
7391
7205
  if (output["AttributeName"] !== undefined) {
7392
7206
  contents.AttributeName = (0, smithy_client_1.expectString)(output["AttributeName"]);
7393
7207
  }
@@ -7407,10 +7221,7 @@ const deserializeAws_queryDBClusterSnapshotAttributeList = (output, context) =>
7407
7221
  });
7408
7222
  };
7409
7223
  const deserializeAws_queryDBClusterSnapshotAttributesResult = (output, context) => {
7410
- const contents = {
7411
- DBClusterSnapshotIdentifier: undefined,
7412
- DBClusterSnapshotAttributes: undefined,
7413
- };
7224
+ const contents = {};
7414
7225
  if (output["DBClusterSnapshotIdentifier"] !== undefined) {
7415
7226
  contents.DBClusterSnapshotIdentifier = (0, smithy_client_1.expectString)(output["DBClusterSnapshotIdentifier"]);
7416
7227
  }
@@ -7431,10 +7242,7 @@ const deserializeAws_queryDBClusterSnapshotList = (output, context) => {
7431
7242
  });
7432
7243
  };
7433
7244
  const deserializeAws_queryDBClusterSnapshotMessage = (output, context) => {
7434
- const contents = {
7435
- Marker: undefined,
7436
- DBClusterSnapshots: undefined,
7437
- };
7245
+ const contents = {};
7438
7246
  if (output["Marker"] !== undefined) {
7439
7247
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7440
7248
  }
@@ -7448,30 +7256,14 @@ const deserializeAws_queryDBClusterSnapshotMessage = (output, context) => {
7448
7256
  return contents;
7449
7257
  };
7450
7258
  const deserializeAws_queryDBClusterSnapshotNotFoundFault = (output, context) => {
7451
- const contents = {
7452
- message: undefined,
7453
- };
7259
+ const contents = {};
7454
7260
  if (output["message"] !== undefined) {
7455
7261
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7456
7262
  }
7457
7263
  return contents;
7458
7264
  };
7459
7265
  const deserializeAws_queryDBEngineVersion = (output, context) => {
7460
- const contents = {
7461
- Engine: undefined,
7462
- EngineVersion: undefined,
7463
- DBParameterGroupFamily: undefined,
7464
- DBEngineDescription: undefined,
7465
- DBEngineVersionDescription: undefined,
7466
- DefaultCharacterSet: undefined,
7467
- SupportedCharacterSets: undefined,
7468
- ValidUpgradeTarget: undefined,
7469
- SupportedTimezones: undefined,
7470
- ExportableLogTypes: undefined,
7471
- SupportsLogExportsToCloudwatchLogs: undefined,
7472
- SupportsReadReplica: undefined,
7473
- SupportsGlobalDatabases: undefined,
7474
- };
7266
+ const contents = {};
7475
7267
  if (output["Engine"] !== undefined) {
7476
7268
  contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
7477
7269
  }
@@ -7535,10 +7327,7 @@ const deserializeAws_queryDBEngineVersionList = (output, context) => {
7535
7327
  });
7536
7328
  };
7537
7329
  const deserializeAws_queryDBEngineVersionMessage = (output, context) => {
7538
- const contents = {
7539
- Marker: undefined,
7540
- DBEngineVersions: undefined,
7541
- };
7330
+ const contents = {};
7542
7331
  if (output["Marker"] !== undefined) {
7543
7332
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7544
7333
  }
@@ -7551,61 +7340,7 @@ const deserializeAws_queryDBEngineVersionMessage = (output, context) => {
7551
7340
  return contents;
7552
7341
  };
7553
7342
  const deserializeAws_queryDBInstance = (output, context) => {
7554
- const contents = {
7555
- DBInstanceIdentifier: undefined,
7556
- DBInstanceClass: undefined,
7557
- Engine: undefined,
7558
- DBInstanceStatus: undefined,
7559
- MasterUsername: undefined,
7560
- DBName: undefined,
7561
- Endpoint: undefined,
7562
- AllocatedStorage: undefined,
7563
- InstanceCreateTime: undefined,
7564
- PreferredBackupWindow: undefined,
7565
- BackupRetentionPeriod: undefined,
7566
- DBSecurityGroups: undefined,
7567
- VpcSecurityGroups: undefined,
7568
- DBParameterGroups: undefined,
7569
- AvailabilityZone: undefined,
7570
- DBSubnetGroup: undefined,
7571
- PreferredMaintenanceWindow: undefined,
7572
- PendingModifiedValues: undefined,
7573
- LatestRestorableTime: undefined,
7574
- MultiAZ: undefined,
7575
- EngineVersion: undefined,
7576
- AutoMinorVersionUpgrade: undefined,
7577
- ReadReplicaSourceDBInstanceIdentifier: undefined,
7578
- ReadReplicaDBInstanceIdentifiers: undefined,
7579
- ReadReplicaDBClusterIdentifiers: undefined,
7580
- LicenseModel: undefined,
7581
- Iops: undefined,
7582
- OptionGroupMemberships: undefined,
7583
- CharacterSetName: undefined,
7584
- SecondaryAvailabilityZone: undefined,
7585
- PubliclyAccessible: undefined,
7586
- StatusInfos: undefined,
7587
- StorageType: undefined,
7588
- TdeCredentialArn: undefined,
7589
- DbInstancePort: undefined,
7590
- DBClusterIdentifier: undefined,
7591
- StorageEncrypted: undefined,
7592
- KmsKeyId: undefined,
7593
- DbiResourceId: undefined,
7594
- CACertificateIdentifier: undefined,
7595
- DomainMemberships: undefined,
7596
- CopyTagsToSnapshot: undefined,
7597
- MonitoringInterval: undefined,
7598
- EnhancedMonitoringResourceArn: undefined,
7599
- MonitoringRoleArn: undefined,
7600
- PromotionTier: undefined,
7601
- DBInstanceArn: undefined,
7602
- Timezone: undefined,
7603
- IAMDatabaseAuthenticationEnabled: undefined,
7604
- PerformanceInsightsEnabled: undefined,
7605
- PerformanceInsightsKMSKeyId: undefined,
7606
- EnabledCloudwatchLogsExports: undefined,
7607
- DeletionProtection: undefined,
7608
- };
7343
+ const contents = {};
7609
7344
  if (output["DBInstanceIdentifier"] !== undefined) {
7610
7345
  contents.DBInstanceIdentifier = (0, smithy_client_1.expectString)(output["DBInstanceIdentifier"]);
7611
7346
  }
@@ -7802,9 +7537,7 @@ const deserializeAws_queryDBInstance = (output, context) => {
7802
7537
  return contents;
7803
7538
  };
7804
7539
  const deserializeAws_queryDBInstanceAlreadyExistsFault = (output, context) => {
7805
- const contents = {
7806
- message: undefined,
7807
- };
7540
+ const contents = {};
7808
7541
  if (output["message"] !== undefined) {
7809
7542
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7810
7543
  }
@@ -7818,10 +7551,7 @@ const deserializeAws_queryDBInstanceList = (output, context) => {
7818
7551
  });
7819
7552
  };
7820
7553
  const deserializeAws_queryDBInstanceMessage = (output, context) => {
7821
- const contents = {
7822
- Marker: undefined,
7823
- DBInstances: undefined,
7824
- };
7554
+ const contents = {};
7825
7555
  if (output["Marker"] !== undefined) {
7826
7556
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7827
7557
  }
@@ -7834,21 +7564,14 @@ const deserializeAws_queryDBInstanceMessage = (output, context) => {
7834
7564
  return contents;
7835
7565
  };
7836
7566
  const deserializeAws_queryDBInstanceNotFoundFault = (output, context) => {
7837
- const contents = {
7838
- message: undefined,
7839
- };
7567
+ const contents = {};
7840
7568
  if (output["message"] !== undefined) {
7841
7569
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7842
7570
  }
7843
7571
  return contents;
7844
7572
  };
7845
7573
  const deserializeAws_queryDBInstanceStatusInfo = (output, context) => {
7846
- const contents = {
7847
- StatusType: undefined,
7848
- Normal: undefined,
7849
- Status: undefined,
7850
- Message: undefined,
7851
- };
7574
+ const contents = {};
7852
7575
  if (output["StatusType"] !== undefined) {
7853
7576
  contents.StatusType = (0, smithy_client_1.expectString)(output["StatusType"]);
7854
7577
  }
@@ -7871,12 +7594,7 @@ const deserializeAws_queryDBInstanceStatusInfoList = (output, context) => {
7871
7594
  });
7872
7595
  };
7873
7596
  const deserializeAws_queryDBParameterGroup = (output, context) => {
7874
- const contents = {
7875
- DBParameterGroupName: undefined,
7876
- DBParameterGroupFamily: undefined,
7877
- Description: undefined,
7878
- DBParameterGroupArn: undefined,
7879
- };
7597
+ const contents = {};
7880
7598
  if (output["DBParameterGroupName"] !== undefined) {
7881
7599
  contents.DBParameterGroupName = (0, smithy_client_1.expectString)(output["DBParameterGroupName"]);
7882
7600
  }
@@ -7892,19 +7610,14 @@ const deserializeAws_queryDBParameterGroup = (output, context) => {
7892
7610
  return contents;
7893
7611
  };
7894
7612
  const deserializeAws_queryDBParameterGroupAlreadyExistsFault = (output, context) => {
7895
- const contents = {
7896
- message: undefined,
7897
- };
7613
+ const contents = {};
7898
7614
  if (output["message"] !== undefined) {
7899
7615
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7900
7616
  }
7901
7617
  return contents;
7902
7618
  };
7903
7619
  const deserializeAws_queryDBParameterGroupDetails = (output, context) => {
7904
- const contents = {
7905
- Parameters: undefined,
7906
- Marker: undefined,
7907
- };
7620
+ const contents = {};
7908
7621
  if (output.Parameters === "") {
7909
7622
  contents.Parameters = [];
7910
7623
  }
@@ -7924,37 +7637,28 @@ const deserializeAws_queryDBParameterGroupList = (output, context) => {
7924
7637
  });
7925
7638
  };
7926
7639
  const deserializeAws_queryDBParameterGroupNameMessage = (output, context) => {
7927
- const contents = {
7928
- DBParameterGroupName: undefined,
7929
- };
7640
+ const contents = {};
7930
7641
  if (output["DBParameterGroupName"] !== undefined) {
7931
7642
  contents.DBParameterGroupName = (0, smithy_client_1.expectString)(output["DBParameterGroupName"]);
7932
7643
  }
7933
7644
  return contents;
7934
7645
  };
7935
7646
  const deserializeAws_queryDBParameterGroupNotFoundFault = (output, context) => {
7936
- const contents = {
7937
- message: undefined,
7938
- };
7647
+ const contents = {};
7939
7648
  if (output["message"] !== undefined) {
7940
7649
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7941
7650
  }
7942
7651
  return contents;
7943
7652
  };
7944
7653
  const deserializeAws_queryDBParameterGroupQuotaExceededFault = (output, context) => {
7945
- const contents = {
7946
- message: undefined,
7947
- };
7654
+ const contents = {};
7948
7655
  if (output["message"] !== undefined) {
7949
7656
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7950
7657
  }
7951
7658
  return contents;
7952
7659
  };
7953
7660
  const deserializeAws_queryDBParameterGroupsMessage = (output, context) => {
7954
- const contents = {
7955
- Marker: undefined,
7956
- DBParameterGroups: undefined,
7957
- };
7661
+ const contents = {};
7958
7662
  if (output["Marker"] !== undefined) {
7959
7663
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
7960
7664
  }
@@ -7968,10 +7672,7 @@ const deserializeAws_queryDBParameterGroupsMessage = (output, context) => {
7968
7672
  return contents;
7969
7673
  };
7970
7674
  const deserializeAws_queryDBParameterGroupStatus = (output, context) => {
7971
- const contents = {
7972
- DBParameterGroupName: undefined,
7973
- ParameterApplyStatus: undefined,
7974
- };
7675
+ const contents = {};
7975
7676
  if (output["DBParameterGroupName"] !== undefined) {
7976
7677
  contents.DBParameterGroupName = (0, smithy_client_1.expectString)(output["DBParameterGroupName"]);
7977
7678
  }
@@ -7988,10 +7689,7 @@ const deserializeAws_queryDBParameterGroupStatusList = (output, context) => {
7988
7689
  });
7989
7690
  };
7990
7691
  const deserializeAws_queryDBSecurityGroupMembership = (output, context) => {
7991
- const contents = {
7992
- DBSecurityGroupName: undefined,
7993
- Status: undefined,
7994
- };
7692
+ const contents = {};
7995
7693
  if (output["DBSecurityGroupName"] !== undefined) {
7996
7694
  contents.DBSecurityGroupName = (0, smithy_client_1.expectString)(output["DBSecurityGroupName"]);
7997
7695
  }
@@ -8008,41 +7706,28 @@ const deserializeAws_queryDBSecurityGroupMembershipList = (output, context) => {
8008
7706
  });
8009
7707
  };
8010
7708
  const deserializeAws_queryDBSecurityGroupNotFoundFault = (output, context) => {
8011
- const contents = {
8012
- message: undefined,
8013
- };
7709
+ const contents = {};
8014
7710
  if (output["message"] !== undefined) {
8015
7711
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8016
7712
  }
8017
7713
  return contents;
8018
7714
  };
8019
7715
  const deserializeAws_queryDBSnapshotAlreadyExistsFault = (output, context) => {
8020
- const contents = {
8021
- message: undefined,
8022
- };
7716
+ const contents = {};
8023
7717
  if (output["message"] !== undefined) {
8024
7718
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8025
7719
  }
8026
7720
  return contents;
8027
7721
  };
8028
7722
  const deserializeAws_queryDBSnapshotNotFoundFault = (output, context) => {
8029
- const contents = {
8030
- message: undefined,
8031
- };
7723
+ const contents = {};
8032
7724
  if (output["message"] !== undefined) {
8033
7725
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8034
7726
  }
8035
7727
  return contents;
8036
7728
  };
8037
7729
  const deserializeAws_queryDBSubnetGroup = (output, context) => {
8038
- const contents = {
8039
- DBSubnetGroupName: undefined,
8040
- DBSubnetGroupDescription: undefined,
8041
- VpcId: undefined,
8042
- SubnetGroupStatus: undefined,
8043
- Subnets: undefined,
8044
- DBSubnetGroupArn: undefined,
8045
- };
7730
+ const contents = {};
8046
7731
  if (output["DBSubnetGroupName"] !== undefined) {
8047
7732
  contents.DBSubnetGroupName = (0, smithy_client_1.expectString)(output["DBSubnetGroupName"]);
8048
7733
  }
@@ -8067,28 +7752,21 @@ const deserializeAws_queryDBSubnetGroup = (output, context) => {
8067
7752
  return contents;
8068
7753
  };
8069
7754
  const deserializeAws_queryDBSubnetGroupAlreadyExistsFault = (output, context) => {
8070
- const contents = {
8071
- message: undefined,
8072
- };
7755
+ const contents = {};
8073
7756
  if (output["message"] !== undefined) {
8074
7757
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8075
7758
  }
8076
7759
  return contents;
8077
7760
  };
8078
7761
  const deserializeAws_queryDBSubnetGroupDoesNotCoverEnoughAZs = (output, context) => {
8079
- const contents = {
8080
- message: undefined,
8081
- };
7762
+ const contents = {};
8082
7763
  if (output["message"] !== undefined) {
8083
7764
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8084
7765
  }
8085
7766
  return contents;
8086
7767
  };
8087
7768
  const deserializeAws_queryDBSubnetGroupMessage = (output, context) => {
8088
- const contents = {
8089
- Marker: undefined,
8090
- DBSubnetGroups: undefined,
8091
- };
7769
+ const contents = {};
8092
7770
  if (output["Marker"] !== undefined) {
8093
7771
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
8094
7772
  }
@@ -8101,18 +7779,14 @@ const deserializeAws_queryDBSubnetGroupMessage = (output, context) => {
8101
7779
  return contents;
8102
7780
  };
8103
7781
  const deserializeAws_queryDBSubnetGroupNotFoundFault = (output, context) => {
8104
- const contents = {
8105
- message: undefined,
8106
- };
7782
+ const contents = {};
8107
7783
  if (output["message"] !== undefined) {
8108
7784
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8109
7785
  }
8110
7786
  return contents;
8111
7787
  };
8112
7788
  const deserializeAws_queryDBSubnetGroupQuotaExceededFault = (output, context) => {
8113
- const contents = {
8114
- message: undefined,
8115
- };
7789
+ const contents = {};
8116
7790
  if (output["message"] !== undefined) {
8117
7791
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8118
7792
  }
@@ -8126,36 +7800,21 @@ const deserializeAws_queryDBSubnetGroups = (output, context) => {
8126
7800
  });
8127
7801
  };
8128
7802
  const deserializeAws_queryDBSubnetQuotaExceededFault = (output, context) => {
8129
- const contents = {
8130
- message: undefined,
8131
- };
7803
+ const contents = {};
8132
7804
  if (output["message"] !== undefined) {
8133
7805
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8134
7806
  }
8135
7807
  return contents;
8136
7808
  };
8137
7809
  const deserializeAws_queryDBUpgradeDependencyFailureFault = (output, context) => {
8138
- const contents = {
8139
- message: undefined,
8140
- };
7810
+ const contents = {};
8141
7811
  if (output["message"] !== undefined) {
8142
7812
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8143
7813
  }
8144
7814
  return contents;
8145
7815
  };
8146
7816
  const deserializeAws_queryDeleteDBClusterEndpointOutput = (output, context) => {
8147
- const contents = {
8148
- DBClusterEndpointIdentifier: undefined,
8149
- DBClusterIdentifier: undefined,
8150
- DBClusterEndpointResourceIdentifier: undefined,
8151
- Endpoint: undefined,
8152
- Status: undefined,
8153
- EndpointType: undefined,
8154
- CustomEndpointType: undefined,
8155
- StaticMembers: undefined,
8156
- ExcludedMembers: undefined,
8157
- DBClusterEndpointArn: undefined,
8158
- };
7817
+ const contents = {};
8159
7818
  if (output["DBClusterEndpointIdentifier"] !== undefined) {
8160
7819
  contents.DBClusterEndpointIdentifier = (0, smithy_client_1.expectString)(output["DBClusterEndpointIdentifier"]);
8161
7820
  }
@@ -8195,93 +7854,70 @@ const deserializeAws_queryDeleteDBClusterEndpointOutput = (output, context) => {
8195
7854
  return contents;
8196
7855
  };
8197
7856
  const deserializeAws_queryDeleteDBClusterResult = (output, context) => {
8198
- const contents = {
8199
- DBCluster: undefined,
8200
- };
7857
+ const contents = {};
8201
7858
  if (output["DBCluster"] !== undefined) {
8202
7859
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
8203
7860
  }
8204
7861
  return contents;
8205
7862
  };
8206
7863
  const deserializeAws_queryDeleteDBClusterSnapshotResult = (output, context) => {
8207
- const contents = {
8208
- DBClusterSnapshot: undefined,
8209
- };
7864
+ const contents = {};
8210
7865
  if (output["DBClusterSnapshot"] !== undefined) {
8211
7866
  contents.DBClusterSnapshot = deserializeAws_queryDBClusterSnapshot(output["DBClusterSnapshot"], context);
8212
7867
  }
8213
7868
  return contents;
8214
7869
  };
8215
7870
  const deserializeAws_queryDeleteDBInstanceResult = (output, context) => {
8216
- const contents = {
8217
- DBInstance: undefined,
8218
- };
7871
+ const contents = {};
8219
7872
  if (output["DBInstance"] !== undefined) {
8220
7873
  contents.DBInstance = deserializeAws_queryDBInstance(output["DBInstance"], context);
8221
7874
  }
8222
7875
  return contents;
8223
7876
  };
8224
7877
  const deserializeAws_queryDeleteEventSubscriptionResult = (output, context) => {
8225
- const contents = {
8226
- EventSubscription: undefined,
8227
- };
7878
+ const contents = {};
8228
7879
  if (output["EventSubscription"] !== undefined) {
8229
7880
  contents.EventSubscription = deserializeAws_queryEventSubscription(output["EventSubscription"], context);
8230
7881
  }
8231
7882
  return contents;
8232
7883
  };
8233
7884
  const deserializeAws_queryDeleteGlobalClusterResult = (output, context) => {
8234
- const contents = {
8235
- GlobalCluster: undefined,
8236
- };
7885
+ const contents = {};
8237
7886
  if (output["GlobalCluster"] !== undefined) {
8238
7887
  contents.GlobalCluster = deserializeAws_queryGlobalCluster(output["GlobalCluster"], context);
8239
7888
  }
8240
7889
  return contents;
8241
7890
  };
8242
7891
  const deserializeAws_queryDescribeDBClusterSnapshotAttributesResult = (output, context) => {
8243
- const contents = {
8244
- DBClusterSnapshotAttributesResult: undefined,
8245
- };
7892
+ const contents = {};
8246
7893
  if (output["DBClusterSnapshotAttributesResult"] !== undefined) {
8247
7894
  contents.DBClusterSnapshotAttributesResult = deserializeAws_queryDBClusterSnapshotAttributesResult(output["DBClusterSnapshotAttributesResult"], context);
8248
7895
  }
8249
7896
  return contents;
8250
7897
  };
8251
7898
  const deserializeAws_queryDescribeEngineDefaultClusterParametersResult = (output, context) => {
8252
- const contents = {
8253
- EngineDefaults: undefined,
8254
- };
7899
+ const contents = {};
8255
7900
  if (output["EngineDefaults"] !== undefined) {
8256
7901
  contents.EngineDefaults = deserializeAws_queryEngineDefaults(output["EngineDefaults"], context);
8257
7902
  }
8258
7903
  return contents;
8259
7904
  };
8260
7905
  const deserializeAws_queryDescribeEngineDefaultParametersResult = (output, context) => {
8261
- const contents = {
8262
- EngineDefaults: undefined,
8263
- };
7906
+ const contents = {};
8264
7907
  if (output["EngineDefaults"] !== undefined) {
8265
7908
  contents.EngineDefaults = deserializeAws_queryEngineDefaults(output["EngineDefaults"], context);
8266
7909
  }
8267
7910
  return contents;
8268
7911
  };
8269
7912
  const deserializeAws_queryDescribeValidDBInstanceModificationsResult = (output, context) => {
8270
- const contents = {
8271
- ValidDBInstanceModificationsMessage: undefined,
8272
- };
7913
+ const contents = {};
8273
7914
  if (output["ValidDBInstanceModificationsMessage"] !== undefined) {
8274
7915
  contents.ValidDBInstanceModificationsMessage = deserializeAws_queryValidDBInstanceModificationsMessage(output["ValidDBInstanceModificationsMessage"], context);
8275
7916
  }
8276
7917
  return contents;
8277
7918
  };
8278
7919
  const deserializeAws_queryDomainMembership = (output, context) => {
8279
- const contents = {
8280
- Domain: undefined,
8281
- Status: undefined,
8282
- FQDN: undefined,
8283
- IAMRoleName: undefined,
8284
- };
7920
+ const contents = {};
8285
7921
  if (output["Domain"] !== undefined) {
8286
7922
  contents.Domain = (0, smithy_client_1.expectString)(output["Domain"]);
8287
7923
  }
@@ -8304,19 +7940,14 @@ const deserializeAws_queryDomainMembershipList = (output, context) => {
8304
7940
  });
8305
7941
  };
8306
7942
  const deserializeAws_queryDomainNotFoundFault = (output, context) => {
8307
- const contents = {
8308
- message: undefined,
8309
- };
7943
+ const contents = {};
8310
7944
  if (output["message"] !== undefined) {
8311
7945
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8312
7946
  }
8313
7947
  return contents;
8314
7948
  };
8315
7949
  const deserializeAws_queryDoubleRange = (output, context) => {
8316
- const contents = {
8317
- From: undefined,
8318
- To: undefined,
8319
- };
7950
+ const contents = {};
8320
7951
  if (output["From"] !== undefined) {
8321
7952
  contents.From = (0, smithy_client_1.strictParseFloat)(output["From"]);
8322
7953
  }
@@ -8333,11 +7964,7 @@ const deserializeAws_queryDoubleRangeList = (output, context) => {
8333
7964
  });
8334
7965
  };
8335
7966
  const deserializeAws_queryEndpoint = (output, context) => {
8336
- const contents = {
8337
- Address: undefined,
8338
- Port: undefined,
8339
- HostedZoneId: undefined,
8340
- };
7967
+ const contents = {};
8341
7968
  if (output["Address"] !== undefined) {
8342
7969
  contents.Address = (0, smithy_client_1.expectString)(output["Address"]);
8343
7970
  }
@@ -8350,11 +7977,7 @@ const deserializeAws_queryEndpoint = (output, context) => {
8350
7977
  return contents;
8351
7978
  };
8352
7979
  const deserializeAws_queryEngineDefaults = (output, context) => {
8353
- const contents = {
8354
- DBParameterGroupFamily: undefined,
8355
- Marker: undefined,
8356
- Parameters: undefined,
8357
- };
7980
+ const contents = {};
8358
7981
  if (output["DBParameterGroupFamily"] !== undefined) {
8359
7982
  contents.DBParameterGroupFamily = (0, smithy_client_1.expectString)(output["DBParameterGroupFamily"]);
8360
7983
  }
@@ -8370,14 +7993,7 @@ const deserializeAws_queryEngineDefaults = (output, context) => {
8370
7993
  return contents;
8371
7994
  };
8372
7995
  const deserializeAws_queryEvent = (output, context) => {
8373
- const contents = {
8374
- SourceIdentifier: undefined,
8375
- SourceType: undefined,
8376
- Message: undefined,
8377
- EventCategories: undefined,
8378
- Date: undefined,
8379
- SourceArn: undefined,
8380
- };
7996
+ const contents = {};
8381
7997
  if (output["SourceIdentifier"] !== undefined) {
8382
7998
  contents.SourceIdentifier = (0, smithy_client_1.expectString)(output["SourceIdentifier"]);
8383
7999
  }
@@ -8409,10 +8025,7 @@ const deserializeAws_queryEventCategoriesList = (output, context) => {
8409
8025
  });
8410
8026
  };
8411
8027
  const deserializeAws_queryEventCategoriesMap = (output, context) => {
8412
- const contents = {
8413
- SourceType: undefined,
8414
- EventCategories: undefined,
8415
- };
8028
+ const contents = {};
8416
8029
  if (output["SourceType"] !== undefined) {
8417
8030
  contents.SourceType = (0, smithy_client_1.expectString)(output["SourceType"]);
8418
8031
  }
@@ -8432,9 +8045,7 @@ const deserializeAws_queryEventCategoriesMapList = (output, context) => {
8432
8045
  });
8433
8046
  };
8434
8047
  const deserializeAws_queryEventCategoriesMessage = (output, context) => {
8435
- const contents = {
8436
- EventCategoriesMapList: undefined,
8437
- };
8048
+ const contents = {};
8438
8049
  if (output.EventCategoriesMapList === "") {
8439
8050
  contents.EventCategoriesMapList = [];
8440
8051
  }
@@ -8452,10 +8063,7 @@ const deserializeAws_queryEventList = (output, context) => {
8452
8063
  });
8453
8064
  };
8454
8065
  const deserializeAws_queryEventsMessage = (output, context) => {
8455
- const contents = {
8456
- Marker: undefined,
8457
- Events: undefined,
8458
- };
8066
+ const contents = {};
8459
8067
  if (output["Marker"] !== undefined) {
8460
8068
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
8461
8069
  }
@@ -8468,18 +8076,7 @@ const deserializeAws_queryEventsMessage = (output, context) => {
8468
8076
  return contents;
8469
8077
  };
8470
8078
  const deserializeAws_queryEventSubscription = (output, context) => {
8471
- const contents = {
8472
- CustomerAwsId: undefined,
8473
- CustSubscriptionId: undefined,
8474
- SnsTopicArn: undefined,
8475
- Status: undefined,
8476
- SubscriptionCreationTime: undefined,
8477
- SourceType: undefined,
8478
- SourceIdsList: undefined,
8479
- EventCategoriesList: undefined,
8480
- Enabled: undefined,
8481
- EventSubscriptionArn: undefined,
8482
- };
8079
+ const contents = {};
8483
8080
  if (output["CustomerAwsId"] !== undefined) {
8484
8081
  contents.CustomerAwsId = (0, smithy_client_1.expectString)(output["CustomerAwsId"]);
8485
8082
  }
@@ -8520,9 +8117,7 @@ const deserializeAws_queryEventSubscription = (output, context) => {
8520
8117
  return contents;
8521
8118
  };
8522
8119
  const deserializeAws_queryEventSubscriptionQuotaExceededFault = (output, context) => {
8523
- const contents = {
8524
- message: undefined,
8525
- };
8120
+ const contents = {};
8526
8121
  if (output["message"] !== undefined) {
8527
8122
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8528
8123
  }
@@ -8536,10 +8131,7 @@ const deserializeAws_queryEventSubscriptionsList = (output, context) => {
8536
8131
  });
8537
8132
  };
8538
8133
  const deserializeAws_queryEventSubscriptionsMessage = (output, context) => {
8539
- const contents = {
8540
- Marker: undefined,
8541
- EventSubscriptionsList: undefined,
8542
- };
8134
+ const contents = {};
8543
8135
  if (output["Marker"] !== undefined) {
8544
8136
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
8545
8137
  }
@@ -8553,35 +8145,21 @@ const deserializeAws_queryEventSubscriptionsMessage = (output, context) => {
8553
8145
  return contents;
8554
8146
  };
8555
8147
  const deserializeAws_queryFailoverDBClusterResult = (output, context) => {
8556
- const contents = {
8557
- DBCluster: undefined,
8558
- };
8148
+ const contents = {};
8559
8149
  if (output["DBCluster"] !== undefined) {
8560
8150
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
8561
8151
  }
8562
8152
  return contents;
8563
8153
  };
8564
8154
  const deserializeAws_queryFailoverGlobalClusterResult = (output, context) => {
8565
- const contents = {
8566
- GlobalCluster: undefined,
8567
- };
8155
+ const contents = {};
8568
8156
  if (output["GlobalCluster"] !== undefined) {
8569
8157
  contents.GlobalCluster = deserializeAws_queryGlobalCluster(output["GlobalCluster"], context);
8570
8158
  }
8571
8159
  return contents;
8572
8160
  };
8573
8161
  const deserializeAws_queryGlobalCluster = (output, context) => {
8574
- const contents = {
8575
- GlobalClusterIdentifier: undefined,
8576
- GlobalClusterResourceId: undefined,
8577
- GlobalClusterArn: undefined,
8578
- Status: undefined,
8579
- Engine: undefined,
8580
- EngineVersion: undefined,
8581
- StorageEncrypted: undefined,
8582
- DeletionProtection: undefined,
8583
- GlobalClusterMembers: undefined,
8584
- };
8162
+ const contents = {};
8585
8163
  if (output["GlobalClusterIdentifier"] !== undefined) {
8586
8164
  contents.GlobalClusterIdentifier = (0, smithy_client_1.expectString)(output["GlobalClusterIdentifier"]);
8587
8165
  }
@@ -8616,9 +8194,7 @@ const deserializeAws_queryGlobalCluster = (output, context) => {
8616
8194
  return contents;
8617
8195
  };
8618
8196
  const deserializeAws_queryGlobalClusterAlreadyExistsFault = (output, context) => {
8619
- const contents = {
8620
- message: undefined,
8621
- };
8197
+ const contents = {};
8622
8198
  if (output["message"] !== undefined) {
8623
8199
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8624
8200
  }
@@ -8632,11 +8208,7 @@ const deserializeAws_queryGlobalClusterList = (output, context) => {
8632
8208
  });
8633
8209
  };
8634
8210
  const deserializeAws_queryGlobalClusterMember = (output, context) => {
8635
- const contents = {
8636
- DBClusterArn: undefined,
8637
- Readers: undefined,
8638
- IsWriter: undefined,
8639
- };
8211
+ const contents = {};
8640
8212
  if (output["DBClusterArn"] !== undefined) {
8641
8213
  contents.DBClusterArn = (0, smithy_client_1.expectString)(output["DBClusterArn"]);
8642
8214
  }
@@ -8659,28 +8231,21 @@ const deserializeAws_queryGlobalClusterMemberList = (output, context) => {
8659
8231
  });
8660
8232
  };
8661
8233
  const deserializeAws_queryGlobalClusterNotFoundFault = (output, context) => {
8662
- const contents = {
8663
- message: undefined,
8664
- };
8234
+ const contents = {};
8665
8235
  if (output["message"] !== undefined) {
8666
8236
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8667
8237
  }
8668
8238
  return contents;
8669
8239
  };
8670
8240
  const deserializeAws_queryGlobalClusterQuotaExceededFault = (output, context) => {
8671
- const contents = {
8672
- message: undefined,
8673
- };
8241
+ const contents = {};
8674
8242
  if (output["message"] !== undefined) {
8675
8243
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8676
8244
  }
8677
8245
  return contents;
8678
8246
  };
8679
8247
  const deserializeAws_queryGlobalClustersMessage = (output, context) => {
8680
- const contents = {
8681
- Marker: undefined,
8682
- GlobalClusters: undefined,
8683
- };
8248
+ const contents = {};
8684
8249
  if (output["Marker"] !== undefined) {
8685
8250
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
8686
8251
  }
@@ -8693,171 +8258,133 @@ const deserializeAws_queryGlobalClustersMessage = (output, context) => {
8693
8258
  return contents;
8694
8259
  };
8695
8260
  const deserializeAws_queryInstanceQuotaExceededFault = (output, context) => {
8696
- const contents = {
8697
- message: undefined,
8698
- };
8261
+ const contents = {};
8699
8262
  if (output["message"] !== undefined) {
8700
8263
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8701
8264
  }
8702
8265
  return contents;
8703
8266
  };
8704
8267
  const deserializeAws_queryInsufficientDBClusterCapacityFault = (output, context) => {
8705
- const contents = {
8706
- message: undefined,
8707
- };
8268
+ const contents = {};
8708
8269
  if (output["message"] !== undefined) {
8709
8270
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8710
8271
  }
8711
8272
  return contents;
8712
8273
  };
8713
8274
  const deserializeAws_queryInsufficientDBInstanceCapacityFault = (output, context) => {
8714
- const contents = {
8715
- message: undefined,
8716
- };
8275
+ const contents = {};
8717
8276
  if (output["message"] !== undefined) {
8718
8277
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8719
8278
  }
8720
8279
  return contents;
8721
8280
  };
8722
8281
  const deserializeAws_queryInsufficientStorageClusterCapacityFault = (output, context) => {
8723
- const contents = {
8724
- message: undefined,
8725
- };
8282
+ const contents = {};
8726
8283
  if (output["message"] !== undefined) {
8727
8284
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8728
8285
  }
8729
8286
  return contents;
8730
8287
  };
8731
8288
  const deserializeAws_queryInvalidDBClusterEndpointStateFault = (output, context) => {
8732
- const contents = {
8733
- message: undefined,
8734
- };
8289
+ const contents = {};
8735
8290
  if (output["message"] !== undefined) {
8736
8291
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8737
8292
  }
8738
8293
  return contents;
8739
8294
  };
8740
8295
  const deserializeAws_queryInvalidDBClusterSnapshotStateFault = (output, context) => {
8741
- const contents = {
8742
- message: undefined,
8743
- };
8296
+ const contents = {};
8744
8297
  if (output["message"] !== undefined) {
8745
8298
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8746
8299
  }
8747
8300
  return contents;
8748
8301
  };
8749
8302
  const deserializeAws_queryInvalidDBClusterStateFault = (output, context) => {
8750
- const contents = {
8751
- message: undefined,
8752
- };
8303
+ const contents = {};
8753
8304
  if (output["message"] !== undefined) {
8754
8305
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8755
8306
  }
8756
8307
  return contents;
8757
8308
  };
8758
8309
  const deserializeAws_queryInvalidDBInstanceStateFault = (output, context) => {
8759
- const contents = {
8760
- message: undefined,
8761
- };
8310
+ const contents = {};
8762
8311
  if (output["message"] !== undefined) {
8763
8312
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8764
8313
  }
8765
8314
  return contents;
8766
8315
  };
8767
8316
  const deserializeAws_queryInvalidDBParameterGroupStateFault = (output, context) => {
8768
- const contents = {
8769
- message: undefined,
8770
- };
8317
+ const contents = {};
8771
8318
  if (output["message"] !== undefined) {
8772
8319
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8773
8320
  }
8774
8321
  return contents;
8775
8322
  };
8776
8323
  const deserializeAws_queryInvalidDBSecurityGroupStateFault = (output, context) => {
8777
- const contents = {
8778
- message: undefined,
8779
- };
8324
+ const contents = {};
8780
8325
  if (output["message"] !== undefined) {
8781
8326
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8782
8327
  }
8783
8328
  return contents;
8784
8329
  };
8785
8330
  const deserializeAws_queryInvalidDBSnapshotStateFault = (output, context) => {
8786
- const contents = {
8787
- message: undefined,
8788
- };
8331
+ const contents = {};
8789
8332
  if (output["message"] !== undefined) {
8790
8333
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8791
8334
  }
8792
8335
  return contents;
8793
8336
  };
8794
8337
  const deserializeAws_queryInvalidDBSubnetGroupStateFault = (output, context) => {
8795
- const contents = {
8796
- message: undefined,
8797
- };
8338
+ const contents = {};
8798
8339
  if (output["message"] !== undefined) {
8799
8340
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8800
8341
  }
8801
8342
  return contents;
8802
8343
  };
8803
8344
  const deserializeAws_queryInvalidDBSubnetStateFault = (output, context) => {
8804
- const contents = {
8805
- message: undefined,
8806
- };
8345
+ const contents = {};
8807
8346
  if (output["message"] !== undefined) {
8808
8347
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8809
8348
  }
8810
8349
  return contents;
8811
8350
  };
8812
8351
  const deserializeAws_queryInvalidEventSubscriptionStateFault = (output, context) => {
8813
- const contents = {
8814
- message: undefined,
8815
- };
8352
+ const contents = {};
8816
8353
  if (output["message"] !== undefined) {
8817
8354
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8818
8355
  }
8819
8356
  return contents;
8820
8357
  };
8821
8358
  const deserializeAws_queryInvalidGlobalClusterStateFault = (output, context) => {
8822
- const contents = {
8823
- message: undefined,
8824
- };
8359
+ const contents = {};
8825
8360
  if (output["message"] !== undefined) {
8826
8361
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8827
8362
  }
8828
8363
  return contents;
8829
8364
  };
8830
8365
  const deserializeAws_queryInvalidRestoreFault = (output, context) => {
8831
- const contents = {
8832
- message: undefined,
8833
- };
8366
+ const contents = {};
8834
8367
  if (output["message"] !== undefined) {
8835
8368
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8836
8369
  }
8837
8370
  return contents;
8838
8371
  };
8839
8372
  const deserializeAws_queryInvalidSubnet = (output, context) => {
8840
- const contents = {
8841
- message: undefined,
8842
- };
8373
+ const contents = {};
8843
8374
  if (output["message"] !== undefined) {
8844
8375
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8845
8376
  }
8846
8377
  return contents;
8847
8378
  };
8848
8379
  const deserializeAws_queryInvalidVPCNetworkStateFault = (output, context) => {
8849
- const contents = {
8850
- message: undefined,
8851
- };
8380
+ const contents = {};
8852
8381
  if (output["message"] !== undefined) {
8853
8382
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8854
8383
  }
8855
8384
  return contents;
8856
8385
  };
8857
8386
  const deserializeAws_queryKMSKeyNotAccessibleFault = (output, context) => {
8858
- const contents = {
8859
- message: undefined,
8860
- };
8387
+ const contents = {};
8861
8388
  if (output["message"] !== undefined) {
8862
8389
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8863
8390
  }
@@ -8871,18 +8398,7 @@ const deserializeAws_queryLogTypeList = (output, context) => {
8871
8398
  });
8872
8399
  };
8873
8400
  const deserializeAws_queryModifyDBClusterEndpointOutput = (output, context) => {
8874
- const contents = {
8875
- DBClusterEndpointIdentifier: undefined,
8876
- DBClusterIdentifier: undefined,
8877
- DBClusterEndpointResourceIdentifier: undefined,
8878
- Endpoint: undefined,
8879
- Status: undefined,
8880
- EndpointType: undefined,
8881
- CustomEndpointType: undefined,
8882
- StaticMembers: undefined,
8883
- ExcludedMembers: undefined,
8884
- DBClusterEndpointArn: undefined,
8885
- };
8401
+ const contents = {};
8886
8402
  if (output["DBClusterEndpointIdentifier"] !== undefined) {
8887
8403
  contents.DBClusterEndpointIdentifier = (0, smithy_client_1.expectString)(output["DBClusterEndpointIdentifier"]);
8888
8404
  }
@@ -8922,64 +8438,49 @@ const deserializeAws_queryModifyDBClusterEndpointOutput = (output, context) => {
8922
8438
  return contents;
8923
8439
  };
8924
8440
  const deserializeAws_queryModifyDBClusterResult = (output, context) => {
8925
- const contents = {
8926
- DBCluster: undefined,
8927
- };
8441
+ const contents = {};
8928
8442
  if (output["DBCluster"] !== undefined) {
8929
8443
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
8930
8444
  }
8931
8445
  return contents;
8932
8446
  };
8933
8447
  const deserializeAws_queryModifyDBClusterSnapshotAttributeResult = (output, context) => {
8934
- const contents = {
8935
- DBClusterSnapshotAttributesResult: undefined,
8936
- };
8448
+ const contents = {};
8937
8449
  if (output["DBClusterSnapshotAttributesResult"] !== undefined) {
8938
8450
  contents.DBClusterSnapshotAttributesResult = deserializeAws_queryDBClusterSnapshotAttributesResult(output["DBClusterSnapshotAttributesResult"], context);
8939
8451
  }
8940
8452
  return contents;
8941
8453
  };
8942
8454
  const deserializeAws_queryModifyDBInstanceResult = (output, context) => {
8943
- const contents = {
8944
- DBInstance: undefined,
8945
- };
8455
+ const contents = {};
8946
8456
  if (output["DBInstance"] !== undefined) {
8947
8457
  contents.DBInstance = deserializeAws_queryDBInstance(output["DBInstance"], context);
8948
8458
  }
8949
8459
  return contents;
8950
8460
  };
8951
8461
  const deserializeAws_queryModifyDBSubnetGroupResult = (output, context) => {
8952
- const contents = {
8953
- DBSubnetGroup: undefined,
8954
- };
8462
+ const contents = {};
8955
8463
  if (output["DBSubnetGroup"] !== undefined) {
8956
8464
  contents.DBSubnetGroup = deserializeAws_queryDBSubnetGroup(output["DBSubnetGroup"], context);
8957
8465
  }
8958
8466
  return contents;
8959
8467
  };
8960
8468
  const deserializeAws_queryModifyEventSubscriptionResult = (output, context) => {
8961
- const contents = {
8962
- EventSubscription: undefined,
8963
- };
8469
+ const contents = {};
8964
8470
  if (output["EventSubscription"] !== undefined) {
8965
8471
  contents.EventSubscription = deserializeAws_queryEventSubscription(output["EventSubscription"], context);
8966
8472
  }
8967
8473
  return contents;
8968
8474
  };
8969
8475
  const deserializeAws_queryModifyGlobalClusterResult = (output, context) => {
8970
- const contents = {
8971
- GlobalCluster: undefined,
8972
- };
8476
+ const contents = {};
8973
8477
  if (output["GlobalCluster"] !== undefined) {
8974
8478
  contents.GlobalCluster = deserializeAws_queryGlobalCluster(output["GlobalCluster"], context);
8975
8479
  }
8976
8480
  return contents;
8977
8481
  };
8978
8482
  const deserializeAws_queryOptionGroupMembership = (output, context) => {
8979
- const contents = {
8980
- OptionGroupName: undefined,
8981
- Status: undefined,
8982
- };
8483
+ const contents = {};
8983
8484
  if (output["OptionGroupName"] !== undefined) {
8984
8485
  contents.OptionGroupName = (0, smithy_client_1.expectString)(output["OptionGroupName"]);
8985
8486
  }
@@ -8996,38 +8497,14 @@ const deserializeAws_queryOptionGroupMembershipList = (output, context) => {
8996
8497
  });
8997
8498
  };
8998
8499
  const deserializeAws_queryOptionGroupNotFoundFault = (output, context) => {
8999
- const contents = {
9000
- message: undefined,
9001
- };
8500
+ const contents = {};
9002
8501
  if (output["message"] !== undefined) {
9003
8502
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9004
8503
  }
9005
8504
  return contents;
9006
8505
  };
9007
8506
  const deserializeAws_queryOrderableDBInstanceOption = (output, context) => {
9008
- const contents = {
9009
- Engine: undefined,
9010
- EngineVersion: undefined,
9011
- DBInstanceClass: undefined,
9012
- LicenseModel: undefined,
9013
- AvailabilityZones: undefined,
9014
- MultiAZCapable: undefined,
9015
- ReadReplicaCapable: undefined,
9016
- Vpc: undefined,
9017
- SupportsStorageEncryption: undefined,
9018
- StorageType: undefined,
9019
- SupportsIops: undefined,
9020
- SupportsEnhancedMonitoring: undefined,
9021
- SupportsIAMDatabaseAuthentication: undefined,
9022
- SupportsPerformanceInsights: undefined,
9023
- MinStorageSize: undefined,
9024
- MaxStorageSize: undefined,
9025
- MinIopsPerDbInstance: undefined,
9026
- MaxIopsPerDbInstance: undefined,
9027
- MinIopsPerGib: undefined,
9028
- MaxIopsPerGib: undefined,
9029
- SupportsGlobalDatabases: undefined,
9030
- };
8507
+ const contents = {};
9031
8508
  if (output["Engine"] !== undefined) {
9032
8509
  contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
9033
8510
  }
@@ -9105,10 +8582,7 @@ const deserializeAws_queryOrderableDBInstanceOptionsList = (output, context) =>
9105
8582
  });
9106
8583
  };
9107
8584
  const deserializeAws_queryOrderableDBInstanceOptionsMessage = (output, context) => {
9108
- const contents = {
9109
- OrderableDBInstanceOptions: undefined,
9110
- Marker: undefined,
9111
- };
8585
+ const contents = {};
9112
8586
  if (output.OrderableDBInstanceOptions === "") {
9113
8587
  contents.OrderableDBInstanceOptions = [];
9114
8588
  }
@@ -9122,18 +8596,7 @@ const deserializeAws_queryOrderableDBInstanceOptionsMessage = (output, context)
9122
8596
  return contents;
9123
8597
  };
9124
8598
  const deserializeAws_queryParameter = (output, context) => {
9125
- const contents = {
9126
- ParameterName: undefined,
9127
- ParameterValue: undefined,
9128
- Description: undefined,
9129
- Source: undefined,
9130
- ApplyType: undefined,
9131
- DataType: undefined,
9132
- AllowedValues: undefined,
9133
- IsModifiable: undefined,
9134
- MinimumEngineVersion: undefined,
9135
- ApplyMethod: undefined,
9136
- };
8599
+ const contents = {};
9137
8600
  if (output["ParameterName"] !== undefined) {
9138
8601
  contents.ParameterName = (0, smithy_client_1.expectString)(output["ParameterName"]);
9139
8602
  }
@@ -9174,10 +8637,7 @@ const deserializeAws_queryParametersList = (output, context) => {
9174
8637
  });
9175
8638
  };
9176
8639
  const deserializeAws_queryPendingCloudwatchLogsExports = (output, context) => {
9177
- const contents = {
9178
- LogTypesToEnable: undefined,
9179
- LogTypesToDisable: undefined,
9180
- };
8640
+ const contents = {};
9181
8641
  if (output.LogTypesToEnable === "") {
9182
8642
  contents.LogTypesToEnable = [];
9183
8643
  }
@@ -9193,14 +8653,7 @@ const deserializeAws_queryPendingCloudwatchLogsExports = (output, context) => {
9193
8653
  return contents;
9194
8654
  };
9195
8655
  const deserializeAws_queryPendingMaintenanceAction = (output, context) => {
9196
- const contents = {
9197
- Action: undefined,
9198
- AutoAppliedAfterDate: undefined,
9199
- ForcedApplyDate: undefined,
9200
- OptInStatus: undefined,
9201
- CurrentApplyDate: undefined,
9202
- Description: undefined,
9203
- };
8656
+ const contents = {};
9204
8657
  if (output["Action"] !== undefined) {
9205
8658
  contents.Action = (0, smithy_client_1.expectString)(output["Action"]);
9206
8659
  }
@@ -9236,10 +8689,7 @@ const deserializeAws_queryPendingMaintenanceActions = (output, context) => {
9236
8689
  });
9237
8690
  };
9238
8691
  const deserializeAws_queryPendingMaintenanceActionsMessage = (output, context) => {
9239
- const contents = {
9240
- PendingMaintenanceActions: undefined,
9241
- Marker: undefined,
9242
- };
8692
+ const contents = {};
9243
8693
  if (output.PendingMaintenanceActions === "") {
9244
8694
  contents.PendingMaintenanceActions = [];
9245
8695
  }
@@ -9253,22 +8703,7 @@ const deserializeAws_queryPendingMaintenanceActionsMessage = (output, context) =
9253
8703
  return contents;
9254
8704
  };
9255
8705
  const deserializeAws_queryPendingModifiedValues = (output, context) => {
9256
- const contents = {
9257
- DBInstanceClass: undefined,
9258
- AllocatedStorage: undefined,
9259
- MasterUserPassword: undefined,
9260
- Port: undefined,
9261
- BackupRetentionPeriod: undefined,
9262
- MultiAZ: undefined,
9263
- EngineVersion: undefined,
9264
- LicenseModel: undefined,
9265
- Iops: undefined,
9266
- DBInstanceIdentifier: undefined,
9267
- StorageType: undefined,
9268
- CACertificateIdentifier: undefined,
9269
- DBSubnetGroupName: undefined,
9270
- PendingCloudwatchLogsExports: undefined,
9271
- };
8706
+ const contents = {};
9272
8707
  if (output["DBInstanceClass"] !== undefined) {
9273
8708
  contents.DBInstanceClass = (0, smithy_client_1.expectString)(output["DBInstanceClass"]);
9274
8709
  }
@@ -9314,29 +8749,21 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
9314
8749
  return contents;
9315
8750
  };
9316
8751
  const deserializeAws_queryPromoteReadReplicaDBClusterResult = (output, context) => {
9317
- const contents = {
9318
- DBCluster: undefined,
9319
- };
8752
+ const contents = {};
9320
8753
  if (output["DBCluster"] !== undefined) {
9321
8754
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
9322
8755
  }
9323
8756
  return contents;
9324
8757
  };
9325
8758
  const deserializeAws_queryProvisionedIopsNotAvailableInAZFault = (output, context) => {
9326
- const contents = {
9327
- message: undefined,
9328
- };
8759
+ const contents = {};
9329
8760
  if (output["message"] !== undefined) {
9330
8761
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9331
8762
  }
9332
8763
  return contents;
9333
8764
  };
9334
8765
  const deserializeAws_queryRange = (output, context) => {
9335
- const contents = {
9336
- From: undefined,
9337
- To: undefined,
9338
- Step: undefined,
9339
- };
8766
+ const contents = {};
9340
8767
  if (output["From"] !== undefined) {
9341
8768
  contents.From = (0, smithy_client_1.strictParseInt32)(output["From"]);
9342
8769
  }
@@ -9384,46 +8811,35 @@ const deserializeAws_queryReadReplicaIdentifierList = (output, context) => {
9384
8811
  });
9385
8812
  };
9386
8813
  const deserializeAws_queryRebootDBInstanceResult = (output, context) => {
9387
- const contents = {
9388
- DBInstance: undefined,
9389
- };
8814
+ const contents = {};
9390
8815
  if (output["DBInstance"] !== undefined) {
9391
8816
  contents.DBInstance = deserializeAws_queryDBInstance(output["DBInstance"], context);
9392
8817
  }
9393
8818
  return contents;
9394
8819
  };
9395
8820
  const deserializeAws_queryRemoveFromGlobalClusterResult = (output, context) => {
9396
- const contents = {
9397
- GlobalCluster: undefined,
9398
- };
8821
+ const contents = {};
9399
8822
  if (output["GlobalCluster"] !== undefined) {
9400
8823
  contents.GlobalCluster = deserializeAws_queryGlobalCluster(output["GlobalCluster"], context);
9401
8824
  }
9402
8825
  return contents;
9403
8826
  };
9404
8827
  const deserializeAws_queryRemoveSourceIdentifierFromSubscriptionResult = (output, context) => {
9405
- const contents = {
9406
- EventSubscription: undefined,
9407
- };
8828
+ const contents = {};
9408
8829
  if (output["EventSubscription"] !== undefined) {
9409
8830
  contents.EventSubscription = deserializeAws_queryEventSubscription(output["EventSubscription"], context);
9410
8831
  }
9411
8832
  return contents;
9412
8833
  };
9413
8834
  const deserializeAws_queryResourceNotFoundFault = (output, context) => {
9414
- const contents = {
9415
- message: undefined,
9416
- };
8835
+ const contents = {};
9417
8836
  if (output["message"] !== undefined) {
9418
8837
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9419
8838
  }
9420
8839
  return contents;
9421
8840
  };
9422
8841
  const deserializeAws_queryResourcePendingMaintenanceActions = (output, context) => {
9423
- const contents = {
9424
- ResourceIdentifier: undefined,
9425
- PendingMaintenanceActionDetails: undefined,
9426
- };
8842
+ const contents = {};
9427
8843
  if (output["ResourceIdentifier"] !== undefined) {
9428
8844
  contents.ResourceIdentifier = (0, smithy_client_1.expectString)(output["ResourceIdentifier"]);
9429
8845
  }
@@ -9437,28 +8853,21 @@ const deserializeAws_queryResourcePendingMaintenanceActions = (output, context)
9437
8853
  return contents;
9438
8854
  };
9439
8855
  const deserializeAws_queryRestoreDBClusterFromSnapshotResult = (output, context) => {
9440
- const contents = {
9441
- DBCluster: undefined,
9442
- };
8856
+ const contents = {};
9443
8857
  if (output["DBCluster"] !== undefined) {
9444
8858
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
9445
8859
  }
9446
8860
  return contents;
9447
8861
  };
9448
8862
  const deserializeAws_queryRestoreDBClusterToPointInTimeResult = (output, context) => {
9449
- const contents = {
9450
- DBCluster: undefined,
9451
- };
8863
+ const contents = {};
9452
8864
  if (output["DBCluster"] !== undefined) {
9453
8865
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
9454
8866
  }
9455
8867
  return contents;
9456
8868
  };
9457
8869
  const deserializeAws_queryServerlessV2ScalingConfigurationInfo = (output, context) => {
9458
- const contents = {
9459
- MinCapacity: undefined,
9460
- MaxCapacity: undefined,
9461
- };
8870
+ const contents = {};
9462
8871
  if (output["MinCapacity"] !== undefined) {
9463
8872
  contents.MinCapacity = (0, smithy_client_1.strictParseFloat)(output["MinCapacity"]);
9464
8873
  }
@@ -9468,45 +8877,35 @@ const deserializeAws_queryServerlessV2ScalingConfigurationInfo = (output, contex
9468
8877
  return contents;
9469
8878
  };
9470
8879
  const deserializeAws_querySharedSnapshotQuotaExceededFault = (output, context) => {
9471
- const contents = {
9472
- message: undefined,
9473
- };
8880
+ const contents = {};
9474
8881
  if (output["message"] !== undefined) {
9475
8882
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9476
8883
  }
9477
8884
  return contents;
9478
8885
  };
9479
8886
  const deserializeAws_querySnapshotQuotaExceededFault = (output, context) => {
9480
- const contents = {
9481
- message: undefined,
9482
- };
8887
+ const contents = {};
9483
8888
  if (output["message"] !== undefined) {
9484
8889
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9485
8890
  }
9486
8891
  return contents;
9487
8892
  };
9488
8893
  const deserializeAws_querySNSInvalidTopicFault = (output, context) => {
9489
- const contents = {
9490
- message: undefined,
9491
- };
8894
+ const contents = {};
9492
8895
  if (output["message"] !== undefined) {
9493
8896
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9494
8897
  }
9495
8898
  return contents;
9496
8899
  };
9497
8900
  const deserializeAws_querySNSNoAuthorizationFault = (output, context) => {
9498
- const contents = {
9499
- message: undefined,
9500
- };
8901
+ const contents = {};
9501
8902
  if (output["message"] !== undefined) {
9502
8903
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9503
8904
  }
9504
8905
  return contents;
9505
8906
  };
9506
8907
  const deserializeAws_querySNSTopicArnNotFoundFault = (output, context) => {
9507
- const contents = {
9508
- message: undefined,
9509
- };
8908
+ const contents = {};
9510
8909
  if (output["message"] !== undefined) {
9511
8910
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9512
8911
  }
@@ -9520,45 +8919,35 @@ const deserializeAws_querySourceIdsList = (output, context) => {
9520
8919
  });
9521
8920
  };
9522
8921
  const deserializeAws_querySourceNotFoundFault = (output, context) => {
9523
- const contents = {
9524
- message: undefined,
9525
- };
8922
+ const contents = {};
9526
8923
  if (output["message"] !== undefined) {
9527
8924
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9528
8925
  }
9529
8926
  return contents;
9530
8927
  };
9531
8928
  const deserializeAws_queryStartDBClusterResult = (output, context) => {
9532
- const contents = {
9533
- DBCluster: undefined,
9534
- };
8929
+ const contents = {};
9535
8930
  if (output["DBCluster"] !== undefined) {
9536
8931
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
9537
8932
  }
9538
8933
  return contents;
9539
8934
  };
9540
8935
  const deserializeAws_queryStopDBClusterResult = (output, context) => {
9541
- const contents = {
9542
- DBCluster: undefined,
9543
- };
8936
+ const contents = {};
9544
8937
  if (output["DBCluster"] !== undefined) {
9545
8938
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
9546
8939
  }
9547
8940
  return contents;
9548
8941
  };
9549
8942
  const deserializeAws_queryStorageQuotaExceededFault = (output, context) => {
9550
- const contents = {
9551
- message: undefined,
9552
- };
8943
+ const contents = {};
9553
8944
  if (output["message"] !== undefined) {
9554
8945
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9555
8946
  }
9556
8947
  return contents;
9557
8948
  };
9558
8949
  const deserializeAws_queryStorageTypeNotSupportedFault = (output, context) => {
9559
- const contents = {
9560
- message: undefined,
9561
- };
8950
+ const contents = {};
9562
8951
  if (output["message"] !== undefined) {
9563
8952
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9564
8953
  }
@@ -9572,11 +8961,7 @@ const deserializeAws_queryStringList = (output, context) => {
9572
8961
  });
9573
8962
  };
9574
8963
  const deserializeAws_querySubnet = (output, context) => {
9575
- const contents = {
9576
- SubnetIdentifier: undefined,
9577
- SubnetAvailabilityZone: undefined,
9578
- SubnetStatus: undefined,
9579
- };
8964
+ const contents = {};
9580
8965
  if (output["SubnetIdentifier"] !== undefined) {
9581
8966
  contents.SubnetIdentifier = (0, smithy_client_1.expectString)(output["SubnetIdentifier"]);
9582
8967
  }
@@ -9589,9 +8974,7 @@ const deserializeAws_querySubnet = (output, context) => {
9589
8974
  return contents;
9590
8975
  };
9591
8976
  const deserializeAws_querySubnetAlreadyInUse = (output, context) => {
9592
- const contents = {
9593
- message: undefined,
9594
- };
8977
+ const contents = {};
9595
8978
  if (output["message"] !== undefined) {
9596
8979
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9597
8980
  }
@@ -9605,27 +8988,21 @@ const deserializeAws_querySubnetList = (output, context) => {
9605
8988
  });
9606
8989
  };
9607
8990
  const deserializeAws_querySubscriptionAlreadyExistFault = (output, context) => {
9608
- const contents = {
9609
- message: undefined,
9610
- };
8991
+ const contents = {};
9611
8992
  if (output["message"] !== undefined) {
9612
8993
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9613
8994
  }
9614
8995
  return contents;
9615
8996
  };
9616
8997
  const deserializeAws_querySubscriptionCategoryNotFoundFault = (output, context) => {
9617
- const contents = {
9618
- message: undefined,
9619
- };
8998
+ const contents = {};
9620
8999
  if (output["message"] !== undefined) {
9621
9000
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9622
9001
  }
9623
9002
  return contents;
9624
9003
  };
9625
9004
  const deserializeAws_querySubscriptionNotFoundFault = (output, context) => {
9626
- const contents = {
9627
- message: undefined,
9628
- };
9005
+ const contents = {};
9629
9006
  if (output["message"] !== undefined) {
9630
9007
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
9631
9008
  }
@@ -9646,10 +9023,7 @@ const deserializeAws_querySupportedTimezonesList = (output, context) => {
9646
9023
  });
9647
9024
  };
9648
9025
  const deserializeAws_queryTag = (output, context) => {
9649
- const contents = {
9650
- Key: undefined,
9651
- Value: undefined,
9652
- };
9026
+ const contents = {};
9653
9027
  if (output["Key"] !== undefined) {
9654
9028
  contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
9655
9029
  }
@@ -9666,9 +9040,7 @@ const deserializeAws_queryTagList = (output, context) => {
9666
9040
  });
9667
9041
  };
9668
9042
  const deserializeAws_queryTagListMessage = (output, context) => {
9669
- const contents = {
9670
- TagList: undefined,
9671
- };
9043
+ const contents = {};
9672
9044
  if (output.TagList === "") {
9673
9045
  contents.TagList = [];
9674
9046
  }
@@ -9678,23 +9050,14 @@ const deserializeAws_queryTagListMessage = (output, context) => {
9678
9050
  return contents;
9679
9051
  };
9680
9052
  const deserializeAws_queryTimezone = (output, context) => {
9681
- const contents = {
9682
- TimezoneName: undefined,
9683
- };
9053
+ const contents = {};
9684
9054
  if (output["TimezoneName"] !== undefined) {
9685
9055
  contents.TimezoneName = (0, smithy_client_1.expectString)(output["TimezoneName"]);
9686
9056
  }
9687
9057
  return contents;
9688
9058
  };
9689
9059
  const deserializeAws_queryUpgradeTarget = (output, context) => {
9690
- const contents = {
9691
- Engine: undefined,
9692
- EngineVersion: undefined,
9693
- Description: undefined,
9694
- AutoUpgrade: undefined,
9695
- IsMajorVersionUpgrade: undefined,
9696
- SupportsGlobalDatabases: undefined,
9697
- };
9060
+ const contents = {};
9698
9061
  if (output["Engine"] !== undefined) {
9699
9062
  contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
9700
9063
  }
@@ -9716,9 +9079,7 @@ const deserializeAws_queryUpgradeTarget = (output, context) => {
9716
9079
  return contents;
9717
9080
  };
9718
9081
  const deserializeAws_queryValidDBInstanceModificationsMessage = (output, context) => {
9719
- const contents = {
9720
- Storage: undefined,
9721
- };
9082
+ const contents = {};
9722
9083
  if (output.Storage === "") {
9723
9084
  contents.Storage = [];
9724
9085
  }
@@ -9728,12 +9089,7 @@ const deserializeAws_queryValidDBInstanceModificationsMessage = (output, context
9728
9089
  return contents;
9729
9090
  };
9730
9091
  const deserializeAws_queryValidStorageOptions = (output, context) => {
9731
- const contents = {
9732
- StorageType: undefined,
9733
- StorageSize: undefined,
9734
- ProvisionedIops: undefined,
9735
- IopsToStorageRatio: undefined,
9736
- };
9092
+ const contents = {};
9737
9093
  if (output["StorageType"] !== undefined) {
9738
9094
  contents.StorageType = (0, smithy_client_1.expectString)(output["StorageType"]);
9739
9095
  }
@@ -9772,10 +9128,7 @@ const deserializeAws_queryValidUpgradeTargetList = (output, context) => {
9772
9128
  });
9773
9129
  };
9774
9130
  const deserializeAws_queryVpcSecurityGroupMembership = (output, context) => {
9775
- const contents = {
9776
- VpcSecurityGroupId: undefined,
9777
- Status: undefined,
9778
- };
9131
+ const contents = {};
9779
9132
  if (output["VpcSecurityGroupId"] !== undefined) {
9780
9133
  contents.VpcSecurityGroupId = (0, smithy_client_1.expectString)(output["VpcSecurityGroupId"]);
9781
9134
  }