@aws-sdk/client-cognito-identity-provider 3.52.0 → 3.53.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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/CognitoIdentityProviderServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +514 -6
- package/dist-cjs/models/models_1.js +15 -1
- package/dist-cjs/protocols/Aws_json1_1.js +1368 -5904
- package/dist-es/index.js +1 -0
- package/dist-es/models/CognitoIdentityProviderServiceException.js +12 -0
- package/dist-es/models/models_0.js +470 -1
- package/dist-es/models/models_1.js +14 -1
- package/dist-es/protocols/Aws_json1_1.js +2960 -6235
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CognitoIdentityProviderServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +219 -185
- package/dist-types/models/models_1.d.ts +9 -5
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/CognitoIdentityProviderServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +169 -157
- package/dist-types/ts3.4/models/models_1.d.ts +7 -5
- package/package.json +25 -25
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
|
|
2
3
|
export declare enum RecoveryOptionNameType {
|
|
3
4
|
ADMIN_ONLY = "admin_only",
|
|
4
5
|
VERIFIED_EMAIL = "verified_email",
|
|
@@ -308,68 +309,68 @@ export declare namespace AddCustomAttributesResponse {
|
|
|
308
309
|
/**
|
|
309
310
|
* <p>This exception is thrown when Amazon Cognito encounters an internal error.</p>
|
|
310
311
|
*/
|
|
311
|
-
export
|
|
312
|
-
name: "InternalErrorException";
|
|
313
|
-
$fault: "server";
|
|
312
|
+
export declare class InternalErrorException extends __BaseException {
|
|
313
|
+
readonly name: "InternalErrorException";
|
|
314
|
+
readonly $fault: "server";
|
|
314
315
|
/**
|
|
315
|
-
*
|
|
316
|
+
* @internal
|
|
316
317
|
*/
|
|
317
|
-
|
|
318
|
+
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
318
319
|
}
|
|
319
320
|
/**
|
|
320
321
|
* <p>This exception is thrown when the Amazon Cognito service encounters an invalid parameter.</p>
|
|
321
322
|
*/
|
|
322
|
-
export
|
|
323
|
-
name: "InvalidParameterException";
|
|
324
|
-
$fault: "client";
|
|
323
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
324
|
+
readonly name: "InvalidParameterException";
|
|
325
|
+
readonly $fault: "client";
|
|
325
326
|
/**
|
|
326
|
-
*
|
|
327
|
+
* @internal
|
|
327
328
|
*/
|
|
328
|
-
|
|
329
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
329
330
|
}
|
|
330
331
|
/**
|
|
331
332
|
* <p>This exception is thrown when a user isn't authorized.</p>
|
|
332
333
|
*/
|
|
333
|
-
export
|
|
334
|
-
name: "NotAuthorizedException";
|
|
335
|
-
$fault: "client";
|
|
334
|
+
export declare class NotAuthorizedException extends __BaseException {
|
|
335
|
+
readonly name: "NotAuthorizedException";
|
|
336
|
+
readonly $fault: "client";
|
|
336
337
|
/**
|
|
337
|
-
*
|
|
338
|
+
* @internal
|
|
338
339
|
*/
|
|
339
|
-
|
|
340
|
+
constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
|
|
340
341
|
}
|
|
341
342
|
/**
|
|
342
343
|
* <p>This exception is thrown when the Amazon Cognito service can't find the requested resource.</p>
|
|
343
344
|
*/
|
|
344
|
-
export
|
|
345
|
-
name: "ResourceNotFoundException";
|
|
346
|
-
$fault: "client";
|
|
345
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
346
|
+
readonly name: "ResourceNotFoundException";
|
|
347
|
+
readonly $fault: "client";
|
|
347
348
|
/**
|
|
348
|
-
*
|
|
349
|
+
* @internal
|
|
349
350
|
*/
|
|
350
|
-
|
|
351
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
351
352
|
}
|
|
352
353
|
/**
|
|
353
354
|
* <p>This exception is thrown when the user has made too many requests for a given operation.</p>
|
|
354
355
|
*/
|
|
355
|
-
export
|
|
356
|
-
name: "TooManyRequestsException";
|
|
357
|
-
$fault: "client";
|
|
356
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
357
|
+
readonly name: "TooManyRequestsException";
|
|
358
|
+
readonly $fault: "client";
|
|
358
359
|
/**
|
|
359
|
-
*
|
|
360
|
+
* @internal
|
|
360
361
|
*/
|
|
361
|
-
|
|
362
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
362
363
|
}
|
|
363
364
|
/**
|
|
364
365
|
* <p>This exception is thrown when you're trying to modify a user pool while a user import job is in progress for that pool.</p>
|
|
365
366
|
*/
|
|
366
|
-
export
|
|
367
|
-
name: "UserImportInProgressException";
|
|
368
|
-
$fault: "client";
|
|
367
|
+
export declare class UserImportInProgressException extends __BaseException {
|
|
368
|
+
readonly name: "UserImportInProgressException";
|
|
369
|
+
readonly $fault: "client";
|
|
369
370
|
/**
|
|
370
|
-
*
|
|
371
|
+
* @internal
|
|
371
372
|
*/
|
|
372
|
-
|
|
373
|
+
constructor(opts: __ExceptionOptionType<UserImportInProgressException, __BaseException>);
|
|
373
374
|
}
|
|
374
375
|
export interface AdminAddUserToGroupRequest {
|
|
375
376
|
/**
|
|
@@ -394,13 +395,13 @@ export declare namespace AdminAddUserToGroupRequest {
|
|
|
394
395
|
/**
|
|
395
396
|
* <p>This exception is thrown when a user isn't found.</p>
|
|
396
397
|
*/
|
|
397
|
-
export
|
|
398
|
-
name: "UserNotFoundException";
|
|
399
|
-
$fault: "client";
|
|
398
|
+
export declare class UserNotFoundException extends __BaseException {
|
|
399
|
+
readonly name: "UserNotFoundException";
|
|
400
|
+
readonly $fault: "client";
|
|
400
401
|
/**
|
|
401
|
-
*
|
|
402
|
+
* @internal
|
|
402
403
|
*/
|
|
403
|
-
|
|
404
|
+
constructor(opts: __ExceptionOptionType<UserNotFoundException, __BaseException>);
|
|
404
405
|
}
|
|
405
406
|
/**
|
|
406
407
|
* <p>Represents the request to confirm user registration.</p>
|
|
@@ -465,57 +466,57 @@ export declare namespace AdminConfirmSignUpResponse {
|
|
|
465
466
|
/**
|
|
466
467
|
* <p>This exception is thrown when Amazon Cognito encounters an invalid Lambda response.</p>
|
|
467
468
|
*/
|
|
468
|
-
export
|
|
469
|
-
name: "InvalidLambdaResponseException";
|
|
470
|
-
$fault: "client";
|
|
469
|
+
export declare class InvalidLambdaResponseException extends __BaseException {
|
|
470
|
+
readonly name: "InvalidLambdaResponseException";
|
|
471
|
+
readonly $fault: "client";
|
|
471
472
|
/**
|
|
472
|
-
*
|
|
473
|
+
* @internal
|
|
473
474
|
*/
|
|
474
|
-
|
|
475
|
+
constructor(opts: __ExceptionOptionType<InvalidLambdaResponseException, __BaseException>);
|
|
475
476
|
}
|
|
476
477
|
/**
|
|
477
478
|
* <p>This exception is thrown when a user exceeds the limit for a requested Amazon Web Services resource.</p>
|
|
478
479
|
*/
|
|
479
|
-
export
|
|
480
|
-
name: "LimitExceededException";
|
|
481
|
-
$fault: "client";
|
|
480
|
+
export declare class LimitExceededException extends __BaseException {
|
|
481
|
+
readonly name: "LimitExceededException";
|
|
482
|
+
readonly $fault: "client";
|
|
482
483
|
/**
|
|
483
|
-
*
|
|
484
|
+
* @internal
|
|
484
485
|
*/
|
|
485
|
-
|
|
486
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
486
487
|
}
|
|
487
488
|
/**
|
|
488
489
|
* <p>This exception is thrown when the user has made too many failed attempts for a given action, such as sign-in.</p>
|
|
489
490
|
*/
|
|
490
|
-
export
|
|
491
|
-
name: "TooManyFailedAttemptsException";
|
|
492
|
-
$fault: "client";
|
|
491
|
+
export declare class TooManyFailedAttemptsException extends __BaseException {
|
|
492
|
+
readonly name: "TooManyFailedAttemptsException";
|
|
493
|
+
readonly $fault: "client";
|
|
493
494
|
/**
|
|
494
|
-
*
|
|
495
|
+
* @internal
|
|
495
496
|
*/
|
|
496
|
-
|
|
497
|
+
constructor(opts: __ExceptionOptionType<TooManyFailedAttemptsException, __BaseException>);
|
|
497
498
|
}
|
|
498
499
|
/**
|
|
499
500
|
* <p>This exception is thrown when Amazon Cognito encounters an unexpected exception with Lambda.</p>
|
|
500
501
|
*/
|
|
501
|
-
export
|
|
502
|
-
name: "UnexpectedLambdaException";
|
|
503
|
-
$fault: "client";
|
|
502
|
+
export declare class UnexpectedLambdaException extends __BaseException {
|
|
503
|
+
readonly name: "UnexpectedLambdaException";
|
|
504
|
+
readonly $fault: "client";
|
|
504
505
|
/**
|
|
505
|
-
*
|
|
506
|
+
* @internal
|
|
506
507
|
*/
|
|
507
|
-
|
|
508
|
+
constructor(opts: __ExceptionOptionType<UnexpectedLambdaException, __BaseException>);
|
|
508
509
|
}
|
|
509
510
|
/**
|
|
510
511
|
* <p>This exception is thrown when the Amazon Cognito service encounters a user validation exception with the Lambda service.</p>
|
|
511
512
|
*/
|
|
512
|
-
export
|
|
513
|
-
name: "UserLambdaValidationException";
|
|
514
|
-
$fault: "client";
|
|
513
|
+
export declare class UserLambdaValidationException extends __BaseException {
|
|
514
|
+
readonly name: "UserLambdaValidationException";
|
|
515
|
+
readonly $fault: "client";
|
|
515
516
|
/**
|
|
516
|
-
*
|
|
517
|
+
* @internal
|
|
517
518
|
*/
|
|
518
|
-
|
|
519
|
+
constructor(opts: __ExceptionOptionType<UserLambdaValidationException, __BaseException>);
|
|
519
520
|
}
|
|
520
521
|
export declare enum DeliveryMediumType {
|
|
521
522
|
EMAIL = "EMAIL",
|
|
@@ -763,81 +764,81 @@ export declare namespace AdminCreateUserResponse {
|
|
|
763
764
|
/**
|
|
764
765
|
* <p>This exception is thrown when a verification code fails to deliver successfully.</p>
|
|
765
766
|
*/
|
|
766
|
-
export
|
|
767
|
-
name: "CodeDeliveryFailureException";
|
|
768
|
-
$fault: "client";
|
|
767
|
+
export declare class CodeDeliveryFailureException extends __BaseException {
|
|
768
|
+
readonly name: "CodeDeliveryFailureException";
|
|
769
|
+
readonly $fault: "client";
|
|
769
770
|
/**
|
|
770
|
-
*
|
|
771
|
+
* @internal
|
|
771
772
|
*/
|
|
772
|
-
|
|
773
|
+
constructor(opts: __ExceptionOptionType<CodeDeliveryFailureException, __BaseException>);
|
|
773
774
|
}
|
|
774
775
|
/**
|
|
775
776
|
* <p>This exception is thrown when Amazon Cognito encounters an invalid password.</p>
|
|
776
777
|
*/
|
|
777
|
-
export
|
|
778
|
-
name: "InvalidPasswordException";
|
|
779
|
-
$fault: "client";
|
|
778
|
+
export declare class InvalidPasswordException extends __BaseException {
|
|
779
|
+
readonly name: "InvalidPasswordException";
|
|
780
|
+
readonly $fault: "client";
|
|
780
781
|
/**
|
|
781
|
-
*
|
|
782
|
+
* @internal
|
|
782
783
|
*/
|
|
783
|
-
|
|
784
|
+
constructor(opts: __ExceptionOptionType<InvalidPasswordException, __BaseException>);
|
|
784
785
|
}
|
|
785
786
|
/**
|
|
786
787
|
* <p>This exception is returned when the role provided for SMS configuration doesn't have permission to publish using Amazon SNS.</p>
|
|
787
788
|
*/
|
|
788
|
-
export
|
|
789
|
-
name: "InvalidSmsRoleAccessPolicyException";
|
|
790
|
-
$fault: "client";
|
|
789
|
+
export declare class InvalidSmsRoleAccessPolicyException extends __BaseException {
|
|
790
|
+
readonly name: "InvalidSmsRoleAccessPolicyException";
|
|
791
|
+
readonly $fault: "client";
|
|
791
792
|
/**
|
|
792
|
-
*
|
|
793
|
+
* @internal
|
|
793
794
|
*/
|
|
794
|
-
|
|
795
|
+
constructor(opts: __ExceptionOptionType<InvalidSmsRoleAccessPolicyException, __BaseException>);
|
|
795
796
|
}
|
|
796
797
|
/**
|
|
797
798
|
* <p>This exception is thrown when the trust relationship is not valid for the role provided for SMS configuration. This can happen if you don't trust <code>cognito-idp.amazonaws.com</code> or the
|
|
798
799
|
* external ID provided in the role does not match what is provided in the SMS configuration for the user pool.</p>
|
|
799
800
|
*/
|
|
800
|
-
export
|
|
801
|
-
name: "InvalidSmsRoleTrustRelationshipException";
|
|
802
|
-
$fault: "client";
|
|
801
|
+
export declare class InvalidSmsRoleTrustRelationshipException extends __BaseException {
|
|
802
|
+
readonly name: "InvalidSmsRoleTrustRelationshipException";
|
|
803
|
+
readonly $fault: "client";
|
|
803
804
|
/**
|
|
804
|
-
*
|
|
805
|
+
* @internal
|
|
805
806
|
*/
|
|
806
|
-
|
|
807
|
+
constructor(opts: __ExceptionOptionType<InvalidSmsRoleTrustRelationshipException, __BaseException>);
|
|
807
808
|
}
|
|
808
809
|
/**
|
|
809
810
|
* <p>This exception is thrown when a precondition is not met.</p>
|
|
810
811
|
*/
|
|
811
|
-
export
|
|
812
|
-
name: "PreconditionNotMetException";
|
|
813
|
-
$fault: "client";
|
|
812
|
+
export declare class PreconditionNotMetException extends __BaseException {
|
|
813
|
+
readonly name: "PreconditionNotMetException";
|
|
814
|
+
readonly $fault: "client";
|
|
814
815
|
/**
|
|
815
|
-
*
|
|
816
|
+
* @internal
|
|
816
817
|
*/
|
|
817
|
-
|
|
818
|
+
constructor(opts: __ExceptionOptionType<PreconditionNotMetException, __BaseException>);
|
|
818
819
|
}
|
|
819
820
|
/**
|
|
820
821
|
* <p>The request failed because the user is in an unsupported
|
|
821
822
|
* state.</p>
|
|
822
823
|
*/
|
|
823
|
-
export
|
|
824
|
-
name: "UnsupportedUserStateException";
|
|
825
|
-
$fault: "client";
|
|
824
|
+
export declare class UnsupportedUserStateException extends __BaseException {
|
|
825
|
+
readonly name: "UnsupportedUserStateException";
|
|
826
|
+
readonly $fault: "client";
|
|
826
827
|
/**
|
|
827
|
-
*
|
|
828
|
+
* @internal
|
|
828
829
|
*/
|
|
829
|
-
|
|
830
|
+
constructor(opts: __ExceptionOptionType<UnsupportedUserStateException, __BaseException>);
|
|
830
831
|
}
|
|
831
832
|
/**
|
|
832
833
|
* <p>This exception is thrown when Amazon Cognito encounters a user name that already exists in the user pool.</p>
|
|
833
834
|
*/
|
|
834
|
-
export
|
|
835
|
-
name: "UsernameExistsException";
|
|
836
|
-
$fault: "client";
|
|
835
|
+
export declare class UsernameExistsException extends __BaseException {
|
|
836
|
+
readonly name: "UsernameExistsException";
|
|
837
|
+
readonly $fault: "client";
|
|
837
838
|
/**
|
|
838
|
-
*
|
|
839
|
+
* @internal
|
|
839
840
|
*/
|
|
840
|
-
|
|
841
|
+
constructor(opts: __ExceptionOptionType<UsernameExistsException, __BaseException>);
|
|
841
842
|
}
|
|
842
843
|
/**
|
|
843
844
|
* <p>The message template structure.</p>
|
|
@@ -998,13 +999,13 @@ export declare namespace AdminDisableProviderForUserResponse {
|
|
|
998
999
|
* <p>This exception is thrown when a user tries to confirm the account with an email or phone number that has already been supplied as an alias from a different account. This exception
|
|
999
1000
|
* tells user that an account with this email or phone already exists.</p>
|
|
1000
1001
|
*/
|
|
1001
|
-
export
|
|
1002
|
-
name: "AliasExistsException";
|
|
1003
|
-
$fault: "client";
|
|
1002
|
+
export declare class AliasExistsException extends __BaseException {
|
|
1003
|
+
readonly name: "AliasExistsException";
|
|
1004
|
+
readonly $fault: "client";
|
|
1004
1005
|
/**
|
|
1005
|
-
*
|
|
1006
|
+
* @internal
|
|
1006
1007
|
*/
|
|
1007
|
-
|
|
1008
|
+
constructor(opts: __ExceptionOptionType<AliasExistsException, __BaseException>);
|
|
1008
1009
|
}
|
|
1009
1010
|
/**
|
|
1010
1011
|
* <p>Represents the request to disable the user as an administrator.</p>
|
|
@@ -1092,13 +1093,13 @@ export declare namespace AdminForgetDeviceRequest {
|
|
|
1092
1093
|
/**
|
|
1093
1094
|
* <p>This exception is thrown when the user pool configuration is not valid.</p>
|
|
1094
1095
|
*/
|
|
1095
|
-
export
|
|
1096
|
-
name: "InvalidUserPoolConfigurationException";
|
|
1097
|
-
$fault: "client";
|
|
1096
|
+
export declare class InvalidUserPoolConfigurationException extends __BaseException {
|
|
1097
|
+
readonly name: "InvalidUserPoolConfigurationException";
|
|
1098
|
+
readonly $fault: "client";
|
|
1098
1099
|
/**
|
|
1099
|
-
*
|
|
1100
|
+
* @internal
|
|
1100
1101
|
*/
|
|
1101
|
-
|
|
1102
|
+
constructor(opts: __ExceptionOptionType<InvalidUserPoolConfigurationException, __BaseException>);
|
|
1102
1103
|
}
|
|
1103
1104
|
/**
|
|
1104
1105
|
* <p>Represents the request to get the device, as an administrator.</p>
|
|
@@ -1655,35 +1656,35 @@ export declare namespace AdminInitiateAuthResponse {
|
|
|
1655
1656
|
/**
|
|
1656
1657
|
* <p>This exception is thrown when Amazon Cognito can't find a multi-factor authentication (MFA) method.</p>
|
|
1657
1658
|
*/
|
|
1658
|
-
export
|
|
1659
|
-
name: "MFAMethodNotFoundException";
|
|
1660
|
-
$fault: "client";
|
|
1659
|
+
export declare class MFAMethodNotFoundException extends __BaseException {
|
|
1660
|
+
readonly name: "MFAMethodNotFoundException";
|
|
1661
|
+
readonly $fault: "client";
|
|
1661
1662
|
/**
|
|
1662
|
-
*
|
|
1663
|
+
* @internal
|
|
1663
1664
|
*/
|
|
1664
|
-
|
|
1665
|
+
constructor(opts: __ExceptionOptionType<MFAMethodNotFoundException, __BaseException>);
|
|
1665
1666
|
}
|
|
1666
1667
|
/**
|
|
1667
1668
|
* <p>This exception is thrown when a password reset is required.</p>
|
|
1668
1669
|
*/
|
|
1669
|
-
export
|
|
1670
|
-
name: "PasswordResetRequiredException";
|
|
1671
|
-
$fault: "client";
|
|
1670
|
+
export declare class PasswordResetRequiredException extends __BaseException {
|
|
1671
|
+
readonly name: "PasswordResetRequiredException";
|
|
1672
|
+
readonly $fault: "client";
|
|
1672
1673
|
/**
|
|
1673
|
-
*
|
|
1674
|
+
* @internal
|
|
1674
1675
|
*/
|
|
1675
|
-
|
|
1676
|
+
constructor(opts: __ExceptionOptionType<PasswordResetRequiredException, __BaseException>);
|
|
1676
1677
|
}
|
|
1677
1678
|
/**
|
|
1678
1679
|
* <p>This exception is thrown when a user isn't confirmed successfully.</p>
|
|
1679
1680
|
*/
|
|
1680
|
-
export
|
|
1681
|
-
name: "UserNotConfirmedException";
|
|
1682
|
-
$fault: "client";
|
|
1681
|
+
export declare class UserNotConfirmedException extends __BaseException {
|
|
1682
|
+
readonly name: "UserNotConfirmedException";
|
|
1683
|
+
readonly $fault: "client";
|
|
1683
1684
|
/**
|
|
1684
|
-
*
|
|
1685
|
+
* @internal
|
|
1685
1686
|
*/
|
|
1686
|
-
|
|
1687
|
+
constructor(opts: __ExceptionOptionType<UserNotConfirmedException, __BaseException>);
|
|
1687
1688
|
}
|
|
1688
1689
|
export interface AdminLinkProviderForUserRequest {
|
|
1689
1690
|
/**
|
|
@@ -2076,10 +2077,13 @@ export declare namespace AdminListUserAuthEventsResponse {
|
|
|
2076
2077
|
/**
|
|
2077
2078
|
* <p>This exception is thrown when user pool add-ons aren't enabled.</p>
|
|
2078
2079
|
*/
|
|
2079
|
-
export
|
|
2080
|
-
name: "UserPoolAddOnNotEnabledException";
|
|
2081
|
-
$fault: "client";
|
|
2082
|
-
|
|
2080
|
+
export declare class UserPoolAddOnNotEnabledException extends __BaseException {
|
|
2081
|
+
readonly name: "UserPoolAddOnNotEnabledException";
|
|
2082
|
+
readonly $fault: "client";
|
|
2083
|
+
/**
|
|
2084
|
+
* @internal
|
|
2085
|
+
*/
|
|
2086
|
+
constructor(opts: __ExceptionOptionType<UserPoolAddOnNotEnabledException, __BaseException>);
|
|
2083
2087
|
}
|
|
2084
2088
|
export interface AdminRemoveUserFromGroupRequest {
|
|
2085
2089
|
/**
|
|
@@ -2165,13 +2169,13 @@ export declare namespace AdminResetUserPasswordResponse {
|
|
|
2165
2169
|
/**
|
|
2166
2170
|
* <p>This exception is thrown when Amazon Cognito isn't allowed to use your email identity. HTTP status code: 400.</p>
|
|
2167
2171
|
*/
|
|
2168
|
-
export
|
|
2169
|
-
name: "InvalidEmailRoleAccessPolicyException";
|
|
2170
|
-
$fault: "client";
|
|
2172
|
+
export declare class InvalidEmailRoleAccessPolicyException extends __BaseException {
|
|
2173
|
+
readonly name: "InvalidEmailRoleAccessPolicyException";
|
|
2174
|
+
readonly $fault: "client";
|
|
2171
2175
|
/**
|
|
2172
|
-
*
|
|
2176
|
+
* @internal
|
|
2173
2177
|
*/
|
|
2174
|
-
|
|
2178
|
+
constructor(opts: __ExceptionOptionType<InvalidEmailRoleAccessPolicyException, __BaseException>);
|
|
2175
2179
|
}
|
|
2176
2180
|
/**
|
|
2177
2181
|
* <p>The request to respond to the authentication challenge, as an administrator.</p>
|
|
@@ -2313,32 +2317,35 @@ export declare namespace AdminRespondToAuthChallengeResponse {
|
|
|
2313
2317
|
/**
|
|
2314
2318
|
* <p>This exception is thrown if the provided code doesn't match what the server was expecting.</p>
|
|
2315
2319
|
*/
|
|
2316
|
-
export
|
|
2317
|
-
name: "CodeMismatchException";
|
|
2318
|
-
$fault: "client";
|
|
2320
|
+
export declare class CodeMismatchException extends __BaseException {
|
|
2321
|
+
readonly name: "CodeMismatchException";
|
|
2322
|
+
readonly $fault: "client";
|
|
2319
2323
|
/**
|
|
2320
|
-
*
|
|
2324
|
+
* @internal
|
|
2321
2325
|
*/
|
|
2322
|
-
|
|
2326
|
+
constructor(opts: __ExceptionOptionType<CodeMismatchException, __BaseException>);
|
|
2323
2327
|
}
|
|
2324
2328
|
/**
|
|
2325
2329
|
* <p>This exception is thrown if a code has expired.</p>
|
|
2326
2330
|
*/
|
|
2327
|
-
export
|
|
2328
|
-
name: "ExpiredCodeException";
|
|
2329
|
-
$fault: "client";
|
|
2331
|
+
export declare class ExpiredCodeException extends __BaseException {
|
|
2332
|
+
readonly name: "ExpiredCodeException";
|
|
2333
|
+
readonly $fault: "client";
|
|
2330
2334
|
/**
|
|
2331
|
-
*
|
|
2335
|
+
* @internal
|
|
2332
2336
|
*/
|
|
2333
|
-
|
|
2337
|
+
constructor(opts: __ExceptionOptionType<ExpiredCodeException, __BaseException>);
|
|
2334
2338
|
}
|
|
2335
2339
|
/**
|
|
2336
2340
|
* <p>This exception is thrown when the software token time-based one-time password (TOTP) multi-factor authentication (MFA) isn't activated for the user pool.</p>
|
|
2337
2341
|
*/
|
|
2338
|
-
export
|
|
2339
|
-
name: "SoftwareTokenMFANotFoundException";
|
|
2340
|
-
$fault: "client";
|
|
2341
|
-
|
|
2342
|
+
export declare class SoftwareTokenMFANotFoundException extends __BaseException {
|
|
2343
|
+
readonly name: "SoftwareTokenMFANotFoundException";
|
|
2344
|
+
readonly $fault: "client";
|
|
2345
|
+
/**
|
|
2346
|
+
* @internal
|
|
2347
|
+
*/
|
|
2348
|
+
constructor(opts: __ExceptionOptionType<SoftwareTokenMFANotFoundException, __BaseException>);
|
|
2342
2349
|
}
|
|
2343
2350
|
/**
|
|
2344
2351
|
* <p>The type used for enabling SMS multi-factor authentication (MFA) at the user level. Phone numbers don't need to be verified to be used for SMS MFA. If an MFA type
|
|
@@ -2734,13 +2741,13 @@ export declare namespace AssociateSoftwareTokenResponse {
|
|
|
2734
2741
|
/**
|
|
2735
2742
|
* <p>This exception is thrown if two or more modifications are happening concurrently.</p>
|
|
2736
2743
|
*/
|
|
2737
|
-
export
|
|
2738
|
-
name: "ConcurrentModificationException";
|
|
2739
|
-
$fault: "client";
|
|
2744
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
2745
|
+
readonly name: "ConcurrentModificationException";
|
|
2746
|
+
readonly $fault: "client";
|
|
2740
2747
|
/**
|
|
2741
|
-
*
|
|
2748
|
+
* @internal
|
|
2742
2749
|
*/
|
|
2743
|
-
|
|
2750
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
2744
2751
|
}
|
|
2745
2752
|
/**
|
|
2746
2753
|
* <p>Represents the request to change a user password.</p>
|
|
@@ -3068,10 +3075,13 @@ export declare namespace CreateGroupResponse {
|
|
|
3068
3075
|
/**
|
|
3069
3076
|
* <p>This exception is thrown when Amazon Cognito encounters a group that already exists in the user pool.</p>
|
|
3070
3077
|
*/
|
|
3071
|
-
export
|
|
3072
|
-
name: "GroupExistsException";
|
|
3073
|
-
$fault: "client";
|
|
3074
|
-
|
|
3078
|
+
export declare class GroupExistsException extends __BaseException {
|
|
3079
|
+
readonly name: "GroupExistsException";
|
|
3080
|
+
readonly $fault: "client";
|
|
3081
|
+
/**
|
|
3082
|
+
* @internal
|
|
3083
|
+
*/
|
|
3084
|
+
constructor(opts: __ExceptionOptionType<GroupExistsException, __BaseException>);
|
|
3075
3085
|
}
|
|
3076
3086
|
export declare enum IdentityProviderTypeType {
|
|
3077
3087
|
Facebook = "Facebook",
|
|
@@ -3388,10 +3398,13 @@ export declare namespace CreateIdentityProviderResponse {
|
|
|
3388
3398
|
/**
|
|
3389
3399
|
* <p>This exception is thrown when the provider is already supported by the user pool.</p>
|
|
3390
3400
|
*/
|
|
3391
|
-
export
|
|
3392
|
-
name: "DuplicateProviderException";
|
|
3393
|
-
$fault: "client";
|
|
3394
|
-
|
|
3401
|
+
export declare class DuplicateProviderException extends __BaseException {
|
|
3402
|
+
readonly name: "DuplicateProviderException";
|
|
3403
|
+
readonly $fault: "client";
|
|
3404
|
+
/**
|
|
3405
|
+
* @internal
|
|
3406
|
+
*/
|
|
3407
|
+
constructor(opts: __ExceptionOptionType<DuplicateProviderException, __BaseException>);
|
|
3395
3408
|
}
|
|
3396
3409
|
/**
|
|
3397
3410
|
* <p>A resource server scope.</p>
|
|
@@ -4371,10 +4384,13 @@ export declare namespace CreateUserPoolResponse {
|
|
|
4371
4384
|
/**
|
|
4372
4385
|
* <p>This exception is thrown when a user pool tag can't be set or updated.</p>
|
|
4373
4386
|
*/
|
|
4374
|
-
export
|
|
4375
|
-
name: "UserPoolTaggingException";
|
|
4376
|
-
$fault: "client";
|
|
4377
|
-
|
|
4387
|
+
export declare class UserPoolTaggingException extends __BaseException {
|
|
4388
|
+
readonly name: "UserPoolTaggingException";
|
|
4389
|
+
readonly $fault: "client";
|
|
4390
|
+
/**
|
|
4391
|
+
* @internal
|
|
4392
|
+
*/
|
|
4393
|
+
constructor(opts: __ExceptionOptionType<UserPoolTaggingException, __BaseException>);
|
|
4378
4394
|
}
|
|
4379
4395
|
export declare enum OAuthFlowType {
|
|
4380
4396
|
client_credentials = "client_credentials",
|
|
@@ -4817,18 +4833,24 @@ export declare namespace CreateUserPoolClientResponse {
|
|
|
4817
4833
|
/**
|
|
4818
4834
|
* <p>This exception is thrown when the specified OAuth flow is not valid.</p>
|
|
4819
4835
|
*/
|
|
4820
|
-
export
|
|
4821
|
-
name: "InvalidOAuthFlowException";
|
|
4822
|
-
$fault: "client";
|
|
4823
|
-
|
|
4836
|
+
export declare class InvalidOAuthFlowException extends __BaseException {
|
|
4837
|
+
readonly name: "InvalidOAuthFlowException";
|
|
4838
|
+
readonly $fault: "client";
|
|
4839
|
+
/**
|
|
4840
|
+
* @internal
|
|
4841
|
+
*/
|
|
4842
|
+
constructor(opts: __ExceptionOptionType<InvalidOAuthFlowException, __BaseException>);
|
|
4824
4843
|
}
|
|
4825
4844
|
/**
|
|
4826
4845
|
* <p>This exception is thrown when the specified scope doesn't exist.</p>
|
|
4827
4846
|
*/
|
|
4828
|
-
export
|
|
4829
|
-
name: "ScopeDoesNotExistException";
|
|
4830
|
-
$fault: "client";
|
|
4831
|
-
|
|
4847
|
+
export declare class ScopeDoesNotExistException extends __BaseException {
|
|
4848
|
+
readonly name: "ScopeDoesNotExistException";
|
|
4849
|
+
readonly $fault: "client";
|
|
4850
|
+
/**
|
|
4851
|
+
* @internal
|
|
4852
|
+
*/
|
|
4853
|
+
constructor(opts: __ExceptionOptionType<ScopeDoesNotExistException, __BaseException>);
|
|
4832
4854
|
}
|
|
4833
4855
|
/**
|
|
4834
4856
|
* <p>The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.</p>
|
|
@@ -4916,10 +4938,13 @@ export declare namespace DeleteIdentityProviderRequest {
|
|
|
4916
4938
|
/**
|
|
4917
4939
|
* <p>This exception is thrown when the specified identifier isn't supported.</p>
|
|
4918
4940
|
*/
|
|
4919
|
-
export
|
|
4920
|
-
name: "UnsupportedIdentityProviderException";
|
|
4921
|
-
$fault: "client";
|
|
4922
|
-
|
|
4941
|
+
export declare class UnsupportedIdentityProviderException extends __BaseException {
|
|
4942
|
+
readonly name: "UnsupportedIdentityProviderException";
|
|
4943
|
+
readonly $fault: "client";
|
|
4944
|
+
/**
|
|
4945
|
+
* @internal
|
|
4946
|
+
*/
|
|
4947
|
+
constructor(opts: __ExceptionOptionType<UnsupportedIdentityProviderException, __BaseException>);
|
|
4923
4948
|
}
|
|
4924
4949
|
export interface DeleteResourceServerRequest {
|
|
4925
4950
|
/**
|
|
@@ -6984,26 +7009,35 @@ export declare namespace RevokeTokenResponse {
|
|
|
6984
7009
|
/**
|
|
6985
7010
|
* <p>Exception that is thrown when the request isn't authorized. This can happen due to an invalid access token in the request.</p>
|
|
6986
7011
|
*/
|
|
6987
|
-
export
|
|
6988
|
-
name: "UnauthorizedException";
|
|
6989
|
-
$fault: "client";
|
|
6990
|
-
|
|
7012
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
7013
|
+
readonly name: "UnauthorizedException";
|
|
7014
|
+
readonly $fault: "client";
|
|
7015
|
+
/**
|
|
7016
|
+
* @internal
|
|
7017
|
+
*/
|
|
7018
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
6991
7019
|
}
|
|
6992
7020
|
/**
|
|
6993
7021
|
* <p>Exception that is thrown when you attempt to perform an operation that isn't enabled for the user pool client.</p>
|
|
6994
7022
|
*/
|
|
6995
|
-
export
|
|
6996
|
-
name: "UnsupportedOperationException";
|
|
6997
|
-
$fault: "client";
|
|
6998
|
-
|
|
7023
|
+
export declare class UnsupportedOperationException extends __BaseException {
|
|
7024
|
+
readonly name: "UnsupportedOperationException";
|
|
7025
|
+
readonly $fault: "client";
|
|
7026
|
+
/**
|
|
7027
|
+
* @internal
|
|
7028
|
+
*/
|
|
7029
|
+
constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
|
|
6999
7030
|
}
|
|
7000
7031
|
/**
|
|
7001
7032
|
* <p>Exception that is thrown when an unsupported token is passed to an operation.</p>
|
|
7002
7033
|
*/
|
|
7003
|
-
export
|
|
7004
|
-
name: "UnsupportedTokenTypeException";
|
|
7005
|
-
$fault: "client";
|
|
7006
|
-
|
|
7034
|
+
export declare class UnsupportedTokenTypeException extends __BaseException {
|
|
7035
|
+
readonly name: "UnsupportedTokenTypeException";
|
|
7036
|
+
readonly $fault: "client";
|
|
7037
|
+
/**
|
|
7038
|
+
* @internal
|
|
7039
|
+
*/
|
|
7040
|
+
constructor(opts: __ExceptionOptionType<UnsupportedTokenTypeException, __BaseException>);
|
|
7007
7041
|
}
|
|
7008
7042
|
export interface SetRiskConfigurationRequest {
|
|
7009
7043
|
/**
|