@aws-sdk/client-rds 3.315.0 → 3.317.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/RDS.js +145 -1974
- package/dist-es/RDS.js +145 -1974
- package/dist-types/RDS.d.ts +200 -1206
- package/dist-types/commands/CreateDBClusterCommand.d.ts +127 -0
- package/dist-types/commands/ModifyDBInstanceCommand.d.ts +49 -0
- package/dist-types/models/models_0.d.ts +22 -27
- package/dist-types/models/models_1.d.ts +15 -26
- package/dist-types/ts3.4/RDS.d.ts +2 -1
- package/package.json +6 -6
|
@@ -314,6 +314,133 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
|
|
|
314
314
|
* // example id: to-create-a-postgresql--compatible-db-cluster-1679700161087
|
|
315
315
|
* ```
|
|
316
316
|
*
|
|
317
|
+
* @example To create a MySQL 5.7-compatible DB cluster
|
|
318
|
+
* ```javascript
|
|
319
|
+
* // The following example creates a MySQL 5.7-compatible Aurora DB cluster.
|
|
320
|
+
* const input = {
|
|
321
|
+
* "DBClusterIdentifier": "sample-cluster",
|
|
322
|
+
* "DBSubnetGroupName": "default",
|
|
323
|
+
* "Engine": "aurora-mysql",
|
|
324
|
+
* "EngineVersion": "5.7.12",
|
|
325
|
+
* "MasterUserPassword": "mypassword",
|
|
326
|
+
* "MasterUsername": "admin",
|
|
327
|
+
* "VpcSecurityGroupIds": [
|
|
328
|
+
* "sg-0b91305example"
|
|
329
|
+
* ]
|
|
330
|
+
* };
|
|
331
|
+
* const command = new CreateDBClusterCommand(input);
|
|
332
|
+
* const response = await client.send(command);
|
|
333
|
+
* /* response ==
|
|
334
|
+
* {
|
|
335
|
+
* "DBCluster": {
|
|
336
|
+
* "AllocatedStorage": 1,
|
|
337
|
+
* "AssociatedRoles": [],
|
|
338
|
+
* "AvailabilityZones": [
|
|
339
|
+
* "us-east-1a",
|
|
340
|
+
* "us-east-1b",
|
|
341
|
+
* "us-east-1e"
|
|
342
|
+
* ],
|
|
343
|
+
* "BackupRetentionPeriod": 1,
|
|
344
|
+
* "ClusterCreateTime": "2019-06-07T23:21:33.048Z",
|
|
345
|
+
* "CopyTagsToSnapshot": false,
|
|
346
|
+
* "DBClusterArn": "arn:aws:rds:us-east-1:123456789012:cluster:sample-cluster",
|
|
347
|
+
* "DBClusterIdentifier": "sample-cluster",
|
|
348
|
+
* "DBClusterMembers": [],
|
|
349
|
+
* "DBClusterParameterGroup": "default.aurora-mysql5.7",
|
|
350
|
+
* "DBSubnetGroup": "default",
|
|
351
|
+
* "DbClusterResourceId": "cluster-ANPAJ4AE5446DAEXAMPLE",
|
|
352
|
+
* "DeletionProtection": false,
|
|
353
|
+
* "Endpoint": "sample-cluster.cluster-cnpexample.us-east-1.rds.amazonaws.com",
|
|
354
|
+
* "Engine": "aurora-mysql",
|
|
355
|
+
* "EngineMode": "provisioned",
|
|
356
|
+
* "EngineVersion": "5.7.12",
|
|
357
|
+
* "HostedZoneId": "Z2R2ITUGPM61AM",
|
|
358
|
+
* "HttpEndpointEnabled": false,
|
|
359
|
+
* "IAMDatabaseAuthenticationEnabled": false,
|
|
360
|
+
* "MasterUsername": "master",
|
|
361
|
+
* "MultiAZ": false,
|
|
362
|
+
* "Port": 3306,
|
|
363
|
+
* "PreferredBackupWindow": "09:12-09:42",
|
|
364
|
+
* "PreferredMaintenanceWindow": "mon:04:31-mon:05:01",
|
|
365
|
+
* "ReadReplicaIdentifiers": [],
|
|
366
|
+
* "ReaderEndpoint": "sample-cluster.cluster-ro-cnpexample.us-east-1.rds.amazonaws.com",
|
|
367
|
+
* "Status": "creating",
|
|
368
|
+
* "StorageEncrypted": false,
|
|
369
|
+
* "VpcSecurityGroups": [
|
|
370
|
+
* {
|
|
371
|
+
* "Status": "active",
|
|
372
|
+
* "VpcSecurityGroupId": "sg-0b91305example"
|
|
373
|
+
* }
|
|
374
|
+
* ]
|
|
375
|
+
* }
|
|
376
|
+
* }
|
|
377
|
+
* *\/
|
|
378
|
+
* // example id: to-create-a-mysql-57-compatible-db-cluster-1679699416154
|
|
379
|
+
* ```
|
|
380
|
+
*
|
|
381
|
+
* @example To create a PostgreSQL-compatible DB cluster
|
|
382
|
+
* ```javascript
|
|
383
|
+
* // The following example creates a PostgreSQL-compatible Aurora DB cluster.
|
|
384
|
+
* const input = {
|
|
385
|
+
* "DBClusterIdentifier": "sample-pg-cluster",
|
|
386
|
+
* "DBSubnetGroupName": "default",
|
|
387
|
+
* "Engine": "aurora-postgresql",
|
|
388
|
+
* "MasterUserPassword": "mypassword",
|
|
389
|
+
* "MasterUsername": "admin",
|
|
390
|
+
* "VpcSecurityGroupIds": [
|
|
391
|
+
* "sg-0b91305example"
|
|
392
|
+
* ]
|
|
393
|
+
* };
|
|
394
|
+
* const command = new CreateDBClusterCommand(input);
|
|
395
|
+
* const response = await client.send(command);
|
|
396
|
+
* /* response ==
|
|
397
|
+
* {
|
|
398
|
+
* "DBCluster": {
|
|
399
|
+
* "AllocatedStorage": 1,
|
|
400
|
+
* "AssociatedRoles": [],
|
|
401
|
+
* "AvailabilityZones": [
|
|
402
|
+
* "us-east-1a",
|
|
403
|
+
* "us-east-1b",
|
|
404
|
+
* "us-east-1c"
|
|
405
|
+
* ],
|
|
406
|
+
* "BackupRetentionPeriod": 1,
|
|
407
|
+
* "ClusterCreateTime": "2019-06-07T23:26:08.371Z",
|
|
408
|
+
* "CopyTagsToSnapshot": false,
|
|
409
|
+
* "DBClusterArn": "arn:aws:rds:us-east-1:123456789012:cluster:sample-pg-cluster",
|
|
410
|
+
* "DBClusterIdentifier": "sample-pg-cluster",
|
|
411
|
+
* "DBClusterMembers": [],
|
|
412
|
+
* "DBClusterParameterGroup": "default.aurora-postgresql9.6",
|
|
413
|
+
* "DBSubnetGroup": "default",
|
|
414
|
+
* "DbClusterResourceId": "cluster-ANPAJ4AE5446DAEXAMPLE",
|
|
415
|
+
* "DeletionProtection": false,
|
|
416
|
+
* "Endpoint": "sample-pg-cluster.cluster-cnpexample.us-east-1.rds.amazonaws.com",
|
|
417
|
+
* "Engine": "aurora-postgresql",
|
|
418
|
+
* "EngineMode": "provisioned",
|
|
419
|
+
* "EngineVersion": "9.6.9",
|
|
420
|
+
* "HostedZoneId": "Z2R2ITUGPM61AM",
|
|
421
|
+
* "HttpEndpointEnabled": false,
|
|
422
|
+
* "IAMDatabaseAuthenticationEnabled": false,
|
|
423
|
+
* "MasterUsername": "master",
|
|
424
|
+
* "MultiAZ": false,
|
|
425
|
+
* "Port": 5432,
|
|
426
|
+
* "PreferredBackupWindow": "09:56-10:26",
|
|
427
|
+
* "PreferredMaintenanceWindow": "wed:03:33-wed:04:03",
|
|
428
|
+
* "ReadReplicaIdentifiers": [],
|
|
429
|
+
* "ReaderEndpoint": "sample-pg-cluster.cluster-ro-cnpexample.us-east-1.rds.amazonaws.com",
|
|
430
|
+
* "Status": "creating",
|
|
431
|
+
* "StorageEncrypted": false,
|
|
432
|
+
* "VpcSecurityGroups": [
|
|
433
|
+
* {
|
|
434
|
+
* "Status": "active",
|
|
435
|
+
* "VpcSecurityGroupId": "sg-0b91305example"
|
|
436
|
+
* }
|
|
437
|
+
* ]
|
|
438
|
+
* }
|
|
439
|
+
* }
|
|
440
|
+
* *\/
|
|
441
|
+
* // example id: to-create-a-postgresql-compatible-db-cluster-1679700161087
|
|
442
|
+
* ```
|
|
443
|
+
*
|
|
317
444
|
*/
|
|
318
445
|
export declare class CreateDBClusterCommand extends $Command<CreateDBClusterCommandInput, CreateDBClusterCommandOutput, RDSClientResolvedConfig> {
|
|
319
446
|
readonly input: CreateDBClusterCommandInput;
|
|
@@ -234,6 +234,55 @@ export interface ModifyDBInstanceCommandOutput extends ModifyDBInstanceResult, _
|
|
|
234
234
|
* // example id: to-modify-parameters-in-a-db-cluster-parameter-group-1680377584537
|
|
235
235
|
* ```
|
|
236
236
|
*
|
|
237
|
+
* @example To modify a DB instance
|
|
238
|
+
* ```javascript
|
|
239
|
+
* // The following example associates an option group and a parameter group with a compatible Microsoft SQL Server DB instance. The ApplyImmediately parameter causes the option and parameter groups to be associated immediately, instead of waiting until the next maintenance window.
|
|
240
|
+
* const input = {
|
|
241
|
+
* "ApplyImmediately": true,
|
|
242
|
+
* "DBInstanceIdentifier": "database-2",
|
|
243
|
+
* "DBParameterGroupName": "test-sqlserver-se-2017",
|
|
244
|
+
* "OptionGroupName": "test-se-2017"
|
|
245
|
+
* };
|
|
246
|
+
* const command = new ModifyDBInstanceCommand(input);
|
|
247
|
+
* const response = await client.send(command);
|
|
248
|
+
* /* response ==
|
|
249
|
+
* {
|
|
250
|
+
* "DBInstance": {
|
|
251
|
+
* "AssociatedRoles": [],
|
|
252
|
+
* "AutoMinorVersionUpgrade": false,
|
|
253
|
+
* "AvailabilityZone": "us-west-2d",
|
|
254
|
+
* "CharacterSetName": "SQL_Latin1_General_CP1_CI_AS",
|
|
255
|
+
* "DBInstanceClass": "db.r4.large",
|
|
256
|
+
* "DBInstanceIdentifier": "database-2",
|
|
257
|
+
* "DBInstanceStatus": "available",
|
|
258
|
+
* "DBParameterGroups": [
|
|
259
|
+
* {
|
|
260
|
+
* "DBParameterGroupName": "test-sqlserver-se-2017",
|
|
261
|
+
* "ParameterApplyStatus": "applying"
|
|
262
|
+
* }
|
|
263
|
+
* ],
|
|
264
|
+
* "DeletionProtection": false,
|
|
265
|
+
* "Engine": "sqlserver-se",
|
|
266
|
+
* "EngineVersion": "14.00.3281.6.v1",
|
|
267
|
+
* "LicenseModel": "license-included",
|
|
268
|
+
* "MaxAllocatedStorage": 1000,
|
|
269
|
+
* "MultiAZ": true,
|
|
270
|
+
* "OptionGroupMemberships": [
|
|
271
|
+
* {
|
|
272
|
+
* "OptionGroupName": "test-se-2017",
|
|
273
|
+
* "Status": "pending-apply"
|
|
274
|
+
* }
|
|
275
|
+
* ],
|
|
276
|
+
* "PubliclyAccessible": true,
|
|
277
|
+
* "ReadReplicaDBInstanceIdentifiers": [],
|
|
278
|
+
* "SecondaryAvailabilityZone": "us-west-2c",
|
|
279
|
+
* "StorageType": "gp2"
|
|
280
|
+
* }
|
|
281
|
+
* }
|
|
282
|
+
* *\/
|
|
283
|
+
* // example id: to-modify-a-db-instance-1680377584537
|
|
284
|
+
* ```
|
|
285
|
+
*
|
|
237
286
|
*/
|
|
238
287
|
export declare class ModifyDBInstanceCommand extends $Command<ModifyDBInstanceCommandInput, ModifyDBInstanceCommandOutput, RDSClientResolvedConfig> {
|
|
239
288
|
readonly input: ModifyDBInstanceCommandInput;
|
|
@@ -2717,7 +2717,10 @@ export interface CreateCustomDBEngineVersionMessage {
|
|
|
2717
2717
|
*/
|
|
2718
2718
|
DatabaseInstallationFilesS3Prefix?: string;
|
|
2719
2719
|
/**
|
|
2720
|
-
* <p>The ID of the
|
|
2720
|
+
* <p>The ID of the Amazon Machine Image (AMI). For RDS Custom for SQL Server, an AMI ID is required
|
|
2721
|
+
* to create a CEV. For RDS Custom for Oracle, the default is the most recent AMI available,
|
|
2722
|
+
* but you can specify an AMI ID that was used in a different Oracle CEV. Find the AMIs
|
|
2723
|
+
* used by your CEVs by calling the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBEngineVersions.html">DescribeDBEngineVersions</a> operation.</p>
|
|
2721
2724
|
*/
|
|
2722
2725
|
ImageId?: string;
|
|
2723
2726
|
/**
|
|
@@ -4839,12 +4842,12 @@ export interface CreateDBClusterParameterGroupMessage {
|
|
|
4839
4842
|
* <p>
|
|
4840
4843
|
* <b>Aurora MySQL</b>
|
|
4841
4844
|
* </p>
|
|
4842
|
-
* <p>Example: <code>
|
|
4845
|
+
* <p>Example: <code>aurora-mysql5.7</code>, <code>aurora-mysql8.0</code>
|
|
4843
4846
|
* </p>
|
|
4844
4847
|
* <p>
|
|
4845
4848
|
* <b>Aurora PostgreSQL</b>
|
|
4846
4849
|
* </p>
|
|
4847
|
-
* <p>Example: <code>aurora-
|
|
4850
|
+
* <p>Example: <code>aurora-postgresql14</code>
|
|
4848
4851
|
* </p>
|
|
4849
4852
|
* <p>
|
|
4850
4853
|
* <b>RDS for MySQL</b>
|
|
@@ -4871,11 +4874,8 @@ export interface CreateDBClusterParameterGroupMessage {
|
|
|
4871
4874
|
* <ul>
|
|
4872
4875
|
* <li>
|
|
4873
4876
|
* <p>
|
|
4874
|
-
* <code>aurora</code>
|
|
4875
|
-
*
|
|
4876
|
-
* <li>
|
|
4877
|
-
* <p>
|
|
4878
|
-
* <code>aurora-mysql</code> (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora)</p>
|
|
4877
|
+
* <code>aurora-mysql</code>
|
|
4878
|
+
* </p>
|
|
4879
4879
|
* </li>
|
|
4880
4880
|
* <li>
|
|
4881
4881
|
* <p>
|
|
@@ -5298,16 +5298,11 @@ export interface CreateDBInstanceMessage {
|
|
|
5298
5298
|
* <ul>
|
|
5299
5299
|
* <li>
|
|
5300
5300
|
* <p>
|
|
5301
|
-
* <code>aurora</code> (for MySQL
|
|
5302
|
-
* </li>
|
|
5303
|
-
* <li>
|
|
5304
|
-
* <p>
|
|
5305
|
-
* <code>aurora-mysql</code> (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora)</p>
|
|
5301
|
+
* <code>aurora-mysql</code> (for Aurora MySQL DB instances)</p>
|
|
5306
5302
|
* </li>
|
|
5307
5303
|
* <li>
|
|
5308
5304
|
* <p>
|
|
5309
|
-
* <code>aurora-postgresql</code>
|
|
5310
|
-
* </p>
|
|
5305
|
+
* <code>aurora-postgresql</code> (for Aurora PostgreSQL DB instances)</p>
|
|
5311
5306
|
* </li>
|
|
5312
5307
|
* <li>
|
|
5313
5308
|
* <p>
|
|
@@ -6851,16 +6846,13 @@ export interface DBInstance {
|
|
|
6851
6846
|
Timezone?: string;
|
|
6852
6847
|
/**
|
|
6853
6848
|
* <p>True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.</p>
|
|
6854
|
-
* <p>IAM database authentication can be enabled for the following database engines
|
|
6849
|
+
* <p>IAM database authentication can be enabled for the following database engines:</p>
|
|
6855
6850
|
* <ul>
|
|
6856
6851
|
* <li>
|
|
6857
|
-
* <p>For MySQL 5.
|
|
6858
|
-
* </li>
|
|
6859
|
-
* <li>
|
|
6860
|
-
* <p>For MySQL 5.7, minor version 5.7.16 or higher</p>
|
|
6852
|
+
* <p>For MySQL 5.7, minor version 5.7.16 or higher.</p>
|
|
6861
6853
|
* </li>
|
|
6862
6854
|
* <li>
|
|
6863
|
-
* <p>
|
|
6855
|
+
* <p>For Amazon Aurora, all versions of Aurora MySQL and Aurora PostgreSQL.</p>
|
|
6864
6856
|
* </li>
|
|
6865
6857
|
* </ul>
|
|
6866
6858
|
*/
|
|
@@ -7747,11 +7739,8 @@ export interface CreateDBParameterGroupMessage {
|
|
|
7747
7739
|
* <ul>
|
|
7748
7740
|
* <li>
|
|
7749
7741
|
* <p>
|
|
7750
|
-
* <code>aurora</code>
|
|
7751
|
-
*
|
|
7752
|
-
* <li>
|
|
7753
|
-
* <p>
|
|
7754
|
-
* <code>aurora-mysql</code> (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora)</p>
|
|
7742
|
+
* <code>aurora-mysql</code>
|
|
7743
|
+
* </p>
|
|
7755
7744
|
* </li>
|
|
7756
7745
|
* <li>
|
|
7757
7746
|
* <p>
|
|
@@ -10733,7 +10722,8 @@ export interface DescribeDBEngineVersionsMessage {
|
|
|
10733
10722
|
* <ul>
|
|
10734
10723
|
* <li>
|
|
10735
10724
|
* <p>
|
|
10736
|
-
* <code>aurora-mysql</code>
|
|
10725
|
+
* <code>aurora-mysql</code>
|
|
10726
|
+
* </p>
|
|
10737
10727
|
* </li>
|
|
10738
10728
|
* <li>
|
|
10739
10729
|
* <p>
|
|
@@ -10742,6 +10732,11 @@ export interface DescribeDBEngineVersionsMessage {
|
|
|
10742
10732
|
* </li>
|
|
10743
10733
|
* <li>
|
|
10744
10734
|
* <p>
|
|
10735
|
+
* <code>custom-oracle-ee</code>
|
|
10736
|
+
* </p>
|
|
10737
|
+
* </li>
|
|
10738
|
+
* <li>
|
|
10739
|
+
* <p>
|
|
10745
10740
|
* <code>mariadb</code>
|
|
10746
10741
|
* </p>
|
|
10747
10742
|
* </li>
|
|
@@ -837,11 +837,6 @@ export interface DescribeEngineDefaultParametersMessage {
|
|
|
837
837
|
* <ul>
|
|
838
838
|
* <li>
|
|
839
839
|
* <p>
|
|
840
|
-
* <code>aurora5.6</code>
|
|
841
|
-
* </p>
|
|
842
|
-
* </li>
|
|
843
|
-
* <li>
|
|
844
|
-
* <p>
|
|
845
840
|
* <code>aurora-mysql5.7</code>
|
|
846
841
|
* </p>
|
|
847
842
|
* </li>
|
|
@@ -1879,7 +1874,8 @@ export interface DescribeOrderableDBInstanceOptionsMessage {
|
|
|
1879
1874
|
* <ul>
|
|
1880
1875
|
* <li>
|
|
1881
1876
|
* <p>
|
|
1882
|
-
* <code>aurora-mysql</code>
|
|
1877
|
+
* <code>aurora-mysql</code>
|
|
1878
|
+
* </p>
|
|
1883
1879
|
* </li>
|
|
1884
1880
|
* <li>
|
|
1885
1881
|
* <p>
|
|
@@ -1888,6 +1884,11 @@ export interface DescribeOrderableDBInstanceOptionsMessage {
|
|
|
1888
1884
|
* </li>
|
|
1889
1885
|
* <li>
|
|
1890
1886
|
* <p>
|
|
1887
|
+
* <code>custom-oracle-ee</code>
|
|
1888
|
+
* </p>
|
|
1889
|
+
* </li>
|
|
1890
|
+
* <li>
|
|
1891
|
+
* <p>
|
|
1891
1892
|
* <code>mariadb</code>
|
|
1892
1893
|
* </p>
|
|
1893
1894
|
* </li>
|
|
@@ -3398,16 +3399,11 @@ export interface ModifyDBClusterMessage {
|
|
|
3398
3399
|
* <p>If the cluster that you're modifying has one or more read replicas, all replicas must
|
|
3399
3400
|
* be running an engine version that's the same or later than the version you
|
|
3400
3401
|
* specify.</p>
|
|
3401
|
-
* <p>To list all of the available engine versions for Aurora MySQL
|
|
3402
|
-
* use the following command:</p>
|
|
3402
|
+
* <p>To list all of the available engine versions for Aurora MySQL, use the following command:</p>
|
|
3403
3403
|
* <p>
|
|
3404
3404
|
* <code>aws rds describe-db-engine-versions --engine aurora-mysql --query
|
|
3405
3405
|
* "DBEngineVersions[].EngineVersion"</code>
|
|
3406
3406
|
* </p>
|
|
3407
|
-
* <p>To list all of the available engine versions for MySQL 5.6-compatible Aurora, use the following command:</p>
|
|
3408
|
-
* <p>
|
|
3409
|
-
* <code>aws rds describe-db-engine-versions --engine aurora --query "DBEngineVersions[].EngineVersion"</code>
|
|
3410
|
-
* </p>
|
|
3411
3407
|
* <p>To list all of the available engine versions for Aurora PostgreSQL, use the following command:</p>
|
|
3412
3408
|
* <p>
|
|
3413
3409
|
* <code>aws rds describe-db-engine-versions --engine aurora-postgresql --query "DBEngineVersions[].EngineVersion"</code>
|
|
@@ -5139,15 +5135,11 @@ export interface ModifyGlobalClusterMessage {
|
|
|
5139
5135
|
* <p>The version number of the database engine to which you want to upgrade.
|
|
5140
5136
|
* Changing this parameter results in an outage. The change is applied during
|
|
5141
5137
|
* the next maintenance window unless <code>ApplyImmediately</code> is enabled.</p>
|
|
5142
|
-
* <p>To list all of the available engine versions for <code>aurora</code> (for MySQL
|
|
5143
|
-
* <p>
|
|
5144
|
-
* <code>aws rds describe-db-engine-versions --engine aurora --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'</code>
|
|
5145
|
-
* </p>
|
|
5146
|
-
* <p>To list all of the available engine versions for <code>aurora-mysql</code> (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora), use the following command:</p>
|
|
5138
|
+
* <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>
|
|
5147
5139
|
* <p>
|
|
5148
5140
|
* <code>aws rds describe-db-engine-versions --engine aurora-mysql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'</code>
|
|
5149
5141
|
* </p>
|
|
5150
|
-
* <p>To list all of the available engine versions for <code>aurora-postgresql</code
|
|
5142
|
+
* <p>To list all of the available engine versions for <code>aurora-postgresql</code> (for PostgreSQL-based Aurora global databases), use the following command:</p>
|
|
5151
5143
|
* <p>
|
|
5152
5144
|
* <code>aws rds describe-db-engine-versions --engine aurora-postgresql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'</code>
|
|
5153
5145
|
* </p>
|
|
@@ -5806,7 +5798,7 @@ export interface RestoreDBClusterFromS3Message {
|
|
|
5806
5798
|
DBClusterIdentifier: string | undefined;
|
|
5807
5799
|
/**
|
|
5808
5800
|
* <p>The name of the DB cluster parameter group to associate
|
|
5809
|
-
* with the restored DB cluster. If this argument is omitted,
|
|
5801
|
+
* with the restored DB cluster. If this argument is omitted, the default parameter group for the engine version is used.</p>
|
|
5810
5802
|
* <p>Constraints:</p>
|
|
5811
5803
|
* <ul>
|
|
5812
5804
|
* <li>
|
|
@@ -5828,13 +5820,12 @@ export interface RestoreDBClusterFromS3Message {
|
|
|
5828
5820
|
DBSubnetGroupName?: string;
|
|
5829
5821
|
/**
|
|
5830
5822
|
* <p>The name of the database engine to be used for this DB cluster.</p>
|
|
5831
|
-
* <p>Valid Values: <code>aurora-mysql</code> (for
|
|
5823
|
+
* <p>Valid Values: <code>aurora-mysql</code> (for Aurora MySQL)</p>
|
|
5832
5824
|
*/
|
|
5833
5825
|
Engine: string | undefined;
|
|
5834
5826
|
/**
|
|
5835
5827
|
* <p>The version number of the database engine to use.</p>
|
|
5836
|
-
* <p>To list all of the available engine versions for <code>aurora-mysql</code> (MySQL
|
|
5837
|
-
* Aurora), use the following command:</p>
|
|
5828
|
+
* <p>To list all of the available engine versions for <code>aurora-mysql</code> (Aurora MySQL), use the following command:</p>
|
|
5838
5829
|
* <p>
|
|
5839
5830
|
* <code>aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"</code>
|
|
5840
5831
|
* </p>
|
|
@@ -6196,7 +6187,7 @@ export interface RestoreDBClusterFromSnapshotMessage {
|
|
|
6196
6187
|
/**
|
|
6197
6188
|
* <p>The version of the database engine to use for the new DB cluster. If you don't specify an engine version, the default version
|
|
6198
6189
|
* for the database engine in the Amazon Web Services Region is used.</p>
|
|
6199
|
-
* <p>To list all of the available engine versions for
|
|
6190
|
+
* <p>To list all of the available engine versions for Aurora MySQL, use the following command:</p>
|
|
6200
6191
|
* <p>
|
|
6201
6192
|
* <code>aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"</code>
|
|
6202
6193
|
* </p>
|
|
@@ -6347,8 +6338,7 @@ export interface RestoreDBClusterFromSnapshotMessage {
|
|
|
6347
6338
|
*/
|
|
6348
6339
|
EnableCloudwatchLogsExports?: string[];
|
|
6349
6340
|
/**
|
|
6350
|
-
* <p>The DB engine mode of the DB cluster, either <code>provisioned</code
|
|
6351
|
-
* <code>parallelquery</code>, <code>global</code>, or <code>multimaster</code>.</p>
|
|
6341
|
+
* <p>The DB engine mode of the DB cluster, either <code>provisioned</code> or <code>serverless</code>.</p>
|
|
6352
6342
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html">
|
|
6353
6343
|
* CreateDBCluster</a>.</p>
|
|
6354
6344
|
* <p>Valid for: Aurora DB clusters only</p>
|
|
@@ -6559,7 +6549,6 @@ export interface RestoreDBClusterToPointInTimeMessage {
|
|
|
6559
6549
|
* source DB cluster.</p>
|
|
6560
6550
|
* </li>
|
|
6561
6551
|
* </ul>
|
|
6562
|
-
* <p>Constraints: You can't specify <code>copy-on-write</code> if the engine version of the source DB cluster is earlier than 1.11.</p>
|
|
6563
6552
|
* <p>If you don't specify a <code>RestoreType</code> value, then the new DB cluster is
|
|
6564
6553
|
* restored as a full copy of the source DB cluster.</p>
|
|
6565
6554
|
* <p>Valid for: Aurora DB clusters and Multi-AZ DB clusters</p>
|
|
@@ -564,7 +564,7 @@ import {
|
|
|
564
564
|
SwitchoverReadReplicaCommandOutput,
|
|
565
565
|
} from "./commands/SwitchoverReadReplicaCommand";
|
|
566
566
|
import { RDSClient } from "./RDSClient";
|
|
567
|
-
export
|
|
567
|
+
export interface RDS {
|
|
568
568
|
addRoleToDBCluster(
|
|
569
569
|
args: AddRoleToDBClusterCommandInput,
|
|
570
570
|
options?: __HttpHandlerOptions
|
|
@@ -2471,3 +2471,4 @@ export declare class RDS extends RDSClient {
|
|
|
2471
2471
|
cb: (err: any, data?: SwitchoverReadReplicaCommandOutput) => void
|
|
2472
2472
|
): void;
|
|
2473
2473
|
}
|
|
2474
|
+
export declare class RDS extends RDSClient implements RDS {}
|
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.317.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,9 +21,9 @@
|
|
|
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.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
42
42
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
43
43
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
44
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
45
45
|
"@aws-sdk/types": "3.310.0",
|
|
46
46
|
"@aws-sdk/url-parser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-base64": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
49
49
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
51
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
52
52
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-retry": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|