@aws-sdk/client-cognito-identity-provider 3.934.0 → 3.935.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 (111) hide show
  1. package/dist-cjs/index.js +282 -282
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +281 -0
  4. package/dist-es/models/errors.js +663 -0
  5. package/dist-es/models/models_0.js +1 -876
  6. package/dist-es/models/models_1.js +1 -69
  7. package/dist-es/schemas/schemas_0.js +1 -1
  8. package/dist-types/commands/GetTokensFromRefreshTokenCommand.d.ts +1 -2
  9. package/dist-types/commands/GetUICustomizationCommand.d.ts +1 -1
  10. package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +1 -1
  11. package/dist-types/commands/GetUserAuthFactorsCommand.d.ts +1 -1
  12. package/dist-types/commands/GetUserCommand.d.ts +1 -1
  13. package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +1 -1
  14. package/dist-types/commands/GlobalSignOutCommand.d.ts +1 -1
  15. package/dist-types/commands/InitiateAuthCommand.d.ts +1 -1
  16. package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
  17. package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +1 -1
  19. package/dist-types/commands/ListResourceServersCommand.d.ts +1 -1
  20. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  21. package/dist-types/commands/ListTermsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListUserImportJobsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListUserPoolClientsCommand.d.ts +1 -1
  24. package/dist-types/commands/ListUserPoolsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListUsersCommand.d.ts +1 -1
  26. package/dist-types/commands/ListUsersInGroupCommand.d.ts +1 -1
  27. package/dist-types/commands/ListWebAuthnCredentialsCommand.d.ts +1 -1
  28. package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +1 -1
  29. package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +1 -1
  30. package/dist-types/commands/RevokeTokenCommand.d.ts +1 -1
  31. package/dist-types/commands/SetLogDeliveryConfigurationCommand.d.ts +1 -1
  32. package/dist-types/commands/SetRiskConfigurationCommand.d.ts +1 -1
  33. package/dist-types/commands/SetUICustomizationCommand.d.ts +1 -1
  34. package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +1 -1
  35. package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +1 -1
  36. package/dist-types/commands/SetUserSettingsCommand.d.ts +1 -1
  37. package/dist-types/commands/SignUpCommand.d.ts +1 -1
  38. package/dist-types/commands/StartUserImportJobCommand.d.ts +1 -1
  39. package/dist-types/commands/StartWebAuthnRegistrationCommand.d.ts +1 -1
  40. package/dist-types/commands/StopUserImportJobCommand.d.ts +1 -1
  41. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  42. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +1 -1
  45. package/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +1 -1
  47. package/dist-types/commands/UpdateManagedLoginBrandingCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateResourceServerCommand.d.ts +1 -1
  49. package/dist-types/commands/UpdateTermsCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdateUserAttributesCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +2 -1
  52. package/dist-types/commands/UpdateUserPoolCommand.d.ts +1 -1
  53. package/dist-types/index.d.ts +4 -1
  54. package/dist-types/models/enums.d.ts +681 -0
  55. package/dist-types/models/errors.d.ts +710 -0
  56. package/dist-types/models/models_0.d.ts +3866 -1311
  57. package/dist-types/models/models_1.d.ts +2 -3949
  58. package/dist-types/ts3.4/commands/GetTokensFromRefreshTokenCommand.d.ts +4 -2
  59. package/dist-types/ts3.4/commands/GetUICustomizationCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/GetUserAttributeVerificationCodeCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/GetUserAuthFactorsCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/GetUserCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/GetUserPoolMfaConfigCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/GlobalSignOutCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/InitiateAuthCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/ListResourceServersCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/ListTermsCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/ListUserImportJobsCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/ListUserPoolClientsCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/ListUserPoolsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/ListUsersInGroupCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/ListWebAuthnCredentialsCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/ResendConfirmationCodeCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/RespondToAuthChallengeCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/RevokeTokenCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/SetLogDeliveryConfigurationCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/SetRiskConfigurationCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/SetUICustomizationCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/SetUserMFAPreferenceCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/SetUserSettingsCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/SignUpCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/StartWebAuthnRegistrationCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/StopUserImportJobCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/UpdateAuthEventFeedbackCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/UpdateDeviceStatusCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/UpdateManagedLoginBrandingCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/UpdateResourceServerCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/UpdateTermsCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/UpdateUserAttributesCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/UpdateUserPoolClientCommand.d.ts +2 -4
  102. package/dist-types/ts3.4/commands/UpdateUserPoolCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/index.d.ts +4 -1
  104. package/dist-types/ts3.4/models/enums.d.ts +372 -0
  105. package/dist-types/ts3.4/models/errors.d.ts +440 -0
  106. package/dist-types/ts3.4/models/models_0.d.ts +540 -759
  107. package/dist-types/ts3.4/models/models_1.d.ts +2 -603
  108. package/package.json +12 -12
  109. package/dist-es/models/index.js +0 -2
  110. package/dist-types/models/index.d.ts +0 -2
  111. package/dist-types/ts3.4/models/index.d.ts +0 -2
@@ -0,0 +1,281 @@
1
+ export const RecoveryOptionNameType = {
2
+ ADMIN_ONLY: "admin_only",
3
+ VERIFIED_EMAIL: "verified_email",
4
+ VERIFIED_PHONE_NUMBER: "verified_phone_number",
5
+ };
6
+ export const AccountTakeoverEventActionType = {
7
+ BLOCK: "BLOCK",
8
+ MFA_IF_CONFIGURED: "MFA_IF_CONFIGURED",
9
+ MFA_REQUIRED: "MFA_REQUIRED",
10
+ NO_ACTION: "NO_ACTION",
11
+ };
12
+ export const AttributeDataType = {
13
+ BOOLEAN: "Boolean",
14
+ DATETIME: "DateTime",
15
+ NUMBER: "Number",
16
+ STRING: "String",
17
+ };
18
+ export const DeliveryMediumType = {
19
+ EMAIL: "EMAIL",
20
+ SMS: "SMS",
21
+ };
22
+ export const MessageActionType = {
23
+ RESEND: "RESEND",
24
+ SUPPRESS: "SUPPRESS",
25
+ };
26
+ export const UserStatusType = {
27
+ ARCHIVED: "ARCHIVED",
28
+ COMPROMISED: "COMPROMISED",
29
+ CONFIRMED: "CONFIRMED",
30
+ EXTERNAL_PROVIDER: "EXTERNAL_PROVIDER",
31
+ FORCE_CHANGE_PASSWORD: "FORCE_CHANGE_PASSWORD",
32
+ RESET_REQUIRED: "RESET_REQUIRED",
33
+ UNCONFIRMED: "UNCONFIRMED",
34
+ UNKNOWN: "UNKNOWN",
35
+ };
36
+ export const AuthFlowType = {
37
+ ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH",
38
+ ADMIN_USER_PASSWORD_AUTH: "ADMIN_USER_PASSWORD_AUTH",
39
+ CUSTOM_AUTH: "CUSTOM_AUTH",
40
+ REFRESH_TOKEN: "REFRESH_TOKEN",
41
+ REFRESH_TOKEN_AUTH: "REFRESH_TOKEN_AUTH",
42
+ USER_AUTH: "USER_AUTH",
43
+ USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH",
44
+ USER_SRP_AUTH: "USER_SRP_AUTH",
45
+ };
46
+ export const ChallengeNameType = {
47
+ ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH",
48
+ CUSTOM_CHALLENGE: "CUSTOM_CHALLENGE",
49
+ DEVICE_PASSWORD_VERIFIER: "DEVICE_PASSWORD_VERIFIER",
50
+ DEVICE_SRP_AUTH: "DEVICE_SRP_AUTH",
51
+ EMAIL_OTP: "EMAIL_OTP",
52
+ MFA_SETUP: "MFA_SETUP",
53
+ NEW_PASSWORD_REQUIRED: "NEW_PASSWORD_REQUIRED",
54
+ PASSWORD: "PASSWORD",
55
+ PASSWORD_SRP: "PASSWORD_SRP",
56
+ PASSWORD_VERIFIER: "PASSWORD_VERIFIER",
57
+ SELECT_CHALLENGE: "SELECT_CHALLENGE",
58
+ SELECT_MFA_TYPE: "SELECT_MFA_TYPE",
59
+ SMS_MFA: "SMS_MFA",
60
+ SMS_OTP: "SMS_OTP",
61
+ SOFTWARE_TOKEN_MFA: "SOFTWARE_TOKEN_MFA",
62
+ WEB_AUTHN: "WEB_AUTHN",
63
+ };
64
+ export const ChallengeName = {
65
+ Mfa: "Mfa",
66
+ Password: "Password",
67
+ };
68
+ export const ChallengeResponse = {
69
+ Failure: "Failure",
70
+ Success: "Success",
71
+ };
72
+ export const FeedbackValueType = {
73
+ INVALID: "Invalid",
74
+ VALID: "Valid",
75
+ };
76
+ export const EventResponseType = {
77
+ Fail: "Fail",
78
+ InProgress: "InProgress",
79
+ Pass: "Pass",
80
+ };
81
+ export const RiskDecisionType = {
82
+ AccountTakeover: "AccountTakeover",
83
+ Block: "Block",
84
+ NoRisk: "NoRisk",
85
+ };
86
+ export const RiskLevelType = {
87
+ High: "High",
88
+ Low: "Low",
89
+ Medium: "Medium",
90
+ };
91
+ export const EventType = {
92
+ ForgotPassword: "ForgotPassword",
93
+ PasswordChange: "PasswordChange",
94
+ ResendCode: "ResendCode",
95
+ SignIn: "SignIn",
96
+ SignUp: "SignUp",
97
+ };
98
+ export const DeviceRememberedStatusType = {
99
+ NOT_REMEMBERED: "not_remembered",
100
+ REMEMBERED: "remembered",
101
+ };
102
+ export const AdvancedSecurityEnabledModeType = {
103
+ AUDIT: "AUDIT",
104
+ ENFORCED: "ENFORCED",
105
+ };
106
+ export const AdvancedSecurityModeType = {
107
+ AUDIT: "AUDIT",
108
+ ENFORCED: "ENFORCED",
109
+ OFF: "OFF",
110
+ };
111
+ export const AliasAttributeType = {
112
+ EMAIL: "email",
113
+ PHONE_NUMBER: "phone_number",
114
+ PREFERRED_USERNAME: "preferred_username",
115
+ };
116
+ export const AuthFactorType = {
117
+ EMAIL_OTP: "EMAIL_OTP",
118
+ PASSWORD: "PASSWORD",
119
+ SMS_OTP: "SMS_OTP",
120
+ WEB_AUTHN: "WEB_AUTHN",
121
+ };
122
+ export const AssetCategoryType = {
123
+ AUTH_APP_GRAPHIC: "AUTH_APP_GRAPHIC",
124
+ EMAIL_GRAPHIC: "EMAIL_GRAPHIC",
125
+ FAVICON_ICO: "FAVICON_ICO",
126
+ FAVICON_SVG: "FAVICON_SVG",
127
+ FORM_BACKGROUND: "FORM_BACKGROUND",
128
+ FORM_LOGO: "FORM_LOGO",
129
+ IDP_BUTTON_ICON: "IDP_BUTTON_ICON",
130
+ PAGE_BACKGROUND: "PAGE_BACKGROUND",
131
+ PAGE_FOOTER_BACKGROUND: "PAGE_FOOTER_BACKGROUND",
132
+ PAGE_FOOTER_LOGO: "PAGE_FOOTER_LOGO",
133
+ PAGE_HEADER_BACKGROUND: "PAGE_HEADER_BACKGROUND",
134
+ PAGE_HEADER_LOGO: "PAGE_HEADER_LOGO",
135
+ PASSKEY_GRAPHIC: "PASSKEY_GRAPHIC",
136
+ PASSWORD_GRAPHIC: "PASSWORD_GRAPHIC",
137
+ SMS_GRAPHIC: "SMS_GRAPHIC",
138
+ };
139
+ export const AssetExtensionType = {
140
+ ICO: "ICO",
141
+ JPEG: "JPEG",
142
+ PNG: "PNG",
143
+ SVG: "SVG",
144
+ WEBP: "WEBP",
145
+ };
146
+ export const ColorSchemeModeType = {
147
+ DARK: "DARK",
148
+ DYNAMIC: "DYNAMIC",
149
+ LIGHT: "LIGHT",
150
+ };
151
+ export const VerifiedAttributeType = {
152
+ EMAIL: "email",
153
+ PHONE_NUMBER: "phone_number",
154
+ };
155
+ export const IdentityProviderTypeType = {
156
+ Facebook: "Facebook",
157
+ Google: "Google",
158
+ LoginWithAmazon: "LoginWithAmazon",
159
+ OIDC: "OIDC",
160
+ SAML: "SAML",
161
+ SignInWithApple: "SignInWithApple",
162
+ };
163
+ export const TermsEnforcementType = {
164
+ NONE: "NONE",
165
+ };
166
+ export const TermsSourceType = {
167
+ LINK: "LINK",
168
+ };
169
+ export const UserImportJobStatusType = {
170
+ Created: "Created",
171
+ Expired: "Expired",
172
+ Failed: "Failed",
173
+ InProgress: "InProgress",
174
+ Pending: "Pending",
175
+ Stopped: "Stopped",
176
+ Stopping: "Stopping",
177
+ Succeeded: "Succeeded",
178
+ };
179
+ export const DeletionProtectionType = {
180
+ ACTIVE: "ACTIVE",
181
+ INACTIVE: "INACTIVE",
182
+ };
183
+ export const EmailSendingAccountType = {
184
+ COGNITO_DEFAULT: "COGNITO_DEFAULT",
185
+ DEVELOPER: "DEVELOPER",
186
+ };
187
+ export const CustomEmailSenderLambdaVersionType = {
188
+ V1_0: "V1_0",
189
+ };
190
+ export const CustomSMSSenderLambdaVersionType = {
191
+ V1_0: "V1_0",
192
+ };
193
+ export const PreTokenGenerationLambdaVersionType = {
194
+ V1_0: "V1_0",
195
+ V2_0: "V2_0",
196
+ V3_0: "V3_0",
197
+ };
198
+ export const UserPoolMfaType = {
199
+ OFF: "OFF",
200
+ ON: "ON",
201
+ OPTIONAL: "OPTIONAL",
202
+ };
203
+ export const UsernameAttributeType = {
204
+ EMAIL: "email",
205
+ PHONE_NUMBER: "phone_number",
206
+ };
207
+ export const UserPoolTierType = {
208
+ ESSENTIALS: "ESSENTIALS",
209
+ LITE: "LITE",
210
+ PLUS: "PLUS",
211
+ };
212
+ export const DefaultEmailOptionType = {
213
+ CONFIRM_WITH_CODE: "CONFIRM_WITH_CODE",
214
+ CONFIRM_WITH_LINK: "CONFIRM_WITH_LINK",
215
+ };
216
+ export const StatusType = {
217
+ Disabled: "Disabled",
218
+ Enabled: "Enabled",
219
+ };
220
+ export const OAuthFlowType = {
221
+ client_credentials: "client_credentials",
222
+ code: "code",
223
+ implicit: "implicit",
224
+ };
225
+ export const ExplicitAuthFlowsType = {
226
+ ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH",
227
+ ALLOW_ADMIN_USER_PASSWORD_AUTH: "ALLOW_ADMIN_USER_PASSWORD_AUTH",
228
+ ALLOW_CUSTOM_AUTH: "ALLOW_CUSTOM_AUTH",
229
+ ALLOW_REFRESH_TOKEN_AUTH: "ALLOW_REFRESH_TOKEN_AUTH",
230
+ ALLOW_USER_AUTH: "ALLOW_USER_AUTH",
231
+ ALLOW_USER_PASSWORD_AUTH: "ALLOW_USER_PASSWORD_AUTH",
232
+ ALLOW_USER_SRP_AUTH: "ALLOW_USER_SRP_AUTH",
233
+ CUSTOM_AUTH_FLOW_ONLY: "CUSTOM_AUTH_FLOW_ONLY",
234
+ USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH",
235
+ };
236
+ export const PreventUserExistenceErrorTypes = {
237
+ ENABLED: "ENABLED",
238
+ LEGACY: "LEGACY",
239
+ };
240
+ export const FeatureType = {
241
+ DISABLED: "DISABLED",
242
+ ENABLED: "ENABLED",
243
+ };
244
+ export const TimeUnitsType = {
245
+ DAYS: "days",
246
+ HOURS: "hours",
247
+ MINUTES: "minutes",
248
+ SECONDS: "seconds",
249
+ };
250
+ export const CompromisedCredentialsEventActionType = {
251
+ BLOCK: "BLOCK",
252
+ NO_ACTION: "NO_ACTION",
253
+ };
254
+ export const EventFilterType = {
255
+ PASSWORD_CHANGE: "PASSWORD_CHANGE",
256
+ SIGN_IN: "SIGN_IN",
257
+ SIGN_UP: "SIGN_UP",
258
+ };
259
+ export const DomainStatusType = {
260
+ ACTIVE: "ACTIVE",
261
+ CREATING: "CREATING",
262
+ DELETING: "DELETING",
263
+ FAILED: "FAILED",
264
+ UPDATING: "UPDATING",
265
+ };
266
+ export const EventSourceName = {
267
+ USER_AUTH_EVENTS: "userAuthEvents",
268
+ USER_NOTIFICATION: "userNotification",
269
+ };
270
+ export const LogLevel = {
271
+ ERROR: "ERROR",
272
+ INFO: "INFO",
273
+ };
274
+ export const UserVerificationType = {
275
+ PREFERRED: "preferred",
276
+ REQUIRED: "required",
277
+ };
278
+ export const VerifySoftwareTokenResponseType = {
279
+ ERROR: "ERROR",
280
+ SUCCESS: "SUCCESS",
281
+ };