@aws-sdk/client-rds 3.225.0 → 3.229.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/README.md +0 -1
- package/dist-cjs/protocols/Aws_query.js +19 -0
- package/dist-cjs/runtimeConfig.browser.js +3 -3
- package/dist-cjs/runtimeConfig.js +2 -1
- package/dist-es/protocols/Aws_query.js +19 -0
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-types/RDS.d.ts +281 -282
- package/dist-types/RDSClient.d.ts +14 -15
- package/dist-types/commands/AddRoleToDBInstanceCommand.d.ts +3 -3
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeDBSecurityGroupIngressCommand.d.ts +4 -4
- package/dist-types/commands/BacktrackDBClusterCommand.d.ts +3 -3
- package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +10 -10
- package/dist-types/commands/CopyDBSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/CreateBlueGreenDeploymentCommand.d.ts +3 -3
- package/dist-types/commands/CreateCustomDBEngineVersionCommand.d.ts +10 -10
- package/dist-types/commands/CreateDBClusterCommand.d.ts +3 -3
- package/dist-types/commands/CreateDBClusterEndpointCommand.d.ts +2 -2
- package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +8 -8
- package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +2 -2
- package/dist-types/commands/CreateDBInstanceCommand.d.ts +3 -3
- package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +4 -4
- package/dist-types/commands/CreateDBParameterGroupCommand.d.ts +4 -4
- package/dist-types/commands/CreateDBSecurityGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +4 -4
- package/dist-types/commands/CreateGlobalClusterCommand.d.ts +3 -3
- package/dist-types/commands/CreateOptionGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBlueGreenDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCustomDBEngineVersionCommand.d.ts +7 -7
- package/dist-types/commands/DeleteDBClusterCommand.d.ts +2 -2
- package/dist-types/commands/DeleteDBClusterEndpointCommand.d.ts +2 -2
- package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +2 -2
- package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +4 -4
- package/dist-types/commands/DeleteDBInstanceCommand.d.ts +7 -7
- package/dist-types/commands/DeleteDBSecurityGroupCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDBSnapshotCommand.d.ts +2 -2
- package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +2 -2
- package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBlueGreenDeploymentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBClusterBacktracksCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBClusterEndpointsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +2 -2
- package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeDBClustersCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBInstancesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeDBLogFilesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBSecurityGroupsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeDBSnapshotAttributesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +3 -3
- package/dist-types/commands/DescribeSourceRegionsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeValidDBInstanceModificationsCommand.d.ts +1 -1
- package/dist-types/commands/DownloadDBLogFilePortionCommand.d.ts +1 -1
- package/dist-types/commands/FailoverDBClusterCommand.d.ts +6 -6
- package/dist-types/commands/FailoverGlobalClusterCommand.d.ts +4 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyActivityStreamCommand.d.ts +1 -1
- package/dist-types/commands/ModifyCertificatesCommand.d.ts +7 -7
- package/dist-types/commands/ModifyCurrentDBClusterCapacityCommand.d.ts +7 -7
- package/dist-types/commands/ModifyCustomDBEngineVersionCommand.d.ts +3 -3
- package/dist-types/commands/ModifyDBClusterCommand.d.ts +2 -2
- package/dist-types/commands/ModifyDBClusterEndpointCommand.d.ts +2 -2
- package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +4 -4
- package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +5 -5
- package/dist-types/commands/ModifyDBParameterGroupCommand.d.ts +2 -2
- package/dist-types/commands/ModifyDBSnapshotAttributeCommand.d.ts +5 -5
- package/dist-types/commands/ModifyDBSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +2 -2
- package/dist-types/commands/PromoteReadReplicaCommand.d.ts +6 -6
- package/dist-types/commands/RebootDBClusterCommand.d.ts +3 -3
- package/dist-types/commands/RebootDBInstanceCommand.d.ts +4 -4
- package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +2 -2
- package/dist-types/commands/RemoveRoleFromDBClusterCommand.d.ts +2 -2
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
- package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +3 -3
- package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +5 -5
- package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +5 -5
- package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +4 -4
- package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +4 -4
- package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +1 -1
- package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +3 -3
- package/dist-types/commands/RevokeDBSecurityGroupIngressCommand.d.ts +2 -2
- package/dist-types/commands/StartDBClusterCommand.d.ts +3 -3
- package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +2 -2
- package/dist-types/commands/StartDBInstanceCommand.d.ts +3 -3
- package/dist-types/commands/StartExportTaskCommand.d.ts +1 -1
- package/dist-types/commands/StopActivityStreamCommand.d.ts +1 -1
- package/dist-types/commands/StopDBClusterCommand.d.ts +3 -3
- package/dist-types/commands/StopDBInstanceAutomatedBackupsReplicationCommand.d.ts +2 -2
- package/dist-types/commands/StopDBInstanceCommand.d.ts +3 -3
- package/dist-types/commands/SwitchoverBlueGreenDeploymentCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +1528 -1511
- package/dist-types/models/models_1.d.ts +1352 -1352
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -1
- package/package.json +31 -30
package/README.md
CHANGED
|
@@ -12,7 +12,6 @@ AWS SDK for JavaScript RDS Client for Node.js, Browser and React Native.
|
|
|
12
12
|
<fullname>Amazon Relational Database Service</fullname>
|
|
13
13
|
|
|
14
14
|
<p></p>
|
|
15
|
-
|
|
16
15
|
<p>Amazon Relational Database Service (Amazon RDS) is a web service that makes it easier to set up, operate, and
|
|
17
16
|
scale a relational database in the cloud. It provides cost-efficient, resizeable capacity for an industry-standard relational
|
|
18
17
|
database and manages common database administration tasks, freeing up developers to focus on what makes their applications
|
|
@@ -9245,6 +9245,9 @@ const serializeAws_queryCopyDBSnapshotMessage = (input, context) => {
|
|
|
9245
9245
|
if (input.TargetCustomAvailabilityZone != null) {
|
|
9246
9246
|
entries["TargetCustomAvailabilityZone"] = input.TargetCustomAvailabilityZone;
|
|
9247
9247
|
}
|
|
9248
|
+
if (input.CopyOptionGroup != null) {
|
|
9249
|
+
entries["CopyOptionGroup"] = input.CopyOptionGroup;
|
|
9250
|
+
}
|
|
9248
9251
|
return entries;
|
|
9249
9252
|
};
|
|
9250
9253
|
const serializeAws_queryCopyOptionGroupMessage = (input, context) => {
|
|
@@ -18458,6 +18461,9 @@ const deserializeAws_queryOptionGroup = (output, context) => {
|
|
|
18458
18461
|
AllowsVpcAndNonVpcInstanceMemberships: undefined,
|
|
18459
18462
|
VpcId: undefined,
|
|
18460
18463
|
OptionGroupArn: undefined,
|
|
18464
|
+
SourceOptionGroup: undefined,
|
|
18465
|
+
SourceAccountId: undefined,
|
|
18466
|
+
CopyTimestamp: undefined,
|
|
18461
18467
|
};
|
|
18462
18468
|
if (output["OptionGroupName"] !== undefined) {
|
|
18463
18469
|
contents.OptionGroupName = (0, smithy_client_1.expectString)(output["OptionGroupName"]);
|
|
@@ -18486,6 +18492,15 @@ const deserializeAws_queryOptionGroup = (output, context) => {
|
|
|
18486
18492
|
if (output["OptionGroupArn"] !== undefined) {
|
|
18487
18493
|
contents.OptionGroupArn = (0, smithy_client_1.expectString)(output["OptionGroupArn"]);
|
|
18488
18494
|
}
|
|
18495
|
+
if (output["SourceOptionGroup"] !== undefined) {
|
|
18496
|
+
contents.SourceOptionGroup = (0, smithy_client_1.expectString)(output["SourceOptionGroup"]);
|
|
18497
|
+
}
|
|
18498
|
+
if (output["SourceAccountId"] !== undefined) {
|
|
18499
|
+
contents.SourceAccountId = (0, smithy_client_1.expectString)(output["SourceAccountId"]);
|
|
18500
|
+
}
|
|
18501
|
+
if (output["CopyTimestamp"] !== undefined) {
|
|
18502
|
+
contents.CopyTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CopyTimestamp"]));
|
|
18503
|
+
}
|
|
18489
18504
|
return contents;
|
|
18490
18505
|
};
|
|
18491
18506
|
const deserializeAws_queryOptionGroupAlreadyExistsFault = (output, context) => {
|
|
@@ -18544,6 +18559,7 @@ const deserializeAws_queryOptionGroupOption = (output, context) => {
|
|
|
18544
18559
|
SupportsOptionVersionDowngrade: undefined,
|
|
18545
18560
|
OptionGroupOptionSettings: undefined,
|
|
18546
18561
|
OptionGroupOptionVersions: undefined,
|
|
18562
|
+
CopyableCrossAccount: undefined,
|
|
18547
18563
|
};
|
|
18548
18564
|
if (output["Name"] !== undefined) {
|
|
18549
18565
|
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
@@ -18608,6 +18624,9 @@ const deserializeAws_queryOptionGroupOption = (output, context) => {
|
|
|
18608
18624
|
output["OptionGroupOptionVersions"]["OptionVersion"] !== undefined) {
|
|
18609
18625
|
contents.OptionGroupOptionVersions = deserializeAws_queryOptionGroupOptionVersionsList((0, smithy_client_1.getArrayIfSingleItem)(output["OptionGroupOptionVersions"]["OptionVersion"]), context);
|
|
18610
18626
|
}
|
|
18627
|
+
if (output["CopyableCrossAccount"] !== undefined) {
|
|
18628
|
+
contents.CopyableCrossAccount = (0, smithy_client_1.parseBoolean)(output["CopyableCrossAccount"]);
|
|
18629
|
+
}
|
|
18611
18630
|
return contents;
|
|
18612
18631
|
};
|
|
18613
18632
|
const deserializeAws_queryOptionGroupOptionSetting = (output, context) => {
|
|
@@ -7,8 +7,8 @@ const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
|
7
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
10
|
-
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
10
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
|
+
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
12
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
13
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
@@ -27,10 +27,10 @@ const getRuntimeConfig = (config) => {
|
|
|
27
27
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
28
28
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
29
29
|
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
30
|
-
maxAttempts: config?.maxAttempts ??
|
|
30
|
+
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
31
31
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
32
32
|
requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
33
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode ||
|
|
33
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
|
|
34
34
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
35
35
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
36
36
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
11
11
|
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
12
12
|
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
13
13
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
14
|
+
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
14
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
15
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
16
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
@@ -37,7 +38,7 @@ const getRuntimeConfig = (config) => {
|
|
|
37
38
|
retryMode: config?.retryMode ??
|
|
38
39
|
(0, node_config_provider_1.loadConfig)({
|
|
39
40
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
-
default: async () => (await defaultConfigProvider()).retryMode ||
|
|
41
|
+
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
|
|
41
42
|
}),
|
|
42
43
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
43
44
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
@@ -8955,6 +8955,9 @@ const serializeAws_queryCopyDBSnapshotMessage = (input, context) => {
|
|
|
8955
8955
|
if (input.TargetCustomAvailabilityZone != null) {
|
|
8956
8956
|
entries["TargetCustomAvailabilityZone"] = input.TargetCustomAvailabilityZone;
|
|
8957
8957
|
}
|
|
8958
|
+
if (input.CopyOptionGroup != null) {
|
|
8959
|
+
entries["CopyOptionGroup"] = input.CopyOptionGroup;
|
|
8960
|
+
}
|
|
8958
8961
|
return entries;
|
|
8959
8962
|
};
|
|
8960
8963
|
const serializeAws_queryCopyOptionGroupMessage = (input, context) => {
|
|
@@ -18168,6 +18171,9 @@ const deserializeAws_queryOptionGroup = (output, context) => {
|
|
|
18168
18171
|
AllowsVpcAndNonVpcInstanceMemberships: undefined,
|
|
18169
18172
|
VpcId: undefined,
|
|
18170
18173
|
OptionGroupArn: undefined,
|
|
18174
|
+
SourceOptionGroup: undefined,
|
|
18175
|
+
SourceAccountId: undefined,
|
|
18176
|
+
CopyTimestamp: undefined,
|
|
18171
18177
|
};
|
|
18172
18178
|
if (output["OptionGroupName"] !== undefined) {
|
|
18173
18179
|
contents.OptionGroupName = __expectString(output["OptionGroupName"]);
|
|
@@ -18196,6 +18202,15 @@ const deserializeAws_queryOptionGroup = (output, context) => {
|
|
|
18196
18202
|
if (output["OptionGroupArn"] !== undefined) {
|
|
18197
18203
|
contents.OptionGroupArn = __expectString(output["OptionGroupArn"]);
|
|
18198
18204
|
}
|
|
18205
|
+
if (output["SourceOptionGroup"] !== undefined) {
|
|
18206
|
+
contents.SourceOptionGroup = __expectString(output["SourceOptionGroup"]);
|
|
18207
|
+
}
|
|
18208
|
+
if (output["SourceAccountId"] !== undefined) {
|
|
18209
|
+
contents.SourceAccountId = __expectString(output["SourceAccountId"]);
|
|
18210
|
+
}
|
|
18211
|
+
if (output["CopyTimestamp"] !== undefined) {
|
|
18212
|
+
contents.CopyTimestamp = __expectNonNull(__parseRfc3339DateTime(output["CopyTimestamp"]));
|
|
18213
|
+
}
|
|
18199
18214
|
return contents;
|
|
18200
18215
|
};
|
|
18201
18216
|
const deserializeAws_queryOptionGroupAlreadyExistsFault = (output, context) => {
|
|
@@ -18254,6 +18269,7 @@ const deserializeAws_queryOptionGroupOption = (output, context) => {
|
|
|
18254
18269
|
SupportsOptionVersionDowngrade: undefined,
|
|
18255
18270
|
OptionGroupOptionSettings: undefined,
|
|
18256
18271
|
OptionGroupOptionVersions: undefined,
|
|
18272
|
+
CopyableCrossAccount: undefined,
|
|
18257
18273
|
};
|
|
18258
18274
|
if (output["Name"] !== undefined) {
|
|
18259
18275
|
contents.Name = __expectString(output["Name"]);
|
|
@@ -18318,6 +18334,9 @@ const deserializeAws_queryOptionGroupOption = (output, context) => {
|
|
|
18318
18334
|
output["OptionGroupOptionVersions"]["OptionVersion"] !== undefined) {
|
|
18319
18335
|
contents.OptionGroupOptionVersions = deserializeAws_queryOptionGroupOptionVersionsList(__getArrayIfSingleItem(output["OptionGroupOptionVersions"]["OptionVersion"]), context);
|
|
18320
18336
|
}
|
|
18337
|
+
if (output["CopyableCrossAccount"] !== undefined) {
|
|
18338
|
+
contents.CopyableCrossAccount = __parseBoolean(output["CopyableCrossAccount"]);
|
|
18339
|
+
}
|
|
18321
18340
|
return contents;
|
|
18322
18341
|
};
|
|
18323
18342
|
const deserializeAws_queryOptionGroupOptionSetting = (output, context) => {
|
|
@@ -3,8 +3,8 @@ import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
|
3
3
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
4
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
7
6
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
7
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
8
8
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
9
9
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -3,10 +3,11 @@ import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
|
3
3
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
5
|
import { Hash } from "@aws-sdk/hash-node";
|
|
6
|
-
import {
|
|
6
|
+
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
7
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
8
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
9
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
10
|
+
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
10
11
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
11
12
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
12
13
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|