@aws-sdk/client-docdb 3.370.0 → 3.371.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/README.md CHANGED
@@ -6,7 +6,9 @@
6
6
 
7
7
  AWS SDK for JavaScript DocDB Client for Node.js, Browser and React Native.
8
8
 
9
- <p>Amazon DocumentDB API documentation</p>
9
+ <p>Amazon DocumentDB is a fast, reliable, and fully managed database service.
10
+ Amazon DocumentDB makes it easy to set up, operate, and scale MongoDB-compatible databases in the cloud.
11
+ With Amazon DocumentDB, you can run the same application code and use the same drivers and tools that you use with MongoDB.</p>
10
12
 
11
13
  ## Installing
12
14
 
@@ -4308,6 +4308,9 @@ const se_ModifyDBClusterMessage = (input, context) => {
4308
4308
  if (input.EngineVersion != null) {
4309
4309
  entries["EngineVersion"] = input.EngineVersion;
4310
4310
  }
4311
+ if (input.AllowMajorVersionUpgrade != null) {
4312
+ entries["AllowMajorVersionUpgrade"] = input.AllowMajorVersionUpgrade;
4313
+ }
4311
4314
  if (input.DeletionProtection != null) {
4312
4315
  entries["DeletionProtection"] = input.DeletionProtection;
4313
4316
  }
@@ -4197,6 +4197,9 @@ const se_ModifyDBClusterMessage = (input, context) => {
4197
4197
  if (input.EngineVersion != null) {
4198
4198
  entries["EngineVersion"] = input.EngineVersion;
4199
4199
  }
4200
+ if (input.AllowMajorVersionUpgrade != null) {
4201
+ entries["AllowMajorVersionUpgrade"] = input.AllowMajorVersionUpgrade;
4202
+ }
4200
4203
  if (input.DeletionProtection != null) {
4201
4204
  entries["DeletionProtection"] = input.DeletionProtection;
4202
4205
  }
@@ -375,7 +375,9 @@ export interface DocDB {
375
375
  }
376
376
  /**
377
377
  * @public
378
- * <p>Amazon DocumentDB API documentation</p>
378
+ * <p>Amazon DocumentDB is a fast, reliable, and fully managed database service.
379
+ * Amazon DocumentDB makes it easy to set up, operate, and scale MongoDB-compatible databases in the cloud.
380
+ * With Amazon DocumentDB, you can run the same application code and use the same drivers and tools that you use with MongoDB.</p>
379
381
  */
380
382
  export declare class DocDB extends DocDBClient implements DocDB {
381
383
  }
@@ -198,7 +198,9 @@ export interface DocDBClientResolvedConfig extends DocDBClientResolvedConfigType
198
198
  }
199
199
  /**
200
200
  * @public
201
- * <p>Amazon DocumentDB API documentation</p>
201
+ * <p>Amazon DocumentDB is a fast, reliable, and fully managed database service.
202
+ * Amazon DocumentDB makes it easy to set up, operate, and scale MongoDB-compatible databases in the cloud.
203
+ * With Amazon DocumentDB, you can run the same application code and use the same drivers and tools that you use with MongoDB.</p>
202
204
  */
203
205
  export declare class DocDBClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, DocDBClientResolvedConfig> {
204
206
  /**
@@ -54,6 +54,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
54
54
  * ],
55
55
  * },
56
56
  * EngineVersion: "STRING_VALUE",
57
+ * AllowMajorVersionUpgrade: true || false,
57
58
  * DeletionProtection: true || false,
58
59
  * };
59
60
  * const command = new ModifyDBClusterCommand(input);
@@ -1,5 +1,7 @@
1
1
  /**
2
- * <p>Amazon DocumentDB API documentation</p>
2
+ * <p>Amazon DocumentDB is a fast, reliable, and fully managed database service.
3
+ * Amazon DocumentDB makes it easy to set up, operate, and scale MongoDB-compatible databases in the cloud.
4
+ * With Amazon DocumentDB, you can run the same application code and use the same drivers and tools that you use with MongoDB.</p>
3
5
  *
4
6
  * @packageDocumentation
5
7
  */
@@ -3868,9 +3868,22 @@ export interface ModifyDBClusterMessage {
3868
3868
  */
3869
3869
  CloudwatchLogsExportConfiguration?: CloudwatchLogsExportConfiguration;
3870
3870
  /**
3871
- * <p>The version number of the database engine to which you want to upgrade. Modifying engine version is not supported on Amazon DocumentDB.</p>
3871
+ * <p>The version number of the database engine to which you want to upgrade.
3872
+ * Changing this parameter results in an outage. The change is applied during
3873
+ * the next maintenance window unless <code>ApplyImmediately</code> is enabled.</p>
3874
+ * <p>To list all of the available engine versions for Amazon DocumentDB use the following command:</p>
3875
+ * <p>
3876
+ * <code>aws docdb describe-db-engine-versions --engine docdb --query "DBEngineVersions[].EngineVersion"</code>
3877
+ * </p>
3872
3878
  */
3873
3879
  EngineVersion?: string;
3880
+ /**
3881
+ * <p>A value that indicates whether major version upgrades are allowed.</p>
3882
+ * <p>Constraints: You must allow major version upgrades when specifying a value for the
3883
+ * <code>EngineVersion</code> parameter that is a different major version than the DB
3884
+ * cluster's current version.</p>
3885
+ */
3886
+ AllowMajorVersionUpgrade?: boolean;
3874
3887
  /**
3875
3888
  * <p>Specifies whether this cluster can be deleted. If <code>DeletionProtection</code> is
3876
3889
  * enabled, the cluster cannot be deleted unless it is modified and
@@ -1059,6 +1059,7 @@ export interface ModifyDBClusterMessage {
1059
1059
  PreferredMaintenanceWindow?: string;
1060
1060
  CloudwatchLogsExportConfiguration?: CloudwatchLogsExportConfiguration;
1061
1061
  EngineVersion?: string;
1062
+ AllowMajorVersionUpgrade?: boolean;
1062
1063
  DeletionProtection?: boolean;
1063
1064
  }
1064
1065
  export interface ModifyDBClusterResult {
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.370.0",
4
+ "version": "3.371.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",