@aws-sdk/client-rds 3.823.0 → 3.826.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 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
@@ -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.</p>
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;
@@ -10172,16 +10180,17 @@ export interface CreateDBShardGroupMessage {
10172
10180
  */
10173
10181
  DBClusterIdentifier: string | undefined;
10174
10182
  /**
10175
- * <p>Specifies whether to create standby DB shard groups for the DB shard group. Valid values are the following:</p>
10183
+ * <p>Specifies whether to create standby standby DB data access shard for the DB shard group.
10184
+ * Valid values are the following:</p>
10176
10185
  * <ul>
10177
10186
  * <li>
10178
- * <p>0 - Creates a DB shard group without a standby DB shard group. This is the default value.</p>
10187
+ * <p>0 - Creates a DB shard group without a standby DB data access shard. This is the default value.</p>
10179
10188
  * </li>
10180
10189
  * <li>
10181
- * <p>1 - Creates a DB shard group with a standby DB shard group in a different Availability Zone (AZ).</p>
10190
+ * <p>1 - Creates a DB shard group with a standby DB data access shard in a different Availability Zone (AZ).</p>
10182
10191
  * </li>
10183
10192
  * <li>
10184
- * <p>2 - Creates a DB shard group with two standby DB shard groups in two different AZs.</p>
10193
+ * <p>2 - Creates a DB shard group with two standby DB data access shard in two different AZs.</p>
10185
10194
  * </li>
10186
10195
  * </ul>
10187
10196
  * @public
@@ -2274,11 +2274,11 @@ 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
- * Typically used with <code>SET</code> statements to make sure that each connection has identical
2278
- * settings such as time zone and character set. This setting is empty by default.
2279
- * For multiple statements, use semicolons as the separator.
2280
- * You can also include multiple variables in a single <code>SET</code> statement, such as
2281
- * <code>SET x=1, y=2</code>.</p>
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
2282
  * @public
2283
2283
  */
2284
2284
  InitQuery?: string | undefined;
@@ -9044,7 +9044,7 @@ export interface ConnectionPoolConfiguration {
9044
9044
  * <p>Constraints:</p>
9045
9045
  * <ul>
9046
9046
  * <li>
9047
- * <p>Must be between 0 and 3600.</p>
9047
+ * <p>Must be between 0 and 300.</p>
9048
9048
  * </li>
9049
9049
  * </ul>
9050
9050
  * @public
@@ -9059,15 +9059,12 @@ export interface ConnectionPoolConfiguration {
9059
9059
  */
9060
9060
  SessionPinningFilters?: string[] | undefined;
9061
9061
  /**
9062
- * <p>Add an initialization query, or modify the current one. You can specify one or more SQL statements for
9063
- * the proxy to run when opening each new database connection. The setting is
9064
- * typically used with <code>SET</code> statements to make sure that each
9065
- * connection has identical settings. Make sure that the query you add is valid. To
9066
- * include multiple variables in a single <code>SET</code> statement, use comma
9067
- * separators.</p>
9062
+ * <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.
9063
+ * The setting is typically used with <code>SET</code> statements to make sure that each connection has identical settings.
9064
+ * Make sure the query added here is valid. This is an optional field, so you can choose to leave it empty.
9065
+ * For including multiple variables in a single SET statement, use a comma separator.</p>
9068
9066
  * <p>For example: <code>SET variable1=value1, variable2=value2</code>
9069
9067
  * </p>
9070
- * <p>For multiple statements, use semicolons as the separator.</p>
9071
9068
  * <p>Default: no initialization query</p>
9072
9069
  * @public
9073
9070
  */
@@ -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.823.0",
4
+ "version": "3.826.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.823.0",
24
- "@aws-sdk/credential-provider-node": "3.823.0",
23
+ "@aws-sdk/core": "3.826.0",
24
+ "@aws-sdk/credential-provider-node": "3.826.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.821.0",
29
- "@aws-sdk/middleware-user-agent": "3.823.0",
28
+ "@aws-sdk/middleware-sdk-rds": "3.826.0",
29
+ "@aws-sdk/middleware-user-agent": "3.826.0",
30
30
  "@aws-sdk/region-config-resolver": "3.821.0",
31
31
  "@aws-sdk/types": "3.821.0",
32
32
  "@aws-sdk/util-endpoints": "3.821.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.821.0",
34
- "@aws-sdk/util-user-agent-node": "3.823.0",
34
+ "@aws-sdk/util-user-agent-node": "3.826.0",
35
35
  "@smithy/config-resolver": "^4.1.4",
36
- "@smithy/core": "^3.5.1",
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.9",
42
- "@smithy/middleware-retry": "^4.1.10",
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.1",
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.17",
55
- "@smithy/util-defaults-mode-node": "^4.0.17",
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",