@aws-sdk/client-cognito-identity-provider 3.693.0 → 3.699.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.
Files changed (117) hide show
  1. package/README.md +80 -0
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +20 -0
  3. package/dist-cjs/index.js +983 -71
  4. package/dist-es/CognitoIdentityProvider.js +20 -0
  5. package/dist-es/auth/httpAuthSchemeProvider.js +20 -0
  6. package/dist-es/commands/CompleteWebAuthnRegistrationCommand.js +23 -0
  7. package/dist-es/commands/ConfirmSignUpCommand.js +2 -2
  8. package/dist-es/commands/CreateManagedLoginBrandingCommand.js +23 -0
  9. package/dist-es/commands/DeleteManagedLoginBrandingCommand.js +22 -0
  10. package/dist-es/commands/DeleteWebAuthnCredentialCommand.js +23 -0
  11. package/dist-es/commands/DescribeManagedLoginBrandingByClientCommand.js +23 -0
  12. package/dist-es/commands/DescribeManagedLoginBrandingCommand.js +22 -0
  13. package/dist-es/commands/GetUserAuthFactorsCommand.js +23 -0
  14. package/dist-es/commands/GlobalSignOutCommand.js +1 -1
  15. package/dist-es/commands/InitiateAuthCommand.js +1 -1
  16. package/dist-es/commands/ListDevicesCommand.js +1 -1
  17. package/dist-es/commands/ListUserPoolClientsCommand.js +1 -1
  18. package/dist-es/commands/ListUsersCommand.js +1 -1
  19. package/dist-es/commands/ListUsersInGroupCommand.js +1 -1
  20. package/dist-es/commands/ListWebAuthnCredentialsCommand.js +23 -0
  21. package/dist-es/commands/ResendConfirmationCodeCommand.js +1 -1
  22. package/dist-es/commands/RespondToAuthChallengeCommand.js +1 -2
  23. package/dist-es/commands/SignUpCommand.js +2 -2
  24. package/dist-es/commands/StartWebAuthnRegistrationCommand.js +23 -0
  25. package/dist-es/commands/UpdateManagedLoginBrandingCommand.js +22 -0
  26. package/dist-es/commands/index.js +10 -0
  27. package/dist-es/models/models_0.js +184 -50
  28. package/dist-es/models/models_1.js +82 -1
  29. package/dist-es/protocols/Aws_json1_1.js +433 -2
  30. package/dist-types/CognitoIdentityProvider.d.ts +71 -0
  31. package/dist-types/CognitoIdentityProviderClient.d.ts +12 -2
  32. package/dist-types/commands/AdminCreateUserCommand.d.ts +9 -4
  33. package/dist-types/commands/AdminGetUserCommand.d.ts +2 -1
  34. package/dist-types/commands/AdminInitiateAuthCommand.d.ts +5 -4
  35. package/dist-types/commands/AdminListDevicesCommand.d.ts +1 -1
  36. package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +2 -2
  37. package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +4 -4
  38. package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +2 -2
  39. package/dist-types/commands/ChangePasswordCommand.d.ts +1 -1
  40. package/dist-types/commands/CompleteWebAuthnRegistrationCommand.d.ts +119 -0
  41. package/dist-types/commands/ConfirmSignUpCommand.d.ts +5 -2
  42. package/dist-types/commands/CreateManagedLoginBrandingCommand.d.ts +162 -0
  43. package/dist-types/commands/CreateUserPoolClientCommand.d.ts +2 -2
  44. package/dist-types/commands/CreateUserPoolCommand.d.ts +22 -2
  45. package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +8 -1
  46. package/dist-types/commands/DeleteManagedLoginBrandingCommand.d.ts +113 -0
  47. package/dist-types/commands/DeleteWebAuthnCredentialCommand.d.ts +90 -0
  48. package/dist-types/commands/DescribeManagedLoginBrandingByClientCommand.d.ts +108 -0
  49. package/dist-types/commands/DescribeManagedLoginBrandingCommand.d.ts +108 -0
  50. package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeUserPoolCommand.d.ts +6 -0
  52. package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +1 -0
  53. package/dist-types/commands/ForgotPasswordCommand.d.ts +2 -2
  54. package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +2 -2
  55. package/dist-types/commands/GetUserAuthFactorsCommand.d.ts +120 -0
  56. package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +6 -1
  57. package/dist-types/commands/GlobalSignOutCommand.d.ts +1 -1
  58. package/dist-types/commands/InitiateAuthCommand.d.ts +9 -5
  59. package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
  60. package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
  61. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +1 -1
  62. package/dist-types/commands/ListResourceServersCommand.d.ts +1 -1
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  64. package/dist-types/commands/ListUserImportJobsCommand.d.ts +1 -1
  65. package/dist-types/commands/ListUserPoolClientsCommand.d.ts +1 -1
  66. package/dist-types/commands/ListUserPoolsCommand.d.ts +1 -1
  67. package/dist-types/commands/ListUsersCommand.d.ts +1 -1
  68. package/dist-types/commands/ListUsersInGroupCommand.d.ts +1 -1
  69. package/dist-types/commands/ListWebAuthnCredentialsCommand.d.ts +100 -0
  70. package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +3 -3
  71. package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +5 -6
  72. package/dist-types/commands/SetLogDeliveryConfigurationCommand.d.ts +4 -0
  73. package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +15 -3
  74. package/dist-types/commands/SignUpCommand.d.ts +11 -3
  75. package/dist-types/commands/StartWebAuthnRegistrationCommand.d.ts +107 -0
  76. package/dist-types/commands/UpdateManagedLoginBrandingCommand.d.ts +150 -0
  77. package/dist-types/commands/UpdateUserAttributesCommand.d.ts +2 -2
  78. package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +2 -2
  79. package/dist-types/commands/UpdateUserPoolCommand.d.ts +17 -2
  80. package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +6 -0
  81. package/dist-types/commands/index.d.ts +10 -0
  82. package/dist-types/models/models_0.d.ts +1609 -1660
  83. package/dist-types/models/models_1.d.ts +1711 -7
  84. package/dist-types/protocols/Aws_json1_1.d.ts +90 -0
  85. package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +177 -0
  86. package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +60 -0
  87. package/dist-types/ts3.4/commands/CompleteWebAuthnRegistrationCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/ConfirmSignUpCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/CreateManagedLoginBrandingCommand.d.ts +51 -0
  90. package/dist-types/ts3.4/commands/DeleteManagedLoginBrandingCommand.d.ts +47 -0
  91. package/dist-types/ts3.4/commands/DeleteWebAuthnCredentialCommand.d.ts +51 -0
  92. package/dist-types/ts3.4/commands/DescribeManagedLoginBrandingByClientCommand.d.ts +51 -0
  93. package/dist-types/ts3.4/commands/DescribeManagedLoginBrandingCommand.d.ts +51 -0
  94. package/dist-types/ts3.4/commands/GetUserAuthFactorsCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/GetUserPoolMfaConfigCommand.d.ts +2 -4
  96. package/dist-types/ts3.4/commands/GlobalSignOutCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/InitiateAuthCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/ListResourceServersCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/ListUserImportJobsCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ListUserPoolClientsCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ListUserPoolsCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ListUsersInGroupCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/ListWebAuthnCredentialsCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/ResendConfirmationCodeCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/RespondToAuthChallengeCommand.d.ts +4 -2
  111. package/dist-types/ts3.4/commands/StartWebAuthnRegistrationCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/UpdateManagedLoginBrandingCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  114. package/dist-types/ts3.4/models/models_0.d.ts +248 -185
  115. package/dist-types/ts3.4/models/models_1.d.ts +262 -1
  116. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +120 -0
  117. package/package.json +35 -35
@@ -1,4 +1,5 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { DocumentType as __DocumentType } from "@smithy/types";
2
3
  import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
3
4
  export declare const RecoveryOptionNameType: {
4
5
  readonly ADMIN_ONLY: "admin_only";
@@ -88,6 +89,7 @@ export declare class InternalErrorException extends __BaseException {
88
89
  export declare class InvalidParameterException extends __BaseException {
89
90
  readonly name: "InvalidParameterException";
90
91
  readonly $fault: "client";
92
+ reasonCode?: string | undefined;
91
93
  constructor(
92
94
  opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
93
95
  );
@@ -384,6 +386,7 @@ export declare const AuthFlowType: {
384
386
  readonly CUSTOM_AUTH: "CUSTOM_AUTH";
385
387
  readonly REFRESH_TOKEN: "REFRESH_TOKEN";
386
388
  readonly REFRESH_TOKEN_AUTH: "REFRESH_TOKEN_AUTH";
389
+ readonly USER_AUTH: "USER_AUTH";
387
390
  readonly USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH";
388
391
  readonly USER_SRP_AUTH: "USER_SRP_AUTH";
389
392
  };
@@ -407,6 +410,7 @@ export interface AdminInitiateAuthRequest {
407
410
  ClientMetadata?: Record<string, string> | undefined;
408
411
  AnalyticsMetadata?: AnalyticsMetadataType | undefined;
409
412
  ContextData?: ContextDataType | undefined;
413
+ Session?: string | undefined;
410
414
  }
411
415
  export interface NewDeviceMetadataType {
412
416
  DeviceKey?: string | undefined;
@@ -428,10 +432,15 @@ export declare const ChallengeNameType: {
428
432
  readonly EMAIL_OTP: "EMAIL_OTP";
429
433
  readonly MFA_SETUP: "MFA_SETUP";
430
434
  readonly NEW_PASSWORD_REQUIRED: "NEW_PASSWORD_REQUIRED";
435
+ readonly PASSWORD: "PASSWORD";
436
+ readonly PASSWORD_SRP: "PASSWORD_SRP";
431
437
  readonly PASSWORD_VERIFIER: "PASSWORD_VERIFIER";
438
+ readonly SELECT_CHALLENGE: "SELECT_CHALLENGE";
432
439
  readonly SELECT_MFA_TYPE: "SELECT_MFA_TYPE";
433
440
  readonly SMS_MFA: "SMS_MFA";
441
+ readonly SMS_OTP: "SMS_OTP";
434
442
  readonly SOFTWARE_TOKEN_MFA: "SOFTWARE_TOKEN_MFA";
443
+ readonly WEB_AUTHN: "WEB_AUTHN";
435
444
  };
436
445
  export type ChallengeNameType =
437
446
  (typeof ChallengeNameType)[keyof typeof ChallengeNameType];
@@ -752,6 +761,14 @@ export declare const AliasAttributeType: {
752
761
  };
753
762
  export type AliasAttributeType =
754
763
  (typeof AliasAttributeType)[keyof typeof AliasAttributeType];
764
+ export declare const AuthFactorType: {
765
+ readonly EMAIL_OTP: "EMAIL_OTP";
766
+ readonly PASSWORD: "PASSWORD";
767
+ readonly SMS_OTP: "SMS_OTP";
768
+ readonly WEB_AUTHN: "WEB_AUTHN";
769
+ };
770
+ export type AuthFactorType =
771
+ (typeof AuthFactorType)[keyof typeof AuthFactorType];
755
772
  export interface AnalyticsConfigurationType {
756
773
  ApplicationId?: string | undefined;
757
774
  ApplicationArn?: string | undefined;
@@ -759,6 +776,48 @@ export interface AnalyticsConfigurationType {
759
776
  ExternalId?: string | undefined;
760
777
  UserDataShared?: boolean | undefined;
761
778
  }
779
+ export declare const AssetCategoryType: {
780
+ readonly AUTH_APP_GRAPHIC: "AUTH_APP_GRAPHIC";
781
+ readonly EMAIL_GRAPHIC: "EMAIL_GRAPHIC";
782
+ readonly FAVICON_ICO: "FAVICON_ICO";
783
+ readonly FAVICON_SVG: "FAVICON_SVG";
784
+ readonly FORM_BACKGROUND: "FORM_BACKGROUND";
785
+ readonly FORM_LOGO: "FORM_LOGO";
786
+ readonly IDP_BUTTON_ICON: "IDP_BUTTON_ICON";
787
+ readonly PAGE_BACKGROUND: "PAGE_BACKGROUND";
788
+ readonly PAGE_FOOTER_BACKGROUND: "PAGE_FOOTER_BACKGROUND";
789
+ readonly PAGE_FOOTER_LOGO: "PAGE_FOOTER_LOGO";
790
+ readonly PAGE_HEADER_BACKGROUND: "PAGE_HEADER_BACKGROUND";
791
+ readonly PAGE_HEADER_LOGO: "PAGE_HEADER_LOGO";
792
+ readonly PASSKEY_GRAPHIC: "PASSKEY_GRAPHIC";
793
+ readonly PASSWORD_GRAPHIC: "PASSWORD_GRAPHIC";
794
+ readonly SMS_GRAPHIC: "SMS_GRAPHIC";
795
+ };
796
+ export type AssetCategoryType =
797
+ (typeof AssetCategoryType)[keyof typeof AssetCategoryType];
798
+ export declare const AssetExtensionType: {
799
+ readonly ICO: "ICO";
800
+ readonly JPEG: "JPEG";
801
+ readonly PNG: "PNG";
802
+ readonly SVG: "SVG";
803
+ readonly WEBP: "WEBP";
804
+ };
805
+ export type AssetExtensionType =
806
+ (typeof AssetExtensionType)[keyof typeof AssetExtensionType];
807
+ export declare const ColorSchemeModeType: {
808
+ readonly DARK: "DARK";
809
+ readonly DYNAMIC: "DYNAMIC";
810
+ readonly LIGHT: "LIGHT";
811
+ };
812
+ export type ColorSchemeModeType =
813
+ (typeof ColorSchemeModeType)[keyof typeof ColorSchemeModeType];
814
+ export interface AssetType {
815
+ Category: AssetCategoryType | undefined;
816
+ ColorMode: ColorSchemeModeType | undefined;
817
+ Extension: AssetExtensionType | undefined;
818
+ Bytes?: Uint8Array | undefined;
819
+ ResourceId?: string | undefined;
820
+ }
762
821
  export interface AssociateSoftwareTokenRequest {
763
822
  AccessToken?: string | undefined;
764
823
  Session?: string | undefined;
@@ -789,11 +848,73 @@ export declare const VerifiedAttributeType: {
789
848
  export type VerifiedAttributeType =
790
849
  (typeof VerifiedAttributeType)[keyof typeof VerifiedAttributeType];
791
850
  export interface ChangePasswordRequest {
792
- PreviousPassword: string | undefined;
851
+ PreviousPassword?: string | undefined;
793
852
  ProposedPassword: string | undefined;
794
853
  AccessToken: string | undefined;
795
854
  }
796
855
  export interface ChangePasswordResponse {}
856
+ export interface CompleteWebAuthnRegistrationRequest {
857
+ AccessToken: string | undefined;
858
+ Credential: __DocumentType | undefined;
859
+ }
860
+ export interface CompleteWebAuthnRegistrationResponse {}
861
+ export declare class WebAuthnChallengeNotFoundException extends __BaseException {
862
+ readonly name: "WebAuthnChallengeNotFoundException";
863
+ readonly $fault: "client";
864
+ constructor(
865
+ opts: __ExceptionOptionType<
866
+ WebAuthnChallengeNotFoundException,
867
+ __BaseException
868
+ >
869
+ );
870
+ }
871
+ export declare class WebAuthnClientMismatchException extends __BaseException {
872
+ readonly name: "WebAuthnClientMismatchException";
873
+ readonly $fault: "client";
874
+ constructor(
875
+ opts: __ExceptionOptionType<
876
+ WebAuthnClientMismatchException,
877
+ __BaseException
878
+ >
879
+ );
880
+ }
881
+ export declare class WebAuthnCredentialNotSupportedException extends __BaseException {
882
+ readonly name: "WebAuthnCredentialNotSupportedException";
883
+ readonly $fault: "client";
884
+ constructor(
885
+ opts: __ExceptionOptionType<
886
+ WebAuthnCredentialNotSupportedException,
887
+ __BaseException
888
+ >
889
+ );
890
+ }
891
+ export declare class WebAuthnNotEnabledException extends __BaseException {
892
+ readonly name: "WebAuthnNotEnabledException";
893
+ readonly $fault: "client";
894
+ constructor(
895
+ opts: __ExceptionOptionType<WebAuthnNotEnabledException, __BaseException>
896
+ );
897
+ }
898
+ export declare class WebAuthnOriginNotAllowedException extends __BaseException {
899
+ readonly name: "WebAuthnOriginNotAllowedException";
900
+ readonly $fault: "client";
901
+ constructor(
902
+ opts: __ExceptionOptionType<
903
+ WebAuthnOriginNotAllowedException,
904
+ __BaseException
905
+ >
906
+ );
907
+ }
908
+ export declare class WebAuthnRelyingPartyMismatchException extends __BaseException {
909
+ readonly name: "WebAuthnRelyingPartyMismatchException";
910
+ readonly $fault: "client";
911
+ constructor(
912
+ opts: __ExceptionOptionType<
913
+ WebAuthnRelyingPartyMismatchException,
914
+ __BaseException
915
+ >
916
+ );
917
+ }
797
918
  export interface DeviceSecretVerifierConfigType {
798
919
  PasswordVerifier?: string | undefined;
799
920
  Salt?: string | undefined;
@@ -831,8 +952,11 @@ export interface ConfirmSignUpRequest {
831
952
  AnalyticsMetadata?: AnalyticsMetadataType | undefined;
832
953
  UserContextData?: UserContextDataType | undefined;
833
954
  ClientMetadata?: Record<string, string> | undefined;
955
+ Session?: string | undefined;
956
+ }
957
+ export interface ConfirmSignUpResponse {
958
+ Session?: string | undefined;
834
959
  }
835
- export interface ConfirmSignUpResponse {}
836
960
  export interface CreateGroupRequest {
837
961
  GroupName: string | undefined;
838
962
  UserPoolId: string | undefined;
@@ -888,6 +1012,35 @@ export declare class DuplicateProviderException extends __BaseException {
888
1012
  opts: __ExceptionOptionType<DuplicateProviderException, __BaseException>
889
1013
  );
890
1014
  }
1015
+ export interface CreateManagedLoginBrandingRequest {
1016
+ UserPoolId: string | undefined;
1017
+ ClientId: string | undefined;
1018
+ UseCognitoProvidedValues?: boolean | undefined;
1019
+ Settings?: __DocumentType | undefined;
1020
+ Assets?: AssetType[] | undefined;
1021
+ }
1022
+ export interface ManagedLoginBrandingType {
1023
+ ManagedLoginBrandingId?: string | undefined;
1024
+ UserPoolId?: string | undefined;
1025
+ UseCognitoProvidedValues?: boolean | undefined;
1026
+ Settings?: __DocumentType | undefined;
1027
+ Assets?: AssetType[] | undefined;
1028
+ CreationDate?: Date | undefined;
1029
+ LastModifiedDate?: Date | undefined;
1030
+ }
1031
+ export interface CreateManagedLoginBrandingResponse {
1032
+ ManagedLoginBranding?: ManagedLoginBrandingType | undefined;
1033
+ }
1034
+ export declare class ManagedLoginBrandingExistsException extends __BaseException {
1035
+ readonly name: "ManagedLoginBrandingExistsException";
1036
+ readonly $fault: "client";
1037
+ constructor(
1038
+ opts: __ExceptionOptionType<
1039
+ ManagedLoginBrandingExistsException,
1040
+ __BaseException
1041
+ >
1042
+ );
1043
+ }
891
1044
  export interface ResourceServerScopeType {
892
1045
  ScopeName: string | undefined;
893
1046
  ScopeDescription: string | undefined;
@@ -1025,8 +1178,12 @@ export interface PasswordPolicyType {
1025
1178
  PasswordHistorySize?: number | undefined;
1026
1179
  TemporaryPasswordValidityDays?: number | undefined;
1027
1180
  }
1181
+ export interface SignInPolicyType {
1182
+ AllowedFirstAuthFactors?: AuthFactorType[] | undefined;
1183
+ }
1028
1184
  export interface UserPoolPolicyType {
1029
1185
  PasswordPolicy?: PasswordPolicyType | undefined;
1186
+ SignInPolicy?: SignInPolicyType | undefined;
1030
1187
  }
1031
1188
  export interface SmsConfigurationType {
1032
1189
  SnsCallerArn: string | undefined;
@@ -1053,6 +1210,13 @@ export interface UserPoolAddOnsType {
1053
1210
  | AdvancedSecurityAdditionalFlowsType
1054
1211
  | undefined;
1055
1212
  }
1213
+ export declare const UserPoolTierType: {
1214
+ readonly ESSENTIALS: "ESSENTIALS";
1215
+ readonly LITE: "LITE";
1216
+ readonly PLUS: "PLUS";
1217
+ };
1218
+ export type UserPoolTierType =
1219
+ (typeof UserPoolTierType)[keyof typeof UserPoolTierType];
1056
1220
  export declare const DefaultEmailOptionType: {
1057
1221
  readonly CONFIRM_WITH_CODE: "CONFIRM_WITH_CODE";
1058
1222
  readonly CONFIRM_WITH_LINK: "CONFIRM_WITH_LINK";
@@ -1091,6 +1255,7 @@ export interface CreateUserPoolRequest {
1091
1255
  UserPoolAddOns?: UserPoolAddOnsType | undefined;
1092
1256
  UsernameConfiguration?: UsernameConfigurationType | undefined;
1093
1257
  AccountRecoverySetting?: AccountRecoverySettingType | undefined;
1258
+ UserPoolTier?: UserPoolTierType | undefined;
1094
1259
  }
1095
1260
  export declare const StatusType: {
1096
1261
  readonly Disabled: "Disabled";
@@ -1131,10 +1296,28 @@ export interface UserPoolType {
1131
1296
  UsernameConfiguration?: UsernameConfigurationType | undefined;
1132
1297
  Arn?: string | undefined;
1133
1298
  AccountRecoverySetting?: AccountRecoverySettingType | undefined;
1299
+ UserPoolTier?: UserPoolTierType | undefined;
1134
1300
  }
1135
1301
  export interface CreateUserPoolResponse {
1136
1302
  UserPool?: UserPoolType | undefined;
1137
1303
  }
1304
+ export declare class FeatureUnavailableInTierException extends __BaseException {
1305
+ readonly name: "FeatureUnavailableInTierException";
1306
+ readonly $fault: "client";
1307
+ constructor(
1308
+ opts: __ExceptionOptionType<
1309
+ FeatureUnavailableInTierException,
1310
+ __BaseException
1311
+ >
1312
+ );
1313
+ }
1314
+ export declare class TierChangeNotAllowedException extends __BaseException {
1315
+ readonly name: "TierChangeNotAllowedException";
1316
+ readonly $fault: "client";
1317
+ constructor(
1318
+ opts: __ExceptionOptionType<TierChangeNotAllowedException, __BaseException>
1319
+ );
1320
+ }
1138
1321
  export declare class UserPoolTaggingException extends __BaseException {
1139
1322
  readonly name: "UserPoolTaggingException";
1140
1323
  readonly $fault: "client";
@@ -1153,6 +1336,7 @@ export declare const ExplicitAuthFlowsType: {
1153
1336
  readonly ALLOW_ADMIN_USER_PASSWORD_AUTH: "ALLOW_ADMIN_USER_PASSWORD_AUTH";
1154
1337
  readonly ALLOW_CUSTOM_AUTH: "ALLOW_CUSTOM_AUTH";
1155
1338
  readonly ALLOW_REFRESH_TOKEN_AUTH: "ALLOW_REFRESH_TOKEN_AUTH";
1339
+ readonly ALLOW_USER_AUTH: "ALLOW_USER_AUTH";
1156
1340
  readonly ALLOW_USER_PASSWORD_AUTH: "ALLOW_USER_PASSWORD_AUTH";
1157
1341
  readonly ALLOW_USER_SRP_AUTH: "ALLOW_USER_SRP_AUTH";
1158
1342
  readonly CUSTOM_AUTH_FLOW_ONLY: "CUSTOM_AUTH_FLOW_ONLY";
@@ -1252,9 +1436,11 @@ export interface CustomDomainConfigType {
1252
1436
  export interface CreateUserPoolDomainRequest {
1253
1437
  Domain: string | undefined;
1254
1438
  UserPoolId: string | undefined;
1439
+ ManagedLoginVersion?: number | undefined;
1255
1440
  CustomDomainConfig?: CustomDomainConfigType | undefined;
1256
1441
  }
1257
1442
  export interface CreateUserPoolDomainResponse {
1443
+ ManagedLoginVersion?: number | undefined;
1258
1444
  CloudFrontDomain?: string | undefined;
1259
1445
  }
1260
1446
  export interface DeleteGroupRequest {
@@ -1275,6 +1461,10 @@ export declare class UnsupportedIdentityProviderException extends __BaseExceptio
1275
1461
  >
1276
1462
  );
1277
1463
  }
1464
+ export interface DeleteManagedLoginBrandingRequest {
1465
+ ManagedLoginBrandingId: string | undefined;
1466
+ UserPoolId: string | undefined;
1467
+ }
1278
1468
  export interface DeleteResourceServerRequest {
1279
1469
  UserPoolId: string | undefined;
1280
1470
  Identifier: string | undefined;
@@ -1299,6 +1489,11 @@ export interface DeleteUserPoolDomainRequest {
1299
1489
  UserPoolId: string | undefined;
1300
1490
  }
1301
1491
  export interface DeleteUserPoolDomainResponse {}
1492
+ export interface DeleteWebAuthnCredentialRequest {
1493
+ AccessToken: string | undefined;
1494
+ CredentialId: string | undefined;
1495
+ }
1496
+ export interface DeleteWebAuthnCredentialResponse {}
1302
1497
  export interface DescribeIdentityProviderRequest {
1303
1498
  UserPoolId: string | undefined;
1304
1499
  ProviderName: string | undefined;
@@ -1306,6 +1501,22 @@ export interface DescribeIdentityProviderRequest {
1306
1501
  export interface DescribeIdentityProviderResponse {
1307
1502
  IdentityProvider: IdentityProviderType | undefined;
1308
1503
  }
1504
+ export interface DescribeManagedLoginBrandingRequest {
1505
+ UserPoolId: string | undefined;
1506
+ ManagedLoginBrandingId: string | undefined;
1507
+ ReturnMergedResources?: boolean | undefined;
1508
+ }
1509
+ export interface DescribeManagedLoginBrandingResponse {
1510
+ ManagedLoginBranding?: ManagedLoginBrandingType | undefined;
1511
+ }
1512
+ export interface DescribeManagedLoginBrandingByClientRequest {
1513
+ UserPoolId: string | undefined;
1514
+ ClientId: string | undefined;
1515
+ ReturnMergedResources?: boolean | undefined;
1516
+ }
1517
+ export interface DescribeManagedLoginBrandingByClientResponse {
1518
+ ManagedLoginBranding?: ManagedLoginBrandingType | undefined;
1519
+ }
1309
1520
  export interface DescribeResourceServerRequest {
1310
1521
  UserPoolId: string | undefined;
1311
1522
  Identifier: string | undefined;
@@ -1397,6 +1608,7 @@ export interface DomainDescriptionType {
1397
1608
  Version?: string | undefined;
1398
1609
  Status?: DomainStatusType | undefined;
1399
1610
  CustomDomainConfig?: CustomDomainConfigType | undefined;
1611
+ ManagedLoginVersion?: number | undefined;
1400
1612
  }
1401
1613
  export interface DescribeUserPoolDomainResponse {
1402
1614
  DomainDescription?: DomainDescriptionType | undefined;
@@ -1526,6 +1738,15 @@ export interface GetUserAttributeVerificationCodeRequest {
1526
1738
  export interface GetUserAttributeVerificationCodeResponse {
1527
1739
  CodeDeliveryDetails?: CodeDeliveryDetailsType | undefined;
1528
1740
  }
1741
+ export interface GetUserAuthFactorsRequest {
1742
+ AccessToken: string | undefined;
1743
+ }
1744
+ export interface GetUserAuthFactorsResponse {
1745
+ Username: string | undefined;
1746
+ PreferredMfaSetting?: string | undefined;
1747
+ UserMFASettingList?: string[] | undefined;
1748
+ ConfiguredUserAuthFactors?: AuthFactorType[] | undefined;
1749
+ }
1529
1750
  export interface GetUserPoolMfaConfigRequest {
1530
1751
  UserPoolId: string | undefined;
1531
1752
  }
@@ -1540,158 +1761,12 @@ export interface SmsMfaConfigType {
1540
1761
  export interface SoftwareTokenMfaConfigType {
1541
1762
  Enabled?: boolean | undefined;
1542
1763
  }
1543
- export interface GetUserPoolMfaConfigResponse {
1544
- SmsMfaConfiguration?: SmsMfaConfigType | undefined;
1545
- SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType | undefined;
1546
- EmailMfaConfiguration?: EmailMfaConfigType | undefined;
1547
- MfaConfiguration?: UserPoolMfaType | undefined;
1548
- }
1549
- export interface GlobalSignOutRequest {
1550
- AccessToken: string | undefined;
1551
- }
1552
- export interface GlobalSignOutResponse {}
1553
- export interface InitiateAuthRequest {
1554
- AuthFlow: AuthFlowType | undefined;
1555
- AuthParameters?: Record<string, string> | undefined;
1556
- ClientMetadata?: Record<string, string> | undefined;
1557
- ClientId: string | undefined;
1558
- AnalyticsMetadata?: AnalyticsMetadataType | undefined;
1559
- UserContextData?: UserContextDataType | undefined;
1560
- }
1561
- export interface InitiateAuthResponse {
1562
- ChallengeName?: ChallengeNameType | undefined;
1563
- Session?: string | undefined;
1564
- ChallengeParameters?: Record<string, string> | undefined;
1565
- AuthenticationResult?: AuthenticationResultType | undefined;
1566
- }
1567
- export interface ListDevicesRequest {
1568
- AccessToken: string | undefined;
1569
- Limit?: number | undefined;
1570
- PaginationToken?: string | undefined;
1571
- }
1572
- export interface ListDevicesResponse {
1573
- Devices?: DeviceType[] | undefined;
1574
- PaginationToken?: string | undefined;
1575
- }
1576
- export interface ListGroupsRequest {
1577
- UserPoolId: string | undefined;
1578
- Limit?: number | undefined;
1579
- NextToken?: string | undefined;
1580
- }
1581
- export interface ListGroupsResponse {
1582
- Groups?: GroupType[] | undefined;
1583
- NextToken?: string | undefined;
1584
- }
1585
- export interface ListIdentityProvidersRequest {
1586
- UserPoolId: string | undefined;
1587
- MaxResults?: number | undefined;
1588
- NextToken?: string | undefined;
1589
- }
1590
- export interface ProviderDescription {
1591
- ProviderName?: string | undefined;
1592
- ProviderType?: IdentityProviderTypeType | undefined;
1593
- LastModifiedDate?: Date | undefined;
1594
- CreationDate?: Date | undefined;
1595
- }
1596
- export interface ListIdentityProvidersResponse {
1597
- Providers: ProviderDescription[] | undefined;
1598
- NextToken?: string | undefined;
1599
- }
1600
- export interface ListResourceServersRequest {
1601
- UserPoolId: string | undefined;
1602
- MaxResults?: number | undefined;
1603
- NextToken?: string | undefined;
1604
- }
1605
- export interface ListResourceServersResponse {
1606
- ResourceServers: ResourceServerType[] | undefined;
1607
- NextToken?: string | undefined;
1608
- }
1609
- export interface ListTagsForResourceRequest {
1610
- ResourceArn: string | undefined;
1611
- }
1612
- export interface ListTagsForResourceResponse {
1613
- Tags?: Record<string, string> | undefined;
1614
- }
1615
- export interface ListUserImportJobsRequest {
1616
- UserPoolId: string | undefined;
1617
- MaxResults: number | undefined;
1618
- PaginationToken?: string | undefined;
1619
- }
1620
- export interface ListUserImportJobsResponse {
1621
- UserImportJobs?: UserImportJobType[] | undefined;
1622
- PaginationToken?: string | undefined;
1623
- }
1624
- export interface ListUserPoolClientsRequest {
1625
- UserPoolId: string | undefined;
1626
- MaxResults?: number | undefined;
1627
- NextToken?: string | undefined;
1628
- }
1629
- export interface UserPoolClientDescription {
1630
- ClientId?: string | undefined;
1631
- UserPoolId?: string | undefined;
1632
- ClientName?: string | undefined;
1633
- }
1634
- export interface ListUserPoolClientsResponse {
1635
- UserPoolClients?: UserPoolClientDescription[] | undefined;
1636
- NextToken?: string | undefined;
1637
- }
1638
- export interface ListUserPoolsRequest {
1639
- NextToken?: string | undefined;
1640
- MaxResults: number | undefined;
1641
- }
1642
- export interface UserPoolDescriptionType {
1643
- Id?: string | undefined;
1644
- Name?: string | undefined;
1645
- LambdaConfig?: LambdaConfigType | undefined;
1646
- Status?: StatusType | undefined;
1647
- LastModifiedDate?: Date | undefined;
1648
- CreationDate?: Date | undefined;
1649
- }
1650
- export interface ListUserPoolsResponse {
1651
- UserPools?: UserPoolDescriptionType[] | undefined;
1652
- NextToken?: string | undefined;
1653
- }
1654
- export interface ListUsersRequest {
1655
- UserPoolId: string | undefined;
1656
- AttributesToGet?: string[] | undefined;
1657
- Limit?: number | undefined;
1658
- PaginationToken?: string | undefined;
1659
- Filter?: string | undefined;
1660
- }
1661
- export interface ListUsersResponse {
1662
- Users?: UserType[] | undefined;
1663
- PaginationToken?: string | undefined;
1664
- }
1665
- export interface ListUsersInGroupRequest {
1666
- UserPoolId: string | undefined;
1667
- GroupName: string | undefined;
1668
- Limit?: number | undefined;
1669
- NextToken?: string | undefined;
1670
- }
1671
- export interface ListUsersInGroupResponse {
1672
- Users?: UserType[] | undefined;
1673
- NextToken?: string | undefined;
1674
- }
1675
- export interface ResendConfirmationCodeRequest {
1676
- ClientId: string | undefined;
1677
- SecretHash?: string | undefined;
1678
- UserContextData?: UserContextDataType | undefined;
1679
- Username: string | undefined;
1680
- AnalyticsMetadata?: AnalyticsMetadataType | undefined;
1681
- ClientMetadata?: Record<string, string> | undefined;
1682
- }
1683
- export interface ResendConfirmationCodeResponse {
1684
- CodeDeliveryDetails?: CodeDeliveryDetailsType | undefined;
1685
- }
1686
- export interface RespondToAuthChallengeRequest {
1687
- ClientId: string | undefined;
1688
- ChallengeName: ChallengeNameType | undefined;
1689
- Session?: string | undefined;
1690
- ChallengeResponses?: Record<string, string> | undefined;
1691
- AnalyticsMetadata?: AnalyticsMetadataType | undefined;
1692
- UserContextData?: UserContextDataType | undefined;
1693
- ClientMetadata?: Record<string, string> | undefined;
1694
- }
1764
+ export declare const UserVerificationType: {
1765
+ readonly PREFERRED: "preferred";
1766
+ readonly REQUIRED: "required";
1767
+ };
1768
+ export type UserVerificationType =
1769
+ (typeof UserVerificationType)[keyof typeof UserVerificationType];
1695
1770
  export declare const AdminAddUserToGroupRequestFilterSensitiveLog: (
1696
1771
  obj: AdminAddUserToGroupRequest
1697
1772
  ) => any;
@@ -1799,6 +1874,9 @@ export declare const AssociateSoftwareTokenResponseFilterSensitiveLog: (
1799
1874
  export declare const ChangePasswordRequestFilterSensitiveLog: (
1800
1875
  obj: ChangePasswordRequest
1801
1876
  ) => any;
1877
+ export declare const CompleteWebAuthnRegistrationRequestFilterSensitiveLog: (
1878
+ obj: CompleteWebAuthnRegistrationRequest
1879
+ ) => any;
1802
1880
  export declare const ConfirmDeviceRequestFilterSensitiveLog: (
1803
1881
  obj: ConfirmDeviceRequest
1804
1882
  ) => any;
@@ -1811,6 +1889,12 @@ export declare const ConfirmForgotPasswordRequestFilterSensitiveLog: (
1811
1889
  export declare const ConfirmSignUpRequestFilterSensitiveLog: (
1812
1890
  obj: ConfirmSignUpRequest
1813
1891
  ) => any;
1892
+ export declare const ConfirmSignUpResponseFilterSensitiveLog: (
1893
+ obj: ConfirmSignUpResponse
1894
+ ) => any;
1895
+ export declare const CreateManagedLoginBrandingRequestFilterSensitiveLog: (
1896
+ obj: CreateManagedLoginBrandingRequest
1897
+ ) => any;
1814
1898
  export declare const UserPoolClientTypeFilterSensitiveLog: (
1815
1899
  obj: UserPoolClientType
1816
1900
  ) => any;
@@ -1826,6 +1910,12 @@ export declare const DeleteUserAttributesRequestFilterSensitiveLog: (
1826
1910
  export declare const DeleteUserPoolClientRequestFilterSensitiveLog: (
1827
1911
  obj: DeleteUserPoolClientRequest
1828
1912
  ) => any;
1913
+ export declare const DeleteWebAuthnCredentialRequestFilterSensitiveLog: (
1914
+ obj: DeleteWebAuthnCredentialRequest
1915
+ ) => any;
1916
+ export declare const DescribeManagedLoginBrandingByClientRequestFilterSensitiveLog: (
1917
+ obj: DescribeManagedLoginBrandingByClientRequest
1918
+ ) => any;
1829
1919
  export declare const DescribeRiskConfigurationRequestFilterSensitiveLog: (
1830
1920
  obj: DescribeRiskConfigurationRequest
1831
1921
  ) => any;
@@ -1871,36 +1961,9 @@ export declare const GetUserResponseFilterSensitiveLog: (
1871
1961
  export declare const GetUserAttributeVerificationCodeRequestFilterSensitiveLog: (
1872
1962
  obj: GetUserAttributeVerificationCodeRequest
1873
1963
  ) => any;
1874
- export declare const GlobalSignOutRequestFilterSensitiveLog: (
1875
- obj: GlobalSignOutRequest
1876
- ) => any;
1877
- export declare const InitiateAuthRequestFilterSensitiveLog: (
1878
- obj: InitiateAuthRequest
1879
- ) => any;
1880
- export declare const InitiateAuthResponseFilterSensitiveLog: (
1881
- obj: InitiateAuthResponse
1882
- ) => any;
1883
- export declare const ListDevicesRequestFilterSensitiveLog: (
1884
- obj: ListDevicesRequest
1885
- ) => any;
1886
- export declare const ListDevicesResponseFilterSensitiveLog: (
1887
- obj: ListDevicesResponse
1888
- ) => any;
1889
- export declare const UserPoolClientDescriptionFilterSensitiveLog: (
1890
- obj: UserPoolClientDescription
1891
- ) => any;
1892
- export declare const ListUserPoolClientsResponseFilterSensitiveLog: (
1893
- obj: ListUserPoolClientsResponse
1894
- ) => any;
1895
- export declare const ListUsersResponseFilterSensitiveLog: (
1896
- obj: ListUsersResponse
1897
- ) => any;
1898
- export declare const ListUsersInGroupResponseFilterSensitiveLog: (
1899
- obj: ListUsersInGroupResponse
1900
- ) => any;
1901
- export declare const ResendConfirmationCodeRequestFilterSensitiveLog: (
1902
- obj: ResendConfirmationCodeRequest
1964
+ export declare const GetUserAuthFactorsRequestFilterSensitiveLog: (
1965
+ obj: GetUserAuthFactorsRequest
1903
1966
  ) => any;
1904
- export declare const RespondToAuthChallengeRequestFilterSensitiveLog: (
1905
- obj: RespondToAuthChallengeRequest
1967
+ export declare const GetUserAuthFactorsResponseFilterSensitiveLog: (
1968
+ obj: GetUserAuthFactorsResponse
1906
1969
  ) => any;