@aws-sdk/nested-clients 3.758.0 → 3.772.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.
|
@@ -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/sso-oidc/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
$Command: () => import_smithy_client6.Command,
|
|
25
25
|
AccessDeniedException: () => AccessDeniedException,
|
|
26
26
|
AuthorizationPendingException: () => AuthorizationPendingException,
|
|
@@ -41,7 +41,7 @@ __export(sso_oidc_exports, {
|
|
|
41
41
|
UnsupportedGrantTypeException: () => UnsupportedGrantTypeException,
|
|
42
42
|
__Client: () => import_smithy_client2.Client
|
|
43
43
|
});
|
|
44
|
-
module.exports = __toCommonJS(
|
|
44
|
+
module.exports = __toCommonJS(index_exports);
|
|
45
45
|
|
|
46
46
|
// src/submodules/sso-oidc/SSOOIDCClient.ts
|
|
47
47
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -168,9 +168,9 @@ var SSOOIDCClient = class extends import_smithy_client2.Client {
|
|
|
168
168
|
this.middlewareStack.use(
|
|
169
169
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
170
170
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOOIDCHttpAuthSchemeParametersProvider,
|
|
171
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
171
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
172
172
|
"aws.auth#sigv4": config.credentials
|
|
173
|
-
})
|
|
173
|
+
}), "identityProviderConfigProvider")
|
|
174
174
|
})
|
|
175
175
|
);
|
|
176
176
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -592,7 +592,7 @@ var se_CreateTokenCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
592
592
|
grantType: [],
|
|
593
593
|
redirectUri: [],
|
|
594
594
|
refreshToken: [],
|
|
595
|
-
scope: (_) => (0, import_smithy_client5._json)(_)
|
|
595
|
+
scope: /* @__PURE__ */ __name((_) => (0, import_smithy_client5._json)(_), "scope")
|
|
596
596
|
})
|
|
597
597
|
);
|
|
598
598
|
b.m("POST").h(headers).b(body);
|
|
@@ -20,8 +20,8 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
|
|
|
20
20
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
21
21
|
|
|
22
22
|
// src/submodules/sts/index.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
23
|
+
var index_exports = {};
|
|
24
|
+
__export(index_exports, {
|
|
25
25
|
AssumeRoleCommand: () => AssumeRoleCommand,
|
|
26
26
|
AssumeRoleResponseFilterSensitiveLog: () => AssumeRoleResponseFilterSensitiveLog,
|
|
27
27
|
AssumeRoleWithWebIdentityCommand: () => AssumeRoleWithWebIdentityCommand,
|
|
@@ -42,8 +42,8 @@ __export(sts_exports, {
|
|
|
42
42
|
getDefaultRoleAssumer: () => getDefaultRoleAssumer2,
|
|
43
43
|
getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity2
|
|
44
44
|
});
|
|
45
|
-
module.exports = __toCommonJS(
|
|
46
|
-
__reExport(
|
|
45
|
+
module.exports = __toCommonJS(index_exports);
|
|
46
|
+
__reExport(index_exports, require("./STSClient"), module.exports);
|
|
47
47
|
|
|
48
48
|
// src/submodules/sts/STS.ts
|
|
49
49
|
var import_smithy_client6 = require("@smithy/smithy-client");
|
|
@@ -830,7 +830,7 @@ var getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, STSClient3) => {
|
|
|
830
830
|
stsClient = new STSClient3({
|
|
831
831
|
profile: stsOptions?.parentClientConfig?.profile,
|
|
832
832
|
// A hack to make sts client uses the credential in current closure.
|
|
833
|
-
credentialDefaultProvider: () => async () => closureSourceCreds,
|
|
833
|
+
credentialDefaultProvider: /* @__PURE__ */ __name(() => async () => closureSourceCreds, "credentialDefaultProvider"),
|
|
834
834
|
region: resolvedRegion,
|
|
835
835
|
requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,
|
|
836
836
|
logger
|
|
@@ -905,8 +905,7 @@ var isH2 = /* @__PURE__ */ __name((requestHandler) => {
|
|
|
905
905
|
// src/submodules/sts/defaultRoleAssumers.ts
|
|
906
906
|
var import_STSClient2 = require("./STSClient");
|
|
907
907
|
var getCustomizableStsClientCtor = /* @__PURE__ */ __name((baseCtor, customizations) => {
|
|
908
|
-
if (!customizations)
|
|
909
|
-
return baseCtor;
|
|
908
|
+
if (!customizations) return baseCtor;
|
|
910
909
|
else
|
|
911
910
|
return class CustomizableSTSClient extends baseCtor {
|
|
912
911
|
static {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.772.0",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@aws-sdk/core": "3.758.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
35
35
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
36
36
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
37
37
|
"@aws-sdk/types": "3.734.0",
|