@aws/cloudformation-languageserver 0.0.0 → 1.14.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.
Files changed (75) hide show
  1. package/LICENSE +175 -0
  2. package/NOTICE +10 -0
  3. package/README.md +70 -3
  4. package/THIRD-PARTY-LICENSES.txt +15761 -0
  5. package/assets/featureFlag/alpha.json +57 -0
  6. package/assets/featureFlag/beta.json +56 -0
  7. package/assets/featureFlag/prod.json +56 -0
  8. package/assets/relationship_schemas.json +16282 -0
  9. package/assets/release-manifest.json +1115 -0
  10. package/assets/wheels/annotated_types-0.7.0-py3-none-any.whl +0 -0
  11. package/assets/wheels/attrs-26.1.0-py3-none-any.whl +0 -0
  12. package/assets/wheels/aws_sam_translator-1.109.0-py3-none-any.whl +0 -0
  13. package/assets/wheels/boto3-1.43.4-py3-none-any.whl +0 -0
  14. package/assets/wheels/botocore-1.43.4-py3-none-any.whl +0 -0
  15. package/assets/wheels/cfn_lint-1.57.0-py3-none-any.whl +0 -0
  16. package/assets/wheels/jmespath-1.1.0-py3-none-any.whl +0 -0
  17. package/assets/wheels/jsonpatch-1.33-py2.py3-none-any.whl +0 -0
  18. package/assets/wheels/jsonpointer-3.1.1-py3-none-any.whl +0 -0
  19. package/assets/wheels/jsonschema-4.26.0-py3-none-any.whl +0 -0
  20. package/assets/wheels/jsonschema_specifications-2025.9.1-py3-none-any.whl +0 -0
  21. package/assets/wheels/micropip-0.10.1-py3-none-any.whl +0 -0
  22. package/assets/wheels/mpmath-1.4.1-py3-none-any.whl +0 -0
  23. package/assets/wheels/networkx-3.6.1-py3-none-any.whl +0 -0
  24. package/assets/wheels/pydantic-2.10.6-py3-none-any.whl +0 -0
  25. package/assets/wheels/pydantic_core-2.27.2-cp313-cp313-pyodide_2025_0_wasm32.whl +0 -0
  26. package/assets/wheels/python_dateutil-2.9.0.post0-py2.py3-none-any.whl +0 -0
  27. package/assets/wheels/pyyaml-6.0.2-cp313-cp313-pyodide_2025_0_wasm32.whl +0 -0
  28. package/assets/wheels/referencing-0.37.0-py3-none-any.whl +0 -0
  29. package/assets/wheels/regex-2024.11.6-cp313-cp313-pyodide_2025_0_wasm32.whl +0 -0
  30. package/assets/wheels/rpds_py-0.23.1-cp313-cp313-pyodide_2025_0_wasm32.whl +0 -0
  31. package/assets/wheels/s3transfer-0.17.0-py3-none-any.whl +0 -0
  32. package/assets/wheels/six-1.17.0-py2.py3-none-any.whl +0 -0
  33. package/assets/wheels/sympy-1.14.0-py3-none-any.whl +0 -0
  34. package/assets/wheels/typing_extensions-4.15.0-py3-none-any.whl +0 -0
  35. package/assets/wheels/urllib3-2.7.0-py3-none-any.whl +0 -0
  36. package/cfn-lsp-server-standalone.js +45233 -0
  37. package/cfn-lsp-server-standalone.js.map +1 -0
  38. package/cfn-validate-worker.js +83 -0
  39. package/cfn-validate-worker.js.map +1 -0
  40. package/guard_bg.wasm +0 -0
  41. package/node_modules_aws-sdk_credential-provider-http_dist-es_index_js.js +225 -0
  42. package/node_modules_aws-sdk_credential-provider-http_dist-es_index_js.js.map +1 -0
  43. package/node_modules_aws-sdk_credential-provider-ini_dist-es_index_js.js +280 -0
  44. package/node_modules_aws-sdk_credential-provider-ini_dist-es_index_js.js.map +1 -0
  45. package/node_modules_aws-sdk_credential-provider-login_dist-es_index_js.js +329 -0
  46. package/node_modules_aws-sdk_credential-provider-login_dist-es_index_js.js.map +1 -0
  47. package/node_modules_aws-sdk_credential-provider-process_dist-es_index_js.js +111 -0
  48. package/node_modules_aws-sdk_credential-provider-process_dist-es_index_js.js.map +1 -0
  49. package/node_modules_aws-sdk_credential-provider-sso_dist-es_index_js.js +424 -0
  50. package/node_modules_aws-sdk_credential-provider-sso_dist-es_index_js.js.map +1 -0
  51. package/node_modules_aws-sdk_credential-provider-web-identity_dist-es_index_js.js +90 -0
  52. package/node_modules_aws-sdk_credential-provider-web-identity_dist-es_index_js.js.map +1 -0
  53. package/node_modules_smithy_credential-provider-imds_dist-es_index_js.js +437 -0
  54. package/node_modules_smithy_credential-provider-imds_dist-es_index_js.js.map +1 -0
  55. package/package.json +74 -7
  56. package/pyodide-worker.js +1207 -0
  57. package/pyodide-worker.js.map +1 -0
  58. package/vendor/cfn-guard/guard.js +414 -0
  59. package/vendor/cfn-guard/guard_bg.wasm +0 -0
  60. package/vendor/cfn-guard/index.js +87 -0
  61. package/vendor/cfn-guard/package.json +39 -0
  62. package/vendors-node_modules_aws-sdk_client-cloudcontrol_dist-es_index_js-node_modules_aws-sdk_client-4d5eee.js +140762 -0
  63. package/vendors-node_modules_aws-sdk_client-cloudcontrol_dist-es_index_js-node_modules_aws-sdk_client-4d5eee.js.map +1 -0
  64. package/vendors-node_modules_aws-sdk_credential-provider-sso_dist-es_loadSso_js.js +577 -0
  65. package/vendors-node_modules_aws-sdk_credential-provider-sso_dist-es_loadSso_js.js.map +1 -0
  66. package/vendors-node_modules_aws-sdk_nested-clients_dist-es_submodules_signin_index_js.js +697 -0
  67. package/vendors-node_modules_aws-sdk_nested-clients_dist-es_submodules_signin_index_js.js.map +1 -0
  68. package/vendors-node_modules_aws-sdk_nested-clients_dist-es_submodules_sso-oidc_index_js.js +769 -0
  69. package/vendors-node_modules_aws-sdk_nested-clients_dist-es_submodules_sso-oidc_index_js.js.map +1 -0
  70. package/vendors-node_modules_aws-sdk_nested-clients_dist-es_submodules_sts_index_js.js +990 -0
  71. package/vendors-node_modules_aws-sdk_nested-clients_dist-es_submodules_sts_index_js.js.map +1 -0
  72. package/vendors-node_modules_base2_pretty-print-object_dist_index_js-node_modules_vscode-jsonrpc_node-9a0a8d.js +8429 -0
  73. package/vendors-node_modules_base2_pretty-print-object_dist_index_js-node_modules_vscode-jsonrpc_node-9a0a8d.js.map +1 -0
  74. package/vendors-node_modules_bowser_src_bowser_js.js +3300 -0
  75. package/vendors-node_modules_bowser_src_bowser_js.js.map +1 -0
@@ -0,0 +1,577 @@
1
+ "use strict";
2
+ exports.id = "vendors-node_modules_aws-sdk_credential-provider-sso_dist-es_loadSso_js";
3
+ exports.ids = ["vendors-node_modules_aws-sdk_credential-provider-sso_dist-es_loadSso_js"];
4
+ exports.modules = {
5
+
6
+ /***/ "./node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js"
7
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
8
+
9
+
10
+ // EXPORTS
11
+ __webpack_require__.d(__webpack_exports__, {
12
+ GetRoleCredentialsCommand: () => (/* reexport */ GetRoleCredentialsCommand),
13
+ SSOClient: () => (/* reexport */ SSOClient)
14
+ });
15
+
16
+ // EXTERNAL MODULE: ./node_modules/@aws-sdk/core/dist-es/submodules/client/index.js + 35 modules
17
+ var client = __webpack_require__("./node_modules/@aws-sdk/core/dist-es/submodules/client/index.js");
18
+ // EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/index.js + 18 modules
19
+ var dist_es = __webpack_require__("./node_modules/@smithy/core/dist-es/index.js");
20
+ // EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/client/index.js + 29 modules
21
+ var submodules_client = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/client/index.js");
22
+ // EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/config/index.js + 49 modules
23
+ var submodules_config = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/config/index.js");
24
+ // EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/endpoints/index.js + 50 modules
25
+ var endpoints = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/endpoints/index.js");
26
+ // EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/protocols/index.js + 20 modules
27
+ var protocols = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/protocols/index.js");
28
+ // EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/retry/index.js + 22 modules
29
+ var retry = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/retry/index.js");
30
+ // EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/schema/index.js + 16 modules
31
+ var schema = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/schema/index.js");
32
+ // EXTERNAL MODULE: ./node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js + 15 modules
33
+ var httpAuthSchemes = __webpack_require__("./node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js");
34
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js
35
+
36
+
37
+ const defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {
38
+ return {
39
+ operation: (0,submodules_client/* getSmithyContext */.ug)(context).operation,
40
+ region: await (0,submodules_client/* normalizeProvider */.te)(config.region)() || (() => {
41
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
42
+ })(),
43
+ };
44
+ };
45
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
46
+ return {
47
+ schemeId: "aws.auth#sigv4",
48
+ signingProperties: {
49
+ name: "awsssoportal",
50
+ region: authParameters.region,
51
+ },
52
+ propertiesExtractor: (config, context) => ({
53
+ signingProperties: {
54
+ config,
55
+ context,
56
+ },
57
+ }),
58
+ };
59
+ }
60
+ function createSmithyApiNoAuthHttpAuthOption(authParameters) {
61
+ return {
62
+ schemeId: "smithy.api#noAuth",
63
+ };
64
+ }
65
+ const defaultSSOHttpAuthSchemeProvider = (authParameters) => {
66
+ const options = [];
67
+ switch (authParameters.operation) {
68
+ case "GetRoleCredentials":
69
+ {
70
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
71
+ break;
72
+ }
73
+ ;
74
+ default: {
75
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
76
+ }
77
+ }
78
+ return options;
79
+ };
80
+ const resolveHttpAuthSchemeConfig = (config) => {
81
+ const config_0 = (0,httpAuthSchemes/* resolveAwsSdkSigV4Config */.ho)(config);
82
+ return Object.assign(config_0, {
83
+ authSchemePreference: (0,submodules_client/* normalizeProvider */.te)(config.authSchemePreference ?? []),
84
+ });
85
+ };
86
+
87
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/EndpointParameters.js
88
+ const resolveClientEndpointParameters = (options) => {
89
+ return Object.assign(options, {
90
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
91
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
92
+ defaultSigningName: "awsssoportal",
93
+ });
94
+ };
95
+ const commonParams = {
96
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
97
+ Endpoint: { type: "builtInParams", name: "endpoint" },
98
+ Region: { type: "builtInParams", name: "region" },
99
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
100
+ };
101
+
102
+ // EXTERNAL MODULE: ./node_modules/@aws-sdk/nested-clients/package.json
103
+ var nested_clients_package = __webpack_require__("./node_modules/@aws-sdk/nested-clients/package.json");
104
+ // EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/serde/index.js + 47 modules
105
+ var serde = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/serde/index.js");
106
+ // EXTERNAL MODULE: ./node_modules/@smithy/node-http-handler/dist-es/index.js + 16 modules
107
+ var node_http_handler_dist_es = __webpack_require__("./node_modules/@smithy/node-http-handler/dist-es/index.js");
108
+ // EXTERNAL MODULE: ./node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js + 50 modules
109
+ var submodules_protocols = __webpack_require__("./node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js");
110
+ // EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/checksum/index.js + 12 modules
111
+ var checksum = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/checksum/index.js");
112
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js
113
+
114
+ const k = "ref";
115
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
116
+ const _data = {
117
+ conditions: [
118
+ [c, [g]],
119
+ [c, j],
120
+ ["aws.partition", j, d],
121
+ [e, [{ [k]: "UseFIPS" }, b]],
122
+ [e, [{ [k]: "UseDualStack" }, b]],
123
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
124
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
125
+ ["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
126
+ ],
127
+ results: [
128
+ [a],
129
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
130
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
131
+ [g, i],
132
+ ["https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
133
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
134
+ ["https://portal.sso.{Region}.amazonaws.com", i],
135
+ ["https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", i],
136
+ [a, "FIPS is enabled but this partition does not support FIPS"],
137
+ ["https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
138
+ [a, "DualStack is enabled but this partition does not support DualStack"],
139
+ ["https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", i],
140
+ [a, "Invalid Configuration: Missing Region"]
141
+ ]
142
+ };
143
+ const root = 2;
144
+ const r = 100_000_000;
145
+ const nodes = new Int32Array([
146
+ -1, 1, -1,
147
+ 0, 13, 3,
148
+ 1, 4, r + 12,
149
+ 2, 5, r + 12,
150
+ 3, 8, 6,
151
+ 4, 7, r + 11,
152
+ 5, r + 9, r + 10,
153
+ 4, 11, 9,
154
+ 6, 10, r + 8,
155
+ 7, r + 6, r + 7,
156
+ 5, 12, r + 5,
157
+ 6, r + 4, r + 5,
158
+ 3, r + 1, 14,
159
+ 4, r + 2, r + 3,
160
+ ]);
161
+ const bdd = endpoints/* BinaryDecisionDiagram */.d5.from(nodes, root, _data.conditions, _data.results);
162
+
163
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js
164
+
165
+
166
+
167
+ const cache = new endpoints/* EndpointCache */.kS({
168
+ size: 50,
169
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
170
+ });
171
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
172
+ return cache.get(endpointParams, () => (0,endpoints/* decideEndpoint */.cH)(bdd, {
173
+ endpointParams: endpointParams,
174
+ logger: context.logger,
175
+ }));
176
+ };
177
+ endpoints/* customEndpointFunctions */.mw.aws = client/* awsEndpointFunctions */.UF;
178
+
179
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js
180
+
181
+
182
+ class SSOServiceException extends submodules_client/* ServiceException */.TJ {
183
+ constructor(options) {
184
+ super(options);
185
+ Object.setPrototypeOf(this, SSOServiceException.prototype);
186
+ }
187
+ }
188
+
189
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js
190
+
191
+ class InvalidRequestException extends SSOServiceException {
192
+ name = "InvalidRequestException";
193
+ $fault = "client";
194
+ constructor(opts) {
195
+ super({
196
+ name: "InvalidRequestException",
197
+ $fault: "client",
198
+ ...opts,
199
+ });
200
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
201
+ }
202
+ }
203
+ class ResourceNotFoundException extends SSOServiceException {
204
+ name = "ResourceNotFoundException";
205
+ $fault = "client";
206
+ constructor(opts) {
207
+ super({
208
+ name: "ResourceNotFoundException",
209
+ $fault: "client",
210
+ ...opts,
211
+ });
212
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
213
+ }
214
+ }
215
+ class TooManyRequestsException extends SSOServiceException {
216
+ name = "TooManyRequestsException";
217
+ $fault = "client";
218
+ constructor(opts) {
219
+ super({
220
+ name: "TooManyRequestsException",
221
+ $fault: "client",
222
+ ...opts,
223
+ });
224
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
225
+ }
226
+ }
227
+ class UnauthorizedException extends SSOServiceException {
228
+ name = "UnauthorizedException";
229
+ $fault = "client";
230
+ constructor(opts) {
231
+ super({
232
+ name: "UnauthorizedException",
233
+ $fault: "client",
234
+ ...opts,
235
+ });
236
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
237
+ }
238
+ }
239
+
240
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js
241
+ const _ATT = "AccessTokenType";
242
+ const _GRC = "GetRoleCredentials";
243
+ const _GRCR = "GetRoleCredentialsRequest";
244
+ const _GRCRe = "GetRoleCredentialsResponse";
245
+ const _IRE = "InvalidRequestException";
246
+ const _RC = "RoleCredentials";
247
+ const _RNFE = "ResourceNotFoundException";
248
+ const _SAKT = "SecretAccessKeyType";
249
+ const _STT = "SessionTokenType";
250
+ const _TMRE = "TooManyRequestsException";
251
+ const _UE = "UnauthorizedException";
252
+ const _aI = "accountId";
253
+ const _aKI = "accessKeyId";
254
+ const _aT = "accessToken";
255
+ const _ai = "account_id";
256
+ const _c = "client";
257
+ const _e = "error";
258
+ const _ex = "expiration";
259
+ const _h = "http";
260
+ const _hE = "httpError";
261
+ const _hH = "httpHeader";
262
+ const _hQ = "httpQuery";
263
+ const _m = "message";
264
+ const _rC = "roleCredentials";
265
+ const _rN = "roleName";
266
+ const _rn = "role_name";
267
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sso";
268
+ const _sAK = "secretAccessKey";
269
+ const _sT = "sessionToken";
270
+ const _xasbt = "x-amz-sso_bearer_token";
271
+ const n0 = "com.amazonaws.sso";
272
+
273
+
274
+
275
+ const _s_registry = new schema/* TypeRegistry */.OF(_s);
276
+ var SSOServiceException$ = [-3, _s, "SSOServiceException", 0, [], []];
277
+ _s_registry.registerError(SSOServiceException$, SSOServiceException);
278
+ const n0_registry = new schema/* TypeRegistry */.OF(n0);
279
+ var InvalidRequestException$ = [-3, n0, _IRE,
280
+ { [_e]: _c, [_hE]: 400 },
281
+ [_m],
282
+ [0]
283
+ ];
284
+ n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
285
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
286
+ { [_e]: _c, [_hE]: 404 },
287
+ [_m],
288
+ [0]
289
+ ];
290
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
291
+ var TooManyRequestsException$ = [-3, n0, _TMRE,
292
+ { [_e]: _c, [_hE]: 429 },
293
+ [_m],
294
+ [0]
295
+ ];
296
+ n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
297
+ var UnauthorizedException$ = [-3, n0, _UE,
298
+ { [_e]: _c, [_hE]: 401 },
299
+ [_m],
300
+ [0]
301
+ ];
302
+ n0_registry.registerError(UnauthorizedException$, UnauthorizedException);
303
+ const errorTypeRegistries = [
304
+ _s_registry,
305
+ n0_registry,
306
+ ];
307
+ var AccessTokenType = [0, n0, _ATT, 8, 0];
308
+ var SecretAccessKeyType = [0, n0, _SAKT, 8, 0];
309
+ var SessionTokenType = [0, n0, _STT, 8, 0];
310
+ var GetRoleCredentialsRequest$ = [3, n0, _GRCR,
311
+ 0,
312
+ [_rN, _aI, _aT],
313
+ [[0, { [_hQ]: _rn }], [0, { [_hQ]: _ai }], [() => AccessTokenType, { [_hH]: _xasbt }]], 3
314
+ ];
315
+ var GetRoleCredentialsResponse$ = [3, n0, _GRCRe,
316
+ 0,
317
+ [_rC],
318
+ [[() => RoleCredentials$, 0]]
319
+ ];
320
+ var RoleCredentials$ = [3, n0, _RC,
321
+ 0,
322
+ [_aKI, _sAK, _sT, _ex],
323
+ [0, [() => SecretAccessKeyType, 0], [() => SessionTokenType, 0], 1]
324
+ ];
325
+ var GetRoleCredentials$ = [9, n0, _GRC,
326
+ { [_h]: ["GET", "/federation/credentials", 200] }, () => GetRoleCredentialsRequest$, () => GetRoleCredentialsResponse$
327
+ ];
328
+
329
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js
330
+
331
+
332
+
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+ const getRuntimeConfig = (config) => {
341
+ return {
342
+ apiVersion: "2019-06-10",
343
+ base64Decoder: config?.base64Decoder ?? serde/* fromBase64 */.Ey,
344
+ base64Encoder: config?.base64Encoder ?? serde/* toBase64 */.nk,
345
+ disableHostPrefix: config?.disableHostPrefix ?? false,
346
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
347
+ extensions: config?.extensions ?? [],
348
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOHttpAuthSchemeProvider,
349
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
350
+ {
351
+ schemeId: "aws.auth#sigv4",
352
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
353
+ signer: new httpAuthSchemes/* AwsSdkSigV4Signer */.f2(),
354
+ },
355
+ {
356
+ schemeId: "smithy.api#noAuth",
357
+ identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
358
+ signer: new dist_es/* NoAuthSigner */.mR(),
359
+ },
360
+ ],
361
+ logger: config?.logger ?? new submodules_client/* NoOpLogger */.N4(),
362
+ protocol: config?.protocol ?? submodules_protocols/* AwsRestJsonProtocol */.Yu,
363
+ protocolSettings: config?.protocolSettings ?? {
364
+ defaultNamespace: "com.amazonaws.sso",
365
+ errorTypeRegistries: errorTypeRegistries,
366
+ version: "2019-06-10",
367
+ serviceTarget: "SWBPortalService",
368
+ },
369
+ serviceId: config?.serviceId ?? "SSO",
370
+ sha256: config?.sha256 ?? checksum/* Sha256 */.IA,
371
+ urlParser: config?.urlParser ?? protocols/* parseUrl */.Dl,
372
+ utf8Decoder: config?.utf8Decoder ?? serde/* fromUtf8 */.ar,
373
+ utf8Encoder: config?.utf8Encoder ?? serde/* toUtf8 */.Pq,
374
+ };
375
+ };
376
+
377
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+
386
+
387
+ const runtimeConfig_getRuntimeConfig = (config) => {
388
+ (0,submodules_client/* emitWarningIfUnsupportedVersion */.I9)(process.version);
389
+ const defaultsMode = (0,submodules_config/* resolveDefaultsModeConfig */.IZ)(config);
390
+ const defaultConfigProvider = () => defaultsMode().then(submodules_client/* loadConfigsForDefaultMode */.lT);
391
+ const clientSharedValues = getRuntimeConfig(config);
392
+ (0,client/* emitWarningIfUnsupportedVersion */.I9)(process.version);
393
+ const loaderConfig = {
394
+ profile: config?.profile,
395
+ logger: clientSharedValues.logger,
396
+ };
397
+ return {
398
+ ...clientSharedValues,
399
+ ...config,
400
+ runtime: "node",
401
+ defaultsMode,
402
+ authSchemePreference: config?.authSchemePreference ?? (0,submodules_config/* loadConfig */.Z9)(httpAuthSchemes/* NODE_AUTH_SCHEME_PREFERENCE_OPTIONS */.$S, loaderConfig),
403
+ bodyLengthChecker: config?.bodyLengthChecker ?? serde/* calculateBodyLength */.n8,
404
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,client/* createDefaultUserAgentProvider */.pf)({ serviceId: clientSharedValues.serviceId, clientVersion: nested_clients_package/* version */.rE }),
405
+ maxAttempts: config?.maxAttempts ?? (0,submodules_config/* loadConfig */.Z9)(retry/* NODE_MAX_ATTEMPT_CONFIG_OPTIONS */.qs, config),
406
+ region: config?.region ?? (0,submodules_config/* loadConfig */.Z9)(submodules_config/* NODE_REGION_CONFIG_OPTIONS */.GG, { ...submodules_config/* NODE_REGION_CONFIG_FILE_OPTIONS */.zH, ...loaderConfig }),
407
+ requestHandler: node_http_handler_dist_es/* NodeHttpHandler */.$c.create(config?.requestHandler ?? defaultConfigProvider),
408
+ retryMode: config?.retryMode ??
409
+ (0,submodules_config/* loadConfig */.Z9)({
410
+ ...retry/* NODE_RETRY_MODE_CONFIG_OPTIONS */.kN,
411
+ default: async () => (await defaultConfigProvider()).retryMode || retry/* DEFAULT_RETRY_MODE */.L0,
412
+ }, config),
413
+ streamCollector: config?.streamCollector ?? node_http_handler_dist_es/* streamCollector */.kv,
414
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0,submodules_config/* loadConfig */.Z9)(submodules_config/* NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS */.e$, loaderConfig),
415
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0,submodules_config/* loadConfig */.Z9)(submodules_config/* NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS */.Ko, loaderConfig),
416
+ userAgentAppId: config?.userAgentAppId ?? (0,submodules_config/* loadConfig */.Z9)(client/* NODE_APP_ID_CONFIG_OPTIONS */.hV, loaderConfig),
417
+ };
418
+ };
419
+
420
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js
421
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
422
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
423
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
424
+ let _credentials = runtimeConfig.credentials;
425
+ return {
426
+ setHttpAuthScheme(httpAuthScheme) {
427
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
428
+ if (index === -1) {
429
+ _httpAuthSchemes.push(httpAuthScheme);
430
+ }
431
+ else {
432
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
433
+ }
434
+ },
435
+ httpAuthSchemes() {
436
+ return _httpAuthSchemes;
437
+ },
438
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
439
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
440
+ },
441
+ httpAuthSchemeProvider() {
442
+ return _httpAuthSchemeProvider;
443
+ },
444
+ setCredentials(credentials) {
445
+ _credentials = credentials;
446
+ },
447
+ credentials() {
448
+ return _credentials;
449
+ },
450
+ };
451
+ };
452
+ const resolveHttpAuthRuntimeConfig = (config) => {
453
+ return {
454
+ httpAuthSchemes: config.httpAuthSchemes(),
455
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
456
+ credentials: config.credentials(),
457
+ };
458
+ };
459
+
460
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js
461
+
462
+
463
+
464
+
465
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
466
+ const extensionConfiguration = Object.assign((0,client/* getAwsRegionExtensionConfiguration */.Rq)(runtimeConfig), (0,submodules_client/* getDefaultExtensionConfiguration */.xA)(runtimeConfig), (0,protocols/* getHttpHandlerExtensionConfiguration */.eS)(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
467
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
468
+ return Object.assign(runtimeConfig, (0,client/* resolveAwsRegionExtensionConfiguration */.$3)(extensionConfiguration), (0,submodules_client/* resolveDefaultRuntimeConfig */.uv)(extensionConfiguration), (0,protocols/* resolveHttpHandlerRuntimeConfig */.jt)(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
469
+ };
470
+
471
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js
472
+
473
+
474
+
475
+
476
+
477
+
478
+
479
+
480
+
481
+
482
+
483
+
484
+
485
+ class SSOClient extends submodules_client/* Client */.Kj {
486
+ config;
487
+ constructor(...[configuration]) {
488
+ const _config_0 = runtimeConfig_getRuntimeConfig(configuration || {});
489
+ super(_config_0);
490
+ this.initConfig = _config_0;
491
+ const _config_1 = resolveClientEndpointParameters(_config_0);
492
+ const _config_2 = (0,client/* resolveUserAgentConfig */.Dc)(_config_1);
493
+ const _config_3 = (0,retry/* resolveRetryConfig */.$z)(_config_2);
494
+ const _config_4 = (0,submodules_config/* resolveRegionConfig */.TD)(_config_3);
495
+ const _config_5 = (0,client/* resolveHostHeaderConfig */.OV)(_config_4);
496
+ const _config_6 = (0,endpoints/* resolveEndpointConfig */.Co)(_config_5);
497
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
498
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
499
+ this.config = _config_8;
500
+ this.middlewareStack.use((0,schema/* getSchemaSerdePlugin */.wq)(this.config));
501
+ this.middlewareStack.use((0,client/* getUserAgentPlugin */.sM)(this.config));
502
+ this.middlewareStack.use((0,retry/* getRetryPlugin */.ey)(this.config));
503
+ this.middlewareStack.use((0,protocols/* getContentLengthPlugin */.vK)(this.config));
504
+ this.middlewareStack.use((0,client/* getHostHeaderPlugin */.TC)(this.config));
505
+ this.middlewareStack.use((0,client/* getLoggerPlugin */.Y7)(this.config));
506
+ this.middlewareStack.use((0,client/* getRecursionDetectionPlugin */.n4)(this.config));
507
+ this.middlewareStack.use((0,dist_es/* getHttpAuthSchemeEndpointRuleSetPlugin */.wB)(this.config, {
508
+ httpAuthSchemeParametersProvider: defaultSSOHttpAuthSchemeParametersProvider,
509
+ identityProviderConfigProvider: async (config) => new dist_es/* DefaultIdentityProviderConfig */.h$({
510
+ "aws.auth#sigv4": config.credentials,
511
+ }),
512
+ }));
513
+ this.middlewareStack.use((0,dist_es/* getHttpSigningPlugin */.lW)(this.config));
514
+ }
515
+ destroy() {
516
+ super.destroy();
517
+ }
518
+ }
519
+
520
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commandBuilder.js
521
+
522
+
523
+
524
+ const command = (0,submodules_client/* makeBuilder */.k8)(commonParams, "SWBPortalService", "SSOClient", endpoints/* getEndpointPlugin */.rD);
525
+ const _ep0 = {};
526
+ const _mw0 = (Command, cs, config, o) => [];
527
+
528
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js
529
+
530
+
531
+ class GetRoleCredentialsCommand extends command(_ep0, _mw0, "GetRoleCredentials", GetRoleCredentials$) {
532
+ }
533
+
534
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js
535
+
536
+
537
+
538
+ const commands = {
539
+ GetRoleCredentialsCommand: GetRoleCredentialsCommand,
540
+ };
541
+ class SSO extends SSOClient {
542
+ }
543
+ ;(0,submodules_client/* createAggregatedClient */.J1)(commands, SSO);
544
+
545
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/index.js
546
+
547
+
548
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/models_0.js
549
+
550
+
551
+ ;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/index.js
552
+
553
+
554
+
555
+
556
+
557
+
558
+
559
+
560
+
561
+ ;// ./node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js
562
+
563
+
564
+
565
+
566
+ /***/ },
567
+
568
+ /***/ "./node_modules/@aws-sdk/nested-clients/package.json"
569
+ (module) {
570
+
571
+ module.exports = {"rE":"3.997.46"};
572
+
573
+ /***/ }
574
+
575
+ };
576
+ ;
577
+ //# sourceMappingURL=vendors-node_modules_aws-sdk_credential-provider-sso_dist-es_loadSso_js.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vendors-node_modules_aws-sdk_credential-provider-sso_dist-es_loadSso_js.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAA0E;AACA;AACnE;AACP;AACA,mBAAmB,8CAAgB;AACnC,sBAAsB,+CAAiB;AACvC;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP,qBAAqB,oDAAwB;AAC7C;AACA,8BAA8B,+CAAiB;AAC/C,KAAK;AACL;;;AClDO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACO;AACP,eAAe,gDAAgD;AAC/D,gBAAgB,yCAAyC;AACzD,cAAc,uCAAuC;AACrD,oBAAoB,qDAAqD;AACzE;;;;;;;;;;;;;ACZ+D;AAC/D;AACA,sGAAsG,iBAAiB,QAAQ,QAAQ,QAAQ,SAAS,eAAe;AACvK;AACA;AACA;AACA;AACA;AACA,eAAe,gBAAgB;AAC/B,eAAe,qBAAqB;AACpC,eAAe,uCAAuC;AACtD,eAAe,kCAAkC;AACjD,4BAA4B,0BAA0B;AACtD;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,OAAO,EAAE,mCAAmC;AAC/E;AACA,8BAA8B,OAAO;AACrC,mCAAmC,OAAO,EAAE,0BAA0B;AACtE;AACA,8BAA8B,OAAO,EAAE,mCAAmC;AAC1E;AACA,8BAA8B,OAAO,EAAE,0BAA0B;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,YAAY,uCAAqB;;;AChDoB;AACoC;AACpE;AAC5B,kBAAkB,+BAAa;AAC/B;AACA;AACA,CAAC;AACM,6DAA6D;AACpE,2CAA2C,oCAAc,CAAC,GAAG;AAC7D;AACA;AACA,KAAK;AACL;AACA,yCAAuB,OAAO,mCAAoB;;;ACb4B;AAChD;AACvB,kCAAkC,0CAAkB;AAC3D;AACA;AACA;AACA;AACA;;;ACP+E;AACxE,sCAAsC,mBAAe;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACO,wCAAwC,mBAAe;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACO,uCAAuC,mBAAe;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACO,oCAAoC,mBAAe;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACmD;AACqF;AACpE;AACpE,wBAAwB,2BAAY;AAC7B;AACP,gDAAgD,mBAAmB;AACnE,wBAAwB,2BAAY;AAC7B;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,oDAAoD,uBAAuB;AACpE;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,sDAAsD,yBAAyB;AACxE;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,qDAAqD,wBAAwB;AACtE;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,kDAAkD,qBAAqB;AAChE;AACP;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA,WAAW,YAAY,SAAS,YAAY,6BAA6B,eAAe;AACxF;AACO;AACP;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACO;AACP,MAAM,+CAA+C;AACrD;;;ACtFkE;AACJ;AAClB;AACG;AACE;AACC;AAC0B;AACK;AACX;AACZ;AACnD;AACP;AACA;AACA,gDAAgD,wBAAU;AAC1D,gDAAgD,sBAAQ;AACxD;AACA,sDAAsD,uBAAuB;AAC7E;AACA,kEAAkE,gCAAgC;AAClG;AACA;AACA;AACA;AACA,4BAA4B,yCAAiB;AAC7C,aAAa;AACb;AACA;AACA,2GAA2G;AAC3G,4BAA4B,4BAAY;AACxC,aAAa;AACb;AACA,sCAAsC,oCAAU;AAChD,sCAAsC,gDAAmB;AACzD;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,SAAS;AACT;AACA,kCAAkC,uBAAM;AACxC,wCAAwC,0BAAQ;AAChD,4CAA4C,sBAAQ;AACpD,4CAA4C,oBAAM;AAClD;AACA;;;AC7CgD;AACuG;AACnE;AACa;AAC8I;AACrH;AACjE;AACsC;AACX;AAC7E,MAAM,8BAAgB;AAC7B,IAAI,6DAA+B;AACnC,yBAAyB,uDAAyB;AAClD,4DAA4D,mDAAyB;AACrF,+BAA+B,gBAAsB;AACrD,IAAI,kDAAe;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8DAA8D,wCAAc,CAAC,2DAAmC;AAChH,wDAAwD,iCAAmB;AAC3E,sEAAsE,iDAA8B,GAAG,wDAAwD,sCAAmB,EAAE;AACpL,4CAA4C,wCAAc,CAAC,6CAA+B;AAC1F,kCAAkC,wCAAc,CAAC,oDAA0B,IAAI,GAAG,yDAA+B,mBAAmB;AACpI,wBAAwB,iDAAc;AACtC;AACA,YAAY,wCAAc;AAC1B,mBAAmB,4CAA8B;AACjD,kFAAkF,gCAAkB;AACpG,aAAa;AACb,oDAAoD,iDAAe;AACnE,8DAA8D,wCAAc,CAAC,oEAA0C;AACvH,oDAAoD,wCAAc,CAAC,+DAAqC;AACxG,kDAAkD,wCAAc,CAAC,yCAA0B;AAC3F;AACA;;;ACxCO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;;;ACrCkH;AACd;AACW;AACS;AACjH;AACP,iDAAiD,qDAAkC,iBAAiB,8DAAgC,iBAAiB,0DAAoC,iBAAiB,iCAAiC;AAC3O;AACA,wCAAwC,yDAAsC,0BAA0B,yDAA2B,0BAA0B,qDAA+B,0BAA0B,4BAA4B;AAClP;;;ACR+K;AACnD;AAClE;AACA;AACK;AACC;AACS;AACd;AAC8D;AACxC;AACR;AACV;AAC3C;AACb,wBAAwB,gCAAQ;AACvC;AACA;AACA,0BAA0B,8BAAkB,oBAAoB;AAChE;AACA;AACA,0BAA0B,+BAA+B;AACzD,0BAA0B,yCAAsB;AAChD,0BAA0B,oCAAkB;AAC5C,0BAA0B,iDAAmB;AAC7C,0BAA0B,0CAAuB;AACjD,0BAA0B,2CAAqB;AAC/C,0BAA0B,2BAA2B;AACrD,0BAA0B,wBAAwB;AAClD;AACA,iCAAiC,uCAAoB;AACrD,iCAAiC,qCAAkB;AACnD,iCAAiC,gCAAc;AAC/C,iCAAiC,4CAAsB;AACvD,iCAAiC,sCAAmB;AACpD,iCAAiC,kCAAe;AAChD,iCAAiC,8CAA2B;AAC5D,iCAAiC,0DAAsC;AACvE,8CAA8C,0CAA0C;AACxF,kEAAkE,6CAA6B;AAC/F;AACA,aAAa;AACb,SAAS;AACT,iCAAiC,wCAAoB;AACrD;AACA;AACA;AACA;AACA;;;AC9CkD;AACS;AACE;AACtD,gBAAgB,yCAAW,CAAC,YAAY,mCAAmC,mCAAiB;AAC5F;AACA;;;ACLiD;AACG;AACpD,wCAAwC,OAAO,CAAC,IAAI,EAAE,IAAI,wBAAwB,mBAAmB;AAC5G;;;ACH6D;AACqB;AAC1C;AACxC;AACA,6BAA6B;AAC7B;AACO,kBAAkB,SAAS;AAClC;AACA,qDAAsB;;;ACRsB;;;ACAlC;;;ACAkB;AACN;AACK;AAC+B;AACtB;AACJ;AACE;AACiC;;;ACPgB;AACnC","sources":["webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/EndpointParameters.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commandBuilder.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/index.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/models_0.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/index.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js"],"sourcesContent":["import { resolveAwsSdkSigV4Config, } from \"@aws-sdk/core/httpAuthSchemes\";\nimport { getSmithyContext, normalizeProvider } from \"@smithy/core/client\";\nexport const defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: getSmithyContext(context).operation,\n region: await normalizeProvider(config.region)() || (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"awsssoportal\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nexport const defaultSSOHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"GetRoleCredentials\":\n {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n ;\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexport const resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = resolveAwsSdkSigV4Config(config);\n return Object.assign(config_0, {\n authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),\n });\n};\n","export const resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"awsssoportal\",\n });\n};\nexport const commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n","import { BinaryDecisionDiagram } from \"@smithy/core/endpoints\";\nconst k = \"ref\";\nconst a = -1, b = true, c = \"isSet\", d = \"PartitionResult\", e = \"booleanEquals\", f = \"getAttr\", g = { [k]: \"Endpoint\" }, h = { [k]: d }, i = {}, j = [{ [k]: \"Region\" }];\nconst _data = {\n conditions: [\n [c, [g]],\n [c, j],\n [\"aws.partition\", j, d],\n [e, [{ [k]: \"UseFIPS\" }, b]],\n [e, [{ [k]: \"UseDualStack\" }, b]],\n [e, [{ fn: f, argv: [h, \"supportsDualStack\"] }, b]],\n [e, [{ fn: f, argv: [h, \"supportsFIPS\"] }, b]],\n [\"stringEquals\", [{ fn: f, argv: [h, \"name\"] }, \"aws-us-gov\"]]\n ],\n results: [\n [a],\n [a, \"Invalid Configuration: FIPS and custom endpoint are not supported\"],\n [a, \"Invalid Configuration: Dualstack and custom endpoint are not supported\"],\n [g, i],\n [\"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", i],\n [a, \"FIPS and DualStack are enabled, but this partition does not support one or both\"],\n [\"https://portal.sso.{Region}.amazonaws.com\", i],\n [\"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}\", i],\n [a, \"FIPS is enabled but this partition does not support FIPS\"],\n [\"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}\", i],\n [a, \"DualStack is enabled but this partition does not support DualStack\"],\n [\"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}\", i],\n [a, \"Invalid Configuration: Missing Region\"]\n ]\n};\nconst root = 2;\nconst r = 100_000_000;\nconst nodes = new Int32Array([\n -1, 1, -1,\n 0, 13, 3,\n 1, 4, r + 12,\n 2, 5, r + 12,\n 3, 8, 6,\n 4, 7, r + 11,\n 5, r + 9, r + 10,\n 4, 11, 9,\n 6, 10, r + 8,\n 7, r + 6, r + 7,\n 5, 12, r + 5,\n 6, r + 4, r + 5,\n 3, r + 1, 14,\n 4, r + 2, r + 3,\n]);\nexport const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);\n","import { awsEndpointFunctions } from \"@aws-sdk/core/client\";\nimport { customEndpointFunctions, decideEndpoint, EndpointCache } from \"@smithy/core/endpoints\";\nimport { bdd } from \"./bdd\";\nconst cache = new EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nexport const defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => decideEndpoint(bdd, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\ncustomEndpointFunctions.aws = awsEndpointFunctions;\n","import { ServiceException as __ServiceException, } from \"@smithy/core/client\";\nexport { __ServiceException };\nexport class SSOServiceException extends __ServiceException {\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, SSOServiceException.prototype);\n }\n}\n","import { SSOServiceException as __BaseException } from \"./SSOServiceException\";\nexport class InvalidRequestException extends __BaseException {\n name = \"InvalidRequestException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidRequestException.prototype);\n }\n}\nexport class ResourceNotFoundException extends __BaseException {\n name = \"ResourceNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ResourceNotFoundException.prototype);\n }\n}\nexport class TooManyRequestsException extends __BaseException {\n name = \"TooManyRequestsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"TooManyRequestsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, TooManyRequestsException.prototype);\n }\n}\nexport class UnauthorizedException extends __BaseException {\n name = \"UnauthorizedException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"UnauthorizedException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnauthorizedException.prototype);\n }\n}\n","const _ATT = \"AccessTokenType\";\nconst _GRC = \"GetRoleCredentials\";\nconst _GRCR = \"GetRoleCredentialsRequest\";\nconst _GRCRe = \"GetRoleCredentialsResponse\";\nconst _IRE = \"InvalidRequestException\";\nconst _RC = \"RoleCredentials\";\nconst _RNFE = \"ResourceNotFoundException\";\nconst _SAKT = \"SecretAccessKeyType\";\nconst _STT = \"SessionTokenType\";\nconst _TMRE = \"TooManyRequestsException\";\nconst _UE = \"UnauthorizedException\";\nconst _aI = \"accountId\";\nconst _aKI = \"accessKeyId\";\nconst _aT = \"accessToken\";\nconst _ai = \"account_id\";\nconst _c = \"client\";\nconst _e = \"error\";\nconst _ex = \"expiration\";\nconst _h = \"http\";\nconst _hE = \"httpError\";\nconst _hH = \"httpHeader\";\nconst _hQ = \"httpQuery\";\nconst _m = \"message\";\nconst _rC = \"roleCredentials\";\nconst _rN = \"roleName\";\nconst _rn = \"role_name\";\nconst _s = \"smithy.ts.sdk.synthetic.com.amazonaws.sso\";\nconst _sAK = \"secretAccessKey\";\nconst _sT = \"sessionToken\";\nconst _xasbt = \"x-amz-sso_bearer_token\";\nconst n0 = \"com.amazonaws.sso\";\nimport { TypeRegistry } from \"@smithy/core/schema\";\nimport { InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, UnauthorizedException, } from \"../models/errors\";\nimport { SSOServiceException } from \"../models/SSOServiceException\";\nconst _s_registry = new TypeRegistry(_s);\nexport var SSOServiceException$ = [-3, _s, \"SSOServiceException\", 0, [], []];\n_s_registry.registerError(SSOServiceException$, SSOServiceException);\nconst n0_registry = new TypeRegistry(n0);\nexport var InvalidRequestException$ = [-3, n0, _IRE,\n { [_e]: _c, [_hE]: 400 },\n [_m],\n [0]\n];\nn0_registry.registerError(InvalidRequestException$, InvalidRequestException);\nexport var ResourceNotFoundException$ = [-3, n0, _RNFE,\n { [_e]: _c, [_hE]: 404 },\n [_m],\n [0]\n];\nn0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);\nexport var TooManyRequestsException$ = [-3, n0, _TMRE,\n { [_e]: _c, [_hE]: 429 },\n [_m],\n [0]\n];\nn0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);\nexport var UnauthorizedException$ = [-3, n0, _UE,\n { [_e]: _c, [_hE]: 401 },\n [_m],\n [0]\n];\nn0_registry.registerError(UnauthorizedException$, UnauthorizedException);\nexport const errorTypeRegistries = [\n _s_registry,\n n0_registry,\n];\nvar AccessTokenType = [0, n0, _ATT, 8, 0];\nvar SecretAccessKeyType = [0, n0, _SAKT, 8, 0];\nvar SessionTokenType = [0, n0, _STT, 8, 0];\nexport var GetRoleCredentialsRequest$ = [3, n0, _GRCR,\n 0,\n [_rN, _aI, _aT],\n [[0, { [_hQ]: _rn }], [0, { [_hQ]: _ai }], [() => AccessTokenType, { [_hH]: _xasbt }]], 3\n];\nexport var GetRoleCredentialsResponse$ = [3, n0, _GRCRe,\n 0,\n [_rC],\n [[() => RoleCredentials$, 0]]\n];\nexport var RoleCredentials$ = [3, n0, _RC,\n 0,\n [_aKI, _sAK, _sT, _ex],\n [0, [() => SecretAccessKeyType, 0], [() => SessionTokenType, 0], 1]\n];\nexport var GetRoleCredentials$ = [9, n0, _GRC,\n { [_h]: [\"GET\", \"/federation/credentials\", 200] }, () => GetRoleCredentialsRequest$, () => GetRoleCredentialsResponse$\n];\n","import { AwsSdkSigV4Signer } from \"@aws-sdk/core/httpAuthSchemes\";\nimport { AwsRestJsonProtocol } from \"@aws-sdk/core/protocols\";\nimport { NoAuthSigner } from \"@smithy/core\";\nimport { Sha256 } from \"@smithy/core/checksum\";\nimport { NoOpLogger } from \"@smithy/core/client\";\nimport { parseUrl } from \"@smithy/core/protocols\";\nimport { fromBase64, fromUtf8, toBase64, toUtf8 } from \"@smithy/core/serde\";\nimport { defaultSSOHttpAuthSchemeProvider } from \"./auth/httpAuthSchemeProvider\";\nimport { defaultEndpointResolver } from \"./endpoint/endpointResolver\";\nimport { errorTypeRegistries } from \"./schemas/schemas_0\";\nexport const getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? fromBase64,\n base64Encoder: config?.base64Encoder ?? toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new NoOpLogger(),\n protocol: config?.protocol ?? AwsRestJsonProtocol,\n protocolSettings: config?.protocolSettings ?? {\n defaultNamespace: \"com.amazonaws.sso\",\n errorTypeRegistries,\n version: \"2019-06-10\",\n serviceTarget: \"SWBPortalService\",\n },\n serviceId: config?.serviceId ?? \"SSO\",\n sha256: config?.sha256 ?? Sha256,\n urlParser: config?.urlParser ?? parseUrl,\n utf8Decoder: config?.utf8Decoder ?? fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? toUtf8,\n };\n};\n","import packageInfo from \"../../../package.json\";\nimport { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from \"@aws-sdk/core/client\";\nimport { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from \"@aws-sdk/core/httpAuthSchemes\";\nimport { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from \"@smithy/core/client\";\nimport { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from \"@smithy/core/config\";\nimport { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from \"@smithy/core/retry\";\nimport { calculateBodyLength } from \"@smithy/core/serde\";\nimport { NodeHttpHandler as RequestHandler, streamCollector } from \"@smithy/node-http-handler\";\nimport { getRuntimeConfig as getSharedRuntimeConfig } from \"./runtimeConfig.shared\";\nexport const getRuntimeConfig = (config) => {\n emitWarningIfUnsupportedVersion(process.version);\n const defaultsMode = resolveDefaultsModeConfig(config);\n const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);\n const clientSharedValues = getSharedRuntimeConfig(config);\n awsCheckVersion(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),\n maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n loadNodeConfig({\n ...NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,\n }, config),\n streamCollector: config?.streamCollector ?? streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\n","export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nexport const resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\n","import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration } from \"@aws-sdk/core/client\";\nimport { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from \"@smithy/core/client\";\nimport { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from \"@smithy/core/protocols\";\nimport { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from \"./auth/httpAuthExtensionConfiguration\";\nexport const resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));\n};\n","import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from \"@aws-sdk/core/client\";\nimport { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from \"@smithy/core\";\nimport { Client as __Client, } from \"@smithy/core/client\";\nimport { resolveRegionConfig } from \"@smithy/core/config\";\nimport { resolveEndpointConfig } from \"@smithy/core/endpoints\";\nimport { getContentLengthPlugin } from \"@smithy/core/protocols\";\nimport { getRetryPlugin, resolveRetryConfig, } from \"@smithy/core/retry\";\nimport { getSchemaSerdePlugin } from \"@smithy/core/schema\";\nimport { defaultSSOHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from \"./auth/httpAuthSchemeProvider\";\nimport { resolveClientEndpointParameters, } from \"./endpoint/EndpointParameters\";\nimport { getRuntimeConfig as __getRuntimeConfig } from \"./runtimeConfig\";\nimport { resolveRuntimeExtensions } from \"./runtimeExtensions\";\nexport { __Client };\nexport class SSOClient extends __Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = __getRuntimeConfig(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = resolveUserAgentConfig(_config_1);\n const _config_3 = resolveRetryConfig(_config_2);\n const _config_4 = resolveRegionConfig(_config_3);\n const _config_5 = resolveHostHeaderConfig(_config_4);\n const _config_6 = resolveEndpointConfig(_config_5);\n const _config_7 = resolveHttpAuthSchemeConfig(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use(getSchemaSerdePlugin(this.config));\n this.middlewareStack.use(getUserAgentPlugin(this.config));\n this.middlewareStack.use(getRetryPlugin(this.config));\n this.middlewareStack.use(getContentLengthPlugin(this.config));\n this.middlewareStack.use(getHostHeaderPlugin(this.config));\n this.middlewareStack.use(getLoggerPlugin(this.config));\n this.middlewareStack.use(getRecursionDetectionPlugin(this.config));\n this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {\n httpAuthSchemeParametersProvider: defaultSSOHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use(getHttpSigningPlugin(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\n","import { makeBuilder } from \"@smithy/core/client\";\nimport { getEndpointPlugin } from \"@smithy/core/endpoints\";\nimport { commonParams } from \"./endpoint/EndpointParameters\";\nexport const command = makeBuilder(commonParams, \"SWBPortalService\", \"SSOClient\", getEndpointPlugin);\nexport const _ep0 = {};\nexport const _mw0 = (Command, cs, config, o) => [];\n","import { _ep0, _mw0, command } from \"../commandBuilder\";\nimport { GetRoleCredentials$ } from \"../schemas/schemas_0\";\nexport class GetRoleCredentialsCommand extends command(_ep0, _mw0, \"GetRoleCredentials\", GetRoleCredentials$) {\n}\n","import { createAggregatedClient } from \"@smithy/core/client\";\nimport { GetRoleCredentialsCommand, } from \"./commands/GetRoleCredentialsCommand\";\nimport { SSOClient } from \"./SSOClient\";\nconst commands = {\n GetRoleCredentialsCommand,\n};\nexport class SSO extends SSOClient {\n}\ncreateAggregatedClient(commands, SSO);\n","export * from \"./GetRoleCredentialsCommand\";\n","export {};\n","export * from \"./SSOClient\";\nexport * from \"./SSO\";\nexport * from \"./commands\";\nexport { Command as $Command } from \"@smithy/core/client\";\nexport * from \"./schemas/schemas_0\";\nexport * from \"./models/errors\";\nexport * from \"./models/models_0\";\nexport { SSOServiceException } from \"./models/SSOServiceException\";\n","import { GetRoleCredentialsCommand, SSOClient } from \"@aws-sdk/nested-clients/sso\";\nexport { GetRoleCredentialsCommand, SSOClient };\n"],"names":[],"sourceRoot":""}