@cdk8s/awscdk-resolver 0.0.269 → 0.0.271
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/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +17 -18
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/client-cloudformation/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +17 -18
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +13 -15
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +82 -33
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +70 -27
- package/node_modules/@aws-sdk/core/dist-types/api-extractor-type-index.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +0 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +25 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parseXmlBody.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +11 -1
- package/node_modules/@aws-sdk/core/package.json +22 -22
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +7 -9
- package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +15 -0
- package/node_modules/@aws-sdk/middleware-host-header/package.json +5 -4
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +5 -5
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +11 -11
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +17 -18
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +2 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +2 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/package.json +36 -36
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +15 -26
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js +2 -12
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +2 -3
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/types/dist-es/function.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-types/function.d.ts +7 -0
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/function.d.ts +7 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +5 -7
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +5 -5
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@smithy/abort-controller/package.json +5 -5
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +11 -14
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js +5 -6
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js +4 -5
- package/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js +2 -3
- package/node_modules/@smithy/config-resolver/package.json +7 -7
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +41 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +9 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +31 -0
- package/node_modules/@smithy/core/package.json +17 -8
- package/node_modules/@smithy/core/serde.d.ts +7 -0
- package/node_modules/@smithy/core/serde.js +6 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +8 -8
- package/node_modules/@smithy/fetch-http-handler/package.json +8 -8
- package/node_modules/@smithy/hash-node/package.json +5 -5
- package/node_modules/@smithy/invalid-dependency/package.json +5 -5
- package/node_modules/@smithy/middleware-content-length/package.json +6 -6
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +5 -6
- package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js +5 -6
- package/node_modules/@smithy/middleware-endpoint/package.json +10 -10
- package/node_modules/@smithy/middleware-retry/README.md +1 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +5 -6
- package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +5 -6
- package/node_modules/@smithy/middleware-retry/package.json +10 -10
- package/node_modules/@smithy/middleware-serde/package.json +4 -4
- package/node_modules/@smithy/middleware-stack/package.json +5 -5
- package/node_modules/@smithy/node-config-provider/package.json +7 -7
- package/node_modules/@smithy/node-http-handler/package.json +7 -7
- package/node_modules/@smithy/property-provider/package.json +5 -5
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +4 -5
- package/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +4 -5
- package/node_modules/@smithy/protocol-http/package.json +5 -5
- package/node_modules/@smithy/querystring-builder/package.json +5 -5
- package/node_modules/@smithy/querystring-parser/package.json +5 -5
- package/node_modules/@smithy/service-error-classification/package.json +5 -5
- package/node_modules/@smithy/shared-ini-file-loader/package.json +5 -5
- package/node_modules/@smithy/signature-v4/package.json +7 -7
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +6 -14
- package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +2 -3
- package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +2 -8
- package/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js +2 -3
- package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +8 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +0 -1
- package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +6 -6
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +8 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +0 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +6 -6
- package/node_modules/@smithy/smithy-client/package.json +9 -9
- package/node_modules/@smithy/types/dist-cjs/index.js +4 -9
- package/node_modules/@smithy/types/dist-es/extensions/checksum.js +2 -3
- package/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +2 -6
- package/node_modules/@smithy/types/package.json +4 -4
- package/node_modules/@smithy/url-parser/package.json +6 -6
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -6
- package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -9
- package/node_modules/@smithy/util-endpoints/package.json +6 -6
- package/node_modules/@smithy/util-middleware/package.json +5 -5
- package/node_modules/@smithy/util-retry/README.md +1 -1
- package/node_modules/@smithy/util-retry/package.json +6 -6
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +1 -1
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +3 -3
- package/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js +1 -1
- package/node_modules/@smithy/util-stream/dist-es/createBufferedReadableStream.js +3 -3
- package/node_modules/@smithy/util-stream/dist-types/createBufferedReadableStream.d.ts +3 -2
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts +3 -2
- package/node_modules/@smithy/util-stream/package.json +6 -6
- package/node_modules/@smithy/util-waiter/package.json +6 -6
- package/package.json +4 -4
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
20
|
|
21
21
|
// src/submodules/httpAuthSchemes/index.ts
|
22
|
-
var
|
23
|
-
__export(
|
22
|
+
var index_exports = {};
|
23
|
+
__export(index_exports, {
|
24
24
|
AWSSDKSigV4Signer: () => AWSSDKSigV4Signer,
|
25
25
|
AwsSdkSigV4ASigner: () => AwsSdkSigV4ASigner,
|
26
26
|
AwsSdkSigV4Signer: () => AwsSdkSigV4Signer,
|
@@ -30,7 +30,7 @@ __export(httpAuthSchemes_exports, {
|
|
30
30
|
resolveAwsSdkSigV4Config: () => resolveAwsSdkSigV4Config,
|
31
31
|
validateSigningProperties: () => validateSigningProperties
|
32
32
|
});
|
33
|
-
module.exports = __toCommonJS(
|
33
|
+
module.exports = __toCommonJS(index_exports);
|
34
34
|
|
35
35
|
// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts
|
36
36
|
var import_protocol_http2 = require("@smithy/protocol-http");
|
@@ -191,28 +191,38 @@ var import_client = require("@aws-sdk/core/client");
|
|
191
191
|
var import_core2 = require("@smithy/core");
|
192
192
|
var import_signature_v4 = require("@smithy/signature-v4");
|
193
193
|
var resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {
|
194
|
-
let
|
195
|
-
let
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
)
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
194
|
+
let inputCredentials = config.credentials;
|
195
|
+
let isUserSupplied = !!config.credentials;
|
196
|
+
let resolvedCredentials = void 0;
|
197
|
+
Object.defineProperty(config, "credentials", {
|
198
|
+
set(credentials) {
|
199
|
+
if (credentials && credentials !== inputCredentials && credentials !== resolvedCredentials) {
|
200
|
+
isUserSupplied = true;
|
201
|
+
}
|
202
|
+
inputCredentials = credentials;
|
203
|
+
const memoizedProvider = normalizeCredentialProvider(config, {
|
204
|
+
credentials: inputCredentials,
|
205
|
+
credentialDefaultProvider: config.credentialDefaultProvider
|
206
|
+
});
|
207
|
+
const boundProvider = bindCallerConfig(config, memoizedProvider);
|
208
|
+
if (isUserSupplied && !boundProvider.attributed) {
|
209
|
+
resolvedCredentials = /* @__PURE__ */ __name(async (options) => boundProvider(options).then(
|
210
|
+
(creds) => (0, import_client.setCredentialFeature)(creds, "CREDENTIALS_CODE", "e")
|
211
|
+
), "resolvedCredentials");
|
212
|
+
resolvedCredentials.memoized = boundProvider.memoized;
|
213
|
+
resolvedCredentials.configBound = boundProvider.configBound;
|
214
|
+
resolvedCredentials.attributed = true;
|
215
|
+
} else {
|
216
|
+
resolvedCredentials = boundProvider;
|
217
|
+
}
|
218
|
+
},
|
219
|
+
get() {
|
220
|
+
return resolvedCredentials;
|
221
|
+
},
|
222
|
+
enumerable: true,
|
223
|
+
configurable: true
|
224
|
+
});
|
225
|
+
config.credentials = inputCredentials;
|
216
226
|
const {
|
217
227
|
// Default for signingEscapePath
|
218
228
|
signingEscapePath = true,
|
@@ -239,7 +249,7 @@ var resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {
|
|
239
249
|
config.signingName = config.signingName || signingService || config.serviceId;
|
240
250
|
const params = {
|
241
251
|
...config,
|
242
|
-
credentials:
|
252
|
+
credentials: config.credentials,
|
243
253
|
region: config.signingRegion,
|
244
254
|
service: config.signingName,
|
245
255
|
sha256,
|
@@ -266,7 +276,7 @@ var resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {
|
|
266
276
|
config.signingName = config.signingName || signingService || config.serviceId;
|
267
277
|
const params = {
|
268
278
|
...config,
|
269
|
-
credentials:
|
279
|
+
credentials: config.credentials,
|
270
280
|
region: config.signingRegion,
|
271
281
|
service: config.signingName,
|
272
282
|
sha256,
|
@@ -276,17 +286,56 @@ var resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {
|
|
276
286
|
return new SignerCtor(params);
|
277
287
|
}, "signer");
|
278
288
|
}
|
279
|
-
|
280
|
-
...config,
|
289
|
+
const resolvedConfig = Object.assign(config, {
|
281
290
|
systemClockOffset,
|
282
291
|
signingEscapePath,
|
283
|
-
credentials: isUserSupplied ? async () => boundCredentialsProvider().then(
|
284
|
-
(creds) => (0, import_client.setCredentialFeature)(creds, "CREDENTIALS_CODE", "e")
|
285
|
-
) : boundCredentialsProvider,
|
286
292
|
signer
|
287
|
-
};
|
293
|
+
});
|
294
|
+
return resolvedConfig;
|
288
295
|
}, "resolveAwsSdkSigV4Config");
|
289
296
|
var resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config;
|
297
|
+
function normalizeCredentialProvider(config, {
|
298
|
+
credentials,
|
299
|
+
credentialDefaultProvider
|
300
|
+
}) {
|
301
|
+
let credentialsProvider;
|
302
|
+
if (credentials) {
|
303
|
+
if (!credentials?.memoized) {
|
304
|
+
credentialsProvider = (0, import_core2.memoizeIdentityProvider)(credentials, import_core2.isIdentityExpired, import_core2.doesIdentityRequireRefresh);
|
305
|
+
} else {
|
306
|
+
credentialsProvider = credentials;
|
307
|
+
}
|
308
|
+
} else {
|
309
|
+
if (credentialDefaultProvider) {
|
310
|
+
credentialsProvider = (0, import_core2.normalizeProvider)(
|
311
|
+
credentialDefaultProvider(
|
312
|
+
Object.assign({}, config, {
|
313
|
+
parentClientConfig: config
|
314
|
+
})
|
315
|
+
)
|
316
|
+
);
|
317
|
+
} else {
|
318
|
+
credentialsProvider = /* @__PURE__ */ __name(async () => {
|
319
|
+
throw new Error(
|
320
|
+
"@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured."
|
321
|
+
);
|
322
|
+
}, "credentialsProvider");
|
323
|
+
}
|
324
|
+
}
|
325
|
+
credentialsProvider.memoized = true;
|
326
|
+
return credentialsProvider;
|
327
|
+
}
|
328
|
+
__name(normalizeCredentialProvider, "normalizeCredentialProvider");
|
329
|
+
function bindCallerConfig(config, credentialsProvider) {
|
330
|
+
if (credentialsProvider.configBound) {
|
331
|
+
return credentialsProvider;
|
332
|
+
}
|
333
|
+
const fn = /* @__PURE__ */ __name(async (options) => credentialsProvider({ ...options, callerClientConfig: config }), "fn");
|
334
|
+
fn.memoized = credentialsProvider.memoized;
|
335
|
+
fn.configBound = true;
|
336
|
+
return fn;
|
337
|
+
}
|
338
|
+
__name(bindCallerConfig, "bindCallerConfig");
|
290
339
|
// Annotate the CommonJS export names for ESM import in node:
|
291
340
|
0 && (module.exports = {
|
292
341
|
AWSSDKSigV4Signer,
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
20
|
|
21
21
|
// src/submodules/protocols/index.ts
|
22
|
-
var
|
23
|
-
__export(
|
22
|
+
var index_exports = {};
|
23
|
+
__export(index_exports, {
|
24
24
|
_toBool: () => _toBool,
|
25
25
|
_toNum: () => _toNum,
|
26
26
|
_toStr: () => _toStr,
|
@@ -32,7 +32,7 @@ __export(protocols_exports, {
|
|
32
32
|
parseXmlBody: () => parseXmlBody,
|
33
33
|
parseXmlErrorBody: () => parseXmlErrorBody
|
34
34
|
});
|
35
|
-
module.exports = __toCommonJS(
|
35
|
+
module.exports = __toCommonJS(index_exports);
|
36
36
|
|
37
37
|
// src/submodules/protocols/coercing-serializers.ts
|
38
38
|
var _toStr = /* @__PURE__ */ __name((val) => {
|
@@ -168,7 +168,7 @@ var parseXmlBody = /* @__PURE__ */ __name((streamBody, context) => collectBodySt
|
|
168
168
|
ignoreDeclaration: true,
|
169
169
|
parseTagValue: false,
|
170
170
|
trimValues: false,
|
171
|
-
tagValueProcessor: (_, val) => val.trim() === "" && val.includes("\n") ? "" : void 0
|
171
|
+
tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === "" && val.includes("\n") ? "" : void 0, "tagValueProcessor")
|
172
172
|
});
|
173
173
|
parser.addEntity("#xD", "\r");
|
174
174
|
parser.addEntity("#10", "\n");
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { normalizeProvider } from "@smithy/util-middleware";
|
2
2
|
import { DEFAULT_ACCOUNT_ID_ENDPOINT_MODE, validateAccountIdEndpointMode, } from "./AccountIdEndpointModeConstants";
|
3
3
|
export const resolveAccountIdEndpointModeConfig = (input) => {
|
4
|
-
const
|
5
|
-
|
6
|
-
|
4
|
+
const { accountIdEndpointMode } = input;
|
5
|
+
const accountIdEndpointModeProvider = normalizeProvider(accountIdEndpointMode ?? DEFAULT_ACCOUNT_ID_ENDPOINT_MODE);
|
6
|
+
return Object.assign(input, {
|
7
7
|
accountIdEndpointMode: async () => {
|
8
8
|
const accIdMode = await accountIdEndpointModeProvider();
|
9
9
|
if (!validateAccountIdEndpointMode(accIdMode)) {
|
@@ -11,5 +11,5 @@ export const resolveAccountIdEndpointModeConfig = (input) => {
|
|
11
11
|
}
|
12
12
|
return accIdMode;
|
13
13
|
},
|
14
|
-
};
|
14
|
+
});
|
15
15
|
};
|
@@ -2,25 +2,37 @@ import { setCredentialFeature } from "@aws-sdk/core/client";
|
|
2
2
|
import { doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider, normalizeProvider, } from "@smithy/core";
|
3
3
|
import { SignatureV4 } from "@smithy/signature-v4";
|
4
4
|
export const resolveAwsSdkSigV4Config = (config) => {
|
5
|
-
let
|
6
|
-
let
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
5
|
+
let inputCredentials = config.credentials;
|
6
|
+
let isUserSupplied = !!config.credentials;
|
7
|
+
let resolvedCredentials = undefined;
|
8
|
+
Object.defineProperty(config, "credentials", {
|
9
|
+
set(credentials) {
|
10
|
+
if (credentials && credentials !== inputCredentials && credentials !== resolvedCredentials) {
|
11
|
+
isUserSupplied = true;
|
12
|
+
}
|
13
|
+
inputCredentials = credentials;
|
14
|
+
const memoizedProvider = normalizeCredentialProvider(config, {
|
15
|
+
credentials: inputCredentials,
|
16
|
+
credentialDefaultProvider: config.credentialDefaultProvider,
|
17
|
+
});
|
18
|
+
const boundProvider = bindCallerConfig(config, memoizedProvider);
|
19
|
+
if (isUserSupplied && !boundProvider.attributed) {
|
20
|
+
resolvedCredentials = async (options) => boundProvider(options).then((creds) => setCredentialFeature(creds, "CREDENTIALS_CODE", "e"));
|
21
|
+
resolvedCredentials.memoized = boundProvider.memoized;
|
22
|
+
resolvedCredentials.configBound = boundProvider.configBound;
|
23
|
+
resolvedCredentials.attributed = true;
|
24
|
+
}
|
25
|
+
else {
|
26
|
+
resolvedCredentials = boundProvider;
|
27
|
+
}
|
28
|
+
},
|
29
|
+
get() {
|
30
|
+
return resolvedCredentials;
|
31
|
+
},
|
32
|
+
enumerable: true,
|
33
|
+
configurable: true,
|
34
|
+
});
|
35
|
+
config.credentials = inputCredentials;
|
24
36
|
const { signingEscapePath = true, systemClockOffset = config.systemClockOffset || 0, sha256, } = config;
|
25
37
|
let signer;
|
26
38
|
if (config.signer) {
|
@@ -41,7 +53,7 @@ export const resolveAwsSdkSigV4Config = (config) => {
|
|
41
53
|
config.signingName = config.signingName || signingService || config.serviceId;
|
42
54
|
const params = {
|
43
55
|
...config,
|
44
|
-
credentials:
|
56
|
+
credentials: config.credentials,
|
45
57
|
region: config.signingRegion,
|
46
58
|
service: config.signingName,
|
47
59
|
sha256,
|
@@ -65,7 +77,7 @@ export const resolveAwsSdkSigV4Config = (config) => {
|
|
65
77
|
config.signingName = config.signingName || signingService || config.serviceId;
|
66
78
|
const params = {
|
67
79
|
...config,
|
68
|
-
credentials:
|
80
|
+
credentials: config.credentials,
|
69
81
|
region: config.signingRegion,
|
70
82
|
service: config.signingName,
|
71
83
|
sha256,
|
@@ -75,14 +87,45 @@ export const resolveAwsSdkSigV4Config = (config) => {
|
|
75
87
|
return new SignerCtor(params);
|
76
88
|
};
|
77
89
|
}
|
78
|
-
|
79
|
-
...config,
|
90
|
+
const resolvedConfig = Object.assign(config, {
|
80
91
|
systemClockOffset,
|
81
92
|
signingEscapePath,
|
82
|
-
credentials: isUserSupplied
|
83
|
-
? async () => boundCredentialsProvider().then((creds) => setCredentialFeature(creds, "CREDENTIALS_CODE", "e"))
|
84
|
-
: boundCredentialsProvider,
|
85
93
|
signer,
|
86
|
-
};
|
94
|
+
});
|
95
|
+
return resolvedConfig;
|
87
96
|
};
|
88
97
|
export const resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config;
|
98
|
+
function normalizeCredentialProvider(config, { credentials, credentialDefaultProvider, }) {
|
99
|
+
let credentialsProvider;
|
100
|
+
if (credentials) {
|
101
|
+
if (!credentials?.memoized) {
|
102
|
+
credentialsProvider = memoizeIdentityProvider(credentials, isIdentityExpired, doesIdentityRequireRefresh);
|
103
|
+
}
|
104
|
+
else {
|
105
|
+
credentialsProvider = credentials;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
else {
|
109
|
+
if (credentialDefaultProvider) {
|
110
|
+
credentialsProvider = normalizeProvider(credentialDefaultProvider(Object.assign({}, config, {
|
111
|
+
parentClientConfig: config,
|
112
|
+
})));
|
113
|
+
}
|
114
|
+
else {
|
115
|
+
credentialsProvider = async () => {
|
116
|
+
throw new Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.");
|
117
|
+
};
|
118
|
+
}
|
119
|
+
}
|
120
|
+
credentialsProvider.memoized = true;
|
121
|
+
return credentialsProvider;
|
122
|
+
}
|
123
|
+
function bindCallerConfig(config, credentialsProvider) {
|
124
|
+
if (credentialsProvider.configBound) {
|
125
|
+
return credentialsProvider;
|
126
|
+
}
|
127
|
+
const fn = async (options) => credentialsProvider({ ...options, callerClientConfig: config });
|
128
|
+
fn.memoized = credentialsProvider.memoized;
|
129
|
+
fn.configBound = true;
|
130
|
+
return fn;
|
131
|
+
}
|
@@ -18,9 +18,6 @@ interface PreviouslyResolved {
|
|
18
18
|
* @internal
|
19
19
|
*/
|
20
20
|
export interface AccountIdEndpointModeResolvedConfig {
|
21
|
-
/**
|
22
|
-
* Resolved value for input config {config.accountIdEndpointMode}
|
23
|
-
*/
|
24
21
|
accountIdEndpointMode: Provider<AccountIdEndpointMode>;
|
25
22
|
}
|
26
23
|
/**
|
@@ -1,5 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* @public
|
3
|
+
*/
|
1
4
|
export type AccountIdEndpointMode = "disabled" | "preferred" | "required";
|
5
|
+
/**
|
6
|
+
* @internal
|
7
|
+
*/
|
2
8
|
export declare const DEFAULT_ACCOUNT_ID_ENDPOINT_MODE = "preferred";
|
9
|
+
/**
|
10
|
+
* @internal
|
11
|
+
*/
|
3
12
|
export declare const ACCOUNT_ID_ENDPOINT_MODE_VALUES: AccountIdEndpointMode[];
|
4
13
|
/**
|
5
14
|
* @internal
|
@@ -22,9 +22,9 @@ interface AwsSdkSigV4AuthSigningProperties {
|
|
22
22
|
*/
|
23
23
|
export declare const validateSigningProperties: (signingProperties: Record<string, unknown>) => Promise<AwsSdkSigV4AuthSigningProperties>;
|
24
24
|
/**
|
25
|
-
* @internal
|
26
25
|
* Note: this is not a signing algorithm implementation. The sign method
|
27
26
|
* accepts the real signer as an input parameter.
|
27
|
+
* @internal
|
28
28
|
*/
|
29
29
|
export declare class AwsSdkSigV4Signer implements HttpSigner {
|
30
30
|
sign(httpRequest: IHttpRequest,
|
@@ -36,6 +36,7 @@ export declare class AwsSdkSigV4Signer implements HttpSigner {
|
|
36
36
|
successHandler(httpResponse: HttpResponse | unknown, signingProperties: Record<string, unknown>): void;
|
37
37
|
}
|
38
38
|
/**
|
39
|
+
* @internal
|
39
40
|
* @deprecated renamed to {@link AwsSdkSigV4Signer}
|
40
41
|
*/
|
41
42
|
export declare const AWSSDKSigV4Signer: typeof AwsSdkSigV4Signer;
|
@@ -1,7 +1,8 @@
|
|
1
|
+
import type { MergeFunctions } from "@aws-sdk/types";
|
1
2
|
import { SignatureV4CryptoInit, SignatureV4Init } from "@smithy/signature-v4";
|
2
3
|
import { AuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider, ChecksumConstructor, HashConstructor, MemoizedProvider, Provider, RegionInfoProvider, RequestSigner } from "@smithy/types";
|
3
4
|
/**
|
4
|
-
* @
|
5
|
+
* @public
|
5
6
|
*/
|
6
7
|
export interface AwsSdkSigV4AuthInputConfig {
|
7
8
|
/**
|
@@ -33,6 +34,24 @@ export interface AwsSdkSigV4AuthInputConfig {
|
|
33
34
|
*/
|
34
35
|
signerConstructor?: new (options: SignatureV4Init & SignatureV4CryptoInit) => RequestSigner;
|
35
36
|
}
|
37
|
+
/**
|
38
|
+
* Used to indicate whether a credential provider function was memoized by this resolver.
|
39
|
+
* @public
|
40
|
+
*/
|
41
|
+
export type AwsSdkSigV4Memoized = {
|
42
|
+
/**
|
43
|
+
* The credential provider has been memoized by the AWS SDK SigV4 config resolver.
|
44
|
+
*/
|
45
|
+
memoized?: boolean;
|
46
|
+
/**
|
47
|
+
* The credential provider has the caller client config object bound to its arguments.
|
48
|
+
*/
|
49
|
+
configBound?: boolean;
|
50
|
+
/**
|
51
|
+
* Function is wrapped with attribution transform.
|
52
|
+
*/
|
53
|
+
attributed?: boolean;
|
54
|
+
};
|
36
55
|
/**
|
37
56
|
* @internal
|
38
57
|
*/
|
@@ -54,9 +73,8 @@ export interface AwsSdkSigV4AuthResolvedConfig {
|
|
54
73
|
/**
|
55
74
|
* Resolved value for input config {@link AwsSdkSigV4AuthInputConfig.credentials}
|
56
75
|
* This provider MAY memoize the loaded credentials for certain period.
|
57
|
-
* See {@link MemoizedProvider} for more information.
|
58
76
|
*/
|
59
|
-
credentials: AwsCredentialIdentityProvider;
|
77
|
+
credentials: MergeFunctions<AwsCredentialIdentityProvider, MemoizedProvider<AwsCredentialIdentity>> & AwsSdkSigV4Memoized;
|
60
78
|
/**
|
61
79
|
* Resolved value for input config {@link AwsSdkSigV4AuthInputConfig.signer}
|
62
80
|
*/
|
@@ -75,21 +93,25 @@ export interface AwsSdkSigV4AuthResolvedConfig {
|
|
75
93
|
*/
|
76
94
|
export declare const resolveAwsSdkSigV4Config: <T>(config: T & AwsSdkSigV4AuthInputConfig & AwsSdkSigV4PreviouslyResolved) => T & AwsSdkSigV4AuthResolvedConfig;
|
77
95
|
/**
|
96
|
+
* @internal
|
78
97
|
* @deprecated renamed to {@link AwsSdkSigV4AuthInputConfig}
|
79
98
|
*/
|
80
99
|
export interface AWSSDKSigV4AuthInputConfig extends AwsSdkSigV4AuthInputConfig {
|
81
100
|
}
|
82
101
|
/**
|
102
|
+
* @internal
|
83
103
|
* @deprecated renamed to {@link AwsSdkSigV4PreviouslyResolved}
|
84
104
|
*/
|
85
105
|
export interface AWSSDKSigV4PreviouslyResolved extends AwsSdkSigV4PreviouslyResolved {
|
86
106
|
}
|
87
107
|
/**
|
108
|
+
* @internal
|
88
109
|
* @deprecated renamed to {@link AwsSdkSigV4AuthResolvedConfig}
|
89
110
|
*/
|
90
111
|
export interface AWSSDKSigV4AuthResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
91
112
|
}
|
92
113
|
/**
|
114
|
+
* @internal
|
93
115
|
* @deprecated renamed to {@link resolveAwsSdkSigV4Config}
|
94
116
|
*/
|
95
117
|
export declare const resolveAWSSDKSigV4Config: <T>(config: T & AwsSdkSigV4AuthInputConfig & AwsSdkSigV4PreviouslyResolved) => T & AwsSdkSigV4AuthResolvedConfig;
|
@@ -1,4 +1,13 @@
|
|
1
1
|
import type { HttpResponse, SerdeContext } from "@smithy/types";
|
2
|
+
/**
|
3
|
+
* @internal
|
4
|
+
*/
|
2
5
|
export declare const parseJsonBody: (streamBody: any, context: SerdeContext) => any;
|
6
|
+
/**
|
7
|
+
* @internal
|
8
|
+
*/
|
3
9
|
export declare const parseJsonErrorBody: (errorBody: any, context: SerdeContext) => Promise<any>;
|
10
|
+
/**
|
11
|
+
* @internal
|
12
|
+
*/
|
4
13
|
export declare const loadRestJsonErrorCode: (output: HttpResponse, data: any) => string | undefined;
|
@@ -1,4 +1,13 @@
|
|
1
1
|
import type { HttpResponse, SerdeContext } from "@smithy/types";
|
2
|
+
/**
|
3
|
+
* @internal
|
4
|
+
*/
|
2
5
|
export declare const parseXmlBody: (streamBody: any, context: SerdeContext) => any;
|
6
|
+
/**
|
7
|
+
* @internal
|
8
|
+
*/
|
3
9
|
export declare const parseXmlErrorBody: (errorBody: any, context: SerdeContext) => Promise<any>;
|
10
|
+
/**
|
11
|
+
* @internal
|
12
|
+
*/
|
4
13
|
export declare const loadRestXmlErrorCode: (output: HttpResponse, data: any) => string | undefined;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { MergeFunctions } from "@aws-sdk/types";
|
1
2
|
import { SignatureV4CryptoInit, SignatureV4Init } from "@smithy/signature-v4";
|
2
3
|
import {
|
3
4
|
AuthScheme,
|
@@ -22,6 +23,11 @@ export interface AwsSdkSigV4AuthInputConfig {
|
|
22
23
|
options: SignatureV4Init & SignatureV4CryptoInit
|
23
24
|
) => RequestSigner;
|
24
25
|
}
|
26
|
+
export type AwsSdkSigV4Memoized = {
|
27
|
+
memoized?: boolean;
|
28
|
+
configBound?: boolean;
|
29
|
+
attributed?: boolean;
|
30
|
+
};
|
25
31
|
export interface AwsSdkSigV4PreviouslyResolved {
|
26
32
|
credentialDefaultProvider?: (
|
27
33
|
input: any
|
@@ -36,7 +42,11 @@ export interface AwsSdkSigV4PreviouslyResolved {
|
|
36
42
|
useDualstackEndpoint: Provider<boolean>;
|
37
43
|
}
|
38
44
|
export interface AwsSdkSigV4AuthResolvedConfig {
|
39
|
-
credentials:
|
45
|
+
credentials: MergeFunctions<
|
46
|
+
AwsCredentialIdentityProvider,
|
47
|
+
MemoizedProvider<AwsCredentialIdentity>
|
48
|
+
> &
|
49
|
+
AwsSdkSigV4Memoized;
|
40
50
|
signer: (authScheme?: AuthScheme) => Promise<RequestSigner>;
|
41
51
|
signingEscapePath: boolean;
|
42
52
|
systemClockOffset: number;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/core",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
5
5
|
"scripts": {
|
6
6
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
7
|
-
"build:cjs": "node ../../scripts/compilation/inline core",
|
8
|
-
"build:es": "tsc -p tsconfig.es.json",
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline core && rimraf ./dist-cjs/api-extractor-type-index.js",
|
8
|
+
"build:es": "tsc -p tsconfig.es.json && rimraf ./dist-es/api-extractor-type-index.js",
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
@@ -22,11 +22,11 @@
|
|
22
22
|
"types": "./dist-types/index.d.ts",
|
23
23
|
"exports": {
|
24
24
|
".": {
|
25
|
+
"types": "./dist-types/index.d.ts",
|
25
26
|
"module": "./dist-es/index.js",
|
26
27
|
"node": "./dist-cjs/index.js",
|
27
28
|
"import": "./dist-es/index.js",
|
28
|
-
"require": "./dist-cjs/index.js"
|
29
|
-
"types": "./dist-types/index.d.ts"
|
29
|
+
"require": "./dist-cjs/index.js"
|
30
30
|
},
|
31
31
|
"./package.json": {
|
32
32
|
"module": "./package.json",
|
@@ -35,32 +35,32 @@
|
|
35
35
|
"require": "./package.json"
|
36
36
|
},
|
37
37
|
"./client": {
|
38
|
+
"types": "./dist-types/submodules/client/index.d.ts",
|
38
39
|
"module": "./dist-es/submodules/client/index.js",
|
39
40
|
"node": "./dist-cjs/submodules/client/index.js",
|
40
41
|
"import": "./dist-es/submodules/client/index.js",
|
41
|
-
"require": "./dist-cjs/submodules/client/index.js"
|
42
|
-
"types": "./dist-types/submodules/client/index.d.ts"
|
42
|
+
"require": "./dist-cjs/submodules/client/index.js"
|
43
43
|
},
|
44
44
|
"./httpAuthSchemes": {
|
45
|
+
"types": "./dist-types/submodules/httpAuthSchemes/index.d.ts",
|
45
46
|
"module": "./dist-es/submodules/httpAuthSchemes/index.js",
|
46
47
|
"node": "./dist-cjs/submodules/httpAuthSchemes/index.js",
|
47
48
|
"import": "./dist-es/submodules/httpAuthSchemes/index.js",
|
48
|
-
"require": "./dist-cjs/submodules/httpAuthSchemes/index.js"
|
49
|
-
"types": "./dist-types/submodules/httpAuthSchemes/index.d.ts"
|
49
|
+
"require": "./dist-cjs/submodules/httpAuthSchemes/index.js"
|
50
50
|
},
|
51
51
|
"./account-id-endpoint": {
|
52
|
+
"types": "./dist-types/submodules/account-id-endpoint/index.d.ts",
|
52
53
|
"module": "./dist-es/submodules/account-id-endpoint/index.js",
|
53
54
|
"node": "./dist-cjs/submodules/account-id-endpoint/index.js",
|
54
55
|
"import": "./dist-es/submodules/account-id-endpoint/index.js",
|
55
|
-
"require": "./dist-cjs/submodules/account-id-endpoint/index.js"
|
56
|
-
"types": "./dist-types/submodules/account-id-endpoint/index.d.ts"
|
56
|
+
"require": "./dist-cjs/submodules/account-id-endpoint/index.js"
|
57
57
|
},
|
58
58
|
"./protocols": {
|
59
|
+
"types": "./dist-types/submodules/protocols/index.d.ts",
|
59
60
|
"module": "./dist-es/submodules/protocols/index.js",
|
60
61
|
"node": "./dist-cjs/submodules/protocols/index.js",
|
61
62
|
"import": "./dist-es/submodules/protocols/index.js",
|
62
|
-
"require": "./dist-cjs/submodules/protocols/index.js"
|
63
|
-
"types": "./dist-types/submodules/protocols/index.d.ts"
|
63
|
+
"require": "./dist-cjs/submodules/protocols/index.js"
|
64
64
|
}
|
65
65
|
},
|
66
66
|
"files": [
|
@@ -81,15 +81,15 @@
|
|
81
81
|
},
|
82
82
|
"license": "Apache-2.0",
|
83
83
|
"dependencies": {
|
84
|
-
"@aws-sdk/types": "3.
|
85
|
-
"@smithy/core": "^3.
|
86
|
-
"@smithy/node-config-provider": "^4.0.
|
87
|
-
"@smithy/property-provider": "^4.0.
|
88
|
-
"@smithy/protocol-http": "^5.0
|
89
|
-
"@smithy/signature-v4": "^5.0.
|
90
|
-
"@smithy/smithy-client": "^4.
|
91
|
-
"@smithy/types": "^4.
|
92
|
-
"@smithy/util-middleware": "^4.0.
|
84
|
+
"@aws-sdk/types": "3.775.0",
|
85
|
+
"@smithy/core": "^3.2.0",
|
86
|
+
"@smithy/node-config-provider": "^4.0.2",
|
87
|
+
"@smithy/property-provider": "^4.0.2",
|
88
|
+
"@smithy/protocol-http": "^5.1.0",
|
89
|
+
"@smithy/signature-v4": "^5.0.2",
|
90
|
+
"@smithy/smithy-client": "^4.2.0",
|
91
|
+
"@smithy/types": "^4.2.0",
|
92
|
+
"@smithy/util-middleware": "^4.0.2",
|
93
93
|
"fast-xml-parser": "4.4.1",
|
94
94
|
"tslib": "^2.6.2"
|
95
95
|
},
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
20
|
|
21
21
|
// src/index.ts
|
22
|
-
var
|
23
|
-
__export(
|
22
|
+
var index_exports = {};
|
23
|
+
__export(index_exports, {
|
24
24
|
ENV_ACCOUNT_ID: () => ENV_ACCOUNT_ID,
|
25
25
|
ENV_CREDENTIAL_SCOPE: () => ENV_CREDENTIAL_SCOPE,
|
26
26
|
ENV_EXPIRATION: () => ENV_EXPIRATION,
|
@@ -29,7 +29,7 @@ __export(src_exports, {
|
|
29
29
|
ENV_SESSION: () => ENV_SESSION,
|
30
30
|
fromEnv: () => fromEnv
|
31
31
|
});
|
32
|
-
module.exports = __toCommonJS(
|
32
|
+
module.exports = __toCommonJS(index_exports);
|
33
33
|
|
34
34
|
// src/fromEnv.ts
|
35
35
|
var import_client = require("@aws-sdk/core/client");
|