@aws-sdk/client-rds 3.375.0 → 3.377.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/protocols/Aws_query.js +3 -0
- package/dist-es/protocols/Aws_query.js +3 -0
- package/dist-types/commands/CreateDBInstanceCommand.d.ts +1 -0
- package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +1 -0
- package/dist-types/commands/CreateGlobalClusterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDBInstanceCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDBInstancesCommand.d.ts +1 -0
- package/dist-types/commands/ModifyDBInstanceCommand.d.ts +1 -0
- package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +2 -2
- package/dist-types/commands/PromoteReadReplicaCommand.d.ts +1 -0
- package/dist-types/commands/RebootDBInstanceCommand.d.ts +1 -0
- package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +1 -0
- package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +1 -0
- package/dist-types/commands/StartDBInstanceCommand.d.ts +1 -0
- package/dist-types/commands/StopDBInstanceCommand.d.ts +1 -0
- package/dist-types/commands/SwitchoverReadReplicaCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +4 -0
- package/dist-types/models/models_1.d.ts +11 -12
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +2 -2
|
@@ -15274,6 +15274,9 @@ const de_DBInstance = (output, context) => {
|
|
|
15274
15274
|
if (output["ReadReplicaSourceDBClusterIdentifier"] !== undefined) {
|
|
15275
15275
|
contents.ReadReplicaSourceDBClusterIdentifier = (0, smithy_client_1.expectString)(output["ReadReplicaSourceDBClusterIdentifier"]);
|
|
15276
15276
|
}
|
|
15277
|
+
if (output["PercentProgress"] !== undefined) {
|
|
15278
|
+
contents.PercentProgress = (0, smithy_client_1.expectString)(output["PercentProgress"]);
|
|
15279
|
+
}
|
|
15277
15280
|
return contents;
|
|
15278
15281
|
};
|
|
15279
15282
|
const de_DBInstanceAlreadyExistsFault = (output, context) => {
|
|
@@ -14984,6 +14984,9 @@ const de_DBInstance = (output, context) => {
|
|
|
14984
14984
|
if (output["ReadReplicaSourceDBClusterIdentifier"] !== undefined) {
|
|
14985
14985
|
contents.ReadReplicaSourceDBClusterIdentifier = __expectString(output["ReadReplicaSourceDBClusterIdentifier"]);
|
|
14986
14986
|
}
|
|
14987
|
+
if (output["PercentProgress"] !== undefined) {
|
|
14988
|
+
contents.PercentProgress = __expectString(output["PercentProgress"]);
|
|
14989
|
+
}
|
|
14987
14990
|
return contents;
|
|
14988
14991
|
};
|
|
14989
14992
|
const de_DBInstanceAlreadyExistsFault = (output, context) => {
|
|
@@ -337,6 +337,7 @@ export interface CreateDBInstanceCommandOutput extends CreateDBInstanceResult, _
|
|
|
337
337
|
* // ValidTill: new Date("TIMESTAMP"),
|
|
338
338
|
* // },
|
|
339
339
|
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
|
|
340
|
+
* // PercentProgress: "STRING_VALUE",
|
|
340
341
|
* // },
|
|
341
342
|
* // };
|
|
342
343
|
*
|
|
@@ -321,6 +321,7 @@ export interface CreateDBInstanceReadReplicaCommandOutput extends CreateDBInstan
|
|
|
321
321
|
* // ValidTill: new Date("TIMESTAMP"),
|
|
322
322
|
* // },
|
|
323
323
|
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
|
|
324
|
+
* // PercentProgress: "STRING_VALUE",
|
|
324
325
|
* // },
|
|
325
326
|
* // };
|
|
326
327
|
*
|
|
@@ -30,7 +30,7 @@ export interface CreateGlobalClusterCommandOutput extends CreateGlobalClusterRes
|
|
|
30
30
|
* data from the primary cluster through high-speed replication
|
|
31
31
|
* performed by the Aurora storage subsystem.</p>
|
|
32
32
|
* <p>You can create a global database that is initially empty, and then
|
|
33
|
-
*
|
|
33
|
+
* create the primary and secondary DB clusters in the global database.
|
|
34
34
|
* Or you can specify an existing Aurora cluster during the create operation,
|
|
35
35
|
* and this cluster becomes the primary cluster of the global database.</p>
|
|
36
36
|
* <note>
|
|
@@ -277,6 +277,7 @@ export interface DeleteDBInstanceCommandOutput extends DeleteDBInstanceResult, _
|
|
|
277
277
|
* // ValidTill: new Date("TIMESTAMP"),
|
|
278
278
|
* // },
|
|
279
279
|
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
|
|
280
|
+
* // PercentProgress: "STRING_VALUE",
|
|
280
281
|
* // },
|
|
281
282
|
* // };
|
|
282
283
|
*
|
|
@@ -267,6 +267,7 @@ export interface DescribeDBInstancesCommandOutput extends DBInstanceMessage, __M
|
|
|
267
267
|
* // ValidTill: new Date("TIMESTAMP"),
|
|
268
268
|
* // },
|
|
269
269
|
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
|
|
270
|
+
* // PercentProgress: "STRING_VALUE",
|
|
270
271
|
* // },
|
|
271
272
|
* // ],
|
|
272
273
|
* // };
|
|
@@ -331,6 +331,7 @@ export interface ModifyDBInstanceCommandOutput extends ModifyDBInstanceResult, _
|
|
|
331
331
|
* // ValidTill: new Date("TIMESTAMP"),
|
|
332
332
|
* // },
|
|
333
333
|
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
|
|
334
|
+
* // PercentProgress: "STRING_VALUE",
|
|
334
335
|
* // },
|
|
335
336
|
* // };
|
|
336
337
|
*
|
|
@@ -23,12 +23,12 @@ export interface ModifyGlobalClusterCommandOutput extends ModifyGlobalClusterRes
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p>Modifies a setting for an Amazon Aurora global cluster. You can change one or more database configuration
|
|
27
27
|
* parameters by specifying these parameters and the new values in the request. For more information on
|
|
28
28
|
* Amazon Aurora, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html"> What is Amazon Aurora?</a> in the
|
|
29
29
|
* <i>Amazon Aurora User Guide</i>.</p>
|
|
30
30
|
* <note>
|
|
31
|
-
* <p>This
|
|
31
|
+
* <p>This operation only applies to Aurora global database clusters.</p>
|
|
32
32
|
* </note>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -271,6 +271,7 @@ export interface PromoteReadReplicaCommandOutput extends PromoteReadReplicaResul
|
|
|
271
271
|
* // ValidTill: new Date("TIMESTAMP"),
|
|
272
272
|
* // },
|
|
273
273
|
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
|
|
274
|
+
* // PercentProgress: "STRING_VALUE",
|
|
274
275
|
* // },
|
|
275
276
|
* // };
|
|
276
277
|
*
|
|
@@ -262,6 +262,7 @@ export interface RebootDBInstanceCommandOutput extends RebootDBInstanceResult, _
|
|
|
262
262
|
* // ValidTill: new Date("TIMESTAMP"),
|
|
263
263
|
* // },
|
|
264
264
|
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
|
|
265
|
+
* // PercentProgress: "STRING_VALUE",
|
|
265
266
|
* // },
|
|
266
267
|
* // };
|
|
267
268
|
*
|
|
@@ -319,6 +319,7 @@ export interface RestoreDBInstanceFromDBSnapshotCommandOutput extends RestoreDBI
|
|
|
319
319
|
* // ValidTill: new Date("TIMESTAMP"),
|
|
320
320
|
* // },
|
|
321
321
|
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
|
|
322
|
+
* // PercentProgress: "STRING_VALUE",
|
|
322
323
|
* // },
|
|
323
324
|
* // };
|
|
324
325
|
*
|
|
@@ -323,6 +323,7 @@ export interface RestoreDBInstanceFromS3CommandOutput extends RestoreDBInstanceF
|
|
|
323
323
|
* // ValidTill: new Date("TIMESTAMP"),
|
|
324
324
|
* // },
|
|
325
325
|
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
|
|
326
|
+
* // PercentProgress: "STRING_VALUE",
|
|
326
327
|
* // },
|
|
327
328
|
* // };
|
|
328
329
|
*
|
|
@@ -319,6 +319,7 @@ export interface RestoreDBInstanceToPointInTimeCommandOutput extends RestoreDBIn
|
|
|
319
319
|
* // ValidTill: new Date("TIMESTAMP"),
|
|
320
320
|
* // },
|
|
321
321
|
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
|
|
322
|
+
* // PercentProgress: "STRING_VALUE",
|
|
322
323
|
* // },
|
|
323
324
|
* // };
|
|
324
325
|
*
|
|
@@ -261,6 +261,7 @@ export interface StartDBInstanceCommandOutput extends StartDBInstanceResult, __M
|
|
|
261
261
|
* // ValidTill: new Date("TIMESTAMP"),
|
|
262
262
|
* // },
|
|
263
263
|
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
|
|
264
|
+
* // PercentProgress: "STRING_VALUE",
|
|
264
265
|
* // },
|
|
265
266
|
* // };
|
|
266
267
|
*
|
|
@@ -264,6 +264,7 @@ export interface StopDBInstanceCommandOutput extends StopDBInstanceResult, __Met
|
|
|
264
264
|
* // ValidTill: new Date("TIMESTAMP"),
|
|
265
265
|
* // },
|
|
266
266
|
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
|
|
267
|
+
* // PercentProgress: "STRING_VALUE",
|
|
267
268
|
* // },
|
|
268
269
|
* // };
|
|
269
270
|
*
|
|
@@ -253,6 +253,7 @@ export interface SwitchoverReadReplicaCommandOutput extends SwitchoverReadReplic
|
|
|
253
253
|
* // ValidTill: new Date("TIMESTAMP"),
|
|
254
254
|
* // },
|
|
255
255
|
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
|
|
256
|
+
* // PercentProgress: "STRING_VALUE",
|
|
256
257
|
* // },
|
|
257
258
|
* // };
|
|
258
259
|
*
|
|
@@ -7107,6 +7107,10 @@ export interface DBInstance {
|
|
|
7107
7107
|
* replica.</p>
|
|
7108
7108
|
*/
|
|
7109
7109
|
ReadReplicaSourceDBClusterIdentifier?: string;
|
|
7110
|
+
/**
|
|
7111
|
+
* <p>The progress of the storage optimization operation as a percentage.</p>
|
|
7112
|
+
*/
|
|
7113
|
+
PercentProgress?: string;
|
|
7110
7114
|
}
|
|
7111
7115
|
/**
|
|
7112
7116
|
* @public
|
|
@@ -4386,7 +4386,7 @@ export interface ModifyDBInstanceMessage {
|
|
|
4386
4386
|
*/
|
|
4387
4387
|
TdeCredentialPassword?: string;
|
|
4388
4388
|
/**
|
|
4389
|
-
* <p>The CA certificate identifier to use for the DB
|
|
4389
|
+
* <p>The CA certificate identifier to use for the DB instance's server certificate.</p>
|
|
4390
4390
|
* <p>This setting doesn't apply to RDS Custom DB instances.</p>
|
|
4391
4391
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html">Using SSL/TLS to encrypt a connection to a DB
|
|
4392
4392
|
* instance</a> in the <i>Amazon RDS User Guide</i> and
|
|
@@ -5288,7 +5288,7 @@ export interface ModifyEventSubscriptionResult {
|
|
|
5288
5288
|
*/
|
|
5289
5289
|
export interface ModifyGlobalClusterMessage {
|
|
5290
5290
|
/**
|
|
5291
|
-
* <p>The
|
|
5291
|
+
* <p>The cluster identifier for the global cluster to modify. This parameter isn't case-sensitive.</p>
|
|
5292
5292
|
* <p>Constraints:</p>
|
|
5293
5293
|
* <ul>
|
|
5294
5294
|
* <li>
|
|
@@ -5298,18 +5298,18 @@ export interface ModifyGlobalClusterMessage {
|
|
|
5298
5298
|
*/
|
|
5299
5299
|
GlobalClusterIdentifier?: string;
|
|
5300
5300
|
/**
|
|
5301
|
-
* <p>The new cluster identifier for the global database cluster
|
|
5301
|
+
* <p>The new cluster identifier for the global database cluster.
|
|
5302
5302
|
* This value is stored as a lowercase string.</p>
|
|
5303
5303
|
* <p>Constraints:</p>
|
|
5304
5304
|
* <ul>
|
|
5305
5305
|
* <li>
|
|
5306
|
-
* <p>Must contain from 1 to 63 letters, numbers, or hyphens
|
|
5306
|
+
* <p>Must contain from 1 to 63 letters, numbers, or hyphens.</p>
|
|
5307
5307
|
* </li>
|
|
5308
5308
|
* <li>
|
|
5309
|
-
* <p>The first character must be a letter
|
|
5309
|
+
* <p>The first character must be a letter.</p>
|
|
5310
5310
|
* </li>
|
|
5311
5311
|
* <li>
|
|
5312
|
-
* <p>Can't end with a hyphen or contain two consecutive hyphens
|
|
5312
|
+
* <p>Can't end with a hyphen or contain two consecutive hyphens.</p>
|
|
5313
5313
|
* </li>
|
|
5314
5314
|
* </ul>
|
|
5315
5315
|
* <p>Example: <code>my-cluster2</code>
|
|
@@ -5317,14 +5317,13 @@ export interface ModifyGlobalClusterMessage {
|
|
|
5317
5317
|
*/
|
|
5318
5318
|
NewGlobalClusterIdentifier?: string;
|
|
5319
5319
|
/**
|
|
5320
|
-
* <p>
|
|
5320
|
+
* <p>Specifies whether to enable deletion protection for the global database cluster. The global database cluster
|
|
5321
5321
|
* can't be deleted when deletion protection is enabled.</p>
|
|
5322
5322
|
*/
|
|
5323
5323
|
DeletionProtection?: boolean;
|
|
5324
5324
|
/**
|
|
5325
5325
|
* <p>The version number of the database engine to which you want to upgrade.
|
|
5326
|
-
*
|
|
5327
|
-
* the next maintenance window unless <code>ApplyImmediately</code> is enabled.</p>
|
|
5326
|
+
* </p>
|
|
5328
5327
|
* <p>To list all of the available engine versions for <code>aurora-mysql</code> (for MySQL-based Aurora global databases), use the following command:</p>
|
|
5329
5328
|
* <p>
|
|
5330
5329
|
* <code>aws rds describe-db-engine-versions --engine aurora-mysql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'</code>
|
|
@@ -5336,9 +5335,9 @@ export interface ModifyGlobalClusterMessage {
|
|
|
5336
5335
|
*/
|
|
5337
5336
|
EngineVersion?: string;
|
|
5338
5337
|
/**
|
|
5339
|
-
* <p>
|
|
5340
|
-
* <p>Constraints:
|
|
5341
|
-
* <code>EngineVersion</code> parameter that
|
|
5338
|
+
* <p>Specifies whether to allow major version upgrades.</p>
|
|
5339
|
+
* <p>Constraints: Must be enabled if you specify a value for the
|
|
5340
|
+
* <code>EngineVersion</code> parameter that's a different major version than the global
|
|
5342
5341
|
* cluster's current version.</p>
|
|
5343
5342
|
* <p>If you upgrade the major version of a global database, the cluster and DB instance parameter
|
|
5344
5343
|
* groups are set to the default parameter groups for the new version. Apply any custom parameter
|
|
@@ -1400,6 +1400,7 @@ export interface DBInstance {
|
|
|
1400
1400
|
MasterUserSecret?: MasterUserSecret;
|
|
1401
1401
|
CertificateDetails?: CertificateDetails;
|
|
1402
1402
|
ReadReplicaSourceDBClusterIdentifier?: string;
|
|
1403
|
+
PercentProgress?: string;
|
|
1403
1404
|
}
|
|
1404
1405
|
export interface CreateDBInstanceResult {
|
|
1405
1406
|
DBInstance?: DBInstance;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rds",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rds Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.377.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",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.377.0",
|
|
25
25
|
"@aws-sdk/credential-provider-node": "3.370.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.370.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.370.0",
|