@aws-sdk/client-docdb 3.910.0 → 3.913.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.
package/dist-cjs/index.js CHANGED
@@ -443,6 +443,18 @@ class InvalidVPCNetworkStateFault extends DocDBServiceException {
443
443
  Object.setPrototypeOf(this, InvalidVPCNetworkStateFault.prototype);
444
444
  }
445
445
  }
446
+ class NetworkTypeNotSupported extends DocDBServiceException {
447
+ name = "NetworkTypeNotSupported";
448
+ $fault = "client";
449
+ constructor(opts) {
450
+ super({
451
+ name: "NetworkTypeNotSupported",
452
+ $fault: "client",
453
+ ...opts,
454
+ });
455
+ Object.setPrototypeOf(this, NetworkTypeNotSupported.prototype);
456
+ }
457
+ }
446
458
  class StorageQuotaExceededFault extends DocDBServiceException {
447
459
  name = "StorageQuotaExceededFault";
448
460
  $fault = "client";
@@ -2157,6 +2169,9 @@ const de_CommandError = async (output, context) => {
2157
2169
  case "InvalidVPCNetworkStateFault":
2158
2170
  case "com.amazonaws.docdb#InvalidVPCNetworkStateFault":
2159
2171
  throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput);
2172
+ case "NetworkTypeNotSupported":
2173
+ case "com.amazonaws.docdb#NetworkTypeNotSupported":
2174
+ throw await de_NetworkTypeNotSupportedRes(parsedOutput);
2160
2175
  case "StorageQuotaExceeded":
2161
2176
  case "com.amazonaws.docdb#StorageQuotaExceededFault":
2162
2177
  throw await de_StorageQuotaExceededFaultRes(parsedOutput);
@@ -2652,6 +2667,15 @@ const de_KMSKeyNotAccessibleFaultRes = async (parsedOutput, context) => {
2652
2667
  });
2653
2668
  return smithyClient.decorateServiceException(exception, body);
2654
2669
  };
2670
+ const de_NetworkTypeNotSupportedRes = async (parsedOutput, context) => {
2671
+ const body = parsedOutput.body;
2672
+ const deserialized = de_NetworkTypeNotSupported(body.Error);
2673
+ const exception = new NetworkTypeNotSupported({
2674
+ $metadata: deserializeMetadata(parsedOutput),
2675
+ ...deserialized,
2676
+ });
2677
+ return smithyClient.decorateServiceException(exception, body);
2678
+ };
2655
2679
  const de_ResourceNotFoundFaultRes = async (parsedOutput, context) => {
2656
2680
  const body = parsedOutput.body;
2657
2681
  const deserialized = de_ResourceNotFoundFault(body.Error);
@@ -3015,6 +3039,9 @@ const se_CreateDBClusterMessage = (input, context) => {
3015
3039
  if (input[_MUSKKI] != null) {
3016
3040
  entries[_MUSKKI] = input[_MUSKKI];
3017
3041
  }
3042
+ if (input[_NT] != null) {
3043
+ entries[_NT] = input[_NT];
3044
+ }
3018
3045
  return entries;
3019
3046
  };
3020
3047
  const se_CreateDBClusterParameterGroupMessage = (input, context) => {
@@ -3873,6 +3900,9 @@ const se_ModifyDBClusterMessage = (input, context) => {
3873
3900
  if (input[_RMUP] != null) {
3874
3901
  entries[_RMUP] = input[_RMUP];
3875
3902
  }
3903
+ if (input[_NT] != null) {
3904
+ entries[_NT] = input[_NT];
3905
+ }
3876
3906
  return entries;
3877
3907
  };
3878
3908
  const se_ModifyDBClusterParameterGroupMessage = (input, context) => {
@@ -4216,6 +4246,9 @@ const se_RestoreDBClusterFromSnapshotMessage = (input, context) => {
4216
4246
  if (input[_ST] != null) {
4217
4247
  entries[_ST] = input[_ST];
4218
4248
  }
4249
+ if (input[_NT] != null) {
4250
+ entries[_NT] = input[_NT];
4251
+ }
4219
4252
  return entries;
4220
4253
  };
4221
4254
  const se_RestoreDBClusterToPointInTimeMessage = (input, context) => {
@@ -4287,6 +4320,9 @@ const se_RestoreDBClusterToPointInTimeMessage = (input, context) => {
4287
4320
  if (input[_ST] != null) {
4288
4321
  entries[_ST] = input[_ST];
4289
4322
  }
4323
+ if (input[_NT] != null) {
4324
+ entries[_NT] = input[_NT];
4325
+ }
4290
4326
  return entries;
4291
4327
  };
4292
4328
  const se_ServerlessV2ScalingConfiguration = (input, context) => {
@@ -4691,6 +4727,9 @@ const de_DBCluster = (output, context) => {
4691
4727
  if (output[_DP] != null) {
4692
4728
  contents[_DP] = smithyClient.parseBoolean(output[_DP]);
4693
4729
  }
4730
+ if (output[_IOONAMT] != null) {
4731
+ contents[_IOONAMT] = smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(output[_IOONAMT]));
4732
+ }
4694
4733
  if (output[_ST] != null) {
4695
4734
  contents[_ST] = smithyClient.expectString(output[_ST]);
4696
4735
  }
@@ -4700,6 +4739,9 @@ const de_DBCluster = (output, context) => {
4700
4739
  if (output[_MUS] != null) {
4701
4740
  contents[_MUS] = de_ClusterMasterUserSecret(output[_MUS]);
4702
4741
  }
4742
+ if (output[_NT] != null) {
4743
+ contents[_NT] = smithyClient.expectString(output[_NT]);
4744
+ }
4703
4745
  return contents;
4704
4746
  };
4705
4747
  const de_DBClusterAlreadyExistsFault = (output, context) => {
@@ -5265,6 +5307,12 @@ const de_DBSubnetGroup = (output, context) => {
5265
5307
  if (output[_DBSGA] != null) {
5266
5308
  contents[_DBSGA] = smithyClient.expectString(output[_DBSGA]);
5267
5309
  }
5310
+ if (String(output.SupportedNetworkTypes).trim() === "") {
5311
+ contents[_SNT] = [];
5312
+ }
5313
+ else if (output[_SNT] != null && output[_SNT][_me] != null) {
5314
+ contents[_SNT] = de_NetworkTypeList(smithyClient.getArrayIfSingleItem(output[_SNT][_me]));
5315
+ }
5268
5316
  return contents;
5269
5317
  };
5270
5318
  const de_DBSubnetGroupAlreadyExistsFault = (output, context) => {
@@ -5846,6 +5894,20 @@ const de_ModifyGlobalClusterResult = (output, context) => {
5846
5894
  }
5847
5895
  return contents;
5848
5896
  };
5897
+ const de_NetworkTypeList = (output, context) => {
5898
+ return (output || [])
5899
+ .filter((e) => e != null)
5900
+ .map((entry) => {
5901
+ return smithyClient.expectString(entry);
5902
+ });
5903
+ };
5904
+ const de_NetworkTypeNotSupported = (output, context) => {
5905
+ const contents = {};
5906
+ if (output[_m] != null) {
5907
+ contents[_m] = smithyClient.expectString(output[_m]);
5908
+ }
5909
+ return contents;
5910
+ };
5849
5911
  const de_OrderableDBInstanceOption = (output, context) => {
5850
5912
  const contents = {};
5851
5913
  if (output[_E] != null) {
@@ -6523,6 +6585,7 @@ const _ICT = "InstanceCreateTime";
6523
6585
  const _ICW = "IsClusterWriter";
6524
6586
  const _IM = "IsModifiable";
6525
6587
  const _IMVU = "IsMajorVersionUpgrade";
6588
+ const _IOONAMT = "IOOptimizedNextAllowedModificationTime";
6526
6589
  const _IP = "IncludePublic";
6527
6590
  const _IS = "IncludeShared";
6528
6591
  const _IW = "IsWriter";
@@ -6558,6 +6621,7 @@ const _N = "Name";
6558
6621
  const _NDBCI = "NewDBClusterIdentifier";
6559
6622
  const _NDBII = "NewDBInstanceIdentifier";
6560
6623
  const _NGCI = "NewGlobalClusterIdentifier";
6624
+ const _NT = "NetworkType";
6561
6625
  const _No = "Normal";
6562
6626
  const _ODBIO = "OrderableDBInstanceOptions";
6563
6627
  const _ODBIOr = "OrderableDBInstanceOption";
@@ -6629,6 +6693,7 @@ const _SIu = "SubnetIds";
6629
6693
  const _SIub = "SubnetIdentifier";
6630
6694
  const _SLETCL = "SupportsLogExportsToCloudwatchLogs";
6631
6695
  const _SN = "SubscriptionName";
6696
+ const _SNT = "SupportedNetworkTypes";
6632
6697
  const _SS = "SecretStatus";
6633
6698
  const _SSu = "SubnetStatus";
6634
6699
  const _ST = "StorageType";
@@ -8021,6 +8086,7 @@ exports.ModifyDBInstanceCommand = ModifyDBInstanceCommand;
8021
8086
  exports.ModifyDBSubnetGroupCommand = ModifyDBSubnetGroupCommand;
8022
8087
  exports.ModifyEventSubscriptionCommand = ModifyEventSubscriptionCommand;
8023
8088
  exports.ModifyGlobalClusterCommand = ModifyGlobalClusterCommand;
8089
+ exports.NetworkTypeNotSupported = NetworkTypeNotSupported;
8024
8090
  exports.RebootDBInstanceCommand = RebootDBInstanceCommand;
8025
8091
  exports.RemoveFromGlobalClusterCommand = RemoveFromGlobalClusterCommand;
8026
8092
  exports.RemoveSourceIdentifierFromSubscriptionCommand = RemoveSourceIdentifierFromSubscriptionCommand;
@@ -323,6 +323,18 @@ export class InvalidVPCNetworkStateFault extends __BaseException {
323
323
  Object.setPrototypeOf(this, InvalidVPCNetworkStateFault.prototype);
324
324
  }
325
325
  }
326
+ export class NetworkTypeNotSupported extends __BaseException {
327
+ name = "NetworkTypeNotSupported";
328
+ $fault = "client";
329
+ constructor(opts) {
330
+ super({
331
+ name: "NetworkTypeNotSupported",
332
+ $fault: "client",
333
+ ...opts,
334
+ });
335
+ Object.setPrototypeOf(this, NetworkTypeNotSupported.prototype);
336
+ }
337
+ }
326
338
  export class StorageQuotaExceededFault extends __BaseException {
327
339
  name = "StorageQuotaExceededFault";
328
340
  $fault = "client";
@@ -2,7 +2,7 @@ import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, withBaseException, } from "@smithy/smithy-client";
4
4
  import { DocDBServiceException as __BaseException } from "../models/DocDBServiceException";
5
- import { AuthorizationNotFoundFault, CertificateNotFoundFault, DBClusterAlreadyExistsFault, DBClusterNotFoundFault, DBClusterParameterGroupNotFoundFault, DBClusterQuotaExceededFault, DBClusterSnapshotAlreadyExistsFault, DBClusterSnapshotNotFoundFault, DBInstanceAlreadyExistsFault, DBInstanceNotFoundFault, DBParameterGroupAlreadyExistsFault, DBParameterGroupNotFoundFault, DBParameterGroupQuotaExceededFault, DBSecurityGroupNotFoundFault, DBSnapshotAlreadyExistsFault, DBSnapshotNotFoundFault, DBSubnetGroupAlreadyExistsFault, DBSubnetGroupDoesNotCoverEnoughAZs, DBSubnetGroupNotFoundFault, DBSubnetGroupQuotaExceededFault, DBSubnetQuotaExceededFault, DBUpgradeDependencyFailureFault, EventSubscriptionQuotaExceededFault, GlobalClusterAlreadyExistsFault, GlobalClusterNotFoundFault, GlobalClusterQuotaExceededFault, InstanceQuotaExceededFault, InsufficientDBClusterCapacityFault, InsufficientDBInstanceCapacityFault, InsufficientStorageClusterCapacityFault, InvalidDBClusterSnapshotStateFault, InvalidDBClusterStateFault, InvalidDBInstanceStateFault, InvalidDBParameterGroupStateFault, InvalidDBSecurityGroupStateFault, InvalidDBSnapshotStateFault, InvalidDBSubnetGroupStateFault, InvalidDBSubnetStateFault, InvalidEventSubscriptionStateFault, InvalidGlobalClusterStateFault, InvalidRestoreFault, InvalidSubnet, InvalidVPCNetworkStateFault, KMSKeyNotAccessibleFault, ResourceNotFoundFault, SharedSnapshotQuotaExceededFault, SnapshotQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceNotFoundFault, StorageQuotaExceededFault, StorageTypeNotSupportedFault, SubnetAlreadyInUse, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionNotFoundFault, } from "../models/models_0";
5
+ import { AuthorizationNotFoundFault, CertificateNotFoundFault, DBClusterAlreadyExistsFault, DBClusterNotFoundFault, DBClusterParameterGroupNotFoundFault, DBClusterQuotaExceededFault, DBClusterSnapshotAlreadyExistsFault, DBClusterSnapshotNotFoundFault, DBInstanceAlreadyExistsFault, DBInstanceNotFoundFault, DBParameterGroupAlreadyExistsFault, DBParameterGroupNotFoundFault, DBParameterGroupQuotaExceededFault, DBSecurityGroupNotFoundFault, DBSnapshotAlreadyExistsFault, DBSnapshotNotFoundFault, DBSubnetGroupAlreadyExistsFault, DBSubnetGroupDoesNotCoverEnoughAZs, DBSubnetGroupNotFoundFault, DBSubnetGroupQuotaExceededFault, DBSubnetQuotaExceededFault, DBUpgradeDependencyFailureFault, EventSubscriptionQuotaExceededFault, GlobalClusterAlreadyExistsFault, GlobalClusterNotFoundFault, GlobalClusterQuotaExceededFault, InstanceQuotaExceededFault, InsufficientDBClusterCapacityFault, InsufficientDBInstanceCapacityFault, InsufficientStorageClusterCapacityFault, InvalidDBClusterSnapshotStateFault, InvalidDBClusterStateFault, InvalidDBInstanceStateFault, InvalidDBParameterGroupStateFault, InvalidDBSecurityGroupStateFault, InvalidDBSnapshotStateFault, InvalidDBSubnetGroupStateFault, InvalidDBSubnetStateFault, InvalidEventSubscriptionStateFault, InvalidGlobalClusterStateFault, InvalidRestoreFault, InvalidSubnet, InvalidVPCNetworkStateFault, KMSKeyNotAccessibleFault, NetworkTypeNotSupported, ResourceNotFoundFault, SharedSnapshotQuotaExceededFault, SnapshotQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceNotFoundFault, StorageQuotaExceededFault, StorageTypeNotSupportedFault, SubnetAlreadyInUse, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionNotFoundFault, } from "../models/models_0";
6
6
  export const se_AddSourceIdentifierToSubscriptionCommand = async (input, context) => {
7
7
  const headers = SHARED_HEADERS;
8
8
  let body;
@@ -1344,6 +1344,9 @@ const de_CommandError = async (output, context) => {
1344
1344
  case "InvalidVPCNetworkStateFault":
1345
1345
  case "com.amazonaws.docdb#InvalidVPCNetworkStateFault":
1346
1346
  throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
1347
+ case "NetworkTypeNotSupported":
1348
+ case "com.amazonaws.docdb#NetworkTypeNotSupported":
1349
+ throw await de_NetworkTypeNotSupportedRes(parsedOutput, context);
1347
1350
  case "StorageQuotaExceeded":
1348
1351
  case "com.amazonaws.docdb#StorageQuotaExceededFault":
1349
1352
  throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
@@ -1839,6 +1842,15 @@ const de_KMSKeyNotAccessibleFaultRes = async (parsedOutput, context) => {
1839
1842
  });
1840
1843
  return __decorateServiceException(exception, body);
1841
1844
  };
1845
+ const de_NetworkTypeNotSupportedRes = async (parsedOutput, context) => {
1846
+ const body = parsedOutput.body;
1847
+ const deserialized = de_NetworkTypeNotSupported(body.Error, context);
1848
+ const exception = new NetworkTypeNotSupported({
1849
+ $metadata: deserializeMetadata(parsedOutput),
1850
+ ...deserialized,
1851
+ });
1852
+ return __decorateServiceException(exception, body);
1853
+ };
1842
1854
  const de_ResourceNotFoundFaultRes = async (parsedOutput, context) => {
1843
1855
  const body = parsedOutput.body;
1844
1856
  const deserialized = de_ResourceNotFoundFault(body.Error, context);
@@ -2202,6 +2214,9 @@ const se_CreateDBClusterMessage = (input, context) => {
2202
2214
  if (input[_MUSKKI] != null) {
2203
2215
  entries[_MUSKKI] = input[_MUSKKI];
2204
2216
  }
2217
+ if (input[_NT] != null) {
2218
+ entries[_NT] = input[_NT];
2219
+ }
2205
2220
  return entries;
2206
2221
  };
2207
2222
  const se_CreateDBClusterParameterGroupMessage = (input, context) => {
@@ -3060,6 +3075,9 @@ const se_ModifyDBClusterMessage = (input, context) => {
3060
3075
  if (input[_RMUP] != null) {
3061
3076
  entries[_RMUP] = input[_RMUP];
3062
3077
  }
3078
+ if (input[_NT] != null) {
3079
+ entries[_NT] = input[_NT];
3080
+ }
3063
3081
  return entries;
3064
3082
  };
3065
3083
  const se_ModifyDBClusterParameterGroupMessage = (input, context) => {
@@ -3403,6 +3421,9 @@ const se_RestoreDBClusterFromSnapshotMessage = (input, context) => {
3403
3421
  if (input[_ST] != null) {
3404
3422
  entries[_ST] = input[_ST];
3405
3423
  }
3424
+ if (input[_NT] != null) {
3425
+ entries[_NT] = input[_NT];
3426
+ }
3406
3427
  return entries;
3407
3428
  };
3408
3429
  const se_RestoreDBClusterToPointInTimeMessage = (input, context) => {
@@ -3474,6 +3495,9 @@ const se_RestoreDBClusterToPointInTimeMessage = (input, context) => {
3474
3495
  if (input[_ST] != null) {
3475
3496
  entries[_ST] = input[_ST];
3476
3497
  }
3498
+ if (input[_NT] != null) {
3499
+ entries[_NT] = input[_NT];
3500
+ }
3477
3501
  return entries;
3478
3502
  };
3479
3503
  const se_ServerlessV2ScalingConfiguration = (input, context) => {
@@ -3878,6 +3902,9 @@ const de_DBCluster = (output, context) => {
3878
3902
  if (output[_DP] != null) {
3879
3903
  contents[_DP] = __parseBoolean(output[_DP]);
3880
3904
  }
3905
+ if (output[_IOONAMT] != null) {
3906
+ contents[_IOONAMT] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_IOONAMT]));
3907
+ }
3881
3908
  if (output[_ST] != null) {
3882
3909
  contents[_ST] = __expectString(output[_ST]);
3883
3910
  }
@@ -3887,6 +3914,9 @@ const de_DBCluster = (output, context) => {
3887
3914
  if (output[_MUS] != null) {
3888
3915
  contents[_MUS] = de_ClusterMasterUserSecret(output[_MUS], context);
3889
3916
  }
3917
+ if (output[_NT] != null) {
3918
+ contents[_NT] = __expectString(output[_NT]);
3919
+ }
3890
3920
  return contents;
3891
3921
  };
3892
3922
  const de_DBClusterAlreadyExistsFault = (output, context) => {
@@ -4452,6 +4482,12 @@ const de_DBSubnetGroup = (output, context) => {
4452
4482
  if (output[_DBSGA] != null) {
4453
4483
  contents[_DBSGA] = __expectString(output[_DBSGA]);
4454
4484
  }
4485
+ if (String(output.SupportedNetworkTypes).trim() === "") {
4486
+ contents[_SNT] = [];
4487
+ }
4488
+ else if (output[_SNT] != null && output[_SNT][_me] != null) {
4489
+ contents[_SNT] = de_NetworkTypeList(__getArrayIfSingleItem(output[_SNT][_me]), context);
4490
+ }
4455
4491
  return contents;
4456
4492
  };
4457
4493
  const de_DBSubnetGroupAlreadyExistsFault = (output, context) => {
@@ -5033,6 +5069,20 @@ const de_ModifyGlobalClusterResult = (output, context) => {
5033
5069
  }
5034
5070
  return contents;
5035
5071
  };
5072
+ const de_NetworkTypeList = (output, context) => {
5073
+ return (output || [])
5074
+ .filter((e) => e != null)
5075
+ .map((entry) => {
5076
+ return __expectString(entry);
5077
+ });
5078
+ };
5079
+ const de_NetworkTypeNotSupported = (output, context) => {
5080
+ const contents = {};
5081
+ if (output[_m] != null) {
5082
+ contents[_m] = __expectString(output[_m]);
5083
+ }
5084
+ return contents;
5085
+ };
5036
5086
  const de_OrderableDBInstanceOption = (output, context) => {
5037
5087
  const contents = {};
5038
5088
  if (output[_E] != null) {
@@ -5714,6 +5764,7 @@ const _ICT = "InstanceCreateTime";
5714
5764
  const _ICW = "IsClusterWriter";
5715
5765
  const _IM = "IsModifiable";
5716
5766
  const _IMVU = "IsMajorVersionUpgrade";
5767
+ const _IOONAMT = "IOOptimizedNextAllowedModificationTime";
5717
5768
  const _IP = "IncludePublic";
5718
5769
  const _IS = "IncludeShared";
5719
5770
  const _IW = "IsWriter";
@@ -5749,6 +5800,7 @@ const _N = "Name";
5749
5800
  const _NDBCI = "NewDBClusterIdentifier";
5750
5801
  const _NDBII = "NewDBInstanceIdentifier";
5751
5802
  const _NGCI = "NewGlobalClusterIdentifier";
5803
+ const _NT = "NetworkType";
5752
5804
  const _No = "Normal";
5753
5805
  const _ODBIO = "OrderableDBInstanceOptions";
5754
5806
  const _ODBIOr = "OrderableDBInstanceOption";
@@ -5820,6 +5872,7 @@ const _SIu = "SubnetIds";
5820
5872
  const _SIub = "SubnetIdentifier";
5821
5873
  const _SLETCL = "SupportsLogExportsToCloudwatchLogs";
5822
5874
  const _SN = "SubscriptionName";
5875
+ const _SNT = "SupportedNetworkTypes";
5823
5876
  const _SS = "SecretStatus";
5824
5877
  const _SSu = "SubnetStatus";
5825
5878
  const _ST = "StorageType";
@@ -75,6 +75,7 @@ declare const CreateDBClusterCommand_base: {
75
75
  * },
76
76
  * ManageMasterUserPassword: true || false,
77
77
  * MasterUserSecretKmsKeyId: "STRING_VALUE",
78
+ * NetworkType: "STRING_VALUE",
78
79
  * };
79
80
  * const command = new CreateDBClusterCommand(input);
80
81
  * const response = await client.send(command);
@@ -135,6 +136,7 @@ declare const CreateDBClusterCommand_base: {
135
136
  * // "STRING_VALUE",
136
137
  * // ],
137
138
  * // DeletionProtection: true || false,
139
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
138
140
  * // StorageType: "STRING_VALUE",
139
141
  * // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
140
142
  * // MinCapacity: Number("double"),
@@ -145,6 +147,7 @@ declare const CreateDBClusterCommand_base: {
145
147
  * // SecretStatus: "STRING_VALUE",
146
148
  * // KmsKeyId: "STRING_VALUE",
147
149
  * // },
150
+ * // NetworkType: "STRING_VALUE",
148
151
  * // },
149
152
  * // };
150
153
  *
@@ -211,6 +214,9 @@ declare const CreateDBClusterCommand_base: {
211
214
  * @throws {@link KMSKeyNotAccessibleFault} (client fault)
212
215
  * <p>An error occurred when accessing an KMS key.</p>
213
216
  *
217
+ * @throws {@link NetworkTypeNotSupported} (client fault)
218
+ * <p>The network type is not supported by either <code>DBSubnetGroup</code> or the DB engine version.</p>
219
+ *
214
220
  * @throws {@link StorageQuotaExceededFault} (client fault)
215
221
  * <p>The request would cause you to exceed the allowed amount of storage available across
216
222
  * all instances.</p>
@@ -94,6 +94,9 @@ declare const CreateDBInstanceCommand_base: {
94
94
  * // },
95
95
  * // ],
96
96
  * // DBSubnetGroupArn: "STRING_VALUE",
97
+ * // SupportedNetworkTypes: [ // NetworkTypeList
98
+ * // "STRING_VALUE",
99
+ * // ],
97
100
  * // },
98
101
  * // PreferredMaintenanceWindow: "STRING_VALUE",
99
102
  * // PendingModifiedValues: { // PendingModifiedValues
@@ -68,6 +68,9 @@ declare const CreateDBSubnetGroupCommand_base: {
68
68
  * // },
69
69
  * // ],
70
70
  * // DBSubnetGroupArn: "STRING_VALUE",
71
+ * // SupportedNetworkTypes: [ // NetworkTypeList
72
+ * // "STRING_VALUE",
73
+ * // ],
71
74
  * // },
72
75
  * // };
73
76
  *
@@ -27,9 +27,11 @@ declare const CreateGlobalClusterCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates an Amazon DocumentDB global cluster that can span multiple multiple Amazon Web Services Regions. The global cluster contains one primary cluster with read-write capability, and up-to give read-only secondary clusters. Global clusters uses storage-based fast replication across regions with latencies less than one second, using dedicated infrastructure with no impact to your workload’s performance.</p>
30
+ * <p>Creates an Amazon DocumentDB global cluster that can span multiple multiple Amazon Web Services Regions.
31
+ * The global cluster contains one primary cluster with read-write capability, and up-to 10 read-only secondary clusters. Global clusters uses storage-based fast replication across regions with latencies less than one second, using dedicated infrastructure with no impact to your workload’s performance.</p>
31
32
  * <p></p>
32
- * <p>You can create a global cluster that is initially empty, and then add a primary and a secondary to it. Or you can specify an existing cluster during the create operation, and this cluster becomes the primary of the global cluster. </p>
33
+ * <p>You can create a global cluster that is initially empty, and then add a primary and a secondary to it.
34
+ * Or you can specify an existing cluster during the create operation, and this cluster becomes the primary of the global cluster. </p>
33
35
  * <note>
34
36
  * <p>This action only applies to Amazon DocumentDB clusters.</p>
35
37
  * </note>
@@ -101,6 +101,7 @@ declare const DeleteDBClusterCommand_base: {
101
101
  * // "STRING_VALUE",
102
102
  * // ],
103
103
  * // DeletionProtection: true || false,
104
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
104
105
  * // StorageType: "STRING_VALUE",
105
106
  * // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
106
107
  * // MinCapacity: Number("double"),
@@ -111,6 +112,7 @@ declare const DeleteDBClusterCommand_base: {
111
112
  * // SecretStatus: "STRING_VALUE",
112
113
  * // KmsKeyId: "STRING_VALUE",
113
114
  * // },
115
+ * // NetworkType: "STRING_VALUE",
114
116
  * // },
115
117
  * // };
116
118
  *
@@ -77,6 +77,9 @@ declare const DeleteDBInstanceCommand_base: {
77
77
  * // },
78
78
  * // ],
79
79
  * // DBSubnetGroupArn: "STRING_VALUE",
80
+ * // SupportedNetworkTypes: [ // NetworkTypeList
81
+ * // "STRING_VALUE",
82
+ * // ],
80
83
  * // },
81
84
  * // PreferredMaintenanceWindow: "STRING_VALUE",
82
85
  * // PendingModifiedValues: { // PendingModifiedValues
@@ -115,6 +115,7 @@ declare const DescribeDBClustersCommand_base: {
115
115
  * // "STRING_VALUE",
116
116
  * // ],
117
117
  * // DeletionProtection: true || false,
118
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
118
119
  * // StorageType: "STRING_VALUE",
119
120
  * // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
120
121
  * // MinCapacity: Number("double"),
@@ -125,6 +126,7 @@ declare const DescribeDBClustersCommand_base: {
125
126
  * // SecretStatus: "STRING_VALUE",
126
127
  * // KmsKeyId: "STRING_VALUE",
127
128
  * // },
129
+ * // NetworkType: "STRING_VALUE",
128
130
  * // },
129
131
  * // ],
130
132
  * // };
@@ -89,6 +89,9 @@ declare const DescribeDBInstancesCommand_base: {
89
89
  * // },
90
90
  * // ],
91
91
  * // DBSubnetGroupArn: "STRING_VALUE",
92
+ * // SupportedNetworkTypes: [ // NetworkTypeList
93
+ * // "STRING_VALUE",
94
+ * // ],
92
95
  * // },
93
96
  * // PreferredMaintenanceWindow: "STRING_VALUE",
94
97
  * // PendingModifiedValues: { // PendingModifiedValues
@@ -70,6 +70,9 @@ declare const DescribeDBSubnetGroupsCommand_base: {
70
70
  * // },
71
71
  * // ],
72
72
  * // DBSubnetGroupArn: "STRING_VALUE",
73
+ * // SupportedNetworkTypes: [ // NetworkTypeList
74
+ * // "STRING_VALUE",
75
+ * // ],
73
76
  * // },
74
77
  * // ],
75
78
  * // };
@@ -101,6 +101,7 @@ declare const FailoverDBClusterCommand_base: {
101
101
  * // "STRING_VALUE",
102
102
  * // ],
103
103
  * // DeletionProtection: true || false,
104
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
104
105
  * // StorageType: "STRING_VALUE",
105
106
  * // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
106
107
  * // MinCapacity: Number("double"),
@@ -111,6 +112,7 @@ declare const FailoverDBClusterCommand_base: {
111
112
  * // SecretStatus: "STRING_VALUE",
112
113
  * // KmsKeyId: "STRING_VALUE",
113
114
  * // },
115
+ * // NetworkType: "STRING_VALUE",
114
116
  * // },
115
117
  * // };
116
118
  *
@@ -70,6 +70,7 @@ declare const ModifyDBClusterCommand_base: {
70
70
  * ManageMasterUserPassword: true || false,
71
71
  * MasterUserSecretKmsKeyId: "STRING_VALUE",
72
72
  * RotateMasterUserPassword: true || false,
73
+ * NetworkType: "STRING_VALUE",
73
74
  * };
74
75
  * const command = new ModifyDBClusterCommand(input);
75
76
  * const response = await client.send(command);
@@ -130,6 +131,7 @@ declare const ModifyDBClusterCommand_base: {
130
131
  * // "STRING_VALUE",
131
132
  * // ],
132
133
  * // DeletionProtection: true || false,
134
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
133
135
  * // StorageType: "STRING_VALUE",
134
136
  * // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
135
137
  * // MinCapacity: Number("double"),
@@ -140,6 +142,7 @@ declare const ModifyDBClusterCommand_base: {
140
142
  * // SecretStatus: "STRING_VALUE",
141
143
  * // KmsKeyId: "STRING_VALUE",
142
144
  * // },
145
+ * // NetworkType: "STRING_VALUE",
143
146
  * // },
144
147
  * // };
145
148
  *
@@ -187,6 +190,9 @@ declare const ModifyDBClusterCommand_base: {
187
190
  * <p>The subnet group doesn't cover all Availability Zones after it is created
188
191
  * because of changes that were made.</p>
189
192
  *
193
+ * @throws {@link NetworkTypeNotSupported} (client fault)
194
+ * <p>The network type is not supported by either <code>DBSubnetGroup</code> or the DB engine version.</p>
195
+ *
190
196
  * @throws {@link StorageQuotaExceededFault} (client fault)
191
197
  * <p>The request would cause you to exceed the allowed amount of storage available across
192
198
  * all instances.</p>
@@ -88,6 +88,9 @@ declare const ModifyDBInstanceCommand_base: {
88
88
  * // },
89
89
  * // ],
90
90
  * // DBSubnetGroupArn: "STRING_VALUE",
91
+ * // SupportedNetworkTypes: [ // NetworkTypeList
92
+ * // "STRING_VALUE",
93
+ * // ],
91
94
  * // },
92
95
  * // PreferredMaintenanceWindow: "STRING_VALUE",
93
96
  * // PendingModifiedValues: { // PendingModifiedValues
@@ -61,6 +61,9 @@ declare const ModifyDBSubnetGroupCommand_base: {
61
61
  * // },
62
62
  * // ],
63
63
  * // DBSubnetGroupArn: "STRING_VALUE",
64
+ * // SupportedNetworkTypes: [ // NetworkTypeList
65
+ * // "STRING_VALUE",
66
+ * // ],
64
67
  * // },
65
68
  * // };
66
69
  *
@@ -84,6 +84,9 @@ declare const RebootDBInstanceCommand_base: {
84
84
  * // },
85
85
  * // ],
86
86
  * // DBSubnetGroupArn: "STRING_VALUE",
87
+ * // SupportedNetworkTypes: [ // NetworkTypeList
88
+ * // "STRING_VALUE",
89
+ * // ],
87
90
  * // },
88
91
  * // PreferredMaintenanceWindow: "STRING_VALUE",
89
92
  * // PendingModifiedValues: { // PendingModifiedValues
@@ -68,6 +68,7 @@ declare const RestoreDBClusterFromSnapshotCommand_base: {
68
68
  * MaxCapacity: Number("double"),
69
69
  * },
70
70
  * StorageType: "STRING_VALUE",
71
+ * NetworkType: "STRING_VALUE",
71
72
  * };
72
73
  * const command = new RestoreDBClusterFromSnapshotCommand(input);
73
74
  * const response = await client.send(command);
@@ -128,6 +129,7 @@ declare const RestoreDBClusterFromSnapshotCommand_base: {
128
129
  * // "STRING_VALUE",
129
130
  * // ],
130
131
  * // DeletionProtection: true || false,
132
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
131
133
  * // StorageType: "STRING_VALUE",
132
134
  * // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
133
135
  * // MinCapacity: Number("double"),
@@ -138,6 +140,7 @@ declare const RestoreDBClusterFromSnapshotCommand_base: {
138
140
  * // SecretStatus: "STRING_VALUE",
139
141
  * // KmsKeyId: "STRING_VALUE",
140
142
  * // },
143
+ * // NetworkType: "STRING_VALUE",
141
144
  * // },
142
145
  * // };
143
146
  *
@@ -194,6 +197,9 @@ declare const RestoreDBClusterFromSnapshotCommand_base: {
194
197
  * @throws {@link KMSKeyNotAccessibleFault} (client fault)
195
198
  * <p>An error occurred when accessing an KMS key.</p>
196
199
  *
200
+ * @throws {@link NetworkTypeNotSupported} (client fault)
201
+ * <p>The network type is not supported by either <code>DBSubnetGroup</code> or the DB engine version.</p>
202
+ *
197
203
  * @throws {@link StorageQuotaExceededFault} (client fault)
198
204
  * <p>The request would cause you to exceed the allowed amount of storage available across
199
205
  * all instances.</p>
@@ -67,6 +67,7 @@ declare const RestoreDBClusterToPointInTimeCommand_base: {
67
67
  * MaxCapacity: Number("double"),
68
68
  * },
69
69
  * StorageType: "STRING_VALUE",
70
+ * NetworkType: "STRING_VALUE",
70
71
  * };
71
72
  * const command = new RestoreDBClusterToPointInTimeCommand(input);
72
73
  * const response = await client.send(command);
@@ -127,6 +128,7 @@ declare const RestoreDBClusterToPointInTimeCommand_base: {
127
128
  * // "STRING_VALUE",
128
129
  * // ],
129
130
  * // DeletionProtection: true || false,
131
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
130
132
  * // StorageType: "STRING_VALUE",
131
133
  * // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
132
134
  * // MinCapacity: Number("double"),
@@ -137,6 +139,7 @@ declare const RestoreDBClusterToPointInTimeCommand_base: {
137
139
  * // SecretStatus: "STRING_VALUE",
138
140
  * // KmsKeyId: "STRING_VALUE",
139
141
  * // },
142
+ * // NetworkType: "STRING_VALUE",
140
143
  * // },
141
144
  * // };
142
145
  *
@@ -196,6 +199,9 @@ declare const RestoreDBClusterToPointInTimeCommand_base: {
196
199
  * @throws {@link KMSKeyNotAccessibleFault} (client fault)
197
200
  * <p>An error occurred when accessing an KMS key.</p>
198
201
  *
202
+ * @throws {@link NetworkTypeNotSupported} (client fault)
203
+ * <p>The network type is not supported by either <code>DBSubnetGroup</code> or the DB engine version.</p>
204
+ *
199
205
  * @throws {@link StorageQuotaExceededFault} (client fault)
200
206
  * <p>The request would cause you to exceed the allowed amount of storage available across
201
207
  * all instances.</p>
@@ -100,6 +100,7 @@ declare const StartDBClusterCommand_base: {
100
100
  * // "STRING_VALUE",
101
101
  * // ],
102
102
  * // DeletionProtection: true || false,
103
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
103
104
  * // StorageType: "STRING_VALUE",
104
105
  * // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
105
106
  * // MinCapacity: Number("double"),
@@ -110,6 +111,7 @@ declare const StartDBClusterCommand_base: {
110
111
  * // SecretStatus: "STRING_VALUE",
111
112
  * // KmsKeyId: "STRING_VALUE",
112
113
  * // },
114
+ * // NetworkType: "STRING_VALUE",
113
115
  * // },
114
116
  * // };
115
117
  *
@@ -101,6 +101,7 @@ declare const StopDBClusterCommand_base: {
101
101
  * // "STRING_VALUE",
102
102
  * // ],
103
103
  * // DeletionProtection: true || false,
104
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
104
105
  * // StorageType: "STRING_VALUE",
105
106
  * // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
106
107
  * // MinCapacity: Number("double"),
@@ -111,6 +112,7 @@ declare const StopDBClusterCommand_base: {
111
112
  * // SecretStatus: "STRING_VALUE",
112
113
  * // KmsKeyId: "STRING_VALUE",
113
114
  * // },
115
+ * // NetworkType: "STRING_VALUE",
114
116
  * // },
115
117
  * // };
116
118
  *
@@ -509,14 +509,14 @@ export interface CopyDBClusterSnapshotMessage {
509
509
  * <p>Constraints:</p>
510
510
  * <ul>
511
511
  * <li>
512
- * <p>Must specify a valid system snapshot in the
512
+ * <p>Must specify a valid cluster snapshot in the
513
513
  * <i>available</i> state.</p>
514
514
  * </li>
515
515
  * <li>
516
- * <p>If the source snapshot is in the same Amazon Web Services Region as the copy, specify a valid snapshot identifier.</p>
516
+ * <p>If the source cluster snapshot is in the same Amazon Web Services Region as the copy, specify a valid snapshot identifier.</p>
517
517
  * </li>
518
518
  * <li>
519
- * <p>If the source snapshot is in a different Amazon Web Services Region than the copy, specify a valid cluster snapshot ARN.</p>
519
+ * <p>If the source cluster snapshot is in a different Amazon Web Services Region or owned by another Amazon Web Services account, specify the snapshot ARN.</p>
520
520
  * </li>
521
521
  * </ul>
522
522
  * <p>Example: <code>my-cluster-snapshot1</code>
@@ -1020,7 +1020,7 @@ export interface CreateDBClusterMessage {
1020
1020
  * <p>Default value is <code>standard </code>
1021
1021
  * </p>
1022
1022
  * <note>
1023
- * <p>When you create a DocumentDB DB cluster with the storage type set to <code>iopt1</code>, the storage type is returned
1023
+ * <p>When you create an Amazon DocumentDB cluster with the storage type set to <code>iopt1</code>, the storage type is returned
1024
1024
  * in the response. The storage type isn't returned when you set it to <code>standard</code>.</p>
1025
1025
  * </note>
1026
1026
  * @public
@@ -1049,6 +1049,16 @@ export interface CreateDBClusterMessage {
1049
1049
  * @public
1050
1050
  */
1051
1051
  MasterUserSecretKmsKeyId?: string | undefined;
1052
+ /**
1053
+ * <p>The network type of the cluster.</p>
1054
+ * <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the cluster.
1055
+ * A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (<code>DUAL</code>).</p>
1056
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/vpc-clusters.html">DocumentDB clusters in a VPC</a> in the Amazon DocumentDB Developer Guide.</p>
1057
+ * <p>Valid Values: <code>IPV4</code> | <code>DUAL</code>
1058
+ * </p>
1059
+ * @public
1060
+ */
1061
+ NetworkType?: string | undefined;
1052
1062
  }
1053
1063
  /**
1054
1064
  * <p>Describes an Identity and Access Management (IAM) role that is associated with a
@@ -1365,6 +1375,11 @@ export interface DBCluster {
1365
1375
  * @public
1366
1376
  */
1367
1377
  DeletionProtection?: boolean | undefined;
1378
+ /**
1379
+ * <p>The next time you can modify the Amazon DocumentDB cluster to use the iopt1 storage type.</p>
1380
+ * @public
1381
+ */
1382
+ IOOptimizedNextAllowedModificationTime?: Date | undefined;
1368
1383
  /**
1369
1384
  * <p>Storage type associated with your cluster</p>
1370
1385
  * <p>For information on storage types for Amazon DocumentDB clusters, see
@@ -1386,6 +1401,16 @@ export interface DBCluster {
1386
1401
  * @public
1387
1402
  */
1388
1403
  MasterUserSecret?: ClusterMasterUserSecret | undefined;
1404
+ /**
1405
+ * <p>The network type of the cluster.</p>
1406
+ * <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the cluster.
1407
+ * A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (<code>DUAL</code>).</p>
1408
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/vpc-clusters.html">DocumentDB clusters in a VPC</a> in the Amazon DocumentDB Developer Guide.</p>
1409
+ * <p>Valid Values: <code>IPV4</code> | <code>DUAL</code>
1410
+ * </p>
1411
+ * @public
1412
+ */
1413
+ NetworkType?: string | undefined;
1389
1414
  }
1390
1415
  /**
1391
1416
  * @public
@@ -1533,6 +1558,18 @@ export declare class InvalidVPCNetworkStateFault extends __BaseException {
1533
1558
  */
1534
1559
  constructor(opts: __ExceptionOptionType<InvalidVPCNetworkStateFault, __BaseException>);
1535
1560
  }
1561
+ /**
1562
+ * <p>The network type is not supported by either <code>DBSubnetGroup</code> or the DB engine version.</p>
1563
+ * @public
1564
+ */
1565
+ export declare class NetworkTypeNotSupported extends __BaseException {
1566
+ readonly name: "NetworkTypeNotSupported";
1567
+ readonly $fault: "client";
1568
+ /**
1569
+ * @internal
1570
+ */
1571
+ constructor(opts: __ExceptionOptionType<NetworkTypeNotSupported, __BaseException>);
1572
+ }
1536
1573
  /**
1537
1574
  * <p>The request would cause you to exceed the allowed amount of storage available across
1538
1575
  * all instances.</p>
@@ -1868,6 +1905,14 @@ export interface DBSubnetGroup {
1868
1905
  * @public
1869
1906
  */
1870
1907
  DBSubnetGroupArn?: string | undefined;
1908
+ /**
1909
+ * <p>The network type of the DB subnet group.</p>
1910
+ * <p>Valid Values: <code>IPV4</code> | <code>DUAL</code>
1911
+ * </p>
1912
+ * <p>A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL).</p>
1913
+ * @public
1914
+ */
1915
+ SupportedNetworkTypes?: string[] | undefined;
1871
1916
  }
1872
1917
  /**
1873
1918
  * <p>Network information for accessing a cluster or instance. Client programs must
@@ -3101,7 +3146,34 @@ export interface Parameter {
3101
3146
  */
3102
3147
  ParameterName?: string | undefined;
3103
3148
  /**
3104
- * <p>Specifies the value of the parameter.</p>
3149
+ * <p>Specifies the value of the parameter.
3150
+ * Must be one or more of the cluster parameter's <code>AllowedValues</code> in CSV format:</p>
3151
+ * <p>Valid values are:</p>
3152
+ * <ul>
3153
+ * <li>
3154
+ * <p>
3155
+ * <code>enabled</code>: The cluster accepts secure connections using TLS version 1.0 through 1.3. </p>
3156
+ * </li>
3157
+ * <li>
3158
+ * <p>
3159
+ * <code>disabled</code>: The cluster does not accept secure connections using TLS. </p>
3160
+ * </li>
3161
+ * <li>
3162
+ * <p>
3163
+ * <code>fips-140-3</code>: The cluster only accepts secure connections per the requirements of the Federal Information Processing Standards (FIPS) publication 140-3.
3164
+ * Only supported starting with Amazon DocumentDB 5.0 (engine version 3.0.3727) clusters in these regions: ca-central-1, us-west-2, us-east-1, us-east-2, us-gov-east-1, us-gov-west-1.</p>
3165
+ * </li>
3166
+ * <li>
3167
+ * <p>
3168
+ * <code>tls1.2+</code>: The cluster accepts secure connections using TLS version 1.2 and above.
3169
+ * Only supported starting with Amazon DocumentDB 4.0 (engine version 2.0.10980) and Amazon DocumentDB 5.0 (engine version 3.0.11051).</p>
3170
+ * </li>
3171
+ * <li>
3172
+ * <p>
3173
+ * <code>tls1.3+</code>: The cluster accepts secure connections using TLS version 1.3 and above.
3174
+ * Only supported starting with Amazon DocumentDB 4.0 (engine version 2.0.10980) and Amazon DocumentDB 5.0 (engine version 3.0.11051).</p>
3175
+ * </li>
3176
+ * </ul>
3105
3177
  * @public
3106
3178
  */
3107
3179
  ParameterValue?: string | undefined;
@@ -4624,9 +4696,40 @@ export interface ModifyDBClusterMessage {
4624
4696
  EngineVersion?: string | undefined;
4625
4697
  /**
4626
4698
  * <p>A value that indicates whether major version upgrades are allowed.</p>
4627
- * <p>Constraints: You must allow major version upgrades when specifying a value for the
4628
- * <code>EngineVersion</code> parameter that is a different major version than the DB
4629
- * cluster's current version.</p>
4699
+ * <p>Constraints:</p>
4700
+ * <ul>
4701
+ * <li>
4702
+ * <p>You must allow major version upgrades when specifying a value for the <code>EngineVersion</code> parameter that is a different major version than the cluster's current version.</p>
4703
+ * </li>
4704
+ * <li>
4705
+ * <p>Since some parameters are version specific, changing them requires executing a new <code>ModifyDBCluster</code> API call after the in-place MVU completes.</p>
4706
+ * </li>
4707
+ * </ul>
4708
+ * <note>
4709
+ * <p>Performing an MVU directly impacts the following parameters:</p>
4710
+ * <ul>
4711
+ * <li>
4712
+ * <p>
4713
+ * <code>MasterUserPassword</code>
4714
+ * </p>
4715
+ * </li>
4716
+ * <li>
4717
+ * <p>
4718
+ * <code>NewDBClusterIdentifier</code>
4719
+ * </p>
4720
+ * </li>
4721
+ * <li>
4722
+ * <p>
4723
+ * <code>VpcSecurityGroupIds</code>
4724
+ * </p>
4725
+ * </li>
4726
+ * <li>
4727
+ * <p>
4728
+ * <code>Port</code>
4729
+ * </p>
4730
+ * </li>
4731
+ * </ul>
4732
+ * </note>
4630
4733
  * @public
4631
4734
  */
4632
4735
  AllowMajorVersionUpgrade?: boolean | undefined;
@@ -4692,6 +4795,16 @@ export interface ModifyDBClusterMessage {
4692
4795
  * @public
4693
4796
  */
4694
4797
  RotateMasterUserPassword?: boolean | undefined;
4798
+ /**
4799
+ * <p>The network type of the cluster.</p>
4800
+ * <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the cluster.
4801
+ * A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (<code>DUAL</code>).</p>
4802
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/vpc-clusters.html">DocumentDB clusters in a VPC</a> in the Amazon DocumentDB Developer Guide.</p>
4803
+ * <p>Valid Values: <code>IPV4</code> | <code>DUAL</code>
4804
+ * </p>
4805
+ * @public
4806
+ */
4807
+ NetworkType?: string | undefined;
4695
4808
  }
4696
4809
  /**
4697
4810
  * @public
@@ -5397,6 +5510,16 @@ export interface RestoreDBClusterFromSnapshotMessage {
5397
5510
  * @public
5398
5511
  */
5399
5512
  StorageType?: string | undefined;
5513
+ /**
5514
+ * <p>The network type of the cluster.</p>
5515
+ * <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the cluster.
5516
+ * A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (<code>DUAL</code>).</p>
5517
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/vpc-clusters.html">DocumentDB clusters in a VPC</a> in the Amazon DocumentDB Developer Guide.</p>
5518
+ * <p>Valid Values: <code>IPV4</code> | <code>DUAL</code>
5519
+ * </p>
5520
+ * @public
5521
+ */
5522
+ NetworkType?: string | undefined;
5400
5523
  }
5401
5524
  /**
5402
5525
  * @public
@@ -5565,6 +5688,16 @@ export interface RestoreDBClusterToPointInTimeMessage {
5565
5688
  * @public
5566
5689
  */
5567
5690
  StorageType?: string | undefined;
5691
+ /**
5692
+ * <p>The network type of the cluster.</p>
5693
+ * <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the cluster.
5694
+ * A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (<code>DUAL</code>).</p>
5695
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/vpc-clusters.html">DocumentDB clusters in a VPC</a> in the Amazon DocumentDB Developer Guide.</p>
5696
+ * <p>Valid Values: <code>IPV4</code> | <code>DUAL</code>
5697
+ * </p>
5698
+ * @public
5699
+ */
5700
+ NetworkType?: string | undefined;
5568
5701
  }
5569
5702
  /**
5570
5703
  * @public
@@ -250,6 +250,7 @@ export interface CreateDBClusterMessage {
250
250
  | undefined;
251
251
  ManageMasterUserPassword?: boolean | undefined;
252
252
  MasterUserSecretKmsKeyId?: string | undefined;
253
+ NetworkType?: string | undefined;
253
254
  }
254
255
  export interface DBClusterRole {
255
256
  RoleArn?: string | undefined;
@@ -307,11 +308,13 @@ export interface DBCluster {
307
308
  ClusterCreateTime?: Date | undefined;
308
309
  EnabledCloudwatchLogsExports?: string[] | undefined;
309
310
  DeletionProtection?: boolean | undefined;
311
+ IOOptimizedNextAllowedModificationTime?: Date | undefined;
310
312
  StorageType?: string | undefined;
311
313
  ServerlessV2ScalingConfiguration?:
312
314
  | ServerlessV2ScalingConfigurationInfo
313
315
  | undefined;
314
316
  MasterUserSecret?: ClusterMasterUserSecret | undefined;
317
+ NetworkType?: string | undefined;
315
318
  }
316
319
  export interface CreateDBClusterResult {
317
320
  DBCluster?: DBCluster | undefined;
@@ -400,6 +403,13 @@ export declare class InvalidVPCNetworkStateFault extends __BaseException {
400
403
  opts: __ExceptionOptionType<InvalidVPCNetworkStateFault, __BaseException>
401
404
  );
402
405
  }
406
+ export declare class NetworkTypeNotSupported extends __BaseException {
407
+ readonly name: "NetworkTypeNotSupported";
408
+ readonly $fault: "client";
409
+ constructor(
410
+ opts: __ExceptionOptionType<NetworkTypeNotSupported, __BaseException>
411
+ );
412
+ }
403
413
  export declare class StorageQuotaExceededFault extends __BaseException {
404
414
  readonly name: "StorageQuotaExceededFault";
405
415
  readonly $fault: "client";
@@ -465,6 +475,7 @@ export interface DBSubnetGroup {
465
475
  SubnetGroupStatus?: string | undefined;
466
476
  Subnets?: Subnet[] | undefined;
467
477
  DBSubnetGroupArn?: string | undefined;
478
+ SupportedNetworkTypes?: string[] | undefined;
468
479
  }
469
480
  export interface Endpoint {
470
481
  Address?: string | undefined;
@@ -1124,6 +1135,7 @@ export interface ModifyDBClusterMessage {
1124
1135
  ManageMasterUserPassword?: boolean | undefined;
1125
1136
  MasterUserSecretKmsKeyId?: string | undefined;
1126
1137
  RotateMasterUserPassword?: boolean | undefined;
1138
+ NetworkType?: string | undefined;
1127
1139
  }
1128
1140
  export interface ModifyDBClusterResult {
1129
1141
  DBCluster?: DBCluster | undefined;
@@ -1286,6 +1298,7 @@ export interface RestoreDBClusterFromSnapshotMessage {
1286
1298
  | ServerlessV2ScalingConfiguration
1287
1299
  | undefined;
1288
1300
  StorageType?: string | undefined;
1301
+ NetworkType?: string | undefined;
1289
1302
  }
1290
1303
  export interface RestoreDBClusterFromSnapshotResult {
1291
1304
  DBCluster?: DBCluster | undefined;
@@ -1307,6 +1320,7 @@ export interface RestoreDBClusterToPointInTimeMessage {
1307
1320
  | ServerlessV2ScalingConfiguration
1308
1321
  | undefined;
1309
1322
  StorageType?: string | undefined;
1323
+ NetworkType?: string | undefined;
1310
1324
  }
1311
1325
  export interface RestoreDBClusterToPointInTimeResult {
1312
1326
  DBCluster?: DBCluster | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-docdb",
3
3
  "description": "AWS SDK for JavaScript Docdb Client for Node.js, Browser and React Native",
4
- "version": "3.910.0",
4
+ "version": "3.913.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-docdb",
@@ -20,18 +20,18 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.910.0",
24
- "@aws-sdk/credential-provider-node": "3.910.0",
23
+ "@aws-sdk/core": "3.911.0",
24
+ "@aws-sdk/credential-provider-node": "3.913.0",
25
25
  "@aws-sdk/middleware-host-header": "3.910.0",
26
26
  "@aws-sdk/middleware-logger": "3.910.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.910.0",
28
28
  "@aws-sdk/middleware-sdk-rds": "3.910.0",
29
- "@aws-sdk/middleware-user-agent": "3.910.0",
29
+ "@aws-sdk/middleware-user-agent": "3.911.0",
30
30
  "@aws-sdk/region-config-resolver": "3.910.0",
31
31
  "@aws-sdk/types": "3.910.0",
32
32
  "@aws-sdk/util-endpoints": "3.910.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.910.0",
34
- "@aws-sdk/util-user-agent-node": "3.910.0",
34
+ "@aws-sdk/util-user-agent-node": "3.911.0",
35
35
  "@smithy/config-resolver": "^4.3.2",
36
36
  "@smithy/core": "^3.16.1",
37
37
  "@smithy/fetch-http-handler": "^5.3.3",