@aws/cloudformation-languageserver 1.14.0 → 1.15.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.
- package/README.md +2 -1
- package/THIRD-PARTY-LICENSES.txt +457 -58
- package/assets/featureFlag/prod.json +2 -2
- package/assets/release-manifest.json +158 -572
- package/cfn-lsp-server-standalone.js +53 -782
- package/cfn-lsp-server-standalone.js.map +1 -1
- package/node_modules_aws-sdk_credential-provider-http_dist-es_index_js.js +4 -4
- package/node_modules_aws-sdk_credential-provider-ini_dist-es_index_js.js +1 -1
- package/node_modules_aws-sdk_credential-provider-login_dist-es_index_js.js +2 -2
- package/node_modules_aws-sdk_credential-provider-process_dist-es_index_js.js +1 -1
- package/node_modules_aws-sdk_credential-provider-sso_dist-es_index_js.js +38 -20
- package/node_modules_aws-sdk_credential-provider-sso_dist-es_index_js.js.map +1 -1
- package/node_modules_aws-sdk_credential-provider-web-identity_dist-es_index_js.js +1 -1
- package/node_modules_smithy_credential-provider-imds_dist-es_index_js.js +1 -1
- package/package.json +3 -3
- package/pyodide-worker.js +26 -17
- package/pyodide-worker.js.map +1 -1
- package/vendors-node_modules_aws-sdk_client-cloudcontrol_dist-es_index_js-node_modules_aws-sdk_client-4d5eee.js +17868 -8730
- package/vendors-node_modules_aws-sdk_client-cloudcontrol_dist-es_index_js-node_modules_aws-sdk_client-4d5eee.js.map +1 -1
- package/vendors-node_modules_aws-sdk_credential-provider-sso_dist-es_loadSso_js.js +13 -7
- package/vendors-node_modules_aws-sdk_credential-provider-sso_dist-es_loadSso_js.js.map +1 -1
- package/vendors-node_modules_aws-sdk_nested-clients_dist-es_submodules_signin_index_js.js +20 -7
- package/vendors-node_modules_aws-sdk_nested-clients_dist-es_submodules_signin_index_js.js.map +1 -1
- package/vendors-node_modules_aws-sdk_nested-clients_dist-es_submodules_sso-oidc_index_js.js +20 -7
- package/vendors-node_modules_aws-sdk_nested-clients_dist-es_submodules_sso-oidc_index_js.js.map +1 -1
- package/vendors-node_modules_aws-sdk_nested-clients_dist-es_submodules_sts_index_js.js +16 -7
- package/vendors-node_modules_aws-sdk_nested-clients_dist-es_submodules_sts_index_js.js.map +1 -1
- package/vendors-node_modules_bowser_bowser_mjs.js +2244 -0
- package/vendors-node_modules_bowser_bowser_mjs.js.map +1 -0
- package/guard_bg.wasm +0 -0
- package/vendor/cfn-guard/guard.js +0 -414
- package/vendor/cfn-guard/guard_bg.wasm +0 -0
- package/vendor/cfn-guard/index.js +0 -87
- package/vendor/cfn-guard/package.json +0 -39
- package/vendors-node_modules_bowser_src_bowser_js.js +0 -3300
- package/vendors-node_modules_bowser_src_bowser_js.js.map +0 -1
|
@@ -15,7 +15,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
15
15
|
|
|
16
16
|
// UNUSED EXPORTS: $Command, AccessDeniedException, AccessDeniedException$, AccessDeniedExceptionReason, AuthorizationPendingException, AuthorizationPendingException$, CreateToken$, CreateTokenRequest$, CreateTokenResponse$, ExpiredTokenException, ExpiredTokenException$, InternalServerException, InternalServerException$, InvalidClientException, InvalidClientException$, InvalidGrantException, InvalidGrantException$, InvalidRequestException, InvalidRequestException$, InvalidRequestExceptionReason, InvalidScopeException, InvalidScopeException$, SSOOIDC, SSOOIDCServiceException, SSOOIDCServiceException$, SlowDownException, SlowDownException$, UnauthorizedClientException, UnauthorizedClientException$, UnsupportedGrantTypeException, UnsupportedGrantTypeException$, __Client, errorTypeRegistries
|
|
17
17
|
|
|
18
|
-
// EXTERNAL MODULE: ./node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +
|
|
18
|
+
// EXTERNAL MODULE: ./node_modules/@aws-sdk/core/dist-es/submodules/client/index.js + 36 modules
|
|
19
19
|
var client = __webpack_require__("./node_modules/@aws-sdk/core/dist-es/submodules/client/index.js");
|
|
20
20
|
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/index.js + 18 modules
|
|
21
21
|
var dist_es = __webpack_require__("./node_modules/@smithy/core/dist-es/index.js");
|
|
@@ -25,9 +25,9 @@ var submodules_client = __webpack_require__("./node_modules/@smithy/core/dist-es
|
|
|
25
25
|
var submodules_config = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/config/index.js");
|
|
26
26
|
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/endpoints/index.js + 50 modules
|
|
27
27
|
var endpoints = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/endpoints/index.js");
|
|
28
|
-
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/protocols/index.js +
|
|
28
|
+
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/protocols/index.js + 37 modules
|
|
29
29
|
var protocols = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/protocols/index.js");
|
|
30
|
-
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/retry/index.js +
|
|
30
|
+
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/retry/index.js + 23 modules
|
|
31
31
|
var retry = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/retry/index.js");
|
|
32
32
|
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/schema/index.js + 16 modules
|
|
33
33
|
var schema = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/schema/index.js");
|
|
@@ -103,11 +103,11 @@ const commonParams = {
|
|
|
103
103
|
|
|
104
104
|
// EXTERNAL MODULE: ./node_modules/@aws-sdk/nested-clients/package.json
|
|
105
105
|
var nested_clients_package = __webpack_require__("./node_modules/@aws-sdk/nested-clients/package.json");
|
|
106
|
-
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/serde/index.js +
|
|
106
|
+
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/serde/index.js + 48 modules
|
|
107
107
|
var serde = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/serde/index.js");
|
|
108
|
-
// EXTERNAL MODULE: ./node_modules/@smithy/node-http-handler/dist-es/index.js +
|
|
108
|
+
// EXTERNAL MODULE: ./node_modules/@smithy/node-http-handler/dist-es/index.js + 17 modules
|
|
109
109
|
var node_http_handler_dist_es = __webpack_require__("./node_modules/@smithy/node-http-handler/dist-es/index.js");
|
|
110
|
-
// EXTERNAL MODULE: ./node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +
|
|
110
|
+
// EXTERNAL MODULE: ./node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js + 39 modules
|
|
111
111
|
var submodules_protocols = __webpack_require__("./node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js");
|
|
112
112
|
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/checksum/index.js + 12 modules
|
|
113
113
|
var checksum = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/checksum/index.js");
|
|
@@ -182,6 +182,7 @@ endpoints/* customEndpointFunctions */.mw.aws = client/* awsEndpointFunctions */
|
|
|
182
182
|
|
|
183
183
|
|
|
184
184
|
class SSOOIDCServiceException extends submodules_client/* ServiceException */.TJ {
|
|
185
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc#SSOOIDCServiceException";
|
|
185
186
|
constructor(options) {
|
|
186
187
|
super(options);
|
|
187
188
|
Object.setPrototypeOf(this, SSOOIDCServiceException.prototype);
|
|
@@ -191,6 +192,7 @@ class SSOOIDCServiceException extends submodules_client/* ServiceException */.TJ
|
|
|
191
192
|
;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js
|
|
192
193
|
|
|
193
194
|
class AccessDeniedException extends SSOOIDCServiceException {
|
|
195
|
+
static shapeId = "com.amazonaws.ssooidc#AccessDeniedException";
|
|
194
196
|
name = "AccessDeniedException";
|
|
195
197
|
$fault = "client";
|
|
196
198
|
error;
|
|
@@ -209,6 +211,7 @@ class AccessDeniedException extends SSOOIDCServiceException {
|
|
|
209
211
|
}
|
|
210
212
|
}
|
|
211
213
|
class AuthorizationPendingException extends SSOOIDCServiceException {
|
|
214
|
+
static shapeId = "com.amazonaws.ssooidc#AuthorizationPendingException";
|
|
212
215
|
name = "AuthorizationPendingException";
|
|
213
216
|
$fault = "client";
|
|
214
217
|
error;
|
|
@@ -225,6 +228,7 @@ class AuthorizationPendingException extends SSOOIDCServiceException {
|
|
|
225
228
|
}
|
|
226
229
|
}
|
|
227
230
|
class ExpiredTokenException extends SSOOIDCServiceException {
|
|
231
|
+
static shapeId = "com.amazonaws.ssooidc#ExpiredTokenException";
|
|
228
232
|
name = "ExpiredTokenException";
|
|
229
233
|
$fault = "client";
|
|
230
234
|
error;
|
|
@@ -241,6 +245,7 @@ class ExpiredTokenException extends SSOOIDCServiceException {
|
|
|
241
245
|
}
|
|
242
246
|
}
|
|
243
247
|
class InternalServerException extends SSOOIDCServiceException {
|
|
248
|
+
static shapeId = "com.amazonaws.ssooidc#InternalServerException";
|
|
244
249
|
name = "InternalServerException";
|
|
245
250
|
$fault = "server";
|
|
246
251
|
error;
|
|
@@ -257,6 +262,7 @@ class InternalServerException extends SSOOIDCServiceException {
|
|
|
257
262
|
}
|
|
258
263
|
}
|
|
259
264
|
class InvalidClientException extends SSOOIDCServiceException {
|
|
265
|
+
static shapeId = "com.amazonaws.ssooidc#InvalidClientException";
|
|
260
266
|
name = "InvalidClientException";
|
|
261
267
|
$fault = "client";
|
|
262
268
|
error;
|
|
@@ -273,6 +279,7 @@ class InvalidClientException extends SSOOIDCServiceException {
|
|
|
273
279
|
}
|
|
274
280
|
}
|
|
275
281
|
class InvalidGrantException extends SSOOIDCServiceException {
|
|
282
|
+
static shapeId = "com.amazonaws.ssooidc#InvalidGrantException";
|
|
276
283
|
name = "InvalidGrantException";
|
|
277
284
|
$fault = "client";
|
|
278
285
|
error;
|
|
@@ -289,6 +296,7 @@ class InvalidGrantException extends SSOOIDCServiceException {
|
|
|
289
296
|
}
|
|
290
297
|
}
|
|
291
298
|
class InvalidRequestException extends SSOOIDCServiceException {
|
|
299
|
+
static shapeId = "com.amazonaws.ssooidc#InvalidRequestException";
|
|
292
300
|
name = "InvalidRequestException";
|
|
293
301
|
$fault = "client";
|
|
294
302
|
error;
|
|
@@ -307,6 +315,7 @@ class InvalidRequestException extends SSOOIDCServiceException {
|
|
|
307
315
|
}
|
|
308
316
|
}
|
|
309
317
|
class InvalidScopeException extends SSOOIDCServiceException {
|
|
318
|
+
static shapeId = "com.amazonaws.ssooidc#InvalidScopeException";
|
|
310
319
|
name = "InvalidScopeException";
|
|
311
320
|
$fault = "client";
|
|
312
321
|
error;
|
|
@@ -323,6 +332,7 @@ class InvalidScopeException extends SSOOIDCServiceException {
|
|
|
323
332
|
}
|
|
324
333
|
}
|
|
325
334
|
class SlowDownException extends SSOOIDCServiceException {
|
|
335
|
+
static shapeId = "com.amazonaws.ssooidc#SlowDownException";
|
|
326
336
|
name = "SlowDownException";
|
|
327
337
|
$fault = "client";
|
|
328
338
|
error;
|
|
@@ -339,6 +349,7 @@ class SlowDownException extends SSOOIDCServiceException {
|
|
|
339
349
|
}
|
|
340
350
|
}
|
|
341
351
|
class UnauthorizedClientException extends SSOOIDCServiceException {
|
|
352
|
+
static shapeId = "com.amazonaws.ssooidc#UnauthorizedClientException";
|
|
342
353
|
name = "UnauthorizedClientException";
|
|
343
354
|
$fault = "client";
|
|
344
355
|
error;
|
|
@@ -355,6 +366,7 @@ class UnauthorizedClientException extends SSOOIDCServiceException {
|
|
|
355
366
|
}
|
|
356
367
|
}
|
|
357
368
|
class UnsupportedGrantTypeException extends SSOOIDCServiceException {
|
|
369
|
+
static shapeId = "com.amazonaws.ssooidc#UnsupportedGrantTypeException";
|
|
358
370
|
name = "UnsupportedGrantTypeException";
|
|
359
371
|
$fault = "client";
|
|
360
372
|
error;
|
|
@@ -585,6 +597,7 @@ const runtimeConfig_getRuntimeConfig = (config) => {
|
|
|
585
597
|
defaultsMode,
|
|
586
598
|
authSchemePreference: config?.authSchemePreference ?? (0,submodules_config/* loadConfig */.Z9)(httpAuthSchemes/* NODE_AUTH_SCHEME_PREFERENCE_OPTIONS */.$S, loaderConfig),
|
|
587
599
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde/* calculateBodyLength */.n8,
|
|
600
|
+
defaultSocketTimeout: (0,client/* getDefaultSocketTimeout */.ED)(config?.requestHandler, 300_000),
|
|
588
601
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,client/* createDefaultUserAgentProvider */.pf)({ serviceId: clientSharedValues.serviceId, clientVersion: nested_clients_package/* version */.rE }),
|
|
589
602
|
maxAttempts: config?.maxAttempts ?? (0,submodules_config/* loadConfig */.Z9)(retry/* NODE_MAX_ATTEMPT_CONFIG_OPTIONS */.qs, config),
|
|
590
603
|
region: config?.region ?? (0,submodules_config/* loadConfig */.Z9)(submodules_config/* NODE_REGION_CONFIG_OPTIONS */.GG, { ...submodules_config/* NODE_REGION_CONFIG_FILE_OPTIONS */.zH, ...loaderConfig }),
|
|
@@ -760,7 +773,7 @@ const InvalidRequestExceptionReason = (/* unused pure expression or super */ nul
|
|
|
760
773
|
/***/ "./node_modules/@aws-sdk/nested-clients/package.json"
|
|
761
774
|
(module) {
|
|
762
775
|
|
|
763
|
-
module.exports = {"rE":"3.
|
|
776
|
+
module.exports = {"rE":"3.998.2"};
|
|
764
777
|
|
|
765
778
|
/***/ }
|
|
766
779
|
|
package/vendors-node_modules_aws-sdk_nested-clients_dist-es_submodules_sso-oidc_index_js.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vendors-node_modules_aws-sdk_nested-clients_dist-es_submodules_sso-oidc_index_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,6BAA6B,OAAO,EAAE,mCAAmC;AACzE;AACA,wBAAwB,OAAO;AAC/B,6BAA6B,OAAO,EAAE,0BAA0B;AAChE;AACA,wBAAwB,OAAO,EAAE,mCAAmC;AACpE;AACA,wBAAwB,OAAO,EAAE,0BAA0B;AAC3D;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,sCAAsC,0CAAkB;AAC/D;AACA;AACA;AACA;AACA;;;ACPuF;AAChF,oCAAoC,uBAAe;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACO,4CAA4C,uBAAe;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACO,oCAAoC,uBAAe;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACO,sCAAsC,uBAAe;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACO,qCAAqC,uBAAe;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACO,oCAAoC,uBAAe;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACO,sCAAsC,uBAAe;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACO,oCAAoC,uBAAe;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACO,gCAAgC,uBAAe;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACO,0CAA0C,uBAAe;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACO,4CAA4C,uBAAe;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;;;ACpLA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACmD;AACoQ;AAC3O;AAC5E,wBAAwB,2BAAY;AAC7B;AACP,oDAAoD,uBAAuB;AAC3E,wBAAwB,2BAAY;AAC7B;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,kDAAkD,qBAAqB;AAChE;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,0DAA0D,6BAA6B;AAChF;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,kDAAkD,qBAAqB;AAChE;AACP,MAAM,uBAAuB;AAC7B;AACA;AACA;AACA,oDAAoD,uBAAuB;AACpE;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,mDAAmD,sBAAsB;AAClE;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,kDAAkD,qBAAqB;AAChE;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,oDAAoD,uBAAuB;AACpE;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,kDAAkD,qBAAqB;AAChE;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,8CAA8C,iBAAiB;AACxD;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,wDAAwD,2BAA2B;AAC5E;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,0DAA0D,6BAA6B;AAChF;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA,aAAa,sDAAM;AACZ;AACP,MAAM,+BAA+B;AACrC;;;ACxIkE;AACJ;AAClB;AACG;AACE;AACC;AAC0B;AACS;AACf;AACZ;AACnD;AACP;AACA;AACA,gDAAgD,wBAAU;AAC1D,gDAAgD,sBAAQ;AACxD;AACA,sDAAsD,uBAAuB;AAC7E;AACA,kEAAkE,oCAAoC;AACtG;AACA;AACA;AACA;AACA,4BAA4B,yCAAiB;AAC7C,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","sources":["webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commandBuilder.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/index.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js"],"sourcesContent":["import { resolveAwsSdkSigV4Config, } from \"@aws-sdk/core/httpAuthSchemes\";\nimport { getSmithyContext, normalizeProvider } from \"@smithy/core/client\";\nexport const defaultSSOOIDCHttpAuthSchemeParametersProvider = 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: \"sso-oauth\",\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 defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"CreateToken\":\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: \"sso-oauth\",\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://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", i],\n [a, \"FIPS and DualStack are enabled, but this partition does not support one or both\"],\n [\"https://oidc.{Region}.amazonaws.com\", i],\n [\"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}\", i],\n [a, \"FIPS is enabled but this partition does not support FIPS\"],\n [\"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}\", i],\n [a, \"DualStack is enabled but this partition does not support DualStack\"],\n [\"https://oidc.{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 SSOOIDCServiceException extends __ServiceException {\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, SSOOIDCServiceException.prototype);\n }\n}\n","import { SSOOIDCServiceException as __BaseException } from \"./SSOOIDCServiceException\";\nexport class AccessDeniedException extends __BaseException {\n name = \"AccessDeniedException\";\n $fault = \"client\";\n error;\n reason;\n error_description;\n constructor(opts) {\n super({\n name: \"AccessDeniedException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, AccessDeniedException.prototype);\n this.error = opts.error;\n this.reason = opts.reason;\n this.error_description = opts.error_description;\n }\n}\nexport class AuthorizationPendingException extends __BaseException {\n name = \"AuthorizationPendingException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"AuthorizationPendingException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, AuthorizationPendingException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class ExpiredTokenException extends __BaseException {\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ExpiredTokenException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class InternalServerException extends __BaseException {\n name = \"InternalServerException\";\n $fault = \"server\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"InternalServerException\",\n $fault: \"server\",\n ...opts,\n });\n Object.setPrototypeOf(this, InternalServerException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class InvalidClientException extends __BaseException {\n name = \"InvalidClientException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"InvalidClientException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class InvalidGrantException extends __BaseException {\n name = \"InvalidGrantException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"InvalidGrantException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidGrantException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class InvalidRequestException extends __BaseException {\n name = \"InvalidRequestException\";\n $fault = \"client\";\n error;\n reason;\n error_description;\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidRequestException.prototype);\n this.error = opts.error;\n this.reason = opts.reason;\n this.error_description = opts.error_description;\n }\n}\nexport class InvalidScopeException extends __BaseException {\n name = \"InvalidScopeException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"InvalidScopeException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidScopeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class SlowDownException extends __BaseException {\n name = \"SlowDownException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"SlowDownException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, SlowDownException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class UnauthorizedClientException extends __BaseException {\n name = \"UnauthorizedClientException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"UnauthorizedClientException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnauthorizedClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class UnsupportedGrantTypeException extends __BaseException {\n name = \"UnsupportedGrantTypeException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"UnsupportedGrantTypeException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\n","const _ADE = \"AccessDeniedException\";\nconst _APE = \"AuthorizationPendingException\";\nconst _AT = \"AccessToken\";\nconst _CS = \"ClientSecret\";\nconst _CT = \"CreateToken\";\nconst _CTR = \"CreateTokenRequest\";\nconst _CTRr = \"CreateTokenResponse\";\nconst _CV = \"CodeVerifier\";\nconst _ETE = \"ExpiredTokenException\";\nconst _ICE = \"InvalidClientException\";\nconst _IGE = \"InvalidGrantException\";\nconst _IRE = \"InvalidRequestException\";\nconst _ISE = \"InternalServerException\";\nconst _ISEn = \"InvalidScopeException\";\nconst _IT = \"IdToken\";\nconst _RT = \"RefreshToken\";\nconst _SDE = \"SlowDownException\";\nconst _UCE = \"UnauthorizedClientException\";\nconst _UGTE = \"UnsupportedGrantTypeException\";\nconst _aT = \"accessToken\";\nconst _c = \"client\";\nconst _cI = \"clientId\";\nconst _cS = \"clientSecret\";\nconst _cV = \"codeVerifier\";\nconst _co = \"code\";\nconst _dC = \"deviceCode\";\nconst _e = \"error\";\nconst _eI = \"expiresIn\";\nconst _ed = \"error_description\";\nconst _gT = \"grantType\";\nconst _h = \"http\";\nconst _hE = \"httpError\";\nconst _iT = \"idToken\";\nconst _r = \"reason\";\nconst _rT = \"refreshToken\";\nconst _rU = \"redirectUri\";\nconst _s = \"smithy.ts.sdk.synthetic.com.amazonaws.ssooidc\";\nconst _sc = \"scope\";\nconst _se = \"server\";\nconst _tT = \"tokenType\";\nconst n0 = \"com.amazonaws.ssooidc\";\nimport { TypeRegistry } from \"@smithy/core/schema\";\nimport { AccessDeniedException, AuthorizationPendingException, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidGrantException, InvalidRequestException, InvalidScopeException, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException, } from \"../models/errors\";\nimport { SSOOIDCServiceException } from \"../models/SSOOIDCServiceException\";\nconst _s_registry = new TypeRegistry(_s);\nexport var SSOOIDCServiceException$ = [-3, _s, \"SSOOIDCServiceException\", 0, [], []];\n_s_registry.registerError(SSOOIDCServiceException$, SSOOIDCServiceException);\nconst n0_registry = new TypeRegistry(n0);\nexport var AccessDeniedException$ = [-3, n0, _ADE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _r, _ed],\n [0, 0, 0]\n];\nn0_registry.registerError(AccessDeniedException$, AccessDeniedException);\nexport var AuthorizationPendingException$ = [-3, n0, _APE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(AuthorizationPendingException$, AuthorizationPendingException);\nexport var ExpiredTokenException$ = [-3, n0, _ETE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);\nexport var InternalServerException$ = [-3, n0, _ISE,\n { [_e]: _se, [_hE]: 500 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(InternalServerException$, InternalServerException);\nexport var InvalidClientException$ = [-3, n0, _ICE,\n { [_e]: _c, [_hE]: 401 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(InvalidClientException$, InvalidClientException);\nexport var InvalidGrantException$ = [-3, n0, _IGE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(InvalidGrantException$, InvalidGrantException);\nexport var InvalidRequestException$ = [-3, n0, _IRE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _r, _ed],\n [0, 0, 0]\n];\nn0_registry.registerError(InvalidRequestException$, InvalidRequestException);\nexport var InvalidScopeException$ = [-3, n0, _ISEn,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(InvalidScopeException$, InvalidScopeException);\nexport var SlowDownException$ = [-3, n0, _SDE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(SlowDownException$, SlowDownException);\nexport var UnauthorizedClientException$ = [-3, n0, _UCE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(UnauthorizedClientException$, UnauthorizedClientException);\nexport var UnsupportedGrantTypeException$ = [-3, n0, _UGTE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);\nexport const errorTypeRegistries = [\n _s_registry,\n n0_registry,\n];\nvar AccessToken = [0, n0, _AT, 8, 0];\nvar ClientSecret = [0, n0, _CS, 8, 0];\nvar CodeVerifier = [0, n0, _CV, 8, 0];\nvar IdToken = [0, n0, _IT, 8, 0];\nvar RefreshToken = [0, n0, _RT, 8, 0];\nexport var CreateTokenRequest$ = [3, n0, _CTR,\n 0,\n [_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV],\n [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]], 3\n];\nexport var CreateTokenResponse$ = [3, n0, _CTRr,\n 0,\n [_aT, _tT, _eI, _rT, _iT],\n [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]]\n];\nvar Scopes = 64 | 0;\nexport var CreateToken$ = [9, n0, _CT,\n { [_h]: [\"POST\", \"/token\", 200] }, () => CreateTokenRequest$, () => CreateTokenResponse$\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 { defaultSSOOIDCHttpAuthSchemeProvider } 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 ?? defaultSSOOIDCHttpAuthSchemeProvider,\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.ssooidc\",\n errorTypeRegistries,\n version: \"2019-06-10\",\n serviceTarget: \"AWSSSOOIDCService\",\n },\n serviceId: config?.serviceId ?? \"SSO OIDC\",\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 { defaultSSOOIDCHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from \"./auth/httpAuthSchemeProvider\";\nimport { resolveClientEndpointParameters, } from \"./endpoint/EndpointParameters\";\nimport { getRuntimeConfig as __getRuntimeConfig } from \"./runtimeConfig\";\nimport { resolveRuntimeExtensions } from \"./runtimeExtensions\";\nexport { __Client };\nexport class SSOOIDCClient 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: defaultSSOOIDCHttpAuthSchemeParametersProvider,\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, \"AWSSSOOIDCService\", \"SSOOIDCClient\", getEndpointPlugin);\nexport const _ep0 = {};\nexport const _mw0 = (Command, cs, config, o) => [];\n","import { _ep0, _mw0, command } from \"../commandBuilder\";\nimport { CreateToken$ } from \"../schemas/schemas_0\";\nexport class CreateTokenCommand extends command(_ep0, _mw0, \"CreateToken\", CreateToken$) {\n}\n","import { createAggregatedClient } from \"@smithy/core/client\";\nimport { CreateTokenCommand, } from \"./commands/CreateTokenCommand\";\nimport { SSOOIDCClient } from \"./SSOOIDCClient\";\nconst commands = {\n CreateTokenCommand,\n};\nexport class SSOOIDC extends SSOOIDCClient {\n}\ncreateAggregatedClient(commands, SSOOIDC);\n","export * from \"./CreateTokenCommand\";\n","export const AccessDeniedExceptionReason = {\n KMS_ACCESS_DENIED: \"KMS_AccessDeniedException\",\n};\nexport const InvalidRequestExceptionReason = {\n KMS_DISABLED_KEY: \"KMS_DisabledException\",\n KMS_INVALID_KEY_USAGE: \"KMS_InvalidKeyUsageException\",\n KMS_INVALID_STATE: \"KMS_InvalidStateException\",\n KMS_KEY_NOT_FOUND: \"KMS_NotFoundException\",\n};\n","export {};\n","export * from \"./SSOOIDCClient\";\nexport * from \"./SSOOIDC\";\nexport * from \"./commands\";\nexport { Command as $Command } from \"@smithy/core/client\";\nexport * from \"./schemas/schemas_0\";\nexport * from \"./models/enums\";\nexport * from \"./models/errors\";\nexport * from \"./models/models_0\";\nexport { SSOOIDCServiceException } from \"./models/SSOOIDCServiceException\";\n"],"names":[],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"vendors-node_modules_aws-sdk_nested-clients_dist-es_submodules_sso-oidc_index_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,6BAA6B,OAAO,EAAE,mCAAmC;AACzE;AACA,wBAAwB,OAAO;AAC/B,6BAA6B,OAAO,EAAE,0BAA0B;AAChE;AACA,wBAAwB,OAAO,EAAE,mCAAmC;AACpE;AACA,wBAAwB,OAAO,EAAE,0BAA0B;AAC3D;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,sCAAsC,0CAAkB;AAC/D;AACA;AACA;AACA;AACA;AACA;;;ACRuF;AAChF,oCAAoC,uBAAe;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACO,4CAA4C,uBAAe;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACO,oCAAoC,uBAAe;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACO,sCAAsC,uBAAe;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACO,qCAAqC,uBAAe;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACO,oCAAoC,uBAAe;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACO,sCAAsC,uBAAe;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACO,oCAAoC,uBAAe;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACO,gCAAgC,uBAAe;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACO,0CAA0C,uBAAe;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACO,4CAA4C,uBAAe;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;;;AC/LA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACmD;AACoQ;AAC3O;AAC5E,wBAAwB,2BAAY;AAC7B;AACP,oDAAoD,uBAAuB;AAC3E,wBAAwB,2BAAY;AAC7B;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,kDAAkD,qBAAqB;AAChE;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,0DAA0D,6BAA6B;AAChF;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,kDAAkD,qBAAqB;AAChE;AACP,MAAM,uBAAuB;AAC7B;AACA;AACA;AACA,oDAAoD,uBAAuB;AACpE;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,mDAAmD,sBAAsB;AAClE;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,kDAAkD,qBAAqB;AAChE;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,oDAAoD,uBAAuB;AACpE;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,kDAAkD,qBAAqB;AAChE;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,8CAA8C,iBAAiB;AACxD;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,wDAAwD,2BAA2B;AAC5E;AACP,MAAM,sBAAsB;AAC5B;AACA;AACA;AACA,0DAA0D,6BAA6B;AAChF;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA,aAAa,sDAAM;AACZ;AACP,MAAM,+BAA+B;AACrC;;;ACxIkE;AACJ;AAClB;AACG;AACE;AACC;AAC0B;AACS;AACf;AACZ;AACnD;AACP;AACA;AACA,gDAAgD,wBAAU;AAC1D,gDAAgD,sBAAQ;AACxD;AACA,sDAAsD,uBAAuB;AAC7E;AACA,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","sources":["webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commandBuilder.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/index.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js","webpack://@aws/cloudformation-languageserver/./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js"],"sourcesContent":["import { resolveAwsSdkSigV4Config, } from \"@aws-sdk/core/httpAuthSchemes\";\nimport { getSmithyContext, normalizeProvider } from \"@smithy/core/client\";\nexport const defaultSSOOIDCHttpAuthSchemeParametersProvider = 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: \"sso-oauth\",\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 defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"CreateToken\":\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: \"sso-oauth\",\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://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", i],\n [a, \"FIPS and DualStack are enabled, but this partition does not support one or both\"],\n [\"https://oidc.{Region}.amazonaws.com\", i],\n [\"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}\", i],\n [a, \"FIPS is enabled but this partition does not support FIPS\"],\n [\"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}\", i],\n [a, \"DualStack is enabled but this partition does not support DualStack\"],\n [\"https://oidc.{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 SSOOIDCServiceException extends __ServiceException {\n static shapeId = \"smithy.ts.sdk.synthetic.com.amazonaws.ssooidc#SSOOIDCServiceException\";\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, SSOOIDCServiceException.prototype);\n }\n}\n","import { SSOOIDCServiceException as __BaseException } from \"./SSOOIDCServiceException\";\nexport class AccessDeniedException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#AccessDeniedException\";\n name = \"AccessDeniedException\";\n $fault = \"client\";\n error;\n reason;\n error_description;\n constructor(opts) {\n super({\n name: \"AccessDeniedException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, AccessDeniedException.prototype);\n this.error = opts.error;\n this.reason = opts.reason;\n this.error_description = opts.error_description;\n }\n}\nexport class AuthorizationPendingException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#AuthorizationPendingException\";\n name = \"AuthorizationPendingException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"AuthorizationPendingException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, AuthorizationPendingException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class ExpiredTokenException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#ExpiredTokenException\";\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ExpiredTokenException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class InternalServerException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#InternalServerException\";\n name = \"InternalServerException\";\n $fault = \"server\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"InternalServerException\",\n $fault: \"server\",\n ...opts,\n });\n Object.setPrototypeOf(this, InternalServerException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class InvalidClientException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#InvalidClientException\";\n name = \"InvalidClientException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"InvalidClientException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class InvalidGrantException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#InvalidGrantException\";\n name = \"InvalidGrantException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"InvalidGrantException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidGrantException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class InvalidRequestException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#InvalidRequestException\";\n name = \"InvalidRequestException\";\n $fault = \"client\";\n error;\n reason;\n error_description;\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidRequestException.prototype);\n this.error = opts.error;\n this.reason = opts.reason;\n this.error_description = opts.error_description;\n }\n}\nexport class InvalidScopeException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#InvalidScopeException\";\n name = \"InvalidScopeException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"InvalidScopeException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidScopeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class SlowDownException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#SlowDownException\";\n name = \"SlowDownException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"SlowDownException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, SlowDownException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class UnauthorizedClientException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#UnauthorizedClientException\";\n name = \"UnauthorizedClientException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"UnauthorizedClientException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnauthorizedClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class UnsupportedGrantTypeException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#UnsupportedGrantTypeException\";\n name = \"UnsupportedGrantTypeException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"UnsupportedGrantTypeException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\n","const _ADE = \"AccessDeniedException\";\nconst _APE = \"AuthorizationPendingException\";\nconst _AT = \"AccessToken\";\nconst _CS = \"ClientSecret\";\nconst _CT = \"CreateToken\";\nconst _CTR = \"CreateTokenRequest\";\nconst _CTRr = \"CreateTokenResponse\";\nconst _CV = \"CodeVerifier\";\nconst _ETE = \"ExpiredTokenException\";\nconst _ICE = \"InvalidClientException\";\nconst _IGE = \"InvalidGrantException\";\nconst _IRE = \"InvalidRequestException\";\nconst _ISE = \"InternalServerException\";\nconst _ISEn = \"InvalidScopeException\";\nconst _IT = \"IdToken\";\nconst _RT = \"RefreshToken\";\nconst _SDE = \"SlowDownException\";\nconst _UCE = \"UnauthorizedClientException\";\nconst _UGTE = \"UnsupportedGrantTypeException\";\nconst _aT = \"accessToken\";\nconst _c = \"client\";\nconst _cI = \"clientId\";\nconst _cS = \"clientSecret\";\nconst _cV = \"codeVerifier\";\nconst _co = \"code\";\nconst _dC = \"deviceCode\";\nconst _e = \"error\";\nconst _eI = \"expiresIn\";\nconst _ed = \"error_description\";\nconst _gT = \"grantType\";\nconst _h = \"http\";\nconst _hE = \"httpError\";\nconst _iT = \"idToken\";\nconst _r = \"reason\";\nconst _rT = \"refreshToken\";\nconst _rU = \"redirectUri\";\nconst _s = \"smithy.ts.sdk.synthetic.com.amazonaws.ssooidc\";\nconst _sc = \"scope\";\nconst _se = \"server\";\nconst _tT = \"tokenType\";\nconst n0 = \"com.amazonaws.ssooidc\";\nimport { TypeRegistry } from \"@smithy/core/schema\";\nimport { AccessDeniedException, AuthorizationPendingException, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidGrantException, InvalidRequestException, InvalidScopeException, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException, } from \"../models/errors\";\nimport { SSOOIDCServiceException } from \"../models/SSOOIDCServiceException\";\nconst _s_registry = new TypeRegistry(_s);\nexport var SSOOIDCServiceException$ = [-3, _s, \"SSOOIDCServiceException\", 0, [], []];\n_s_registry.registerError(SSOOIDCServiceException$, SSOOIDCServiceException);\nconst n0_registry = new TypeRegistry(n0);\nexport var AccessDeniedException$ = [-3, n0, _ADE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _r, _ed],\n [0, 0, 0]\n];\nn0_registry.registerError(AccessDeniedException$, AccessDeniedException);\nexport var AuthorizationPendingException$ = [-3, n0, _APE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(AuthorizationPendingException$, AuthorizationPendingException);\nexport var ExpiredTokenException$ = [-3, n0, _ETE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);\nexport var InternalServerException$ = [-3, n0, _ISE,\n { [_e]: _se, [_hE]: 500 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(InternalServerException$, InternalServerException);\nexport var InvalidClientException$ = [-3, n0, _ICE,\n { [_e]: _c, [_hE]: 401 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(InvalidClientException$, InvalidClientException);\nexport var InvalidGrantException$ = [-3, n0, _IGE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(InvalidGrantException$, InvalidGrantException);\nexport var InvalidRequestException$ = [-3, n0, _IRE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _r, _ed],\n [0, 0, 0]\n];\nn0_registry.registerError(InvalidRequestException$, InvalidRequestException);\nexport var InvalidScopeException$ = [-3, n0, _ISEn,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(InvalidScopeException$, InvalidScopeException);\nexport var SlowDownException$ = [-3, n0, _SDE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(SlowDownException$, SlowDownException);\nexport var UnauthorizedClientException$ = [-3, n0, _UCE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(UnauthorizedClientException$, UnauthorizedClientException);\nexport var UnsupportedGrantTypeException$ = [-3, n0, _UGTE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);\nexport const errorTypeRegistries = [\n _s_registry,\n n0_registry,\n];\nvar AccessToken = [0, n0, _AT, 8, 0];\nvar ClientSecret = [0, n0, _CS, 8, 0];\nvar CodeVerifier = [0, n0, _CV, 8, 0];\nvar IdToken = [0, n0, _IT, 8, 0];\nvar RefreshToken = [0, n0, _RT, 8, 0];\nexport var CreateTokenRequest$ = [3, n0, _CTR,\n 0,\n [_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV],\n [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]], 3\n];\nexport var CreateTokenResponse$ = [3, n0, _CTRr,\n 0,\n [_aT, _tT, _eI, _rT, _iT],\n [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]]\n];\nvar Scopes = 64 | 0;\nexport var CreateToken$ = [9, n0, _CT,\n { [_h]: [\"POST\", \"/token\", 200] }, () => CreateTokenRequest$, () => CreateTokenResponse$\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 { defaultSSOOIDCHttpAuthSchemeProvider } 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 ?? defaultSSOOIDCHttpAuthSchemeProvider,\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.ssooidc\",\n errorTypeRegistries,\n version: \"2019-06-10\",\n serviceTarget: \"AWSSSOOIDCService\",\n },\n serviceId: config?.serviceId ?? \"SSO OIDC\",\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, getDefaultSocketTimeout, 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 defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 300_000),\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 { defaultSSOOIDCHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from \"./auth/httpAuthSchemeProvider\";\nimport { resolveClientEndpointParameters, } from \"./endpoint/EndpointParameters\";\nimport { getRuntimeConfig as __getRuntimeConfig } from \"./runtimeConfig\";\nimport { resolveRuntimeExtensions } from \"./runtimeExtensions\";\nexport { __Client };\nexport class SSOOIDCClient 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: defaultSSOOIDCHttpAuthSchemeParametersProvider,\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, \"AWSSSOOIDCService\", \"SSOOIDCClient\", getEndpointPlugin);\nexport const _ep0 = {};\nexport const _mw0 = (Command, cs, config, o) => [];\n","import { _ep0, _mw0, command } from \"../commandBuilder\";\nimport { CreateToken$ } from \"../schemas/schemas_0\";\nexport class CreateTokenCommand extends command(_ep0, _mw0, \"CreateToken\", CreateToken$) {\n}\n","import { createAggregatedClient } from \"@smithy/core/client\";\nimport { CreateTokenCommand, } from \"./commands/CreateTokenCommand\";\nimport { SSOOIDCClient } from \"./SSOOIDCClient\";\nconst commands = {\n CreateTokenCommand,\n};\nexport class SSOOIDC extends SSOOIDCClient {\n}\ncreateAggregatedClient(commands, SSOOIDC);\n","export * from \"./CreateTokenCommand\";\n","export const AccessDeniedExceptionReason = {\n KMS_ACCESS_DENIED: \"KMS_AccessDeniedException\",\n};\nexport const InvalidRequestExceptionReason = {\n KMS_DISABLED_KEY: \"KMS_DisabledException\",\n KMS_INVALID_KEY_USAGE: \"KMS_InvalidKeyUsageException\",\n KMS_INVALID_STATE: \"KMS_InvalidStateException\",\n KMS_KEY_NOT_FOUND: \"KMS_NotFoundException\",\n};\n","export {};\n","export * from \"./SSOOIDCClient\";\nexport * from \"./SSOOIDC\";\nexport * from \"./commands\";\nexport { Command as $Command } from \"@smithy/core/client\";\nexport * from \"./schemas/schemas_0\";\nexport * from \"./models/enums\";\nexport * from \"./models/errors\";\nexport * from \"./models/models_0\";\nexport { SSOOIDCServiceException } from \"./models/SSOOIDCServiceException\";\n"],"names":[],"sourceRoot":""}
|
|
@@ -15,7 +15,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
15
15
|
|
|
16
16
|
// UNUSED EXPORTS: $Command, AssumeRole$, AssumeRoleCommand, AssumeRoleRequest$, AssumeRoleResponse$, AssumeRoleWithWebIdentity$, AssumeRoleWithWebIdentityCommand, AssumeRoleWithWebIdentityRequest$, AssumeRoleWithWebIdentityResponse$, AssumedRoleUser$, Credentials$, ExpiredTokenException, ExpiredTokenException$, IDPCommunicationErrorException, IDPCommunicationErrorException$, IDPRejectedClaimException, IDPRejectedClaimException$, InvalidIdentityTokenException, InvalidIdentityTokenException$, MalformedPolicyDocumentException, MalformedPolicyDocumentException$, PackedPolicyTooLargeException, PackedPolicyTooLargeException$, PolicyDescriptorType$, ProvidedContext$, RegionDisabledException, RegionDisabledException$, STS, STSClient, STSServiceException, STSServiceException$, Tag$, __Client, decorateDefaultCredentialProvider, errorTypeRegistries
|
|
17
17
|
|
|
18
|
-
// EXTERNAL MODULE: ./node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +
|
|
18
|
+
// EXTERNAL MODULE: ./node_modules/@aws-sdk/core/dist-es/submodules/client/index.js + 36 modules
|
|
19
19
|
var client = __webpack_require__("./node_modules/@aws-sdk/core/dist-es/submodules/client/index.js");
|
|
20
20
|
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/index.js + 18 modules
|
|
21
21
|
var dist_es = __webpack_require__("./node_modules/@smithy/core/dist-es/index.js");
|
|
@@ -25,9 +25,9 @@ var submodules_client = __webpack_require__("./node_modules/@smithy/core/dist-es
|
|
|
25
25
|
var submodules_config = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/config/index.js");
|
|
26
26
|
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/endpoints/index.js + 50 modules
|
|
27
27
|
var endpoints = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/endpoints/index.js");
|
|
28
|
-
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/protocols/index.js +
|
|
28
|
+
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/protocols/index.js + 37 modules
|
|
29
29
|
var protocols = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/protocols/index.js");
|
|
30
|
-
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/retry/index.js +
|
|
30
|
+
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/retry/index.js + 23 modules
|
|
31
31
|
var retry = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/retry/index.js");
|
|
32
32
|
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/schema/index.js + 16 modules
|
|
33
33
|
var schema = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/schema/index.js");
|
|
@@ -292,11 +292,11 @@ const commonParams = {
|
|
|
292
292
|
|
|
293
293
|
// EXTERNAL MODULE: ./node_modules/@aws-sdk/nested-clients/package.json
|
|
294
294
|
var nested_clients_package = __webpack_require__("./node_modules/@aws-sdk/nested-clients/package.json");
|
|
295
|
-
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/serde/index.js +
|
|
295
|
+
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/serde/index.js + 48 modules
|
|
296
296
|
var serde = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/serde/index.js");
|
|
297
|
-
// EXTERNAL MODULE: ./node_modules/@smithy/node-http-handler/dist-es/index.js +
|
|
297
|
+
// EXTERNAL MODULE: ./node_modules/@smithy/node-http-handler/dist-es/index.js + 17 modules
|
|
298
298
|
var node_http_handler_dist_es = __webpack_require__("./node_modules/@smithy/node-http-handler/dist-es/index.js");
|
|
299
|
-
// EXTERNAL MODULE: ./node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +
|
|
299
|
+
// EXTERNAL MODULE: ./node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js + 39 modules
|
|
300
300
|
var submodules_protocols = __webpack_require__("./node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js");
|
|
301
301
|
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/checksum/index.js + 12 modules
|
|
302
302
|
var checksum = __webpack_require__("./node_modules/@smithy/core/dist-es/submodules/checksum/index.js");
|
|
@@ -304,6 +304,7 @@ var checksum = __webpack_require__("./node_modules/@smithy/core/dist-es/submodul
|
|
|
304
304
|
|
|
305
305
|
|
|
306
306
|
class STSServiceException extends submodules_client/* ServiceException */.TJ {
|
|
307
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.sts#STSServiceException";
|
|
307
308
|
constructor(options) {
|
|
308
309
|
super(options);
|
|
309
310
|
Object.setPrototypeOf(this, STSServiceException.prototype);
|
|
@@ -313,6 +314,7 @@ class STSServiceException extends submodules_client/* ServiceException */.TJ {
|
|
|
313
314
|
;// ./node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js
|
|
314
315
|
|
|
315
316
|
class ExpiredTokenException extends STSServiceException {
|
|
317
|
+
static shapeId = "com.amazonaws.sts#ExpiredTokenException";
|
|
316
318
|
name = "ExpiredTokenException";
|
|
317
319
|
$fault = "client";
|
|
318
320
|
constructor(opts) {
|
|
@@ -325,6 +327,7 @@ class ExpiredTokenException extends STSServiceException {
|
|
|
325
327
|
}
|
|
326
328
|
}
|
|
327
329
|
class MalformedPolicyDocumentException extends STSServiceException {
|
|
330
|
+
static shapeId = "com.amazonaws.sts#MalformedPolicyDocumentException";
|
|
328
331
|
name = "MalformedPolicyDocumentException";
|
|
329
332
|
$fault = "client";
|
|
330
333
|
constructor(opts) {
|
|
@@ -337,6 +340,7 @@ class MalformedPolicyDocumentException extends STSServiceException {
|
|
|
337
340
|
}
|
|
338
341
|
}
|
|
339
342
|
class PackedPolicyTooLargeException extends STSServiceException {
|
|
343
|
+
static shapeId = "com.amazonaws.sts#PackedPolicyTooLargeException";
|
|
340
344
|
name = "PackedPolicyTooLargeException";
|
|
341
345
|
$fault = "client";
|
|
342
346
|
constructor(opts) {
|
|
@@ -349,6 +353,7 @@ class PackedPolicyTooLargeException extends STSServiceException {
|
|
|
349
353
|
}
|
|
350
354
|
}
|
|
351
355
|
class RegionDisabledException extends STSServiceException {
|
|
356
|
+
static shapeId = "com.amazonaws.sts#RegionDisabledException";
|
|
352
357
|
name = "RegionDisabledException";
|
|
353
358
|
$fault = "client";
|
|
354
359
|
constructor(opts) {
|
|
@@ -361,6 +366,7 @@ class RegionDisabledException extends STSServiceException {
|
|
|
361
366
|
}
|
|
362
367
|
}
|
|
363
368
|
class IDPRejectedClaimException extends STSServiceException {
|
|
369
|
+
static shapeId = "com.amazonaws.sts#IDPRejectedClaimException";
|
|
364
370
|
name = "IDPRejectedClaimException";
|
|
365
371
|
$fault = "client";
|
|
366
372
|
constructor(opts) {
|
|
@@ -373,6 +379,7 @@ class IDPRejectedClaimException extends STSServiceException {
|
|
|
373
379
|
}
|
|
374
380
|
}
|
|
375
381
|
class InvalidIdentityTokenException extends STSServiceException {
|
|
382
|
+
static shapeId = "com.amazonaws.sts#InvalidIdentityTokenException";
|
|
376
383
|
name = "InvalidIdentityTokenException";
|
|
377
384
|
$fault = "client";
|
|
378
385
|
constructor(opts) {
|
|
@@ -385,6 +392,7 @@ class InvalidIdentityTokenException extends STSServiceException {
|
|
|
385
392
|
}
|
|
386
393
|
}
|
|
387
394
|
class IDPCommunicationErrorException extends STSServiceException {
|
|
395
|
+
static shapeId = "com.amazonaws.sts#IDPCommunicationErrorException";
|
|
388
396
|
name = "IDPCommunicationErrorException";
|
|
389
397
|
$fault = "client";
|
|
390
398
|
$retryable = {};
|
|
@@ -662,6 +670,7 @@ const runtimeConfig_getRuntimeConfig = (config) => {
|
|
|
662
670
|
defaultsMode,
|
|
663
671
|
authSchemePreference: config?.authSchemePreference ?? (0,submodules_config/* loadConfig */.Z9)(httpAuthSchemes/* NODE_AUTH_SCHEME_PREFERENCE_OPTIONS */.$S, loaderConfig),
|
|
664
672
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde/* calculateBodyLength */.n8,
|
|
673
|
+
defaultSocketTimeout: (0,client/* getDefaultSocketTimeout */.ED)(config?.requestHandler, 300_000),
|
|
665
674
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,client/* createDefaultUserAgentProvider */.pf)({ serviceId: clientSharedValues.serviceId, clientVersion: nested_clients_package/* version */.rE }),
|
|
666
675
|
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
667
676
|
{
|
|
@@ -981,7 +990,7 @@ const decorateDefaultCredentialProvider = (provider) => (input) => provider({
|
|
|
981
990
|
/***/ "./node_modules/@aws-sdk/nested-clients/package.json"
|
|
982
991
|
(module) {
|
|
983
992
|
|
|
984
|
-
module.exports = {"rE":"3.
|
|
993
|
+
module.exports = {"rE":"3.998.2"};
|
|
985
994
|
|
|
986
995
|
/***/ }
|
|
987
996
|
|