@stacksjs/actions 0.70.11 → 0.70.13
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/build.js +8 -8
- package/dist/{chunk-k2wcwm7g.js → chunk-030apzv1.js} +8 -8
- package/dist/{chunk-veja9rez.js → chunk-0crtxf8d.js} +19 -156
- package/dist/chunk-2m04vhea.js +145 -0
- package/dist/{chunk-q81mf99q.js → chunk-6vn0j49q.js} +13 -10
- package/dist/{chunk-76zhb40c.js → chunk-6xeh1279.js} +7 -6
- package/dist/{chunk-qkm8e752.js → chunk-8dsect0a.js} +5 -4
- package/dist/{chunk-t5em30ak.js → chunk-9menqd9a.js} +24 -16
- package/dist/{chunk-f6a9g4qa.js → chunk-ad9b7jvj.js} +5 -4
- package/dist/{chunk-7s5qcjkt.js → chunk-bh25aaf7.js} +17 -9
- package/dist/{chunk-zsm2c35w.js → chunk-f1cxwjkf.js} +6 -5
- package/dist/{chunk-8fdqje2t.js → chunk-f48dj1dk.js} +3 -3
- package/dist/{chunk-9exgwfkw.js → chunk-gdzs9jf4.js} +5 -4
- package/dist/{chunk-hsak03yh.js → chunk-ghp9nh6b.js} +34 -25
- package/dist/{chunk-1hqs8kt1.js → chunk-h46e5ha3.js} +95 -104
- package/dist/{chunk-3d7m14ee.js → chunk-hcfsx7e0.js} +21 -17
- package/dist/{chunk-djkz87qs.js → chunk-hcra1987.js} +8 -8
- package/dist/{chunk-38cnnp2b.js → chunk-hd6fdt5s.js} +6 -4
- package/dist/{chunk-pjjzff0p.js → chunk-kbw02372.js} +154 -38
- package/dist/{chunk-bst5srwz.js → chunk-q3gghmwn.js} +29 -33
- package/dist/{chunk-b5g5w1hh.js → chunk-xt9exr2c.js} +5 -6
- package/dist/database/seed.js +7 -7
- package/dist/generate/index.js +8 -8
- package/dist/index.js +8 -8
- package/dist/release.js +8 -8
- package/dist/upgrade.js +1 -1
- package/package.json +17 -17
- package/dist/chunk-zzerxbrm.js +0 -107
|
@@ -3,47 +3,51 @@ import {
|
|
|
3
3
|
getProfileName,
|
|
4
4
|
parseKnownFiles
|
|
5
5
|
} from "./chunk-bf8bq8pc.js";
|
|
6
|
-
import {
|
|
7
|
-
CredentialsProviderError,
|
|
8
|
-
chain
|
|
9
|
-
} from "./chunk-zzerxbrm.js";
|
|
10
6
|
import {
|
|
11
7
|
require_client
|
|
12
8
|
} from "./chunk-frw3va9v.js";
|
|
13
9
|
import"./chunk-saqpg5nd.js";
|
|
10
|
+
import {
|
|
11
|
+
require_dist_cjs
|
|
12
|
+
} from "./chunk-2m04vhea.js";
|
|
14
13
|
import {
|
|
15
14
|
__require,
|
|
16
15
|
__toESM
|
|
17
16
|
} from "./chunk-9v6qtbez.js";
|
|
18
17
|
|
|
18
|
+
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js
|
|
19
|
+
var import_property_provider3 = __toESM(require_dist_cjs(), 1);
|
|
20
|
+
|
|
19
21
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
|
|
20
22
|
var import_client2 = __toESM(require_client(), 1);
|
|
23
|
+
var import_property_provider2 = __toESM(require_dist_cjs(), 1);
|
|
21
24
|
|
|
22
25
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
|
|
23
26
|
var import_client = __toESM(require_client(), 1);
|
|
27
|
+
var import_property_provider = __toESM(require_dist_cjs(), 1);
|
|
24
28
|
var resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
25
29
|
const sourceProvidersMap = {
|
|
26
30
|
EcsContainer: async (options) => {
|
|
27
|
-
const { fromHttp } = await import("./chunk-
|
|
28
|
-
const { fromContainerMetadata } = await import("./chunk-
|
|
31
|
+
const { fromHttp } = await import("./chunk-6vn0j49q.js");
|
|
32
|
+
const { fromContainerMetadata } = await import("./chunk-9menqd9a.js");
|
|
29
33
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
|
|
30
|
-
return async () => chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
|
34
|
+
return async () => import_property_provider.chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
|
31
35
|
},
|
|
32
36
|
Ec2InstanceMetadata: async (options) => {
|
|
33
37
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
|
|
34
|
-
const { fromInstanceMetadata } = await import("./chunk-
|
|
38
|
+
const { fromInstanceMetadata } = await import("./chunk-9menqd9a.js");
|
|
35
39
|
return async () => fromInstanceMetadata(options)().then(setNamedProvider);
|
|
36
40
|
},
|
|
37
41
|
Environment: async (options) => {
|
|
38
42
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
|
|
39
|
-
const { fromEnv } = await import("./chunk-
|
|
43
|
+
const { fromEnv } = await import("./chunk-8dsect0a.js");
|
|
40
44
|
return async () => fromEnv(options)().then(setNamedProvider);
|
|
41
45
|
}
|
|
42
46
|
};
|
|
43
47
|
if (credentialSource in sourceProvidersMap) {
|
|
44
48
|
return sourceProvidersMap[credentialSource];
|
|
45
49
|
} else {
|
|
46
|
-
throw new CredentialsProviderError(`Unsupported credential source in profile ${profileName}. Got ${credentialSource}, expected EcsContainer or Ec2InstanceMetadata or Environment.`, { logger });
|
|
50
|
+
throw new import_property_provider.CredentialsProviderError(`Unsupported credential source in profile ${profileName}. Got ${credentialSource}, expected EcsContainer or Ec2InstanceMetadata or Environment.`, { logger });
|
|
47
51
|
}
|
|
48
52
|
};
|
|
49
53
|
var setNamedProvider = (creds) => import_client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_NAMED_PROVIDER", "p");
|
|
@@ -71,7 +75,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, visite
|
|
|
71
75
|
const profileData = profiles[profileName];
|
|
72
76
|
const { source_profile, region } = profileData;
|
|
73
77
|
if (!options.roleAssumer) {
|
|
74
|
-
const { getDefaultRoleAssumer } = await import("./chunk-
|
|
78
|
+
const { getDefaultRoleAssumer } = await import("./chunk-gdzs9jf4.js");
|
|
75
79
|
options.roleAssumer = getDefaultRoleAssumer({
|
|
76
80
|
...options.clientConfig,
|
|
77
81
|
credentialProviderLogger: options.logger,
|
|
@@ -82,7 +86,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, visite
|
|
|
82
86
|
}, options.clientPlugins);
|
|
83
87
|
}
|
|
84
88
|
if (source_profile && source_profile in visitedProfiles) {
|
|
85
|
-
throw new CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${getProfileName(options)}. Profiles visited: ` + Object.keys(visitedProfiles).join(", "), { logger: options.logger });
|
|
89
|
+
throw new import_property_provider2.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${getProfileName(options)}. Profiles visited: ` + Object.keys(visitedProfiles).join(", "), { logger: options.logger });
|
|
86
90
|
}
|
|
87
91
|
options.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`);
|
|
88
92
|
const sourceCredsProvider = source_profile ? resolveProfileData(source_profile, profiles, options, {
|
|
@@ -101,7 +105,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, visite
|
|
|
101
105
|
const { mfa_serial } = profileData;
|
|
102
106
|
if (mfa_serial) {
|
|
103
107
|
if (!options.mfaCodeProvider) {
|
|
104
|
-
throw new CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, { logger: options.logger, tryNextLink: false });
|
|
108
|
+
throw new import_property_provider2.CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, { logger: options.logger, tryNextLink: false });
|
|
105
109
|
}
|
|
106
110
|
params.SerialNumber = mfa_serial;
|
|
107
111
|
params.TokenCode = await options.mfaCodeProvider(mfa_serial);
|
|
@@ -117,7 +121,7 @@ var isCredentialSourceWithoutRoleArn = (section) => {
|
|
|
117
121
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
|
|
118
122
|
var import_client3 = __toESM(require_client(), 1);
|
|
119
123
|
var isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
|
120
|
-
var resolveProcessCredentials = async (options, profile) => import("./chunk-
|
|
124
|
+
var resolveProcessCredentials = async (options, profile) => import("./chunk-6xeh1279.js").then(({ fromProcess }) => fromProcess({
|
|
121
125
|
...options,
|
|
122
126
|
profile
|
|
123
127
|
})().then((creds) => import_client3.setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v")));
|
|
@@ -125,7 +129,7 @@ var resolveProcessCredentials = async (options, profile) => import("./chunk-76zh
|
|
|
125
129
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
|
|
126
130
|
var import_client4 = __toESM(require_client(), 1);
|
|
127
131
|
var resolveSsoCredentials = async (profile, profileData, options = {}) => {
|
|
128
|
-
const { fromSSO } = await import("./chunk-
|
|
132
|
+
const { fromSSO } = await import("./chunk-ghp9nh6b.js");
|
|
129
133
|
return fromSSO({
|
|
130
134
|
profile,
|
|
131
135
|
logger: options.logger,
|
|
@@ -159,7 +163,7 @@ var resolveStaticCredentials = async (profile, options) => {
|
|
|
159
163
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
|
|
160
164
|
var import_client6 = __toESM(require_client(), 1);
|
|
161
165
|
var isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
162
|
-
var resolveWebIdentityCredentials = async (profile, options) => import("./chunk-
|
|
166
|
+
var resolveWebIdentityCredentials = async (profile, options) => import("./chunk-f1cxwjkf.js").then(({ fromTokenFile }) => fromTokenFile({
|
|
163
167
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
164
168
|
roleArn: profile.role_arn,
|
|
165
169
|
roleSessionName: profile.role_session_name,
|
|
@@ -189,7 +193,7 @@ var resolveProfileData = async (profileName, profiles, options, visitedProfiles
|
|
|
189
193
|
if (isSsoProfile(data)) {
|
|
190
194
|
return await resolveSsoCredentials(profileName, data, options);
|
|
191
195
|
}
|
|
192
|
-
throw new CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
|
|
196
|
+
throw new import_property_provider3.CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
|
|
193
197
|
};
|
|
194
198
|
|
|
195
199
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
route
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import"./chunk-
|
|
4
|
+
} from "./chunk-f48dj1dk.js";
|
|
5
|
+
import"./chunk-h46e5ha3.js";
|
|
6
6
|
import"./chunk-mdj7x1vs.js";
|
|
7
7
|
import"./chunk-p0c688mg.js";
|
|
8
|
-
import"./chunk-
|
|
8
|
+
import"./chunk-8dsect0a.js";
|
|
9
9
|
import"./chunk-a13x0e43.js";
|
|
10
10
|
import"./chunk-mdqphqep.js";
|
|
11
11
|
import"./chunk-qhh0v93n.js";
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
12
|
+
import"./chunk-kbw02372.js";
|
|
13
|
+
import"./chunk-bh25aaf7.js";
|
|
14
14
|
import"./chunk-bf8bq8pc.js";
|
|
15
|
-
import"./chunk-
|
|
16
|
-
import"./chunk-
|
|
17
|
-
import"./chunk-veja9rez.js";
|
|
15
|
+
import"./chunk-xt9exr2c.js";
|
|
16
|
+
import"./chunk-0crtxf8d.js";
|
|
18
17
|
import"./chunk-a7k3cdby.js";
|
|
19
18
|
import"./chunk-frw3va9v.js";
|
|
20
19
|
import"./chunk-saqpg5nd.js";
|
|
20
|
+
import"./chunk-2m04vhea.js";
|
|
21
21
|
import"./chunk-2dvnt46s.js";
|
|
22
22
|
import"./chunk-w6fdq4hk.js";
|
|
23
23
|
import"./chunk-wkwtsvym.js";
|
|
@@ -3,10 +3,9 @@ import {
|
|
|
3
3
|
require_dist_cjs as require_dist_cjs2,
|
|
4
4
|
require_dist_cjs1 as require_dist_cjs3,
|
|
5
5
|
require_dist_cjs2 as require_dist_cjs7,
|
|
6
|
-
require_dist_cjs3 as
|
|
7
|
-
require_dist_cjs4 as
|
|
8
|
-
|
|
9
|
-
} from "./chunk-veja9rez.js";
|
|
6
|
+
require_dist_cjs3 as require_dist_cjs9,
|
|
7
|
+
require_dist_cjs4 as require_dist_cjs10
|
|
8
|
+
} from "./chunk-0crtxf8d.js";
|
|
10
9
|
import {
|
|
11
10
|
require_dist_cjs as require_dist_cjs4,
|
|
12
11
|
require_dist_cjs2 as require_dist_cjs5,
|
|
@@ -15,6 +14,9 @@ import {
|
|
|
15
14
|
import {
|
|
16
15
|
require_dist_cjs
|
|
17
16
|
} from "./chunk-saqpg5nd.js";
|
|
17
|
+
import {
|
|
18
|
+
require_dist_cjs as require_dist_cjs8
|
|
19
|
+
} from "./chunk-2m04vhea.js";
|
|
18
20
|
import {
|
|
19
21
|
__commonJS,
|
|
20
22
|
__require
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadConfig,
|
|
3
3
|
parseUrl
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-bh25aaf7.js";
|
|
5
5
|
import {
|
|
6
6
|
CONFIG_PREFIX_SEPARATOR
|
|
7
7
|
} from "./chunk-bf8bq8pc.js";
|
|
@@ -9,22 +9,22 @@ import {
|
|
|
9
9
|
HttpRequest,
|
|
10
10
|
HttpResponse,
|
|
11
11
|
NoOpLogger
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
memoize
|
|
15
|
-
} from "./chunk-zzerxbrm.js";
|
|
12
|
+
} from "./chunk-xt9exr2c.js";
|
|
16
13
|
import {
|
|
17
14
|
require_dist,
|
|
18
|
-
|
|
15
|
+
require_dist_cjs as require_dist_cjs2,
|
|
19
16
|
require_dist_cjs2 as require_dist_cjs4,
|
|
20
|
-
|
|
21
|
-
} from "./chunk-
|
|
17
|
+
require_dist_cjs4 as require_dist_cjs6
|
|
18
|
+
} from "./chunk-0crtxf8d.js";
|
|
22
19
|
import {
|
|
23
|
-
require_dist_cjs3
|
|
20
|
+
require_dist_cjs1 as require_dist_cjs3
|
|
24
21
|
} from "./chunk-a7k3cdby.js";
|
|
25
22
|
import {
|
|
26
23
|
require_dist_cjs
|
|
27
24
|
} from "./chunk-saqpg5nd.js";
|
|
25
|
+
import {
|
|
26
|
+
require_dist_cjs as require_dist_cjs5
|
|
27
|
+
} from "./chunk-2m04vhea.js";
|
|
28
28
|
import {
|
|
29
29
|
__require,
|
|
30
30
|
__toESM
|
|
@@ -949,7 +949,7 @@ var awsEndpointFunctions = {
|
|
|
949
949
|
};
|
|
950
950
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
951
951
|
// ../../../../node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js
|
|
952
|
-
var import_core2 = __toESM(
|
|
952
|
+
var import_core2 = __toESM(require_dist_cjs6(), 1);
|
|
953
953
|
var ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/;
|
|
954
954
|
async function checkFeatures(context, config, args) {
|
|
955
955
|
const request = args.request;
|
|
@@ -1155,16 +1155,10 @@ var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
|
|
|
1155
1155
|
configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, SelectorType.CONFIG),
|
|
1156
1156
|
default: false
|
|
1157
1157
|
};
|
|
1158
|
-
// ../../../../node_modules/@smithy/
|
|
1159
|
-
var
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
var normalizeProvider2 = (input) => {
|
|
1163
|
-
if (typeof input === "function")
|
|
1164
|
-
return input;
|
|
1165
|
-
const promisified = Promise.resolve(input);
|
|
1166
|
-
return () => promisified;
|
|
1167
|
-
};
|
|
1158
|
+
// ../../../../node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js
|
|
1159
|
+
var import_util_middleware = __toESM(require_dist_cjs2(), 1);
|
|
1160
|
+
// ../../../../node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js
|
|
1161
|
+
var import_util_middleware2 = __toESM(require_dist_cjs2(), 1);
|
|
1168
1162
|
// ../../../../node_modules/@smithy/config-resolver/dist-es/regionConfig/config.js
|
|
1169
1163
|
var REGION_ENV_NAME = "AWS_REGION";
|
|
1170
1164
|
var REGION_INI_NAME = "region";
|
|
@@ -1213,11 +1207,78 @@ var getContentLengthPlugin = (options) => ({
|
|
|
1213
1207
|
}
|
|
1214
1208
|
});
|
|
1215
1209
|
|
|
1216
|
-
// ../../../../node_modules/@smithy/middleware-
|
|
1217
|
-
var
|
|
1210
|
+
// ../../../../node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js
|
|
1211
|
+
var deserializerMiddleware = (options, deserializer) => (next, context) => async (args) => {
|
|
1212
|
+
const { response } = await next(args);
|
|
1213
|
+
try {
|
|
1214
|
+
const parsed = await deserializer(response, options);
|
|
1215
|
+
return {
|
|
1216
|
+
response,
|
|
1217
|
+
output: parsed
|
|
1218
|
+
};
|
|
1219
|
+
} catch (error) {
|
|
1220
|
+
Object.defineProperty(error, "$response", {
|
|
1221
|
+
value: response
|
|
1222
|
+
});
|
|
1223
|
+
if (!("$metadata" in error)) {
|
|
1224
|
+
const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;
|
|
1225
|
+
try {
|
|
1226
|
+
error.message += `
|
|
1227
|
+
` + hint;
|
|
1228
|
+
} catch (e) {
|
|
1229
|
+
if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") {
|
|
1230
|
+
console.warn(hint);
|
|
1231
|
+
} else {
|
|
1232
|
+
context.logger?.warn?.(hint);
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
if (typeof error.$responseBodyText !== "undefined") {
|
|
1236
|
+
if (error.$response) {
|
|
1237
|
+
error.$response.body = error.$responseBodyText;
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
throw error;
|
|
1242
|
+
}
|
|
1243
|
+
};
|
|
1244
|
+
|
|
1245
|
+
// ../../../../node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js
|
|
1246
|
+
var serializerMiddleware = (options, serializer) => (next, context) => async (args) => {
|
|
1247
|
+
const endpoint = context.endpointV2?.url && options.urlParser ? async () => options.urlParser(context.endpointV2.url) : options.endpoint;
|
|
1248
|
+
if (!endpoint) {
|
|
1249
|
+
throw new Error("No valid endpoint provider available.");
|
|
1250
|
+
}
|
|
1251
|
+
const request = await serializer(args.input, { ...options, endpoint });
|
|
1252
|
+
return next({
|
|
1253
|
+
...args,
|
|
1254
|
+
request
|
|
1255
|
+
});
|
|
1256
|
+
};
|
|
1218
1257
|
|
|
1258
|
+
// ../../../../node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js
|
|
1259
|
+
var deserializerMiddlewareOption = {
|
|
1260
|
+
name: "deserializerMiddleware",
|
|
1261
|
+
step: "deserialize",
|
|
1262
|
+
tags: ["DESERIALIZER"],
|
|
1263
|
+
override: true
|
|
1264
|
+
};
|
|
1265
|
+
var serializerMiddlewareOption = {
|
|
1266
|
+
name: "serializerMiddleware",
|
|
1267
|
+
step: "serialize",
|
|
1268
|
+
tags: ["SERIALIZER"],
|
|
1269
|
+
override: true
|
|
1270
|
+
};
|
|
1271
|
+
function getSerdePlugin(config2, serializer, deserializer) {
|
|
1272
|
+
return {
|
|
1273
|
+
applyToStack: (commandStack) => {
|
|
1274
|
+
commandStack.add(deserializerMiddleware(config2, deserializer), deserializerMiddlewareOption);
|
|
1275
|
+
commandStack.add(serializerMiddleware(config2, serializer), serializerMiddlewareOption);
|
|
1276
|
+
}
|
|
1277
|
+
};
|
|
1278
|
+
}
|
|
1219
1279
|
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js
|
|
1220
1280
|
var import_core3 = __toESM(require_dist_cjs4(), 1);
|
|
1281
|
+
var import_util_middleware3 = __toESM(require_dist_cjs2(), 1);
|
|
1221
1282
|
|
|
1222
1283
|
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js
|
|
1223
1284
|
var resolveParamsForS3 = async (endpointParams) => {
|
|
@@ -1406,7 +1467,7 @@ var endpointMiddleware = ({ config: config2, instructions }) => {
|
|
|
1406
1467
|
if (authScheme) {
|
|
1407
1468
|
context["signing_region"] = authScheme.signingRegion;
|
|
1408
1469
|
context["signing_service"] = authScheme.signingName;
|
|
1409
|
-
const smithyContext = getSmithyContext(context);
|
|
1470
|
+
const smithyContext = import_util_middleware3.getSmithyContext(context);
|
|
1410
1471
|
const httpAuthOption = smithyContext?.selectedHttpAuthScheme?.httpAuthOption;
|
|
1411
1472
|
if (httpAuthOption) {
|
|
1412
1473
|
httpAuthOption.signingProperties = Object.assign(httpAuthOption.signingProperties || {}, {
|
|
@@ -1431,7 +1492,7 @@ var endpointMiddlewareOptions = {
|
|
|
1431
1492
|
name: "endpointV2Middleware",
|
|
1432
1493
|
override: true,
|
|
1433
1494
|
relation: "before",
|
|
1434
|
-
toMiddleware:
|
|
1495
|
+
toMiddleware: serializerMiddlewareOption.name
|
|
1435
1496
|
};
|
|
1436
1497
|
var getEndpointPlugin = (config2, instructions) => ({
|
|
1437
1498
|
applyToStack: (clientStack) => {
|
|
@@ -1443,17 +1504,18 @@ var getEndpointPlugin = (config2, instructions) => ({
|
|
|
1443
1504
|
});
|
|
1444
1505
|
|
|
1445
1506
|
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js
|
|
1507
|
+
var import_util_middleware4 = __toESM(require_dist_cjs2(), 1);
|
|
1446
1508
|
var resolveEndpointConfig = (input) => {
|
|
1447
1509
|
const tls = input.tls ?? true;
|
|
1448
1510
|
const { endpoint, useDualstackEndpoint, useFipsEndpoint } = input;
|
|
1449
|
-
const customEndpointProvider = endpoint != null ? async () => toEndpointV1(await
|
|
1511
|
+
const customEndpointProvider = endpoint != null ? async () => toEndpointV1(await import_util_middleware4.normalizeProvider(endpoint)()) : undefined;
|
|
1450
1512
|
const isCustomEndpoint = !!endpoint;
|
|
1451
1513
|
const resolvedConfig = Object.assign(input, {
|
|
1452
1514
|
endpoint: customEndpointProvider,
|
|
1453
1515
|
tls,
|
|
1454
1516
|
isCustomEndpoint,
|
|
1455
|
-
useDualstackEndpoint:
|
|
1456
|
-
useFipsEndpoint:
|
|
1517
|
+
useDualstackEndpoint: import_util_middleware4.normalizeProvider(useDualstackEndpoint ?? false),
|
|
1518
|
+
useFipsEndpoint: import_util_middleware4.normalizeProvider(useFipsEndpoint ?? false)
|
|
1457
1519
|
});
|
|
1458
1520
|
let configuredEndpointPromise = undefined;
|
|
1459
1521
|
resolvedConfig.serviceConfiguredEndpoint = async () => {
|
|
@@ -1464,6 +1526,9 @@ var resolveEndpointConfig = (input) => {
|
|
|
1464
1526
|
};
|
|
1465
1527
|
return resolvedConfig;
|
|
1466
1528
|
};
|
|
1529
|
+
// ../../../../node_modules/@smithy/middleware-retry/dist-es/configurations.js
|
|
1530
|
+
var import_util_middleware5 = __toESM(require_dist_cjs2(), 1);
|
|
1531
|
+
|
|
1467
1532
|
// ../../../../node_modules/@smithy/util-retry/dist-es/config.js
|
|
1468
1533
|
var RETRY_MODES;
|
|
1469
1534
|
(function(RETRY_MODES2) {
|
|
@@ -1755,14 +1820,14 @@ var NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
|
|
|
1755
1820
|
};
|
|
1756
1821
|
var resolveRetryConfig = (input) => {
|
|
1757
1822
|
const { retryStrategy, retryMode: _retryMode, maxAttempts: _maxAttempts } = input;
|
|
1758
|
-
const maxAttempts =
|
|
1823
|
+
const maxAttempts = import_util_middleware5.normalizeProvider(_maxAttempts ?? DEFAULT_MAX_ATTEMPTS);
|
|
1759
1824
|
return Object.assign(input, {
|
|
1760
1825
|
maxAttempts,
|
|
1761
1826
|
retryStrategy: async () => {
|
|
1762
1827
|
if (retryStrategy) {
|
|
1763
1828
|
return retryStrategy;
|
|
1764
1829
|
}
|
|
1765
|
-
const retryMode = await
|
|
1830
|
+
const retryMode = await import_util_middleware5.normalizeProvider(_retryMode)();
|
|
1766
1831
|
if (retryMode === RETRY_MODES.ADAPTIVE) {
|
|
1767
1832
|
return new AdaptiveRetryStrategy(maxAttempts);
|
|
1768
1833
|
}
|
|
@@ -1958,13 +2023,11 @@ var NODE_APP_ID_CONFIG_OPTIONS = {
|
|
|
1958
2023
|
configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED],
|
|
1959
2024
|
default: DEFAULT_UA_APP_ID
|
|
1960
2025
|
};
|
|
1961
|
-
// ../../../../node_modules/@smithy/is-array-buffer/dist-es/index.js
|
|
1962
|
-
var isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
|
|
1963
|
-
|
|
1964
2026
|
// ../../../../node_modules/@smithy/util-buffer-from/dist-es/index.js
|
|
2027
|
+
var import_is_array_buffer = __toESM(require_dist_cjs3(), 1);
|
|
1965
2028
|
import { Buffer as Buffer2 } from "node:buffer";
|
|
1966
2029
|
var fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => {
|
|
1967
|
-
if (!isArrayBuffer(input)) {
|
|
2030
|
+
if (!import_is_array_buffer.isArrayBuffer(input)) {
|
|
1968
2031
|
throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`);
|
|
1969
2032
|
}
|
|
1970
2033
|
return Buffer2.from(input, offset, length);
|
|
@@ -1976,8 +2039,32 @@ var fromString = (input, encoding) => {
|
|
|
1976
2039
|
return encoding ? Buffer2.from(input, encoding) : Buffer2.from(input);
|
|
1977
2040
|
};
|
|
1978
2041
|
|
|
2042
|
+
// ../../../../node_modules/@smithy/util-utf8/dist-es/fromUtf8.js
|
|
2043
|
+
var fromUtf8 = (input) => {
|
|
2044
|
+
const buf = fromString(input, "utf8");
|
|
2045
|
+
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
2046
|
+
};
|
|
2047
|
+
// ../../../../node_modules/@smithy/util-utf8/dist-es/toUint8Array.js
|
|
2048
|
+
var toUint8Array = (data) => {
|
|
2049
|
+
if (typeof data === "string") {
|
|
2050
|
+
return fromUtf8(data);
|
|
2051
|
+
}
|
|
2052
|
+
if (ArrayBuffer.isView(data)) {
|
|
2053
|
+
return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
2054
|
+
}
|
|
2055
|
+
return new Uint8Array(data);
|
|
2056
|
+
};
|
|
2057
|
+
// ../../../../node_modules/@smithy/util-utf8/dist-es/toUtf8.js
|
|
2058
|
+
var toUtf8 = (input) => {
|
|
2059
|
+
if (typeof input === "string") {
|
|
2060
|
+
return input;
|
|
2061
|
+
}
|
|
2062
|
+
if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") {
|
|
2063
|
+
throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");
|
|
2064
|
+
}
|
|
2065
|
+
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8");
|
|
2066
|
+
};
|
|
1979
2067
|
// ../../../../node_modules/@smithy/hash-node/dist-es/index.js
|
|
1980
|
-
var import_util_utf8 = __toESM(require_dist_cjs3(), 1);
|
|
1981
2068
|
import { Buffer as Buffer3 } from "node:buffer";
|
|
1982
2069
|
import { createHash, createHmac } from "node:crypto";
|
|
1983
2070
|
|
|
@@ -1988,7 +2075,7 @@ class Hash {
|
|
|
1988
2075
|
this.reset();
|
|
1989
2076
|
}
|
|
1990
2077
|
update(toHash, encoding) {
|
|
1991
|
-
this.hash.update(
|
|
2078
|
+
this.hash.update(toUint8Array(castSourceData(toHash, encoding)));
|
|
1992
2079
|
}
|
|
1993
2080
|
digest() {
|
|
1994
2081
|
return Promise.resolve(this.hash.digest());
|
|
@@ -2031,6 +2118,9 @@ var calculateBodyLength = (body) => {
|
|
|
2031
2118
|
}
|
|
2032
2119
|
throw new Error(`Body Length computation failed for ${body}`);
|
|
2033
2120
|
};
|
|
2121
|
+
// ../../../../node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js
|
|
2122
|
+
var import_property_provider = __toESM(require_dist_cjs5(), 1);
|
|
2123
|
+
|
|
2034
2124
|
// ../../../../node_modules/@smithy/util-defaults-mode-node/dist-es/constants.js
|
|
2035
2125
|
var AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV";
|
|
2036
2126
|
var AWS_REGION_ENV = "AWS_REGION";
|
|
@@ -2053,7 +2143,7 @@ var NODE_DEFAULTS_MODE_CONFIG_OPTIONS = {
|
|
|
2053
2143
|
};
|
|
2054
2144
|
|
|
2055
2145
|
// ../../../../node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js
|
|
2056
|
-
var resolveDefaultsModeConfig = ({ region = loadConfig(NODE_REGION_CONFIG_OPTIONS), defaultsMode = loadConfig(NODE_DEFAULTS_MODE_CONFIG_OPTIONS) } = {}) => memoize(async () => {
|
|
2146
|
+
var resolveDefaultsModeConfig = ({ region = loadConfig(NODE_REGION_CONFIG_OPTIONS), defaultsMode = loadConfig(NODE_DEFAULTS_MODE_CONFIG_OPTIONS) } = {}) => import_property_provider.memoize(async () => {
|
|
2057
2147
|
const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode;
|
|
2058
2148
|
switch (mode?.toLowerCase()) {
|
|
2059
2149
|
case "auto":
|
|
@@ -2091,7 +2181,7 @@ var inferPhysicalRegion = async () => {
|
|
|
2091
2181
|
}
|
|
2092
2182
|
if (!process.env[ENV_IMDS_DISABLED]) {
|
|
2093
2183
|
try {
|
|
2094
|
-
const { getInstanceMetadataEndpoint, httpRequest } = await import("./chunk-
|
|
2184
|
+
const { getInstanceMetadataEndpoint, httpRequest } = await import("./chunk-9menqd9a.js");
|
|
2095
2185
|
const endpoint = await getInstanceMetadataEndpoint();
|
|
2096
2186
|
return (await httpRequest({ ...endpoint, path: IMDS_REGION_PATH })).toString();
|
|
2097
2187
|
} catch (e) {}
|
|
@@ -2113,4 +2203,30 @@ var resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) =
|
|
|
2113
2203
|
region: awsRegionExtensionConfiguration.region()
|
|
2114
2204
|
};
|
|
2115
2205
|
};
|
|
2116
|
-
|
|
2206
|
+
// ../../../../node_modules/@smithy/util-base64/dist-es/fromBase64.js
|
|
2207
|
+
var BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/;
|
|
2208
|
+
var fromBase64 = (input) => {
|
|
2209
|
+
if (input.length * 3 % 4 !== 0) {
|
|
2210
|
+
throw new TypeError(`Incorrect padding on base64 string.`);
|
|
2211
|
+
}
|
|
2212
|
+
if (!BASE64_REGEX.exec(input)) {
|
|
2213
|
+
throw new TypeError(`Invalid base64 string.`);
|
|
2214
|
+
}
|
|
2215
|
+
const buffer = fromString(input, "base64");
|
|
2216
|
+
return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
|
2217
|
+
};
|
|
2218
|
+
|
|
2219
|
+
// ../../../../node_modules/@smithy/util-base64/dist-es/toBase64.js
|
|
2220
|
+
var toBase64 = (_input) => {
|
|
2221
|
+
let input;
|
|
2222
|
+
if (typeof _input === "string") {
|
|
2223
|
+
input = fromUtf8(_input);
|
|
2224
|
+
} else {
|
|
2225
|
+
input = _input;
|
|
2226
|
+
}
|
|
2227
|
+
if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") {
|
|
2228
|
+
throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");
|
|
2229
|
+
}
|
|
2230
|
+
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("base64");
|
|
2231
|
+
};
|
|
2232
|
+
export { resolveHostHeaderConfig, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, resolveUserAgentConfig, EndpointCache, customEndpointFunctions, resolveEndpoint, awsEndpointFunctions, getUserAgentPlugin, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig, getContentLengthPlugin, getSerdePlugin, getEndpointPlugin, resolveEndpointConfig, DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, NODE_RETRY_MODE_CONFIG_OPTIONS, getRetryPlugin, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, fromUtf8, toUtf8, Hash, calculateBodyLength, fromBase64, toBase64, resolveDefaultsModeConfig, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration };
|
|
@@ -14,6 +14,8 @@ import {
|
|
|
14
14
|
calculateBodyLength,
|
|
15
15
|
createDefaultUserAgentProvider,
|
|
16
16
|
customEndpointFunctions,
|
|
17
|
+
fromBase64,
|
|
18
|
+
fromUtf8,
|
|
17
19
|
getAwsRegionExtensionConfiguration,
|
|
18
20
|
getContentLengthPlugin,
|
|
19
21
|
getEndpointPlugin,
|
|
@@ -21,9 +23,8 @@ import {
|
|
|
21
23
|
getLoggerPlugin,
|
|
22
24
|
getRecursionDetectionPlugin,
|
|
23
25
|
getRetryPlugin,
|
|
24
|
-
|
|
26
|
+
getSerdePlugin,
|
|
25
27
|
getUserAgentPlugin,
|
|
26
|
-
normalizeProvider,
|
|
27
28
|
resolveAwsRegionExtensionConfiguration,
|
|
28
29
|
resolveDefaultsModeConfig,
|
|
29
30
|
resolveEndpoint,
|
|
@@ -31,12 +32,14 @@ import {
|
|
|
31
32
|
resolveHostHeaderConfig,
|
|
32
33
|
resolveRegionConfig,
|
|
33
34
|
resolveRetryConfig,
|
|
34
|
-
resolveUserAgentConfig
|
|
35
|
-
|
|
35
|
+
resolveUserAgentConfig,
|
|
36
|
+
toBase64,
|
|
37
|
+
toUtf8
|
|
38
|
+
} from "./chunk-kbw02372.js";
|
|
36
39
|
import {
|
|
37
40
|
loadConfig,
|
|
38
41
|
parseUrl
|
|
39
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-bh25aaf7.js";
|
|
40
43
|
import"./chunk-bf8bq8pc.js";
|
|
41
44
|
import {
|
|
42
45
|
Client,
|
|
@@ -61,32 +64,30 @@ import {
|
|
|
61
64
|
streamCollector,
|
|
62
65
|
take,
|
|
63
66
|
withBaseException
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import"./chunk-zzerxbrm.js";
|
|
67
|
+
} from "./chunk-xt9exr2c.js";
|
|
66
68
|
import {
|
|
67
|
-
|
|
68
|
-
require_dist_cjs2
|
|
69
|
-
require_dist_cjs5
|
|
70
|
-
} from "./chunk-veja9rez.js";
|
|
71
|
-
import {
|
|
72
|
-
require_dist_cjs3 as require_dist_cjs2,
|
|
69
|
+
require_dist_cjs,
|
|
70
|
+
require_dist_cjs2,
|
|
73
71
|
require_dist_cjs4 as require_dist_cjs3
|
|
74
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-0crtxf8d.js";
|
|
73
|
+
import"./chunk-a7k3cdby.js";
|
|
75
74
|
import"./chunk-frw3va9v.js";
|
|
76
75
|
import"./chunk-saqpg5nd.js";
|
|
76
|
+
import"./chunk-2m04vhea.js";
|
|
77
77
|
import {
|
|
78
78
|
__toESM
|
|
79
79
|
} from "./chunk-9v6qtbez.js";
|
|
80
80
|
|
|
81
81
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js
|
|
82
|
-
var import_core5 = __toESM(
|
|
82
|
+
var import_core5 = __toESM(require_dist_cjs2(), 1);
|
|
83
83
|
|
|
84
84
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js
|
|
85
|
-
var import_core = __toESM(
|
|
85
|
+
var import_core = __toESM(require_dist_cjs3(), 1);
|
|
86
|
+
var import_util_middleware = __toESM(require_dist_cjs(), 1);
|
|
86
87
|
var defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
87
88
|
return {
|
|
88
|
-
operation: getSmithyContext(context).operation,
|
|
89
|
-
region: await normalizeProvider(config.region)() || (() => {
|
|
89
|
+
operation: import_util_middleware.getSmithyContext(context).operation,
|
|
90
|
+
region: await import_util_middleware.normalizeProvider(config.region)() || (() => {
|
|
90
91
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
91
92
|
})()
|
|
92
93
|
};
|
|
@@ -256,13 +257,11 @@ var package_default = {
|
|
|
256
257
|
};
|
|
257
258
|
|
|
258
259
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js
|
|
259
|
-
var import_core4 = __toESM(
|
|
260
|
+
var import_core4 = __toESM(require_dist_cjs3(), 1);
|
|
260
261
|
|
|
261
262
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js
|
|
262
|
-
var import_core2 = __toESM(
|
|
263
|
-
var import_core3 = __toESM(
|
|
264
|
-
var import_util_base64 = __toESM(require_dist_cjs3(), 1);
|
|
265
|
-
var import_util_utf8 = __toESM(require_dist_cjs2(), 1);
|
|
263
|
+
var import_core2 = __toESM(require_dist_cjs3(), 1);
|
|
264
|
+
var import_core3 = __toESM(require_dist_cjs2(), 1);
|
|
266
265
|
|
|
267
266
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js
|
|
268
267
|
var u = "required";
|
|
@@ -309,8 +308,8 @@ customEndpointFunctions.aws = awsEndpointFunctions;
|
|
|
309
308
|
var getRuntimeConfig = (config) => {
|
|
310
309
|
return {
|
|
311
310
|
apiVersion: "2019-06-10",
|
|
312
|
-
base64Decoder: config?.base64Decoder ??
|
|
313
|
-
base64Encoder: config?.base64Encoder ??
|
|
311
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
312
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
314
313
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
315
314
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
316
315
|
extensions: config?.extensions ?? [],
|
|
@@ -330,8 +329,8 @@ var getRuntimeConfig = (config) => {
|
|
|
330
329
|
logger: config?.logger ?? new NoOpLogger,
|
|
331
330
|
serviceId: config?.serviceId ?? "SSO",
|
|
332
331
|
urlParser: config?.urlParser ?? parseUrl,
|
|
333
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
334
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
332
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
333
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8
|
|
335
334
|
};
|
|
336
335
|
};
|
|
337
336
|
|
|
@@ -446,9 +445,6 @@ class SSOClient extends Client {
|
|
|
446
445
|
}
|
|
447
446
|
}
|
|
448
447
|
|
|
449
|
-
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js
|
|
450
|
-
var import_middleware_serde = __toESM(require_dist_cjs(), 1);
|
|
451
|
-
|
|
452
448
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/models/SSOServiceException.js
|
|
453
449
|
class SSOServiceException extends ServiceException {
|
|
454
450
|
constructor(options) {
|
|
@@ -524,8 +520,8 @@ var GetRoleCredentialsResponseFilterSensitiveLog = (obj) => ({
|
|
|
524
520
|
});
|
|
525
521
|
|
|
526
522
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js
|
|
527
|
-
var import_core6 = __toESM(
|
|
528
|
-
var import_core7 = __toESM(
|
|
523
|
+
var import_core6 = __toESM(require_dist_cjs3(), 1);
|
|
524
|
+
var import_core7 = __toESM(require_dist_cjs2(), 1);
|
|
529
525
|
var se_GetRoleCredentialsCommand = async (input, context) => {
|
|
530
526
|
const b2 = import_core7.requestBuilder(input, context);
|
|
531
527
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -651,7 +647,7 @@ var _xasbt = "x-amz-sso_bearer_token";
|
|
|
651
647
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js
|
|
652
648
|
class GetRoleCredentialsCommand extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o2) {
|
|
653
649
|
return [
|
|
654
|
-
|
|
650
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
655
651
|
getEndpointPlugin(config, Command2.getEndpointParameterInstructions())
|
|
656
652
|
];
|
|
657
653
|
}).s("SWBPortalService", "GetRoleCredentials", {}).n("SSOClient", "GetRoleCredentialsCommand").f(GetRoleCredentialsRequestFilterSensitiveLog, GetRoleCredentialsResponseFilterSensitiveLog).ser(se_GetRoleCredentialsCommand).de(de_GetRoleCredentialsCommand).build() {
|