@aws-sdk/client-rds 3.209.0 → 3.211.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.
|
@@ -6851,6 +6851,9 @@ const deserializeAws_queryRestoreDBInstanceFromDBSnapshotCommandError = async (o
|
|
|
6851
6851
|
case "BackupPolicyNotFoundFault":
|
|
6852
6852
|
case "com.amazonaws.rds#BackupPolicyNotFoundFault":
|
|
6853
6853
|
throw await deserializeAws_queryBackupPolicyNotFoundFaultResponse(parsedOutput, context);
|
|
6854
|
+
case "DBClusterSnapshotNotFoundFault":
|
|
6855
|
+
case "com.amazonaws.rds#DBClusterSnapshotNotFoundFault":
|
|
6856
|
+
throw await deserializeAws_queryDBClusterSnapshotNotFoundFaultResponse(parsedOutput, context);
|
|
6854
6857
|
case "DBInstanceAlreadyExists":
|
|
6855
6858
|
case "com.amazonaws.rds#DBInstanceAlreadyExistsFault":
|
|
6856
6859
|
throw await deserializeAws_queryDBInstanceAlreadyExistsFaultResponse(parsedOutput, context);
|
|
@@ -12773,6 +12776,9 @@ const serializeAws_queryRestoreDBInstanceFromDBSnapshotMessage = (input, context
|
|
|
12773
12776
|
if (input.StorageThroughput != null) {
|
|
12774
12777
|
entries["StorageThroughput"] = input.StorageThroughput;
|
|
12775
12778
|
}
|
|
12779
|
+
if (input.DBClusterSnapshotIdentifier != null) {
|
|
12780
|
+
entries["DBClusterSnapshotIdentifier"] = input.DBClusterSnapshotIdentifier;
|
|
12781
|
+
}
|
|
12776
12782
|
return entries;
|
|
12777
12783
|
};
|
|
12778
12784
|
const serializeAws_queryRestoreDBInstanceFromS3Message = (input, context) => {
|
|
@@ -6582,6 +6582,9 @@ const deserializeAws_queryRestoreDBInstanceFromDBSnapshotCommandError = async (o
|
|
|
6582
6582
|
case "BackupPolicyNotFoundFault":
|
|
6583
6583
|
case "com.amazonaws.rds#BackupPolicyNotFoundFault":
|
|
6584
6584
|
throw await deserializeAws_queryBackupPolicyNotFoundFaultResponse(parsedOutput, context);
|
|
6585
|
+
case "DBClusterSnapshotNotFoundFault":
|
|
6586
|
+
case "com.amazonaws.rds#DBClusterSnapshotNotFoundFault":
|
|
6587
|
+
throw await deserializeAws_queryDBClusterSnapshotNotFoundFaultResponse(parsedOutput, context);
|
|
6585
6588
|
case "DBInstanceAlreadyExists":
|
|
6586
6589
|
case "com.amazonaws.rds#DBInstanceAlreadyExistsFault":
|
|
6587
6590
|
throw await deserializeAws_queryDBInstanceAlreadyExistsFaultResponse(parsedOutput, context);
|
|
@@ -12491,6 +12494,9 @@ const serializeAws_queryRestoreDBInstanceFromDBSnapshotMessage = (input, context
|
|
|
12491
12494
|
if (input.StorageThroughput != null) {
|
|
12492
12495
|
entries["StorageThroughput"] = input.StorageThroughput;
|
|
12493
12496
|
}
|
|
12497
|
+
if (input.DBClusterSnapshotIdentifier != null) {
|
|
12498
|
+
entries["DBClusterSnapshotIdentifier"] = input.DBClusterSnapshotIdentifier;
|
|
12499
|
+
}
|
|
12494
12500
|
return entries;
|
|
12495
12501
|
};
|
|
12496
12502
|
const serializeAws_queryRestoreDBInstanceFromS3Message = (input, context) => {
|
|
@@ -5355,6 +5355,7 @@ export interface CreateDBInstanceMessage {
|
|
|
5355
5355
|
NetworkType?: string;
|
|
5356
5356
|
/**
|
|
5357
5357
|
* <p>Specifies the storage throughput value for the DB instance.</p>
|
|
5358
|
+
* <p>This setting applies only to the <code>gp3</code> storage type.</p>
|
|
5358
5359
|
* <p>This setting doesn't apply to RDS Custom or Amazon Aurora.</p>
|
|
5359
5360
|
*/
|
|
5360
5361
|
StorageThroughput?: number;
|
|
@@ -6207,6 +6208,7 @@ export interface DBInstance {
|
|
|
6207
6208
|
ActivityStreamPolicyStatus?: ActivityStreamPolicyStatus | string;
|
|
6208
6209
|
/**
|
|
6209
6210
|
* <p>Specifies the storage throughput for the DB instance.</p>
|
|
6211
|
+
* <p>This setting applies only to the <code>gp3</code> storage type.</p>
|
|
6210
6212
|
*/
|
|
6211
6213
|
StorageThroughput?: number;
|
|
6212
6214
|
}
|
|
@@ -3859,6 +3859,7 @@ export interface ModifyDBInstanceMessage {
|
|
|
3859
3859
|
NetworkType?: string;
|
|
3860
3860
|
/**
|
|
3861
3861
|
* <p>Specifies the storage throughput value for the DB instance.</p>
|
|
3862
|
+
* <p>This setting applies only to the <code>gp3</code> storage type.</p>
|
|
3862
3863
|
* <p>This setting doesn't apply to RDS Custom or Amazon Aurora.</p>
|
|
3863
3864
|
*/
|
|
3864
3865
|
StorageThroughput?: number;
|
|
@@ -5955,12 +5956,18 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
|
|
|
5955
5956
|
* <p>Must match the identifier of an existing DBSnapshot.</p>
|
|
5956
5957
|
* </li>
|
|
5957
5958
|
* <li>
|
|
5959
|
+
* <p>Can't be specified when <code>DBClusterSnapshotIdentifier</code> is specified.</p>
|
|
5960
|
+
* </li>
|
|
5961
|
+
* <li>
|
|
5962
|
+
* <p>Must be specified when <code>DBClusterSnapshotIdentifier</code> isn't specified.</p>
|
|
5963
|
+
* </li>
|
|
5964
|
+
* <li>
|
|
5958
5965
|
* <p>If you are restoring from a shared manual DB snapshot, the <code>DBSnapshotIdentifier</code>
|
|
5959
5966
|
* must be the ARN of the shared DB snapshot.</p>
|
|
5960
5967
|
* </li>
|
|
5961
5968
|
* </ul>
|
|
5962
5969
|
*/
|
|
5963
|
-
DBSnapshotIdentifier
|
|
5970
|
+
DBSnapshotIdentifier?: string;
|
|
5964
5971
|
/**
|
|
5965
5972
|
* <p>The compute and memory capacity of the Amazon RDS DB instance, for example db.m4.large.
|
|
5966
5973
|
* Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines.
|
|
@@ -6298,6 +6305,35 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
|
|
|
6298
6305
|
* <p>This setting doesn't apply to RDS Custom or Amazon Aurora.</p>
|
|
6299
6306
|
*/
|
|
6300
6307
|
StorageThroughput?: number;
|
|
6308
|
+
/**
|
|
6309
|
+
* <p>The identifier for the RDS for MySQL Multi-AZ DB cluster snapshot to restore from.</p>
|
|
6310
|
+
* <p>For more information on Multi-AZ DB clusters, see
|
|
6311
|
+
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html">
|
|
6312
|
+
* Multi-AZ deployments with two readable standby DB instances</a> in the <i>Amazon RDS User Guide</i>.</p>
|
|
6313
|
+
* <p>Constraints:</p>
|
|
6314
|
+
* <ul>
|
|
6315
|
+
* <li>
|
|
6316
|
+
* <p>Must match the identifier of an existing Multi-AZ DB cluster snapshot.</p>
|
|
6317
|
+
* </li>
|
|
6318
|
+
* <li>
|
|
6319
|
+
* <p>Can't be specified when <code>DBSnapshotIdentifier</code> is specified.</p>
|
|
6320
|
+
* </li>
|
|
6321
|
+
* <li>
|
|
6322
|
+
* <p>Must be specified when <code>DBSnapshotIdentifier</code> isn't specified.</p>
|
|
6323
|
+
* </li>
|
|
6324
|
+
* <li>
|
|
6325
|
+
* <p>If you are restoring from a shared manual Multi-AZ DB cluster snapshot, the <code>DBClusterSnapshotIdentifier</code>
|
|
6326
|
+
* must be the ARN of the shared snapshot.</p>
|
|
6327
|
+
* </li>
|
|
6328
|
+
* <li>
|
|
6329
|
+
* <p>Can't be the identifier of an Aurora DB cluster snapshot.</p>
|
|
6330
|
+
* </li>
|
|
6331
|
+
* <li>
|
|
6332
|
+
* <p>Can't be the identifier of an RDS for PostgreSQL Multi-AZ DB cluster snapshot.</p>
|
|
6333
|
+
* </li>
|
|
6334
|
+
* </ul>
|
|
6335
|
+
*/
|
|
6336
|
+
DBClusterSnapshotIdentifier?: string;
|
|
6301
6337
|
}
|
|
6302
6338
|
export interface RestoreDBInstanceFromDBSnapshotResult {
|
|
6303
6339
|
/**
|
|
@@ -1039,7 +1039,7 @@ export interface RestoreDBClusterToPointInTimeResult {
|
|
|
1039
1039
|
}
|
|
1040
1040
|
export interface RestoreDBInstanceFromDBSnapshotMessage {
|
|
1041
1041
|
DBInstanceIdentifier: string | undefined;
|
|
1042
|
-
DBSnapshotIdentifier
|
|
1042
|
+
DBSnapshotIdentifier?: string;
|
|
1043
1043
|
DBInstanceClass?: string;
|
|
1044
1044
|
Port?: number;
|
|
1045
1045
|
AvailabilityZone?: string;
|
|
@@ -1071,6 +1071,7 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
|
|
|
1071
1071
|
BackupTarget?: string;
|
|
1072
1072
|
NetworkType?: string;
|
|
1073
1073
|
StorageThroughput?: number;
|
|
1074
|
+
DBClusterSnapshotIdentifier?: string;
|
|
1074
1075
|
}
|
|
1075
1076
|
export interface RestoreDBInstanceFromDBSnapshotResult {
|
|
1076
1077
|
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.211.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.211.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.209.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.211.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.208.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.208.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.208.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.209.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-node": "3.209.0",
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.211.0",
|
|
51
51
|
"@aws-sdk/util-user-agent-browser": "3.208.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-node": "3.209.0",
|
|
53
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|