@cdk8s/awscdk-resolver 0.0.270 → 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 +4 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +79 -30
- 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/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +20 -2
- 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 +10 -10
- 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/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/package.json +4 -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 +4 -4
- 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/package.json +5 -5
- package/package.json +3 -3
@@ -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 (options) => boundCredentialsProvider(options).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,
|
@@ -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 (options) => boundCredentialsProvider(options).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
|
+
}
|
@@ -1,3 +1,4 @@
|
|
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
|
/**
|
@@ -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
|
*/
|
@@ -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,6 +1,6 @@
|
|
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'",
|
@@ -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
|
},
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -25,10 +25,10 @@
|
|
25
25
|
},
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
|
-
"@aws-sdk/core": "3.
|
29
|
-
"@aws-sdk/types": "3.
|
30
|
-
"@smithy/property-provider": "^4.0.
|
31
|
-
"@smithy/types": "^4.
|
28
|
+
"@aws-sdk/core": "3.775.0",
|
29
|
+
"@aws-sdk/types": "3.775.0",
|
30
|
+
"@smithy/property-provider": "^4.0.2",
|
31
|
+
"@smithy/types": "^4.2.0",
|
32
32
|
"tslib": "^2.6.2"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -27,15 +27,15 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@aws-sdk/core": "3.
|
31
|
-
"@aws-sdk/types": "3.
|
32
|
-
"@smithy/fetch-http-handler": "^5.0.
|
33
|
-
"@smithy/node-http-handler": "^4.0.
|
34
|
-
"@smithy/property-provider": "^4.0.
|
35
|
-
"@smithy/protocol-http": "^5.0
|
36
|
-
"@smithy/smithy-client": "^4.
|
37
|
-
"@smithy/types": "^4.
|
38
|
-
"@smithy/util-stream": "^4.
|
30
|
+
"@aws-sdk/core": "3.775.0",
|
31
|
+
"@aws-sdk/types": "3.775.0",
|
32
|
+
"@smithy/fetch-http-handler": "^5.0.2",
|
33
|
+
"@smithy/node-http-handler": "^4.0.4",
|
34
|
+
"@smithy/property-provider": "^4.0.2",
|
35
|
+
"@smithy/protocol-http": "^5.1.0",
|
36
|
+
"@smithy/smithy-client": "^4.2.0",
|
37
|
+
"@smithy/types": "^4.2.0",
|
38
|
+
"@smithy/util-stream": "^4.2.0",
|
39
39
|
"tslib": "^2.6.2"
|
40
40
|
},
|
41
41
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -27,18 +27,18 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@aws-sdk/core": "3.
|
31
|
-
"@aws-sdk/credential-provider-env": "3.
|
32
|
-
"@aws-sdk/credential-provider-http": "3.
|
33
|
-
"@aws-sdk/credential-provider-process": "3.
|
34
|
-
"@aws-sdk/credential-provider-sso": "3.
|
35
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
36
|
-
"@aws-sdk/nested-clients": "3.
|
37
|
-
"@aws-sdk/types": "3.
|
38
|
-
"@smithy/credential-provider-imds": "^4.0.
|
39
|
-
"@smithy/property-provider": "^4.0.
|
40
|
-
"@smithy/shared-ini-file-loader": "^4.0.
|
41
|
-
"@smithy/types": "^4.
|
30
|
+
"@aws-sdk/core": "3.775.0",
|
31
|
+
"@aws-sdk/credential-provider-env": "3.775.0",
|
32
|
+
"@aws-sdk/credential-provider-http": "3.775.0",
|
33
|
+
"@aws-sdk/credential-provider-process": "3.775.0",
|
34
|
+
"@aws-sdk/credential-provider-sso": "3.775.0",
|
35
|
+
"@aws-sdk/credential-provider-web-identity": "3.775.0",
|
36
|
+
"@aws-sdk/nested-clients": "3.775.0",
|
37
|
+
"@aws-sdk/types": "3.775.0",
|
38
|
+
"@smithy/credential-provider-imds": "^4.0.2",
|
39
|
+
"@smithy/property-provider": "^4.0.2",
|
40
|
+
"@smithy/shared-ini-file-loader": "^4.0.2",
|
41
|
+
"@smithy/types": "^4.2.0",
|
42
42
|
"tslib": "^2.6.2"
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
5
5
|
"engines": {
|
6
6
|
"node": ">=18.0.0"
|
@@ -29,17 +29,17 @@
|
|
29
29
|
},
|
30
30
|
"license": "Apache-2.0",
|
31
31
|
"dependencies": {
|
32
|
-
"@aws-sdk/credential-provider-env": "3.
|
33
|
-
"@aws-sdk/credential-provider-http": "3.
|
34
|
-
"@aws-sdk/credential-provider-ini": "3.
|
35
|
-
"@aws-sdk/credential-provider-process": "3.
|
36
|
-
"@aws-sdk/credential-provider-sso": "3.
|
37
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
38
|
-
"@aws-sdk/types": "3.
|
39
|
-
"@smithy/credential-provider-imds": "^4.0.
|
40
|
-
"@smithy/property-provider": "^4.0.
|
41
|
-
"@smithy/shared-ini-file-loader": "^4.0.
|
42
|
-
"@smithy/types": "^4.
|
32
|
+
"@aws-sdk/credential-provider-env": "3.775.0",
|
33
|
+
"@aws-sdk/credential-provider-http": "3.775.0",
|
34
|
+
"@aws-sdk/credential-provider-ini": "3.775.0",
|
35
|
+
"@aws-sdk/credential-provider-process": "3.775.0",
|
36
|
+
"@aws-sdk/credential-provider-sso": "3.775.0",
|
37
|
+
"@aws-sdk/credential-provider-web-identity": "3.775.0",
|
38
|
+
"@aws-sdk/types": "3.775.0",
|
39
|
+
"@smithy/credential-provider-imds": "^4.0.2",
|
40
|
+
"@smithy/property-provider": "^4.0.2",
|
41
|
+
"@smithy/shared-ini-file-loader": "^4.0.2",
|
42
|
+
"@smithy/types": "^4.2.0",
|
43
43
|
"tslib": "^2.6.2"
|
44
44
|
},
|
45
45
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -25,11 +25,11 @@
|
|
25
25
|
},
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
|
-
"@aws-sdk/core": "3.
|
29
|
-
"@aws-sdk/types": "3.
|
30
|
-
"@smithy/property-provider": "^4.0.
|
31
|
-
"@smithy/shared-ini-file-loader": "^4.0.
|
32
|
-
"@smithy/types": "^4.
|
28
|
+
"@aws-sdk/core": "3.775.0",
|
29
|
+
"@aws-sdk/types": "3.775.0",
|
30
|
+
"@smithy/property-provider": "^4.0.2",
|
31
|
+
"@smithy/shared-ini-file-loader": "^4.0.2",
|
32
|
+
"@smithy/types": "^4.2.0",
|
33
33
|
"tslib": "^2.6.2"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -25,13 +25,13 @@
|
|
25
25
|
},
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
|
-
"@aws-sdk/client-sso": "3.
|
29
|
-
"@aws-sdk/core": "3.
|
30
|
-
"@aws-sdk/token-providers": "3.
|
31
|
-
"@aws-sdk/types": "3.
|
32
|
-
"@smithy/property-provider": "^4.0.
|
33
|
-
"@smithy/shared-ini-file-loader": "^4.0.
|
34
|
-
"@smithy/types": "^4.
|
28
|
+
"@aws-sdk/client-sso": "3.775.0",
|
29
|
+
"@aws-sdk/core": "3.775.0",
|
30
|
+
"@aws-sdk/token-providers": "3.775.0",
|
31
|
+
"@aws-sdk/types": "3.775.0",
|
32
|
+
"@smithy/property-provider": "^4.0.2",
|
33
|
+
"@smithy/shared-ini-file-loader": "^4.0.2",
|
34
|
+
"@smithy/types": "^4.2.0",
|
35
35
|
"tslib": "^2.6.2"
|
36
36
|
},
|
37
37
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -33,11 +33,11 @@
|
|
33
33
|
},
|
34
34
|
"license": "Apache-2.0",
|
35
35
|
"dependencies": {
|
36
|
-
"@aws-sdk/core": "3.
|
37
|
-
"@aws-sdk/nested-clients": "3.
|
38
|
-
"@aws-sdk/types": "3.
|
39
|
-
"@smithy/property-provider": "^4.0.
|
40
|
-
"@smithy/types": "^4.
|
36
|
+
"@aws-sdk/core": "3.775.0",
|
37
|
+
"@aws-sdk/nested-clients": "3.775.0",
|
38
|
+
"@aws-sdk/types": "3.775.0",
|
39
|
+
"@smithy/property-provider": "^4.0.2",
|
40
|
+
"@smithy/types": "^4.2.0",
|
41
41
|
"tslib": "^2.6.2"
|
42
42
|
},
|
43
43
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-host-header",
|
@@ -24,9 +24,9 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@aws-sdk/types": "3.
|
28
|
-
"@smithy/protocol-http": "^5.0
|
29
|
-
"@smithy/types": "^4.
|
27
|
+
"@aws-sdk/types": "3.775.0",
|
28
|
+
"@smithy/protocol-http": "^5.1.0",
|
29
|
+
"@smithy/types": "^4.2.0",
|
30
30
|
"tslib": "^2.6.2"
|
31
31
|
},
|
32
32
|
"engines": {
|