@aws-sdk/client-cognito-identity-provider 3.300.0 → 3.303.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 (110) hide show
  1. package/dist-cjs/models/models_0.js +197 -233
  2. package/dist-cjs/models/models_1.js +4 -5
  3. package/dist-es/models/models_0.js +197 -233
  4. package/dist-es/models/models_1.js +4 -5
  5. package/dist-types/commands/AddCustomAttributesCommand.d.ts +5 -5
  6. package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +1 -1
  7. package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +2 -2
  8. package/dist-types/commands/AdminCreateUserCommand.d.ts +5 -5
  9. package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +2 -2
  10. package/dist-types/commands/AdminDeleteUserCommand.d.ts +1 -1
  11. package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +2 -2
  12. package/dist-types/commands/AdminDisableUserCommand.d.ts +1 -1
  13. package/dist-types/commands/AdminEnableUserCommand.d.ts +1 -1
  14. package/dist-types/commands/AdminForgetDeviceCommand.d.ts +1 -1
  15. package/dist-types/commands/AdminGetDeviceCommand.d.ts +1 -1
  16. package/dist-types/commands/AdminGetUserCommand.d.ts +1 -1
  17. package/dist-types/commands/AdminInitiateAuthCommand.d.ts +7 -7
  18. package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +2 -2
  19. package/dist-types/commands/AdminListDevicesCommand.d.ts +1 -1
  20. package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +1 -1
  21. package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +1 -1
  22. package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +1 -1
  23. package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +2 -2
  24. package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +7 -7
  25. package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +3 -3
  26. package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +1 -1
  27. package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +3 -3
  28. package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +1 -1
  29. package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +1 -1
  30. package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +4 -4
  31. package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +1 -1
  32. package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +1 -1
  33. package/dist-types/commands/ChangePasswordCommand.d.ts +1 -1
  34. package/dist-types/commands/ConfirmDeviceCommand.d.ts +2 -2
  35. package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +4 -4
  36. package/dist-types/commands/ConfirmSignUpCommand.d.ts +4 -4
  37. package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateIdentityProviderCommand.d.ts +4 -4
  39. package/dist-types/commands/CreateResourceServerCommand.d.ts +3 -3
  40. package/dist-types/commands/CreateUserImportJobCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateUserPoolClientCommand.d.ts +10 -10
  42. package/dist-types/commands/CreateUserPoolCommand.d.ts +27 -27
  43. package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +2 -2
  44. package/dist-types/commands/DeleteGroupCommand.d.ts +1 -1
  45. package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +1 -1
  46. package/dist-types/commands/DeleteResourceServerCommand.d.ts +1 -1
  47. package/dist-types/commands/DeleteUserAttributesCommand.d.ts +2 -2
  48. package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
  49. package/dist-types/commands/DeleteUserPoolClientCommand.d.ts +1 -1
  50. package/dist-types/commands/DeleteUserPoolCommand.d.ts +1 -1
  51. package/dist-types/commands/DeleteUserPoolDomainCommand.d.ts +1 -1
  52. package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +1 -1
  53. package/dist-types/commands/DescribeResourceServerCommand.d.ts +1 -1
  54. package/dist-types/commands/DescribeRiskConfigurationCommand.d.ts +1 -1
  55. package/dist-types/commands/DescribeUserImportJobCommand.d.ts +1 -1
  56. package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeUserPoolCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +1 -1
  59. package/dist-types/commands/ForgetDeviceCommand.d.ts +1 -1
  60. package/dist-types/commands/ForgotPasswordCommand.d.ts +4 -4
  61. package/dist-types/commands/GetCSVHeaderCommand.d.ts +1 -1
  62. package/dist-types/commands/GetDeviceCommand.d.ts +1 -1
  63. package/dist-types/commands/GetGroupCommand.d.ts +1 -1
  64. package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +1 -1
  65. package/dist-types/commands/GetSigningCertificateCommand.d.ts +1 -1
  66. package/dist-types/commands/GetUICustomizationCommand.d.ts +1 -1
  67. package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +2 -2
  68. package/dist-types/commands/GetUserCommand.d.ts +1 -1
  69. package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +1 -1
  70. package/dist-types/commands/GlobalSignOutCommand.d.ts +1 -1
  71. package/dist-types/commands/InitiateAuthCommand.d.ts +5 -5
  72. package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
  73. package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
  74. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +1 -1
  75. package/dist-types/commands/ListResourceServersCommand.d.ts +1 -1
  76. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  77. package/dist-types/commands/ListUserImportJobsCommand.d.ts +1 -1
  78. package/dist-types/commands/ListUserPoolClientsCommand.d.ts +1 -1
  79. package/dist-types/commands/ListUserPoolsCommand.d.ts +1 -1
  80. package/dist-types/commands/ListUsersCommand.d.ts +2 -2
  81. package/dist-types/commands/ListUsersInGroupCommand.d.ts +1 -1
  82. package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +4 -4
  83. package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +5 -5
  84. package/dist-types/commands/RevokeTokenCommand.d.ts +1 -1
  85. package/dist-types/commands/SetRiskConfigurationCommand.d.ts +12 -12
  86. package/dist-types/commands/SetUICustomizationCommand.d.ts +1 -1
  87. package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +3 -3
  88. package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +4 -4
  89. package/dist-types/commands/SetUserSettingsCommand.d.ts +3 -3
  90. package/dist-types/commands/SignUpCommand.d.ts +6 -6
  91. package/dist-types/commands/StartUserImportJobCommand.d.ts +1 -1
  92. package/dist-types/commands/StopUserImportJobCommand.d.ts +1 -1
  93. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  94. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  95. package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +1 -1
  96. package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +1 -1
  97. package/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
  98. package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +4 -4
  99. package/dist-types/commands/UpdateResourceServerCommand.d.ts +3 -3
  100. package/dist-types/commands/UpdateUserAttributesCommand.d.ts +4 -4
  101. package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +10 -10
  102. package/dist-types/commands/UpdateUserPoolCommand.d.ts +20 -20
  103. package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +2 -2
  104. package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +1 -1
  105. package/dist-types/commands/VerifyUserAttributeCommand.d.ts +1 -1
  106. package/dist-types/models/models_0.d.ts +377 -197
  107. package/dist-types/models/models_1.d.ts +9 -4
  108. package/dist-types/ts3.4/models/models_0.d.ts +262 -197
  109. package/dist-types/ts3.4/models/models_1.d.ts +6 -4
  110. package/package.json +34 -34
@@ -2,12 +2,17 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum RecoveryOptionNameType {
7
- ADMIN_ONLY = "admin_only",
8
- VERIFIED_EMAIL = "verified_email",
9
- VERIFIED_PHONE_NUMBER = "verified_phone_number"
10
- }
7
+ export declare const RecoveryOptionNameType: {
8
+ readonly ADMIN_ONLY: "admin_only";
9
+ readonly VERIFIED_EMAIL: "verified_email";
10
+ readonly VERIFIED_PHONE_NUMBER: "verified_phone_number";
11
+ };
12
+ /**
13
+ * @public
14
+ */
15
+ export type RecoveryOptionNameType = (typeof RecoveryOptionNameType)[keyof typeof RecoveryOptionNameType];
11
16
  /**
12
17
  * @public
13
18
  * <p>A map containing a priority as a key, and recovery method name as a value.</p>
@@ -35,13 +40,18 @@ export interface AccountRecoverySettingType {
35
40
  }
36
41
  /**
37
42
  * @public
43
+ * @enum
38
44
  */
39
- export declare enum AccountTakeoverEventActionType {
40
- BLOCK = "BLOCK",
41
- MFA_IF_CONFIGURED = "MFA_IF_CONFIGURED",
42
- MFA_REQUIRED = "MFA_REQUIRED",
43
- NO_ACTION = "NO_ACTION"
44
- }
45
+ export declare const AccountTakeoverEventActionType: {
46
+ readonly BLOCK: "BLOCK";
47
+ readonly MFA_IF_CONFIGURED: "MFA_IF_CONFIGURED";
48
+ readonly MFA_REQUIRED: "MFA_REQUIRED";
49
+ readonly NO_ACTION: "NO_ACTION";
50
+ };
51
+ /**
52
+ * @public
53
+ */
54
+ export type AccountTakeoverEventActionType = (typeof AccountTakeoverEventActionType)[keyof typeof AccountTakeoverEventActionType];
45
55
  /**
46
56
  * @public
47
57
  * <p>Account takeover action type.</p>
@@ -164,13 +174,18 @@ export interface AccountTakeoverRiskConfigurationType {
164
174
  }
165
175
  /**
166
176
  * @public
177
+ * @enum
167
178
  */
168
- export declare enum AttributeDataType {
169
- BOOLEAN = "Boolean",
170
- DATETIME = "DateTime",
171
- NUMBER = "Number",
172
- STRING = "String"
173
- }
179
+ export declare const AttributeDataType: {
180
+ readonly BOOLEAN: "Boolean";
181
+ readonly DATETIME: "DateTime";
182
+ readonly NUMBER: "Number";
183
+ readonly STRING: "String";
184
+ };
185
+ /**
186
+ * @public
187
+ */
188
+ export type AttributeDataType = (typeof AttributeDataType)[keyof typeof AttributeDataType];
174
189
  /**
175
190
  * @public
176
191
  * <p>The minimum and maximum values of an attribute that is of the number data type.</p>
@@ -496,18 +511,28 @@ export declare class UserLambdaValidationException extends __BaseException {
496
511
  }
497
512
  /**
498
513
  * @public
514
+ * @enum
499
515
  */
500
- export declare enum DeliveryMediumType {
501
- EMAIL = "EMAIL",
502
- SMS = "SMS"
503
- }
516
+ export declare const DeliveryMediumType: {
517
+ readonly EMAIL: "EMAIL";
518
+ readonly SMS: "SMS";
519
+ };
504
520
  /**
505
521
  * @public
506
522
  */
507
- export declare enum MessageActionType {
508
- RESEND = "RESEND",
509
- SUPPRESS = "SUPPRESS"
510
- }
523
+ export type DeliveryMediumType = (typeof DeliveryMediumType)[keyof typeof DeliveryMediumType];
524
+ /**
525
+ * @public
526
+ * @enum
527
+ */
528
+ export declare const MessageActionType: {
529
+ readonly RESEND: "RESEND";
530
+ readonly SUPPRESS: "SUPPRESS";
531
+ };
532
+ /**
533
+ * @public
534
+ */
535
+ export type MessageActionType = (typeof MessageActionType)[keyof typeof MessageActionType];
511
536
  /**
512
537
  * @public
513
538
  * <p>Specifies whether the attribute is standard or custom.</p>
@@ -683,16 +708,21 @@ export interface MFAOptionType {
683
708
  }
684
709
  /**
685
710
  * @public
711
+ * @enum
686
712
  */
687
- export declare enum UserStatusType {
688
- ARCHIVED = "ARCHIVED",
689
- COMPROMISED = "COMPROMISED",
690
- CONFIRMED = "CONFIRMED",
691
- FORCE_CHANGE_PASSWORD = "FORCE_CHANGE_PASSWORD",
692
- RESET_REQUIRED = "RESET_REQUIRED",
693
- UNCONFIRMED = "UNCONFIRMED",
694
- UNKNOWN = "UNKNOWN"
695
- }
713
+ export declare const UserStatusType: {
714
+ readonly ARCHIVED: "ARCHIVED";
715
+ readonly COMPROMISED: "COMPROMISED";
716
+ readonly CONFIRMED: "CONFIRMED";
717
+ readonly FORCE_CHANGE_PASSWORD: "FORCE_CHANGE_PASSWORD";
718
+ readonly RESET_REQUIRED: "RESET_REQUIRED";
719
+ readonly UNCONFIRMED: "UNCONFIRMED";
720
+ readonly UNKNOWN: "UNKNOWN";
721
+ };
722
+ /**
723
+ * @public
724
+ */
725
+ export type UserStatusType = (typeof UserStatusType)[keyof typeof UserStatusType];
696
726
  /**
697
727
  * @public
698
728
  * <p>A user profile in a Amazon Cognito user pool.</p>
@@ -1222,16 +1252,21 @@ export interface AnalyticsMetadataType {
1222
1252
  }
1223
1253
  /**
1224
1254
  * @public
1255
+ * @enum
1225
1256
  */
1226
- export declare enum AuthFlowType {
1227
- ADMIN_NO_SRP_AUTH = "ADMIN_NO_SRP_AUTH",
1228
- ADMIN_USER_PASSWORD_AUTH = "ADMIN_USER_PASSWORD_AUTH",
1229
- CUSTOM_AUTH = "CUSTOM_AUTH",
1230
- REFRESH_TOKEN = "REFRESH_TOKEN",
1231
- REFRESH_TOKEN_AUTH = "REFRESH_TOKEN_AUTH",
1232
- USER_PASSWORD_AUTH = "USER_PASSWORD_AUTH",
1233
- USER_SRP_AUTH = "USER_SRP_AUTH"
1234
- }
1257
+ export declare const AuthFlowType: {
1258
+ readonly ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH";
1259
+ readonly ADMIN_USER_PASSWORD_AUTH: "ADMIN_USER_PASSWORD_AUTH";
1260
+ readonly CUSTOM_AUTH: "CUSTOM_AUTH";
1261
+ readonly REFRESH_TOKEN: "REFRESH_TOKEN";
1262
+ readonly REFRESH_TOKEN_AUTH: "REFRESH_TOKEN_AUTH";
1263
+ readonly USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH";
1264
+ readonly USER_SRP_AUTH: "USER_SRP_AUTH";
1265
+ };
1266
+ /**
1267
+ * @public
1268
+ */
1269
+ export type AuthFlowType = (typeof AuthFlowType)[keyof typeof AuthFlowType];
1235
1270
  /**
1236
1271
  * @public
1237
1272
  * <p>The HTTP header.</p>
@@ -1501,19 +1536,24 @@ export interface AuthenticationResultType {
1501
1536
  }
1502
1537
  /**
1503
1538
  * @public
1539
+ * @enum
1504
1540
  */
1505
- export declare enum ChallengeNameType {
1506
- ADMIN_NO_SRP_AUTH = "ADMIN_NO_SRP_AUTH",
1507
- CUSTOM_CHALLENGE = "CUSTOM_CHALLENGE",
1508
- DEVICE_PASSWORD_VERIFIER = "DEVICE_PASSWORD_VERIFIER",
1509
- DEVICE_SRP_AUTH = "DEVICE_SRP_AUTH",
1510
- MFA_SETUP = "MFA_SETUP",
1511
- NEW_PASSWORD_REQUIRED = "NEW_PASSWORD_REQUIRED",
1512
- PASSWORD_VERIFIER = "PASSWORD_VERIFIER",
1513
- SELECT_MFA_TYPE = "SELECT_MFA_TYPE",
1514
- SMS_MFA = "SMS_MFA",
1515
- SOFTWARE_TOKEN_MFA = "SOFTWARE_TOKEN_MFA"
1516
- }
1541
+ export declare const ChallengeNameType: {
1542
+ readonly ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH";
1543
+ readonly CUSTOM_CHALLENGE: "CUSTOM_CHALLENGE";
1544
+ readonly DEVICE_PASSWORD_VERIFIER: "DEVICE_PASSWORD_VERIFIER";
1545
+ readonly DEVICE_SRP_AUTH: "DEVICE_SRP_AUTH";
1546
+ readonly MFA_SETUP: "MFA_SETUP";
1547
+ readonly NEW_PASSWORD_REQUIRED: "NEW_PASSWORD_REQUIRED";
1548
+ readonly PASSWORD_VERIFIER: "PASSWORD_VERIFIER";
1549
+ readonly SELECT_MFA_TYPE: "SELECT_MFA_TYPE";
1550
+ readonly SMS_MFA: "SMS_MFA";
1551
+ readonly SOFTWARE_TOKEN_MFA: "SOFTWARE_TOKEN_MFA";
1552
+ };
1553
+ /**
1554
+ * @public
1555
+ */
1556
+ export type ChallengeNameType = (typeof ChallengeNameType)[keyof typeof ChallengeNameType];
1517
1557
  /**
1518
1558
  * @public
1519
1559
  * <p>Initiates the authentication response, as an administrator.</p>
@@ -1873,18 +1913,28 @@ export interface AdminListUserAuthEventsRequest {
1873
1913
  }
1874
1914
  /**
1875
1915
  * @public
1916
+ * @enum
1876
1917
  */
1877
- export declare enum ChallengeName {
1878
- Mfa = "Mfa",
1879
- Password = "Password"
1880
- }
1918
+ export declare const ChallengeName: {
1919
+ readonly Mfa: "Mfa";
1920
+ readonly Password: "Password";
1921
+ };
1881
1922
  /**
1882
1923
  * @public
1883
1924
  */
1884
- export declare enum ChallengeResponse {
1885
- Failure = "Failure",
1886
- Success = "Success"
1887
- }
1925
+ export type ChallengeName = (typeof ChallengeName)[keyof typeof ChallengeName];
1926
+ /**
1927
+ * @public
1928
+ * @enum
1929
+ */
1930
+ export declare const ChallengeResponse: {
1931
+ readonly Failure: "Failure";
1932
+ readonly Success: "Success";
1933
+ };
1934
+ /**
1935
+ * @public
1936
+ */
1937
+ export type ChallengeResponse = (typeof ChallengeResponse)[keyof typeof ChallengeResponse];
1888
1938
  /**
1889
1939
  * @public
1890
1940
  * <p>The challenge response type.</p>
@@ -1927,11 +1977,16 @@ export interface EventContextDataType {
1927
1977
  }
1928
1978
  /**
1929
1979
  * @public
1980
+ * @enum
1930
1981
  */
1931
- export declare enum FeedbackValueType {
1932
- INVALID = "Invalid",
1933
- VALID = "Valid"
1934
- }
1982
+ export declare const FeedbackValueType: {
1983
+ readonly INVALID: "Invalid";
1984
+ readonly VALID: "Valid";
1985
+ };
1986
+ /**
1987
+ * @public
1988
+ */
1989
+ export type FeedbackValueType = (typeof FeedbackValueType)[keyof typeof FeedbackValueType];
1935
1990
  /**
1936
1991
  * @public
1937
1992
  * <p>Specifies the event feedback type.</p>
@@ -1952,28 +2007,43 @@ export interface EventFeedbackType {
1952
2007
  }
1953
2008
  /**
1954
2009
  * @public
2010
+ * @enum
1955
2011
  */
1956
- export declare enum EventResponseType {
1957
- Fail = "Fail",
1958
- InProgress = "InProgress",
1959
- Pass = "Pass"
1960
- }
2012
+ export declare const EventResponseType: {
2013
+ readonly Fail: "Fail";
2014
+ readonly InProgress: "InProgress";
2015
+ readonly Pass: "Pass";
2016
+ };
1961
2017
  /**
1962
2018
  * @public
1963
2019
  */
1964
- export declare enum RiskDecisionType {
1965
- AccountTakeover = "AccountTakeover",
1966
- Block = "Block",
1967
- NoRisk = "NoRisk"
1968
- }
2020
+ export type EventResponseType = (typeof EventResponseType)[keyof typeof EventResponseType];
1969
2021
  /**
1970
2022
  * @public
2023
+ * @enum
1971
2024
  */
1972
- export declare enum RiskLevelType {
1973
- High = "High",
1974
- Low = "Low",
1975
- Medium = "Medium"
1976
- }
2025
+ export declare const RiskDecisionType: {
2026
+ readonly AccountTakeover: "AccountTakeover";
2027
+ readonly Block: "Block";
2028
+ readonly NoRisk: "NoRisk";
2029
+ };
2030
+ /**
2031
+ * @public
2032
+ */
2033
+ export type RiskDecisionType = (typeof RiskDecisionType)[keyof typeof RiskDecisionType];
2034
+ /**
2035
+ * @public
2036
+ * @enum
2037
+ */
2038
+ export declare const RiskLevelType: {
2039
+ readonly High: "High";
2040
+ readonly Low: "Low";
2041
+ readonly Medium: "Medium";
2042
+ };
2043
+ /**
2044
+ * @public
2045
+ */
2046
+ export type RiskLevelType = (typeof RiskLevelType)[keyof typeof RiskLevelType];
1977
2047
  /**
1978
2048
  * @public
1979
2049
  * <p>The event risk type.</p>
@@ -1995,14 +2065,19 @@ export interface EventRiskType {
1995
2065
  }
1996
2066
  /**
1997
2067
  * @public
2068
+ * @enum
1998
2069
  */
1999
- export declare enum EventType {
2000
- ForgotPassword = "ForgotPassword",
2001
- PasswordChange = "PasswordChange",
2002
- ResendCode = "ResendCode",
2003
- SignIn = "SignIn",
2004
- SignUp = "SignUp"
2005
- }
2070
+ export declare const EventType: {
2071
+ readonly ForgotPassword: "ForgotPassword";
2072
+ readonly PasswordChange: "PasswordChange";
2073
+ readonly ResendCode: "ResendCode";
2074
+ readonly SignIn: "SignIn";
2075
+ readonly SignUp: "SignUp";
2076
+ };
2077
+ /**
2078
+ * @public
2079
+ */
2080
+ export type EventType = (typeof EventType)[keyof typeof EventType];
2006
2081
  /**
2007
2082
  * @public
2008
2083
  * <p>The authentication event type.</p>
@@ -2530,11 +2605,16 @@ export interface AdminUpdateAuthEventFeedbackResponse {
2530
2605
  }
2531
2606
  /**
2532
2607
  * @public
2608
+ * @enum
2533
2609
  */
2534
- export declare enum DeviceRememberedStatusType {
2535
- NOT_REMEMBERED = "not_remembered",
2536
- REMEMBERED = "remembered"
2537
- }
2610
+ export declare const DeviceRememberedStatusType: {
2611
+ readonly NOT_REMEMBERED: "not_remembered";
2612
+ readonly REMEMBERED: "remembered";
2613
+ };
2614
+ /**
2615
+ * @public
2616
+ */
2617
+ export type DeviceRememberedStatusType = (typeof DeviceRememberedStatusType)[keyof typeof DeviceRememberedStatusType];
2538
2618
  /**
2539
2619
  * @public
2540
2620
  * <p>The request to update the device status, as an administrator.</p>
@@ -2660,20 +2740,30 @@ export interface AdminUserGlobalSignOutResponse {
2660
2740
  }
2661
2741
  /**
2662
2742
  * @public
2743
+ * @enum
2663
2744
  */
2664
- export declare enum AdvancedSecurityModeType {
2665
- AUDIT = "AUDIT",
2666
- ENFORCED = "ENFORCED",
2667
- OFF = "OFF"
2668
- }
2745
+ export declare const AdvancedSecurityModeType: {
2746
+ readonly AUDIT: "AUDIT";
2747
+ readonly ENFORCED: "ENFORCED";
2748
+ readonly OFF: "OFF";
2749
+ };
2669
2750
  /**
2670
2751
  * @public
2671
2752
  */
2672
- export declare enum AliasAttributeType {
2673
- EMAIL = "email",
2674
- PHONE_NUMBER = "phone_number",
2675
- PREFERRED_USERNAME = "preferred_username"
2676
- }
2753
+ export type AdvancedSecurityModeType = (typeof AdvancedSecurityModeType)[keyof typeof AdvancedSecurityModeType];
2754
+ /**
2755
+ * @public
2756
+ * @enum
2757
+ */
2758
+ export declare const AliasAttributeType: {
2759
+ readonly EMAIL: "email";
2760
+ readonly PHONE_NUMBER: "phone_number";
2761
+ readonly PREFERRED_USERNAME: "preferred_username";
2762
+ };
2763
+ /**
2764
+ * @public
2765
+ */
2766
+ export type AliasAttributeType = (typeof AliasAttributeType)[keyof typeof AliasAttributeType];
2677
2767
  /**
2678
2768
  * @public
2679
2769
  * <p>The Amazon Pinpoint analytics configuration necessary to collect metrics for a user
@@ -2767,11 +2857,16 @@ export declare class ForbiddenException extends __BaseException {
2767
2857
  }
2768
2858
  /**
2769
2859
  * @public
2860
+ * @enum
2770
2861
  */
2771
- export declare enum VerifiedAttributeType {
2772
- EMAIL = "email",
2773
- PHONE_NUMBER = "phone_number"
2774
- }
2862
+ export declare const VerifiedAttributeType: {
2863
+ readonly EMAIL: "email";
2864
+ readonly PHONE_NUMBER: "phone_number";
2865
+ };
2866
+ /**
2867
+ * @public
2868
+ */
2869
+ export type VerifiedAttributeType = (typeof VerifiedAttributeType)[keyof typeof VerifiedAttributeType];
2775
2870
  /**
2776
2871
  * @public
2777
2872
  * <p>Represents the request to change a user password.</p>
@@ -3093,15 +3188,20 @@ export declare class GroupExistsException extends __BaseException {
3093
3188
  }
3094
3189
  /**
3095
3190
  * @public
3191
+ * @enum
3096
3192
  */
3097
- export declare enum IdentityProviderTypeType {
3098
- Facebook = "Facebook",
3099
- Google = "Google",
3100
- LoginWithAmazon = "LoginWithAmazon",
3101
- OIDC = "OIDC",
3102
- SAML = "SAML",
3103
- SignInWithApple = "SignInWithApple"
3104
- }
3193
+ export declare const IdentityProviderTypeType: {
3194
+ readonly Facebook: "Facebook";
3195
+ readonly Google: "Google";
3196
+ readonly LoginWithAmazon: "LoginWithAmazon";
3197
+ readonly OIDC: "OIDC";
3198
+ readonly SAML: "SAML";
3199
+ readonly SignInWithApple: "SignInWithApple";
3200
+ };
3201
+ /**
3202
+ * @public
3203
+ */
3204
+ export type IdentityProviderTypeType = (typeof IdentityProviderTypeType)[keyof typeof IdentityProviderTypeType];
3105
3205
  /**
3106
3206
  * @public
3107
3207
  */
@@ -3510,17 +3610,22 @@ export interface CreateUserImportJobRequest {
3510
3610
  }
3511
3611
  /**
3512
3612
  * @public
3613
+ * @enum
3513
3614
  */
3514
- export declare enum UserImportJobStatusType {
3515
- Created = "Created",
3516
- Expired = "Expired",
3517
- Failed = "Failed",
3518
- InProgress = "InProgress",
3519
- Pending = "Pending",
3520
- Stopped = "Stopped",
3521
- Stopping = "Stopping",
3522
- Succeeded = "Succeeded"
3523
- }
3615
+ export declare const UserImportJobStatusType: {
3616
+ readonly Created: "Created";
3617
+ readonly Expired: "Expired";
3618
+ readonly Failed: "Failed";
3619
+ readonly InProgress: "InProgress";
3620
+ readonly Pending: "Pending";
3621
+ readonly Stopped: "Stopped";
3622
+ readonly Stopping: "Stopping";
3623
+ readonly Succeeded: "Succeeded";
3624
+ };
3625
+ /**
3626
+ * @public
3627
+ */
3628
+ export type UserImportJobStatusType = (typeof UserImportJobStatusType)[keyof typeof UserImportJobStatusType];
3524
3629
  /**
3525
3630
  * @public
3526
3631
  * <p>The user import job type.</p>
@@ -3634,11 +3739,16 @@ export interface CreateUserImportJobResponse {
3634
3739
  }
3635
3740
  /**
3636
3741
  * @public
3742
+ * @enum
3637
3743
  */
3638
- export declare enum DeletionProtectionType {
3639
- ACTIVE = "ACTIVE",
3640
- INACTIVE = "INACTIVE"
3641
- }
3744
+ export declare const DeletionProtectionType: {
3745
+ readonly ACTIVE: "ACTIVE";
3746
+ readonly INACTIVE: "INACTIVE";
3747
+ };
3748
+ /**
3749
+ * @public
3750
+ */
3751
+ export type DeletionProtectionType = (typeof DeletionProtectionType)[keyof typeof DeletionProtectionType];
3642
3752
  /**
3643
3753
  * @public
3644
3754
  * <p>The device-remembering configuration for a user pool. A <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html">
@@ -3686,11 +3796,16 @@ export interface DeviceConfigurationType {
3686
3796
  }
3687
3797
  /**
3688
3798
  * @public
3799
+ * @enum
3689
3800
  */
3690
- export declare enum EmailSendingAccountType {
3691
- COGNITO_DEFAULT = "COGNITO_DEFAULT",
3692
- DEVELOPER = "DEVELOPER"
3693
- }
3801
+ export declare const EmailSendingAccountType: {
3802
+ readonly COGNITO_DEFAULT: "COGNITO_DEFAULT";
3803
+ readonly DEVELOPER: "DEVELOPER";
3804
+ };
3805
+ /**
3806
+ * @public
3807
+ */
3808
+ export type EmailSendingAccountType = (typeof EmailSendingAccountType)[keyof typeof EmailSendingAccountType];
3694
3809
  /**
3695
3810
  * @public
3696
3811
  * <p>The email configuration of your user pool. The email configuration type sets your
@@ -3801,10 +3916,15 @@ export interface EmailConfigurationType {
3801
3916
  }
3802
3917
  /**
3803
3918
  * @public
3919
+ * @enum
3804
3920
  */
3805
- export declare enum CustomEmailSenderLambdaVersionType {
3806
- V1_0 = "V1_0"
3807
- }
3921
+ export declare const CustomEmailSenderLambdaVersionType: {
3922
+ readonly V1_0: "V1_0";
3923
+ };
3924
+ /**
3925
+ * @public
3926
+ */
3927
+ export type CustomEmailSenderLambdaVersionType = (typeof CustomEmailSenderLambdaVersionType)[keyof typeof CustomEmailSenderLambdaVersionType];
3808
3928
  /**
3809
3929
  * @public
3810
3930
  * <p>A custom email sender Lambda configuration type.</p>
@@ -3823,10 +3943,15 @@ export interface CustomEmailLambdaVersionConfigType {
3823
3943
  }
3824
3944
  /**
3825
3945
  * @public
3946
+ * @enum
3826
3947
  */
3827
- export declare enum CustomSMSSenderLambdaVersionType {
3828
- V1_0 = "V1_0"
3829
- }
3948
+ export declare const CustomSMSSenderLambdaVersionType: {
3949
+ readonly V1_0: "V1_0";
3950
+ };
3951
+ /**
3952
+ * @public
3953
+ */
3954
+ export type CustomSMSSenderLambdaVersionType = (typeof CustomSMSSenderLambdaVersionType)[keyof typeof CustomSMSSenderLambdaVersionType];
3830
3955
  /**
3831
3956
  * @public
3832
3957
  * <p>A custom SMS sender Lambda configuration type.</p>
@@ -3905,12 +4030,17 @@ export interface LambdaConfigType {
3905
4030
  }
3906
4031
  /**
3907
4032
  * @public
4033
+ * @enum
3908
4034
  */
3909
- export declare enum UserPoolMfaType {
3910
- OFF = "OFF",
3911
- ON = "ON",
3912
- OPTIONAL = "OPTIONAL"
3913
- }
4035
+ export declare const UserPoolMfaType: {
4036
+ readonly OFF: "OFF";
4037
+ readonly ON: "ON";
4038
+ readonly OPTIONAL: "OPTIONAL";
4039
+ };
4040
+ /**
4041
+ * @public
4042
+ */
4043
+ export type UserPoolMfaType = (typeof UserPoolMfaType)[keyof typeof UserPoolMfaType];
3914
4044
  /**
3915
4045
  * @public
3916
4046
  * <p>The password policy type.</p>
@@ -4028,11 +4158,16 @@ export interface UserAttributeUpdateSettingsType {
4028
4158
  }
4029
4159
  /**
4030
4160
  * @public
4161
+ * @enum
4031
4162
  */
4032
- export declare enum UsernameAttributeType {
4033
- EMAIL = "email",
4034
- PHONE_NUMBER = "phone_number"
4035
- }
4163
+ export declare const UsernameAttributeType: {
4164
+ readonly EMAIL: "email";
4165
+ readonly PHONE_NUMBER: "phone_number";
4166
+ };
4167
+ /**
4168
+ * @public
4169
+ */
4170
+ export type UsernameAttributeType = (typeof UsernameAttributeType)[keyof typeof UsernameAttributeType];
4036
4171
  /**
4037
4172
  * @public
4038
4173
  * <p>The username configuration type. </p>
@@ -4073,11 +4208,16 @@ export interface UserPoolAddOnsType {
4073
4208
  }
4074
4209
  /**
4075
4210
  * @public
4211
+ * @enum
4076
4212
  */
4077
- export declare enum DefaultEmailOptionType {
4078
- CONFIRM_WITH_CODE = "CONFIRM_WITH_CODE",
4079
- CONFIRM_WITH_LINK = "CONFIRM_WITH_LINK"
4080
- }
4213
+ export declare const DefaultEmailOptionType: {
4214
+ readonly CONFIRM_WITH_CODE: "CONFIRM_WITH_CODE";
4215
+ readonly CONFIRM_WITH_LINK: "CONFIRM_WITH_LINK";
4216
+ };
4217
+ /**
4218
+ * @public
4219
+ */
4220
+ export type DefaultEmailOptionType = (typeof DefaultEmailOptionType)[keyof typeof DefaultEmailOptionType];
4081
4221
  /**
4082
4222
  * @public
4083
4223
  * <p>The template for verification messages.</p>
@@ -4259,11 +4399,16 @@ export interface CreateUserPoolRequest {
4259
4399
  }
4260
4400
  /**
4261
4401
  * @public
4402
+ * @enum
4262
4403
  */
4263
- export declare enum StatusType {
4264
- Disabled = "Disabled",
4265
- Enabled = "Enabled"
4266
- }
4404
+ export declare const StatusType: {
4405
+ readonly Disabled: "Disabled";
4406
+ readonly Enabled: "Enabled";
4407
+ };
4408
+ /**
4409
+ * @public
4410
+ */
4411
+ export type StatusType = (typeof StatusType)[keyof typeof StatusType];
4267
4412
  /**
4268
4413
  * @public
4269
4414
  * <p>A container for information about the user pool.</p>
@@ -4494,41 +4639,61 @@ export declare class UserPoolTaggingException extends __BaseException {
4494
4639
  }
4495
4640
  /**
4496
4641
  * @public
4642
+ * @enum
4497
4643
  */
4498
- export declare enum OAuthFlowType {
4499
- client_credentials = "client_credentials",
4500
- code = "code",
4501
- implicit = "implicit"
4502
- }
4644
+ export declare const OAuthFlowType: {
4645
+ readonly client_credentials: "client_credentials";
4646
+ readonly code: "code";
4647
+ readonly implicit: "implicit";
4648
+ };
4503
4649
  /**
4504
4650
  * @public
4505
4651
  */
4506
- export declare enum ExplicitAuthFlowsType {
4507
- ADMIN_NO_SRP_AUTH = "ADMIN_NO_SRP_AUTH",
4508
- ALLOW_ADMIN_USER_PASSWORD_AUTH = "ALLOW_ADMIN_USER_PASSWORD_AUTH",
4509
- ALLOW_CUSTOM_AUTH = "ALLOW_CUSTOM_AUTH",
4510
- ALLOW_REFRESH_TOKEN_AUTH = "ALLOW_REFRESH_TOKEN_AUTH",
4511
- ALLOW_USER_PASSWORD_AUTH = "ALLOW_USER_PASSWORD_AUTH",
4512
- ALLOW_USER_SRP_AUTH = "ALLOW_USER_SRP_AUTH",
4513
- CUSTOM_AUTH_FLOW_ONLY = "CUSTOM_AUTH_FLOW_ONLY",
4514
- USER_PASSWORD_AUTH = "USER_PASSWORD_AUTH"
4515
- }
4652
+ export type OAuthFlowType = (typeof OAuthFlowType)[keyof typeof OAuthFlowType];
4516
4653
  /**
4517
4654
  * @public
4655
+ * @enum
4518
4656
  */
4519
- export declare enum PreventUserExistenceErrorTypes {
4520
- ENABLED = "ENABLED",
4521
- LEGACY = "LEGACY"
4522
- }
4657
+ export declare const ExplicitAuthFlowsType: {
4658
+ readonly ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH";
4659
+ readonly ALLOW_ADMIN_USER_PASSWORD_AUTH: "ALLOW_ADMIN_USER_PASSWORD_AUTH";
4660
+ readonly ALLOW_CUSTOM_AUTH: "ALLOW_CUSTOM_AUTH";
4661
+ readonly ALLOW_REFRESH_TOKEN_AUTH: "ALLOW_REFRESH_TOKEN_AUTH";
4662
+ readonly ALLOW_USER_PASSWORD_AUTH: "ALLOW_USER_PASSWORD_AUTH";
4663
+ readonly ALLOW_USER_SRP_AUTH: "ALLOW_USER_SRP_AUTH";
4664
+ readonly CUSTOM_AUTH_FLOW_ONLY: "CUSTOM_AUTH_FLOW_ONLY";
4665
+ readonly USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH";
4666
+ };
4523
4667
  /**
4524
4668
  * @public
4525
4669
  */
4526
- export declare enum TimeUnitsType {
4527
- DAYS = "days",
4528
- HOURS = "hours",
4529
- MINUTES = "minutes",
4530
- SECONDS = "seconds"
4531
- }
4670
+ export type ExplicitAuthFlowsType = (typeof ExplicitAuthFlowsType)[keyof typeof ExplicitAuthFlowsType];
4671
+ /**
4672
+ * @public
4673
+ * @enum
4674
+ */
4675
+ export declare const PreventUserExistenceErrorTypes: {
4676
+ readonly ENABLED: "ENABLED";
4677
+ readonly LEGACY: "LEGACY";
4678
+ };
4679
+ /**
4680
+ * @public
4681
+ */
4682
+ export type PreventUserExistenceErrorTypes = (typeof PreventUserExistenceErrorTypes)[keyof typeof PreventUserExistenceErrorTypes];
4683
+ /**
4684
+ * @public
4685
+ * @enum
4686
+ */
4687
+ export declare const TimeUnitsType: {
4688
+ readonly DAYS: "days";
4689
+ readonly HOURS: "hours";
4690
+ readonly MINUTES: "minutes";
4691
+ readonly SECONDS: "seconds";
4692
+ };
4693
+ /**
4694
+ * @public
4695
+ */
4696
+ export type TimeUnitsType = (typeof TimeUnitsType)[keyof typeof TimeUnitsType];
4532
4697
  /**
4533
4698
  * @public
4534
4699
  * <p>The data type TokenValidityUnits specifies the time units you use when you set the
@@ -5371,11 +5536,16 @@ export interface DescribeRiskConfigurationRequest {
5371
5536
  }
5372
5537
  /**
5373
5538
  * @public
5539
+ * @enum
5374
5540
  */
5375
- export declare enum CompromisedCredentialsEventActionType {
5376
- BLOCK = "BLOCK",
5377
- NO_ACTION = "NO_ACTION"
5378
- }
5541
+ export declare const CompromisedCredentialsEventActionType: {
5542
+ readonly BLOCK: "BLOCK";
5543
+ readonly NO_ACTION: "NO_ACTION";
5544
+ };
5545
+ /**
5546
+ * @public
5547
+ */
5548
+ export type CompromisedCredentialsEventActionType = (typeof CompromisedCredentialsEventActionType)[keyof typeof CompromisedCredentialsEventActionType];
5379
5549
  /**
5380
5550
  * @public
5381
5551
  * <p>The compromised credentials actions type.</p>
@@ -5388,12 +5558,17 @@ export interface CompromisedCredentialsActionsType {
5388
5558
  }
5389
5559
  /**
5390
5560
  * @public
5561
+ * @enum
5391
5562
  */
5392
- export declare enum EventFilterType {
5393
- PASSWORD_CHANGE = "PASSWORD_CHANGE",
5394
- SIGN_IN = "SIGN_IN",
5395
- SIGN_UP = "SIGN_UP"
5396
- }
5563
+ export declare const EventFilterType: {
5564
+ readonly PASSWORD_CHANGE: "PASSWORD_CHANGE";
5565
+ readonly SIGN_IN: "SIGN_IN";
5566
+ readonly SIGN_UP: "SIGN_UP";
5567
+ };
5568
+ /**
5569
+ * @public
5570
+ */
5571
+ export type EventFilterType = (typeof EventFilterType)[keyof typeof EventFilterType];
5397
5572
  /**
5398
5573
  * @public
5399
5574
  * <p>The compromised credentials risk configuration type.</p>
@@ -5551,14 +5726,19 @@ export interface DescribeUserPoolDomainRequest {
5551
5726
  }
5552
5727
  /**
5553
5728
  * @public
5729
+ * @enum
5554
5730
  */
5555
- export declare enum DomainStatusType {
5556
- ACTIVE = "ACTIVE",
5557
- CREATING = "CREATING",
5558
- DELETING = "DELETING",
5559
- FAILED = "FAILED",
5560
- UPDATING = "UPDATING"
5561
- }
5731
+ export declare const DomainStatusType: {
5732
+ readonly ACTIVE: "ACTIVE";
5733
+ readonly CREATING: "CREATING";
5734
+ readonly DELETING: "DELETING";
5735
+ readonly FAILED: "FAILED";
5736
+ readonly UPDATING: "UPDATING";
5737
+ };
5738
+ /**
5739
+ * @public
5740
+ */
5741
+ export type DomainStatusType = (typeof DomainStatusType)[keyof typeof DomainStatusType];
5562
5742
  /**
5563
5743
  * @public
5564
5744
  * <p>A container for information about a domain.</p>