@aws-sdk/client-glacier 3.1045.0 → 3.1047.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +98 -100
- package/dist-cjs/models/GlacierServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +10 -12
- package/dist-es/Glacier.js +1 -1
- package/dist-es/GlacierClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/AbortMultipartUploadCommand.js +2 -2
- package/dist-es/commands/AbortVaultLockCommand.js +2 -2
- package/dist-es/commands/AddTagsToVaultCommand.js +2 -2
- package/dist-es/commands/CompleteMultipartUploadCommand.js +2 -2
- package/dist-es/commands/CompleteVaultLockCommand.js +2 -2
- package/dist-es/commands/CreateVaultCommand.js +2 -2
- package/dist-es/commands/DeleteArchiveCommand.js +2 -2
- package/dist-es/commands/DeleteVaultAccessPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteVaultCommand.js +2 -2
- package/dist-es/commands/DeleteVaultNotificationsCommand.js +2 -2
- package/dist-es/commands/DescribeJobCommand.js +2 -2
- package/dist-es/commands/DescribeVaultCommand.js +2 -2
- package/dist-es/commands/GetDataRetrievalPolicyCommand.js +2 -2
- package/dist-es/commands/GetJobOutputCommand.js +2 -2
- package/dist-es/commands/GetVaultAccessPolicyCommand.js +2 -2
- package/dist-es/commands/GetVaultLockCommand.js +2 -2
- package/dist-es/commands/GetVaultNotificationsCommand.js +2 -2
- package/dist-es/commands/InitiateJobCommand.js +2 -2
- package/dist-es/commands/InitiateMultipartUploadCommand.js +2 -2
- package/dist-es/commands/InitiateVaultLockCommand.js +2 -2
- package/dist-es/commands/ListJobsCommand.js +2 -2
- package/dist-es/commands/ListMultipartUploadsCommand.js +2 -2
- package/dist-es/commands/ListPartsCommand.js +2 -2
- package/dist-es/commands/ListProvisionedCapacityCommand.js +2 -2
- package/dist-es/commands/ListTagsForVaultCommand.js +2 -2
- package/dist-es/commands/ListVaultsCommand.js +2 -2
- package/dist-es/commands/PurchaseProvisionedCapacityCommand.js +2 -2
- package/dist-es/commands/RemoveTagsFromVaultCommand.js +2 -2
- package/dist-es/commands/SetDataRetrievalPolicyCommand.js +2 -2
- package/dist-es/commands/SetVaultAccessPolicyCommand.js +2 -2
- package/dist-es/commands/SetVaultNotificationsCommand.js +2 -2
- package/dist-es/commands/UploadArchiveCommand.js +2 -2
- package/dist-es/commands/UploadMultipartPartCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/GlacierServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -5
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/waiters/waitForVaultExists.js +1 -1
- package/dist-es/waiters/waitForVaultNotExists.js +1 -1
- package/dist-types/Glacier.d.ts +1 -1
- package/dist-types/GlacierClient.d.ts +5 -5
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +6 -4
- package/dist-types/commands/AbortVaultLockCommand.d.ts +6 -4
- package/dist-types/commands/AddTagsToVaultCommand.d.ts +6 -4
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +6 -4
- package/dist-types/commands/CompleteVaultLockCommand.d.ts +6 -4
- package/dist-types/commands/CreateVaultCommand.d.ts +6 -4
- package/dist-types/commands/DeleteArchiveCommand.d.ts +6 -4
- package/dist-types/commands/DeleteVaultAccessPolicyCommand.d.ts +6 -4
- package/dist-types/commands/DeleteVaultCommand.d.ts +6 -4
- package/dist-types/commands/DeleteVaultNotificationsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeJobCommand.d.ts +6 -4
- package/dist-types/commands/DescribeVaultCommand.d.ts +6 -4
- package/dist-types/commands/GetDataRetrievalPolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetJobOutputCommand.d.ts +6 -4
- package/dist-types/commands/GetVaultAccessPolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetVaultLockCommand.d.ts +6 -4
- package/dist-types/commands/GetVaultNotificationsCommand.d.ts +6 -4
- package/dist-types/commands/InitiateJobCommand.d.ts +6 -4
- package/dist-types/commands/InitiateMultipartUploadCommand.d.ts +6 -4
- package/dist-types/commands/InitiateVaultLockCommand.d.ts +6 -4
- package/dist-types/commands/ListJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +6 -4
- package/dist-types/commands/ListPartsCommand.d.ts +6 -4
- package/dist-types/commands/ListProvisionedCapacityCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForVaultCommand.d.ts +6 -4
- package/dist-types/commands/ListVaultsCommand.d.ts +6 -4
- package/dist-types/commands/PurchaseProvisionedCapacityCommand.d.ts +6 -4
- package/dist-types/commands/RemoveTagsFromVaultCommand.d.ts +6 -4
- package/dist-types/commands/SetDataRetrievalPolicyCommand.d.ts +6 -4
- package/dist-types/commands/SetVaultAccessPolicyCommand.d.ts +6 -4
- package/dist-types/commands/SetVaultNotificationsCommand.d.ts +6 -4
- package/dist-types/commands/UploadArchiveCommand.d.ts +6 -4
- package/dist-types/commands/UploadMultipartPartCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/GlacierServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/Glacier.d.ts +1 -1
- package/dist-types/ts3.4/GlacierClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/AbortVaultLockCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/AddTagsToVaultCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CompleteVaultLockCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateVaultCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteVaultAccessPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteVaultCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteVaultNotificationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeVaultCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetDataRetrievalPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetJobOutputCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetVaultAccessPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetVaultLockCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetVaultNotificationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InitiateJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InitiateMultipartUploadCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InitiateVaultLockCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/ListProvisionedCapacityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForVaultCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListVaultsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PurchaseProvisionedCapacityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RemoveTagsFromVaultCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetDataRetrievalPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetVaultAccessPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetVaultNotificationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UploadArchiveCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UploadMultipartPartCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/GlacierServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/waiters/waitForVaultExists.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForVaultNotExists.d.ts +1 -1
- package/dist-types/waiters/waitForVaultExists.d.ts +1 -1
- package/dist-types/waiters/waitForVaultNotExists.d.ts +1 -1
- package/package.json +16 -39
|
@@ -6,17 +6,15 @@ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
7
|
const body_checksum_browser_1 = require("@aws-sdk/body-checksum-browser");
|
|
8
8
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
9
|
-
const
|
|
9
|
+
const client_1 = require("@smithy/core/client");
|
|
10
|
+
const config_1 = require("@smithy/core/config");
|
|
11
|
+
const retry_1 = require("@smithy/core/retry");
|
|
12
|
+
const serde_1 = require("@smithy/core/serde");
|
|
10
13
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
11
|
-
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
12
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
13
|
-
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
14
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
15
|
-
const util_retry_1 = require("@smithy/util-retry");
|
|
16
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
15
|
const getRuntimeConfig = (config) => {
|
|
18
|
-
const defaultsMode = (0,
|
|
19
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
16
|
+
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
17
|
+
const defaultConfigProvider = () => defaultsMode().then(client_1.loadConfigsForDefaultMode);
|
|
20
18
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
21
19
|
return {
|
|
22
20
|
...clientSharedValues,
|
|
@@ -24,17 +22,17 @@ const getRuntimeConfig = (config) => {
|
|
|
24
22
|
runtime: "browser",
|
|
25
23
|
defaultsMode,
|
|
26
24
|
bodyChecksumGenerator: config?.bodyChecksumGenerator ?? body_checksum_browser_1.bodyChecksumGenerator,
|
|
27
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
25
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
28
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
29
27
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
30
|
-
maxAttempts: config?.maxAttempts ??
|
|
31
|
-
region: config?.region ?? (0,
|
|
28
|
+
maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
|
+
region: config?.region ?? (0, client_1.invalidProvider)("Region is missing"),
|
|
32
30
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
33
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode ||
|
|
31
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
|
|
34
32
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
35
33
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
36
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(
|
|
37
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(
|
|
34
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
35
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
38
36
|
};
|
|
39
37
|
};
|
|
40
38
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -8,20 +8,16 @@ const client_1 = require("@aws-sdk/core/client");
|
|
|
8
8
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
9
9
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
10
10
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
11
|
+
const client_2 = require("@smithy/core/client");
|
|
12
|
+
const config_1 = require("@smithy/core/config");
|
|
13
|
+
const retry_1 = require("@smithy/core/retry");
|
|
14
|
+
const serde_1 = require("@smithy/core/serde");
|
|
15
15
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
16
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
17
|
-
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const util_retry_1 = require("@smithy/util-retry");
|
|
20
16
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
21
17
|
const getRuntimeConfig = (config) => {
|
|
22
|
-
(0,
|
|
23
|
-
const defaultsMode = (0,
|
|
24
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
18
|
+
(0, client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
19
|
+
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
20
|
+
const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
|
|
25
21
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
26
22
|
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
27
23
|
const loaderConfig = {
|
|
@@ -33,24 +29,24 @@ const getRuntimeConfig = (config) => {
|
|
|
33
29
|
...config,
|
|
34
30
|
runtime: "node",
|
|
35
31
|
defaultsMode,
|
|
36
|
-
authSchemePreference: config?.authSchemePreference ?? (0,
|
|
32
|
+
authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
37
33
|
bodyChecksumGenerator: config?.bodyChecksumGenerator ?? body_checksum_node_1.bodyChecksumGenerator,
|
|
38
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
34
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
39
35
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
40
36
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
41
|
-
maxAttempts: config?.maxAttempts ?? (0,
|
|
42
|
-
region: config?.region ?? (0,
|
|
37
|
+
maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
38
|
+
region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
43
39
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
44
40
|
retryMode: config?.retryMode ??
|
|
45
|
-
(0,
|
|
46
|
-
...
|
|
47
|
-
default: async () => (await defaultConfigProvider()).retryMode ||
|
|
41
|
+
(0, config_1.loadConfig)({
|
|
42
|
+
...retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
43
|
+
default: async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE,
|
|
48
44
|
}, config),
|
|
49
|
-
sha256: config?.sha256 ??
|
|
45
|
+
sha256: config?.sha256 ?? serde_1.Hash.bind(null, "sha256"),
|
|
50
46
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
51
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0,
|
|
52
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0,
|
|
53
|
-
userAgentAppId: config?.userAgentAppId ?? (0,
|
|
47
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
48
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
49
|
+
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
54
50
|
};
|
|
55
51
|
};
|
|
56
52
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -3,19 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const util_stream_1 = require("@smithy/util-stream");
|
|
10
|
-
const util_utf8_1 = require("@smithy/util-utf8");
|
|
6
|
+
const client_1 = require("@smithy/core/client");
|
|
7
|
+
const protocols_2 = require("@smithy/core/protocols");
|
|
8
|
+
const serde_1 = require("@smithy/core/serde");
|
|
11
9
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
12
10
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
13
11
|
const schemas_0_1 = require("./schemas/schemas_0");
|
|
14
12
|
const getRuntimeConfig = (config) => {
|
|
15
13
|
return {
|
|
16
14
|
apiVersion: "2012-06-01",
|
|
17
|
-
base64Decoder: config?.base64Decoder ??
|
|
18
|
-
base64Encoder: config?.base64Encoder ??
|
|
15
|
+
base64Decoder: config?.base64Decoder ?? serde_1.fromBase64,
|
|
16
|
+
base64Encoder: config?.base64Encoder ?? serde_1.toBase64,
|
|
19
17
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
20
18
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
21
19
|
extensions: config?.extensions ?? [],
|
|
@@ -27,7 +25,7 @@ const getRuntimeConfig = (config) => {
|
|
|
27
25
|
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
28
26
|
},
|
|
29
27
|
],
|
|
30
|
-
logger: config?.logger ?? new
|
|
28
|
+
logger: config?.logger ?? new client_1.NoOpLogger(),
|
|
31
29
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
32
30
|
protocolSettings: config?.protocolSettings ?? {
|
|
33
31
|
defaultNamespace: "com.amazonaws.glacier",
|
|
@@ -36,11 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
36
34
|
version: "2012-06-01",
|
|
37
35
|
serviceTarget: "Glacier",
|
|
38
36
|
},
|
|
39
|
-
sdkStreamMixin: config?.sdkStreamMixin ??
|
|
37
|
+
sdkStreamMixin: config?.sdkStreamMixin ?? serde_1.sdkStreamMixin,
|
|
40
38
|
serviceId: config?.serviceId ?? "Glacier",
|
|
41
|
-
urlParser: config?.urlParser ??
|
|
42
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
43
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
39
|
+
urlParser: config?.urlParser ?? protocols_2.parseUrl,
|
|
40
|
+
utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8,
|
|
41
|
+
utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8,
|
|
44
42
|
};
|
|
45
43
|
};
|
|
46
44
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/Glacier.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createAggregatedClient } from "@smithy/
|
|
1
|
+
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { AbortMultipartUploadCommand, } from "./commands/AbortMultipartUploadCommand";
|
|
3
3
|
import { AbortVaultLockCommand, } from "./commands/AbortVaultLockCommand";
|
|
4
4
|
import { AddTagsToVaultCommand, } from "./commands/AddTagsToVaultCommand";
|
package/dist-es/GlacierClient.js
CHANGED
|
@@ -3,13 +3,13 @@ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
|
3
3
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
4
4
|
import { getGlacierPlugin } from "@aws-sdk/middleware-sdk-glacier";
|
|
5
5
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
6
|
-
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
7
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { Client as __Client, } from "@smithy/core/client";
|
|
8
|
+
import { resolveRegionConfig } from "@smithy/core/config";
|
|
9
|
+
import { resolveEndpointConfig } from "@smithy/core/endpoints";
|
|
10
|
+
import { getContentLengthPlugin } from "@smithy/core/protocols";
|
|
11
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
|
|
8
12
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
9
|
-
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
10
|
-
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
11
|
-
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
12
|
-
import { Client as __Client, } from "@smithy/smithy-client";
|
|
13
13
|
import { defaultGlacierHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
14
14
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
15
15
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
-
import { getSmithyContext, normalizeProvider } from "@smithy/
|
|
2
|
+
import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
|
|
3
3
|
export const defaultGlacierHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { AbortMultipartUpload$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { AbortVaultLock$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { AddTagsToVault$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CompleteMultipartUpload$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CompleteVaultLock$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateVault$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteArchive$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteVaultAccessPolicy$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteVault$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteVaultNotifications$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DescribeJob$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DescribeVault$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetDataRetrievalPolicy$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetJobOutput$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetVaultAccessPolicy$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetVaultLock$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetVaultNotifications$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { InitiateJob$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { InitiateMultipartUpload$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { InitiateVaultLock$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListJobs$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListMultipartUploads$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListParts$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListProvisionedCapacity$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListTagsForVault$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListVaults$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { PurchaseProvisionedCapacity$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { RemoveTagsFromVault$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { SetDataRetrievalPolicy$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { SetVaultAccessPolicy$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { SetVaultNotifications$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UploadArchive$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UploadMultipartPart$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
package/dist-es/endpoint/bdd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
2
|
const k = "ref";
|
|
3
3
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
4
4
|
const _data = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/
|
|
2
|
+
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
|
|
3
3
|
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
|
5
5
|
size: 50,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceException as __ServiceException, } from "@smithy/
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class GlacierServiceException extends __ServiceException {
|
|
4
4
|
constructor(options) {
|
|
@@ -2,13 +2,11 @@ import packageInfo from "../package.json";
|
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
3
|
import { bodyChecksumGenerator } from "@aws-sdk/body-checksum-browser";
|
|
4
4
|
import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
|
|
5
|
-
import {
|
|
5
|
+
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
6
9
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
7
|
-
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
8
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
9
|
-
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
10
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
11
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
11
|
export const getRuntimeConfig = (config) => {
|
|
14
12
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -4,15 +4,11 @@ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/cor
|
|
|
4
4
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/
|
|
10
|
-
import {
|
|
7
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
8
|
+
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
9
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
10
|
+
import { calculateBodyLength, Hash } from "@smithy/core/serde";
|
|
11
11
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
12
|
-
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
13
|
-
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
16
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
17
13
|
export const getRuntimeConfig = (config) => {
|
|
18
14
|
emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
-
import { NoOpLogger } from "@smithy/
|
|
4
|
-
import { parseUrl } from "@smithy/
|
|
5
|
-
import { fromBase64, toBase64 } from "@smithy/
|
|
6
|
-
import { sdkStreamMixin } from "@smithy/util-stream";
|
|
7
|
-
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
3
|
+
import { NoOpLogger } from "@smithy/core/client";
|
|
4
|
+
import { parseUrl } from "@smithy/core/protocols";
|
|
5
|
+
import { fromBase64, fromUtf8, sdkStreamMixin, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
8
6
|
import { defaultGlacierHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
9
7
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
10
8
|
import { errorTypeRegistries } from "./schemas/schemas_0";
|