@aws-sdk/client-rds 3.516.0 → 3.522.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.
Files changed (36) hide show
  1. package/dist-cjs/index.js +9 -0
  2. package/dist-cjs/runtimeConfig.browser.js +1 -1
  3. package/dist-cjs/runtimeConfig.js +1 -1
  4. package/dist-es/protocols/Aws_query.js +9 -0
  5. package/dist-es/runtimeConfig.browser.js +1 -1
  6. package/dist-es/runtimeConfig.js +1 -1
  7. package/dist-types/RDSClient.d.ts +4 -4
  8. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +1 -0
  9. package/dist-types/commands/CreateDBClusterCommand.d.ts +1 -0
  10. package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +1 -0
  11. package/dist-types/commands/DeleteDBClusterAutomatedBackupCommand.d.ts +1 -0
  12. package/dist-types/commands/DeleteDBClusterCommand.d.ts +1 -0
  13. package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +1 -0
  14. package/dist-types/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +1 -0
  15. package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +1 -0
  16. package/dist-types/commands/DescribeDBClustersCommand.d.ts +1 -0
  17. package/dist-types/commands/FailoverDBClusterCommand.d.ts +1 -0
  18. package/dist-types/commands/ModifyDBClusterCommand.d.ts +1 -0
  19. package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +1 -0
  20. package/dist-types/commands/RebootDBClusterCommand.d.ts +1 -0
  21. package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +1 -0
  22. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +1 -0
  23. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +1 -0
  24. package/dist-types/commands/StartDBClusterCommand.d.ts +1 -0
  25. package/dist-types/commands/StopDBClusterCommand.d.ts +1 -0
  26. package/dist-types/models/models_0.d.ts +18 -0
  27. package/dist-types/models/models_1.d.ts +1 -4
  28. package/dist-types/runtimeConfig.browser.d.ts +1 -4
  29. package/dist-types/runtimeConfig.d.ts +1 -4
  30. package/dist-types/runtimeConfig.native.d.ts +1 -4
  31. package/dist-types/ts3.4/RDSClient.d.ts +3 -3
  32. package/dist-types/ts3.4/models/models_0.d.ts +3 -0
  33. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -13
  34. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -14
  35. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -13
  36. package/package.json +36 -36
package/dist-cjs/index.js CHANGED
@@ -15062,6 +15062,9 @@ var de_DBCluster = /* @__PURE__ */ __name((output, context) => {
15062
15062
  if (output[_LD] != null) {
15063
15063
  contents[_LD] = de_LimitlessDatabase(output[_LD], context);
15064
15064
  }
15065
+ if (output[_STt] != null) {
15066
+ contents[_STt] = (0, import_smithy_client.strictParseInt32)(output[_STt]);
15067
+ }
15065
15068
  return contents;
15066
15069
  }, "de_DBCluster");
15067
15070
  var de_DBClusterAlreadyExistsFault = /* @__PURE__ */ __name((output, context) => {
@@ -15147,6 +15150,9 @@ var de_DBClusterAutomatedBackup = /* @__PURE__ */ __name((output, context) => {
15147
15150
  if (output[_ABRPA] != null) {
15148
15151
  contents[_ABRPA] = (0, import_smithy_client.expectString)(output[_ABRPA]);
15149
15152
  }
15153
+ if (output[_STt] != null) {
15154
+ contents[_STt] = (0, import_smithy_client.strictParseInt32)(output[_STt]);
15155
+ }
15150
15156
  return contents;
15151
15157
  }, "de_DBClusterAutomatedBackup");
15152
15158
  var de_DBClusterAutomatedBackupList = /* @__PURE__ */ __name((output, context) => {
@@ -15567,6 +15573,9 @@ var de_DBClusterSnapshot = /* @__PURE__ */ __name((output, context) => {
15567
15573
  if (output[_DCRI] != null) {
15568
15574
  contents[_DCRI] = (0, import_smithy_client.expectString)(output[_DCRI]);
15569
15575
  }
15576
+ if (output[_STt] != null) {
15577
+ contents[_STt] = (0, import_smithy_client.strictParseInt32)(output[_STt]);
15578
+ }
15570
15579
  return contents;
15571
15580
  }, "de_DBClusterSnapshot");
15572
15581
  var de_DBClusterSnapshotAlreadyExistsFault = /* @__PURE__ */ __name((output, context) => {
@@ -28,7 +28,7 @@ const getRuntimeConfig = (config) => {
28
28
  (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
29
  maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
30
  region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
- requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
31
+ requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
32
32
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
33
33
  sha256: config?.sha256 ?? sha256_browser_1.Sha256,
34
34
  streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
@@ -34,7 +34,7 @@ const getRuntimeConfig = (config) => {
34
34
  (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
35
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
36
  region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
- requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
37
+ requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
38
38
  retryMode: config?.retryMode ??
39
39
  (0, node_config_provider_1.loadConfig)({
40
40
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
@@ -11731,6 +11731,9 @@ const de_DBCluster = (output, context) => {
11731
11731
  if (output[_LD] != null) {
11732
11732
  contents[_LD] = de_LimitlessDatabase(output[_LD], context);
11733
11733
  }
11734
+ if (output[_STt] != null) {
11735
+ contents[_STt] = __strictParseInt32(output[_STt]);
11736
+ }
11734
11737
  return contents;
11735
11738
  };
11736
11739
  const de_DBClusterAlreadyExistsFault = (output, context) => {
@@ -11817,6 +11820,9 @@ const de_DBClusterAutomatedBackup = (output, context) => {
11817
11820
  if (output[_ABRPA] != null) {
11818
11821
  contents[_ABRPA] = __expectString(output[_ABRPA]);
11819
11822
  }
11823
+ if (output[_STt] != null) {
11824
+ contents[_STt] = __strictParseInt32(output[_STt]);
11825
+ }
11820
11826
  return contents;
11821
11827
  };
11822
11828
  const de_DBClusterAutomatedBackupList = (output, context) => {
@@ -12263,6 +12269,9 @@ const de_DBClusterSnapshot = (output, context) => {
12263
12269
  if (output[_DCRI] != null) {
12264
12270
  contents[_DCRI] = __expectString(output[_DCRI]);
12265
12271
  }
12272
+ if (output[_STt] != null) {
12273
+ contents[_STt] = __strictParseInt32(output[_STt]);
12274
+ }
12266
12275
  return contents;
12267
12276
  };
12268
12277
  const de_DBClusterSnapshotAlreadyExistsFault = (output, context) => {
@@ -24,7 +24,7 @@ export const getRuntimeConfig = (config) => {
24
24
  defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
25
25
  maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
26
26
  region: config?.region ?? invalidProvider("Region is missing"),
27
- requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
27
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
28
28
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
29
29
  sha256: config?.sha256 ?? Sha256,
30
30
  streamCollector: config?.streamCollector ?? streamCollector,
@@ -30,7 +30,7 @@ export const getRuntimeConfig = (config) => {
30
30
  defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
31
31
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
32
32
  region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
33
- requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
33
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
34
34
  retryMode: config?.retryMode ??
35
35
  loadNodeConfig({
36
36
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
@@ -3,7 +3,7 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
3
3
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
4
  import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
6
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
8
  import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
@@ -182,11 +182,11 @@ export type ServiceOutputTypes = AddRoleToDBClusterCommandOutput | AddRoleToDBIn
182
182
  /**
183
183
  * @public
184
184
  */
185
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
185
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
186
186
  /**
187
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
187
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
188
188
  */
189
- requestHandler?: __HttpHandler;
189
+ requestHandler?: __HttpHandlerUserInput;
190
190
  /**
191
191
  * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
192
192
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
@@ -118,6 +118,7 @@ declare const CopyDBClusterSnapshotCommand_base: {
118
118
  * // DBSystemId: "STRING_VALUE",
119
119
  * // StorageType: "STRING_VALUE",
120
120
  * // DbClusterResourceId: "STRING_VALUE",
121
+ * // StorageThroughput: Number("int"),
121
122
  * // },
122
123
  * // };
123
124
  *
@@ -304,6 +304,7 @@ declare const CreateDBClusterCommand_base: {
304
304
  * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
305
305
  * // MinRequiredACU: Number("double"),
306
306
  * // },
307
+ * // StorageThroughput: Number("int"),
307
308
  * // },
308
309
  * // };
309
310
  *
@@ -84,6 +84,7 @@ declare const CreateDBClusterSnapshotCommand_base: {
84
84
  * // DBSystemId: "STRING_VALUE",
85
85
  * // StorageType: "STRING_VALUE",
86
86
  * // DbClusterResourceId: "STRING_VALUE",
87
+ * // StorageThroughput: Number("int"),
87
88
  * // },
88
89
  * // };
89
90
  *
@@ -70,6 +70,7 @@ declare const DeleteDBClusterAutomatedBackupCommand_base: {
70
70
  * // StorageType: "STRING_VALUE",
71
71
  * // Iops: Number("int"),
72
72
  * // AwsBackupRecoveryPointArn: "STRING_VALUE",
73
+ * // StorageThroughput: Number("int"),
73
74
  * // },
74
75
  * // };
75
76
  *
@@ -228,6 +228,7 @@ declare const DeleteDBClusterCommand_base: {
228
228
  * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
229
229
  * // MinRequiredACU: Number("double"),
230
230
  * // },
231
+ * // StorageThroughput: Number("int"),
231
232
  * // },
232
233
  * // };
233
234
  *
@@ -82,6 +82,7 @@ declare const DeleteDBClusterSnapshotCommand_base: {
82
82
  * // DBSystemId: "STRING_VALUE",
83
83
  * // StorageType: "STRING_VALUE",
84
84
  * // DbClusterResourceId: "STRING_VALUE",
85
+ * // StorageThroughput: Number("int"),
85
86
  * // },
86
87
  * // };
87
88
  *
@@ -85,6 +85,7 @@ declare const DescribeDBClusterAutomatedBackupsCommand_base: {
85
85
  * // StorageType: "STRING_VALUE",
86
86
  * // Iops: Number("int"),
87
87
  * // AwsBackupRecoveryPointArn: "STRING_VALUE",
88
+ * // StorageThroughput: Number("int"),
88
89
  * // },
89
90
  * // ],
90
91
  * // };
@@ -95,6 +95,7 @@ declare const DescribeDBClusterSnapshotsCommand_base: {
95
95
  * // DBSystemId: "STRING_VALUE",
96
96
  * // StorageType: "STRING_VALUE",
97
97
  * // DbClusterResourceId: "STRING_VALUE",
98
+ * // StorageThroughput: Number("int"),
98
99
  * // },
99
100
  * // ],
100
101
  * // };
@@ -235,6 +235,7 @@ declare const DescribeDBClustersCommand_base: {
235
235
  * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
236
236
  * // MinRequiredACU: Number("double"),
237
237
  * // },
238
+ * // StorageThroughput: Number("int"),
238
239
  * // },
239
240
  * // ],
240
241
  * // };
@@ -234,6 +234,7 @@ declare const FailoverDBClusterCommand_base: {
234
234
  * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
235
235
  * // MinRequiredACU: Number("double"),
236
236
  * // },
237
+ * // StorageThroughput: Number("int"),
237
238
  * // },
238
239
  * // };
239
240
  *
@@ -285,6 +285,7 @@ declare const ModifyDBClusterCommand_base: {
285
285
  * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
286
286
  * // MinRequiredACU: Number("double"),
287
287
  * // },
288
+ * // StorageThroughput: Number("int"),
288
289
  * // },
289
290
  * // };
290
291
  *
@@ -215,6 +215,7 @@ declare const PromoteReadReplicaDBClusterCommand_base: {
215
215
  * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
216
216
  * // MinRequiredACU: Number("double"),
217
217
  * // },
218
+ * // StorageThroughput: Number("int"),
218
219
  * // },
219
220
  * // };
220
221
  *
@@ -225,6 +225,7 @@ declare const RebootDBClusterCommand_base: {
225
225
  * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
226
226
  * // MinRequiredACU: Number("double"),
227
227
  * // },
228
+ * // StorageThroughput: Number("int"),
228
229
  * // },
229
230
  * // };
230
231
  *
@@ -281,6 +281,7 @@ declare const RestoreDBClusterFromS3Command_base: {
281
281
  * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
282
282
  * // MinRequiredACU: Number("double"),
283
283
  * // },
284
+ * // StorageThroughput: Number("int"),
284
285
  * // },
285
286
  * // };
286
287
  *
@@ -286,6 +286,7 @@ declare const RestoreDBClusterFromSnapshotCommand_base: {
286
286
  * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
287
287
  * // MinRequiredACU: Number("double"),
288
288
  * // },
289
+ * // StorageThroughput: Number("int"),
289
290
  * // },
290
291
  * // };
291
292
  *
@@ -285,6 +285,7 @@ declare const RestoreDBClusterToPointInTimeCommand_base: {
285
285
  * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
286
286
  * // MinRequiredACU: Number("double"),
287
287
  * // },
288
+ * // StorageThroughput: Number("int"),
288
289
  * // },
289
290
  * // };
290
291
  *
@@ -222,6 +222,7 @@ declare const StartDBClusterCommand_base: {
222
222
  * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
223
223
  * // MinRequiredACU: Number("double"),
224
224
  * // },
225
+ * // StorageThroughput: Number("int"),
225
226
  * // },
226
227
  * // };
227
228
  *
@@ -223,6 +223,7 @@ declare const StopDBClusterCommand_base: {
223
223
  * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
224
224
  * // MinRequiredACU: Number("double"),
225
225
  * // },
226
+ * // StorageThroughput: Number("int"),
226
227
  * // },
227
228
  * // };
228
229
  *
@@ -1642,6 +1642,12 @@ export interface DBClusterSnapshot {
1642
1642
  * <p>The resource ID of the DB cluster that this DB cluster snapshot was created from.</p>
1643
1643
  */
1644
1644
  DbClusterResourceId?: string;
1645
+ /**
1646
+ * @public
1647
+ * <p>The storage throughput for the DB cluster snapshot. The throughput is automatically set based on the IOPS that you provision, and is not configurable.</p>
1648
+ * <p>This setting is only for non-Aurora Multi-AZ DB clusters.</p>
1649
+ */
1650
+ StorageThroughput?: number;
1645
1651
  }
1646
1652
  /**
1647
1653
  * @public
@@ -5275,6 +5281,12 @@ export interface DBCluster {
5275
5281
  * <p>The details for Aurora Limitless Database.</p>
5276
5282
  */
5277
5283
  LimitlessDatabase?: LimitlessDatabase;
5284
+ /**
5285
+ * @public
5286
+ * <p>The storage throughput for the DB cluster. The throughput is automatically set based on the IOPS that you provision, and is not configurable.</p>
5287
+ * <p>This setting is only for non-Aurora Multi-AZ DB clusters.</p>
5288
+ */
5289
+ StorageThroughput?: number;
5278
5290
  }
5279
5291
  /**
5280
5292
  * @public
@@ -11318,6 +11330,12 @@ export interface DBClusterAutomatedBackup {
11318
11330
  * <p>The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.</p>
11319
11331
  */
11320
11332
  AwsBackupRecoveryPointArn?: string;
11333
+ /**
11334
+ * @public
11335
+ * <p>The storage throughput for the automated backup. The throughput is automatically set based on the IOPS that you provision, and is not configurable.</p>
11336
+ * <p>This setting is only for non-Aurora Multi-AZ DB clusters.</p>
11337
+ */
11338
+ StorageThroughput?: number;
11321
11339
  }
11322
11340
  /**
11323
11341
  * @public
@@ -11479,7 +11479,7 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
11479
11479
  StorageThroughput?: number;
11480
11480
  /**
11481
11481
  * @public
11482
- * <p>The identifier for the RDS for MySQL Multi-AZ DB cluster snapshot to restore from.</p>
11482
+ * <p>The identifier for the Multi-AZ DB cluster snapshot to restore from.</p>
11483
11483
  * <p>For more information on Multi-AZ DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html"> Multi-AZ DB
11484
11484
  * cluster deployments</a> in the <i>Amazon RDS User
11485
11485
  * Guide</i>.</p>
@@ -11501,9 +11501,6 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
11501
11501
  * <li>
11502
11502
  * <p>Can't be the identifier of an Aurora DB cluster snapshot.</p>
11503
11503
  * </li>
11504
- * <li>
11505
- * <p>Can't be the identifier of an RDS for PostgreSQL Multi-AZ DB cluster snapshot.</p>
11506
- * </li>
11507
11504
  * </ul>
11508
11505
  */
11509
11506
  DBClusterSnapshotIdentifier?: string;
@@ -11,10 +11,7 @@ export declare const getRuntimeConfig: (config: RDSClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
- updateHttpClientConfig(key: never, value: never): void;
16
- httpHandlerConfigs(): {};
17
- }) | RequestHandler;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
18
15
  retryMode: string | import("@smithy/types").Provider<string>;
19
16
  sha256: import("@smithy/types").HashConstructor;
20
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -11,10 +11,7 @@ export declare const getRuntimeConfig: (config: RDSClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
- updateHttpClientConfig(key: never, value: never): void;
16
- httpHandlerConfigs(): {};
17
- }) | RequestHandler;
14
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
18
15
  retryMode: string | import("@smithy/types").Provider<string>;
19
16
  sha256: import("@smithy/types").HashConstructor;
20
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,10 +5,7 @@ import { RDSClientConfig } from "./RDSClient";
5
5
  export declare const getRuntimeConfig: (config: RDSClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
9
- updateHttpClientConfig(key: never, value: never): void;
10
- httpHandlerConfigs(): {};
11
- }) | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
12
9
  apiVersion: string;
13
10
  urlParser: import("@smithy/types").UrlParser;
14
11
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -18,7 +18,7 @@ import {
18
18
  RetryInputConfig,
19
19
  RetryResolvedConfig,
20
20
  } from "@smithy/middleware-retry";
21
- import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
22
  import {
23
23
  Client as __Client,
24
24
  DefaultsMode as __DefaultsMode,
@@ -1021,8 +1021,8 @@ export type ServiceOutputTypes =
1021
1021
  | SwitchoverGlobalClusterCommandOutput
1022
1022
  | SwitchoverReadReplicaCommandOutput;
1023
1023
  export interface ClientDefaults
1024
- extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
1025
- requestHandler?: __HttpHandler;
1024
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
1025
+ requestHandler?: __HttpHandlerUserInput;
1026
1026
  sha256?: __ChecksumConstructor | __HashConstructor;
1027
1027
  urlParser?: __UrlParser;
1028
1028
  bodyLengthChecker?: __BodyLengthCalculator;
@@ -431,6 +431,7 @@ export interface DBClusterSnapshot {
431
431
  DBSystemId?: string;
432
432
  StorageType?: string;
433
433
  DbClusterResourceId?: string;
434
+ StorageThroughput?: number;
434
435
  }
435
436
  export interface CopyDBClusterSnapshotResult {
436
437
  DBClusterSnapshot?: DBClusterSnapshot;
@@ -1093,6 +1094,7 @@ export interface DBCluster {
1093
1094
  LocalWriteForwardingStatus?: LocalWriteForwardingStatus;
1094
1095
  AwsBackupRecoveryPointArn?: string;
1095
1096
  LimitlessDatabase?: LimitlessDatabase;
1097
+ StorageThroughput?: number;
1096
1098
  }
1097
1099
  export interface CreateDBClusterResult {
1098
1100
  DBCluster?: DBCluster;
@@ -2251,6 +2253,7 @@ export interface DBClusterAutomatedBackup {
2251
2253
  StorageType?: string;
2252
2254
  Iops?: number;
2253
2255
  AwsBackupRecoveryPointArn?: string;
2256
+ StorageThroughput?: number;
2254
2257
  }
2255
2258
  export interface DeleteDBClusterAutomatedBackupResult {
2256
2259
  DBClusterAutomatedBackup?: DBClusterAutomatedBackup;
@@ -15,19 +15,7 @@ export declare const getRuntimeConfig: (config: RDSClientConfig) => {
15
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
16
16
  region: string | import("@smithy/types").Provider<any>;
17
17
  requestHandler:
18
- | (import("@smithy/types").RequestHandler<
19
- any,
20
- any,
21
- import("@smithy/types").HttpHandlerOptions
22
- > &
23
- import("@smithy/types").RequestHandler<
24
- import("@smithy/protocol-http").HttpRequest,
25
- import("@smithy/protocol-http").HttpResponse,
26
- import("@smithy/types").HttpHandlerOptions
27
- > & {
28
- updateHttpClientConfig(key: never, value: never): void;
29
- httpHandlerConfigs(): {};
30
- })
18
+ | import("@smithy/protocol-http").HttpHandler<any>
31
19
  | RequestHandler;
32
20
  retryMode: string | import("@smithy/types").Provider<string>;
33
21
  sha256: import("@smithy/types").HashConstructor;
@@ -19,20 +19,8 @@ export declare const getRuntimeConfig: (config: RDSClientConfig) => {
19
19
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
20
  region: string | import("@smithy/types").Provider<string>;
21
21
  requestHandler:
22
- | (import("@smithy/types").RequestHandler<
23
- any,
24
- any,
25
- import("@smithy/types").HttpHandlerOptions
26
- > &
27
- import("@smithy/types").RequestHandler<
28
- import("@smithy/protocol-http").HttpRequest,
29
- import("@smithy/protocol-http").HttpResponse,
30
- import("@smithy/types").HttpHandlerOptions
31
- > & {
32
- updateHttpClientConfig(key: never, value: never): void;
33
- httpHandlerConfigs(): {};
34
- })
35
- | RequestHandler;
22
+ | RequestHandler
23
+ | import("@smithy/protocol-http").HttpHandler<any>;
36
24
  retryMode: string | import("@smithy/types").Provider<string>;
37
25
  sha256: import("@smithy/types").HashConstructor;
38
26
  streamCollector: import("@smithy/types").StreamCollector;
@@ -3,19 +3,10 @@ export declare const getRuntimeConfig: (config: RDSClientConfig) => {
3
3
  runtime: string;
4
4
  sha256: import("@smithy/types").HashConstructor;
5
5
  requestHandler:
6
- | (import("@smithy/types").RequestHandler<
7
- any,
8
- any,
9
- import("@smithy/types").HttpHandlerOptions
10
- > &
11
- import("@smithy/types").RequestHandler<
12
- import("@smithy/protocol-http").HttpRequest,
13
- import("@smithy/protocol-http").HttpResponse,
14
- import("@smithy/types").HttpHandlerOptions
15
- > & {
16
- updateHttpClientConfig(key: never, value: never): void;
17
- httpHandlerConfigs(): {};
18
- })
6
+ | import("@smithy/types").NodeHttpHandlerOptions
7
+ | import("@smithy/types").FetchHttpHandlerOptions
8
+ | Record<string, unknown>
9
+ | import("@smithy/protocol-http").HttpHandler<any>
19
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
20
11
  apiVersion: string;
21
12
  urlParser: import("@smithy/types").UrlParser;
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.516.0",
4
+ "version": "3.522.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,45 +20,45 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.515.0",
24
- "@aws-sdk/core": "3.513.0",
25
- "@aws-sdk/credential-provider-node": "3.515.0",
26
- "@aws-sdk/middleware-host-header": "3.515.0",
27
- "@aws-sdk/middleware-logger": "3.515.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.515.0",
29
- "@aws-sdk/middleware-sdk-rds": "3.515.0",
30
- "@aws-sdk/middleware-user-agent": "3.515.0",
31
- "@aws-sdk/region-config-resolver": "3.515.0",
32
- "@aws-sdk/types": "3.515.0",
33
- "@aws-sdk/util-endpoints": "3.515.0",
34
- "@aws-sdk/util-user-agent-browser": "3.515.0",
35
- "@aws-sdk/util-user-agent-node": "3.515.0",
36
- "@smithy/config-resolver": "^2.1.1",
37
- "@smithy/core": "^1.3.2",
38
- "@smithy/fetch-http-handler": "^2.4.1",
39
- "@smithy/hash-node": "^2.1.1",
40
- "@smithy/invalid-dependency": "^2.1.1",
41
- "@smithy/middleware-content-length": "^2.1.1",
42
- "@smithy/middleware-endpoint": "^2.4.1",
43
- "@smithy/middleware-retry": "^2.1.1",
44
- "@smithy/middleware-serde": "^2.1.1",
45
- "@smithy/middleware-stack": "^2.1.1",
46
- "@smithy/node-config-provider": "^2.2.1",
47
- "@smithy/node-http-handler": "^2.3.1",
48
- "@smithy/protocol-http": "^3.1.1",
49
- "@smithy/smithy-client": "^2.3.1",
50
- "@smithy/types": "^2.9.1",
51
- "@smithy/url-parser": "^2.1.1",
23
+ "@aws-sdk/client-sts": "3.521.0",
24
+ "@aws-sdk/core": "3.521.0",
25
+ "@aws-sdk/credential-provider-node": "3.521.0",
26
+ "@aws-sdk/middleware-host-header": "3.521.0",
27
+ "@aws-sdk/middleware-logger": "3.521.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.521.0",
29
+ "@aws-sdk/middleware-sdk-rds": "3.521.0",
30
+ "@aws-sdk/middleware-user-agent": "3.521.0",
31
+ "@aws-sdk/region-config-resolver": "3.521.0",
32
+ "@aws-sdk/types": "3.521.0",
33
+ "@aws-sdk/util-endpoints": "3.521.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.521.0",
35
+ "@aws-sdk/util-user-agent-node": "3.521.0",
36
+ "@smithy/config-resolver": "^2.1.2",
37
+ "@smithy/core": "^1.3.3",
38
+ "@smithy/fetch-http-handler": "^2.4.2",
39
+ "@smithy/hash-node": "^2.1.2",
40
+ "@smithy/invalid-dependency": "^2.1.2",
41
+ "@smithy/middleware-content-length": "^2.1.2",
42
+ "@smithy/middleware-endpoint": "^2.4.2",
43
+ "@smithy/middleware-retry": "^2.1.2",
44
+ "@smithy/middleware-serde": "^2.1.2",
45
+ "@smithy/middleware-stack": "^2.1.2",
46
+ "@smithy/node-config-provider": "^2.2.2",
47
+ "@smithy/node-http-handler": "^2.4.0",
48
+ "@smithy/protocol-http": "^3.2.0",
49
+ "@smithy/smithy-client": "^2.4.0",
50
+ "@smithy/types": "^2.10.0",
51
+ "@smithy/url-parser": "^2.1.2",
52
52
  "@smithy/util-base64": "^2.1.1",
53
53
  "@smithy/util-body-length-browser": "^2.1.1",
54
54
  "@smithy/util-body-length-node": "^2.2.1",
55
- "@smithy/util-defaults-mode-browser": "^2.1.1",
56
- "@smithy/util-defaults-mode-node": "^2.2.0",
57
- "@smithy/util-endpoints": "^1.1.1",
58
- "@smithy/util-middleware": "^2.1.1",
59
- "@smithy/util-retry": "^2.1.1",
55
+ "@smithy/util-defaults-mode-browser": "^2.1.2",
56
+ "@smithy/util-defaults-mode-node": "^2.2.1",
57
+ "@smithy/util-endpoints": "^1.1.2",
58
+ "@smithy/util-middleware": "^2.1.2",
59
+ "@smithy/util-retry": "^2.1.2",
60
60
  "@smithy/util-utf8": "^2.1.1",
61
- "@smithy/util-waiter": "^2.1.1",
61
+ "@smithy/util-waiter": "^2.1.2",
62
62
  "fast-xml-parser": "4.2.5",
63
63
  "tslib": "^2.5.0"
64
64
  },