@aws-sdk/client-rds 3.200.0 → 3.201.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/CHANGELOG.md +12 -0
- package/dist-cjs/endpoint/EndpointParameters.js +2 -3
- package/dist-cjs/protocols/Aws_query.js +77 -11
- package/dist-cjs/runtimeConfig.browser.js +16 -16
- package/dist-cjs/runtimeConfig.js +20 -19
- package/dist-cjs/runtimeConfig.native.js +1 -2
- package/dist-cjs/runtimeConfig.shared.js +8 -11
- package/dist-es/protocols/Aws_query.js +70 -0
- package/dist-types/models/models_0.d.ts +48 -16
- package/dist-types/models/models_1.d.ts +72 -15
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/dist-types/ts3.4/models/models_1.d.ts +11 -0
- package/package.json +35 -35
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-rds:** Relational Database Service - This release adds support for configuring Storage Throughput on RDS database instances. ([e06e4e2](https://github.com/aws/aws-sdk-js-v3/commit/e06e4e23fa56828d0faa146c3f6a03317f1a10c0))
|
|
12
|
+
* end support for Node.js 12.x ([#4123](https://github.com/aws/aws-sdk-js-v3/issues/4123)) ([83f913e](https://github.com/aws/aws-sdk-js-v3/commit/83f913ec2ac3878d8726c6964f585550dc5caf3e))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
# [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @aws-sdk/client-rds
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
var _a, _b;
|
|
6
5
|
return {
|
|
7
6
|
...options,
|
|
8
|
-
useDualstackEndpoint:
|
|
9
|
-
useFipsEndpoint:
|
|
7
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
10
9
|
defaultSigningName: "rds",
|
|
11
10
|
};
|
|
12
11
|
};
|
|
@@ -9403,6 +9403,9 @@ const serializeAws_queryCreateDBInstanceMessage = (input, context) => {
|
|
|
9403
9403
|
if (input.NetworkType != null) {
|
|
9404
9404
|
entries["NetworkType"] = input.NetworkType;
|
|
9405
9405
|
}
|
|
9406
|
+
if (input.StorageThroughput != null) {
|
|
9407
|
+
entries["StorageThroughput"] = input.StorageThroughput;
|
|
9408
|
+
}
|
|
9406
9409
|
return entries;
|
|
9407
9410
|
};
|
|
9408
9411
|
const serializeAws_queryCreateDBInstanceReadReplicaMessage = (input, context) => {
|
|
@@ -9525,6 +9528,9 @@ const serializeAws_queryCreateDBInstanceReadReplicaMessage = (input, context) =>
|
|
|
9525
9528
|
if (input.NetworkType != null) {
|
|
9526
9529
|
entries["NetworkType"] = input.NetworkType;
|
|
9527
9530
|
}
|
|
9531
|
+
if (input.StorageThroughput != null) {
|
|
9532
|
+
entries["StorageThroughput"] = input.StorageThroughput;
|
|
9533
|
+
}
|
|
9528
9534
|
return entries;
|
|
9529
9535
|
};
|
|
9530
9536
|
const serializeAws_queryCreateDBParameterGroupMessage = (input, context) => {
|
|
@@ -11354,6 +11360,9 @@ const serializeAws_queryModifyDBInstanceMessage = (input, context) => {
|
|
|
11354
11360
|
if (input.NetworkType != null) {
|
|
11355
11361
|
entries["NetworkType"] = input.NetworkType;
|
|
11356
11362
|
}
|
|
11363
|
+
if (input.StorageThroughput != null) {
|
|
11364
|
+
entries["StorageThroughput"] = input.StorageThroughput;
|
|
11365
|
+
}
|
|
11357
11366
|
return entries;
|
|
11358
11367
|
};
|
|
11359
11368
|
const serializeAws_queryModifyDBParameterGroupMessage = (input, context) => {
|
|
@@ -12380,6 +12389,9 @@ const serializeAws_queryRestoreDBInstanceFromDBSnapshotMessage = (input, context
|
|
|
12380
12389
|
if (input.NetworkType != null) {
|
|
12381
12390
|
entries["NetworkType"] = input.NetworkType;
|
|
12382
12391
|
}
|
|
12392
|
+
if (input.StorageThroughput != null) {
|
|
12393
|
+
entries["StorageThroughput"] = input.StorageThroughput;
|
|
12394
|
+
}
|
|
12383
12395
|
return entries;
|
|
12384
12396
|
};
|
|
12385
12397
|
const serializeAws_queryRestoreDBInstanceFromS3Message = (input, context) => {
|
|
@@ -12539,6 +12551,9 @@ const serializeAws_queryRestoreDBInstanceFromS3Message = (input, context) => {
|
|
|
12539
12551
|
if (input.NetworkType != null) {
|
|
12540
12552
|
entries["NetworkType"] = input.NetworkType;
|
|
12541
12553
|
}
|
|
12554
|
+
if (input.StorageThroughput != null) {
|
|
12555
|
+
entries["StorageThroughput"] = input.StorageThroughput;
|
|
12556
|
+
}
|
|
12542
12557
|
return entries;
|
|
12543
12558
|
};
|
|
12544
12559
|
const serializeAws_queryRestoreDBInstanceToPointInTimeMessage = (input, context) => {
|
|
@@ -12670,6 +12685,9 @@ const serializeAws_queryRestoreDBInstanceToPointInTimeMessage = (input, context)
|
|
|
12670
12685
|
if (input.NetworkType != null) {
|
|
12671
12686
|
entries["NetworkType"] = input.NetworkType;
|
|
12672
12687
|
}
|
|
12688
|
+
if (input.StorageThroughput != null) {
|
|
12689
|
+
entries["StorageThroughput"] = input.StorageThroughput;
|
|
12690
|
+
}
|
|
12673
12691
|
return entries;
|
|
12674
12692
|
};
|
|
12675
12693
|
const serializeAws_queryRevokeDBSecurityGroupIngressMessage = (input, context) => {
|
|
@@ -14604,6 +14622,7 @@ const deserializeAws_queryDBInstance = (output, context) => {
|
|
|
14604
14622
|
BackupTarget: undefined,
|
|
14605
14623
|
NetworkType: undefined,
|
|
14606
14624
|
ActivityStreamPolicyStatus: undefined,
|
|
14625
|
+
StorageThroughput: undefined,
|
|
14607
14626
|
};
|
|
14608
14627
|
if (output["DBInstanceIdentifier"] !== undefined) {
|
|
14609
14628
|
contents.DBInstanceIdentifier = (0, smithy_client_1.expectString)(output["DBInstanceIdentifier"]);
|
|
@@ -14881,6 +14900,9 @@ const deserializeAws_queryDBInstance = (output, context) => {
|
|
|
14881
14900
|
if (output["ActivityStreamPolicyStatus"] !== undefined) {
|
|
14882
14901
|
contents.ActivityStreamPolicyStatus = (0, smithy_client_1.expectString)(output["ActivityStreamPolicyStatus"]);
|
|
14883
14902
|
}
|
|
14903
|
+
if (output["StorageThroughput"] !== undefined) {
|
|
14904
|
+
contents.StorageThroughput = (0, smithy_client_1.strictParseInt32)(output["StorageThroughput"]);
|
|
14905
|
+
}
|
|
14884
14906
|
return contents;
|
|
14885
14907
|
};
|
|
14886
14908
|
const deserializeAws_queryDBInstanceAlreadyExistsFault = (output, context) => {
|
|
@@ -14921,6 +14943,7 @@ const deserializeAws_queryDBInstanceAutomatedBackup = (output, context) => {
|
|
|
14921
14943
|
DBInstanceAutomatedBackupsArn: undefined,
|
|
14922
14944
|
DBInstanceAutomatedBackupsReplications: undefined,
|
|
14923
14945
|
BackupTarget: undefined,
|
|
14946
|
+
StorageThroughput: undefined,
|
|
14924
14947
|
};
|
|
14925
14948
|
if (output["DBInstanceArn"] !== undefined) {
|
|
14926
14949
|
contents.DBInstanceArn = (0, smithy_client_1.expectString)(output["DBInstanceArn"]);
|
|
@@ -15007,6 +15030,9 @@ const deserializeAws_queryDBInstanceAutomatedBackup = (output, context) => {
|
|
|
15007
15030
|
if (output["BackupTarget"] !== undefined) {
|
|
15008
15031
|
contents.BackupTarget = (0, smithy_client_1.expectString)(output["BackupTarget"]);
|
|
15009
15032
|
}
|
|
15033
|
+
if (output["StorageThroughput"] !== undefined) {
|
|
15034
|
+
contents.StorageThroughput = (0, smithy_client_1.strictParseInt32)(output["StorageThroughput"]);
|
|
15035
|
+
}
|
|
15010
15036
|
return contents;
|
|
15011
15037
|
};
|
|
15012
15038
|
const deserializeAws_queryDBInstanceAutomatedBackupList = (output, context) => {
|
|
@@ -15755,6 +15781,7 @@ const deserializeAws_queryDBSnapshot = (output, context) => {
|
|
|
15755
15781
|
OriginalSnapshotCreateTime: undefined,
|
|
15756
15782
|
SnapshotDatabaseTime: undefined,
|
|
15757
15783
|
SnapshotTarget: undefined,
|
|
15784
|
+
StorageThroughput: undefined,
|
|
15758
15785
|
};
|
|
15759
15786
|
if (output["DBSnapshotIdentifier"] !== undefined) {
|
|
15760
15787
|
contents.DBSnapshotIdentifier = (0, smithy_client_1.expectString)(output["DBSnapshotIdentifier"]);
|
|
@@ -15859,6 +15886,9 @@ const deserializeAws_queryDBSnapshot = (output, context) => {
|
|
|
15859
15886
|
if (output["SnapshotTarget"] !== undefined) {
|
|
15860
15887
|
contents.SnapshotTarget = (0, smithy_client_1.expectString)(output["SnapshotTarget"]);
|
|
15861
15888
|
}
|
|
15889
|
+
if (output["StorageThroughput"] !== undefined) {
|
|
15890
|
+
contents.StorageThroughput = (0, smithy_client_1.strictParseInt32)(output["StorageThroughput"]);
|
|
15891
|
+
}
|
|
15862
15892
|
return contents;
|
|
15863
15893
|
};
|
|
15864
15894
|
const deserializeAws_queryDBSnapshotAlreadyExistsFault = (output, context) => {
|
|
@@ -17858,6 +17888,11 @@ const deserializeAws_queryOrderableDBInstanceOption = (output, context) => {
|
|
|
17858
17888
|
SupportsGlobalDatabases: undefined,
|
|
17859
17889
|
SupportsClusters: undefined,
|
|
17860
17890
|
SupportedNetworkTypes: undefined,
|
|
17891
|
+
SupportsStorageThroughput: undefined,
|
|
17892
|
+
MinStorageThroughputPerDbInstance: undefined,
|
|
17893
|
+
MaxStorageThroughputPerDbInstance: undefined,
|
|
17894
|
+
MinStorageThroughputPerIops: undefined,
|
|
17895
|
+
MaxStorageThroughputPerIops: undefined,
|
|
17861
17896
|
};
|
|
17862
17897
|
if (output["Engine"] !== undefined) {
|
|
17863
17898
|
contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
|
|
@@ -17967,6 +18002,21 @@ const deserializeAws_queryOrderableDBInstanceOption = (output, context) => {
|
|
|
17967
18002
|
else if (output["SupportedNetworkTypes"] !== undefined && output["SupportedNetworkTypes"]["member"] !== undefined) {
|
|
17968
18003
|
contents.SupportedNetworkTypes = deserializeAws_queryStringList((0, smithy_client_1.getArrayIfSingleItem)(output["SupportedNetworkTypes"]["member"]), context);
|
|
17969
18004
|
}
|
|
18005
|
+
if (output["SupportsStorageThroughput"] !== undefined) {
|
|
18006
|
+
contents.SupportsStorageThroughput = (0, smithy_client_1.parseBoolean)(output["SupportsStorageThroughput"]);
|
|
18007
|
+
}
|
|
18008
|
+
if (output["MinStorageThroughputPerDbInstance"] !== undefined) {
|
|
18009
|
+
contents.MinStorageThroughputPerDbInstance = (0, smithy_client_1.strictParseInt32)(output["MinStorageThroughputPerDbInstance"]);
|
|
18010
|
+
}
|
|
18011
|
+
if (output["MaxStorageThroughputPerDbInstance"] !== undefined) {
|
|
18012
|
+
contents.MaxStorageThroughputPerDbInstance = (0, smithy_client_1.strictParseInt32)(output["MaxStorageThroughputPerDbInstance"]);
|
|
18013
|
+
}
|
|
18014
|
+
if (output["MinStorageThroughputPerIops"] !== undefined) {
|
|
18015
|
+
contents.MinStorageThroughputPerIops = (0, smithy_client_1.strictParseFloat)(output["MinStorageThroughputPerIops"]);
|
|
18016
|
+
}
|
|
18017
|
+
if (output["MaxStorageThroughputPerIops"] !== undefined) {
|
|
18018
|
+
contents.MaxStorageThroughputPerIops = (0, smithy_client_1.strictParseFloat)(output["MaxStorageThroughputPerIops"]);
|
|
18019
|
+
}
|
|
17970
18020
|
return contents;
|
|
17971
18021
|
};
|
|
17972
18022
|
const deserializeAws_queryOrderableDBInstanceOptionsList = (output, context) => {
|
|
@@ -18160,6 +18210,7 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
|
|
|
18160
18210
|
IAMDatabaseAuthenticationEnabled: undefined,
|
|
18161
18211
|
AutomationMode: undefined,
|
|
18162
18212
|
ResumeFullAutomationModeTime: undefined,
|
|
18213
|
+
StorageThroughput: undefined,
|
|
18163
18214
|
};
|
|
18164
18215
|
if (output["DBInstanceClass"] !== undefined) {
|
|
18165
18216
|
contents.DBInstanceClass = (0, smithy_client_1.expectString)(output["DBInstanceClass"]);
|
|
@@ -18219,6 +18270,9 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
|
|
|
18219
18270
|
if (output["ResumeFullAutomationModeTime"] !== undefined) {
|
|
18220
18271
|
contents.ResumeFullAutomationModeTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ResumeFullAutomationModeTime"]));
|
|
18221
18272
|
}
|
|
18273
|
+
if (output["StorageThroughput"] !== undefined) {
|
|
18274
|
+
contents.StorageThroughput = (0, smithy_client_1.strictParseInt32)(output["StorageThroughput"]);
|
|
18275
|
+
}
|
|
18222
18276
|
return contents;
|
|
18223
18277
|
};
|
|
18224
18278
|
const deserializeAws_queryPointInTimeRestoreNotEnabledFault = (output, context) => {
|
|
@@ -19246,6 +19300,8 @@ const deserializeAws_queryValidStorageOptions = (output, context) => {
|
|
|
19246
19300
|
ProvisionedIops: undefined,
|
|
19247
19301
|
IopsToStorageRatio: undefined,
|
|
19248
19302
|
SupportsStorageAutoscaling: undefined,
|
|
19303
|
+
ProvisionedStorageThroughput: undefined,
|
|
19304
|
+
StorageThroughputToIopsRatio: undefined,
|
|
19249
19305
|
};
|
|
19250
19306
|
if (output["StorageType"] !== undefined) {
|
|
19251
19307
|
contents.StorageType = (0, smithy_client_1.expectString)(output["StorageType"]);
|
|
@@ -19271,6 +19327,20 @@ const deserializeAws_queryValidStorageOptions = (output, context) => {
|
|
|
19271
19327
|
if (output["SupportsStorageAutoscaling"] !== undefined) {
|
|
19272
19328
|
contents.SupportsStorageAutoscaling = (0, smithy_client_1.parseBoolean)(output["SupportsStorageAutoscaling"]);
|
|
19273
19329
|
}
|
|
19330
|
+
if (output.ProvisionedStorageThroughput === "") {
|
|
19331
|
+
contents.ProvisionedStorageThroughput = [];
|
|
19332
|
+
}
|
|
19333
|
+
else if (output["ProvisionedStorageThroughput"] !== undefined &&
|
|
19334
|
+
output["ProvisionedStorageThroughput"]["Range"] !== undefined) {
|
|
19335
|
+
contents.ProvisionedStorageThroughput = deserializeAws_queryRangeList((0, smithy_client_1.getArrayIfSingleItem)(output["ProvisionedStorageThroughput"]["Range"]), context);
|
|
19336
|
+
}
|
|
19337
|
+
if (output.StorageThroughputToIopsRatio === "") {
|
|
19338
|
+
contents.StorageThroughputToIopsRatio = [];
|
|
19339
|
+
}
|
|
19340
|
+
else if (output["StorageThroughputToIopsRatio"] !== undefined &&
|
|
19341
|
+
output["StorageThroughputToIopsRatio"]["DoubleRange"] !== undefined) {
|
|
19342
|
+
contents.StorageThroughputToIopsRatio = deserializeAws_queryDoubleRangeList((0, smithy_client_1.getArrayIfSingleItem)(output["StorageThroughputToIopsRatio"]["DoubleRange"]), context);
|
|
19343
|
+
}
|
|
19274
19344
|
return contents;
|
|
19275
19345
|
};
|
|
19276
19346
|
const deserializeAws_queryValidStorageOptionsList = (output, context) => {
|
|
@@ -19307,15 +19377,12 @@ const deserializeAws_queryVpcSecurityGroupMembershipList = (output, context) =>
|
|
|
19307
19377
|
return deserializeAws_queryVpcSecurityGroupMembership(entry, context);
|
|
19308
19378
|
});
|
|
19309
19379
|
};
|
|
19310
|
-
const deserializeMetadata = (output) => {
|
|
19311
|
-
|
|
19312
|
-
|
|
19313
|
-
|
|
19314
|
-
|
|
19315
|
-
|
|
19316
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
19317
|
-
});
|
|
19318
|
-
};
|
|
19380
|
+
const deserializeMetadata = (output) => ({
|
|
19381
|
+
httpStatusCode: output.statusCode,
|
|
19382
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
19383
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
19384
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
19385
|
+
});
|
|
19319
19386
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
19320
19387
|
if (streamBody instanceof Uint8Array) {
|
|
19321
19388
|
return Promise.resolve(streamBody);
|
|
@@ -19367,10 +19434,9 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
19367
19434
|
return {};
|
|
19368
19435
|
});
|
|
19369
19436
|
const parseErrorBody = async (errorBody, context) => {
|
|
19370
|
-
var _a;
|
|
19371
19437
|
const value = await parseBody(errorBody, context);
|
|
19372
19438
|
if (value.Error) {
|
|
19373
|
-
value.Error.message =
|
|
19439
|
+
value.Error.message = value.Error.message ?? value.Error.Message;
|
|
19374
19440
|
}
|
|
19375
19441
|
return value;
|
|
19376
19442
|
};
|
|
@@ -16,7 +16,6 @@ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
|
16
16
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
19
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
20
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
21
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -25,21 +24,22 @@ const getRuntimeConfig = (config) => {
|
|
|
25
24
|
...config,
|
|
26
25
|
runtime: "browser",
|
|
27
26
|
defaultsMode,
|
|
28
|
-
base64Decoder:
|
|
29
|
-
base64Encoder:
|
|
30
|
-
bodyLengthChecker:
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
defaultUserAgentProvider:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
27
|
+
base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
|
|
28
|
+
base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
|
|
29
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
30
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
31
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
|
+
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
|
+
maxAttempts: config?.maxAttempts ?? middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
+
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
|
+
requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
|
+
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
38
|
+
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
39
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
40
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
41
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
|
|
42
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -19,7 +19,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const smithy_client_2 = require("@aws-sdk/smithy-client");
|
|
21
21
|
const getRuntimeConfig = (config) => {
|
|
22
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
23
22
|
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
24
23
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
25
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -29,24 +28,26 @@ const getRuntimeConfig = (config) => {
|
|
|
29
28
|
...config,
|
|
30
29
|
runtime: "node",
|
|
31
30
|
defaultsMode,
|
|
32
|
-
base64Decoder:
|
|
33
|
-
base64Encoder:
|
|
34
|
-
bodyLengthChecker:
|
|
35
|
-
credentialDefaultProvider:
|
|
36
|
-
defaultUserAgentProvider:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
31
|
+
base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
|
|
32
|
+
base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
|
|
33
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
34
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
35
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
36
|
+
(0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
38
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
39
|
+
requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
40
|
+
retryMode: config?.retryMode ??
|
|
41
|
+
(0, node_config_provider_1.loadConfig)({
|
|
42
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
43
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
44
|
+
}),
|
|
45
|
+
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
46
|
+
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
47
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
48
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
49
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
|
|
50
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
|
|
50
51
|
};
|
|
51
52
|
};
|
|
52
53
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -4,13 +4,12 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
|
-
var _a;
|
|
8
7
|
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
8
|
return {
|
|
10
9
|
...browserDefaults,
|
|
11
10
|
...config,
|
|
12
11
|
runtime: "react-native",
|
|
13
|
-
sha256:
|
|
12
|
+
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
14
13
|
};
|
|
15
14
|
};
|
|
16
15
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -3,15 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
|
-
const getRuntimeConfig = (config) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
|
|
15
|
-
});
|
|
16
|
-
};
|
|
6
|
+
const getRuntimeConfig = (config) => ({
|
|
7
|
+
apiVersion: "2014-10-31",
|
|
8
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
9
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
10
|
+
logger: config?.logger ?? {},
|
|
11
|
+
serviceId: config?.serviceId ?? "RDS",
|
|
12
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
13
|
+
});
|
|
17
14
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -9121,6 +9121,9 @@ const serializeAws_queryCreateDBInstanceMessage = (input, context) => {
|
|
|
9121
9121
|
if (input.NetworkType != null) {
|
|
9122
9122
|
entries["NetworkType"] = input.NetworkType;
|
|
9123
9123
|
}
|
|
9124
|
+
if (input.StorageThroughput != null) {
|
|
9125
|
+
entries["StorageThroughput"] = input.StorageThroughput;
|
|
9126
|
+
}
|
|
9124
9127
|
return entries;
|
|
9125
9128
|
};
|
|
9126
9129
|
const serializeAws_queryCreateDBInstanceReadReplicaMessage = (input, context) => {
|
|
@@ -9243,6 +9246,9 @@ const serializeAws_queryCreateDBInstanceReadReplicaMessage = (input, context) =>
|
|
|
9243
9246
|
if (input.NetworkType != null) {
|
|
9244
9247
|
entries["NetworkType"] = input.NetworkType;
|
|
9245
9248
|
}
|
|
9249
|
+
if (input.StorageThroughput != null) {
|
|
9250
|
+
entries["StorageThroughput"] = input.StorageThroughput;
|
|
9251
|
+
}
|
|
9246
9252
|
return entries;
|
|
9247
9253
|
};
|
|
9248
9254
|
const serializeAws_queryCreateDBParameterGroupMessage = (input, context) => {
|
|
@@ -11072,6 +11078,9 @@ const serializeAws_queryModifyDBInstanceMessage = (input, context) => {
|
|
|
11072
11078
|
if (input.NetworkType != null) {
|
|
11073
11079
|
entries["NetworkType"] = input.NetworkType;
|
|
11074
11080
|
}
|
|
11081
|
+
if (input.StorageThroughput != null) {
|
|
11082
|
+
entries["StorageThroughput"] = input.StorageThroughput;
|
|
11083
|
+
}
|
|
11075
11084
|
return entries;
|
|
11076
11085
|
};
|
|
11077
11086
|
const serializeAws_queryModifyDBParameterGroupMessage = (input, context) => {
|
|
@@ -12098,6 +12107,9 @@ const serializeAws_queryRestoreDBInstanceFromDBSnapshotMessage = (input, context
|
|
|
12098
12107
|
if (input.NetworkType != null) {
|
|
12099
12108
|
entries["NetworkType"] = input.NetworkType;
|
|
12100
12109
|
}
|
|
12110
|
+
if (input.StorageThroughput != null) {
|
|
12111
|
+
entries["StorageThroughput"] = input.StorageThroughput;
|
|
12112
|
+
}
|
|
12101
12113
|
return entries;
|
|
12102
12114
|
};
|
|
12103
12115
|
const serializeAws_queryRestoreDBInstanceFromS3Message = (input, context) => {
|
|
@@ -12257,6 +12269,9 @@ const serializeAws_queryRestoreDBInstanceFromS3Message = (input, context) => {
|
|
|
12257
12269
|
if (input.NetworkType != null) {
|
|
12258
12270
|
entries["NetworkType"] = input.NetworkType;
|
|
12259
12271
|
}
|
|
12272
|
+
if (input.StorageThroughput != null) {
|
|
12273
|
+
entries["StorageThroughput"] = input.StorageThroughput;
|
|
12274
|
+
}
|
|
12260
12275
|
return entries;
|
|
12261
12276
|
};
|
|
12262
12277
|
const serializeAws_queryRestoreDBInstanceToPointInTimeMessage = (input, context) => {
|
|
@@ -12388,6 +12403,9 @@ const serializeAws_queryRestoreDBInstanceToPointInTimeMessage = (input, context)
|
|
|
12388
12403
|
if (input.NetworkType != null) {
|
|
12389
12404
|
entries["NetworkType"] = input.NetworkType;
|
|
12390
12405
|
}
|
|
12406
|
+
if (input.StorageThroughput != null) {
|
|
12407
|
+
entries["StorageThroughput"] = input.StorageThroughput;
|
|
12408
|
+
}
|
|
12391
12409
|
return entries;
|
|
12392
12410
|
};
|
|
12393
12411
|
const serializeAws_queryRevokeDBSecurityGroupIngressMessage = (input, context) => {
|
|
@@ -14322,6 +14340,7 @@ const deserializeAws_queryDBInstance = (output, context) => {
|
|
|
14322
14340
|
BackupTarget: undefined,
|
|
14323
14341
|
NetworkType: undefined,
|
|
14324
14342
|
ActivityStreamPolicyStatus: undefined,
|
|
14343
|
+
StorageThroughput: undefined,
|
|
14325
14344
|
};
|
|
14326
14345
|
if (output["DBInstanceIdentifier"] !== undefined) {
|
|
14327
14346
|
contents.DBInstanceIdentifier = __expectString(output["DBInstanceIdentifier"]);
|
|
@@ -14599,6 +14618,9 @@ const deserializeAws_queryDBInstance = (output, context) => {
|
|
|
14599
14618
|
if (output["ActivityStreamPolicyStatus"] !== undefined) {
|
|
14600
14619
|
contents.ActivityStreamPolicyStatus = __expectString(output["ActivityStreamPolicyStatus"]);
|
|
14601
14620
|
}
|
|
14621
|
+
if (output["StorageThroughput"] !== undefined) {
|
|
14622
|
+
contents.StorageThroughput = __strictParseInt32(output["StorageThroughput"]);
|
|
14623
|
+
}
|
|
14602
14624
|
return contents;
|
|
14603
14625
|
};
|
|
14604
14626
|
const deserializeAws_queryDBInstanceAlreadyExistsFault = (output, context) => {
|
|
@@ -14639,6 +14661,7 @@ const deserializeAws_queryDBInstanceAutomatedBackup = (output, context) => {
|
|
|
14639
14661
|
DBInstanceAutomatedBackupsArn: undefined,
|
|
14640
14662
|
DBInstanceAutomatedBackupsReplications: undefined,
|
|
14641
14663
|
BackupTarget: undefined,
|
|
14664
|
+
StorageThroughput: undefined,
|
|
14642
14665
|
};
|
|
14643
14666
|
if (output["DBInstanceArn"] !== undefined) {
|
|
14644
14667
|
contents.DBInstanceArn = __expectString(output["DBInstanceArn"]);
|
|
@@ -14725,6 +14748,9 @@ const deserializeAws_queryDBInstanceAutomatedBackup = (output, context) => {
|
|
|
14725
14748
|
if (output["BackupTarget"] !== undefined) {
|
|
14726
14749
|
contents.BackupTarget = __expectString(output["BackupTarget"]);
|
|
14727
14750
|
}
|
|
14751
|
+
if (output["StorageThroughput"] !== undefined) {
|
|
14752
|
+
contents.StorageThroughput = __strictParseInt32(output["StorageThroughput"]);
|
|
14753
|
+
}
|
|
14728
14754
|
return contents;
|
|
14729
14755
|
};
|
|
14730
14756
|
const deserializeAws_queryDBInstanceAutomatedBackupList = (output, context) => {
|
|
@@ -15473,6 +15499,7 @@ const deserializeAws_queryDBSnapshot = (output, context) => {
|
|
|
15473
15499
|
OriginalSnapshotCreateTime: undefined,
|
|
15474
15500
|
SnapshotDatabaseTime: undefined,
|
|
15475
15501
|
SnapshotTarget: undefined,
|
|
15502
|
+
StorageThroughput: undefined,
|
|
15476
15503
|
};
|
|
15477
15504
|
if (output["DBSnapshotIdentifier"] !== undefined) {
|
|
15478
15505
|
contents.DBSnapshotIdentifier = __expectString(output["DBSnapshotIdentifier"]);
|
|
@@ -15577,6 +15604,9 @@ const deserializeAws_queryDBSnapshot = (output, context) => {
|
|
|
15577
15604
|
if (output["SnapshotTarget"] !== undefined) {
|
|
15578
15605
|
contents.SnapshotTarget = __expectString(output["SnapshotTarget"]);
|
|
15579
15606
|
}
|
|
15607
|
+
if (output["StorageThroughput"] !== undefined) {
|
|
15608
|
+
contents.StorageThroughput = __strictParseInt32(output["StorageThroughput"]);
|
|
15609
|
+
}
|
|
15580
15610
|
return contents;
|
|
15581
15611
|
};
|
|
15582
15612
|
const deserializeAws_queryDBSnapshotAlreadyExistsFault = (output, context) => {
|
|
@@ -17576,6 +17606,11 @@ const deserializeAws_queryOrderableDBInstanceOption = (output, context) => {
|
|
|
17576
17606
|
SupportsGlobalDatabases: undefined,
|
|
17577
17607
|
SupportsClusters: undefined,
|
|
17578
17608
|
SupportedNetworkTypes: undefined,
|
|
17609
|
+
SupportsStorageThroughput: undefined,
|
|
17610
|
+
MinStorageThroughputPerDbInstance: undefined,
|
|
17611
|
+
MaxStorageThroughputPerDbInstance: undefined,
|
|
17612
|
+
MinStorageThroughputPerIops: undefined,
|
|
17613
|
+
MaxStorageThroughputPerIops: undefined,
|
|
17579
17614
|
};
|
|
17580
17615
|
if (output["Engine"] !== undefined) {
|
|
17581
17616
|
contents.Engine = __expectString(output["Engine"]);
|
|
@@ -17685,6 +17720,21 @@ const deserializeAws_queryOrderableDBInstanceOption = (output, context) => {
|
|
|
17685
17720
|
else if (output["SupportedNetworkTypes"] !== undefined && output["SupportedNetworkTypes"]["member"] !== undefined) {
|
|
17686
17721
|
contents.SupportedNetworkTypes = deserializeAws_queryStringList(__getArrayIfSingleItem(output["SupportedNetworkTypes"]["member"]), context);
|
|
17687
17722
|
}
|
|
17723
|
+
if (output["SupportsStorageThroughput"] !== undefined) {
|
|
17724
|
+
contents.SupportsStorageThroughput = __parseBoolean(output["SupportsStorageThroughput"]);
|
|
17725
|
+
}
|
|
17726
|
+
if (output["MinStorageThroughputPerDbInstance"] !== undefined) {
|
|
17727
|
+
contents.MinStorageThroughputPerDbInstance = __strictParseInt32(output["MinStorageThroughputPerDbInstance"]);
|
|
17728
|
+
}
|
|
17729
|
+
if (output["MaxStorageThroughputPerDbInstance"] !== undefined) {
|
|
17730
|
+
contents.MaxStorageThroughputPerDbInstance = __strictParseInt32(output["MaxStorageThroughputPerDbInstance"]);
|
|
17731
|
+
}
|
|
17732
|
+
if (output["MinStorageThroughputPerIops"] !== undefined) {
|
|
17733
|
+
contents.MinStorageThroughputPerIops = __strictParseFloat(output["MinStorageThroughputPerIops"]);
|
|
17734
|
+
}
|
|
17735
|
+
if (output["MaxStorageThroughputPerIops"] !== undefined) {
|
|
17736
|
+
contents.MaxStorageThroughputPerIops = __strictParseFloat(output["MaxStorageThroughputPerIops"]);
|
|
17737
|
+
}
|
|
17688
17738
|
return contents;
|
|
17689
17739
|
};
|
|
17690
17740
|
const deserializeAws_queryOrderableDBInstanceOptionsList = (output, context) => {
|
|
@@ -17878,6 +17928,7 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
|
|
|
17878
17928
|
IAMDatabaseAuthenticationEnabled: undefined,
|
|
17879
17929
|
AutomationMode: undefined,
|
|
17880
17930
|
ResumeFullAutomationModeTime: undefined,
|
|
17931
|
+
StorageThroughput: undefined,
|
|
17881
17932
|
};
|
|
17882
17933
|
if (output["DBInstanceClass"] !== undefined) {
|
|
17883
17934
|
contents.DBInstanceClass = __expectString(output["DBInstanceClass"]);
|
|
@@ -17937,6 +17988,9 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
|
|
|
17937
17988
|
if (output["ResumeFullAutomationModeTime"] !== undefined) {
|
|
17938
17989
|
contents.ResumeFullAutomationModeTime = __expectNonNull(__parseRfc3339DateTime(output["ResumeFullAutomationModeTime"]));
|
|
17939
17990
|
}
|
|
17991
|
+
if (output["StorageThroughput"] !== undefined) {
|
|
17992
|
+
contents.StorageThroughput = __strictParseInt32(output["StorageThroughput"]);
|
|
17993
|
+
}
|
|
17940
17994
|
return contents;
|
|
17941
17995
|
};
|
|
17942
17996
|
const deserializeAws_queryPointInTimeRestoreNotEnabledFault = (output, context) => {
|
|
@@ -18964,6 +19018,8 @@ const deserializeAws_queryValidStorageOptions = (output, context) => {
|
|
|
18964
19018
|
ProvisionedIops: undefined,
|
|
18965
19019
|
IopsToStorageRatio: undefined,
|
|
18966
19020
|
SupportsStorageAutoscaling: undefined,
|
|
19021
|
+
ProvisionedStorageThroughput: undefined,
|
|
19022
|
+
StorageThroughputToIopsRatio: undefined,
|
|
18967
19023
|
};
|
|
18968
19024
|
if (output["StorageType"] !== undefined) {
|
|
18969
19025
|
contents.StorageType = __expectString(output["StorageType"]);
|
|
@@ -18989,6 +19045,20 @@ const deserializeAws_queryValidStorageOptions = (output, context) => {
|
|
|
18989
19045
|
if (output["SupportsStorageAutoscaling"] !== undefined) {
|
|
18990
19046
|
contents.SupportsStorageAutoscaling = __parseBoolean(output["SupportsStorageAutoscaling"]);
|
|
18991
19047
|
}
|
|
19048
|
+
if (output.ProvisionedStorageThroughput === "") {
|
|
19049
|
+
contents.ProvisionedStorageThroughput = [];
|
|
19050
|
+
}
|
|
19051
|
+
else if (output["ProvisionedStorageThroughput"] !== undefined &&
|
|
19052
|
+
output["ProvisionedStorageThroughput"]["Range"] !== undefined) {
|
|
19053
|
+
contents.ProvisionedStorageThroughput = deserializeAws_queryRangeList(__getArrayIfSingleItem(output["ProvisionedStorageThroughput"]["Range"]), context);
|
|
19054
|
+
}
|
|
19055
|
+
if (output.StorageThroughputToIopsRatio === "") {
|
|
19056
|
+
contents.StorageThroughputToIopsRatio = [];
|
|
19057
|
+
}
|
|
19058
|
+
else if (output["StorageThroughputToIopsRatio"] !== undefined &&
|
|
19059
|
+
output["StorageThroughputToIopsRatio"]["DoubleRange"] !== undefined) {
|
|
19060
|
+
contents.StorageThroughputToIopsRatio = deserializeAws_queryDoubleRangeList(__getArrayIfSingleItem(output["StorageThroughputToIopsRatio"]["DoubleRange"]), context);
|
|
19061
|
+
}
|
|
18992
19062
|
return contents;
|
|
18993
19063
|
};
|
|
18994
19064
|
const deserializeAws_queryValidStorageOptionsList = (output, context) => {
|
|
@@ -1846,6 +1846,10 @@ export interface DBSnapshot {
|
|
|
1846
1846
|
* <p>Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.</p>
|
|
1847
1847
|
*/
|
|
1848
1848
|
SnapshotTarget?: string;
|
|
1849
|
+
/**
|
|
1850
|
+
* <p>Specifies the storage throughput for the DB snapshot.</p>
|
|
1851
|
+
*/
|
|
1852
|
+
StorageThroughput?: number;
|
|
1849
1853
|
}
|
|
1850
1854
|
export interface CopyDBSnapshotResult {
|
|
1851
1855
|
/**
|
|
@@ -3037,7 +3041,9 @@ export interface CreateDBClusterMessage {
|
|
|
3037
3041
|
/**
|
|
3038
3042
|
* <p>The amount of Provisioned IOPS (input/output operations per second) to be initially allocated
|
|
3039
3043
|
* for each DB instance in the Multi-AZ DB cluster.</p>
|
|
3040
|
-
* <p>For information about valid
|
|
3044
|
+
* <p>For information about valid IOPS values, see
|
|
3045
|
+
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS">Amazon RDS Provisioned IOPS storage</a>
|
|
3046
|
+
* in the <i>Amazon RDS User Guide</i>.</p>
|
|
3041
3047
|
* <p>This setting is required to create a Multi-AZ DB cluster.</p>
|
|
3042
3048
|
* <p>Constraints: Must be a multiple between .5 and 50 of the storage amount for the DB cluster.</p>
|
|
3043
3049
|
* <p>Valid for: Multi-AZ DB clusters only</p>
|
|
@@ -4423,7 +4429,7 @@ export interface CreateDBInstanceMessage {
|
|
|
4423
4429
|
* <p>Constraints to the amount of storage for each storage type are the following:</p>
|
|
4424
4430
|
* <ul>
|
|
4425
4431
|
* <li>
|
|
4426
|
-
* <p>General Purpose (SSD) storage (gp2): Must be an integer from 40 to 65536 for RDS Custom for Oracle,
|
|
4432
|
+
* <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 to 65536 for RDS Custom for Oracle,
|
|
4427
4433
|
* 16384 for RDS Custom for SQL Server.</p>
|
|
4428
4434
|
* </li>
|
|
4429
4435
|
* <li>
|
|
@@ -4437,7 +4443,7 @@ export interface CreateDBInstanceMessage {
|
|
|
4437
4443
|
* <p>Constraints to the amount of storage for each storage type are the following:</p>
|
|
4438
4444
|
* <ul>
|
|
4439
4445
|
* <li>
|
|
4440
|
-
* <p>General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p>
|
|
4446
|
+
* <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.</p>
|
|
4441
4447
|
* </li>
|
|
4442
4448
|
* <li>
|
|
4443
4449
|
* <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p>
|
|
@@ -4452,7 +4458,7 @@ export interface CreateDBInstanceMessage {
|
|
|
4452
4458
|
* <p>Constraints to the amount of storage for each storage type are the following:</p>
|
|
4453
4459
|
* <ul>
|
|
4454
4460
|
* <li>
|
|
4455
|
-
* <p>General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p>
|
|
4461
|
+
* <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.</p>
|
|
4456
4462
|
* </li>
|
|
4457
4463
|
* <li>
|
|
4458
4464
|
* <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p>
|
|
@@ -4467,7 +4473,7 @@ export interface CreateDBInstanceMessage {
|
|
|
4467
4473
|
* <p>Constraints to the amount of storage for each storage type are the following:</p>
|
|
4468
4474
|
* <ul>
|
|
4469
4475
|
* <li>
|
|
4470
|
-
* <p>General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p>
|
|
4476
|
+
* <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.</p>
|
|
4471
4477
|
* </li>
|
|
4472
4478
|
* <li>
|
|
4473
4479
|
* <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p>
|
|
@@ -4482,7 +4488,7 @@ export interface CreateDBInstanceMessage {
|
|
|
4482
4488
|
* <p>Constraints to the amount of storage for each storage type are the following:</p>
|
|
4483
4489
|
* <ul>
|
|
4484
4490
|
* <li>
|
|
4485
|
-
* <p>General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.</p>
|
|
4491
|
+
* <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.</p>
|
|
4486
4492
|
* </li>
|
|
4487
4493
|
* <li>
|
|
4488
4494
|
* <p>Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.</p>
|
|
@@ -4497,7 +4503,7 @@ export interface CreateDBInstanceMessage {
|
|
|
4497
4503
|
* <p>Constraints to the amount of storage for each storage type are the following:</p>
|
|
4498
4504
|
* <ul>
|
|
4499
4505
|
* <li>
|
|
4500
|
-
* <p>General Purpose (SSD) storage (gp2):</p>
|
|
4506
|
+
* <p>General Purpose (SSD) storage (gp2, gp3):</p>
|
|
4501
4507
|
* <ul>
|
|
4502
4508
|
* <li>
|
|
4503
4509
|
* <p>Enterprise and Standard editions: Must be an integer from 20 to 16384.</p>
|
|
@@ -4946,7 +4952,9 @@ export interface CreateDBInstanceMessage {
|
|
|
4946
4952
|
LicenseModel?: string;
|
|
4947
4953
|
/**
|
|
4948
4954
|
* <p>The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.
|
|
4949
|
-
* For information about valid
|
|
4955
|
+
* For information about valid IOPS values, see
|
|
4956
|
+
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html">Amazon RDS DB instance storage</a>
|
|
4957
|
+
* in the <i>Amazon RDS User Guide</i>.</p>
|
|
4950
4958
|
* <p>Constraints: For MariaDB, MySQL, Oracle, and PostgreSQL DB instances, must be a multiple between .5 and 50
|
|
4951
4959
|
* of the storage amount for the DB instance. For SQL Server DB instances, must be a multiple between 1 and 50
|
|
4952
4960
|
* of the storage amount for the DB instance.</p>
|
|
@@ -5024,9 +5032,9 @@ export interface CreateDBInstanceMessage {
|
|
|
5024
5032
|
DBClusterIdentifier?: string;
|
|
5025
5033
|
/**
|
|
5026
5034
|
* <p>Specifies the storage type to be associated with the DB instance.</p>
|
|
5027
|
-
* <p>Valid values: <code>
|
|
5035
|
+
* <p>Valid values: <code>gp2 | gp3 | io1 | standard</code>
|
|
5028
5036
|
* </p>
|
|
5029
|
-
* <p>If you specify <code>io1</code>, you must also include a value for the
|
|
5037
|
+
* <p>If you specify <code>io1</code> or <code>gp3</code>, you must also include a value for the
|
|
5030
5038
|
* <code>Iops</code> parameter.</p>
|
|
5031
5039
|
* <p>Default: <code>io1</code> if the <code>Iops</code> parameter
|
|
5032
5040
|
* is specified, otherwise <code>gp2</code>
|
|
@@ -5345,6 +5353,11 @@ export interface CreateDBInstanceMessage {
|
|
|
5345
5353
|
* </p>
|
|
5346
5354
|
*/
|
|
5347
5355
|
NetworkType?: string;
|
|
5356
|
+
/**
|
|
5357
|
+
* <p>Specifies the storage throughput value for the DB instance.</p>
|
|
5358
|
+
* <p>This setting doesn't apply to RDS Custom or Amazon Aurora.</p>
|
|
5359
|
+
*/
|
|
5360
|
+
StorageThroughput?: number;
|
|
5348
5361
|
}
|
|
5349
5362
|
/**
|
|
5350
5363
|
* <p>Describes an Amazon Web Services Identity and Access Management (IAM) role that is associated with a DB instance.</p>
|
|
@@ -5687,6 +5700,10 @@ export interface PendingModifiedValues {
|
|
|
5687
5700
|
* The minimum value is 60 (default). The maximum value is 1,440.</p>
|
|
5688
5701
|
*/
|
|
5689
5702
|
ResumeFullAutomationModeTime?: Date;
|
|
5703
|
+
/**
|
|
5704
|
+
* <p>The storage throughput of the DB instance.</p>
|
|
5705
|
+
*/
|
|
5706
|
+
StorageThroughput?: number;
|
|
5690
5707
|
}
|
|
5691
5708
|
export declare enum ReplicaMode {
|
|
5692
5709
|
MOUNTED = "mounted",
|
|
@@ -5908,7 +5925,7 @@ export interface DBInstance {
|
|
|
5908
5925
|
*/
|
|
5909
5926
|
StatusInfos?: DBInstanceStatusInfo[];
|
|
5910
5927
|
/**
|
|
5911
|
-
* <p>Specifies the storage type associated with DB instance.</p>
|
|
5928
|
+
* <p>Specifies the storage type associated with the DB instance.</p>
|
|
5912
5929
|
*/
|
|
5913
5930
|
StorageType?: string;
|
|
5914
5931
|
/**
|
|
@@ -6188,6 +6205,10 @@ export interface DBInstance {
|
|
|
6188
6205
|
* <p>The status of the policy state of the activity stream.</p>
|
|
6189
6206
|
*/
|
|
6190
6207
|
ActivityStreamPolicyStatus?: ActivityStreamPolicyStatus | string;
|
|
6208
|
+
/**
|
|
6209
|
+
* <p>Specifies the storage throughput for the DB instance.</p>
|
|
6210
|
+
*/
|
|
6211
|
+
StorageThroughput?: number;
|
|
6191
6212
|
}
|
|
6192
6213
|
export interface CreateDBInstanceResult {
|
|
6193
6214
|
/**
|
|
@@ -6449,9 +6470,9 @@ export interface CreateDBInstanceReadReplicaMessage {
|
|
|
6449
6470
|
VpcSecurityGroupIds?: string[];
|
|
6450
6471
|
/**
|
|
6451
6472
|
* <p>Specifies the storage type to be associated with the read replica.</p>
|
|
6452
|
-
* <p>Valid values: <code>
|
|
6473
|
+
* <p>Valid values: <code>gp2 | gp3 | io1 | standard</code>
|
|
6453
6474
|
* </p>
|
|
6454
|
-
* <p>If you specify <code>io1</code>, you must also include a value for the
|
|
6475
|
+
* <p>If you specify <code>io1</code> or <code>gp3</code>, you must also include a value for the
|
|
6455
6476
|
* <code>Iops</code> parameter.</p>
|
|
6456
6477
|
* <p>Default: <code>io1</code> if the <code>Iops</code> parameter
|
|
6457
6478
|
* is specified, otherwise <code>gp2</code>
|
|
@@ -6731,6 +6752,11 @@ export interface CreateDBInstanceReadReplicaMessage {
|
|
|
6731
6752
|
* </p>
|
|
6732
6753
|
*/
|
|
6733
6754
|
NetworkType?: string;
|
|
6755
|
+
/**
|
|
6756
|
+
* <p>Specifies the storage throughput value for the read replica.</p>
|
|
6757
|
+
* <p>This setting doesn't apply to RDS Custom or Amazon Aurora.</p>
|
|
6758
|
+
*/
|
|
6759
|
+
StorageThroughput?: number;
|
|
6734
6760
|
}
|
|
6735
6761
|
export interface CreateDBInstanceReadReplicaResult {
|
|
6736
6762
|
/**
|
|
@@ -8286,7 +8312,7 @@ export interface DBInstanceAutomatedBackup {
|
|
|
8286
8312
|
*/
|
|
8287
8313
|
AvailabilityZone?: string;
|
|
8288
8314
|
/**
|
|
8289
|
-
* <p>Provides the VPC ID associated with the DB instance
|
|
8315
|
+
* <p>Provides the VPC ID associated with the DB instance.</p>
|
|
8290
8316
|
*/
|
|
8291
8317
|
VpcId?: string;
|
|
8292
8318
|
/**
|
|
@@ -8361,6 +8387,10 @@ export interface DBInstanceAutomatedBackup {
|
|
|
8361
8387
|
* <p>Specifies where automated backups are stored: Amazon Web Services Outposts or the Amazon Web Services Region.</p>
|
|
8362
8388
|
*/
|
|
8363
8389
|
BackupTarget?: string;
|
|
8390
|
+
/**
|
|
8391
|
+
* <p>Specifies the storage throughput for the automated backup.</p>
|
|
8392
|
+
*/
|
|
8393
|
+
StorageThroughput?: number;
|
|
8364
8394
|
}
|
|
8365
8395
|
export interface DeleteDBInstanceAutomatedBackupResult {
|
|
8366
8396
|
/**
|
|
@@ -9125,7 +9155,8 @@ export interface DBClusterMessage {
|
|
|
9125
9155
|
*/
|
|
9126
9156
|
export interface DescribeDBClustersMessage {
|
|
9127
9157
|
/**
|
|
9128
|
-
* <p>The user-supplied DB cluster identifier
|
|
9158
|
+
* <p>The user-supplied DB cluster identifier or the Amazon Resource Name (ARN) of the DB cluster. If this parameter is specified,
|
|
9159
|
+
* information from only the specific DB cluster is returned. This parameter isn't case-sensitive.</p>
|
|
9129
9160
|
* <p>Constraints:</p>
|
|
9130
9161
|
* <ul>
|
|
9131
9162
|
* <li>
|
|
@@ -9717,7 +9748,8 @@ export interface DBInstanceMessage {
|
|
|
9717
9748
|
*/
|
|
9718
9749
|
export interface DescribeDBInstancesMessage {
|
|
9719
9750
|
/**
|
|
9720
|
-
* <p>The user-supplied instance identifier
|
|
9751
|
+
* <p>The user-supplied instance identifier or the Amazon Resource Name (ARN) of the DB instance. If this parameter is specified,
|
|
9752
|
+
* information from only the specific DB instance is returned. This parameter isn't case-sensitive.</p>
|
|
9721
9753
|
* <p>Constraints:</p>
|
|
9722
9754
|
* <ul>
|
|
9723
9755
|
* <li>
|
|
@@ -1602,6 +1602,26 @@ export interface OrderableDBInstanceOption {
|
|
|
1602
1602
|
* </p>
|
|
1603
1603
|
*/
|
|
1604
1604
|
SupportedNetworkTypes?: string[];
|
|
1605
|
+
/**
|
|
1606
|
+
* <p>Indicates whether a DB instance supports storage throughput.</p>
|
|
1607
|
+
*/
|
|
1608
|
+
SupportsStorageThroughput?: boolean;
|
|
1609
|
+
/**
|
|
1610
|
+
* <p>Minimum storage throughput for a DB instance.</p>
|
|
1611
|
+
*/
|
|
1612
|
+
MinStorageThroughputPerDbInstance?: number;
|
|
1613
|
+
/**
|
|
1614
|
+
* <p>Maximum storage throughput for a DB instance.</p>
|
|
1615
|
+
*/
|
|
1616
|
+
MaxStorageThroughputPerDbInstance?: number;
|
|
1617
|
+
/**
|
|
1618
|
+
* <p>Minimum storage throughput to provisioned IOPS ratio for a DB instance.</p>
|
|
1619
|
+
*/
|
|
1620
|
+
MinStorageThroughputPerIops?: number;
|
|
1621
|
+
/**
|
|
1622
|
+
* <p>Maximum storage throughput to provisioned IOPS ratio for a DB instance.</p>
|
|
1623
|
+
*/
|
|
1624
|
+
MaxStorageThroughputPerIops?: number;
|
|
1605
1625
|
}
|
|
1606
1626
|
/**
|
|
1607
1627
|
* <p>Contains the result of a successful invocation of the <code>DescribeOrderableDBInstanceOptions</code> action.</p>
|
|
@@ -2113,17 +2133,17 @@ export interface Range {
|
|
|
2113
2133
|
export interface ValidStorageOptions {
|
|
2114
2134
|
/**
|
|
2115
2135
|
* <p>The valid storage types for your DB instance.
|
|
2116
|
-
* For example
|
|
2136
|
+
* For example: gp2, gp3, io1.</p>
|
|
2117
2137
|
*/
|
|
2118
2138
|
StorageType?: string;
|
|
2119
2139
|
/**
|
|
2120
2140
|
* <p>The valid range of storage in gibibytes (GiB).
|
|
2121
|
-
* For example, 100 to
|
|
2141
|
+
* For example, 100 to 16,384.</p>
|
|
2122
2142
|
*/
|
|
2123
2143
|
StorageSize?: Range[];
|
|
2124
2144
|
/**
|
|
2125
2145
|
* <p>The valid range of provisioned IOPS.
|
|
2126
|
-
* For example, 1000-
|
|
2146
|
+
* For example, 1000-256,000.</p>
|
|
2127
2147
|
*/
|
|
2128
2148
|
ProvisionedIops?: Range[];
|
|
2129
2149
|
/**
|
|
@@ -2136,6 +2156,16 @@ export interface ValidStorageOptions {
|
|
|
2136
2156
|
* <p>Whether or not Amazon RDS can automatically scale storage for DB instances that use the new instance class.</p>
|
|
2137
2157
|
*/
|
|
2138
2158
|
SupportsStorageAutoscaling?: boolean;
|
|
2159
|
+
/**
|
|
2160
|
+
* <p>The valid range of provisioned storage throughput. For example,
|
|
2161
|
+
* 500-4,000 mebibytes per second (MiBps).</p>
|
|
2162
|
+
*/
|
|
2163
|
+
ProvisionedStorageThroughput?: Range[];
|
|
2164
|
+
/**
|
|
2165
|
+
* <p>The valid range of storage throughput to provisioned IOPS ratios. For example,
|
|
2166
|
+
* 0-0.25.</p>
|
|
2167
|
+
*/
|
|
2168
|
+
StorageThroughputToIopsRatio?: DoubleRange[];
|
|
2139
2169
|
}
|
|
2140
2170
|
/**
|
|
2141
2171
|
* <p>Information about valid modifications that you can make to your DB instance.
|
|
@@ -2856,7 +2886,9 @@ export interface ModifyDBClusterMessage {
|
|
|
2856
2886
|
/**
|
|
2857
2887
|
* <p>The amount of Provisioned IOPS (input/output operations per second) to be initially allocated
|
|
2858
2888
|
* for each DB instance in the Multi-AZ DB cluster.</p>
|
|
2859
|
-
* <p>For information about valid
|
|
2889
|
+
* <p>For information about valid IOPS values, see
|
|
2890
|
+
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS">Amazon RDS Provisioned IOPS storage</a>
|
|
2891
|
+
* in the <i>Amazon RDS User Guide</i>.</p>
|
|
2860
2892
|
* <p>Constraints: Must be a multiple between .5 and 50 of the storage amount for the DB cluster.</p>
|
|
2861
2893
|
* <p>Valid for: Multi-AZ DB clusters only</p>
|
|
2862
2894
|
*/
|
|
@@ -3489,7 +3521,7 @@ export interface ModifyDBInstanceMessage {
|
|
|
3489
3521
|
* instance are suspended. No other Amazon RDS operations can take place for the instance,
|
|
3490
3522
|
* including modifying the instance, rebooting the instance, deleting the instance,
|
|
3491
3523
|
* creating a read replica for the instance, and creating a DB snapshot of the instance.</p>
|
|
3492
|
-
* <p>Valid values: <code>
|
|
3524
|
+
* <p>Valid values: <code>gp2 | gp3 | io1 | standard</code>
|
|
3493
3525
|
* </p>
|
|
3494
3526
|
* <p>Default: <code>io1</code> if the <code>Iops</code> parameter
|
|
3495
3527
|
* is specified, otherwise <code>gp2</code>
|
|
@@ -3825,6 +3857,11 @@ export interface ModifyDBInstanceMessage {
|
|
|
3825
3857
|
* </p>
|
|
3826
3858
|
*/
|
|
3827
3859
|
NetworkType?: string;
|
|
3860
|
+
/**
|
|
3861
|
+
* <p>Specifies the storage throughput value for the DB instance.</p>
|
|
3862
|
+
* <p>This setting doesn't apply to RDS Custom or Amazon Aurora.</p>
|
|
3863
|
+
*/
|
|
3864
|
+
StorageThroughput?: number;
|
|
3828
3865
|
}
|
|
3829
3866
|
export interface ModifyDBInstanceResult {
|
|
3830
3867
|
/**
|
|
@@ -5439,7 +5476,9 @@ export interface RestoreDBClusterFromSnapshotMessage {
|
|
|
5439
5476
|
/**
|
|
5440
5477
|
* <p>The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for
|
|
5441
5478
|
* each DB instance in the Multi-AZ DB cluster.</p>
|
|
5442
|
-
* <p>For information about valid
|
|
5479
|
+
* <p>For information about valid IOPS values,
|
|
5480
|
+
* see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS">Amazon RDS Provisioned IOPS storage</a>
|
|
5481
|
+
* in the <i>Amazon RDS User Guide</i>.</p>
|
|
5443
5482
|
* <p>Constraints: Must be a multiple between .5 and 50 of the storage amount for the DB instance.</p>
|
|
5444
5483
|
* <p>Valid for: Aurora DB clusters and Multi-AZ DB clusters</p>
|
|
5445
5484
|
*/
|
|
@@ -5824,7 +5863,9 @@ export interface RestoreDBClusterToPointInTimeMessage {
|
|
|
5824
5863
|
/**
|
|
5825
5864
|
* <p>The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for
|
|
5826
5865
|
* each DB instance in the Multi-AZ DB cluster.</p>
|
|
5827
|
-
* <p>For information about valid
|
|
5866
|
+
* <p>For information about valid IOPS values,
|
|
5867
|
+
* see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS">Amazon RDS Provisioned IOPS storage</a>
|
|
5868
|
+
* in the <i>Amazon RDS User Guide</i>.</p>
|
|
5828
5869
|
* <p>Constraints: Must be a multiple between .5 and 50 of the storage amount for the DB instance.</p>
|
|
5829
5870
|
* <p>Valid for: Multi-AZ DB clusters only</p>
|
|
5830
5871
|
*/
|
|
@@ -6060,7 +6101,7 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
|
|
|
6060
6101
|
* The conversion takes additional time, though your DB instance is available for connections before the conversion starts.</p>
|
|
6061
6102
|
* <p>The provisioned IOPS value must follow the requirements for your database engine.
|
|
6062
6103
|
* For more information, see
|
|
6063
|
-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS">Amazon RDS Provisioned IOPS
|
|
6104
|
+
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS">Amazon RDS Provisioned IOPS storage</a>
|
|
6064
6105
|
* in the <i>Amazon RDS User Guide.</i>
|
|
6065
6106
|
* </p>
|
|
6066
6107
|
* <p>Constraints: Must be an integer greater than 1000.</p>
|
|
@@ -6083,9 +6124,9 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
|
|
|
6083
6124
|
Tags?: Tag[];
|
|
6084
6125
|
/**
|
|
6085
6126
|
* <p>Specifies the storage type to be associated with the DB instance.</p>
|
|
6086
|
-
* <p>Valid values: <code>
|
|
6127
|
+
* <p>Valid values: <code>gp2 | gp3 | io1 | standard</code>
|
|
6087
6128
|
* </p>
|
|
6088
|
-
* <p>If you specify <code>io1</code>, you must also include a value for the
|
|
6129
|
+
* <p>If you specify <code>io1</code> or <code>gp3</code>, you must also include a value for the
|
|
6089
6130
|
* <code>Iops</code> parameter.</p>
|
|
6090
6131
|
* <p>Default: <code>io1</code> if the <code>Iops</code> parameter
|
|
6091
6132
|
* is specified, otherwise <code>gp2</code>
|
|
@@ -6252,6 +6293,11 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
|
|
|
6252
6293
|
* </p>
|
|
6253
6294
|
*/
|
|
6254
6295
|
NetworkType?: string;
|
|
6296
|
+
/**
|
|
6297
|
+
* <p>Specifies the storage throughput value for the DB instance.</p>
|
|
6298
|
+
* <p>This setting doesn't apply to RDS Custom or Amazon Aurora.</p>
|
|
6299
|
+
*/
|
|
6300
|
+
StorageThroughput?: number;
|
|
6255
6301
|
}
|
|
6256
6302
|
export interface RestoreDBInstanceFromDBSnapshotResult {
|
|
6257
6303
|
/**
|
|
@@ -6459,7 +6505,8 @@ export interface RestoreDBInstanceFromS3Message {
|
|
|
6459
6505
|
/**
|
|
6460
6506
|
* <p>The amount of Provisioned IOPS (input/output operations per second)
|
|
6461
6507
|
* to allocate initially for the DB instance.
|
|
6462
|
-
* For information about valid
|
|
6508
|
+
* For information about valid IOPS values,
|
|
6509
|
+
* see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS">Amazon RDS Provisioned IOPS storage</a>
|
|
6463
6510
|
* in the <i>Amazon RDS User Guide.</i>
|
|
6464
6511
|
* </p>
|
|
6465
6512
|
*/
|
|
@@ -6488,9 +6535,9 @@ export interface RestoreDBInstanceFromS3Message {
|
|
|
6488
6535
|
Tags?: Tag[];
|
|
6489
6536
|
/**
|
|
6490
6537
|
* <p>Specifies the storage type to be associated with the DB instance.</p>
|
|
6491
|
-
* <p>Valid values: <code>
|
|
6538
|
+
* <p>Valid values: <code>gp2 | gp3 | io1 | standard</code>
|
|
6492
6539
|
* </p>
|
|
6493
|
-
* <p>If you specify <code>io1</code>,
|
|
6540
|
+
* <p>If you specify <code>io1</code> or <code>gp3</code>,
|
|
6494
6541
|
* you must also include a value for the <code>Iops</code> parameter.</p>
|
|
6495
6542
|
* <p>Default: <code>io1</code>
|
|
6496
6543
|
* if the <code>Iops</code> parameter is specified;
|
|
@@ -6676,6 +6723,11 @@ export interface RestoreDBInstanceFromS3Message {
|
|
|
6676
6723
|
* </p>
|
|
6677
6724
|
*/
|
|
6678
6725
|
NetworkType?: string;
|
|
6726
|
+
/**
|
|
6727
|
+
* <p>Specifies the storage throughput value for the DB instance.</p>
|
|
6728
|
+
* <p>This setting doesn't apply to RDS Custom or Amazon Aurora.</p>
|
|
6729
|
+
*/
|
|
6730
|
+
StorageThroughput?: number;
|
|
6679
6731
|
}
|
|
6680
6732
|
export interface RestoreDBInstanceFromS3Result {
|
|
6681
6733
|
/**
|
|
@@ -6920,9 +6972,9 @@ export interface RestoreDBInstanceToPointInTimeMessage {
|
|
|
6920
6972
|
Tags?: Tag[];
|
|
6921
6973
|
/**
|
|
6922
6974
|
* <p>Specifies the storage type to be associated with the DB instance.</p>
|
|
6923
|
-
* <p>Valid values: <code>
|
|
6975
|
+
* <p>Valid values: <code>gp2 | gp3 | io1 | standard</code>
|
|
6924
6976
|
* </p>
|
|
6925
|
-
* <p>If you specify <code>io1</code>, you must also include a value for the
|
|
6977
|
+
* <p>If you specify <code>io1</code> or <code>gp3</code>, you must also include a value for the
|
|
6926
6978
|
* <code>Iops</code> parameter.</p>
|
|
6927
6979
|
* <p>Default: <code>io1</code> if the <code>Iops</code> parameter
|
|
6928
6980
|
* is specified, otherwise <code>gp2</code>
|
|
@@ -7098,6 +7150,11 @@ export interface RestoreDBInstanceToPointInTimeMessage {
|
|
|
7098
7150
|
* </p>
|
|
7099
7151
|
*/
|
|
7100
7152
|
NetworkType?: string;
|
|
7153
|
+
/**
|
|
7154
|
+
* <p>Specifies the storage throughput value for the DB instance.</p>
|
|
7155
|
+
* <p>This setting doesn't apply to RDS Custom or Amazon Aurora.</p>
|
|
7156
|
+
*/
|
|
7157
|
+
StorageThroughput?: number;
|
|
7101
7158
|
}
|
|
7102
7159
|
export interface RestoreDBInstanceToPointInTimeResult {
|
|
7103
7160
|
/**
|
|
@@ -493,6 +493,7 @@ export interface DBSnapshot {
|
|
|
493
493
|
OriginalSnapshotCreateTime?: Date;
|
|
494
494
|
SnapshotDatabaseTime?: Date;
|
|
495
495
|
SnapshotTarget?: string;
|
|
496
|
+
StorageThroughput?: number;
|
|
496
497
|
}
|
|
497
498
|
export interface CopyDBSnapshotResult {
|
|
498
499
|
DBSnapshot?: DBSnapshot;
|
|
@@ -1073,6 +1074,7 @@ export interface CreateDBInstanceMessage {
|
|
|
1073
1074
|
CustomIamInstanceProfile?: string;
|
|
1074
1075
|
BackupTarget?: string;
|
|
1075
1076
|
NetworkType?: string;
|
|
1077
|
+
StorageThroughput?: number;
|
|
1076
1078
|
}
|
|
1077
1079
|
export interface DBInstanceRole {
|
|
1078
1080
|
RoleArn?: string;
|
|
@@ -1139,6 +1141,7 @@ export interface PendingModifiedValues {
|
|
|
1139
1141
|
IAMDatabaseAuthenticationEnabled?: boolean;
|
|
1140
1142
|
AutomationMode?: AutomationMode | string;
|
|
1141
1143
|
ResumeFullAutomationModeTime?: Date;
|
|
1144
|
+
StorageThroughput?: number;
|
|
1142
1145
|
}
|
|
1143
1146
|
export declare enum ReplicaMode {
|
|
1144
1147
|
MOUNTED = "mounted",
|
|
@@ -1227,6 +1230,7 @@ export interface DBInstance {
|
|
|
1227
1230
|
BackupTarget?: string;
|
|
1228
1231
|
NetworkType?: string;
|
|
1229
1232
|
ActivityStreamPolicyStatus?: ActivityStreamPolicyStatus | string;
|
|
1233
|
+
StorageThroughput?: number;
|
|
1230
1234
|
}
|
|
1231
1235
|
export interface CreateDBInstanceResult {
|
|
1232
1236
|
DBInstance?: DBInstance;
|
|
@@ -1314,6 +1318,7 @@ export interface CreateDBInstanceReadReplicaMessage {
|
|
|
1314
1318
|
MaxAllocatedStorage?: number;
|
|
1315
1319
|
CustomIamInstanceProfile?: string;
|
|
1316
1320
|
NetworkType?: string;
|
|
1321
|
+
StorageThroughput?: number;
|
|
1317
1322
|
}
|
|
1318
1323
|
export interface CreateDBInstanceReadReplicaResult {
|
|
1319
1324
|
DBInstance?: DBInstance;
|
|
@@ -1837,6 +1842,7 @@ export interface DBInstanceAutomatedBackup {
|
|
|
1837
1842
|
DBInstanceAutomatedBackupsArn?: string;
|
|
1838
1843
|
DBInstanceAutomatedBackupsReplications?: DBInstanceAutomatedBackupsReplication[];
|
|
1839
1844
|
BackupTarget?: string;
|
|
1845
|
+
StorageThroughput?: number;
|
|
1840
1846
|
}
|
|
1841
1847
|
export interface DeleteDBInstanceAutomatedBackupResult {
|
|
1842
1848
|
DBInstanceAutomatedBackup?: DBInstanceAutomatedBackup;
|
|
@@ -278,6 +278,11 @@ export interface OrderableDBInstanceOption {
|
|
|
278
278
|
SupportsGlobalDatabases?: boolean;
|
|
279
279
|
SupportsClusters?: boolean;
|
|
280
280
|
SupportedNetworkTypes?: string[];
|
|
281
|
+
SupportsStorageThroughput?: boolean;
|
|
282
|
+
MinStorageThroughputPerDbInstance?: number;
|
|
283
|
+
MaxStorageThroughputPerDbInstance?: number;
|
|
284
|
+
MinStorageThroughputPerIops?: number;
|
|
285
|
+
MaxStorageThroughputPerIops?: number;
|
|
281
286
|
}
|
|
282
287
|
export interface OrderableDBInstanceOptionsMessage {
|
|
283
288
|
OrderableDBInstanceOptions?: OrderableDBInstanceOption[];
|
|
@@ -413,6 +418,8 @@ export interface ValidStorageOptions {
|
|
|
413
418
|
ProvisionedIops?: Range[];
|
|
414
419
|
IopsToStorageRatio?: DoubleRange[];
|
|
415
420
|
SupportsStorageAutoscaling?: boolean;
|
|
421
|
+
ProvisionedStorageThroughput?: Range[];
|
|
422
|
+
StorageThroughputToIopsRatio?: DoubleRange[];
|
|
416
423
|
}
|
|
417
424
|
export interface ValidDBInstanceModificationsMessage {
|
|
418
425
|
Storage?: ValidStorageOptions[];
|
|
@@ -650,6 +657,7 @@ export interface ModifyDBInstanceMessage {
|
|
|
650
657
|
AutomationMode?: AutomationMode | string;
|
|
651
658
|
ResumeFullAutomationModeMinutes?: number;
|
|
652
659
|
NetworkType?: string;
|
|
660
|
+
StorageThroughput?: number;
|
|
653
661
|
}
|
|
654
662
|
export interface ModifyDBInstanceResult {
|
|
655
663
|
DBInstance?: DBInstance;
|
|
@@ -1062,6 +1070,7 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
|
|
|
1062
1070
|
CustomIamInstanceProfile?: string;
|
|
1063
1071
|
BackupTarget?: string;
|
|
1064
1072
|
NetworkType?: string;
|
|
1073
|
+
StorageThroughput?: number;
|
|
1065
1074
|
}
|
|
1066
1075
|
export interface RestoreDBInstanceFromDBSnapshotResult {
|
|
1067
1076
|
DBInstance?: DBInstance;
|
|
@@ -1112,6 +1121,7 @@ export interface RestoreDBInstanceFromS3Message {
|
|
|
1112
1121
|
DeletionProtection?: boolean;
|
|
1113
1122
|
MaxAllocatedStorage?: number;
|
|
1114
1123
|
NetworkType?: string;
|
|
1124
|
+
StorageThroughput?: number;
|
|
1115
1125
|
}
|
|
1116
1126
|
export interface RestoreDBInstanceFromS3Result {
|
|
1117
1127
|
DBInstance?: DBInstance;
|
|
@@ -1164,6 +1174,7 @@ export interface RestoreDBInstanceToPointInTimeMessage {
|
|
|
1164
1174
|
CustomIamInstanceProfile?: string;
|
|
1165
1175
|
BackupTarget?: string;
|
|
1166
1176
|
NetworkType?: string;
|
|
1177
|
+
StorageThroughput?: number;
|
|
1167
1178
|
}
|
|
1168
1179
|
export interface RestoreDBInstanceToPointInTimeResult {
|
|
1169
1180
|
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.201.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,47 +19,47 @@
|
|
|
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.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-sdk-rds": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.201.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.201.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.201.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.201.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.201.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.201.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.201.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.201.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.201.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.201.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.201.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.201.0",
|
|
34
|
+
"@aws-sdk/middleware-sdk-rds": "3.201.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.201.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.201.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.201.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.201.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.201.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.201.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.201.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.201.0",
|
|
43
|
+
"@aws-sdk/types": "3.201.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.201.0",
|
|
45
45
|
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
46
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
+
"@aws-sdk/util-base64-node": "3.201.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.201.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.201.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.201.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.201.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.201.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.201.0",
|
|
54
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
55
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
56
|
-
"@aws-sdk/util-waiter": "3.
|
|
55
|
+
"@aws-sdk/util-utf8-node": "3.201.0",
|
|
56
|
+
"@aws-sdk/util-waiter": "3.201.0",
|
|
57
57
|
"fast-xml-parser": "4.0.11",
|
|
58
58
|
"tslib": "^2.3.1"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@aws-sdk/service-client-documentation-generator": "3.188.0",
|
|
62
|
-
"@tsconfig/
|
|
62
|
+
"@tsconfig/node14": "1.0.3",
|
|
63
63
|
"@types/node": "^12.7.5",
|
|
64
64
|
"concurrently": "7.0.0",
|
|
65
65
|
"downlevel-dts": "0.10.1",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
"engines": {
|
|
76
|
-
"node": ">=
|
|
76
|
+
"node": ">=14.0.0"
|
|
77
77
|
},
|
|
78
78
|
"typesVersions": {
|
|
79
79
|
"<4.0": {
|