@aws-sdk/client-cognito-identity-provider 3.934.0 → 3.936.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 +19 -19
  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
@@ -1,13 +1,55 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { DocumentType as __DocumentType } from "@smithy/types";
3
- import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
4
- export declare const RecoveryOptionNameType: {
5
- readonly ADMIN_ONLY: "admin_only";
6
- readonly VERIFIED_EMAIL: "verified_email";
7
- readonly VERIFIED_PHONE_NUMBER: "verified_phone_number";
8
- };
9
- export type RecoveryOptionNameType =
10
- (typeof RecoveryOptionNameType)[keyof typeof RecoveryOptionNameType];
2
+ import {
3
+ AccountTakeoverEventActionType,
4
+ AdvancedSecurityEnabledModeType,
5
+ AdvancedSecurityModeType,
6
+ AliasAttributeType,
7
+ AssetCategoryType,
8
+ AssetExtensionType,
9
+ AttributeDataType,
10
+ AuthFactorType,
11
+ AuthFlowType,
12
+ ChallengeName,
13
+ ChallengeNameType,
14
+ ChallengeResponse,
15
+ ColorSchemeModeType,
16
+ CompromisedCredentialsEventActionType,
17
+ CustomEmailSenderLambdaVersionType,
18
+ CustomSMSSenderLambdaVersionType,
19
+ DefaultEmailOptionType,
20
+ DeletionProtectionType,
21
+ DeliveryMediumType,
22
+ DeviceRememberedStatusType,
23
+ DomainStatusType,
24
+ EmailSendingAccountType,
25
+ EventFilterType,
26
+ EventResponseType,
27
+ EventSourceName,
28
+ EventType,
29
+ ExplicitAuthFlowsType,
30
+ FeatureType,
31
+ FeedbackValueType,
32
+ IdentityProviderTypeType,
33
+ LogLevel,
34
+ MessageActionType,
35
+ OAuthFlowType,
36
+ PreTokenGenerationLambdaVersionType,
37
+ PreventUserExistenceErrorTypes,
38
+ RecoveryOptionNameType,
39
+ RiskDecisionType,
40
+ RiskLevelType,
41
+ StatusType,
42
+ TermsEnforcementType,
43
+ TermsSourceType,
44
+ TimeUnitsType,
45
+ UserImportJobStatusType,
46
+ UsernameAttributeType,
47
+ UserPoolMfaType,
48
+ UserPoolTierType,
49
+ UserStatusType,
50
+ UserVerificationType,
51
+ VerifiedAttributeType,
52
+ } from "./enums";
11
53
  export interface RecoveryOptionType {
12
54
  Priority: number | undefined;
13
55
  Name: RecoveryOptionNameType | undefined;
@@ -15,14 +57,6 @@ export interface RecoveryOptionType {
15
57
  export interface AccountRecoverySettingType {
16
58
  RecoveryMechanisms?: RecoveryOptionType[] | undefined;
17
59
  }
18
- export declare const AccountTakeoverEventActionType: {
19
- readonly BLOCK: "BLOCK";
20
- readonly MFA_IF_CONFIGURED: "MFA_IF_CONFIGURED";
21
- readonly MFA_REQUIRED: "MFA_REQUIRED";
22
- readonly NO_ACTION: "NO_ACTION";
23
- };
24
- export type AccountTakeoverEventActionType =
25
- (typeof AccountTakeoverEventActionType)[keyof typeof AccountTakeoverEventActionType];
26
60
  export interface AccountTakeoverActionType {
27
61
  Notify: boolean | undefined;
28
62
  EventAction: AccountTakeoverEventActionType | undefined;
@@ -49,14 +83,6 @@ export interface AccountTakeoverRiskConfigurationType {
49
83
  NotifyConfiguration?: NotifyConfigurationType | undefined;
50
84
  Actions: AccountTakeoverActionsType | undefined;
51
85
  }
52
- export declare const AttributeDataType: {
53
- readonly BOOLEAN: "Boolean";
54
- readonly DATETIME: "DateTime";
55
- readonly NUMBER: "Number";
56
- readonly STRING: "String";
57
- };
58
- export type AttributeDataType =
59
- (typeof AttributeDataType)[keyof typeof AttributeDataType];
60
86
  export interface NumberAttributeConstraintsType {
61
87
  MinValue?: string | undefined;
62
88
  MaxValue?: string | undefined;
@@ -79,114 +105,17 @@ export interface AddCustomAttributesRequest {
79
105
  CustomAttributes: SchemaAttributeType[] | undefined;
80
106
  }
81
107
  export interface AddCustomAttributesResponse {}
82
- export declare class InternalErrorException extends __BaseException {
83
- readonly name: "InternalErrorException";
84
- readonly $fault: "server";
85
- constructor(
86
- opts: __ExceptionOptionType<InternalErrorException, __BaseException>
87
- );
88
- }
89
- export declare class InvalidParameterException extends __BaseException {
90
- readonly name: "InvalidParameterException";
91
- readonly $fault: "client";
92
- reasonCode?: string | undefined;
93
- constructor(
94
- opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
95
- );
96
- }
97
- export declare class NotAuthorizedException extends __BaseException {
98
- readonly name: "NotAuthorizedException";
99
- readonly $fault: "client";
100
- constructor(
101
- opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>
102
- );
103
- }
104
- export declare class ResourceNotFoundException extends __BaseException {
105
- readonly name: "ResourceNotFoundException";
106
- readonly $fault: "client";
107
- constructor(
108
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
109
- );
110
- }
111
- export declare class TooManyRequestsException extends __BaseException {
112
- readonly name: "TooManyRequestsException";
113
- readonly $fault: "client";
114
- constructor(
115
- opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
116
- );
117
- }
118
- export declare class UserImportInProgressException extends __BaseException {
119
- readonly name: "UserImportInProgressException";
120
- readonly $fault: "client";
121
- constructor(
122
- opts: __ExceptionOptionType<UserImportInProgressException, __BaseException>
123
- );
124
- }
125
108
  export interface AdminAddUserToGroupRequest {
126
109
  UserPoolId: string | undefined;
127
110
  Username: string | undefined;
128
111
  GroupName: string | undefined;
129
112
  }
130
- export declare class UserNotFoundException extends __BaseException {
131
- readonly name: "UserNotFoundException";
132
- readonly $fault: "client";
133
- constructor(
134
- opts: __ExceptionOptionType<UserNotFoundException, __BaseException>
135
- );
136
- }
137
113
  export interface AdminConfirmSignUpRequest {
138
114
  UserPoolId: string | undefined;
139
115
  Username: string | undefined;
140
116
  ClientMetadata?: Record<string, string> | undefined;
141
117
  }
142
118
  export interface AdminConfirmSignUpResponse {}
143
- export declare class InvalidLambdaResponseException extends __BaseException {
144
- readonly name: "InvalidLambdaResponseException";
145
- readonly $fault: "client";
146
- constructor(
147
- opts: __ExceptionOptionType<InvalidLambdaResponseException, __BaseException>
148
- );
149
- }
150
- export declare class LimitExceededException extends __BaseException {
151
- readonly name: "LimitExceededException";
152
- readonly $fault: "client";
153
- constructor(
154
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
155
- );
156
- }
157
- export declare class TooManyFailedAttemptsException extends __BaseException {
158
- readonly name: "TooManyFailedAttemptsException";
159
- readonly $fault: "client";
160
- constructor(
161
- opts: __ExceptionOptionType<TooManyFailedAttemptsException, __BaseException>
162
- );
163
- }
164
- export declare class UnexpectedLambdaException extends __BaseException {
165
- readonly name: "UnexpectedLambdaException";
166
- readonly $fault: "client";
167
- constructor(
168
- opts: __ExceptionOptionType<UnexpectedLambdaException, __BaseException>
169
- );
170
- }
171
- export declare class UserLambdaValidationException extends __BaseException {
172
- readonly name: "UserLambdaValidationException";
173
- readonly $fault: "client";
174
- constructor(
175
- opts: __ExceptionOptionType<UserLambdaValidationException, __BaseException>
176
- );
177
- }
178
- export declare const DeliveryMediumType: {
179
- readonly EMAIL: "EMAIL";
180
- readonly SMS: "SMS";
181
- };
182
- export type DeliveryMediumType =
183
- (typeof DeliveryMediumType)[keyof typeof DeliveryMediumType];
184
- export declare const MessageActionType: {
185
- readonly RESEND: "RESEND";
186
- readonly SUPPRESS: "SUPPRESS";
187
- };
188
- export type MessageActionType =
189
- (typeof MessageActionType)[keyof typeof MessageActionType];
190
119
  export interface AttributeType {
191
120
  Name: string | undefined;
192
121
  Value?: string | undefined;
@@ -206,18 +135,6 @@ export interface MFAOptionType {
206
135
  DeliveryMedium?: DeliveryMediumType | undefined;
207
136
  AttributeName?: string | undefined;
208
137
  }
209
- export declare const UserStatusType: {
210
- readonly ARCHIVED: "ARCHIVED";
211
- readonly COMPROMISED: "COMPROMISED";
212
- readonly CONFIRMED: "CONFIRMED";
213
- readonly EXTERNAL_PROVIDER: "EXTERNAL_PROVIDER";
214
- readonly FORCE_CHANGE_PASSWORD: "FORCE_CHANGE_PASSWORD";
215
- readonly RESET_REQUIRED: "RESET_REQUIRED";
216
- readonly UNCONFIRMED: "UNCONFIRMED";
217
- readonly UNKNOWN: "UNKNOWN";
218
- };
219
- export type UserStatusType =
220
- (typeof UserStatusType)[keyof typeof UserStatusType];
221
138
  export interface UserType {
222
139
  Username?: string | undefined;
223
140
  Attributes?: AttributeType[] | undefined;
@@ -230,61 +147,6 @@ export interface UserType {
230
147
  export interface AdminCreateUserResponse {
231
148
  User?: UserType | undefined;
232
149
  }
233
- export declare class CodeDeliveryFailureException extends __BaseException {
234
- readonly name: "CodeDeliveryFailureException";
235
- readonly $fault: "client";
236
- constructor(
237
- opts: __ExceptionOptionType<CodeDeliveryFailureException, __BaseException>
238
- );
239
- }
240
- export declare class InvalidPasswordException extends __BaseException {
241
- readonly name: "InvalidPasswordException";
242
- readonly $fault: "client";
243
- constructor(
244
- opts: __ExceptionOptionType<InvalidPasswordException, __BaseException>
245
- );
246
- }
247
- export declare class InvalidSmsRoleAccessPolicyException extends __BaseException {
248
- readonly name: "InvalidSmsRoleAccessPolicyException";
249
- readonly $fault: "client";
250
- constructor(
251
- opts: __ExceptionOptionType<
252
- InvalidSmsRoleAccessPolicyException,
253
- __BaseException
254
- >
255
- );
256
- }
257
- export declare class InvalidSmsRoleTrustRelationshipException extends __BaseException {
258
- readonly name: "InvalidSmsRoleTrustRelationshipException";
259
- readonly $fault: "client";
260
- constructor(
261
- opts: __ExceptionOptionType<
262
- InvalidSmsRoleTrustRelationshipException,
263
- __BaseException
264
- >
265
- );
266
- }
267
- export declare class PreconditionNotMetException extends __BaseException {
268
- readonly name: "PreconditionNotMetException";
269
- readonly $fault: "client";
270
- constructor(
271
- opts: __ExceptionOptionType<PreconditionNotMetException, __BaseException>
272
- );
273
- }
274
- export declare class UnsupportedUserStateException extends __BaseException {
275
- readonly name: "UnsupportedUserStateException";
276
- readonly $fault: "client";
277
- constructor(
278
- opts: __ExceptionOptionType<UnsupportedUserStateException, __BaseException>
279
- );
280
- }
281
- export declare class UsernameExistsException extends __BaseException {
282
- readonly name: "UsernameExistsException";
283
- readonly $fault: "client";
284
- constructor(
285
- opts: __ExceptionOptionType<UsernameExistsException, __BaseException>
286
- );
287
- }
288
150
  export interface MessageTemplateType {
289
151
  SMSMessage?: string | undefined;
290
152
  EmailMessage?: string | undefined;
@@ -315,13 +177,6 @@ export interface AdminDisableProviderForUserRequest {
315
177
  User: ProviderUserIdentifierType | undefined;
316
178
  }
317
179
  export interface AdminDisableProviderForUserResponse {}
318
- export declare class AliasExistsException extends __BaseException {
319
- readonly name: "AliasExistsException";
320
- readonly $fault: "client";
321
- constructor(
322
- opts: __ExceptionOptionType<AliasExistsException, __BaseException>
323
- );
324
- }
325
180
  export interface AdminDisableUserRequest {
326
181
  UserPoolId: string | undefined;
327
182
  Username: string | undefined;
@@ -337,16 +192,6 @@ export interface AdminForgetDeviceRequest {
337
192
  Username: string | undefined;
338
193
  DeviceKey: string | undefined;
339
194
  }
340
- export declare class InvalidUserPoolConfigurationException extends __BaseException {
341
- readonly name: "InvalidUserPoolConfigurationException";
342
- readonly $fault: "client";
343
- constructor(
344
- opts: __ExceptionOptionType<
345
- InvalidUserPoolConfigurationException,
346
- __BaseException
347
- >
348
- );
349
- }
350
195
  export interface AdminGetDeviceRequest {
351
196
  DeviceKey: string | undefined;
352
197
  UserPoolId: string | undefined;
@@ -380,17 +225,6 @@ export interface AdminGetUserResponse {
380
225
  export interface AnalyticsMetadataType {
381
226
  AnalyticsEndpointId?: string | undefined;
382
227
  }
383
- export declare const AuthFlowType: {
384
- readonly ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH";
385
- readonly ADMIN_USER_PASSWORD_AUTH: "ADMIN_USER_PASSWORD_AUTH";
386
- readonly CUSTOM_AUTH: "CUSTOM_AUTH";
387
- readonly REFRESH_TOKEN: "REFRESH_TOKEN";
388
- readonly REFRESH_TOKEN_AUTH: "REFRESH_TOKEN_AUTH";
389
- readonly USER_AUTH: "USER_AUTH";
390
- readonly USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH";
391
- readonly USER_SRP_AUTH: "USER_SRP_AUTH";
392
- };
393
- export type AuthFlowType = (typeof AuthFlowType)[keyof typeof AuthFlowType];
394
228
  export interface HttpHeader {
395
229
  headerName?: string | undefined;
396
230
  headerValue?: string | undefined;
@@ -424,26 +258,6 @@ export interface AuthenticationResultType {
424
258
  IdToken?: string | undefined;
425
259
  NewDeviceMetadata?: NewDeviceMetadataType | undefined;
426
260
  }
427
- export declare const ChallengeNameType: {
428
- readonly ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH";
429
- readonly CUSTOM_CHALLENGE: "CUSTOM_CHALLENGE";
430
- readonly DEVICE_PASSWORD_VERIFIER: "DEVICE_PASSWORD_VERIFIER";
431
- readonly DEVICE_SRP_AUTH: "DEVICE_SRP_AUTH";
432
- readonly EMAIL_OTP: "EMAIL_OTP";
433
- readonly MFA_SETUP: "MFA_SETUP";
434
- readonly NEW_PASSWORD_REQUIRED: "NEW_PASSWORD_REQUIRED";
435
- readonly PASSWORD: "PASSWORD";
436
- readonly PASSWORD_SRP: "PASSWORD_SRP";
437
- readonly PASSWORD_VERIFIER: "PASSWORD_VERIFIER";
438
- readonly SELECT_CHALLENGE: "SELECT_CHALLENGE";
439
- readonly SELECT_MFA_TYPE: "SELECT_MFA_TYPE";
440
- readonly SMS_MFA: "SMS_MFA";
441
- readonly SMS_OTP: "SMS_OTP";
442
- readonly SOFTWARE_TOKEN_MFA: "SOFTWARE_TOKEN_MFA";
443
- readonly WEB_AUTHN: "WEB_AUTHN";
444
- };
445
- export type ChallengeNameType =
446
- (typeof ChallengeNameType)[keyof typeof ChallengeNameType];
447
261
  export interface AdminInitiateAuthResponse {
448
262
  ChallengeName?: ChallengeNameType | undefined;
449
263
  Session?: string | undefined;
@@ -451,44 +265,6 @@ export interface AdminInitiateAuthResponse {
451
265
  AuthenticationResult?: AuthenticationResultType | undefined;
452
266
  AvailableChallenges?: ChallengeNameType[] | undefined;
453
267
  }
454
- export declare class InvalidEmailRoleAccessPolicyException extends __BaseException {
455
- readonly name: "InvalidEmailRoleAccessPolicyException";
456
- readonly $fault: "client";
457
- constructor(
458
- opts: __ExceptionOptionType<
459
- InvalidEmailRoleAccessPolicyException,
460
- __BaseException
461
- >
462
- );
463
- }
464
- export declare class MFAMethodNotFoundException extends __BaseException {
465
- readonly name: "MFAMethodNotFoundException";
466
- readonly $fault: "client";
467
- constructor(
468
- opts: __ExceptionOptionType<MFAMethodNotFoundException, __BaseException>
469
- );
470
- }
471
- export declare class PasswordResetRequiredException extends __BaseException {
472
- readonly name: "PasswordResetRequiredException";
473
- readonly $fault: "client";
474
- constructor(
475
- opts: __ExceptionOptionType<PasswordResetRequiredException, __BaseException>
476
- );
477
- }
478
- export declare class UnsupportedOperationException extends __BaseException {
479
- readonly name: "UnsupportedOperationException";
480
- readonly $fault: "client";
481
- constructor(
482
- opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>
483
- );
484
- }
485
- export declare class UserNotConfirmedException extends __BaseException {
486
- readonly name: "UserNotConfirmedException";
487
- readonly $fault: "client";
488
- constructor(
489
- opts: __ExceptionOptionType<UserNotConfirmedException, __BaseException>
490
- );
491
- }
492
268
  export interface AdminLinkProviderForUserRequest {
493
269
  UserPoolId: string | undefined;
494
270
  DestinationUser: ProviderUserIdentifierType | undefined;
@@ -530,17 +306,6 @@ export interface AdminListUserAuthEventsRequest {
530
306
  MaxResults?: number | undefined;
531
307
  NextToken?: string | undefined;
532
308
  }
533
- export declare const ChallengeName: {
534
- readonly Mfa: "Mfa";
535
- readonly Password: "Password";
536
- };
537
- export type ChallengeName = (typeof ChallengeName)[keyof typeof ChallengeName];
538
- export declare const ChallengeResponse: {
539
- readonly Failure: "Failure";
540
- readonly Success: "Success";
541
- };
542
- export type ChallengeResponse =
543
- (typeof ChallengeResponse)[keyof typeof ChallengeResponse];
544
309
  export interface ChallengeResponseType {
545
310
  ChallengeName?: ChallengeName | undefined;
546
311
  ChallengeResponse?: ChallengeResponse | undefined;
@@ -552,50 +317,16 @@ export interface EventContextDataType {
552
317
  City?: string | undefined;
553
318
  Country?: string | undefined;
554
319
  }
555
- export declare const FeedbackValueType: {
556
- readonly INVALID: "Invalid";
557
- readonly VALID: "Valid";
558
- };
559
- export type FeedbackValueType =
560
- (typeof FeedbackValueType)[keyof typeof FeedbackValueType];
561
320
  export interface EventFeedbackType {
562
321
  FeedbackValue: FeedbackValueType | undefined;
563
322
  Provider: string | undefined;
564
323
  FeedbackDate?: Date | undefined;
565
324
  }
566
- export declare const EventResponseType: {
567
- readonly Fail: "Fail";
568
- readonly InProgress: "InProgress";
569
- readonly Pass: "Pass";
570
- };
571
- export type EventResponseType =
572
- (typeof EventResponseType)[keyof typeof EventResponseType];
573
- export declare const RiskDecisionType: {
574
- readonly AccountTakeover: "AccountTakeover";
575
- readonly Block: "Block";
576
- readonly NoRisk: "NoRisk";
577
- };
578
- export type RiskDecisionType =
579
- (typeof RiskDecisionType)[keyof typeof RiskDecisionType];
580
- export declare const RiskLevelType: {
581
- readonly High: "High";
582
- readonly Low: "Low";
583
- readonly Medium: "Medium";
584
- };
585
- export type RiskLevelType = (typeof RiskLevelType)[keyof typeof RiskLevelType];
586
325
  export interface EventRiskType {
587
326
  RiskDecision?: RiskDecisionType | undefined;
588
327
  RiskLevel?: RiskLevelType | undefined;
589
328
  CompromisedCredentialsDetected?: boolean | undefined;
590
329
  }
591
- export declare const EventType: {
592
- readonly ForgotPassword: "ForgotPassword";
593
- readonly PasswordChange: "PasswordChange";
594
- readonly ResendCode: "ResendCode";
595
- readonly SignIn: "SignIn";
596
- readonly SignUp: "SignUp";
597
- };
598
- export type EventType = (typeof EventType)[keyof typeof EventType];
599
330
  export interface AuthEventType {
600
331
  EventId?: string | undefined;
601
332
  EventType?: EventType | undefined;
@@ -610,16 +341,6 @@ export interface AdminListUserAuthEventsResponse {
610
341
  AuthEvents?: AuthEventType[] | undefined;
611
342
  NextToken?: string | undefined;
612
343
  }
613
- export declare class UserPoolAddOnNotEnabledException extends __BaseException {
614
- readonly name: "UserPoolAddOnNotEnabledException";
615
- readonly $fault: "client";
616
- constructor(
617
- opts: __ExceptionOptionType<
618
- UserPoolAddOnNotEnabledException,
619
- __BaseException
620
- >
621
- );
622
- }
623
344
  export interface AdminRemoveUserFromGroupRequest {
624
345
  UserPoolId: string | undefined;
625
346
  Username: string | undefined;
@@ -647,40 +368,6 @@ export interface AdminRespondToAuthChallengeResponse {
647
368
  ChallengeParameters?: Record<string, string> | undefined;
648
369
  AuthenticationResult?: AuthenticationResultType | undefined;
649
370
  }
650
- export declare class CodeMismatchException extends __BaseException {
651
- readonly name: "CodeMismatchException";
652
- readonly $fault: "client";
653
- constructor(
654
- opts: __ExceptionOptionType<CodeMismatchException, __BaseException>
655
- );
656
- }
657
- export declare class ExpiredCodeException extends __BaseException {
658
- readonly name: "ExpiredCodeException";
659
- readonly $fault: "client";
660
- constructor(
661
- opts: __ExceptionOptionType<ExpiredCodeException, __BaseException>
662
- );
663
- }
664
- export declare class PasswordHistoryPolicyViolationException extends __BaseException {
665
- readonly name: "PasswordHistoryPolicyViolationException";
666
- readonly $fault: "client";
667
- constructor(
668
- opts: __ExceptionOptionType<
669
- PasswordHistoryPolicyViolationException,
670
- __BaseException
671
- >
672
- );
673
- }
674
- export declare class SoftwareTokenMFANotFoundException extends __BaseException {
675
- readonly name: "SoftwareTokenMFANotFoundException";
676
- readonly $fault: "client";
677
- constructor(
678
- opts: __ExceptionOptionType<
679
- SoftwareTokenMFANotFoundException,
680
- __BaseException
681
- >
682
- );
683
- }
684
371
  export interface EmailMfaSettingsType {
685
372
  Enabled?: boolean | undefined;
686
373
  PreferredMfa?: boolean | undefined;
@@ -721,12 +408,6 @@ export interface AdminUpdateAuthEventFeedbackRequest {
721
408
  FeedbackValue: FeedbackValueType | undefined;
722
409
  }
723
410
  export interface AdminUpdateAuthEventFeedbackResponse {}
724
- export declare const DeviceRememberedStatusType: {
725
- readonly NOT_REMEMBERED: "not_remembered";
726
- readonly REMEMBERED: "remembered";
727
- };
728
- export type DeviceRememberedStatusType =
729
- (typeof DeviceRememberedStatusType)[keyof typeof DeviceRememberedStatusType];
730
411
  export interface AdminUpdateDeviceStatusRequest {
731
412
  UserPoolId: string | undefined;
732
413
  Username: string | undefined;
@@ -746,37 +427,9 @@ export interface AdminUserGlobalSignOutRequest {
746
427
  Username: string | undefined;
747
428
  }
748
429
  export interface AdminUserGlobalSignOutResponse {}
749
- export declare const AdvancedSecurityEnabledModeType: {
750
- readonly AUDIT: "AUDIT";
751
- readonly ENFORCED: "ENFORCED";
752
- };
753
- export type AdvancedSecurityEnabledModeType =
754
- (typeof AdvancedSecurityEnabledModeType)[keyof typeof AdvancedSecurityEnabledModeType];
755
430
  export interface AdvancedSecurityAdditionalFlowsType {
756
431
  CustomAuthMode?: AdvancedSecurityEnabledModeType | undefined;
757
432
  }
758
- export declare const AdvancedSecurityModeType: {
759
- readonly AUDIT: "AUDIT";
760
- readonly ENFORCED: "ENFORCED";
761
- readonly OFF: "OFF";
762
- };
763
- export type AdvancedSecurityModeType =
764
- (typeof AdvancedSecurityModeType)[keyof typeof AdvancedSecurityModeType];
765
- export declare const AliasAttributeType: {
766
- readonly EMAIL: "email";
767
- readonly PHONE_NUMBER: "phone_number";
768
- readonly PREFERRED_USERNAME: "preferred_username";
769
- };
770
- export type AliasAttributeType =
771
- (typeof AliasAttributeType)[keyof typeof AliasAttributeType];
772
- export declare const AuthFactorType: {
773
- readonly EMAIL_OTP: "EMAIL_OTP";
774
- readonly PASSWORD: "PASSWORD";
775
- readonly SMS_OTP: "SMS_OTP";
776
- readonly WEB_AUTHN: "WEB_AUTHN";
777
- };
778
- export type AuthFactorType =
779
- (typeof AuthFactorType)[keyof typeof AuthFactorType];
780
433
  export interface AnalyticsConfigurationType {
781
434
  ApplicationId?: string | undefined;
782
435
  ApplicationArn?: string | undefined;
@@ -784,41 +437,6 @@ export interface AnalyticsConfigurationType {
784
437
  ExternalId?: string | undefined;
785
438
  UserDataShared?: boolean | undefined;
786
439
  }
787
- export declare const AssetCategoryType: {
788
- readonly AUTH_APP_GRAPHIC: "AUTH_APP_GRAPHIC";
789
- readonly EMAIL_GRAPHIC: "EMAIL_GRAPHIC";
790
- readonly FAVICON_ICO: "FAVICON_ICO";
791
- readonly FAVICON_SVG: "FAVICON_SVG";
792
- readonly FORM_BACKGROUND: "FORM_BACKGROUND";
793
- readonly FORM_LOGO: "FORM_LOGO";
794
- readonly IDP_BUTTON_ICON: "IDP_BUTTON_ICON";
795
- readonly PAGE_BACKGROUND: "PAGE_BACKGROUND";
796
- readonly PAGE_FOOTER_BACKGROUND: "PAGE_FOOTER_BACKGROUND";
797
- readonly PAGE_FOOTER_LOGO: "PAGE_FOOTER_LOGO";
798
- readonly PAGE_HEADER_BACKGROUND: "PAGE_HEADER_BACKGROUND";
799
- readonly PAGE_HEADER_LOGO: "PAGE_HEADER_LOGO";
800
- readonly PASSKEY_GRAPHIC: "PASSKEY_GRAPHIC";
801
- readonly PASSWORD_GRAPHIC: "PASSWORD_GRAPHIC";
802
- readonly SMS_GRAPHIC: "SMS_GRAPHIC";
803
- };
804
- export type AssetCategoryType =
805
- (typeof AssetCategoryType)[keyof typeof AssetCategoryType];
806
- export declare const AssetExtensionType: {
807
- readonly ICO: "ICO";
808
- readonly JPEG: "JPEG";
809
- readonly PNG: "PNG";
810
- readonly SVG: "SVG";
811
- readonly WEBP: "WEBP";
812
- };
813
- export type AssetExtensionType =
814
- (typeof AssetExtensionType)[keyof typeof AssetExtensionType];
815
- export declare const ColorSchemeModeType: {
816
- readonly DARK: "DARK";
817
- readonly DYNAMIC: "DYNAMIC";
818
- readonly LIGHT: "LIGHT";
819
- };
820
- export type ColorSchemeModeType =
821
- (typeof ColorSchemeModeType)[keyof typeof ColorSchemeModeType];
822
440
  export interface AssetType {
823
441
  Category: AssetCategoryType | undefined;
824
442
  ColorMode: ColorSchemeModeType | undefined;
@@ -834,27 +452,6 @@ export interface AssociateSoftwareTokenResponse {
834
452
  SecretCode?: string | undefined;
835
453
  Session?: string | undefined;
836
454
  }
837
- export declare class ConcurrentModificationException extends __BaseException {
838
- readonly name: "ConcurrentModificationException";
839
- readonly $fault: "client";
840
- constructor(
841
- opts: __ExceptionOptionType<
842
- ConcurrentModificationException,
843
- __BaseException
844
- >
845
- );
846
- }
847
- export declare class ForbiddenException extends __BaseException {
848
- readonly name: "ForbiddenException";
849
- readonly $fault: "client";
850
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
851
- }
852
- export declare const VerifiedAttributeType: {
853
- readonly EMAIL: "email";
854
- readonly PHONE_NUMBER: "phone_number";
855
- };
856
- export type VerifiedAttributeType =
857
- (typeof VerifiedAttributeType)[keyof typeof VerifiedAttributeType];
858
455
  export interface ChangePasswordRequest {
859
456
  PreviousPassword?: string | undefined;
860
457
  ProposedPassword: string | undefined;
@@ -866,63 +463,6 @@ export interface CompleteWebAuthnRegistrationRequest {
866
463
  Credential: __DocumentType | undefined;
867
464
  }
868
465
  export interface CompleteWebAuthnRegistrationResponse {}
869
- export declare class WebAuthnChallengeNotFoundException extends __BaseException {
870
- readonly name: "WebAuthnChallengeNotFoundException";
871
- readonly $fault: "client";
872
- constructor(
873
- opts: __ExceptionOptionType<
874
- WebAuthnChallengeNotFoundException,
875
- __BaseException
876
- >
877
- );
878
- }
879
- export declare class WebAuthnClientMismatchException extends __BaseException {
880
- readonly name: "WebAuthnClientMismatchException";
881
- readonly $fault: "client";
882
- constructor(
883
- opts: __ExceptionOptionType<
884
- WebAuthnClientMismatchException,
885
- __BaseException
886
- >
887
- );
888
- }
889
- export declare class WebAuthnCredentialNotSupportedException extends __BaseException {
890
- readonly name: "WebAuthnCredentialNotSupportedException";
891
- readonly $fault: "client";
892
- constructor(
893
- opts: __ExceptionOptionType<
894
- WebAuthnCredentialNotSupportedException,
895
- __BaseException
896
- >
897
- );
898
- }
899
- export declare class WebAuthnNotEnabledException extends __BaseException {
900
- readonly name: "WebAuthnNotEnabledException";
901
- readonly $fault: "client";
902
- constructor(
903
- opts: __ExceptionOptionType<WebAuthnNotEnabledException, __BaseException>
904
- );
905
- }
906
- export declare class WebAuthnOriginNotAllowedException extends __BaseException {
907
- readonly name: "WebAuthnOriginNotAllowedException";
908
- readonly $fault: "client";
909
- constructor(
910
- opts: __ExceptionOptionType<
911
- WebAuthnOriginNotAllowedException,
912
- __BaseException
913
- >
914
- );
915
- }
916
- export declare class WebAuthnRelyingPartyMismatchException extends __BaseException {
917
- readonly name: "WebAuthnRelyingPartyMismatchException";
918
- readonly $fault: "client";
919
- constructor(
920
- opts: __ExceptionOptionType<
921
- WebAuthnRelyingPartyMismatchException,
922
- __BaseException
923
- >
924
- );
925
- }
926
466
  export interface DeviceSecretVerifierConfigType {
927
467
  PasswordVerifier?: string | undefined;
928
468
  Salt?: string | undefined;
@@ -936,13 +476,6 @@ export interface ConfirmDeviceRequest {
936
476
  export interface ConfirmDeviceResponse {
937
477
  UserConfirmationNecessary?: boolean | undefined;
938
478
  }
939
- export declare class DeviceKeyExistsException extends __BaseException {
940
- readonly name: "DeviceKeyExistsException";
941
- readonly $fault: "client";
942
- constructor(
943
- opts: __ExceptionOptionType<DeviceKeyExistsException, __BaseException>
944
- );
945
- }
946
479
  export interface UserContextDataType {
947
480
  IpAddress?: string | undefined;
948
481
  EncodedData?: string | undefined;
@@ -982,23 +515,6 @@ export interface CreateGroupRequest {
982
515
  export interface CreateGroupResponse {
983
516
  Group?: GroupType | undefined;
984
517
  }
985
- export declare class GroupExistsException extends __BaseException {
986
- readonly name: "GroupExistsException";
987
- readonly $fault: "client";
988
- constructor(
989
- opts: __ExceptionOptionType<GroupExistsException, __BaseException>
990
- );
991
- }
992
- export declare const IdentityProviderTypeType: {
993
- readonly Facebook: "Facebook";
994
- readonly Google: "Google";
995
- readonly LoginWithAmazon: "LoginWithAmazon";
996
- readonly OIDC: "OIDC";
997
- readonly SAML: "SAML";
998
- readonly SignInWithApple: "SignInWithApple";
999
- };
1000
- export type IdentityProviderTypeType =
1001
- (typeof IdentityProviderTypeType)[keyof typeof IdentityProviderTypeType];
1002
518
  export interface CreateIdentityProviderRequest {
1003
519
  UserPoolId: string | undefined;
1004
520
  ProviderName: string | undefined;
@@ -1020,13 +536,6 @@ export interface IdentityProviderType {
1020
536
  export interface CreateIdentityProviderResponse {
1021
537
  IdentityProvider: IdentityProviderType | undefined;
1022
538
  }
1023
- export declare class DuplicateProviderException extends __BaseException {
1024
- readonly name: "DuplicateProviderException";
1025
- readonly $fault: "client";
1026
- constructor(
1027
- opts: __ExceptionOptionType<DuplicateProviderException, __BaseException>
1028
- );
1029
- }
1030
539
  export interface CreateManagedLoginBrandingRequest {
1031
540
  UserPoolId: string | undefined;
1032
541
  ClientId: string | undefined;
@@ -1046,16 +555,6 @@ export interface ManagedLoginBrandingType {
1046
555
  export interface CreateManagedLoginBrandingResponse {
1047
556
  ManagedLoginBranding?: ManagedLoginBrandingType | undefined;
1048
557
  }
1049
- export declare class ManagedLoginBrandingExistsException extends __BaseException {
1050
- readonly name: "ManagedLoginBrandingExistsException";
1051
- readonly $fault: "client";
1052
- constructor(
1053
- opts: __ExceptionOptionType<
1054
- ManagedLoginBrandingExistsException,
1055
- __BaseException
1056
- >
1057
- );
1058
- }
1059
558
  export interface ResourceServerScopeType {
1060
559
  ScopeName: string | undefined;
1061
560
  ScopeDescription: string | undefined;
@@ -1075,16 +574,6 @@ export interface ResourceServerType {
1075
574
  export interface CreateResourceServerResponse {
1076
575
  ResourceServer: ResourceServerType | undefined;
1077
576
  }
1078
- export declare const TermsEnforcementType: {
1079
- readonly NONE: "NONE";
1080
- };
1081
- export type TermsEnforcementType =
1082
- (typeof TermsEnforcementType)[keyof typeof TermsEnforcementType];
1083
- export declare const TermsSourceType: {
1084
- readonly LINK: "LINK";
1085
- };
1086
- export type TermsSourceType =
1087
- (typeof TermsSourceType)[keyof typeof TermsSourceType];
1088
577
  export interface CreateTermsRequest {
1089
578
  UserPoolId: string | undefined;
1090
579
  ClientId: string | undefined;
@@ -1107,30 +596,11 @@ export interface TermsType {
1107
596
  export interface CreateTermsResponse {
1108
597
  Terms?: TermsType | undefined;
1109
598
  }
1110
- export declare class TermsExistsException extends __BaseException {
1111
- readonly name: "TermsExistsException";
1112
- readonly $fault: "client";
1113
- constructor(
1114
- opts: __ExceptionOptionType<TermsExistsException, __BaseException>
1115
- );
1116
- }
1117
599
  export interface CreateUserImportJobRequest {
1118
600
  JobName: string | undefined;
1119
601
  UserPoolId: string | undefined;
1120
602
  CloudWatchLogsRoleArn: string | undefined;
1121
603
  }
1122
- export declare const UserImportJobStatusType: {
1123
- readonly Created: "Created";
1124
- readonly Expired: "Expired";
1125
- readonly Failed: "Failed";
1126
- readonly InProgress: "InProgress";
1127
- readonly Pending: "Pending";
1128
- readonly Stopped: "Stopped";
1129
- readonly Stopping: "Stopping";
1130
- readonly Succeeded: "Succeeded";
1131
- };
1132
- export type UserImportJobStatusType =
1133
- (typeof UserImportJobStatusType)[keyof typeof UserImportJobStatusType];
1134
604
  export interface UserImportJobType {
1135
605
  JobName?: string | undefined;
1136
606
  JobId?: string | undefined;
@@ -1149,22 +619,10 @@ export interface UserImportJobType {
1149
619
  export interface CreateUserImportJobResponse {
1150
620
  UserImportJob?: UserImportJobType | undefined;
1151
621
  }
1152
- export declare const DeletionProtectionType: {
1153
- readonly ACTIVE: "ACTIVE";
1154
- readonly INACTIVE: "INACTIVE";
1155
- };
1156
- export type DeletionProtectionType =
1157
- (typeof DeletionProtectionType)[keyof typeof DeletionProtectionType];
1158
622
  export interface DeviceConfigurationType {
1159
623
  ChallengeRequiredOnNewDevice?: boolean | undefined;
1160
624
  DeviceOnlyRememberedOnUserPrompt?: boolean | undefined;
1161
625
  }
1162
- export declare const EmailSendingAccountType: {
1163
- readonly COGNITO_DEFAULT: "COGNITO_DEFAULT";
1164
- readonly DEVELOPER: "DEVELOPER";
1165
- };
1166
- export type EmailSendingAccountType =
1167
- (typeof EmailSendingAccountType)[keyof typeof EmailSendingAccountType];
1168
626
  export interface EmailConfigurationType {
1169
627
  SourceArn?: string | undefined;
1170
628
  ReplyToEmailAddress?: string | undefined;
@@ -1172,31 +630,14 @@ export interface EmailConfigurationType {
1172
630
  From?: string | undefined;
1173
631
  ConfigurationSet?: string | undefined;
1174
632
  }
1175
- export declare const CustomEmailSenderLambdaVersionType: {
1176
- readonly V1_0: "V1_0";
1177
- };
1178
- export type CustomEmailSenderLambdaVersionType =
1179
- (typeof CustomEmailSenderLambdaVersionType)[keyof typeof CustomEmailSenderLambdaVersionType];
1180
633
  export interface CustomEmailLambdaVersionConfigType {
1181
634
  LambdaVersion: CustomEmailSenderLambdaVersionType | undefined;
1182
635
  LambdaArn: string | undefined;
1183
636
  }
1184
- export declare const CustomSMSSenderLambdaVersionType: {
1185
- readonly V1_0: "V1_0";
1186
- };
1187
- export type CustomSMSSenderLambdaVersionType =
1188
- (typeof CustomSMSSenderLambdaVersionType)[keyof typeof CustomSMSSenderLambdaVersionType];
1189
637
  export interface CustomSMSLambdaVersionConfigType {
1190
638
  LambdaVersion: CustomSMSSenderLambdaVersionType | undefined;
1191
639
  LambdaArn: string | undefined;
1192
640
  }
1193
- export declare const PreTokenGenerationLambdaVersionType: {
1194
- readonly V1_0: "V1_0";
1195
- readonly V2_0: "V2_0";
1196
- readonly V3_0: "V3_0";
1197
- };
1198
- export type PreTokenGenerationLambdaVersionType =
1199
- (typeof PreTokenGenerationLambdaVersionType)[keyof typeof PreTokenGenerationLambdaVersionType];
1200
641
  export interface PreTokenGenerationVersionConfigType {
1201
642
  LambdaVersion: PreTokenGenerationLambdaVersionType | undefined;
1202
643
  LambdaArn: string | undefined;
@@ -1217,13 +658,6 @@ export interface LambdaConfigType {
1217
658
  CustomEmailSender?: CustomEmailLambdaVersionConfigType | undefined;
1218
659
  KMSKeyID?: string | undefined;
1219
660
  }
1220
- export declare const UserPoolMfaType: {
1221
- readonly OFF: "OFF";
1222
- readonly ON: "ON";
1223
- readonly OPTIONAL: "OPTIONAL";
1224
- };
1225
- export type UserPoolMfaType =
1226
- (typeof UserPoolMfaType)[keyof typeof UserPoolMfaType];
1227
661
  export interface PasswordPolicyType {
1228
662
  MinimumLength?: number | undefined;
1229
663
  RequireUppercase?: boolean | undefined;
@@ -1250,12 +684,6 @@ export interface UserAttributeUpdateSettingsType {
1250
684
  | VerifiedAttributeType[]
1251
685
  | undefined;
1252
686
  }
1253
- export declare const UsernameAttributeType: {
1254
- readonly EMAIL: "email";
1255
- readonly PHONE_NUMBER: "phone_number";
1256
- };
1257
- export type UsernameAttributeType =
1258
- (typeof UsernameAttributeType)[keyof typeof UsernameAttributeType];
1259
687
  export interface UsernameConfigurationType {
1260
688
  CaseSensitive: boolean | undefined;
1261
689
  }
@@ -1265,19 +693,6 @@ export interface UserPoolAddOnsType {
1265
693
  | AdvancedSecurityAdditionalFlowsType
1266
694
  | undefined;
1267
695
  }
1268
- export declare const UserPoolTierType: {
1269
- readonly ESSENTIALS: "ESSENTIALS";
1270
- readonly LITE: "LITE";
1271
- readonly PLUS: "PLUS";
1272
- };
1273
- export type UserPoolTierType =
1274
- (typeof UserPoolTierType)[keyof typeof UserPoolTierType];
1275
- export declare const DefaultEmailOptionType: {
1276
- readonly CONFIRM_WITH_CODE: "CONFIRM_WITH_CODE";
1277
- readonly CONFIRM_WITH_LINK: "CONFIRM_WITH_LINK";
1278
- };
1279
- export type DefaultEmailOptionType =
1280
- (typeof DefaultEmailOptionType)[keyof typeof DefaultEmailOptionType];
1281
696
  export interface VerificationMessageTemplateType {
1282
697
  SmsMessage?: string | undefined;
1283
698
  EmailMessage?: string | undefined;
@@ -1312,11 +727,6 @@ export interface CreateUserPoolRequest {
1312
727
  AccountRecoverySetting?: AccountRecoverySettingType | undefined;
1313
728
  UserPoolTier?: UserPoolTierType | undefined;
1314
729
  }
1315
- export declare const StatusType: {
1316
- readonly Disabled: "Disabled";
1317
- readonly Enabled: "Enabled";
1318
- };
1319
- export type StatusType = (typeof StatusType)[keyof typeof StatusType];
1320
730
  export interface UserPoolType {
1321
731
  Id?: string | undefined;
1322
732
  Name?: string | undefined;
@@ -1356,71 +766,10 @@ export interface UserPoolType {
1356
766
  export interface CreateUserPoolResponse {
1357
767
  UserPool?: UserPoolType | undefined;
1358
768
  }
1359
- export declare class FeatureUnavailableInTierException extends __BaseException {
1360
- readonly name: "FeatureUnavailableInTierException";
1361
- readonly $fault: "client";
1362
- constructor(
1363
- opts: __ExceptionOptionType<
1364
- FeatureUnavailableInTierException,
1365
- __BaseException
1366
- >
1367
- );
1368
- }
1369
- export declare class TierChangeNotAllowedException extends __BaseException {
1370
- readonly name: "TierChangeNotAllowedException";
1371
- readonly $fault: "client";
1372
- constructor(
1373
- opts: __ExceptionOptionType<TierChangeNotAllowedException, __BaseException>
1374
- );
1375
- }
1376
- export declare class UserPoolTaggingException extends __BaseException {
1377
- readonly name: "UserPoolTaggingException";
1378
- readonly $fault: "client";
1379
- constructor(
1380
- opts: __ExceptionOptionType<UserPoolTaggingException, __BaseException>
1381
- );
1382
- }
1383
- export declare const OAuthFlowType: {
1384
- readonly client_credentials: "client_credentials";
1385
- readonly code: "code";
1386
- readonly implicit: "implicit";
1387
- };
1388
- export type OAuthFlowType = (typeof OAuthFlowType)[keyof typeof OAuthFlowType];
1389
- export declare const ExplicitAuthFlowsType: {
1390
- readonly ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH";
1391
- readonly ALLOW_ADMIN_USER_PASSWORD_AUTH: "ALLOW_ADMIN_USER_PASSWORD_AUTH";
1392
- readonly ALLOW_CUSTOM_AUTH: "ALLOW_CUSTOM_AUTH";
1393
- readonly ALLOW_REFRESH_TOKEN_AUTH: "ALLOW_REFRESH_TOKEN_AUTH";
1394
- readonly ALLOW_USER_AUTH: "ALLOW_USER_AUTH";
1395
- readonly ALLOW_USER_PASSWORD_AUTH: "ALLOW_USER_PASSWORD_AUTH";
1396
- readonly ALLOW_USER_SRP_AUTH: "ALLOW_USER_SRP_AUTH";
1397
- readonly CUSTOM_AUTH_FLOW_ONLY: "CUSTOM_AUTH_FLOW_ONLY";
1398
- readonly USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH";
1399
- };
1400
- export type ExplicitAuthFlowsType =
1401
- (typeof ExplicitAuthFlowsType)[keyof typeof ExplicitAuthFlowsType];
1402
- export declare const PreventUserExistenceErrorTypes: {
1403
- readonly ENABLED: "ENABLED";
1404
- readonly LEGACY: "LEGACY";
1405
- };
1406
- export type PreventUserExistenceErrorTypes =
1407
- (typeof PreventUserExistenceErrorTypes)[keyof typeof PreventUserExistenceErrorTypes];
1408
- export declare const FeatureType: {
1409
- readonly DISABLED: "DISABLED";
1410
- readonly ENABLED: "ENABLED";
1411
- };
1412
- export type FeatureType = (typeof FeatureType)[keyof typeof FeatureType];
1413
769
  export interface RefreshTokenRotationType {
1414
770
  Feature: FeatureType | undefined;
1415
771
  RetryGracePeriodSeconds?: number | undefined;
1416
772
  }
1417
- export declare const TimeUnitsType: {
1418
- readonly DAYS: "days";
1419
- readonly HOURS: "hours";
1420
- readonly MINUTES: "minutes";
1421
- readonly SECONDS: "seconds";
1422
- };
1423
- export type TimeUnitsType = (typeof TimeUnitsType)[keyof typeof TimeUnitsType];
1424
773
  export interface TokenValidityUnitsType {
1425
774
  AccessToken?: TimeUnitsType | undefined;
1426
775
  IdToken?: TimeUnitsType | undefined;
@@ -1482,20 +831,6 @@ export interface UserPoolClientType {
1482
831
  export interface CreateUserPoolClientResponse {
1483
832
  UserPoolClient?: UserPoolClientType | undefined;
1484
833
  }
1485
- export declare class InvalidOAuthFlowException extends __BaseException {
1486
- readonly name: "InvalidOAuthFlowException";
1487
- readonly $fault: "client";
1488
- constructor(
1489
- opts: __ExceptionOptionType<InvalidOAuthFlowException, __BaseException>
1490
- );
1491
- }
1492
- export declare class ScopeDoesNotExistException extends __BaseException {
1493
- readonly name: "ScopeDoesNotExistException";
1494
- readonly $fault: "client";
1495
- constructor(
1496
- opts: __ExceptionOptionType<ScopeDoesNotExistException, __BaseException>
1497
- );
1498
- }
1499
834
  export interface CustomDomainConfigType {
1500
835
  CertificateArn: string | undefined;
1501
836
  }
@@ -1517,16 +852,6 @@ export interface DeleteIdentityProviderRequest {
1517
852
  UserPoolId: string | undefined;
1518
853
  ProviderName: string | undefined;
1519
854
  }
1520
- export declare class UnsupportedIdentityProviderException extends __BaseException {
1521
- readonly name: "UnsupportedIdentityProviderException";
1522
- readonly $fault: "client";
1523
- constructor(
1524
- opts: __ExceptionOptionType<
1525
- UnsupportedIdentityProviderException,
1526
- __BaseException
1527
- >
1528
- );
1529
- }
1530
855
  export interface DeleteManagedLoginBrandingRequest {
1531
856
  ManagedLoginBrandingId: string | undefined;
1532
857
  UserPoolId: string | undefined;
@@ -1598,22 +923,9 @@ export interface DescribeRiskConfigurationRequest {
1598
923
  UserPoolId: string | undefined;
1599
924
  ClientId?: string | undefined;
1600
925
  }
1601
- export declare const CompromisedCredentialsEventActionType: {
1602
- readonly BLOCK: "BLOCK";
1603
- readonly NO_ACTION: "NO_ACTION";
1604
- };
1605
- export type CompromisedCredentialsEventActionType =
1606
- (typeof CompromisedCredentialsEventActionType)[keyof typeof CompromisedCredentialsEventActionType];
1607
926
  export interface CompromisedCredentialsActionsType {
1608
927
  EventAction: CompromisedCredentialsEventActionType | undefined;
1609
928
  }
1610
- export declare const EventFilterType: {
1611
- readonly PASSWORD_CHANGE: "PASSWORD_CHANGE";
1612
- readonly SIGN_IN: "SIGN_IN";
1613
- readonly SIGN_UP: "SIGN_UP";
1614
- };
1615
- export type EventFilterType =
1616
- (typeof EventFilterType)[keyof typeof EventFilterType];
1617
929
  export interface CompromisedCredentialsRiskConfigurationType {
1618
930
  EventFilter?: EventFilterType[] | undefined;
1619
931
  Actions: CompromisedCredentialsActionsType | undefined;
@@ -1667,15 +979,6 @@ export interface DescribeUserPoolClientResponse {
1667
979
  export interface DescribeUserPoolDomainRequest {
1668
980
  Domain: string | undefined;
1669
981
  }
1670
- export declare const DomainStatusType: {
1671
- readonly ACTIVE: "ACTIVE";
1672
- readonly CREATING: "CREATING";
1673
- readonly DELETING: "DELETING";
1674
- readonly FAILED: "FAILED";
1675
- readonly UPDATING: "UPDATING";
1676
- };
1677
- export type DomainStatusType =
1678
- (typeof DomainStatusType)[keyof typeof DomainStatusType];
1679
982
  export interface DomainDescriptionType {
1680
983
  UserPoolId?: string | undefined;
1681
984
  AWSAccountId?: string | undefined;
@@ -1744,20 +1047,9 @@ export interface GetLogDeliveryConfigurationRequest {
1744
1047
  export interface CloudWatchLogsConfigurationType {
1745
1048
  LogGroupArn?: string | undefined;
1746
1049
  }
1747
- export declare const EventSourceName: {
1748
- readonly USER_AUTH_EVENTS: "userAuthEvents";
1749
- readonly USER_NOTIFICATION: "userNotification";
1750
- };
1751
- export type EventSourceName =
1752
- (typeof EventSourceName)[keyof typeof EventSourceName];
1753
1050
  export interface FirehoseConfigurationType {
1754
1051
  StreamArn?: string | undefined;
1755
1052
  }
1756
- export declare const LogLevel: {
1757
- readonly ERROR: "ERROR";
1758
- readonly INFO: "INFO";
1759
- };
1760
- export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
1761
1053
  export interface S3ConfigurationType {
1762
1054
  BucketArn?: string | undefined;
1763
1055
  }
@@ -1788,3 +1080,492 @@ export interface GetTokensFromRefreshTokenRequest {
1788
1080
  DeviceKey?: string | undefined;
1789
1081
  ClientMetadata?: Record<string, string> | undefined;
1790
1082
  }
1083
+ export interface GetTokensFromRefreshTokenResponse {
1084
+ AuthenticationResult?: AuthenticationResultType | undefined;
1085
+ }
1086
+ export interface GetUICustomizationRequest {
1087
+ UserPoolId: string | undefined;
1088
+ ClientId?: string | undefined;
1089
+ }
1090
+ export interface UICustomizationType {
1091
+ UserPoolId?: string | undefined;
1092
+ ClientId?: string | undefined;
1093
+ ImageUrl?: string | undefined;
1094
+ CSS?: string | undefined;
1095
+ CSSVersion?: string | undefined;
1096
+ LastModifiedDate?: Date | undefined;
1097
+ CreationDate?: Date | undefined;
1098
+ }
1099
+ export interface GetUICustomizationResponse {
1100
+ UICustomization: UICustomizationType | undefined;
1101
+ }
1102
+ export interface GetUserRequest {
1103
+ AccessToken: string | undefined;
1104
+ }
1105
+ export interface GetUserResponse {
1106
+ Username: string | undefined;
1107
+ UserAttributes: AttributeType[] | undefined;
1108
+ MFAOptions?: MFAOptionType[] | undefined;
1109
+ PreferredMfaSetting?: string | undefined;
1110
+ UserMFASettingList?: string[] | undefined;
1111
+ }
1112
+ export interface GetUserAttributeVerificationCodeRequest {
1113
+ AccessToken: string | undefined;
1114
+ AttributeName: string | undefined;
1115
+ ClientMetadata?: Record<string, string> | undefined;
1116
+ }
1117
+ export interface GetUserAttributeVerificationCodeResponse {
1118
+ CodeDeliveryDetails?: CodeDeliveryDetailsType | undefined;
1119
+ }
1120
+ export interface GetUserAuthFactorsRequest {
1121
+ AccessToken: string | undefined;
1122
+ }
1123
+ export interface GetUserAuthFactorsResponse {
1124
+ Username: string | undefined;
1125
+ PreferredMfaSetting?: string | undefined;
1126
+ UserMFASettingList?: string[] | undefined;
1127
+ ConfiguredUserAuthFactors?: AuthFactorType[] | undefined;
1128
+ }
1129
+ export interface GetUserPoolMfaConfigRequest {
1130
+ UserPoolId: string | undefined;
1131
+ }
1132
+ export interface EmailMfaConfigType {
1133
+ Message?: string | undefined;
1134
+ Subject?: string | undefined;
1135
+ }
1136
+ export interface SmsMfaConfigType {
1137
+ SmsAuthenticationMessage?: string | undefined;
1138
+ SmsConfiguration?: SmsConfigurationType | undefined;
1139
+ }
1140
+ export interface SoftwareTokenMfaConfigType {
1141
+ Enabled?: boolean | undefined;
1142
+ }
1143
+ export interface WebAuthnConfigurationType {
1144
+ RelyingPartyId?: string | undefined;
1145
+ UserVerification?: UserVerificationType | undefined;
1146
+ }
1147
+ export interface GetUserPoolMfaConfigResponse {
1148
+ SmsMfaConfiguration?: SmsMfaConfigType | undefined;
1149
+ SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType | undefined;
1150
+ EmailMfaConfiguration?: EmailMfaConfigType | undefined;
1151
+ MfaConfiguration?: UserPoolMfaType | undefined;
1152
+ WebAuthnConfiguration?: WebAuthnConfigurationType | undefined;
1153
+ }
1154
+ export interface GlobalSignOutRequest {
1155
+ AccessToken: string | undefined;
1156
+ }
1157
+ export interface GlobalSignOutResponse {}
1158
+ export interface InitiateAuthRequest {
1159
+ AuthFlow: AuthFlowType | undefined;
1160
+ AuthParameters?: Record<string, string> | undefined;
1161
+ ClientMetadata?: Record<string, string> | undefined;
1162
+ ClientId: string | undefined;
1163
+ AnalyticsMetadata?: AnalyticsMetadataType | undefined;
1164
+ UserContextData?: UserContextDataType | undefined;
1165
+ Session?: string | undefined;
1166
+ }
1167
+ export interface InitiateAuthResponse {
1168
+ ChallengeName?: ChallengeNameType | undefined;
1169
+ Session?: string | undefined;
1170
+ ChallengeParameters?: Record<string, string> | undefined;
1171
+ AuthenticationResult?: AuthenticationResultType | undefined;
1172
+ AvailableChallenges?: ChallengeNameType[] | undefined;
1173
+ }
1174
+ export interface ListDevicesRequest {
1175
+ AccessToken: string | undefined;
1176
+ Limit?: number | undefined;
1177
+ PaginationToken?: string | undefined;
1178
+ }
1179
+ export interface ListDevicesResponse {
1180
+ Devices?: DeviceType[] | undefined;
1181
+ PaginationToken?: string | undefined;
1182
+ }
1183
+ export interface ListGroupsRequest {
1184
+ UserPoolId: string | undefined;
1185
+ Limit?: number | undefined;
1186
+ NextToken?: string | undefined;
1187
+ }
1188
+ export interface ListGroupsResponse {
1189
+ Groups?: GroupType[] | undefined;
1190
+ NextToken?: string | undefined;
1191
+ }
1192
+ export interface ListIdentityProvidersRequest {
1193
+ UserPoolId: string | undefined;
1194
+ MaxResults?: number | undefined;
1195
+ NextToken?: string | undefined;
1196
+ }
1197
+ export interface ProviderDescription {
1198
+ ProviderName?: string | undefined;
1199
+ ProviderType?: IdentityProviderTypeType | undefined;
1200
+ LastModifiedDate?: Date | undefined;
1201
+ CreationDate?: Date | undefined;
1202
+ }
1203
+ export interface ListIdentityProvidersResponse {
1204
+ Providers: ProviderDescription[] | undefined;
1205
+ NextToken?: string | undefined;
1206
+ }
1207
+ export interface ListResourceServersRequest {
1208
+ UserPoolId: string | undefined;
1209
+ MaxResults?: number | undefined;
1210
+ NextToken?: string | undefined;
1211
+ }
1212
+ export interface ListResourceServersResponse {
1213
+ ResourceServers: ResourceServerType[] | undefined;
1214
+ NextToken?: string | undefined;
1215
+ }
1216
+ export interface ListTagsForResourceRequest {
1217
+ ResourceArn: string | undefined;
1218
+ }
1219
+ export interface ListTagsForResourceResponse {
1220
+ Tags?: Record<string, string> | undefined;
1221
+ }
1222
+ export interface ListTermsRequest {
1223
+ UserPoolId: string | undefined;
1224
+ MaxResults?: number | undefined;
1225
+ NextToken?: string | undefined;
1226
+ }
1227
+ export interface TermsDescriptionType {
1228
+ TermsId: string | undefined;
1229
+ TermsName: string | undefined;
1230
+ Enforcement: TermsEnforcementType | undefined;
1231
+ CreationDate: Date | undefined;
1232
+ LastModifiedDate: Date | undefined;
1233
+ }
1234
+ export interface ListTermsResponse {
1235
+ Terms: TermsDescriptionType[] | undefined;
1236
+ NextToken?: string | undefined;
1237
+ }
1238
+ export interface ListUserImportJobsRequest {
1239
+ UserPoolId: string | undefined;
1240
+ MaxResults: number | undefined;
1241
+ PaginationToken?: string | undefined;
1242
+ }
1243
+ export interface ListUserImportJobsResponse {
1244
+ UserImportJobs?: UserImportJobType[] | undefined;
1245
+ PaginationToken?: string | undefined;
1246
+ }
1247
+ export interface ListUserPoolClientsRequest {
1248
+ UserPoolId: string | undefined;
1249
+ MaxResults?: number | undefined;
1250
+ NextToken?: string | undefined;
1251
+ }
1252
+ export interface UserPoolClientDescription {
1253
+ ClientId?: string | undefined;
1254
+ UserPoolId?: string | undefined;
1255
+ ClientName?: string | undefined;
1256
+ }
1257
+ export interface ListUserPoolClientsResponse {
1258
+ UserPoolClients?: UserPoolClientDescription[] | undefined;
1259
+ NextToken?: string | undefined;
1260
+ }
1261
+ export interface ListUserPoolsRequest {
1262
+ NextToken?: string | undefined;
1263
+ MaxResults: number | undefined;
1264
+ }
1265
+ export interface UserPoolDescriptionType {
1266
+ Id?: string | undefined;
1267
+ Name?: string | undefined;
1268
+ LambdaConfig?: LambdaConfigType | undefined;
1269
+ Status?: StatusType | undefined;
1270
+ LastModifiedDate?: Date | undefined;
1271
+ CreationDate?: Date | undefined;
1272
+ }
1273
+ export interface ListUserPoolsResponse {
1274
+ UserPools?: UserPoolDescriptionType[] | undefined;
1275
+ NextToken?: string | undefined;
1276
+ }
1277
+ export interface ListUsersRequest {
1278
+ UserPoolId: string | undefined;
1279
+ AttributesToGet?: string[] | undefined;
1280
+ Limit?: number | undefined;
1281
+ PaginationToken?: string | undefined;
1282
+ Filter?: string | undefined;
1283
+ }
1284
+ export interface ListUsersResponse {
1285
+ Users?: UserType[] | undefined;
1286
+ PaginationToken?: string | undefined;
1287
+ }
1288
+ export interface ListUsersInGroupRequest {
1289
+ UserPoolId: string | undefined;
1290
+ GroupName: string | undefined;
1291
+ Limit?: number | undefined;
1292
+ NextToken?: string | undefined;
1293
+ }
1294
+ export interface ListUsersInGroupResponse {
1295
+ Users?: UserType[] | undefined;
1296
+ NextToken?: string | undefined;
1297
+ }
1298
+ export interface ListWebAuthnCredentialsRequest {
1299
+ AccessToken: string | undefined;
1300
+ NextToken?: string | undefined;
1301
+ MaxResults?: number | undefined;
1302
+ }
1303
+ export interface WebAuthnCredentialDescription {
1304
+ CredentialId: string | undefined;
1305
+ FriendlyCredentialName: string | undefined;
1306
+ RelyingPartyId: string | undefined;
1307
+ AuthenticatorAttachment?: string | undefined;
1308
+ AuthenticatorTransports: string[] | undefined;
1309
+ CreatedAt: Date | undefined;
1310
+ }
1311
+ export interface ListWebAuthnCredentialsResponse {
1312
+ Credentials: WebAuthnCredentialDescription[] | undefined;
1313
+ NextToken?: string | undefined;
1314
+ }
1315
+ export interface ResendConfirmationCodeRequest {
1316
+ ClientId: string | undefined;
1317
+ SecretHash?: string | undefined;
1318
+ UserContextData?: UserContextDataType | undefined;
1319
+ Username: string | undefined;
1320
+ AnalyticsMetadata?: AnalyticsMetadataType | undefined;
1321
+ ClientMetadata?: Record<string, string> | undefined;
1322
+ }
1323
+ export interface ResendConfirmationCodeResponse {
1324
+ CodeDeliveryDetails?: CodeDeliveryDetailsType | undefined;
1325
+ }
1326
+ export interface RespondToAuthChallengeRequest {
1327
+ ClientId: string | undefined;
1328
+ ChallengeName: ChallengeNameType | undefined;
1329
+ Session?: string | undefined;
1330
+ ChallengeResponses?: Record<string, string> | undefined;
1331
+ AnalyticsMetadata?: AnalyticsMetadataType | undefined;
1332
+ UserContextData?: UserContextDataType | undefined;
1333
+ ClientMetadata?: Record<string, string> | undefined;
1334
+ }
1335
+ export interface RespondToAuthChallengeResponse {
1336
+ ChallengeName?: ChallengeNameType | undefined;
1337
+ Session?: string | undefined;
1338
+ ChallengeParameters?: Record<string, string> | undefined;
1339
+ AuthenticationResult?: AuthenticationResultType | undefined;
1340
+ }
1341
+ export interface RevokeTokenRequest {
1342
+ Token: string | undefined;
1343
+ ClientId: string | undefined;
1344
+ ClientSecret?: string | undefined;
1345
+ }
1346
+ export interface RevokeTokenResponse {}
1347
+ export interface SetLogDeliveryConfigurationRequest {
1348
+ UserPoolId: string | undefined;
1349
+ LogConfigurations: LogConfigurationType[] | undefined;
1350
+ }
1351
+ export interface SetLogDeliveryConfigurationResponse {
1352
+ LogDeliveryConfiguration?: LogDeliveryConfigurationType | undefined;
1353
+ }
1354
+ export interface SetRiskConfigurationRequest {
1355
+ UserPoolId: string | undefined;
1356
+ ClientId?: string | undefined;
1357
+ CompromisedCredentialsRiskConfiguration?:
1358
+ | CompromisedCredentialsRiskConfigurationType
1359
+ | undefined;
1360
+ AccountTakeoverRiskConfiguration?:
1361
+ | AccountTakeoverRiskConfigurationType
1362
+ | undefined;
1363
+ RiskExceptionConfiguration?: RiskExceptionConfigurationType | undefined;
1364
+ }
1365
+ export interface SetRiskConfigurationResponse {
1366
+ RiskConfiguration: RiskConfigurationType | undefined;
1367
+ }
1368
+ export interface SetUICustomizationRequest {
1369
+ UserPoolId: string | undefined;
1370
+ ClientId?: string | undefined;
1371
+ CSS?: string | undefined;
1372
+ ImageFile?: Uint8Array | undefined;
1373
+ }
1374
+ export interface SetUICustomizationResponse {
1375
+ UICustomization: UICustomizationType | undefined;
1376
+ }
1377
+ export interface SetUserMFAPreferenceRequest {
1378
+ SMSMfaSettings?: SMSMfaSettingsType | undefined;
1379
+ SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType | undefined;
1380
+ EmailMfaSettings?: EmailMfaSettingsType | undefined;
1381
+ AccessToken: string | undefined;
1382
+ }
1383
+ export interface SetUserMFAPreferenceResponse {}
1384
+ export interface SetUserPoolMfaConfigRequest {
1385
+ UserPoolId: string | undefined;
1386
+ SmsMfaConfiguration?: SmsMfaConfigType | undefined;
1387
+ SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType | undefined;
1388
+ EmailMfaConfiguration?: EmailMfaConfigType | undefined;
1389
+ MfaConfiguration?: UserPoolMfaType | undefined;
1390
+ WebAuthnConfiguration?: WebAuthnConfigurationType | undefined;
1391
+ }
1392
+ export interface SetUserPoolMfaConfigResponse {
1393
+ SmsMfaConfiguration?: SmsMfaConfigType | undefined;
1394
+ SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType | undefined;
1395
+ EmailMfaConfiguration?: EmailMfaConfigType | undefined;
1396
+ MfaConfiguration?: UserPoolMfaType | undefined;
1397
+ WebAuthnConfiguration?: WebAuthnConfigurationType | undefined;
1398
+ }
1399
+ export interface SetUserSettingsRequest {
1400
+ AccessToken: string | undefined;
1401
+ MFAOptions: MFAOptionType[] | undefined;
1402
+ }
1403
+ export interface SetUserSettingsResponse {}
1404
+ export interface SignUpRequest {
1405
+ ClientId: string | undefined;
1406
+ SecretHash?: string | undefined;
1407
+ Username: string | undefined;
1408
+ Password?: string | undefined;
1409
+ UserAttributes?: AttributeType[] | undefined;
1410
+ ValidationData?: AttributeType[] | undefined;
1411
+ AnalyticsMetadata?: AnalyticsMetadataType | undefined;
1412
+ UserContextData?: UserContextDataType | undefined;
1413
+ ClientMetadata?: Record<string, string> | undefined;
1414
+ }
1415
+ export interface SignUpResponse {
1416
+ UserConfirmed: boolean | undefined;
1417
+ CodeDeliveryDetails?: CodeDeliveryDetailsType | undefined;
1418
+ UserSub: string | undefined;
1419
+ Session?: string | undefined;
1420
+ }
1421
+ export interface StartUserImportJobRequest {
1422
+ UserPoolId: string | undefined;
1423
+ JobId: string | undefined;
1424
+ }
1425
+ export interface StartUserImportJobResponse {
1426
+ UserImportJob?: UserImportJobType | undefined;
1427
+ }
1428
+ export interface StartWebAuthnRegistrationRequest {
1429
+ AccessToken: string | undefined;
1430
+ }
1431
+ export interface StartWebAuthnRegistrationResponse {
1432
+ CredentialCreationOptions: __DocumentType | undefined;
1433
+ }
1434
+ export interface StopUserImportJobRequest {
1435
+ UserPoolId: string | undefined;
1436
+ JobId: string | undefined;
1437
+ }
1438
+ export interface StopUserImportJobResponse {
1439
+ UserImportJob?: UserImportJobType | undefined;
1440
+ }
1441
+ export interface TagResourceRequest {
1442
+ ResourceArn: string | undefined;
1443
+ Tags: Record<string, string> | undefined;
1444
+ }
1445
+ export interface TagResourceResponse {}
1446
+ export interface UntagResourceRequest {
1447
+ ResourceArn: string | undefined;
1448
+ TagKeys: string[] | undefined;
1449
+ }
1450
+ export interface UntagResourceResponse {}
1451
+ export interface UpdateAuthEventFeedbackRequest {
1452
+ UserPoolId: string | undefined;
1453
+ Username: string | undefined;
1454
+ EventId: string | undefined;
1455
+ FeedbackToken: string | undefined;
1456
+ FeedbackValue: FeedbackValueType | undefined;
1457
+ }
1458
+ export interface UpdateAuthEventFeedbackResponse {}
1459
+ export interface UpdateDeviceStatusRequest {
1460
+ AccessToken: string | undefined;
1461
+ DeviceKey: string | undefined;
1462
+ DeviceRememberedStatus?: DeviceRememberedStatusType | undefined;
1463
+ }
1464
+ export interface UpdateDeviceStatusResponse {}
1465
+ export interface UpdateGroupRequest {
1466
+ GroupName: string | undefined;
1467
+ UserPoolId: string | undefined;
1468
+ Description?: string | undefined;
1469
+ RoleArn?: string | undefined;
1470
+ Precedence?: number | undefined;
1471
+ }
1472
+ export interface UpdateGroupResponse {
1473
+ Group?: GroupType | undefined;
1474
+ }
1475
+ export interface UpdateIdentityProviderRequest {
1476
+ UserPoolId: string | undefined;
1477
+ ProviderName: string | undefined;
1478
+ ProviderDetails?: Record<string, string> | undefined;
1479
+ AttributeMapping?: Record<string, string> | undefined;
1480
+ IdpIdentifiers?: string[] | undefined;
1481
+ }
1482
+ export interface UpdateIdentityProviderResponse {
1483
+ IdentityProvider: IdentityProviderType | undefined;
1484
+ }
1485
+ export interface UpdateManagedLoginBrandingRequest {
1486
+ UserPoolId?: string | undefined;
1487
+ ManagedLoginBrandingId?: string | undefined;
1488
+ UseCognitoProvidedValues?: boolean | undefined;
1489
+ Settings?: __DocumentType | undefined;
1490
+ Assets?: AssetType[] | undefined;
1491
+ }
1492
+ export interface UpdateManagedLoginBrandingResponse {
1493
+ ManagedLoginBranding?: ManagedLoginBrandingType | undefined;
1494
+ }
1495
+ export interface UpdateResourceServerRequest {
1496
+ UserPoolId: string | undefined;
1497
+ Identifier: string | undefined;
1498
+ Name: string | undefined;
1499
+ Scopes?: ResourceServerScopeType[] | undefined;
1500
+ }
1501
+ export interface UpdateResourceServerResponse {
1502
+ ResourceServer: ResourceServerType | undefined;
1503
+ }
1504
+ export interface UpdateTermsRequest {
1505
+ TermsId: string | undefined;
1506
+ UserPoolId: string | undefined;
1507
+ TermsName?: string | undefined;
1508
+ TermsSource?: TermsSourceType | undefined;
1509
+ Enforcement?: TermsEnforcementType | undefined;
1510
+ Links?: Record<string, string> | undefined;
1511
+ }
1512
+ export interface UpdateTermsResponse {
1513
+ Terms?: TermsType | undefined;
1514
+ }
1515
+ export interface UpdateUserAttributesRequest {
1516
+ UserAttributes: AttributeType[] | undefined;
1517
+ AccessToken: string | undefined;
1518
+ ClientMetadata?: Record<string, string> | undefined;
1519
+ }
1520
+ export interface UpdateUserAttributesResponse {
1521
+ CodeDeliveryDetailsList?: CodeDeliveryDetailsType[] | undefined;
1522
+ }
1523
+ export interface UpdateUserPoolRequest {
1524
+ UserPoolId: string | undefined;
1525
+ Policies?: UserPoolPolicyType | undefined;
1526
+ DeletionProtection?: DeletionProtectionType | undefined;
1527
+ LambdaConfig?: LambdaConfigType | undefined;
1528
+ AutoVerifiedAttributes?: VerifiedAttributeType[] | undefined;
1529
+ SmsVerificationMessage?: string | undefined;
1530
+ EmailVerificationMessage?: string | undefined;
1531
+ EmailVerificationSubject?: string | undefined;
1532
+ VerificationMessageTemplate?: VerificationMessageTemplateType | undefined;
1533
+ SmsAuthenticationMessage?: string | undefined;
1534
+ UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType | undefined;
1535
+ MfaConfiguration?: UserPoolMfaType | undefined;
1536
+ DeviceConfiguration?: DeviceConfigurationType | undefined;
1537
+ EmailConfiguration?: EmailConfigurationType | undefined;
1538
+ SmsConfiguration?: SmsConfigurationType | undefined;
1539
+ UserPoolTags?: Record<string, string> | undefined;
1540
+ AdminCreateUserConfig?: AdminCreateUserConfigType | undefined;
1541
+ UserPoolAddOns?: UserPoolAddOnsType | undefined;
1542
+ AccountRecoverySetting?: AccountRecoverySettingType | undefined;
1543
+ PoolName?: string | undefined;
1544
+ UserPoolTier?: UserPoolTierType | undefined;
1545
+ }
1546
+ export interface UpdateUserPoolResponse {}
1547
+ export interface UpdateUserPoolClientRequest {
1548
+ UserPoolId: string | undefined;
1549
+ ClientId: string | undefined;
1550
+ ClientName?: string | undefined;
1551
+ RefreshTokenValidity?: number | undefined;
1552
+ AccessTokenValidity?: number | undefined;
1553
+ IdTokenValidity?: number | undefined;
1554
+ TokenValidityUnits?: TokenValidityUnitsType | undefined;
1555
+ ReadAttributes?: string[] | undefined;
1556
+ WriteAttributes?: string[] | undefined;
1557
+ ExplicitAuthFlows?: ExplicitAuthFlowsType[] | undefined;
1558
+ SupportedIdentityProviders?: string[] | undefined;
1559
+ CallbackURLs?: string[] | undefined;
1560
+ LogoutURLs?: string[] | undefined;
1561
+ DefaultRedirectURI?: string | undefined;
1562
+ AllowedOAuthFlows?: OAuthFlowType[] | undefined;
1563
+ AllowedOAuthScopes?: string[] | undefined;
1564
+ AllowedOAuthFlowsUserPoolClient?: boolean | undefined;
1565
+ AnalyticsConfiguration?: AnalyticsConfigurationType | undefined;
1566
+ PreventUserExistenceErrors?: PreventUserExistenceErrorTypes | undefined;
1567
+ EnableTokenRevocation?: boolean | undefined;
1568
+ EnablePropagateAdditionalUserContextData?: boolean | undefined;
1569
+ AuthSessionValidity?: number | undefined;
1570
+ RefreshTokenRotation?: RefreshTokenRotationType | undefined;
1571
+ }