@aws-sdk/client-docdb 3.454.0 → 3.455.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.
@@ -3494,6 +3494,9 @@ const se_CreateDBClusterMessage = (input, context) => {
3494
3494
  if (input.GlobalClusterIdentifier != null) {
3495
3495
  entries["GlobalClusterIdentifier"] = input.GlobalClusterIdentifier;
3496
3496
  }
3497
+ if (input.StorageType != null) {
3498
+ entries["StorageType"] = input.StorageType;
3499
+ }
3497
3500
  return entries;
3498
3501
  };
3499
3502
  const se_CreateDBClusterParameterGroupMessage = (input, context) => {
@@ -4317,6 +4320,9 @@ const se_ModifyDBClusterMessage = (input, context) => {
4317
4320
  if (input.DeletionProtection != null) {
4318
4321
  entries["DeletionProtection"] = input.DeletionProtection;
4319
4322
  }
4323
+ if (input.StorageType != null) {
4324
+ entries["StorageType"] = input.StorageType;
4325
+ }
4320
4326
  return entries;
4321
4327
  };
4322
4328
  const se_ModifyDBClusterParameterGroupMessage = (input, context) => {
@@ -4650,6 +4656,9 @@ const se_RestoreDBClusterFromSnapshotMessage = (input, context) => {
4650
4656
  if (input.DBClusterParameterGroupName != null) {
4651
4657
  entries["DBClusterParameterGroupName"] = input.DBClusterParameterGroupName;
4652
4658
  }
4659
+ if (input.StorageType != null) {
4660
+ entries["StorageType"] = input.StorageType;
4661
+ }
4653
4662
  return entries;
4654
4663
  };
4655
4664
  const se_RestoreDBClusterToPointInTimeMessage = (input, context) => {
@@ -4711,6 +4720,9 @@ const se_RestoreDBClusterToPointInTimeMessage = (input, context) => {
4711
4720
  if (input.DeletionProtection != null) {
4712
4721
  entries["DeletionProtection"] = input.DeletionProtection;
4713
4722
  }
4723
+ if (input.StorageType != null) {
4724
+ entries["StorageType"] = input.StorageType;
4725
+ }
4714
4726
  return entries;
4715
4727
  };
4716
4728
  const se_SourceIdsList = (input, context) => {
@@ -5086,6 +5098,9 @@ const de_DBCluster = (output, context) => {
5086
5098
  if (output["DeletionProtection"] !== undefined) {
5087
5099
  contents.DeletionProtection = (0, smithy_client_1.parseBoolean)(output["DeletionProtection"]);
5088
5100
  }
5101
+ if (output["StorageType"] !== undefined) {
5102
+ contents.StorageType = (0, smithy_client_1.expectString)(output["StorageType"]);
5103
+ }
5089
5104
  return contents;
5090
5105
  };
5091
5106
  const de_DBClusterAlreadyExistsFault = (output, context) => {
@@ -5290,6 +5305,9 @@ const de_DBClusterSnapshot = (output, context) => {
5290
5305
  if (output["SourceDBClusterSnapshotArn"] !== undefined) {
5291
5306
  contents.SourceDBClusterSnapshotArn = (0, smithy_client_1.expectString)(output["SourceDBClusterSnapshotArn"]);
5292
5307
  }
5308
+ if (output["StorageType"] !== undefined) {
5309
+ contents.StorageType = (0, smithy_client_1.expectString)(output["StorageType"]);
5310
+ }
5293
5311
  return contents;
5294
5312
  };
5295
5313
  const de_DBClusterSnapshotAlreadyExistsFault = (output, context) => {
@@ -6249,6 +6267,9 @@ const de_OrderableDBInstanceOption = (output, context) => {
6249
6267
  if (output["Vpc"] !== undefined) {
6250
6268
  contents.Vpc = (0, smithy_client_1.parseBoolean)(output["Vpc"]);
6251
6269
  }
6270
+ if (output["StorageType"] !== undefined) {
6271
+ contents.StorageType = (0, smithy_client_1.expectString)(output["StorageType"]);
6272
+ }
6252
6273
  return contents;
6253
6274
  };
6254
6275
  const de_OrderableDBInstanceOptionsList = (output, context) => {
@@ -3383,6 +3383,9 @@ const se_CreateDBClusterMessage = (input, context) => {
3383
3383
  if (input.GlobalClusterIdentifier != null) {
3384
3384
  entries["GlobalClusterIdentifier"] = input.GlobalClusterIdentifier;
3385
3385
  }
3386
+ if (input.StorageType != null) {
3387
+ entries["StorageType"] = input.StorageType;
3388
+ }
3386
3389
  return entries;
3387
3390
  };
3388
3391
  const se_CreateDBClusterParameterGroupMessage = (input, context) => {
@@ -4206,6 +4209,9 @@ const se_ModifyDBClusterMessage = (input, context) => {
4206
4209
  if (input.DeletionProtection != null) {
4207
4210
  entries["DeletionProtection"] = input.DeletionProtection;
4208
4211
  }
4212
+ if (input.StorageType != null) {
4213
+ entries["StorageType"] = input.StorageType;
4214
+ }
4209
4215
  return entries;
4210
4216
  };
4211
4217
  const se_ModifyDBClusterParameterGroupMessage = (input, context) => {
@@ -4539,6 +4545,9 @@ const se_RestoreDBClusterFromSnapshotMessage = (input, context) => {
4539
4545
  if (input.DBClusterParameterGroupName != null) {
4540
4546
  entries["DBClusterParameterGroupName"] = input.DBClusterParameterGroupName;
4541
4547
  }
4548
+ if (input.StorageType != null) {
4549
+ entries["StorageType"] = input.StorageType;
4550
+ }
4542
4551
  return entries;
4543
4552
  };
4544
4553
  const se_RestoreDBClusterToPointInTimeMessage = (input, context) => {
@@ -4600,6 +4609,9 @@ const se_RestoreDBClusterToPointInTimeMessage = (input, context) => {
4600
4609
  if (input.DeletionProtection != null) {
4601
4610
  entries["DeletionProtection"] = input.DeletionProtection;
4602
4611
  }
4612
+ if (input.StorageType != null) {
4613
+ entries["StorageType"] = input.StorageType;
4614
+ }
4603
4615
  return entries;
4604
4616
  };
4605
4617
  const se_SourceIdsList = (input, context) => {
@@ -4975,6 +4987,9 @@ const de_DBCluster = (output, context) => {
4975
4987
  if (output["DeletionProtection"] !== undefined) {
4976
4988
  contents.DeletionProtection = __parseBoolean(output["DeletionProtection"]);
4977
4989
  }
4990
+ if (output["StorageType"] !== undefined) {
4991
+ contents.StorageType = __expectString(output["StorageType"]);
4992
+ }
4978
4993
  return contents;
4979
4994
  };
4980
4995
  const de_DBClusterAlreadyExistsFault = (output, context) => {
@@ -5179,6 +5194,9 @@ const de_DBClusterSnapshot = (output, context) => {
5179
5194
  if (output["SourceDBClusterSnapshotArn"] !== undefined) {
5180
5195
  contents.SourceDBClusterSnapshotArn = __expectString(output["SourceDBClusterSnapshotArn"]);
5181
5196
  }
5197
+ if (output["StorageType"] !== undefined) {
5198
+ contents.StorageType = __expectString(output["StorageType"]);
5199
+ }
5182
5200
  return contents;
5183
5201
  };
5184
5202
  const de_DBClusterSnapshotAlreadyExistsFault = (output, context) => {
@@ -6138,6 +6156,9 @@ const de_OrderableDBInstanceOption = (output, context) => {
6138
6156
  if (output["Vpc"] !== undefined) {
6139
6157
  contents.Vpc = __parseBoolean(output["Vpc"]);
6140
6158
  }
6159
+ if (output["StorageType"] !== undefined) {
6160
+ contents.StorageType = __expectString(output["StorageType"]);
6161
+ }
6141
6162
  return contents;
6142
6163
  };
6143
6164
  const de_OrderableDBInstanceOptionsList = (output, context) => {
@@ -75,6 +75,7 @@ export interface CopyDBClusterSnapshotCommandOutput extends CopyDBClusterSnapsho
75
75
  * // KmsKeyId: "STRING_VALUE",
76
76
  * // DBClusterSnapshotArn: "STRING_VALUE",
77
77
  * // SourceDBClusterSnapshotArn: "STRING_VALUE",
78
+ * // StorageType: "STRING_VALUE",
78
79
  * // },
79
80
  * // };
80
81
  *
@@ -62,6 +62,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
62
62
  * ],
63
63
  * DeletionProtection: true || false,
64
64
  * GlobalClusterIdentifier: "STRING_VALUE",
65
+ * StorageType: "STRING_VALUE",
65
66
  * };
66
67
  * const command = new CreateDBClusterCommand(input);
67
68
  * const response = await client.send(command);
@@ -122,6 +123,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
122
123
  * // "STRING_VALUE",
123
124
  * // ],
124
125
  * // DeletionProtection: true || false,
126
+ * // StorageType: "STRING_VALUE",
125
127
  * // },
126
128
  * // };
127
129
  *
@@ -63,6 +63,7 @@ export interface CreateDBClusterSnapshotCommandOutput extends CreateDBClusterSna
63
63
  * // KmsKeyId: "STRING_VALUE",
64
64
  * // DBClusterSnapshotArn: "STRING_VALUE",
65
65
  * // SourceDBClusterSnapshotArn: "STRING_VALUE",
66
+ * // StorageType: "STRING_VALUE",
66
67
  * // },
67
68
  * // };
68
69
  *
@@ -95,6 +95,7 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
95
95
  * // "STRING_VALUE",
96
96
  * // ],
97
97
  * // DeletionProtection: true || false,
98
+ * // StorageType: "STRING_VALUE",
98
99
  * // },
99
100
  * // };
100
101
  *
@@ -59,6 +59,7 @@ export interface DeleteDBClusterSnapshotCommandOutput extends DeleteDBClusterSna
59
59
  * // KmsKeyId: "STRING_VALUE",
60
60
  * // DBClusterSnapshotArn: "STRING_VALUE",
61
61
  * // SourceDBClusterSnapshotArn: "STRING_VALUE",
62
+ * // StorageType: "STRING_VALUE",
62
63
  * // },
63
64
  * // };
64
65
  *
@@ -72,6 +72,7 @@ export interface DescribeDBClusterSnapshotsCommandOutput extends DBClusterSnapsh
72
72
  * // KmsKeyId: "STRING_VALUE",
73
73
  * // DBClusterSnapshotArn: "STRING_VALUE",
74
74
  * // SourceDBClusterSnapshotArn: "STRING_VALUE",
75
+ * // StorageType: "STRING_VALUE",
75
76
  * // },
76
77
  * // ],
77
78
  * // };
@@ -109,6 +109,7 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
109
109
  * // "STRING_VALUE",
110
110
  * // ],
111
111
  * // DeletionProtection: true || false,
112
+ * // StorageType: "STRING_VALUE",
112
113
  * // },
113
114
  * // ],
114
115
  * // };
@@ -62,6 +62,7 @@ export interface DescribeOrderableDBInstanceOptionsCommandOutput extends Orderab
62
62
  * // },
63
63
  * // ],
64
64
  * // Vpc: true || false,
65
+ * // StorageType: "STRING_VALUE",
65
66
  * // },
66
67
  * // ],
67
68
  * // Marker: "STRING_VALUE",
@@ -95,6 +95,7 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
95
95
  * // "STRING_VALUE",
96
96
  * // ],
97
97
  * // DeletionProtection: true || false,
98
+ * // StorageType: "STRING_VALUE",
98
99
  * // },
99
100
  * // };
100
101
  *
@@ -56,6 +56,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
56
56
  * EngineVersion: "STRING_VALUE",
57
57
  * AllowMajorVersionUpgrade: true || false,
58
58
  * DeletionProtection: true || false,
59
+ * StorageType: "STRING_VALUE",
59
60
  * };
60
61
  * const command = new ModifyDBClusterCommand(input);
61
62
  * const response = await client.send(command);
@@ -116,6 +117,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
116
117
  * // "STRING_VALUE",
117
118
  * // ],
118
119
  * // DeletionProtection: true || false,
120
+ * // StorageType: "STRING_VALUE",
119
121
  * // },
120
122
  * // };
121
123
  *
@@ -57,6 +57,7 @@ export interface RestoreDBClusterFromSnapshotCommandOutput extends RestoreDBClus
57
57
  * ],
58
58
  * DeletionProtection: true || false,
59
59
  * DBClusterParameterGroupName: "STRING_VALUE",
60
+ * StorageType: "STRING_VALUE",
60
61
  * };
61
62
  * const command = new RestoreDBClusterFromSnapshotCommand(input);
62
63
  * const response = await client.send(command);
@@ -117,6 +118,7 @@ export interface RestoreDBClusterFromSnapshotCommandOutput extends RestoreDBClus
117
118
  * // "STRING_VALUE",
118
119
  * // ],
119
120
  * // DeletionProtection: true || false,
121
+ * // StorageType: "STRING_VALUE",
120
122
  * // },
121
123
  * // };
122
124
  *
@@ -56,6 +56,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput extends RestoreDBClu
56
56
  * "STRING_VALUE",
57
57
  * ],
58
58
  * DeletionProtection: true || false,
59
+ * StorageType: "STRING_VALUE",
59
60
  * };
60
61
  * const command = new RestoreDBClusterToPointInTimeCommand(input);
61
62
  * const response = await client.send(command);
@@ -116,6 +117,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput extends RestoreDBClu
116
117
  * // "STRING_VALUE",
117
118
  * // ],
118
119
  * // DeletionProtection: true || false,
120
+ * // StorageType: "STRING_VALUE",
119
121
  * // },
120
122
  * // };
121
123
  *
@@ -94,6 +94,7 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
94
94
  * // "STRING_VALUE",
95
95
  * // ],
96
96
  * // DeletionProtection: true || false,
97
+ * // StorageType: "STRING_VALUE",
97
98
  * // },
98
99
  * // };
99
100
  *
@@ -95,6 +95,7 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
95
95
  * // "STRING_VALUE",
96
96
  * // ],
97
97
  * // DeletionProtection: true || false,
98
+ * // StorageType: "STRING_VALUE",
98
99
  * // },
99
100
  * // };
100
101
  *
@@ -707,6 +707,17 @@ export interface DBClusterSnapshot {
707
707
  * the source cluster snapshot; otherwise, a null value.</p>
708
708
  */
709
709
  SourceDBClusterSnapshotArn?: string;
710
+ /**
711
+ * @public
712
+ * <p>Storage type associated with your cluster snapshot </p>
713
+ * <p>For information on storage types for Amazon DocumentDB clusters, see
714
+ * Cluster storage configurations in the <i>Amazon DocumentDB Developer Guide</i>.</p>
715
+ * <p>Valid values for storage type - <code>standard | iopt1</code>
716
+ * </p>
717
+ * <p>Default value is <code>standard </code>
718
+ * </p>
719
+ */
720
+ StorageType?: string;
710
721
  }
711
722
  /**
712
723
  * @public
@@ -982,6 +993,21 @@ export interface CreateDBClusterMessage {
982
993
  * <p>The cluster identifier of the new global cluster.</p>
983
994
  */
984
995
  GlobalClusterIdentifier?: string;
996
+ /**
997
+ * @public
998
+ * <p>The storage type to associate with the DB cluster.</p>
999
+ * <p>For information on storage types for Amazon DocumentDB clusters, see
1000
+ * Cluster storage configurations in the <i>Amazon DocumentDB Developer Guide</i>.</p>
1001
+ * <p>Valid values for storage type - <code>standard | iopt1</code>
1002
+ * </p>
1003
+ * <p>Default value is <code>standard </code>
1004
+ * </p>
1005
+ * <note>
1006
+ * <p>When you create a DocumentDB DB cluster with the storage type set to <code>iopt1</code>, the storage type is returned
1007
+ * in the response. The storage type isn't returned when you set it to <code>standard</code>.</p>
1008
+ * </note>
1009
+ */
1010
+ StorageType?: string;
985
1011
  }
986
1012
  /**
987
1013
  * @public
@@ -1241,6 +1267,18 @@ export interface DBCluster {
1241
1267
  * protects clusters from being accidentally deleted.</p>
1242
1268
  */
1243
1269
  DeletionProtection?: boolean;
1270
+ /**
1271
+ * @public
1272
+ * <p>Storage type associated with your cluster</p>
1273
+ * <p>Storage type associated with your cluster</p>
1274
+ * <p>For information on storage types for Amazon DocumentDB clusters, see
1275
+ * Cluster storage configurations in the <i>Amazon DocumentDB Developer Guide</i>.</p>
1276
+ * <p>Valid values for storage type - <code>standard | iopt1</code>
1277
+ * </p>
1278
+ * <p>Default value is <code>standard </code>
1279
+ * </p>
1280
+ */
1281
+ StorageType?: string;
1244
1282
  }
1245
1283
  /**
1246
1284
  * @public
@@ -4035,6 +4073,11 @@ export interface OrderableDBInstanceOption {
4035
4073
  * <p>Indicates whether an instance is in a virtual private cloud (VPC).</p>
4036
4074
  */
4037
4075
  Vpc?: boolean;
4076
+ /**
4077
+ * @public
4078
+ * <p>The storage type to associate with the DB cluster</p>
4079
+ */
4080
+ StorageType?: string;
4038
4081
  }
4039
4082
  /**
4040
4083
  * @public
@@ -4377,6 +4420,17 @@ export interface ModifyDBClusterMessage {
4377
4420
  * protects clusters from being accidentally deleted.</p>
4378
4421
  */
4379
4422
  DeletionProtection?: boolean;
4423
+ /**
4424
+ * @public
4425
+ * <p>The storage type to associate with the DB cluster.</p>
4426
+ * <p>For information on storage types for Amazon DocumentDB clusters, see
4427
+ * Cluster storage configurations in the <i>Amazon DocumentDB Developer Guide</i>.</p>
4428
+ * <p>Valid values for storage type - <code>standard | iopt1</code>
4429
+ * </p>
4430
+ * <p>Default value is <code>standard </code>
4431
+ * </p>
4432
+ */
4433
+ StorageType?: string;
4380
4434
  }
4381
4435
  /**
4382
4436
  * @public
@@ -5066,6 +5120,17 @@ export interface RestoreDBClusterFromSnapshotMessage {
5066
5120
  * hyphens.</p>
5067
5121
  */
5068
5122
  DBClusterParameterGroupName?: string;
5123
+ /**
5124
+ * @public
5125
+ * <p>The storage type to associate with the DB cluster.</p>
5126
+ * <p>For information on storage types for Amazon DocumentDB clusters, see
5127
+ * Cluster storage configurations in the <i>Amazon DocumentDB Developer Guide</i>.</p>
5128
+ * <p>Valid values for storage type - <code>standard | iopt1</code>
5129
+ * </p>
5130
+ * <p>Default value is <code>standard </code>
5131
+ * </p>
5132
+ */
5133
+ StorageType?: string;
5069
5134
  }
5070
5135
  /**
5071
5136
  * @public
@@ -5218,6 +5283,17 @@ export interface RestoreDBClusterToPointInTimeMessage {
5218
5283
  * <p>Specifies whether this cluster can be deleted. If <code>DeletionProtection</code> is enabled, the cluster cannot be deleted unless it is modified and <code>DeletionProtection</code> is disabled. <code>DeletionProtection</code> protects clusters from being accidentally deleted.</p>
5219
5284
  */
5220
5285
  DeletionProtection?: boolean;
5286
+ /**
5287
+ * @public
5288
+ * <p>The storage type to associate with the DB cluster.</p>
5289
+ * <p>For information on storage types for Amazon DocumentDB clusters, see
5290
+ * Cluster storage configurations in the <i>Amazon DocumentDB Developer Guide</i>.</p>
5291
+ * <p>Valid values for storage type - <code>standard | iopt1</code>
5292
+ * </p>
5293
+ * <p>Default value is <code>standard </code>
5294
+ * </p>
5295
+ */
5296
+ StorageType?: string;
5221
5297
  }
5222
5298
  /**
5223
5299
  * @public
@@ -171,6 +171,7 @@ export interface DBClusterSnapshot {
171
171
  KmsKeyId?: string;
172
172
  DBClusterSnapshotArn?: string;
173
173
  SourceDBClusterSnapshotArn?: string;
174
+ StorageType?: string;
174
175
  }
175
176
  export interface CopyDBClusterSnapshotResult {
176
177
  DBClusterSnapshot?: DBClusterSnapshot;
@@ -237,6 +238,7 @@ export interface CreateDBClusterMessage {
237
238
  EnableCloudwatchLogsExports?: string[];
238
239
  DeletionProtection?: boolean;
239
240
  GlobalClusterIdentifier?: string;
241
+ StorageType?: string;
240
242
  }
241
243
  export interface DBClusterRole {
242
244
  RoleArn?: string;
@@ -285,6 +287,7 @@ export interface DBCluster {
285
287
  ClusterCreateTime?: Date;
286
288
  EnabledCloudwatchLogsExports?: string[];
287
289
  DeletionProtection?: boolean;
290
+ StorageType?: string;
288
291
  }
289
292
  export interface CreateDBClusterResult {
290
293
  DBCluster?: DBCluster;
@@ -1011,6 +1014,7 @@ export interface OrderableDBInstanceOption {
1011
1014
  LicenseModel?: string;
1012
1015
  AvailabilityZones?: AvailabilityZone[];
1013
1016
  Vpc?: boolean;
1017
+ StorageType?: string;
1014
1018
  }
1015
1019
  export interface OrderableDBInstanceOptionsMessage {
1016
1020
  OrderableDBInstanceOptions?: OrderableDBInstanceOption[];
@@ -1069,6 +1073,7 @@ export interface ModifyDBClusterMessage {
1069
1073
  EngineVersion?: string;
1070
1074
  AllowMajorVersionUpgrade?: boolean;
1071
1075
  DeletionProtection?: boolean;
1076
+ StorageType?: string;
1072
1077
  }
1073
1078
  export interface ModifyDBClusterResult {
1074
1079
  DBCluster?: DBCluster;
@@ -1225,6 +1230,7 @@ export interface RestoreDBClusterFromSnapshotMessage {
1225
1230
  EnableCloudwatchLogsExports?: string[];
1226
1231
  DeletionProtection?: boolean;
1227
1232
  DBClusterParameterGroupName?: string;
1233
+ StorageType?: string;
1228
1234
  }
1229
1235
  export interface RestoreDBClusterFromSnapshotResult {
1230
1236
  DBCluster?: DBCluster;
@@ -1242,6 +1248,7 @@ export interface RestoreDBClusterToPointInTimeMessage {
1242
1248
  KmsKeyId?: string;
1243
1249
  EnableCloudwatchLogsExports?: string[];
1244
1250
  DeletionProtection?: boolean;
1251
+ StorageType?: string;
1245
1252
  }
1246
1253
  export interface RestoreDBClusterToPointInTimeResult {
1247
1254
  DBCluster?: DBCluster;
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.454.0",
4
+ "version": "3.455.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",