@aws-sdk/client-rds 3.825.0 → 3.828.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/index.js +3 -0
- package/dist-es/protocols/Aws_query.js +3 -0
- package/dist-types/commands/CreateDBClusterCommand.d.ts +1 -0
- package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +7 -3
- package/dist-types/commands/DeleteDBClusterCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDBClustersCommand.d.ts +1 -0
- package/dist-types/commands/DownloadDBLogFilePortionCommand.d.ts +5 -0
- package/dist-types/commands/FailoverDBClusterCommand.d.ts +1 -0
- package/dist-types/commands/ModifyDBClusterCommand.d.ts +1 -0
- package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +1 -0
- package/dist-types/commands/RebootDBClusterCommand.d.ts +1 -0
- package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +1 -0
- package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +1 -0
- package/dist-types/commands/StartDBClusterCommand.d.ts +1 -0
- package/dist-types/commands/StopDBClusterCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +74 -24
- package/dist-types/models/models_1.d.ts +52 -22
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15318,6 +15318,9 @@ var de_DBCluster = /* @__PURE__ */ __name((output, context) => {
|
|
|
15318
15318
|
} else if (output[_TL] != null && output[_TL][_Tag] != null) {
|
|
15319
15319
|
contents[_TL] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_TL][_Tag]), context);
|
|
15320
15320
|
}
|
|
15321
|
+
if (output[_GCI] != null) {
|
|
15322
|
+
contents[_GCI] = (0, import_smithy_client.expectString)(output[_GCI]);
|
|
15323
|
+
}
|
|
15321
15324
|
if (output[_GWFS] != null) {
|
|
15322
15325
|
contents[_GWFS] = (0, import_smithy_client.expectString)(output[_GWFS]);
|
|
15323
15326
|
}
|
|
@@ -11922,6 +11922,9 @@ const de_DBCluster = (output, context) => {
|
|
|
11922
11922
|
else if (output[_TL] != null && output[_TL][_Tag] != null) {
|
|
11923
11923
|
contents[_TL] = de_TagList(__getArrayIfSingleItem(output[_TL][_Tag]), context);
|
|
11924
11924
|
}
|
|
11925
|
+
if (output[_GCI] != null) {
|
|
11926
|
+
contents[_GCI] = __expectString(output[_GCI]);
|
|
11927
|
+
}
|
|
11925
11928
|
if (output[_GWFS] != null) {
|
|
11926
11929
|
contents[_GWFS] = __expectString(output[_GWFS]);
|
|
11927
11930
|
}
|
|
@@ -257,6 +257,7 @@ declare const CreateDBClusterCommand_base: {
|
|
|
257
257
|
* // Value: "STRING_VALUE",
|
|
258
258
|
* // },
|
|
259
259
|
* // ],
|
|
260
|
+
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
260
261
|
* // GlobalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "unknown",
|
|
261
262
|
* // GlobalWriteForwardingRequested: true || false,
|
|
262
263
|
* // PendingModifiedValues: { // ClusterPendingModifiedValues
|
|
@@ -29,12 +29,16 @@ declare const CreateDBInstanceReadReplicaCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a new DB instance that acts as a read replica for an existing source DB
|
|
31
31
|
* instance or Multi-AZ DB cluster. You can create a read replica for a DB instance running
|
|
32
|
-
*
|
|
32
|
+
* MariaDB, MySQL, Oracle, PostgreSQL, or SQL Server. You can create a read replica for a
|
|
33
33
|
* Multi-AZ DB cluster running MySQL or PostgreSQL. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html">Working
|
|
34
|
-
* with read replicas</a> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html#multi-az-db-clusters-migrating-to-instance-with-read-replica">Migrating from a Multi-AZ DB cluster to a DB instance using a read replica</a>
|
|
34
|
+
* with read replicas</a> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html#multi-az-db-clusters-migrating-to-instance-with-read-replica">Migrating from a Multi-AZ DB cluster to a DB instance using a read replica</a>
|
|
35
|
+
* in the <i>Amazon RDS User Guide</i>.</p>
|
|
36
|
+
* <p>Amazon RDS for Db2 supports this operation for standby replicas. To create a standby
|
|
37
|
+
* replica for a DB instance running Db2, you must set <code>ReplicaMode</code> to
|
|
38
|
+
* <code>mounted</code>.</p>
|
|
35
39
|
* <p>Amazon Aurora doesn't support this operation. To create a DB instance for an Aurora DB cluster, use the <code>CreateDBInstance</code>
|
|
36
40
|
* operation.</p>
|
|
37
|
-
* <p>
|
|
41
|
+
* <p>RDS creates read replicas with backups disabled. All other attributes
|
|
38
42
|
* (including DB security groups and DB parameter groups) are inherited from the source DB
|
|
39
43
|
* instance or cluster, except as specified.</p>
|
|
40
44
|
* <important>
|
|
@@ -176,6 +176,7 @@ declare const DeleteDBClusterCommand_base: {
|
|
|
176
176
|
* // Value: "STRING_VALUE",
|
|
177
177
|
* // },
|
|
178
178
|
* // ],
|
|
179
|
+
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
179
180
|
* // GlobalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "unknown",
|
|
180
181
|
* // GlobalWriteForwardingRequested: true || false,
|
|
181
182
|
* // PendingModifiedValues: { // ClusterPendingModifiedValues
|
|
@@ -183,6 +183,7 @@ declare const DescribeDBClustersCommand_base: {
|
|
|
183
183
|
* // Value: "STRING_VALUE",
|
|
184
184
|
* // },
|
|
185
185
|
* // ],
|
|
186
|
+
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
186
187
|
* // GlobalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "unknown",
|
|
187
188
|
* // GlobalWriteForwardingRequested: true || false,
|
|
188
189
|
* // PendingModifiedValues: { // ClusterPendingModifiedValues
|
|
@@ -29,6 +29,11 @@ declare const DownloadDBLogFilePortionCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Downloads all or a portion of the specified log file, up to 1 MB in size.</p>
|
|
31
31
|
* <p>This command doesn't apply to RDS Custom.</p>
|
|
32
|
+
* <note>
|
|
33
|
+
* <p>This operation uses resources on database instances. Because of this, we recommend publishing database logs to CloudWatch and then
|
|
34
|
+
* using the GetLogEvents operation. For more information,
|
|
35
|
+
* see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetLogEvents.html">GetLogEvents</a> in the <i>Amazon CloudWatch Logs API Reference</i>.</p>
|
|
36
|
+
* </note>
|
|
32
37
|
* @example
|
|
33
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
39
|
* ```javascript
|
|
@@ -182,6 +182,7 @@ declare const FailoverDBClusterCommand_base: {
|
|
|
182
182
|
* // Value: "STRING_VALUE",
|
|
183
183
|
* // },
|
|
184
184
|
* // ],
|
|
185
|
+
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
185
186
|
* // GlobalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "unknown",
|
|
186
187
|
* // GlobalWriteForwardingRequested: true || false,
|
|
187
188
|
* // PendingModifiedValues: { // ClusterPendingModifiedValues
|
|
@@ -236,6 +236,7 @@ declare const ModifyDBClusterCommand_base: {
|
|
|
236
236
|
* // Value: "STRING_VALUE",
|
|
237
237
|
* // },
|
|
238
238
|
* // ],
|
|
239
|
+
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
239
240
|
* // GlobalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "unknown",
|
|
240
241
|
* // GlobalWriteForwardingRequested: true || false,
|
|
241
242
|
* // PendingModifiedValues: { // ClusterPendingModifiedValues
|
|
@@ -163,6 +163,7 @@ declare const PromoteReadReplicaDBClusterCommand_base: {
|
|
|
163
163
|
* // Value: "STRING_VALUE",
|
|
164
164
|
* // },
|
|
165
165
|
* // ],
|
|
166
|
+
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
166
167
|
* // GlobalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "unknown",
|
|
167
168
|
* // GlobalWriteForwardingRequested: true || false,
|
|
168
169
|
* // PendingModifiedValues: { // ClusterPendingModifiedValues
|
|
@@ -173,6 +173,7 @@ declare const RebootDBClusterCommand_base: {
|
|
|
173
173
|
* // Value: "STRING_VALUE",
|
|
174
174
|
* // },
|
|
175
175
|
* // ],
|
|
176
|
+
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
176
177
|
* // GlobalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "unknown",
|
|
177
178
|
* // GlobalWriteForwardingRequested: true || false,
|
|
178
179
|
* // PendingModifiedValues: { // ClusterPendingModifiedValues
|
|
@@ -231,6 +231,7 @@ declare const RestoreDBClusterFromS3Command_base: {
|
|
|
231
231
|
* // Value: "STRING_VALUE",
|
|
232
232
|
* // },
|
|
233
233
|
* // ],
|
|
234
|
+
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
234
235
|
* // GlobalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "unknown",
|
|
235
236
|
* // GlobalWriteForwardingRequested: true || false,
|
|
236
237
|
* // PendingModifiedValues: { // ClusterPendingModifiedValues
|
|
@@ -241,6 +241,7 @@ declare const RestoreDBClusterFromSnapshotCommand_base: {
|
|
|
241
241
|
* // Value: "STRING_VALUE",
|
|
242
242
|
* // },
|
|
243
243
|
* // ],
|
|
244
|
+
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
244
245
|
* // GlobalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "unknown",
|
|
245
246
|
* // GlobalWriteForwardingRequested: true || false,
|
|
246
247
|
* // PendingModifiedValues: { // ClusterPendingModifiedValues
|
|
@@ -243,6 +243,7 @@ declare const RestoreDBClusterToPointInTimeCommand_base: {
|
|
|
243
243
|
* // Value: "STRING_VALUE",
|
|
244
244
|
* // },
|
|
245
245
|
* // ],
|
|
246
|
+
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
246
247
|
* // GlobalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "unknown",
|
|
247
248
|
* // GlobalWriteForwardingRequested: true || false,
|
|
248
249
|
* // PendingModifiedValues: { // ClusterPendingModifiedValues
|
|
@@ -170,6 +170,7 @@ declare const StartDBClusterCommand_base: {
|
|
|
170
170
|
* // Value: "STRING_VALUE",
|
|
171
171
|
* // },
|
|
172
172
|
* // ],
|
|
173
|
+
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
173
174
|
* // GlobalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "unknown",
|
|
174
175
|
* // GlobalWriteForwardingRequested: true || false,
|
|
175
176
|
* // PendingModifiedValues: { // ClusterPendingModifiedValues
|
|
@@ -171,6 +171,7 @@ declare const StopDBClusterCommand_base: {
|
|
|
171
171
|
* // Value: "STRING_VALUE",
|
|
172
172
|
* // },
|
|
173
173
|
* // ],
|
|
174
|
+
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
174
175
|
* // GlobalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "unknown",
|
|
175
176
|
* // GlobalWriteForwardingRequested: true || false,
|
|
176
177
|
* // PendingModifiedValues: { // ClusterPendingModifiedValues
|
|
@@ -5462,6 +5462,12 @@ export interface DBCluster {
|
|
|
5462
5462
|
* @public
|
|
5463
5463
|
*/
|
|
5464
5464
|
TagList?: Tag[] | undefined;
|
|
5465
|
+
/**
|
|
5466
|
+
* <p>Contains a user-supplied global database cluster identifier. This identifier is the unique key that
|
|
5467
|
+
* identifies a global database cluster.</p>
|
|
5468
|
+
* @public
|
|
5469
|
+
*/
|
|
5470
|
+
GlobalClusterIdentifier?: string | undefined;
|
|
5465
5471
|
/**
|
|
5466
5472
|
* <p>The status of write forwarding for a secondary cluster in an Aurora global database.</p>
|
|
5467
5473
|
* @public
|
|
@@ -7804,7 +7810,9 @@ export interface DBSubnetGroup {
|
|
|
7804
7810
|
*/
|
|
7805
7811
|
SubnetGroupStatus?: string | undefined;
|
|
7806
7812
|
/**
|
|
7807
|
-
* <p>Contains a list of <code>Subnet</code> elements
|
|
7813
|
+
* <p>Contains a list of <code>Subnet</code> elements. The list of subnets shown
|
|
7814
|
+
* here might not reflect the current state of your VPC. For the most up-to-date information,
|
|
7815
|
+
* we recommend checking your VPC configuration directly.</p>
|
|
7808
7816
|
* @public
|
|
7809
7817
|
*/
|
|
7810
7818
|
Subnets?: Subnet[] | undefined;
|
|
@@ -8225,11 +8233,13 @@ export interface DBInstance {
|
|
|
8225
8233
|
*/
|
|
8226
8234
|
ReadReplicaDBClusterIdentifiers?: string[] | undefined;
|
|
8227
8235
|
/**
|
|
8228
|
-
* <p>The open mode of an Oracle read replica. The default is
|
|
8229
|
-
*
|
|
8230
|
-
*
|
|
8236
|
+
* <p>The open mode of a Db2 or an Oracle read replica. The default is
|
|
8237
|
+
* <code>open-read-only</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-replication.html">Working with read replicas for
|
|
8238
|
+
* Amazon RDS for Db2</a> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html">Working with read replicas
|
|
8239
|
+
* for Amazon RDS for Oracle</a> in the <i>Amazon RDS User Guide</i>. </p>
|
|
8231
8240
|
* <note>
|
|
8232
|
-
* <p>This attribute is only supported in RDS for Oracle
|
|
8241
|
+
* <p>This attribute is only supported in RDS for Db2, RDS for Oracle, and RDS Custom
|
|
8242
|
+
* for Oracle.</p>
|
|
8233
8243
|
* </note>
|
|
8234
8244
|
* @public
|
|
8235
8245
|
*/
|
|
@@ -8737,8 +8747,19 @@ export interface CreateDBInstanceReadReplicaMessage {
|
|
|
8737
8747
|
DBInstanceIdentifier: string | undefined;
|
|
8738
8748
|
/**
|
|
8739
8749
|
* <p>The identifier of the DB instance that will act as the source for the read replica.
|
|
8740
|
-
* Each DB instance can have up to 15 read replicas,
|
|
8741
|
-
*
|
|
8750
|
+
* Each DB instance can have up to 15 read replicas, except for the following
|
|
8751
|
+
* engines:</p>
|
|
8752
|
+
* <ul>
|
|
8753
|
+
* <li>
|
|
8754
|
+
* <p>Db2 - Can have up to three replicas.</p>
|
|
8755
|
+
* </li>
|
|
8756
|
+
* <li>
|
|
8757
|
+
* <p>Oracle - Can have up to five read replicas.</p>
|
|
8758
|
+
* </li>
|
|
8759
|
+
* <li>
|
|
8760
|
+
* <p>SQL Server - Can have up to five read replicas.</p>
|
|
8761
|
+
* </li>
|
|
8762
|
+
* </ul>
|
|
8742
8763
|
* <p>Constraints:</p>
|
|
8743
8764
|
* <ul>
|
|
8744
8765
|
* <li>
|
|
@@ -8836,6 +8857,14 @@ export interface CreateDBInstanceReadReplicaMessage {
|
|
|
8836
8857
|
/**
|
|
8837
8858
|
* <p>The name of the DB parameter group to associate with this read replica DB
|
|
8838
8859
|
* instance.</p>
|
|
8860
|
+
* <p>For the Db2 DB engine, if your source DB instance uses the Bring Your Own License
|
|
8861
|
+
* model, then a custom parameter group must be associated with the replica. For a same
|
|
8862
|
+
* Amazon Web Services Region replica, if you don't specify a custom parameter group, Amazon RDS
|
|
8863
|
+
* associates the custom parameter group associated with the source DB instance. For a
|
|
8864
|
+
* cross-Region replica, you must specify a custom parameter group. This custom parameter
|
|
8865
|
+
* group must include your IBM Site ID and IBM Customer ID. For more information, see
|
|
8866
|
+
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html#db2-prereqs-ibm-info"> IBM IDs
|
|
8867
|
+
* for Bring Your Own License for Db2</a>. </p>
|
|
8839
8868
|
* <p>For Single-AZ or Multi-AZ DB instance read replica instances, if you don't specify a
|
|
8840
8869
|
* value for <code>DBParameterGroupName</code>, then Amazon RDS uses the
|
|
8841
8870
|
* <code>DBParameterGroup</code> of the source DB instance for a same Region read
|
|
@@ -8846,8 +8875,8 @@ export interface CreateDBInstanceReadReplicaMessage {
|
|
|
8846
8875
|
* <code>DBParameterGroup</code>.</p>
|
|
8847
8876
|
* <p>Specifying a parameter group for this operation is only supported for MySQL DB
|
|
8848
8877
|
* instances for cross-Region read replicas, for Multi-AZ DB cluster read replica
|
|
8849
|
-
* instances, and for Oracle DB instances. It isn't supported for
|
|
8850
|
-
* same Region read replicas or for RDS Custom.</p>
|
|
8878
|
+
* instances, for Db2 DB instances, and for Oracle DB instances. It isn't supported for
|
|
8879
|
+
* MySQL DB instances for same Region read replicas or for RDS Custom.</p>
|
|
8851
8880
|
* <p>Constraints:</p>
|
|
8852
8881
|
* <ul>
|
|
8853
8882
|
* <li>
|
|
@@ -9206,19 +9235,39 @@ export interface CreateDBInstanceReadReplicaMessage {
|
|
|
9206
9235
|
*/
|
|
9207
9236
|
DomainDnsIps?: string[] | undefined;
|
|
9208
9237
|
/**
|
|
9209
|
-
* <p>The open mode of the replica database
|
|
9238
|
+
* <p>The open mode of the replica database.</p>
|
|
9210
9239
|
* <note>
|
|
9211
|
-
* <p>This parameter is only supported for
|
|
9240
|
+
* <p>This parameter is only supported for Db2 DB instances and Oracle DB
|
|
9241
|
+
* instances.</p>
|
|
9212
9242
|
* </note>
|
|
9213
|
-
* <
|
|
9214
|
-
*
|
|
9215
|
-
*
|
|
9216
|
-
*
|
|
9217
|
-
*
|
|
9218
|
-
*
|
|
9219
|
-
*
|
|
9220
|
-
*
|
|
9221
|
-
*
|
|
9243
|
+
* <dl>
|
|
9244
|
+
* <dt>Db2</dt>
|
|
9245
|
+
* <dd>
|
|
9246
|
+
* <p>Standby DB replicas are included in Db2 Advanced Edition (AE) and Db2
|
|
9247
|
+
* Standard Edition (SE). The main use case for standby replicas is
|
|
9248
|
+
* cross-Region disaster recovery. Because it doesn't accept user
|
|
9249
|
+
* connections, a standby replica can't serve a read-only workload.</p>
|
|
9250
|
+
* <p>You can create a combination of standby and read-only DB replicas for the
|
|
9251
|
+
* same primary DB instance. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-replication.html">Working with read
|
|
9252
|
+
* replicas for Amazon RDS for Db2</a> in the <i>Amazon RDS User
|
|
9253
|
+
* Guide</i>.</p>
|
|
9254
|
+
* <p>To create standby DB replicas for RDS for Db2, set this parameter to
|
|
9255
|
+
* <code>mounted</code>.</p>
|
|
9256
|
+
* </dd>
|
|
9257
|
+
* <dt>Oracle</dt>
|
|
9258
|
+
* <dd>
|
|
9259
|
+
* <p>Mounted DB replicas are included in Oracle Database Enterprise Edition. The main use case for
|
|
9260
|
+
* mounted replicas is cross-Region disaster recovery. The primary database doesn't use Active
|
|
9261
|
+
* Data Guard to transmit information to the mounted replica. Because it doesn't accept
|
|
9262
|
+
* user connections, a mounted replica can't serve a read-only workload.</p>
|
|
9263
|
+
* <p>You can create a combination of mounted and read-only DB replicas for the same primary DB instance.
|
|
9264
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html">Working with read replicas for Amazon RDS for Oracle</a>
|
|
9265
|
+
* in the <i>Amazon RDS User Guide</i>.</p>
|
|
9266
|
+
* <p>For RDS Custom, you must specify this parameter and set it to
|
|
9267
|
+
* <code>mounted</code>. The value won't be set by default. After replica
|
|
9268
|
+
* creation, you can manage the open mode manually.</p>
|
|
9269
|
+
* </dd>
|
|
9270
|
+
* </dl>
|
|
9222
9271
|
* @public
|
|
9223
9272
|
*/
|
|
9224
9273
|
ReplicaMode?: ReplicaMode | undefined;
|
|
@@ -10172,16 +10221,17 @@ export interface CreateDBShardGroupMessage {
|
|
|
10172
10221
|
*/
|
|
10173
10222
|
DBClusterIdentifier: string | undefined;
|
|
10174
10223
|
/**
|
|
10175
|
-
* <p>Specifies whether to create standby DB shard
|
|
10224
|
+
* <p>Specifies whether to create standby standby DB data access shard for the DB shard group.
|
|
10225
|
+
* Valid values are the following:</p>
|
|
10176
10226
|
* <ul>
|
|
10177
10227
|
* <li>
|
|
10178
|
-
* <p>0 - Creates a DB shard group without a standby DB shard
|
|
10228
|
+
* <p>0 - Creates a DB shard group without a standby DB data access shard. This is the default value.</p>
|
|
10179
10229
|
* </li>
|
|
10180
10230
|
* <li>
|
|
10181
|
-
* <p>1 - Creates a DB shard group with a standby DB shard
|
|
10231
|
+
* <p>1 - Creates a DB shard group with a standby DB data access shard in a different Availability Zone (AZ).</p>
|
|
10182
10232
|
* </li>
|
|
10183
10233
|
* <li>
|
|
10184
|
-
* <p>2 - Creates a DB shard group with two standby DB shard
|
|
10234
|
+
* <p>2 - Creates a DB shard group with two standby DB data access shard in two different AZs.</p>
|
|
10185
10235
|
* </li>
|
|
10186
10236
|
* </ul>
|
|
10187
10237
|
* @public
|
|
@@ -2274,11 +2274,16 @@ export interface ConnectionPoolConfigurationInfo {
|
|
|
2274
2274
|
SessionPinningFilters?: string[] | undefined;
|
|
2275
2275
|
/**
|
|
2276
2276
|
* <p>One or more SQL statements for the proxy to run when opening each new database connection.
|
|
2277
|
-
*
|
|
2278
|
-
*
|
|
2279
|
-
*
|
|
2280
|
-
*
|
|
2281
|
-
*
|
|
2277
|
+
* The setting is typically used with <code>SET</code> statements to make sure that each connection has identical settings.
|
|
2278
|
+
* The query added here must be valid. For including multiple variables in a single SET statement, use a comma separator.
|
|
2279
|
+
* This is an optional field.</p>
|
|
2280
|
+
* <p>For example: <code>SET variable1=value1, variable2=value2</code>
|
|
2281
|
+
* </p>
|
|
2282
|
+
* <important>
|
|
2283
|
+
* <p>Since you can access initialization query as part of target group configuration, it is not protected by authentication or cryptographic methods.
|
|
2284
|
+
* Anyone with access to view or manage your proxy target group configuration can view the initialization query.
|
|
2285
|
+
* You should not add sensitive data, such as passwords or long-lived encryption keys, to this option.</p>
|
|
2286
|
+
* </important>
|
|
2282
2287
|
* @public
|
|
2283
2288
|
*/
|
|
2284
2289
|
InitQuery?: string | undefined;
|
|
@@ -8629,17 +8634,40 @@ export interface ModifyDBInstanceMessage {
|
|
|
8629
8634
|
*/
|
|
8630
8635
|
CertificateRotationRestart?: boolean | undefined;
|
|
8631
8636
|
/**
|
|
8632
|
-
* <p>
|
|
8637
|
+
* <p>The open mode of a replica database.</p>
|
|
8633
8638
|
* <note>
|
|
8634
|
-
* <p>
|
|
8639
|
+
* <p>This parameter is only supported for Db2 DB instances and Oracle DB
|
|
8640
|
+
* instances.</p>
|
|
8635
8641
|
* </note>
|
|
8636
|
-
* <
|
|
8637
|
-
*
|
|
8638
|
-
*
|
|
8639
|
-
*
|
|
8640
|
-
*
|
|
8641
|
-
*
|
|
8642
|
-
*
|
|
8642
|
+
* <dl>
|
|
8643
|
+
* <dt>Db2</dt>
|
|
8644
|
+
* <dd>
|
|
8645
|
+
* <p>Standby DB replicas are included in Db2 Advanced Edition (AE) and Db2
|
|
8646
|
+
* Standard Edition (SE). The main use case for standby replicas is
|
|
8647
|
+
* cross-Region disaster recovery. Because it doesn't accept user
|
|
8648
|
+
* connections, a standby replica can't serve a read-only workload.</p>
|
|
8649
|
+
* <p>You can create a combination of standby and read-only DB replicas for the
|
|
8650
|
+
* same primary DB instance. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-replication.html">Working with read
|
|
8651
|
+
* replicas for Amazon RDS for Db2</a> in the <i>Amazon RDS User
|
|
8652
|
+
* Guide</i>.</p>
|
|
8653
|
+
* <p>To create standby DB replicas for RDS for Db2, set this parameter to
|
|
8654
|
+
* <code>mounted</code>.</p>
|
|
8655
|
+
* </dd>
|
|
8656
|
+
* <dt>Oracle</dt>
|
|
8657
|
+
* <dd>
|
|
8658
|
+
* <p>Mounted DB replicas are included in Oracle Database Enterprise Edition. The main use case for
|
|
8659
|
+
* mounted replicas is cross-Region disaster recovery. The primary database doesn't use Active
|
|
8660
|
+
* Data Guard to transmit information to the mounted replica. Because it doesn't accept
|
|
8661
|
+
* user connections, a mounted replica can't serve a read-only workload.</p>
|
|
8662
|
+
* <p>You can create a combination of mounted and read-only DB replicas for the
|
|
8663
|
+
* same primary DB instance. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html">Working with
|
|
8664
|
+
* read replicas for Amazon RDS for Oracle</a> in the <i>Amazon
|
|
8665
|
+
* RDS User Guide</i>.</p>
|
|
8666
|
+
* <p>For RDS Custom, you must specify this parameter and set it to
|
|
8667
|
+
* <code>mounted</code>. The value won't be set by default. After replica
|
|
8668
|
+
* creation, you can manage the open mode manually.</p>
|
|
8669
|
+
* </dd>
|
|
8670
|
+
* </dl>
|
|
8643
8671
|
* @public
|
|
8644
8672
|
*/
|
|
8645
8673
|
ReplicaMode?: ReplicaMode | undefined;
|
|
@@ -9044,7 +9072,7 @@ export interface ConnectionPoolConfiguration {
|
|
|
9044
9072
|
* <p>Constraints:</p>
|
|
9045
9073
|
* <ul>
|
|
9046
9074
|
* <li>
|
|
9047
|
-
* <p>Must be between 0 and
|
|
9075
|
+
* <p>Must be between 0 and 300.</p>
|
|
9048
9076
|
* </li>
|
|
9049
9077
|
* </ul>
|
|
9050
9078
|
* @public
|
|
@@ -9059,16 +9087,18 @@ export interface ConnectionPoolConfiguration {
|
|
|
9059
9087
|
*/
|
|
9060
9088
|
SessionPinningFilters?: string[] | undefined;
|
|
9061
9089
|
/**
|
|
9062
|
-
* <p>Add an initialization query, or modify the current one. You can specify one or more SQL statements for
|
|
9063
|
-
*
|
|
9064
|
-
*
|
|
9065
|
-
*
|
|
9066
|
-
* include multiple variables in a single <code>SET</code> statement, use comma
|
|
9067
|
-
* separators.</p>
|
|
9090
|
+
* <p>Add an initialization query, or modify the current one. You can specify one or more SQL statements for the proxy to run when opening each new database connection.
|
|
9091
|
+
* The setting is typically used with <code>SET</code> statements to make sure that each connection has identical settings.
|
|
9092
|
+
* Make sure the query added here is valid. This is an optional field, so you can choose to leave it empty.
|
|
9093
|
+
* For including multiple variables in a single SET statement, use a comma separator.</p>
|
|
9068
9094
|
* <p>For example: <code>SET variable1=value1, variable2=value2</code>
|
|
9069
9095
|
* </p>
|
|
9070
|
-
* <p>For multiple statements, use semicolons as the separator.</p>
|
|
9071
9096
|
* <p>Default: no initialization query</p>
|
|
9097
|
+
* <important>
|
|
9098
|
+
* <p>Since you can access initialization query as part of target group configuration, it is not protected by authentication or cryptographic methods.
|
|
9099
|
+
* Anyone with access to view or manage your proxy target group configuration can view the initialization query.
|
|
9100
|
+
* You should not add sensitive data, such as passwords or long-lived encryption keys, to this option.</p>
|
|
9101
|
+
* </important>
|
|
9072
9102
|
* @public
|
|
9073
9103
|
*/
|
|
9074
9104
|
InitQuery?: string | undefined;
|
|
@@ -1111,6 +1111,7 @@ export interface DBCluster {
|
|
|
1111
1111
|
CrossAccountClone?: boolean | undefined;
|
|
1112
1112
|
DomainMemberships?: DomainMembership[] | undefined;
|
|
1113
1113
|
TagList?: Tag[] | undefined;
|
|
1114
|
+
GlobalClusterIdentifier?: string | undefined;
|
|
1114
1115
|
GlobalWriteForwardingStatus?: WriteForwardingStatus | undefined;
|
|
1115
1116
|
GlobalWriteForwardingRequested?: boolean | undefined;
|
|
1116
1117
|
PendingModifiedValues?: ClusterPendingModifiedValues | undefined;
|
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.828.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rds",
|
|
@@ -20,39 +20,39 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.826.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.828.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.821.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.821.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.821.0",
|
|
28
|
-
"@aws-sdk/middleware-sdk-rds": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-sdk-rds": "3.826.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.828.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.821.0",
|
|
31
31
|
"@aws-sdk/types": "3.821.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.828.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.821.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.828.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.1.4",
|
|
36
|
-
"@smithy/core": "^3.5.
|
|
36
|
+
"@smithy/core": "^3.5.3",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.0.4",
|
|
38
38
|
"@smithy/hash-node": "^4.0.4",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.0.4",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.0.4",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
42
|
-
"@smithy/middleware-retry": "^4.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.1.11",
|
|
42
|
+
"@smithy/middleware-retry": "^4.1.12",
|
|
43
43
|
"@smithy/middleware-serde": "^4.0.8",
|
|
44
44
|
"@smithy/middleware-stack": "^4.0.4",
|
|
45
45
|
"@smithy/node-config-provider": "^4.1.3",
|
|
46
46
|
"@smithy/node-http-handler": "^4.0.6",
|
|
47
47
|
"@smithy/protocol-http": "^5.1.2",
|
|
48
|
-
"@smithy/smithy-client": "^4.4.
|
|
48
|
+
"@smithy/smithy-client": "^4.4.3",
|
|
49
49
|
"@smithy/types": "^4.3.1",
|
|
50
50
|
"@smithy/url-parser": "^4.0.4",
|
|
51
51
|
"@smithy/util-base64": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.0.19",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.0.19",
|
|
56
56
|
"@smithy/util-endpoints": "^3.0.6",
|
|
57
57
|
"@smithy/util-middleware": "^4.0.4",
|
|
58
58
|
"@smithy/util-retry": "^4.0.5",
|