@aws-sdk/client-sso-oidc 3.948.0 → 3.953.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/dist-cjs/index.js CHANGED
@@ -110,14 +110,14 @@ class SSOOIDCClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let SSOOIDCServiceException$1 = class SSOOIDCServiceException extends smithyClient.ServiceException {
113
+ class SSOOIDCServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, SSOOIDCServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let AccessDeniedException$1 = class AccessDeniedException extends SSOOIDCServiceException$1 {
120
+ class AccessDeniedException extends SSOOIDCServiceException {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  error;
@@ -134,8 +134,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends SSOOIDCService
134
134
  this.reason = opts.reason;
135
135
  this.error_description = opts.error_description;
136
136
  }
137
- };
138
- let AuthorizationPendingException$1 = class AuthorizationPendingException extends SSOOIDCServiceException$1 {
137
+ }
138
+ class AuthorizationPendingException extends SSOOIDCServiceException {
139
139
  name = "AuthorizationPendingException";
140
140
  $fault = "client";
141
141
  error;
@@ -150,8 +150,8 @@ let AuthorizationPendingException$1 = class AuthorizationPendingException extend
150
150
  this.error = opts.error;
151
151
  this.error_description = opts.error_description;
152
152
  }
153
- };
154
- let ExpiredTokenException$1 = class ExpiredTokenException extends SSOOIDCServiceException$1 {
153
+ }
154
+ class ExpiredTokenException extends SSOOIDCServiceException {
155
155
  name = "ExpiredTokenException";
156
156
  $fault = "client";
157
157
  error;
@@ -166,8 +166,8 @@ let ExpiredTokenException$1 = class ExpiredTokenException extends SSOOIDCService
166
166
  this.error = opts.error;
167
167
  this.error_description = opts.error_description;
168
168
  }
169
- };
170
- let InternalServerException$1 = class InternalServerException extends SSOOIDCServiceException$1 {
169
+ }
170
+ class InternalServerException extends SSOOIDCServiceException {
171
171
  name = "InternalServerException";
172
172
  $fault = "server";
173
173
  error;
@@ -182,8 +182,8 @@ let InternalServerException$1 = class InternalServerException extends SSOOIDCSer
182
182
  this.error = opts.error;
183
183
  this.error_description = opts.error_description;
184
184
  }
185
- };
186
- let InvalidClientException$1 = class InvalidClientException extends SSOOIDCServiceException$1 {
185
+ }
186
+ class InvalidClientException extends SSOOIDCServiceException {
187
187
  name = "InvalidClientException";
188
188
  $fault = "client";
189
189
  error;
@@ -198,8 +198,8 @@ let InvalidClientException$1 = class InvalidClientException extends SSOOIDCServi
198
198
  this.error = opts.error;
199
199
  this.error_description = opts.error_description;
200
200
  }
201
- };
202
- let InvalidGrantException$1 = class InvalidGrantException extends SSOOIDCServiceException$1 {
201
+ }
202
+ class InvalidGrantException extends SSOOIDCServiceException {
203
203
  name = "InvalidGrantException";
204
204
  $fault = "client";
205
205
  error;
@@ -214,8 +214,8 @@ let InvalidGrantException$1 = class InvalidGrantException extends SSOOIDCService
214
214
  this.error = opts.error;
215
215
  this.error_description = opts.error_description;
216
216
  }
217
- };
218
- let InvalidRequestException$1 = class InvalidRequestException extends SSOOIDCServiceException$1 {
217
+ }
218
+ class InvalidRequestException extends SSOOIDCServiceException {
219
219
  name = "InvalidRequestException";
220
220
  $fault = "client";
221
221
  error;
@@ -232,8 +232,8 @@ let InvalidRequestException$1 = class InvalidRequestException extends SSOOIDCSer
232
232
  this.reason = opts.reason;
233
233
  this.error_description = opts.error_description;
234
234
  }
235
- };
236
- let InvalidScopeException$1 = class InvalidScopeException extends SSOOIDCServiceException$1 {
235
+ }
236
+ class InvalidScopeException extends SSOOIDCServiceException {
237
237
  name = "InvalidScopeException";
238
238
  $fault = "client";
239
239
  error;
@@ -248,8 +248,8 @@ let InvalidScopeException$1 = class InvalidScopeException extends SSOOIDCService
248
248
  this.error = opts.error;
249
249
  this.error_description = opts.error_description;
250
250
  }
251
- };
252
- let SlowDownException$1 = class SlowDownException extends SSOOIDCServiceException$1 {
251
+ }
252
+ class SlowDownException extends SSOOIDCServiceException {
253
253
  name = "SlowDownException";
254
254
  $fault = "client";
255
255
  error;
@@ -264,8 +264,8 @@ let SlowDownException$1 = class SlowDownException extends SSOOIDCServiceExceptio
264
264
  this.error = opts.error;
265
265
  this.error_description = opts.error_description;
266
266
  }
267
- };
268
- let UnauthorizedClientException$1 = class UnauthorizedClientException extends SSOOIDCServiceException$1 {
267
+ }
268
+ class UnauthorizedClientException extends SSOOIDCServiceException {
269
269
  name = "UnauthorizedClientException";
270
270
  $fault = "client";
271
271
  error;
@@ -280,8 +280,8 @@ let UnauthorizedClientException$1 = class UnauthorizedClientException extends SS
280
280
  this.error = opts.error;
281
281
  this.error_description = opts.error_description;
282
282
  }
283
- };
284
- let UnsupportedGrantTypeException$1 = class UnsupportedGrantTypeException extends SSOOIDCServiceException$1 {
283
+ }
284
+ class UnsupportedGrantTypeException extends SSOOIDCServiceException {
285
285
  name = "UnsupportedGrantTypeException";
286
286
  $fault = "client";
287
287
  error;
@@ -296,8 +296,8 @@ let UnsupportedGrantTypeException$1 = class UnsupportedGrantTypeException extend
296
296
  this.error = opts.error;
297
297
  this.error_description = opts.error_description;
298
298
  }
299
- };
300
- let InvalidRequestRegionException$1 = class InvalidRequestRegionException extends SSOOIDCServiceException$1 {
299
+ }
300
+ class InvalidRequestRegionException extends SSOOIDCServiceException {
301
301
  name = "InvalidRequestRegionException";
302
302
  $fault = "client";
303
303
  error;
@@ -316,8 +316,8 @@ let InvalidRequestRegionException$1 = class InvalidRequestRegionException extend
316
316
  this.endpoint = opts.endpoint;
317
317
  this.region = opts.region;
318
318
  }
319
- };
320
- let InvalidClientMetadataException$1 = class InvalidClientMetadataException extends SSOOIDCServiceException$1 {
319
+ }
320
+ class InvalidClientMetadataException extends SSOOIDCServiceException {
321
321
  name = "InvalidClientMetadataException";
322
322
  $fault = "client";
323
323
  error;
@@ -332,8 +332,8 @@ let InvalidClientMetadataException$1 = class InvalidClientMetadataException exte
332
332
  this.error = opts.error;
333
333
  this.error_description = opts.error_description;
334
334
  }
335
- };
336
- let InvalidRedirectUriException$1 = class InvalidRedirectUriException extends SSOOIDCServiceException$1 {
335
+ }
336
+ class InvalidRedirectUriException extends SSOOIDCServiceException {
337
337
  name = "InvalidRedirectUriException";
338
338
  $fault = "client";
339
339
  error;
@@ -348,7 +348,7 @@ let InvalidRedirectUriException$1 = class InvalidRedirectUriException extends SS
348
348
  this.error = opts.error;
349
349
  this.error_description = opts.error_description;
350
350
  }
351
- };
351
+ }
352
352
 
353
353
  const _A = "Assertion";
354
354
  const _AAD = "AwsAdditionalDetails";
@@ -438,7 +438,7 @@ var CodeVerifier = [0, n0, _CV, 8, 0];
438
438
  var IdToken = [0, n0, _IT, 8, 0];
439
439
  var RefreshToken = [0, n0, _RT, 8, 0];
440
440
  var SubjectToken = [0, n0, _ST, 8, 0];
441
- var AccessDeniedException = [
441
+ var AccessDeniedException$ = [
442
442
  -3,
443
443
  n0,
444
444
  _ADE,
@@ -446,8 +446,8 @@ var AccessDeniedException = [
446
446
  [_e, _r, _ed],
447
447
  [0, 0, 0],
448
448
  ];
449
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
450
- var AuthorizationPendingException = [
449
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
450
+ var AuthorizationPendingException$ = [
451
451
  -3,
452
452
  n0,
453
453
  _APE,
@@ -455,9 +455,9 @@ var AuthorizationPendingException = [
455
455
  [_e, _ed],
456
456
  [0, 0],
457
457
  ];
458
- schema.TypeRegistry.for(n0).registerError(AuthorizationPendingException, AuthorizationPendingException$1);
459
- var AwsAdditionalDetails = [3, n0, _AAD, 0, [_iC], [0]];
460
- var CreateTokenRequest = [
458
+ schema.TypeRegistry.for(n0).registerError(AuthorizationPendingException$, AuthorizationPendingException);
459
+ var AwsAdditionalDetails$ = [3, n0, _AAD, 0, [_iC], [0]];
460
+ var CreateTokenRequest$ = [
461
461
  3,
462
462
  n0,
463
463
  _CTR,
@@ -465,7 +465,7 @@ var CreateTokenRequest = [
465
465
  [_cI, _cS, _gT, _dC, _co, _rT, _s, _rU, _cV],
466
466
  [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]],
467
467
  ];
468
- var CreateTokenResponse = [
468
+ var CreateTokenResponse$ = [
469
469
  3,
470
470
  n0,
471
471
  _CTRr,
@@ -473,7 +473,7 @@ var CreateTokenResponse = [
473
473
  [_aT, _tT, _eI, _rT, _iT],
474
474
  [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]],
475
475
  ];
476
- var CreateTokenWithIAMRequest = [
476
+ var CreateTokenWithIAMRequest$ = [
477
477
  3,
478
478
  n0,
479
479
  _CTWIAMR,
@@ -493,21 +493,21 @@ var CreateTokenWithIAMRequest = [
493
493
  [() => CodeVerifier, 0],
494
494
  ],
495
495
  ];
496
- var CreateTokenWithIAMResponse = [
496
+ var CreateTokenWithIAMResponse$ = [
497
497
  3,
498
498
  n0,
499
499
  _CTWIAMRr,
500
500
  0,
501
501
  [_aT, _tT, _eI, _rT, _iT, _iTT, _s, _aAD],
502
- [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0], 0, 64 | 0, () => AwsAdditionalDetails],
502
+ [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0], 0, 64 | 0, () => AwsAdditionalDetails$],
503
503
  ];
504
- var ExpiredTokenException = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
505
- schema.TypeRegistry.for(n0).registerError(ExpiredTokenException, ExpiredTokenException$1);
506
- var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _ed], [0, 0]];
507
- schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
508
- var InvalidClientException = [-3, n0, _ICE, { [_e]: _c, [_hE]: 401 }, [_e, _ed], [0, 0]];
509
- schema.TypeRegistry.for(n0).registerError(InvalidClientException, InvalidClientException$1);
510
- var InvalidClientMetadataException = [
504
+ var ExpiredTokenException$ = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
505
+ schema.TypeRegistry.for(n0).registerError(ExpiredTokenException$, ExpiredTokenException);
506
+ var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _ed], [0, 0]];
507
+ schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
508
+ var InvalidClientException$ = [-3, n0, _ICE, { [_e]: _c, [_hE]: 401 }, [_e, _ed], [0, 0]];
509
+ schema.TypeRegistry.for(n0).registerError(InvalidClientException$, InvalidClientException);
510
+ var InvalidClientMetadataException$ = [
511
511
  -3,
512
512
  n0,
513
513
  _ICME,
@@ -515,10 +515,10 @@ var InvalidClientMetadataException = [
515
515
  [_e, _ed],
516
516
  [0, 0],
517
517
  ];
518
- schema.TypeRegistry.for(n0).registerError(InvalidClientMetadataException, InvalidClientMetadataException$1);
519
- var InvalidGrantException = [-3, n0, _IGE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
520
- schema.TypeRegistry.for(n0).registerError(InvalidGrantException, InvalidGrantException$1);
521
- var InvalidRedirectUriException = [
518
+ schema.TypeRegistry.for(n0).registerError(InvalidClientMetadataException$, InvalidClientMetadataException);
519
+ var InvalidGrantException$ = [-3, n0, _IGE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
520
+ schema.TypeRegistry.for(n0).registerError(InvalidGrantException$, InvalidGrantException);
521
+ var InvalidRedirectUriException$ = [
522
522
  -3,
523
523
  n0,
524
524
  _IRUE,
@@ -526,8 +526,8 @@ var InvalidRedirectUriException = [
526
526
  [_e, _ed],
527
527
  [0, 0],
528
528
  ];
529
- schema.TypeRegistry.for(n0).registerError(InvalidRedirectUriException, InvalidRedirectUriException$1);
530
- var InvalidRequestException = [
529
+ schema.TypeRegistry.for(n0).registerError(InvalidRedirectUriException$, InvalidRedirectUriException);
530
+ var InvalidRequestException$ = [
531
531
  -3,
532
532
  n0,
533
533
  _IRE,
@@ -535,8 +535,8 @@ var InvalidRequestException = [
535
535
  [_e, _r, _ed],
536
536
  [0, 0, 0],
537
537
  ];
538
- schema.TypeRegistry.for(n0).registerError(InvalidRequestException, InvalidRequestException$1);
539
- var InvalidRequestRegionException = [
538
+ schema.TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
539
+ var InvalidRequestRegionException$ = [
540
540
  -3,
541
541
  n0,
542
542
  _IRRE,
@@ -544,10 +544,10 @@ var InvalidRequestRegionException = [
544
544
  [_e, _ed, _en, _re],
545
545
  [0, 0, 0, 0],
546
546
  ];
547
- schema.TypeRegistry.for(n0).registerError(InvalidRequestRegionException, InvalidRequestRegionException$1);
548
- var InvalidScopeException = [-3, n0, _ISEn, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
549
- schema.TypeRegistry.for(n0).registerError(InvalidScopeException, InvalidScopeException$1);
550
- var RegisterClientRequest = [
547
+ schema.TypeRegistry.for(n0).registerError(InvalidRequestRegionException$, InvalidRequestRegionException);
548
+ var InvalidScopeException$ = [-3, n0, _ISEn, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
549
+ schema.TypeRegistry.for(n0).registerError(InvalidScopeException$, InvalidScopeException);
550
+ var RegisterClientRequest$ = [
551
551
  3,
552
552
  n0,
553
553
  _RCR,
@@ -555,7 +555,7 @@ var RegisterClientRequest = [
555
555
  [_cN, _cT, _sc, _rUe, _gTr, _iU, _eAA],
556
556
  [0, 0, 64 | 0, 64 | 0, 64 | 0, 0, 0],
557
557
  ];
558
- var RegisterClientResponse = [
558
+ var RegisterClientResponse$ = [
559
559
  3,
560
560
  n0,
561
561
  _RCRe,
@@ -563,9 +563,9 @@ var RegisterClientResponse = [
563
563
  [_cI, _cS, _cIIA, _cSEA, _aE, _tE],
564
564
  [0, [() => ClientSecret, 0], 1, 1, 0, 0],
565
565
  ];
566
- var SlowDownException = [-3, n0, _SDE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
567
- schema.TypeRegistry.for(n0).registerError(SlowDownException, SlowDownException$1);
568
- var StartDeviceAuthorizationRequest = [
566
+ var SlowDownException$ = [-3, n0, _SDE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
567
+ schema.TypeRegistry.for(n0).registerError(SlowDownException$, SlowDownException);
568
+ var StartDeviceAuthorizationRequest$ = [
569
569
  3,
570
570
  n0,
571
571
  _SDAR,
@@ -573,7 +573,7 @@ var StartDeviceAuthorizationRequest = [
573
573
  [_cI, _cS, _sU],
574
574
  [0, [() => ClientSecret, 0], 0],
575
575
  ];
576
- var StartDeviceAuthorizationResponse = [
576
+ var StartDeviceAuthorizationResponse$ = [
577
577
  3,
578
578
  n0,
579
579
  _SDARt,
@@ -581,9 +581,16 @@ var StartDeviceAuthorizationResponse = [
581
581
  [_dC, _uC, _vU, _vUC, _eI, _i],
582
582
  [0, 0, 0, 0, 1, 1],
583
583
  ];
584
- var UnauthorizedClientException = [-3, n0, _UCE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
585
- schema.TypeRegistry.for(n0).registerError(UnauthorizedClientException, UnauthorizedClientException$1);
586
- var UnsupportedGrantTypeException = [
584
+ var UnauthorizedClientException$ = [
585
+ -3,
586
+ n0,
587
+ _UCE,
588
+ { [_e]: _c, [_hE]: 400 },
589
+ [_e, _ed],
590
+ [0, 0],
591
+ ];
592
+ schema.TypeRegistry.for(n0).registerError(UnauthorizedClientException$, UnauthorizedClientException);
593
+ var UnsupportedGrantTypeException$ = [
587
594
  -3,
588
595
  n0,
589
596
  _UGTE,
@@ -591,40 +598,40 @@ var UnsupportedGrantTypeException = [
591
598
  [_e, _ed],
592
599
  [0, 0],
593
600
  ];
594
- schema.TypeRegistry.for(n0).registerError(UnsupportedGrantTypeException, UnsupportedGrantTypeException$1);
595
- var SSOOIDCServiceException = [-3, _sm, "SSOOIDCServiceException", 0, [], []];
596
- schema.TypeRegistry.for(_sm).registerError(SSOOIDCServiceException, SSOOIDCServiceException$1);
597
- var CreateToken = [
601
+ schema.TypeRegistry.for(n0).registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);
602
+ var SSOOIDCServiceException$ = [-3, _sm, "SSOOIDCServiceException", 0, [], []];
603
+ schema.TypeRegistry.for(_sm).registerError(SSOOIDCServiceException$, SSOOIDCServiceException);
604
+ var CreateToken$ = [
598
605
  9,
599
606
  n0,
600
607
  _CT,
601
608
  { [_h]: ["POST", "/token", 200] },
602
- () => CreateTokenRequest,
603
- () => CreateTokenResponse,
609
+ () => CreateTokenRequest$,
610
+ () => CreateTokenResponse$,
604
611
  ];
605
- var CreateTokenWithIAM = [
612
+ var CreateTokenWithIAM$ = [
606
613
  9,
607
614
  n0,
608
615
  _CTWIAM,
609
616
  { [_h]: ["POST", "/token?aws_iam=t", 200] },
610
- () => CreateTokenWithIAMRequest,
611
- () => CreateTokenWithIAMResponse,
617
+ () => CreateTokenWithIAMRequest$,
618
+ () => CreateTokenWithIAMResponse$,
612
619
  ];
613
- var RegisterClient = [
620
+ var RegisterClient$ = [
614
621
  9,
615
622
  n0,
616
623
  _RC,
617
624
  { [_h]: ["POST", "/client/register", 200] },
618
- () => RegisterClientRequest,
619
- () => RegisterClientResponse,
625
+ () => RegisterClientRequest$,
626
+ () => RegisterClientResponse$,
620
627
  ];
621
- var StartDeviceAuthorization = [
628
+ var StartDeviceAuthorization$ = [
622
629
  9,
623
630
  n0,
624
631
  _SDA,
625
632
  { [_h]: ["POST", "/device_authorization", 200] },
626
- () => StartDeviceAuthorizationRequest,
627
- () => StartDeviceAuthorizationResponse,
633
+ () => StartDeviceAuthorizationRequest$,
634
+ () => StartDeviceAuthorizationResponse$,
628
635
  ];
629
636
 
630
637
  class CreateTokenCommand extends smithyClient.Command
@@ -635,7 +642,7 @@ class CreateTokenCommand extends smithyClient.Command
635
642
  })
636
643
  .s("AWSSSOOIDCService", "CreateToken", {})
637
644
  .n("SSOOIDCClient", "CreateTokenCommand")
638
- .sc(CreateToken)
645
+ .sc(CreateToken$)
639
646
  .build() {
640
647
  }
641
648
 
@@ -647,7 +654,7 @@ class CreateTokenWithIAMCommand extends smithyClient.Command
647
654
  })
648
655
  .s("AWSSSOOIDCService", "CreateTokenWithIAM", {})
649
656
  .n("SSOOIDCClient", "CreateTokenWithIAMCommand")
650
- .sc(CreateTokenWithIAM)
657
+ .sc(CreateTokenWithIAM$)
651
658
  .build() {
652
659
  }
653
660
 
@@ -659,7 +666,7 @@ class RegisterClientCommand extends smithyClient.Command
659
666
  })
660
667
  .s("AWSSSOOIDCService", "RegisterClient", {})
661
668
  .n("SSOOIDCClient", "RegisterClientCommand")
662
- .sc(RegisterClient)
669
+ .sc(RegisterClient$)
663
670
  .build() {
664
671
  }
665
672
 
@@ -671,7 +678,7 @@ class StartDeviceAuthorizationCommand extends smithyClient.Command
671
678
  })
672
679
  .s("AWSSSOOIDCService", "StartDeviceAuthorization", {})
673
680
  .n("SSOOIDCClient", "StartDeviceAuthorizationCommand")
674
- .sc(StartDeviceAuthorization)
681
+ .sc(StartDeviceAuthorization$)
675
682
  .build() {
676
683
  }
677
684
 
@@ -703,26 +710,54 @@ Object.defineProperty(exports, "__Client", {
703
710
  enumerable: true,
704
711
  get: function () { return smithyClient.Client; }
705
712
  });
706
- exports.AccessDeniedException = AccessDeniedException$1;
713
+ exports.AccessDeniedException = AccessDeniedException;
714
+ exports.AccessDeniedException$ = AccessDeniedException$;
707
715
  exports.AccessDeniedExceptionReason = AccessDeniedExceptionReason;
708
- exports.AuthorizationPendingException = AuthorizationPendingException$1;
716
+ exports.AuthorizationPendingException = AuthorizationPendingException;
717
+ exports.AuthorizationPendingException$ = AuthorizationPendingException$;
718
+ exports.AwsAdditionalDetails$ = AwsAdditionalDetails$;
719
+ exports.CreateToken$ = CreateToken$;
709
720
  exports.CreateTokenCommand = CreateTokenCommand;
721
+ exports.CreateTokenRequest$ = CreateTokenRequest$;
722
+ exports.CreateTokenResponse$ = CreateTokenResponse$;
723
+ exports.CreateTokenWithIAM$ = CreateTokenWithIAM$;
710
724
  exports.CreateTokenWithIAMCommand = CreateTokenWithIAMCommand;
711
- exports.ExpiredTokenException = ExpiredTokenException$1;
712
- exports.InternalServerException = InternalServerException$1;
713
- exports.InvalidClientException = InvalidClientException$1;
714
- exports.InvalidClientMetadataException = InvalidClientMetadataException$1;
715
- exports.InvalidGrantException = InvalidGrantException$1;
716
- exports.InvalidRedirectUriException = InvalidRedirectUriException$1;
717
- exports.InvalidRequestException = InvalidRequestException$1;
725
+ exports.CreateTokenWithIAMRequest$ = CreateTokenWithIAMRequest$;
726
+ exports.CreateTokenWithIAMResponse$ = CreateTokenWithIAMResponse$;
727
+ exports.ExpiredTokenException = ExpiredTokenException;
728
+ exports.ExpiredTokenException$ = ExpiredTokenException$;
729
+ exports.InternalServerException = InternalServerException;
730
+ exports.InternalServerException$ = InternalServerException$;
731
+ exports.InvalidClientException = InvalidClientException;
732
+ exports.InvalidClientException$ = InvalidClientException$;
733
+ exports.InvalidClientMetadataException = InvalidClientMetadataException;
734
+ exports.InvalidClientMetadataException$ = InvalidClientMetadataException$;
735
+ exports.InvalidGrantException = InvalidGrantException;
736
+ exports.InvalidGrantException$ = InvalidGrantException$;
737
+ exports.InvalidRedirectUriException = InvalidRedirectUriException;
738
+ exports.InvalidRedirectUriException$ = InvalidRedirectUriException$;
739
+ exports.InvalidRequestException = InvalidRequestException;
740
+ exports.InvalidRequestException$ = InvalidRequestException$;
718
741
  exports.InvalidRequestExceptionReason = InvalidRequestExceptionReason;
719
- exports.InvalidRequestRegionException = InvalidRequestRegionException$1;
720
- exports.InvalidScopeException = InvalidScopeException$1;
742
+ exports.InvalidRequestRegionException = InvalidRequestRegionException;
743
+ exports.InvalidRequestRegionException$ = InvalidRequestRegionException$;
744
+ exports.InvalidScopeException = InvalidScopeException;
745
+ exports.InvalidScopeException$ = InvalidScopeException$;
746
+ exports.RegisterClient$ = RegisterClient$;
721
747
  exports.RegisterClientCommand = RegisterClientCommand;
748
+ exports.RegisterClientRequest$ = RegisterClientRequest$;
749
+ exports.RegisterClientResponse$ = RegisterClientResponse$;
722
750
  exports.SSOOIDC = SSOOIDC;
723
751
  exports.SSOOIDCClient = SSOOIDCClient;
724
- exports.SSOOIDCServiceException = SSOOIDCServiceException$1;
725
- exports.SlowDownException = SlowDownException$1;
752
+ exports.SSOOIDCServiceException = SSOOIDCServiceException;
753
+ exports.SSOOIDCServiceException$ = SSOOIDCServiceException$;
754
+ exports.SlowDownException = SlowDownException;
755
+ exports.SlowDownException$ = SlowDownException$;
756
+ exports.StartDeviceAuthorization$ = StartDeviceAuthorization$;
726
757
  exports.StartDeviceAuthorizationCommand = StartDeviceAuthorizationCommand;
727
- exports.UnauthorizedClientException = UnauthorizedClientException$1;
728
- exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException$1;
758
+ exports.StartDeviceAuthorizationRequest$ = StartDeviceAuthorizationRequest$;
759
+ exports.StartDeviceAuthorizationResponse$ = StartDeviceAuthorizationResponse$;
760
+ exports.UnauthorizedClientException = UnauthorizedClientException;
761
+ exports.UnauthorizedClientException$ = UnauthorizedClientException$;
762
+ exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException;
763
+ exports.UnsupportedGrantTypeException$ = UnsupportedGrantTypeException$;
@@ -32,7 +32,12 @@ const getRuntimeConfig = (config) => {
32
32
  },
33
33
  ],
34
34
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
35
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.ssooidc" }),
35
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
36
+ protocolSettings: config?.protocolSettings ?? {
37
+ defaultNamespace: "com.amazonaws.ssooidc",
38
+ version: "2019-06-10",
39
+ serviceTarget: "AWSSSOOIDCService",
40
+ },
36
41
  serviceId: config?.serviceId ?? "SSO OIDC",
37
42
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
38
43
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateToken } from "../schemas/schemas_0";
4
+ import { CreateToken$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateTokenCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateTokenCommand extends $Command
11
11
  })
12
12
  .s("AWSSSOOIDCService", "CreateToken", {})
13
13
  .n("SSOOIDCClient", "CreateTokenCommand")
14
- .sc(CreateToken)
14
+ .sc(CreateToken$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateTokenWithIAM } from "../schemas/schemas_0";
4
+ import { CreateTokenWithIAM$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateTokenWithIAMCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateTokenWithIAMCommand extends $Command
11
11
  })
12
12
  .s("AWSSSOOIDCService", "CreateTokenWithIAM", {})
13
13
  .n("SSOOIDCClient", "CreateTokenWithIAMCommand")
14
- .sc(CreateTokenWithIAM)
14
+ .sc(CreateTokenWithIAM$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { RegisterClient } from "../schemas/schemas_0";
4
+ import { RegisterClient$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RegisterClientCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RegisterClientCommand extends $Command
11
11
  })
12
12
  .s("AWSSSOOIDCService", "RegisterClient", {})
13
13
  .n("SSOOIDCClient", "RegisterClientCommand")
14
- .sc(RegisterClient)
14
+ .sc(RegisterClient$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartDeviceAuthorization } from "../schemas/schemas_0";
4
+ import { StartDeviceAuthorization$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartDeviceAuthorizationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartDeviceAuthorizationCommand extends $Command
11
11
  })
12
12
  .s("AWSSSOOIDCService", "StartDeviceAuthorization", {})
13
13
  .n("SSOOIDCClient", "StartDeviceAuthorizationCommand")
14
- .sc(StartDeviceAuthorization)
14
+ .sc(StartDeviceAuthorization$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./SSOOIDCClient";
2
2
  export * from "./SSOOIDC";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { SSOOIDCServiceException } from "./models/SSOOIDCServiceException";
@@ -29,7 +29,12 @@ export const getRuntimeConfig = (config) => {
29
29
  },
30
30
  ],
31
31
  logger: config?.logger ?? new NoOpLogger(),
32
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.ssooidc" }),
32
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
33
+ protocolSettings: config?.protocolSettings ?? {
34
+ defaultNamespace: "com.amazonaws.ssooidc",
35
+ version: "2019-06-10",
36
+ serviceTarget: "AWSSSOOIDCService",
37
+ },
33
38
  serviceId: config?.serviceId ?? "SSO OIDC",
34
39
  urlParser: config?.urlParser ?? parseUrl,
35
40
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,