@aws-sdk/client-sso-oidc 3.928.0 → 3.930.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
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class SSOOIDCClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,17 +110,17 @@ class SSOOIDCClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class SSOOIDCServiceException extends smithyClient.ServiceException {
113
+ let SSOOIDCServiceException$1 = 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
120
  const AccessDeniedExceptionReason = {
121
121
  KMS_ACCESS_DENIED: "KMS_AccessDeniedException",
122
122
  };
123
- class AccessDeniedException extends SSOOIDCServiceException {
123
+ let AccessDeniedException$1 = class AccessDeniedException extends SSOOIDCServiceException$1 {
124
124
  name = "AccessDeniedException";
125
125
  $fault = "client";
126
126
  error;
@@ -137,8 +137,8 @@ class AccessDeniedException extends SSOOIDCServiceException {
137
137
  this.reason = opts.reason;
138
138
  this.error_description = opts.error_description;
139
139
  }
140
- }
141
- class AuthorizationPendingException extends SSOOIDCServiceException {
140
+ };
141
+ let AuthorizationPendingException$1 = class AuthorizationPendingException extends SSOOIDCServiceException$1 {
142
142
  name = "AuthorizationPendingException";
143
143
  $fault = "client";
144
144
  error;
@@ -153,8 +153,8 @@ class AuthorizationPendingException extends SSOOIDCServiceException {
153
153
  this.error = opts.error;
154
154
  this.error_description = opts.error_description;
155
155
  }
156
- }
157
- class ExpiredTokenException extends SSOOIDCServiceException {
156
+ };
157
+ let ExpiredTokenException$1 = class ExpiredTokenException extends SSOOIDCServiceException$1 {
158
158
  name = "ExpiredTokenException";
159
159
  $fault = "client";
160
160
  error;
@@ -169,8 +169,8 @@ class ExpiredTokenException extends SSOOIDCServiceException {
169
169
  this.error = opts.error;
170
170
  this.error_description = opts.error_description;
171
171
  }
172
- }
173
- class InternalServerException extends SSOOIDCServiceException {
172
+ };
173
+ let InternalServerException$1 = class InternalServerException extends SSOOIDCServiceException$1 {
174
174
  name = "InternalServerException";
175
175
  $fault = "server";
176
176
  error;
@@ -185,8 +185,8 @@ class InternalServerException extends SSOOIDCServiceException {
185
185
  this.error = opts.error;
186
186
  this.error_description = opts.error_description;
187
187
  }
188
- }
189
- class InvalidClientException extends SSOOIDCServiceException {
188
+ };
189
+ let InvalidClientException$1 = class InvalidClientException extends SSOOIDCServiceException$1 {
190
190
  name = "InvalidClientException";
191
191
  $fault = "client";
192
192
  error;
@@ -201,8 +201,8 @@ class InvalidClientException extends SSOOIDCServiceException {
201
201
  this.error = opts.error;
202
202
  this.error_description = opts.error_description;
203
203
  }
204
- }
205
- class InvalidGrantException extends SSOOIDCServiceException {
204
+ };
205
+ let InvalidGrantException$1 = class InvalidGrantException extends SSOOIDCServiceException$1 {
206
206
  name = "InvalidGrantException";
207
207
  $fault = "client";
208
208
  error;
@@ -217,14 +217,14 @@ class InvalidGrantException extends SSOOIDCServiceException {
217
217
  this.error = opts.error;
218
218
  this.error_description = opts.error_description;
219
219
  }
220
- }
220
+ };
221
221
  const InvalidRequestExceptionReason = {
222
222
  KMS_DISABLED_KEY: "KMS_DisabledException",
223
223
  KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException",
224
224
  KMS_INVALID_STATE: "KMS_InvalidStateException",
225
225
  KMS_KEY_NOT_FOUND: "KMS_NotFoundException",
226
226
  };
227
- class InvalidRequestException extends SSOOIDCServiceException {
227
+ let InvalidRequestException$1 = class InvalidRequestException extends SSOOIDCServiceException$1 {
228
228
  name = "InvalidRequestException";
229
229
  $fault = "client";
230
230
  error;
@@ -241,8 +241,8 @@ class InvalidRequestException extends SSOOIDCServiceException {
241
241
  this.reason = opts.reason;
242
242
  this.error_description = opts.error_description;
243
243
  }
244
- }
245
- class InvalidScopeException extends SSOOIDCServiceException {
244
+ };
245
+ let InvalidScopeException$1 = class InvalidScopeException extends SSOOIDCServiceException$1 {
246
246
  name = "InvalidScopeException";
247
247
  $fault = "client";
248
248
  error;
@@ -257,8 +257,8 @@ class InvalidScopeException extends SSOOIDCServiceException {
257
257
  this.error = opts.error;
258
258
  this.error_description = opts.error_description;
259
259
  }
260
- }
261
- class SlowDownException extends SSOOIDCServiceException {
260
+ };
261
+ let SlowDownException$1 = class SlowDownException extends SSOOIDCServiceException$1 {
262
262
  name = "SlowDownException";
263
263
  $fault = "client";
264
264
  error;
@@ -273,8 +273,8 @@ class SlowDownException extends SSOOIDCServiceException {
273
273
  this.error = opts.error;
274
274
  this.error_description = opts.error_description;
275
275
  }
276
- }
277
- class UnauthorizedClientException extends SSOOIDCServiceException {
276
+ };
277
+ let UnauthorizedClientException$1 = class UnauthorizedClientException extends SSOOIDCServiceException$1 {
278
278
  name = "UnauthorizedClientException";
279
279
  $fault = "client";
280
280
  error;
@@ -289,8 +289,8 @@ class UnauthorizedClientException extends SSOOIDCServiceException {
289
289
  this.error = opts.error;
290
290
  this.error_description = opts.error_description;
291
291
  }
292
- }
293
- class UnsupportedGrantTypeException extends SSOOIDCServiceException {
292
+ };
293
+ let UnsupportedGrantTypeException$1 = class UnsupportedGrantTypeException extends SSOOIDCServiceException$1 {
294
294
  name = "UnsupportedGrantTypeException";
295
295
  $fault = "client";
296
296
  error;
@@ -305,8 +305,8 @@ class UnsupportedGrantTypeException extends SSOOIDCServiceException {
305
305
  this.error = opts.error;
306
306
  this.error_description = opts.error_description;
307
307
  }
308
- }
309
- class InvalidRequestRegionException extends SSOOIDCServiceException {
308
+ };
309
+ let InvalidRequestRegionException$1 = class InvalidRequestRegionException extends SSOOIDCServiceException$1 {
310
310
  name = "InvalidRequestRegionException";
311
311
  $fault = "client";
312
312
  error;
@@ -325,8 +325,8 @@ class InvalidRequestRegionException extends SSOOIDCServiceException {
325
325
  this.endpoint = opts.endpoint;
326
326
  this.region = opts.region;
327
327
  }
328
- }
329
- class InvalidClientMetadataException extends SSOOIDCServiceException {
328
+ };
329
+ let InvalidClientMetadataException$1 = class InvalidClientMetadataException extends SSOOIDCServiceException$1 {
330
330
  name = "InvalidClientMetadataException";
331
331
  $fault = "client";
332
332
  error;
@@ -341,8 +341,8 @@ class InvalidClientMetadataException extends SSOOIDCServiceException {
341
341
  this.error = opts.error;
342
342
  this.error_description = opts.error_description;
343
343
  }
344
- }
345
- class InvalidRedirectUriException extends SSOOIDCServiceException {
344
+ };
345
+ let InvalidRedirectUriException$1 = class InvalidRedirectUriException extends SSOOIDCServiceException$1 {
346
346
  name = "InvalidRedirectUriException";
347
347
  $fault = "client";
348
348
  error;
@@ -357,480 +357,393 @@ class InvalidRedirectUriException extends SSOOIDCServiceException {
357
357
  this.error = opts.error;
358
358
  this.error_description = opts.error_description;
359
359
  }
360
- }
361
- const CreateTokenRequestFilterSensitiveLog = (obj) => ({
362
- ...obj,
363
- ...(obj.clientSecret && { clientSecret: smithyClient.SENSITIVE_STRING }),
364
- ...(obj.refreshToken && { refreshToken: smithyClient.SENSITIVE_STRING }),
365
- ...(obj.codeVerifier && { codeVerifier: smithyClient.SENSITIVE_STRING }),
366
- });
367
- const CreateTokenResponseFilterSensitiveLog = (obj) => ({
368
- ...obj,
369
- ...(obj.accessToken && { accessToken: smithyClient.SENSITIVE_STRING }),
370
- ...(obj.refreshToken && { refreshToken: smithyClient.SENSITIVE_STRING }),
371
- ...(obj.idToken && { idToken: smithyClient.SENSITIVE_STRING }),
372
- });
373
- const CreateTokenWithIAMRequestFilterSensitiveLog = (obj) => ({
374
- ...obj,
375
- ...(obj.refreshToken && { refreshToken: smithyClient.SENSITIVE_STRING }),
376
- ...(obj.assertion && { assertion: smithyClient.SENSITIVE_STRING }),
377
- ...(obj.subjectToken && { subjectToken: smithyClient.SENSITIVE_STRING }),
378
- ...(obj.codeVerifier && { codeVerifier: smithyClient.SENSITIVE_STRING }),
379
- });
380
- const CreateTokenWithIAMResponseFilterSensitiveLog = (obj) => ({
381
- ...obj,
382
- ...(obj.accessToken && { accessToken: smithyClient.SENSITIVE_STRING }),
383
- ...(obj.refreshToken && { refreshToken: smithyClient.SENSITIVE_STRING }),
384
- ...(obj.idToken && { idToken: smithyClient.SENSITIVE_STRING }),
385
- });
386
- const RegisterClientResponseFilterSensitiveLog = (obj) => ({
387
- ...obj,
388
- ...(obj.clientSecret && { clientSecret: smithyClient.SENSITIVE_STRING }),
389
- });
390
- const StartDeviceAuthorizationRequestFilterSensitiveLog = (obj) => ({
391
- ...obj,
392
- ...(obj.clientSecret && { clientSecret: smithyClient.SENSITIVE_STRING }),
393
- });
394
-
395
- const se_CreateTokenCommand = async (input, context) => {
396
- const b = core.requestBuilder(input, context);
397
- const headers = {
398
- "content-type": "application/json",
399
- };
400
- b.bp("/token");
401
- let body;
402
- body = JSON.stringify(smithyClient.take(input, {
403
- clientId: [],
404
- clientSecret: [],
405
- code: [],
406
- codeVerifier: [],
407
- deviceCode: [],
408
- grantType: [],
409
- redirectUri: [],
410
- refreshToken: [],
411
- scope: (_) => smithyClient._json(_),
412
- }));
413
- b.m("POST").h(headers).b(body);
414
- return b.build();
415
360
  };
416
- const se_CreateTokenWithIAMCommand = async (input, context) => {
417
- const b = core.requestBuilder(input, context);
418
- const headers = {
419
- "content-type": "application/json",
420
- };
421
- b.bp("/token");
422
- const query = smithyClient.map({
423
- [_ai]: [, "t"],
424
- });
425
- let body;
426
- body = JSON.stringify(smithyClient.take(input, {
427
- assertion: [],
428
- clientId: [],
429
- code: [],
430
- codeVerifier: [],
431
- grantType: [],
432
- redirectUri: [],
433
- refreshToken: [],
434
- requestedTokenType: [],
435
- scope: (_) => smithyClient._json(_),
436
- subjectToken: [],
437
- subjectTokenType: [],
438
- }));
439
- b.m("POST").h(headers).q(query).b(body);
440
- return b.build();
441
- };
442
- const se_RegisterClientCommand = async (input, context) => {
443
- const b = core.requestBuilder(input, context);
444
- const headers = {
445
- "content-type": "application/json",
446
- };
447
- b.bp("/client/register");
448
- let body;
449
- body = JSON.stringify(smithyClient.take(input, {
450
- clientName: [],
451
- clientType: [],
452
- entitledApplicationArn: [],
453
- grantTypes: (_) => smithyClient._json(_),
454
- issuerUrl: [],
455
- redirectUris: (_) => smithyClient._json(_),
456
- scopes: (_) => smithyClient._json(_),
457
- }));
458
- b.m("POST").h(headers).b(body);
459
- return b.build();
460
- };
461
- const se_StartDeviceAuthorizationCommand = async (input, context) => {
462
- const b = core.requestBuilder(input, context);
463
- const headers = {
464
- "content-type": "application/json",
465
- };
466
- b.bp("/device_authorization");
467
- let body;
468
- body = JSON.stringify(smithyClient.take(input, {
469
- clientId: [],
470
- clientSecret: [],
471
- startUrl: [],
472
- }));
473
- b.m("POST").h(headers).b(body);
474
- return b.build();
475
- };
476
- const de_CreateTokenCommand = async (output, context) => {
477
- if (output.statusCode !== 200 && output.statusCode >= 300) {
478
- return de_CommandError(output, context);
479
- }
480
- const contents = smithyClient.map({
481
- $metadata: deserializeMetadata(output),
482
- });
483
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
484
- const doc = smithyClient.take(data, {
485
- accessToken: smithyClient.expectString,
486
- expiresIn: smithyClient.expectInt32,
487
- idToken: smithyClient.expectString,
488
- refreshToken: smithyClient.expectString,
489
- tokenType: smithyClient.expectString,
490
- });
491
- Object.assign(contents, doc);
492
- return contents;
493
- };
494
- const de_CreateTokenWithIAMCommand = async (output, context) => {
495
- if (output.statusCode !== 200 && output.statusCode >= 300) {
496
- return de_CommandError(output, context);
497
- }
498
- const contents = smithyClient.map({
499
- $metadata: deserializeMetadata(output),
500
- });
501
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
502
- const doc = smithyClient.take(data, {
503
- accessToken: smithyClient.expectString,
504
- awsAdditionalDetails: smithyClient._json,
505
- expiresIn: smithyClient.expectInt32,
506
- idToken: smithyClient.expectString,
507
- issuedTokenType: smithyClient.expectString,
508
- refreshToken: smithyClient.expectString,
509
- scope: smithyClient._json,
510
- tokenType: smithyClient.expectString,
511
- });
512
- Object.assign(contents, doc);
513
- return contents;
514
- };
515
- const de_RegisterClientCommand = async (output, context) => {
516
- if (output.statusCode !== 200 && output.statusCode >= 300) {
517
- return de_CommandError(output, context);
518
- }
519
- const contents = smithyClient.map({
520
- $metadata: deserializeMetadata(output),
521
- });
522
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
523
- const doc = smithyClient.take(data, {
524
- authorizationEndpoint: smithyClient.expectString,
525
- clientId: smithyClient.expectString,
526
- clientIdIssuedAt: smithyClient.expectLong,
527
- clientSecret: smithyClient.expectString,
528
- clientSecretExpiresAt: smithyClient.expectLong,
529
- tokenEndpoint: smithyClient.expectString,
530
- });
531
- Object.assign(contents, doc);
532
- return contents;
533
- };
534
- const de_StartDeviceAuthorizationCommand = async (output, context) => {
535
- if (output.statusCode !== 200 && output.statusCode >= 300) {
536
- return de_CommandError(output, context);
537
- }
538
- const contents = smithyClient.map({
539
- $metadata: deserializeMetadata(output),
540
- });
541
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
542
- const doc = smithyClient.take(data, {
543
- deviceCode: smithyClient.expectString,
544
- expiresIn: smithyClient.expectInt32,
545
- interval: smithyClient.expectInt32,
546
- userCode: smithyClient.expectString,
547
- verificationUri: smithyClient.expectString,
548
- verificationUriComplete: smithyClient.expectString,
549
- });
550
- Object.assign(contents, doc);
551
- return contents;
552
- };
553
- const de_CommandError = async (output, context) => {
554
- const parsedOutput = {
555
- ...output,
556
- body: await core$1.parseJsonErrorBody(output.body, context),
557
- };
558
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
559
- switch (errorCode) {
560
- case "AccessDeniedException":
561
- case "com.amazonaws.ssooidc#AccessDeniedException":
562
- throw await de_AccessDeniedExceptionRes(parsedOutput);
563
- case "AuthorizationPendingException":
564
- case "com.amazonaws.ssooidc#AuthorizationPendingException":
565
- throw await de_AuthorizationPendingExceptionRes(parsedOutput);
566
- case "ExpiredTokenException":
567
- case "com.amazonaws.ssooidc#ExpiredTokenException":
568
- throw await de_ExpiredTokenExceptionRes(parsedOutput);
569
- case "InternalServerException":
570
- case "com.amazonaws.ssooidc#InternalServerException":
571
- throw await de_InternalServerExceptionRes(parsedOutput);
572
- case "InvalidClientException":
573
- case "com.amazonaws.ssooidc#InvalidClientException":
574
- throw await de_InvalidClientExceptionRes(parsedOutput);
575
- case "InvalidGrantException":
576
- case "com.amazonaws.ssooidc#InvalidGrantException":
577
- throw await de_InvalidGrantExceptionRes(parsedOutput);
578
- case "InvalidRequestException":
579
- case "com.amazonaws.ssooidc#InvalidRequestException":
580
- throw await de_InvalidRequestExceptionRes(parsedOutput);
581
- case "InvalidScopeException":
582
- case "com.amazonaws.ssooidc#InvalidScopeException":
583
- throw await de_InvalidScopeExceptionRes(parsedOutput);
584
- case "SlowDownException":
585
- case "com.amazonaws.ssooidc#SlowDownException":
586
- throw await de_SlowDownExceptionRes(parsedOutput);
587
- case "UnauthorizedClientException":
588
- case "com.amazonaws.ssooidc#UnauthorizedClientException":
589
- throw await de_UnauthorizedClientExceptionRes(parsedOutput);
590
- case "UnsupportedGrantTypeException":
591
- case "com.amazonaws.ssooidc#UnsupportedGrantTypeException":
592
- throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput);
593
- case "InvalidRequestRegionException":
594
- case "com.amazonaws.ssooidc#InvalidRequestRegionException":
595
- throw await de_InvalidRequestRegionExceptionRes(parsedOutput);
596
- case "InvalidClientMetadataException":
597
- case "com.amazonaws.ssooidc#InvalidClientMetadataException":
598
- throw await de_InvalidClientMetadataExceptionRes(parsedOutput);
599
- case "InvalidRedirectUriException":
600
- case "com.amazonaws.ssooidc#InvalidRedirectUriException":
601
- throw await de_InvalidRedirectUriExceptionRes(parsedOutput);
602
- default:
603
- const parsedBody = parsedOutput.body;
604
- return throwDefaultError({
605
- output,
606
- parsedBody,
607
- errorCode,
608
- });
609
- }
610
- };
611
- const throwDefaultError = smithyClient.withBaseException(SSOOIDCServiceException);
612
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
613
- const contents = smithyClient.map({});
614
- const data = parsedOutput.body;
615
- const doc = smithyClient.take(data, {
616
- error: smithyClient.expectString,
617
- error_description: smithyClient.expectString,
618
- reason: smithyClient.expectString,
619
- });
620
- Object.assign(contents, doc);
621
- const exception = new AccessDeniedException({
622
- $metadata: deserializeMetadata(parsedOutput),
623
- ...contents,
624
- });
625
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
626
- };
627
- const de_AuthorizationPendingExceptionRes = async (parsedOutput, context) => {
628
- const contents = smithyClient.map({});
629
- const data = parsedOutput.body;
630
- const doc = smithyClient.take(data, {
631
- error: smithyClient.expectString,
632
- error_description: smithyClient.expectString,
633
- });
634
- Object.assign(contents, doc);
635
- const exception = new AuthorizationPendingException({
636
- $metadata: deserializeMetadata(parsedOutput),
637
- ...contents,
638
- });
639
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
640
- };
641
- const de_ExpiredTokenExceptionRes = async (parsedOutput, context) => {
642
- const contents = smithyClient.map({});
643
- const data = parsedOutput.body;
644
- const doc = smithyClient.take(data, {
645
- error: smithyClient.expectString,
646
- error_description: smithyClient.expectString,
647
- });
648
- Object.assign(contents, doc);
649
- const exception = new ExpiredTokenException({
650
- $metadata: deserializeMetadata(parsedOutput),
651
- ...contents,
652
- });
653
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
654
- };
655
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
656
- const contents = smithyClient.map({});
657
- const data = parsedOutput.body;
658
- const doc = smithyClient.take(data, {
659
- error: smithyClient.expectString,
660
- error_description: smithyClient.expectString,
661
- });
662
- Object.assign(contents, doc);
663
- const exception = new InternalServerException({
664
- $metadata: deserializeMetadata(parsedOutput),
665
- ...contents,
666
- });
667
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
668
- };
669
- const de_InvalidClientExceptionRes = async (parsedOutput, context) => {
670
- const contents = smithyClient.map({});
671
- const data = parsedOutput.body;
672
- const doc = smithyClient.take(data, {
673
- error: smithyClient.expectString,
674
- error_description: smithyClient.expectString,
675
- });
676
- Object.assign(contents, doc);
677
- const exception = new InvalidClientException({
678
- $metadata: deserializeMetadata(parsedOutput),
679
- ...contents,
680
- });
681
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
682
- };
683
- const de_InvalidClientMetadataExceptionRes = async (parsedOutput, context) => {
684
- const contents = smithyClient.map({});
685
- const data = parsedOutput.body;
686
- const doc = smithyClient.take(data, {
687
- error: smithyClient.expectString,
688
- error_description: smithyClient.expectString,
689
- });
690
- Object.assign(contents, doc);
691
- const exception = new InvalidClientMetadataException({
692
- $metadata: deserializeMetadata(parsedOutput),
693
- ...contents,
694
- });
695
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
696
- };
697
- const de_InvalidGrantExceptionRes = async (parsedOutput, context) => {
698
- const contents = smithyClient.map({});
699
- const data = parsedOutput.body;
700
- const doc = smithyClient.take(data, {
701
- error: smithyClient.expectString,
702
- error_description: smithyClient.expectString,
703
- });
704
- Object.assign(contents, doc);
705
- const exception = new InvalidGrantException({
706
- $metadata: deserializeMetadata(parsedOutput),
707
- ...contents,
708
- });
709
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
710
- };
711
- const de_InvalidRedirectUriExceptionRes = async (parsedOutput, context) => {
712
- const contents = smithyClient.map({});
713
- const data = parsedOutput.body;
714
- const doc = smithyClient.take(data, {
715
- error: smithyClient.expectString,
716
- error_description: smithyClient.expectString,
717
- });
718
- Object.assign(contents, doc);
719
- const exception = new InvalidRedirectUriException({
720
- $metadata: deserializeMetadata(parsedOutput),
721
- ...contents,
722
- });
723
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
724
- };
725
- const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
726
- const contents = smithyClient.map({});
727
- const data = parsedOutput.body;
728
- const doc = smithyClient.take(data, {
729
- error: smithyClient.expectString,
730
- error_description: smithyClient.expectString,
731
- reason: smithyClient.expectString,
732
- });
733
- Object.assign(contents, doc);
734
- const exception = new InvalidRequestException({
735
- $metadata: deserializeMetadata(parsedOutput),
736
- ...contents,
737
- });
738
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
739
- };
740
- const de_InvalidRequestRegionExceptionRes = async (parsedOutput, context) => {
741
- const contents = smithyClient.map({});
742
- const data = parsedOutput.body;
743
- const doc = smithyClient.take(data, {
744
- endpoint: smithyClient.expectString,
745
- error: smithyClient.expectString,
746
- error_description: smithyClient.expectString,
747
- region: smithyClient.expectString,
748
- });
749
- Object.assign(contents, doc);
750
- const exception = new InvalidRequestRegionException({
751
- $metadata: deserializeMetadata(parsedOutput),
752
- ...contents,
753
- });
754
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
755
- };
756
- const de_InvalidScopeExceptionRes = async (parsedOutput, context) => {
757
- const contents = smithyClient.map({});
758
- const data = parsedOutput.body;
759
- const doc = smithyClient.take(data, {
760
- error: smithyClient.expectString,
761
- error_description: smithyClient.expectString,
762
- });
763
- Object.assign(contents, doc);
764
- const exception = new InvalidScopeException({
765
- $metadata: deserializeMetadata(parsedOutput),
766
- ...contents,
767
- });
768
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
769
- };
770
- const de_SlowDownExceptionRes = async (parsedOutput, context) => {
771
- const contents = smithyClient.map({});
772
- const data = parsedOutput.body;
773
- const doc = smithyClient.take(data, {
774
- error: smithyClient.expectString,
775
- error_description: smithyClient.expectString,
776
- });
777
- Object.assign(contents, doc);
778
- const exception = new SlowDownException({
779
- $metadata: deserializeMetadata(parsedOutput),
780
- ...contents,
781
- });
782
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
783
- };
784
- const de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {
785
- const contents = smithyClient.map({});
786
- const data = parsedOutput.body;
787
- const doc = smithyClient.take(data, {
788
- error: smithyClient.expectString,
789
- error_description: smithyClient.expectString,
790
- });
791
- Object.assign(contents, doc);
792
- const exception = new UnauthorizedClientException({
793
- $metadata: deserializeMetadata(parsedOutput),
794
- ...contents,
795
- });
796
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
797
- };
798
- const de_UnsupportedGrantTypeExceptionRes = async (parsedOutput, context) => {
799
- const contents = smithyClient.map({});
800
- const data = parsedOutput.body;
801
- const doc = smithyClient.take(data, {
802
- error: smithyClient.expectString,
803
- error_description: smithyClient.expectString,
804
- });
805
- Object.assign(contents, doc);
806
- const exception = new UnsupportedGrantTypeException({
807
- $metadata: deserializeMetadata(parsedOutput),
808
- ...contents,
809
- });
810
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
811
- };
812
- const deserializeMetadata = (output) => ({
813
- httpStatusCode: output.statusCode,
814
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
815
- extendedRequestId: output.headers["x-amz-id-2"],
816
- cfId: output.headers["x-amz-cf-id"],
817
- });
818
- const _ai = "aws_iam";
361
+
362
+ const _A = "Assertion";
363
+ const _AAD = "AwsAdditionalDetails";
364
+ const _ADE = "AccessDeniedException";
365
+ const _APE = "AuthorizationPendingException";
366
+ const _AT = "AccessToken";
367
+ const _CS = "ClientSecret";
368
+ const _CT = "CreateToken";
369
+ const _CTR = "CreateTokenRequest";
370
+ const _CTRr = "CreateTokenResponse";
371
+ const _CTWIAM = "CreateTokenWithIAM";
372
+ const _CTWIAMR = "CreateTokenWithIAMRequest";
373
+ const _CTWIAMRr = "CreateTokenWithIAMResponse";
374
+ const _CV = "CodeVerifier";
375
+ const _ETE = "ExpiredTokenException";
376
+ const _ICE = "InvalidClientException";
377
+ const _ICME = "InvalidClientMetadataException";
378
+ const _IGE = "InvalidGrantException";
379
+ const _IRE = "InvalidRequestException";
380
+ const _IRRE = "InvalidRequestRegionException";
381
+ const _IRUE = "InvalidRedirectUriException";
382
+ const _ISE = "InternalServerException";
383
+ const _ISEn = "InvalidScopeException";
384
+ const _IT = "IdToken";
385
+ const _RC = "RegisterClient";
386
+ const _RCR = "RegisterClientRequest";
387
+ const _RCRe = "RegisterClientResponse";
388
+ const _RT = "RefreshToken";
389
+ const _SDA = "StartDeviceAuthorization";
390
+ const _SDAR = "StartDeviceAuthorizationRequest";
391
+ const _SDARt = "StartDeviceAuthorizationResponse";
392
+ const _SDE = "SlowDownException";
393
+ const _ST = "SubjectToken";
394
+ const _UCE = "UnauthorizedClientException";
395
+ const _UGTE = "UnsupportedGrantTypeException";
396
+ const _a = "assertion";
397
+ const _aAD = "awsAdditionalDetails";
398
+ const _aE = "authorizationEndpoint";
399
+ const _aT = "accessToken";
400
+ const _c = "client";
401
+ const _cI = "clientId";
402
+ const _cIIA = "clientIdIssuedAt";
403
+ const _cN = "clientName";
404
+ const _cS = "clientSecret";
405
+ const _cSEA = "clientSecretExpiresAt";
406
+ const _cT = "clientType";
407
+ const _cV = "codeVerifier";
408
+ const _co = "code";
409
+ const _dC = "deviceCode";
410
+ const _e = "error";
411
+ const _eAA = "entitledApplicationArn";
412
+ const _eI = "expiresIn";
413
+ const _ed = "error_description";
414
+ const _en = "endpoint";
415
+ const _gT = "grantType";
416
+ const _gTr = "grantTypes";
417
+ const _h = "http";
418
+ const _hE = "httpError";
419
+ const _i = "interval";
420
+ const _iC = "identityContext";
421
+ const _iT = "idToken";
422
+ const _iTT = "issuedTokenType";
423
+ const _iU = "issuerUrl";
424
+ const _r = "reason";
425
+ const _rT = "refreshToken";
426
+ const _rTT = "requestedTokenType";
427
+ const _rU = "redirectUri";
428
+ const _rUe = "redirectUris";
429
+ const _re = "region";
430
+ const _s = "scope";
431
+ const _sT = "subjectToken";
432
+ const _sTT = "subjectTokenType";
433
+ const _sU = "startUrl";
434
+ const _sc = "scopes";
435
+ const _se = "server";
436
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc";
437
+ const _tE = "tokenEndpoint";
438
+ const _tT = "tokenType";
439
+ const _uC = "userCode";
440
+ const _vU = "verificationUri";
441
+ const _vUC = "verificationUriComplete";
442
+ const n0 = "com.amazonaws.ssooidc";
443
+ var AccessToken = [0, n0, _AT, 8, 0];
444
+ var Assertion = [0, n0, _A, 8, 0];
445
+ var ClientSecret = [0, n0, _CS, 8, 0];
446
+ var CodeVerifier = [0, n0, _CV, 8, 0];
447
+ var IdToken = [0, n0, _IT, 8, 0];
448
+ var RefreshToken = [0, n0, _RT, 8, 0];
449
+ var SubjectToken = [0, n0, _ST, 8, 0];
450
+ var AccessDeniedException = [
451
+ -3,
452
+ n0,
453
+ _ADE,
454
+ {
455
+ [_e]: _c,
456
+ [_hE]: 400,
457
+ },
458
+ [_e, _r, _ed],
459
+ [0, 0, 0],
460
+ ];
461
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
462
+ var AuthorizationPendingException = [
463
+ -3,
464
+ n0,
465
+ _APE,
466
+ {
467
+ [_e]: _c,
468
+ [_hE]: 400,
469
+ },
470
+ [_e, _ed],
471
+ [0, 0],
472
+ ];
473
+ schema.TypeRegistry.for(n0).registerError(AuthorizationPendingException, AuthorizationPendingException$1);
474
+ var AwsAdditionalDetails = [3, n0, _AAD, 0, [_iC], [0]];
475
+ var CreateTokenRequest = [
476
+ 3,
477
+ n0,
478
+ _CTR,
479
+ 0,
480
+ [_cI, _cS, _gT, _dC, _co, _rT, _s, _rU, _cV],
481
+ [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]],
482
+ ];
483
+ var CreateTokenResponse = [
484
+ 3,
485
+ n0,
486
+ _CTRr,
487
+ 0,
488
+ [_aT, _tT, _eI, _rT, _iT],
489
+ [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]],
490
+ ];
491
+ var CreateTokenWithIAMRequest = [
492
+ 3,
493
+ n0,
494
+ _CTWIAMR,
495
+ 0,
496
+ [_cI, _gT, _co, _rT, _a, _s, _rU, _sT, _sTT, _rTT, _cV],
497
+ [
498
+ 0,
499
+ 0,
500
+ 0,
501
+ [() => RefreshToken, 0],
502
+ [() => Assertion, 0],
503
+ 64 | 0,
504
+ 0,
505
+ [() => SubjectToken, 0],
506
+ 0,
507
+ 0,
508
+ [() => CodeVerifier, 0],
509
+ ],
510
+ ];
511
+ var CreateTokenWithIAMResponse = [
512
+ 3,
513
+ n0,
514
+ _CTWIAMRr,
515
+ 0,
516
+ [_aT, _tT, _eI, _rT, _iT, _iTT, _s, _aAD],
517
+ [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0], 0, 64 | 0, () => AwsAdditionalDetails],
518
+ ];
519
+ var ExpiredTokenException = [
520
+ -3,
521
+ n0,
522
+ _ETE,
523
+ {
524
+ [_e]: _c,
525
+ [_hE]: 400,
526
+ },
527
+ [_e, _ed],
528
+ [0, 0],
529
+ ];
530
+ schema.TypeRegistry.for(n0).registerError(ExpiredTokenException, ExpiredTokenException$1);
531
+ var InternalServerException = [
532
+ -3,
533
+ n0,
534
+ _ISE,
535
+ {
536
+ [_e]: _se,
537
+ [_hE]: 500,
538
+ },
539
+ [_e, _ed],
540
+ [0, 0],
541
+ ];
542
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
543
+ var InvalidClientException = [
544
+ -3,
545
+ n0,
546
+ _ICE,
547
+ {
548
+ [_e]: _c,
549
+ [_hE]: 401,
550
+ },
551
+ [_e, _ed],
552
+ [0, 0],
553
+ ];
554
+ schema.TypeRegistry.for(n0).registerError(InvalidClientException, InvalidClientException$1);
555
+ var InvalidClientMetadataException = [
556
+ -3,
557
+ n0,
558
+ _ICME,
559
+ {
560
+ [_e]: _c,
561
+ [_hE]: 400,
562
+ },
563
+ [_e, _ed],
564
+ [0, 0],
565
+ ];
566
+ schema.TypeRegistry.for(n0).registerError(InvalidClientMetadataException, InvalidClientMetadataException$1);
567
+ var InvalidGrantException = [
568
+ -3,
569
+ n0,
570
+ _IGE,
571
+ {
572
+ [_e]: _c,
573
+ [_hE]: 400,
574
+ },
575
+ [_e, _ed],
576
+ [0, 0],
577
+ ];
578
+ schema.TypeRegistry.for(n0).registerError(InvalidGrantException, InvalidGrantException$1);
579
+ var InvalidRedirectUriException = [
580
+ -3,
581
+ n0,
582
+ _IRUE,
583
+ {
584
+ [_e]: _c,
585
+ [_hE]: 400,
586
+ },
587
+ [_e, _ed],
588
+ [0, 0],
589
+ ];
590
+ schema.TypeRegistry.for(n0).registerError(InvalidRedirectUriException, InvalidRedirectUriException$1);
591
+ var InvalidRequestException = [
592
+ -3,
593
+ n0,
594
+ _IRE,
595
+ {
596
+ [_e]: _c,
597
+ [_hE]: 400,
598
+ },
599
+ [_e, _r, _ed],
600
+ [0, 0, 0],
601
+ ];
602
+ schema.TypeRegistry.for(n0).registerError(InvalidRequestException, InvalidRequestException$1);
603
+ var InvalidRequestRegionException = [
604
+ -3,
605
+ n0,
606
+ _IRRE,
607
+ {
608
+ [_e]: _c,
609
+ [_hE]: 400,
610
+ },
611
+ [_e, _ed, _en, _re],
612
+ [0, 0, 0, 0],
613
+ ];
614
+ schema.TypeRegistry.for(n0).registerError(InvalidRequestRegionException, InvalidRequestRegionException$1);
615
+ var InvalidScopeException = [
616
+ -3,
617
+ n0,
618
+ _ISEn,
619
+ {
620
+ [_e]: _c,
621
+ [_hE]: 400,
622
+ },
623
+ [_e, _ed],
624
+ [0, 0],
625
+ ];
626
+ schema.TypeRegistry.for(n0).registerError(InvalidScopeException, InvalidScopeException$1);
627
+ var RegisterClientRequest = [
628
+ 3,
629
+ n0,
630
+ _RCR,
631
+ 0,
632
+ [_cN, _cT, _sc, _rUe, _gTr, _iU, _eAA],
633
+ [0, 0, 64 | 0, 64 | 0, 64 | 0, 0, 0],
634
+ ];
635
+ var RegisterClientResponse = [
636
+ 3,
637
+ n0,
638
+ _RCRe,
639
+ 0,
640
+ [_cI, _cS, _cIIA, _cSEA, _aE, _tE],
641
+ [0, [() => ClientSecret, 0], 1, 1, 0, 0],
642
+ ];
643
+ var SlowDownException = [
644
+ -3,
645
+ n0,
646
+ _SDE,
647
+ {
648
+ [_e]: _c,
649
+ [_hE]: 400,
650
+ },
651
+ [_e, _ed],
652
+ [0, 0],
653
+ ];
654
+ schema.TypeRegistry.for(n0).registerError(SlowDownException, SlowDownException$1);
655
+ var StartDeviceAuthorizationRequest = [
656
+ 3,
657
+ n0,
658
+ _SDAR,
659
+ 0,
660
+ [_cI, _cS, _sU],
661
+ [0, [() => ClientSecret, 0], 0],
662
+ ];
663
+ var StartDeviceAuthorizationResponse = [
664
+ 3,
665
+ n0,
666
+ _SDARt,
667
+ 0,
668
+ [_dC, _uC, _vU, _vUC, _eI, _i],
669
+ [0, 0, 0, 0, 1, 1],
670
+ ];
671
+ var UnauthorizedClientException = [
672
+ -3,
673
+ n0,
674
+ _UCE,
675
+ {
676
+ [_e]: _c,
677
+ [_hE]: 400,
678
+ },
679
+ [_e, _ed],
680
+ [0, 0],
681
+ ];
682
+ schema.TypeRegistry.for(n0).registerError(UnauthorizedClientException, UnauthorizedClientException$1);
683
+ var UnsupportedGrantTypeException = [
684
+ -3,
685
+ n0,
686
+ _UGTE,
687
+ {
688
+ [_e]: _c,
689
+ [_hE]: 400,
690
+ },
691
+ [_e, _ed],
692
+ [0, 0],
693
+ ];
694
+ schema.TypeRegistry.for(n0).registerError(UnsupportedGrantTypeException, UnsupportedGrantTypeException$1);
695
+ var SSOOIDCServiceException = [-3, _sm, "SSOOIDCServiceException", 0, [], []];
696
+ schema.TypeRegistry.for(_sm).registerError(SSOOIDCServiceException, SSOOIDCServiceException$1);
697
+ var CreateToken = [
698
+ 9,
699
+ n0,
700
+ _CT,
701
+ {
702
+ [_h]: ["POST", "/token", 200],
703
+ },
704
+ () => CreateTokenRequest,
705
+ () => CreateTokenResponse,
706
+ ];
707
+ var CreateTokenWithIAM = [
708
+ 9,
709
+ n0,
710
+ _CTWIAM,
711
+ {
712
+ [_h]: ["POST", "/token?aws_iam=t", 200],
713
+ },
714
+ () => CreateTokenWithIAMRequest,
715
+ () => CreateTokenWithIAMResponse,
716
+ ];
717
+ var RegisterClient = [
718
+ 9,
719
+ n0,
720
+ _RC,
721
+ {
722
+ [_h]: ["POST", "/client/register", 200],
723
+ },
724
+ () => RegisterClientRequest,
725
+ () => RegisterClientResponse,
726
+ ];
727
+ var StartDeviceAuthorization = [
728
+ 9,
729
+ n0,
730
+ _SDA,
731
+ {
732
+ [_h]: ["POST", "/device_authorization", 200],
733
+ },
734
+ () => StartDeviceAuthorizationRequest,
735
+ () => StartDeviceAuthorizationResponse,
736
+ ];
819
737
 
820
738
  class CreateTokenCommand extends smithyClient.Command
821
739
  .classBuilder()
822
740
  .ep(commonParams)
823
741
  .m(function (Command, cs, config, o) {
824
- return [
825
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
826
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
827
- ];
742
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
828
743
  })
829
744
  .s("AWSSSOOIDCService", "CreateToken", {})
830
745
  .n("SSOOIDCClient", "CreateTokenCommand")
831
- .f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog)
832
- .ser(se_CreateTokenCommand)
833
- .de(de_CreateTokenCommand)
746
+ .sc(CreateToken)
834
747
  .build() {
835
748
  }
836
749
 
@@ -838,16 +751,11 @@ class CreateTokenWithIAMCommand extends smithyClient.Command
838
751
  .classBuilder()
839
752
  .ep(commonParams)
840
753
  .m(function (Command, cs, config, o) {
841
- return [
842
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
843
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
844
- ];
754
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
845
755
  })
846
756
  .s("AWSSSOOIDCService", "CreateTokenWithIAM", {})
847
757
  .n("SSOOIDCClient", "CreateTokenWithIAMCommand")
848
- .f(CreateTokenWithIAMRequestFilterSensitiveLog, CreateTokenWithIAMResponseFilterSensitiveLog)
849
- .ser(se_CreateTokenWithIAMCommand)
850
- .de(de_CreateTokenWithIAMCommand)
758
+ .sc(CreateTokenWithIAM)
851
759
  .build() {
852
760
  }
853
761
 
@@ -855,16 +763,11 @@ class RegisterClientCommand extends smithyClient.Command
855
763
  .classBuilder()
856
764
  .ep(commonParams)
857
765
  .m(function (Command, cs, config, o) {
858
- return [
859
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
860
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
861
- ];
766
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
862
767
  })
863
768
  .s("AWSSSOOIDCService", "RegisterClient", {})
864
769
  .n("SSOOIDCClient", "RegisterClientCommand")
865
- .f(void 0, RegisterClientResponseFilterSensitiveLog)
866
- .ser(se_RegisterClientCommand)
867
- .de(de_RegisterClientCommand)
770
+ .sc(RegisterClient)
868
771
  .build() {
869
772
  }
870
773
 
@@ -872,16 +775,11 @@ class StartDeviceAuthorizationCommand extends smithyClient.Command
872
775
  .classBuilder()
873
776
  .ep(commonParams)
874
777
  .m(function (Command, cs, config, o) {
875
- return [
876
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
877
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
878
- ];
778
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
879
779
  })
880
780
  .s("AWSSSOOIDCService", "StartDeviceAuthorization", {})
881
781
  .n("SSOOIDCClient", "StartDeviceAuthorizationCommand")
882
- .f(StartDeviceAuthorizationRequestFilterSensitiveLog, void 0)
883
- .ser(se_StartDeviceAuthorizationCommand)
884
- .de(de_StartDeviceAuthorizationCommand)
782
+ .sc(StartDeviceAuthorization)
885
783
  .build() {
886
784
  }
887
785
 
@@ -903,32 +801,26 @@ Object.defineProperty(exports, "__Client", {
903
801
  enumerable: true,
904
802
  get: function () { return smithyClient.Client; }
905
803
  });
906
- exports.AccessDeniedException = AccessDeniedException;
804
+ exports.AccessDeniedException = AccessDeniedException$1;
907
805
  exports.AccessDeniedExceptionReason = AccessDeniedExceptionReason;
908
- exports.AuthorizationPendingException = AuthorizationPendingException;
806
+ exports.AuthorizationPendingException = AuthorizationPendingException$1;
909
807
  exports.CreateTokenCommand = CreateTokenCommand;
910
- exports.CreateTokenRequestFilterSensitiveLog = CreateTokenRequestFilterSensitiveLog;
911
- exports.CreateTokenResponseFilterSensitiveLog = CreateTokenResponseFilterSensitiveLog;
912
808
  exports.CreateTokenWithIAMCommand = CreateTokenWithIAMCommand;
913
- exports.CreateTokenWithIAMRequestFilterSensitiveLog = CreateTokenWithIAMRequestFilterSensitiveLog;
914
- exports.CreateTokenWithIAMResponseFilterSensitiveLog = CreateTokenWithIAMResponseFilterSensitiveLog;
915
- exports.ExpiredTokenException = ExpiredTokenException;
916
- exports.InternalServerException = InternalServerException;
917
- exports.InvalidClientException = InvalidClientException;
918
- exports.InvalidClientMetadataException = InvalidClientMetadataException;
919
- exports.InvalidGrantException = InvalidGrantException;
920
- exports.InvalidRedirectUriException = InvalidRedirectUriException;
921
- exports.InvalidRequestException = InvalidRequestException;
809
+ exports.ExpiredTokenException = ExpiredTokenException$1;
810
+ exports.InternalServerException = InternalServerException$1;
811
+ exports.InvalidClientException = InvalidClientException$1;
812
+ exports.InvalidClientMetadataException = InvalidClientMetadataException$1;
813
+ exports.InvalidGrantException = InvalidGrantException$1;
814
+ exports.InvalidRedirectUriException = InvalidRedirectUriException$1;
815
+ exports.InvalidRequestException = InvalidRequestException$1;
922
816
  exports.InvalidRequestExceptionReason = InvalidRequestExceptionReason;
923
- exports.InvalidRequestRegionException = InvalidRequestRegionException;
924
- exports.InvalidScopeException = InvalidScopeException;
817
+ exports.InvalidRequestRegionException = InvalidRequestRegionException$1;
818
+ exports.InvalidScopeException = InvalidScopeException$1;
925
819
  exports.RegisterClientCommand = RegisterClientCommand;
926
- exports.RegisterClientResponseFilterSensitiveLog = RegisterClientResponseFilterSensitiveLog;
927
820
  exports.SSOOIDC = SSOOIDC;
928
821
  exports.SSOOIDCClient = SSOOIDCClient;
929
- exports.SSOOIDCServiceException = SSOOIDCServiceException;
930
- exports.SlowDownException = SlowDownException;
822
+ exports.SSOOIDCServiceException = SSOOIDCServiceException$1;
823
+ exports.SlowDownException = SlowDownException$1;
931
824
  exports.StartDeviceAuthorizationCommand = StartDeviceAuthorizationCommand;
932
- exports.StartDeviceAuthorizationRequestFilterSensitiveLog = StartDeviceAuthorizationRequestFilterSensitiveLog;
933
- exports.UnauthorizedClientException = UnauthorizedClientException;
934
- exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException;
825
+ exports.UnauthorizedClientException = UnauthorizedClientException$1;
826
+ exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException$1;