@aws-sdk/client-cognito-identity-provider 3.45.0 → 3.47.2
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/CHANGELOG.md +45 -0
- package/dist-cjs/endpoints.js +0 -20
- package/dist-cjs/models/models_0.js +6 -240
- package/dist-cjs/models/models_1.js +1 -7
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +0 -20
- package/dist-es/models/models_0.js +0 -156
- package/dist-es/models/models_1.js +0 -4
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/CognitoIdentityProviderClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -234
- package/dist-types/models/models_1.d.ts +0 -6
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -156
- package/dist-types/ts3.4/models/models_1.d.ts +0 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -328,12 +328,6 @@ export interface InternalErrorException extends __SmithyException, $MetadataBear
|
|
|
328
328
|
*/
|
|
329
329
|
message?: string;
|
|
330
330
|
}
|
|
331
|
-
export declare namespace InternalErrorException {
|
|
332
|
-
/**
|
|
333
|
-
* @internal
|
|
334
|
-
*/
|
|
335
|
-
const filterSensitiveLog: (obj: InternalErrorException) => any;
|
|
336
|
-
}
|
|
337
331
|
/**
|
|
338
332
|
* <p>This exception is thrown when the Amazon Cognito service encounters an invalid
|
|
339
333
|
* parameter.</p>
|
|
@@ -347,12 +341,6 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
347
341
|
*/
|
|
348
342
|
message?: string;
|
|
349
343
|
}
|
|
350
|
-
export declare namespace InvalidParameterException {
|
|
351
|
-
/**
|
|
352
|
-
* @internal
|
|
353
|
-
*/
|
|
354
|
-
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
355
|
-
}
|
|
356
344
|
/**
|
|
357
345
|
* <p>This exception is thrown when a user is not authorized.</p>
|
|
358
346
|
*/
|
|
@@ -365,12 +353,6 @@ export interface NotAuthorizedException extends __SmithyException, $MetadataBear
|
|
|
365
353
|
*/
|
|
366
354
|
message?: string;
|
|
367
355
|
}
|
|
368
|
-
export declare namespace NotAuthorizedException {
|
|
369
|
-
/**
|
|
370
|
-
* @internal
|
|
371
|
-
*/
|
|
372
|
-
const filterSensitiveLog: (obj: NotAuthorizedException) => any;
|
|
373
|
-
}
|
|
374
356
|
/**
|
|
375
357
|
* <p>This exception is thrown when the Amazon Cognito service cannot find the requested
|
|
376
358
|
* resource.</p>
|
|
@@ -384,12 +366,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
384
366
|
*/
|
|
385
367
|
message?: string;
|
|
386
368
|
}
|
|
387
|
-
export declare namespace ResourceNotFoundException {
|
|
388
|
-
/**
|
|
389
|
-
* @internal
|
|
390
|
-
*/
|
|
391
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
392
|
-
}
|
|
393
369
|
/**
|
|
394
370
|
* <p>This exception is thrown when the user has made too many requests for a given
|
|
395
371
|
* operation.</p>
|
|
@@ -403,12 +379,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
|
|
|
403
379
|
*/
|
|
404
380
|
message?: string;
|
|
405
381
|
}
|
|
406
|
-
export declare namespace TooManyRequestsException {
|
|
407
|
-
/**
|
|
408
|
-
* @internal
|
|
409
|
-
*/
|
|
410
|
-
const filterSensitiveLog: (obj: TooManyRequestsException) => any;
|
|
411
|
-
}
|
|
412
382
|
/**
|
|
413
383
|
* <p>This exception is thrown when you are trying to modify a user pool while a user import
|
|
414
384
|
* job is in progress for that pool.</p>
|
|
@@ -421,12 +391,6 @@ export interface UserImportInProgressException extends __SmithyException, $Metad
|
|
|
421
391
|
*/
|
|
422
392
|
message?: string;
|
|
423
393
|
}
|
|
424
|
-
export declare namespace UserImportInProgressException {
|
|
425
|
-
/**
|
|
426
|
-
* @internal
|
|
427
|
-
*/
|
|
428
|
-
const filterSensitiveLog: (obj: UserImportInProgressException) => any;
|
|
429
|
-
}
|
|
430
394
|
export interface AdminAddUserToGroupRequest {
|
|
431
395
|
/**
|
|
432
396
|
* <p>The user pool ID for the user pool.</p>
|
|
@@ -458,12 +422,6 @@ export interface UserNotFoundException extends __SmithyException, $MetadataBeare
|
|
|
458
422
|
*/
|
|
459
423
|
message?: string;
|
|
460
424
|
}
|
|
461
|
-
export declare namespace UserNotFoundException {
|
|
462
|
-
/**
|
|
463
|
-
* @internal
|
|
464
|
-
*/
|
|
465
|
-
const filterSensitiveLog: (obj: UserNotFoundException) => any;
|
|
466
|
-
}
|
|
467
425
|
/**
|
|
468
426
|
* <p>Represents the request to confirm user registration.</p>
|
|
469
427
|
*/
|
|
@@ -543,12 +501,6 @@ export interface InvalidLambdaResponseException extends __SmithyException, $Meta
|
|
|
543
501
|
*/
|
|
544
502
|
message?: string;
|
|
545
503
|
}
|
|
546
|
-
export declare namespace InvalidLambdaResponseException {
|
|
547
|
-
/**
|
|
548
|
-
* @internal
|
|
549
|
-
*/
|
|
550
|
-
const filterSensitiveLog: (obj: InvalidLambdaResponseException) => any;
|
|
551
|
-
}
|
|
552
504
|
/**
|
|
553
505
|
* <p>This exception is thrown when a user exceeds the limit for a requested Amazon Web Services
|
|
554
506
|
* resource.</p>
|
|
@@ -561,12 +513,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
561
513
|
*/
|
|
562
514
|
message?: string;
|
|
563
515
|
}
|
|
564
|
-
export declare namespace LimitExceededException {
|
|
565
|
-
/**
|
|
566
|
-
* @internal
|
|
567
|
-
*/
|
|
568
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
569
|
-
}
|
|
570
516
|
/**
|
|
571
517
|
* <p>This exception is thrown when the user has made too many failed attempts for a given
|
|
572
518
|
* action (e.g., sign in).</p>
|
|
@@ -580,12 +526,6 @@ export interface TooManyFailedAttemptsException extends __SmithyException, $Meta
|
|
|
580
526
|
*/
|
|
581
527
|
message?: string;
|
|
582
528
|
}
|
|
583
|
-
export declare namespace TooManyFailedAttemptsException {
|
|
584
|
-
/**
|
|
585
|
-
* @internal
|
|
586
|
-
*/
|
|
587
|
-
const filterSensitiveLog: (obj: TooManyFailedAttemptsException) => any;
|
|
588
|
-
}
|
|
589
529
|
/**
|
|
590
530
|
* <p>This exception is thrown when the Amazon Cognito service encounters an unexpected
|
|
591
531
|
* exception with the Lambda service.</p>
|
|
@@ -599,12 +539,6 @@ export interface UnexpectedLambdaException extends __SmithyException, $MetadataB
|
|
|
599
539
|
*/
|
|
600
540
|
message?: string;
|
|
601
541
|
}
|
|
602
|
-
export declare namespace UnexpectedLambdaException {
|
|
603
|
-
/**
|
|
604
|
-
* @internal
|
|
605
|
-
*/
|
|
606
|
-
const filterSensitiveLog: (obj: UnexpectedLambdaException) => any;
|
|
607
|
-
}
|
|
608
542
|
/**
|
|
609
543
|
* <p>This exception is thrown when the Amazon Cognito service encounters a user validation
|
|
610
544
|
* exception with the Lambda service.</p>
|
|
@@ -618,12 +552,6 @@ export interface UserLambdaValidationException extends __SmithyException, $Metad
|
|
|
618
552
|
*/
|
|
619
553
|
message?: string;
|
|
620
554
|
}
|
|
621
|
-
export declare namespace UserLambdaValidationException {
|
|
622
|
-
/**
|
|
623
|
-
* @internal
|
|
624
|
-
*/
|
|
625
|
-
const filterSensitiveLog: (obj: UserLambdaValidationException) => any;
|
|
626
|
-
}
|
|
627
555
|
export declare enum DeliveryMediumType {
|
|
628
556
|
EMAIL = "EMAIL",
|
|
629
557
|
SMS = "SMS"
|
|
@@ -922,12 +850,6 @@ export interface CodeDeliveryFailureException extends __SmithyException, $Metada
|
|
|
922
850
|
*/
|
|
923
851
|
message?: string;
|
|
924
852
|
}
|
|
925
|
-
export declare namespace CodeDeliveryFailureException {
|
|
926
|
-
/**
|
|
927
|
-
* @internal
|
|
928
|
-
*/
|
|
929
|
-
const filterSensitiveLog: (obj: CodeDeliveryFailureException) => any;
|
|
930
|
-
}
|
|
931
853
|
/**
|
|
932
854
|
* <p>This exception is thrown when the Amazon Cognito service encounters an invalid
|
|
933
855
|
* password.</p>
|
|
@@ -941,12 +863,6 @@ export interface InvalidPasswordException extends __SmithyException, $MetadataBe
|
|
|
941
863
|
*/
|
|
942
864
|
message?: string;
|
|
943
865
|
}
|
|
944
|
-
export declare namespace InvalidPasswordException {
|
|
945
|
-
/**
|
|
946
|
-
* @internal
|
|
947
|
-
*/
|
|
948
|
-
const filterSensitiveLog: (obj: InvalidPasswordException) => any;
|
|
949
|
-
}
|
|
950
866
|
/**
|
|
951
867
|
* <p>This exception is returned when the role provided for SMS configuration does not have
|
|
952
868
|
* permission to publish using Amazon SNS.</p>
|
|
@@ -960,12 +876,6 @@ export interface InvalidSmsRoleAccessPolicyException extends __SmithyException,
|
|
|
960
876
|
*/
|
|
961
877
|
message?: string;
|
|
962
878
|
}
|
|
963
|
-
export declare namespace InvalidSmsRoleAccessPolicyException {
|
|
964
|
-
/**
|
|
965
|
-
* @internal
|
|
966
|
-
*/
|
|
967
|
-
const filterSensitiveLog: (obj: InvalidSmsRoleAccessPolicyException) => any;
|
|
968
|
-
}
|
|
969
879
|
/**
|
|
970
880
|
* <p>This exception is thrown when the trust relationship is invalid for the role provided
|
|
971
881
|
* for SMS configuration. This can happen if you do not trust <code>cognito-idp.amazonaws.com</code> or the external ID provided in the role does
|
|
@@ -980,12 +890,6 @@ export interface InvalidSmsRoleTrustRelationshipException extends __SmithyExcept
|
|
|
980
890
|
*/
|
|
981
891
|
message?: string;
|
|
982
892
|
}
|
|
983
|
-
export declare namespace InvalidSmsRoleTrustRelationshipException {
|
|
984
|
-
/**
|
|
985
|
-
* @internal
|
|
986
|
-
*/
|
|
987
|
-
const filterSensitiveLog: (obj: InvalidSmsRoleTrustRelationshipException) => any;
|
|
988
|
-
}
|
|
989
893
|
/**
|
|
990
894
|
* <p>This exception is thrown when a precondition is not met.</p>
|
|
991
895
|
*/
|
|
@@ -997,12 +901,6 @@ export interface PreconditionNotMetException extends __SmithyException, $Metadat
|
|
|
997
901
|
*/
|
|
998
902
|
message?: string;
|
|
999
903
|
}
|
|
1000
|
-
export declare namespace PreconditionNotMetException {
|
|
1001
|
-
/**
|
|
1002
|
-
* @internal
|
|
1003
|
-
*/
|
|
1004
|
-
const filterSensitiveLog: (obj: PreconditionNotMetException) => any;
|
|
1005
|
-
}
|
|
1006
904
|
/**
|
|
1007
905
|
* <p>The request failed because the user is in an unsupported state.</p>
|
|
1008
906
|
*/
|
|
@@ -1014,12 +912,6 @@ export interface UnsupportedUserStateException extends __SmithyException, $Metad
|
|
|
1014
912
|
*/
|
|
1015
913
|
message?: string;
|
|
1016
914
|
}
|
|
1017
|
-
export declare namespace UnsupportedUserStateException {
|
|
1018
|
-
/**
|
|
1019
|
-
* @internal
|
|
1020
|
-
*/
|
|
1021
|
-
const filterSensitiveLog: (obj: UnsupportedUserStateException) => any;
|
|
1022
|
-
}
|
|
1023
915
|
/**
|
|
1024
916
|
* <p>This exception is thrown when Amazon Cognito encounters a user name that already
|
|
1025
917
|
* exists in the user pool.</p>
|
|
@@ -1032,12 +924,6 @@ export interface UsernameExistsException extends __SmithyException, $MetadataBea
|
|
|
1032
924
|
*/
|
|
1033
925
|
message?: string;
|
|
1034
926
|
}
|
|
1035
|
-
export declare namespace UsernameExistsException {
|
|
1036
|
-
/**
|
|
1037
|
-
* @internal
|
|
1038
|
-
*/
|
|
1039
|
-
const filterSensitiveLog: (obj: UsernameExistsException) => any;
|
|
1040
|
-
}
|
|
1041
927
|
/**
|
|
1042
928
|
* <p>The message template structure.</p>
|
|
1043
929
|
*/
|
|
@@ -1213,12 +1099,6 @@ export interface AliasExistsException extends __SmithyException, $MetadataBearer
|
|
|
1213
1099
|
*/
|
|
1214
1100
|
message?: string;
|
|
1215
1101
|
}
|
|
1216
|
-
export declare namespace AliasExistsException {
|
|
1217
|
-
/**
|
|
1218
|
-
* @internal
|
|
1219
|
-
*/
|
|
1220
|
-
const filterSensitiveLog: (obj: AliasExistsException) => any;
|
|
1221
|
-
}
|
|
1222
1102
|
/**
|
|
1223
1103
|
* <p>Represents the request to disable the user as an administrator.</p>
|
|
1224
1104
|
*/
|
|
@@ -1315,12 +1195,6 @@ export interface InvalidUserPoolConfigurationException extends __SmithyException
|
|
|
1315
1195
|
*/
|
|
1316
1196
|
message?: string;
|
|
1317
1197
|
}
|
|
1318
|
-
export declare namespace InvalidUserPoolConfigurationException {
|
|
1319
|
-
/**
|
|
1320
|
-
* @internal
|
|
1321
|
-
*/
|
|
1322
|
-
const filterSensitiveLog: (obj: InvalidUserPoolConfigurationException) => any;
|
|
1323
|
-
}
|
|
1324
1198
|
/**
|
|
1325
1199
|
* <p>Represents the request to get the device, as an administrator.</p>
|
|
1326
1200
|
*/
|
|
@@ -1964,12 +1838,6 @@ export interface MFAMethodNotFoundException extends __SmithyException, $Metadata
|
|
|
1964
1838
|
*/
|
|
1965
1839
|
message?: string;
|
|
1966
1840
|
}
|
|
1967
|
-
export declare namespace MFAMethodNotFoundException {
|
|
1968
|
-
/**
|
|
1969
|
-
* @internal
|
|
1970
|
-
*/
|
|
1971
|
-
const filterSensitiveLog: (obj: MFAMethodNotFoundException) => any;
|
|
1972
|
-
}
|
|
1973
1841
|
/**
|
|
1974
1842
|
* <p>This exception is thrown when a password reset is required.</p>
|
|
1975
1843
|
*/
|
|
@@ -1981,12 +1849,6 @@ export interface PasswordResetRequiredException extends __SmithyException, $Meta
|
|
|
1981
1849
|
*/
|
|
1982
1850
|
message?: string;
|
|
1983
1851
|
}
|
|
1984
|
-
export declare namespace PasswordResetRequiredException {
|
|
1985
|
-
/**
|
|
1986
|
-
* @internal
|
|
1987
|
-
*/
|
|
1988
|
-
const filterSensitiveLog: (obj: PasswordResetRequiredException) => any;
|
|
1989
|
-
}
|
|
1990
1852
|
/**
|
|
1991
1853
|
* <p>This exception is thrown when a user is not confirmed successfully.</p>
|
|
1992
1854
|
*/
|
|
@@ -1998,12 +1860,6 @@ export interface UserNotConfirmedException extends __SmithyException, $MetadataB
|
|
|
1998
1860
|
*/
|
|
1999
1861
|
message?: string;
|
|
2000
1862
|
}
|
|
2001
|
-
export declare namespace UserNotConfirmedException {
|
|
2002
|
-
/**
|
|
2003
|
-
* @internal
|
|
2004
|
-
*/
|
|
2005
|
-
const filterSensitiveLog: (obj: UserNotConfirmedException) => any;
|
|
2006
|
-
}
|
|
2007
1863
|
export interface AdminLinkProviderForUserRequest {
|
|
2008
1864
|
/**
|
|
2009
1865
|
* <p>The user pool ID for the user pool.</p>
|
|
@@ -2425,12 +2281,6 @@ export interface UserPoolAddOnNotEnabledException extends __SmithyException, $Me
|
|
|
2425
2281
|
$fault: "client";
|
|
2426
2282
|
message?: string;
|
|
2427
2283
|
}
|
|
2428
|
-
export declare namespace UserPoolAddOnNotEnabledException {
|
|
2429
|
-
/**
|
|
2430
|
-
* @internal
|
|
2431
|
-
*/
|
|
2432
|
-
const filterSensitiveLog: (obj: UserPoolAddOnNotEnabledException) => any;
|
|
2433
|
-
}
|
|
2434
2284
|
export interface AdminRemoveUserFromGroupRequest {
|
|
2435
2285
|
/**
|
|
2436
2286
|
* <p>The user pool ID for the user pool.</p>
|
|
@@ -2532,12 +2382,6 @@ export interface InvalidEmailRoleAccessPolicyException extends __SmithyException
|
|
|
2532
2382
|
*/
|
|
2533
2383
|
message?: string;
|
|
2534
2384
|
}
|
|
2535
|
-
export declare namespace InvalidEmailRoleAccessPolicyException {
|
|
2536
|
-
/**
|
|
2537
|
-
* @internal
|
|
2538
|
-
*/
|
|
2539
|
-
const filterSensitiveLog: (obj: InvalidEmailRoleAccessPolicyException) => any;
|
|
2540
|
-
}
|
|
2541
2385
|
/**
|
|
2542
2386
|
* <p>The request to respond to the authentication challenge, as an administrator.</p>
|
|
2543
2387
|
*/
|
|
@@ -2710,12 +2554,6 @@ export interface CodeMismatchException extends __SmithyException, $MetadataBeare
|
|
|
2710
2554
|
*/
|
|
2711
2555
|
message?: string;
|
|
2712
2556
|
}
|
|
2713
|
-
export declare namespace CodeMismatchException {
|
|
2714
|
-
/**
|
|
2715
|
-
* @internal
|
|
2716
|
-
*/
|
|
2717
|
-
const filterSensitiveLog: (obj: CodeMismatchException) => any;
|
|
2718
|
-
}
|
|
2719
2557
|
/**
|
|
2720
2558
|
* <p>This exception is thrown if a code has expired.</p>
|
|
2721
2559
|
*/
|
|
@@ -2727,12 +2565,6 @@ export interface ExpiredCodeException extends __SmithyException, $MetadataBearer
|
|
|
2727
2565
|
*/
|
|
2728
2566
|
message?: string;
|
|
2729
2567
|
}
|
|
2730
|
-
export declare namespace ExpiredCodeException {
|
|
2731
|
-
/**
|
|
2732
|
-
* @internal
|
|
2733
|
-
*/
|
|
2734
|
-
const filterSensitiveLog: (obj: ExpiredCodeException) => any;
|
|
2735
|
-
}
|
|
2736
2568
|
/**
|
|
2737
2569
|
* <p>This exception is thrown when the software token TOTP multi-factor authentication
|
|
2738
2570
|
* (MFA) is not enabled for the user pool.</p>
|
|
@@ -2742,12 +2574,6 @@ export interface SoftwareTokenMFANotFoundException extends __SmithyException, $M
|
|
|
2742
2574
|
$fault: "client";
|
|
2743
2575
|
message?: string;
|
|
2744
2576
|
}
|
|
2745
|
-
export declare namespace SoftwareTokenMFANotFoundException {
|
|
2746
|
-
/**
|
|
2747
|
-
* @internal
|
|
2748
|
-
*/
|
|
2749
|
-
const filterSensitiveLog: (obj: SoftwareTokenMFANotFoundException) => any;
|
|
2750
|
-
}
|
|
2751
2577
|
/**
|
|
2752
2578
|
* <p>The type used for enabling SMS MFA at the user level. Phone numbers don't need to be
|
|
2753
2579
|
* verified to be used for SMS MFA. If an MFA type is enabled for a user, the user will be
|
|
@@ -3180,12 +3006,6 @@ export interface ConcurrentModificationException extends __SmithyException, $Met
|
|
|
3180
3006
|
*/
|
|
3181
3007
|
message?: string;
|
|
3182
3008
|
}
|
|
3183
|
-
export declare namespace ConcurrentModificationException {
|
|
3184
|
-
/**
|
|
3185
|
-
* @internal
|
|
3186
|
-
*/
|
|
3187
|
-
const filterSensitiveLog: (obj: ConcurrentModificationException) => any;
|
|
3188
|
-
}
|
|
3189
3009
|
/**
|
|
3190
3010
|
* <p>Represents the request to change a user password.</p>
|
|
3191
3011
|
*/
|
|
@@ -3552,12 +3372,6 @@ export interface GroupExistsException extends __SmithyException, $MetadataBearer
|
|
|
3552
3372
|
$fault: "client";
|
|
3553
3373
|
message?: string;
|
|
3554
3374
|
}
|
|
3555
|
-
export declare namespace GroupExistsException {
|
|
3556
|
-
/**
|
|
3557
|
-
* @internal
|
|
3558
|
-
*/
|
|
3559
|
-
const filterSensitiveLog: (obj: GroupExistsException) => any;
|
|
3560
|
-
}
|
|
3561
3375
|
export declare enum IdentityProviderTypeType {
|
|
3562
3376
|
Facebook = "Facebook",
|
|
3563
3377
|
Google = "Google",
|
|
@@ -3884,12 +3698,6 @@ export interface DuplicateProviderException extends __SmithyException, $Metadata
|
|
|
3884
3698
|
$fault: "client";
|
|
3885
3699
|
message?: string;
|
|
3886
3700
|
}
|
|
3887
|
-
export declare namespace DuplicateProviderException {
|
|
3888
|
-
/**
|
|
3889
|
-
* @internal
|
|
3890
|
-
*/
|
|
3891
|
-
const filterSensitiveLog: (obj: DuplicateProviderException) => any;
|
|
3892
|
-
}
|
|
3893
3701
|
/**
|
|
3894
3702
|
* <p>A resource server scope.</p>
|
|
3895
3703
|
*/
|
|
@@ -4943,12 +4751,6 @@ export interface UserPoolTaggingException extends __SmithyException, $MetadataBe
|
|
|
4943
4751
|
$fault: "client";
|
|
4944
4752
|
message?: string;
|
|
4945
4753
|
}
|
|
4946
|
-
export declare namespace UserPoolTaggingException {
|
|
4947
|
-
/**
|
|
4948
|
-
* @internal
|
|
4949
|
-
*/
|
|
4950
|
-
const filterSensitiveLog: (obj: UserPoolTaggingException) => any;
|
|
4951
|
-
}
|
|
4952
4754
|
export declare enum OAuthFlowType {
|
|
4953
4755
|
client_credentials = "client_credentials",
|
|
4954
4756
|
code = "code",
|
|
@@ -5467,12 +5269,6 @@ export interface InvalidOAuthFlowException extends __SmithyException, $MetadataB
|
|
|
5467
5269
|
$fault: "client";
|
|
5468
5270
|
message?: string;
|
|
5469
5271
|
}
|
|
5470
|
-
export declare namespace InvalidOAuthFlowException {
|
|
5471
|
-
/**
|
|
5472
|
-
* @internal
|
|
5473
|
-
*/
|
|
5474
|
-
const filterSensitiveLog: (obj: InvalidOAuthFlowException) => any;
|
|
5475
|
-
}
|
|
5476
5272
|
/**
|
|
5477
5273
|
* <p>This exception is thrown when the specified scope does not exist.</p>
|
|
5478
5274
|
*/
|
|
@@ -5481,12 +5277,6 @@ export interface ScopeDoesNotExistException extends __SmithyException, $Metadata
|
|
|
5481
5277
|
$fault: "client";
|
|
5482
5278
|
message?: string;
|
|
5483
5279
|
}
|
|
5484
|
-
export declare namespace ScopeDoesNotExistException {
|
|
5485
|
-
/**
|
|
5486
|
-
* @internal
|
|
5487
|
-
*/
|
|
5488
|
-
const filterSensitiveLog: (obj: ScopeDoesNotExistException) => any;
|
|
5489
|
-
}
|
|
5490
5280
|
/**
|
|
5491
5281
|
* <p>The configuration for a custom domain that hosts the sign-up and sign-in webpages for
|
|
5492
5282
|
* your application.</p>
|
|
@@ -5582,12 +5372,6 @@ export interface UnsupportedIdentityProviderException extends __SmithyException,
|
|
|
5582
5372
|
$fault: "client";
|
|
5583
5373
|
message?: string;
|
|
5584
5374
|
}
|
|
5585
|
-
export declare namespace UnsupportedIdentityProviderException {
|
|
5586
|
-
/**
|
|
5587
|
-
* @internal
|
|
5588
|
-
*/
|
|
5589
|
-
const filterSensitiveLog: (obj: UnsupportedIdentityProviderException) => any;
|
|
5590
|
-
}
|
|
5591
5375
|
export interface DeleteResourceServerRequest {
|
|
5592
5376
|
/**
|
|
5593
5377
|
* <p>The user pool ID for the user pool that hosts the resource server.</p>
|
|
@@ -7803,12 +7587,6 @@ export interface UnauthorizedException extends __SmithyException, $MetadataBeare
|
|
|
7803
7587
|
$fault: "client";
|
|
7804
7588
|
message?: string;
|
|
7805
7589
|
}
|
|
7806
|
-
export declare namespace UnauthorizedException {
|
|
7807
|
-
/**
|
|
7808
|
-
* @internal
|
|
7809
|
-
*/
|
|
7810
|
-
const filterSensitiveLog: (obj: UnauthorizedException) => any;
|
|
7811
|
-
}
|
|
7812
7590
|
/**
|
|
7813
7591
|
* <p>This exception is thrown when you attempt to perform an operation that is not enabled for the user pool client.</p>
|
|
7814
7592
|
*/
|
|
@@ -7817,12 +7595,6 @@ export interface UnsupportedOperationException extends __SmithyException, $Metad
|
|
|
7817
7595
|
$fault: "client";
|
|
7818
7596
|
message?: string;
|
|
7819
7597
|
}
|
|
7820
|
-
export declare namespace UnsupportedOperationException {
|
|
7821
|
-
/**
|
|
7822
|
-
* @internal
|
|
7823
|
-
*/
|
|
7824
|
-
const filterSensitiveLog: (obj: UnsupportedOperationException) => any;
|
|
7825
|
-
}
|
|
7826
7598
|
/**
|
|
7827
7599
|
* <p>This exception is thrown when an unsupported token is passed to an operation.</p>
|
|
7828
7600
|
*/
|
|
@@ -7831,12 +7603,6 @@ export interface UnsupportedTokenTypeException extends __SmithyException, $Metad
|
|
|
7831
7603
|
$fault: "client";
|
|
7832
7604
|
message?: string;
|
|
7833
7605
|
}
|
|
7834
|
-
export declare namespace UnsupportedTokenTypeException {
|
|
7835
|
-
/**
|
|
7836
|
-
* @internal
|
|
7837
|
-
*/
|
|
7838
|
-
const filterSensitiveLog: (obj: UnsupportedTokenTypeException) => any;
|
|
7839
|
-
}
|
|
7840
7606
|
export interface SetRiskConfigurationRequest {
|
|
7841
7607
|
/**
|
|
7842
7608
|
* <p>The user pool ID. </p>
|
|
@@ -772,12 +772,6 @@ export interface EnableSoftwareTokenMFAException extends __SmithyException, $Met
|
|
|
772
772
|
$fault: "client";
|
|
773
773
|
message?: string;
|
|
774
774
|
}
|
|
775
|
-
export declare namespace EnableSoftwareTokenMFAException {
|
|
776
|
-
/**
|
|
777
|
-
* @internal
|
|
778
|
-
*/
|
|
779
|
-
const filterSensitiveLog: (obj: EnableSoftwareTokenMFAException) => any;
|
|
780
|
-
}
|
|
781
775
|
export interface VerifySoftwareTokenRequest {
|
|
782
776
|
/**
|
|
783
777
|
* <p>The access token.</p>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { CognitoIdentityProviderClientConfig } from "./CognitoIdentityProviderClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientCon
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { CognitoIdentityProviderClientConfig } from "./CognitoIdentityProviderClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientCon
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AddCustomAttributesCommandInput, AddCustomAttributesCommandOutput } from "./commands/AddCustomAttributesCommand";
|
|
10
10
|
import { AdminAddUserToGroupCommandInput, AdminAddUserToGroupCommandOutput } from "./commands/AdminAddUserToGroupCommand";
|
|
@@ -152,6 +152,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
152
152
|
regionInfoProvider?: RegionInfoProvider;
|
|
153
153
|
|
|
154
154
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
155
|
+
|
|
156
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
155
157
|
}
|
|
156
158
|
declare type CognitoIdentityProviderClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
157
159
|
|