@@ -220,14 +220,14 @@ class SSOOIDCClient extends smithyClient.Client {
220220 }
221221}
222222
223- let SSOOIDCServiceException$1 = class SSOOIDCServiceException extends smithyClient . ServiceException {
223+ class SSOOIDCServiceException extends smithyClient . ServiceException {
224224 constructor ( options ) {
225225 super ( options ) ;
226226 Object . setPrototypeOf ( this , SSOOIDCServiceException . prototype ) ;
227227 }
228- } ;
228+ }
229229
230- let AccessDeniedException$1 = class AccessDeniedException extends SSOOIDCServiceException$1 {
230+ class AccessDeniedException extends SSOOIDCServiceException {
231231 name = "AccessDeniedException" ;
232232 $fault = "client" ;
233233 error ;
@@ -244,8 +244,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends SSOOIDCService
244244 this . reason = opts . reason ;
245245 this . error_description = opts . error_description ;
246246 }
247- } ;
248- let AuthorizationPendingException$1 = class AuthorizationPendingException extends SSOOIDCServiceException$1 {
247+ }
248+ class AuthorizationPendingException extends SSOOIDCServiceException {
249249 name = "AuthorizationPendingException" ;
250250 $fault = "client" ;
251251 error ;
@@ -260,8 +260,8 @@ let AuthorizationPendingException$1 = class AuthorizationPendingException extend
260260 this . error = opts . error ;
261261 this . error_description = opts . error_description ;
262262 }
263- } ;
264- let ExpiredTokenException$1 = class ExpiredTokenException extends SSOOIDCServiceException$1 {
263+ }
264+ class ExpiredTokenException extends SSOOIDCServiceException {
265265 name = "ExpiredTokenException" ;
266266 $fault = "client" ;
267267 error ;
@@ -276,8 +276,8 @@ let ExpiredTokenException$1 = class ExpiredTokenException extends SSOOIDCService
276276 this . error = opts . error ;
277277 this . error_description = opts . error_description ;
278278 }
279- } ;
280- let InternalServerException$1 = class InternalServerException extends SSOOIDCServiceException$1 {
279+ }
280+ class InternalServerException extends SSOOIDCServiceException {
281281 name = "InternalServerException" ;
282282 $fault = "server" ;
283283 error ;
@@ -292,8 +292,8 @@ let InternalServerException$1 = class InternalServerException extends SSOOIDCSer
292292 this . error = opts . error ;
293293 this . error_description = opts . error_description ;
294294 }
295- } ;
296- let InvalidClientException$1 = class InvalidClientException extends SSOOIDCServiceException$1 {
295+ }
296+ class InvalidClientException extends SSOOIDCServiceException {
297297 name = "InvalidClientException" ;
298298 $fault = "client" ;
299299 error ;
@@ -308,8 +308,8 @@ let InvalidClientException$1 = class InvalidClientException extends SSOOIDCServi
308308 this . error = opts . error ;
309309 this . error_description = opts . error_description ;
310310 }
311- } ;
312- let InvalidGrantException$1 = class InvalidGrantException extends SSOOIDCServiceException$1 {
311+ }
312+ class InvalidGrantException extends SSOOIDCServiceException {
313313 name = "InvalidGrantException" ;
314314 $fault = "client" ;
315315 error ;
@@ -324,8 +324,8 @@ let InvalidGrantException$1 = class InvalidGrantException extends SSOOIDCService
324324 this . error = opts . error ;
325325 this . error_description = opts . error_description ;
326326 }
327- } ;
328- let InvalidRequestException$1 = class InvalidRequestException extends SSOOIDCServiceException$1 {
327+ }
328+ class InvalidRequestException extends SSOOIDCServiceException {
329329 name = "InvalidRequestException" ;
330330 $fault = "client" ;
331331 error ;
@@ -342,8 +342,8 @@ let InvalidRequestException$1 = class InvalidRequestException extends SSOOIDCSer
342342 this . reason = opts . reason ;
343343 this . error_description = opts . error_description ;
344344 }
345- } ;
346- let InvalidScopeException$1 = class InvalidScopeException extends SSOOIDCServiceException$1 {
345+ }
346+ class InvalidScopeException extends SSOOIDCServiceException {
347347 name = "InvalidScopeException" ;
348348 $fault = "client" ;
349349 error ;
@@ -358,8 +358,8 @@ let InvalidScopeException$1 = class InvalidScopeException extends SSOOIDCService
358358 this . error = opts . error ;
359359 this . error_description = opts . error_description ;
360360 }
361- } ;
362- let SlowDownException$1 = class SlowDownException extends SSOOIDCServiceException$1 {
361+ }
362+ class SlowDownException extends SSOOIDCServiceException {
363363 name = "SlowDownException" ;
364364 $fault = "client" ;
365365 error ;
@@ -374,8 +374,8 @@ let SlowDownException$1 = class SlowDownException extends SSOOIDCServiceExceptio
374374 this . error = opts . error ;
375375 this . error_description = opts . error_description ;
376376 }
377- } ;
378- let UnauthorizedClientException$1 = class UnauthorizedClientException extends SSOOIDCServiceException$1 {
377+ }
378+ class UnauthorizedClientException extends SSOOIDCServiceException {
379379 name = "UnauthorizedClientException" ;
380380 $fault = "client" ;
381381 error ;
@@ -390,8 +390,8 @@ let UnauthorizedClientException$1 = class UnauthorizedClientException extends SS
390390 this . error = opts . error ;
391391 this . error_description = opts . error_description ;
392392 }
393- } ;
394- let UnsupportedGrantTypeException$1 = class UnsupportedGrantTypeException extends SSOOIDCServiceException$1 {
393+ }
394+ class UnsupportedGrantTypeException extends SSOOIDCServiceException {
395395 name = "UnsupportedGrantTypeException" ;
396396 $fault = "client" ;
397397 error ;
@@ -406,7 +406,7 @@ let UnsupportedGrantTypeException$1 = class UnsupportedGrantTypeException extend
406406 this . error = opts . error ;
407407 this . error_description = opts . error_description ;
408408 }
409- } ;
409+ }
410410
411411const _ADE = "AccessDeniedException" ;
412412const _APE = "AuthorizationPendingException" ;
@@ -454,81 +454,88 @@ var ClientSecret = [0, n0, _CS, 8, 0];
454454var CodeVerifier = [ 0 , n0 , _CV , 8 , 0 ] ;
455455var IdToken = [ 0 , n0 , _IT , 8 , 0 ] ;
456456var RefreshToken = [ 0 , n0 , _RT , 8 , 0 ] ;
457- var AccessDeniedException = [
457+ var AccessDeniedException$ = [
458458 - 3 ,
459459 n0 ,
460460 _ADE ,
461461 { [ _e ] : _c , [ _hE ] : 400 } ,
462462 [ _e , _r , _ed ] ,
463463 [ 0 , 0 , 0 ] ,
464464] ;
465- schema . TypeRegistry . for ( n0 ) . registerError ( AccessDeniedException , AccessDeniedException$1 ) ;
466- var AuthorizationPendingException = [
465+ schema . TypeRegistry . for ( n0 ) . registerError ( AccessDeniedException$ , AccessDeniedException ) ;
466+ var AuthorizationPendingException$ = [
467467 - 3 ,
468468 n0 ,
469469 _APE ,
470470 { [ _e ] : _c , [ _hE ] : 400 } ,
471471 [ _e , _ed ] ,
472472 [ 0 , 0 ] ,
473473] ;
474- schema . TypeRegistry . for ( n0 ) . registerError ( AuthorizationPendingException , AuthorizationPendingException$1 ) ;
475- var CreateTokenRequest = [
474+ schema . TypeRegistry . for ( n0 ) . registerError ( AuthorizationPendingException$ , AuthorizationPendingException ) ;
475+ var CreateTokenRequest$ = [
476476 3 ,
477477 n0 ,
478478 _CTR ,
479479 0 ,
480480 [ _cI , _cS , _gT , _dC , _co , _rT , _s , _rU , _cV ] ,
481481 [ 0 , [ ( ) => ClientSecret , 0 ] , 0 , 0 , 0 , [ ( ) => RefreshToken , 0 ] , 64 | 0 , 0 , [ ( ) => CodeVerifier , 0 ] ] ,
482482] ;
483- var CreateTokenResponse = [
483+ var CreateTokenResponse$ = [
484484 3 ,
485485 n0 ,
486486 _CTRr ,
487487 0 ,
488488 [ _aT , _tT , _eI , _rT , _iT ] ,
489489 [ [ ( ) => AccessToken , 0 ] , 0 , 1 , [ ( ) => RefreshToken , 0 ] , [ ( ) => IdToken , 0 ] ] ,
490490] ;
491- var ExpiredTokenException = [ - 3 , n0 , _ETE , { [ _e ] : _c , [ _hE ] : 400 } , [ _e , _ed ] , [ 0 , 0 ] ] ;
492- schema . TypeRegistry . for ( n0 ) . registerError ( ExpiredTokenException , ExpiredTokenException$1 ) ;
493- var InternalServerException = [ - 3 , n0 , _ISE , { [ _e ] : _se , [ _hE ] : 500 } , [ _e , _ed ] , [ 0 , 0 ] ] ;
494- schema . TypeRegistry . for ( n0 ) . registerError ( InternalServerException , InternalServerException$1 ) ;
495- var InvalidClientException = [ - 3 , n0 , _ICE , { [ _e ] : _c , [ _hE ] : 401 } , [ _e , _ed ] , [ 0 , 0 ] ] ;
496- schema . TypeRegistry . for ( n0 ) . registerError ( InvalidClientException , InvalidClientException$1 ) ;
497- var InvalidGrantException = [ - 3 , n0 , _IGE , { [ _e ] : _c , [ _hE ] : 400 } , [ _e , _ed ] , [ 0 , 0 ] ] ;
498- schema . TypeRegistry . for ( n0 ) . registerError ( InvalidGrantException , InvalidGrantException$1 ) ;
499- var InvalidRequestException = [
491+ var ExpiredTokenException$ = [ - 3 , n0 , _ETE , { [ _e ] : _c , [ _hE ] : 400 } , [ _e , _ed ] , [ 0 , 0 ] ] ;
492+ schema . TypeRegistry . for ( n0 ) . registerError ( ExpiredTokenException$ , ExpiredTokenException ) ;
493+ var InternalServerException$ = [ - 3 , n0 , _ISE , { [ _e ] : _se , [ _hE ] : 500 } , [ _e , _ed ] , [ 0 , 0 ] ] ;
494+ schema . TypeRegistry . for ( n0 ) . registerError ( InternalServerException$ , InternalServerException ) ;
495+ var InvalidClientException$ = [ - 3 , n0 , _ICE , { [ _e ] : _c , [ _hE ] : 401 } , [ _e , _ed ] , [ 0 , 0 ] ] ;
496+ schema . TypeRegistry . for ( n0 ) . registerError ( InvalidClientException$ , InvalidClientException ) ;
497+ var InvalidGrantException$ = [ - 3 , n0 , _IGE , { [ _e ] : _c , [ _hE ] : 400 } , [ _e , _ed ] , [ 0 , 0 ] ] ;
498+ schema . TypeRegistry . for ( n0 ) . registerError ( InvalidGrantException$ , InvalidGrantException ) ;
499+ var InvalidRequestException$ = [
500500 - 3 ,
501501 n0 ,
502502 _IRE ,
503503 { [ _e ] : _c , [ _hE ] : 400 } ,
504504 [ _e , _r , _ed ] ,
505505 [ 0 , 0 , 0 ] ,
506506] ;
507- schema . TypeRegistry . for ( n0 ) . registerError ( InvalidRequestException , InvalidRequestException$1 ) ;
508- var InvalidScopeException = [ - 3 , n0 , _ISEn , { [ _e ] : _c , [ _hE ] : 400 } , [ _e , _ed ] , [ 0 , 0 ] ] ;
509- schema . TypeRegistry . for ( n0 ) . registerError ( InvalidScopeException , InvalidScopeException$1 ) ;
510- var SlowDownException = [ - 3 , n0 , _SDE , { [ _e ] : _c , [ _hE ] : 400 } , [ _e , _ed ] , [ 0 , 0 ] ] ;
511- schema . TypeRegistry . for ( n0 ) . registerError ( SlowDownException , SlowDownException$1 ) ;
512- var UnauthorizedClientException = [ - 3 , n0 , _UCE , { [ _e ] : _c , [ _hE ] : 400 } , [ _e , _ed ] , [ 0 , 0 ] ] ;
513- schema . TypeRegistry . for ( n0 ) . registerError ( UnauthorizedClientException , UnauthorizedClientException$1 ) ;
514- var UnsupportedGrantTypeException = [
507+ schema . TypeRegistry . for ( n0 ) . registerError ( InvalidRequestException$ , InvalidRequestException ) ;
508+ var InvalidScopeException$ = [ - 3 , n0 , _ISEn , { [ _e ] : _c , [ _hE ] : 400 } , [ _e , _ed ] , [ 0 , 0 ] ] ;
509+ schema . TypeRegistry . for ( n0 ) . registerError ( InvalidScopeException$ , InvalidScopeException ) ;
510+ var SlowDownException$ = [ - 3 , n0 , _SDE , { [ _e ] : _c , [ _hE ] : 400 } , [ _e , _ed ] , [ 0 , 0 ] ] ;
511+ schema . TypeRegistry . for ( n0 ) . registerError ( SlowDownException$ , SlowDownException ) ;
512+ var UnauthorizedClientException$ = [
513+ - 3 ,
514+ n0 ,
515+ _UCE ,
516+ { [ _e ] : _c , [ _hE ] : 400 } ,
517+ [ _e , _ed ] ,
518+ [ 0 , 0 ] ,
519+ ] ;
520+ schema . TypeRegistry . for ( n0 ) . registerError ( UnauthorizedClientException$ , UnauthorizedClientException ) ;
521+ var UnsupportedGrantTypeException$ = [
515522 - 3 ,
516523 n0 ,
517524 _UGTE ,
518525 { [ _e ] : _c , [ _hE ] : 400 } ,
519526 [ _e , _ed ] ,
520527 [ 0 , 0 ] ,
521528] ;
522- schema . TypeRegistry . for ( n0 ) . registerError ( UnsupportedGrantTypeException , UnsupportedGrantTypeException$1 ) ;
523- var SSOOIDCServiceException = [ - 3 , _sm , "SSOOIDCServiceException" , 0 , [ ] , [ ] ] ;
524- schema . TypeRegistry . for ( _sm ) . registerError ( SSOOIDCServiceException , SSOOIDCServiceException$1 ) ;
525- var CreateToken = [
529+ schema . TypeRegistry . for ( n0 ) . registerError ( UnsupportedGrantTypeException$ , UnsupportedGrantTypeException ) ;
530+ var SSOOIDCServiceException$ = [ - 3 , _sm , "SSOOIDCServiceException" , 0 , [ ] , [ ] ] ;
531+ schema . TypeRegistry . for ( _sm ) . registerError ( SSOOIDCServiceException$ , SSOOIDCServiceException ) ;
532+ var CreateToken$ = [
526533 9 ,
527534 n0 ,
528535 _CT ,
529536 { [ _h ] : [ "POST" , "/token" , 200 ] } ,
530- ( ) => CreateTokenRequest ,
531- ( ) => CreateTokenResponse ,
537+ ( ) => CreateTokenRequest$ ,
538+ ( ) => CreateTokenResponse$ ,
532539] ;
533540
534541class CreateTokenCommand extends smithyClient . Command
@@ -539,7 +546,7 @@ class CreateTokenCommand extends smithyClient.Command
539546} )
540547 . s ( "AWSSSOOIDCService" , "CreateToken" , { } )
541548 . n ( "SSOOIDCClient" , "CreateTokenCommand" )
542- . sc ( CreateToken )
549+ . sc ( CreateToken$ )
543550 . build ( ) {
544551}
545552
@@ -568,23 +575,38 @@ __webpack_unused_export__ = ({
568575 enumerable : true ,
569576 get : function ( ) { return smithyClient . Client ; }
570577} ) ;
571- __webpack_unused_export__ = AccessDeniedException$1 ;
578+ __webpack_unused_export__ = AccessDeniedException ;
579+ __webpack_unused_export__ = AccessDeniedException$ ;
572580__webpack_unused_export__ = AccessDeniedExceptionReason ;
573- __webpack_unused_export__ = AuthorizationPendingException$1 ;
581+ __webpack_unused_export__ = AuthorizationPendingException ;
582+ __webpack_unused_export__ = AuthorizationPendingException$ ;
583+ __webpack_unused_export__ = CreateToken$ ;
574584exports . CreateTokenCommand = CreateTokenCommand ;
575- __webpack_unused_export__ = ExpiredTokenException$1 ;
576- __webpack_unused_export__ = InternalServerException$1 ;
577- __webpack_unused_export__ = InvalidClientException$1 ;
578- __webpack_unused_export__ = InvalidGrantException$1 ;
579- __webpack_unused_export__ = InvalidRequestException$1 ;
585+ __webpack_unused_export__ = CreateTokenRequest$ ;
586+ __webpack_unused_export__ = CreateTokenResponse$ ;
587+ __webpack_unused_export__ = ExpiredTokenException ;
588+ __webpack_unused_export__ = ExpiredTokenException$ ;
589+ __webpack_unused_export__ = InternalServerException ;
590+ __webpack_unused_export__ = InternalServerException$ ;
591+ __webpack_unused_export__ = InvalidClientException ;
592+ __webpack_unused_export__ = InvalidClientException$ ;
593+ __webpack_unused_export__ = InvalidGrantException ;
594+ __webpack_unused_export__ = InvalidGrantException$ ;
595+ __webpack_unused_export__ = InvalidRequestException ;
596+ __webpack_unused_export__ = InvalidRequestException$ ;
580597__webpack_unused_export__ = InvalidRequestExceptionReason ;
581- __webpack_unused_export__ = InvalidScopeException$1 ;
598+ __webpack_unused_export__ = InvalidScopeException ;
599+ __webpack_unused_export__ = InvalidScopeException$ ;
582600__webpack_unused_export__ = SSOOIDC ;
583601exports . SSOOIDCClient = SSOOIDCClient ;
584- __webpack_unused_export__ = SSOOIDCServiceException$1 ;
585- __webpack_unused_export__ = SlowDownException$1 ;
586- __webpack_unused_export__ = UnauthorizedClientException$1 ;
587- __webpack_unused_export__ = UnsupportedGrantTypeException$1 ;
602+ __webpack_unused_export__ = SSOOIDCServiceException ;
603+ __webpack_unused_export__ = SSOOIDCServiceException$ ;
604+ __webpack_unused_export__ = SlowDownException ;
605+ __webpack_unused_export__ = SlowDownException$ ;
606+ __webpack_unused_export__ = UnauthorizedClientException ;
607+ __webpack_unused_export__ = UnauthorizedClientException$ ;
608+ __webpack_unused_export__ = UnsupportedGrantTypeException ;
609+ __webpack_unused_export__ = UnsupportedGrantTypeException$ ;
588610
589611
590612/***/ } ) ,
@@ -686,7 +708,12 @@ const getRuntimeConfig = (config) => {
686708 } ,
687709 ] ,
688710 logger : config ?. logger ?? new smithy_client_1 . NoOpLogger ( ) ,
689- protocol : config ?. protocol ?? new protocols_1 . AwsRestJsonProtocol ( { defaultNamespace : "com.amazonaws.ssooidc" } ) ,
711+ protocol : config ?. protocol ?? protocols_1 . AwsRestJsonProtocol ,
712+ protocolSettings : config ?. protocolSettings ?? {
713+ defaultNamespace : "com.amazonaws.ssooidc" ,
714+ version : "2019-06-10" ,
715+ serviceTarget : "AWSSSOOIDCService" ,
716+ } ,
690717 serviceId : config ?. serviceId ?? "SSO OIDC" ,
691718 urlParser : config ?. urlParser ?? url_parser_1 . parseUrl ,
692719 utf8Decoder : config ?. utf8Decoder ?? util_utf8_1 . fromUtf8 ,
0 commit comments