@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.
- package/dist-cjs/index.js +282 -282
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +281 -0
- package/dist-es/models/errors.js +663 -0
- package/dist-es/models/models_0.js +1 -876
- package/dist-es/models/models_1.js +1 -69
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/GetTokensFromRefreshTokenCommand.d.ts +1 -2
- package/dist-types/commands/GetUICustomizationCommand.d.ts +1 -1
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +1 -1
- package/dist-types/commands/GetUserAuthFactorsCommand.d.ts +1 -1
- package/dist-types/commands/GetUserCommand.d.ts +1 -1
- package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +1 -1
- package/dist-types/commands/GlobalSignOutCommand.d.ts +1 -1
- package/dist-types/commands/InitiateAuthCommand.d.ts +1 -1
- package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
- package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +1 -1
- package/dist-types/commands/ListResourceServersCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTermsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserPoolClientsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserPoolsCommand.d.ts +1 -1
- package/dist-types/commands/ListUsersCommand.d.ts +1 -1
- package/dist-types/commands/ListUsersInGroupCommand.d.ts +1 -1
- package/dist-types/commands/ListWebAuthnCredentialsCommand.d.ts +1 -1
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +1 -1
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +1 -1
- package/dist-types/commands/RevokeTokenCommand.d.ts +1 -1
- package/dist-types/commands/SetLogDeliveryConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/SetUICustomizationCommand.d.ts +1 -1
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +1 -1
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +1 -1
- package/dist-types/commands/SetUserSettingsCommand.d.ts +1 -1
- package/dist-types/commands/SignUpCommand.d.ts +1 -1
- package/dist-types/commands/StartUserImportJobCommand.d.ts +1 -1
- package/dist-types/commands/StartWebAuthnRegistrationCommand.d.ts +1 -1
- package/dist-types/commands/StopUserImportJobCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +1 -1
- package/dist-types/commands/UpdateManagedLoginBrandingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTermsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +2 -1
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +1 -1
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +681 -0
- package/dist-types/models/errors.d.ts +710 -0
- package/dist-types/models/models_0.d.ts +3866 -1311
- package/dist-types/models/models_1.d.ts +2 -3949
- package/dist-types/ts3.4/commands/GetTokensFromRefreshTokenCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetUICustomizationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetUserAttributeVerificationCodeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetUserAuthFactorsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetUserCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetUserPoolMfaConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GlobalSignOutCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InitiateAuthCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListResourceServersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTermsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserImportJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserPoolClientsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserPoolsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUsersInGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWebAuthnCredentialsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResendConfirmationCodeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RespondToAuthChallengeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RevokeTokenCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SetLogDeliveryConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SetRiskConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SetUICustomizationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SetUserMFAPreferenceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SetUserSettingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SignUpCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartWebAuthnRegistrationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopUserImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAuthEventFeedbackCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDeviceStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateManagedLoginBrandingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateResourceServerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTermsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserPoolClientCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateUserPoolCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +4 -1
- package/dist-types/ts3.4/models/enums.d.ts +372 -0
- package/dist-types/ts3.4/models/errors.d.ts +440 -0
- package/dist-types/ts3.4/models/models_0.d.ts +540 -759
- package/dist-types/ts3.4/models/models_1.d.ts +2 -603
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -2
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/index.d.ts +0 -2
|
@@ -1,876 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const RecoveryOptionNameType = {
|
|
3
|
-
ADMIN_ONLY: "admin_only",
|
|
4
|
-
VERIFIED_EMAIL: "verified_email",
|
|
5
|
-
VERIFIED_PHONE_NUMBER: "verified_phone_number",
|
|
6
|
-
};
|
|
7
|
-
export const AccountTakeoverEventActionType = {
|
|
8
|
-
BLOCK: "BLOCK",
|
|
9
|
-
MFA_IF_CONFIGURED: "MFA_IF_CONFIGURED",
|
|
10
|
-
MFA_REQUIRED: "MFA_REQUIRED",
|
|
11
|
-
NO_ACTION: "NO_ACTION",
|
|
12
|
-
};
|
|
13
|
-
export const AttributeDataType = {
|
|
14
|
-
BOOLEAN: "Boolean",
|
|
15
|
-
DATETIME: "DateTime",
|
|
16
|
-
NUMBER: "Number",
|
|
17
|
-
STRING: "String",
|
|
18
|
-
};
|
|
19
|
-
export class InternalErrorException extends __BaseException {
|
|
20
|
-
name = "InternalErrorException";
|
|
21
|
-
$fault = "server";
|
|
22
|
-
constructor(opts) {
|
|
23
|
-
super({
|
|
24
|
-
name: "InternalErrorException",
|
|
25
|
-
$fault: "server",
|
|
26
|
-
...opts,
|
|
27
|
-
});
|
|
28
|
-
Object.setPrototypeOf(this, InternalErrorException.prototype);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
export class InvalidParameterException extends __BaseException {
|
|
32
|
-
name = "InvalidParameterException";
|
|
33
|
-
$fault = "client";
|
|
34
|
-
reasonCode;
|
|
35
|
-
constructor(opts) {
|
|
36
|
-
super({
|
|
37
|
-
name: "InvalidParameterException",
|
|
38
|
-
$fault: "client",
|
|
39
|
-
...opts,
|
|
40
|
-
});
|
|
41
|
-
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
42
|
-
this.reasonCode = opts.reasonCode;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
export class NotAuthorizedException extends __BaseException {
|
|
46
|
-
name = "NotAuthorizedException";
|
|
47
|
-
$fault = "client";
|
|
48
|
-
constructor(opts) {
|
|
49
|
-
super({
|
|
50
|
-
name: "NotAuthorizedException",
|
|
51
|
-
$fault: "client",
|
|
52
|
-
...opts,
|
|
53
|
-
});
|
|
54
|
-
Object.setPrototypeOf(this, NotAuthorizedException.prototype);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
58
|
-
name = "ResourceNotFoundException";
|
|
59
|
-
$fault = "client";
|
|
60
|
-
constructor(opts) {
|
|
61
|
-
super({
|
|
62
|
-
name: "ResourceNotFoundException",
|
|
63
|
-
$fault: "client",
|
|
64
|
-
...opts,
|
|
65
|
-
});
|
|
66
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
export class TooManyRequestsException extends __BaseException {
|
|
70
|
-
name = "TooManyRequestsException";
|
|
71
|
-
$fault = "client";
|
|
72
|
-
constructor(opts) {
|
|
73
|
-
super({
|
|
74
|
-
name: "TooManyRequestsException",
|
|
75
|
-
$fault: "client",
|
|
76
|
-
...opts,
|
|
77
|
-
});
|
|
78
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
export class UserImportInProgressException extends __BaseException {
|
|
82
|
-
name = "UserImportInProgressException";
|
|
83
|
-
$fault = "client";
|
|
84
|
-
constructor(opts) {
|
|
85
|
-
super({
|
|
86
|
-
name: "UserImportInProgressException",
|
|
87
|
-
$fault: "client",
|
|
88
|
-
...opts,
|
|
89
|
-
});
|
|
90
|
-
Object.setPrototypeOf(this, UserImportInProgressException.prototype);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
export class UserNotFoundException extends __BaseException {
|
|
94
|
-
name = "UserNotFoundException";
|
|
95
|
-
$fault = "client";
|
|
96
|
-
constructor(opts) {
|
|
97
|
-
super({
|
|
98
|
-
name: "UserNotFoundException",
|
|
99
|
-
$fault: "client",
|
|
100
|
-
...opts,
|
|
101
|
-
});
|
|
102
|
-
Object.setPrototypeOf(this, UserNotFoundException.prototype);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
export class InvalidLambdaResponseException extends __BaseException {
|
|
106
|
-
name = "InvalidLambdaResponseException";
|
|
107
|
-
$fault = "client";
|
|
108
|
-
constructor(opts) {
|
|
109
|
-
super({
|
|
110
|
-
name: "InvalidLambdaResponseException",
|
|
111
|
-
$fault: "client",
|
|
112
|
-
...opts,
|
|
113
|
-
});
|
|
114
|
-
Object.setPrototypeOf(this, InvalidLambdaResponseException.prototype);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
export class LimitExceededException extends __BaseException {
|
|
118
|
-
name = "LimitExceededException";
|
|
119
|
-
$fault = "client";
|
|
120
|
-
constructor(opts) {
|
|
121
|
-
super({
|
|
122
|
-
name: "LimitExceededException",
|
|
123
|
-
$fault: "client",
|
|
124
|
-
...opts,
|
|
125
|
-
});
|
|
126
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
export class TooManyFailedAttemptsException extends __BaseException {
|
|
130
|
-
name = "TooManyFailedAttemptsException";
|
|
131
|
-
$fault = "client";
|
|
132
|
-
constructor(opts) {
|
|
133
|
-
super({
|
|
134
|
-
name: "TooManyFailedAttemptsException",
|
|
135
|
-
$fault: "client",
|
|
136
|
-
...opts,
|
|
137
|
-
});
|
|
138
|
-
Object.setPrototypeOf(this, TooManyFailedAttemptsException.prototype);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
export class UnexpectedLambdaException extends __BaseException {
|
|
142
|
-
name = "UnexpectedLambdaException";
|
|
143
|
-
$fault = "client";
|
|
144
|
-
constructor(opts) {
|
|
145
|
-
super({
|
|
146
|
-
name: "UnexpectedLambdaException",
|
|
147
|
-
$fault: "client",
|
|
148
|
-
...opts,
|
|
149
|
-
});
|
|
150
|
-
Object.setPrototypeOf(this, UnexpectedLambdaException.prototype);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
export class UserLambdaValidationException extends __BaseException {
|
|
154
|
-
name = "UserLambdaValidationException";
|
|
155
|
-
$fault = "client";
|
|
156
|
-
constructor(opts) {
|
|
157
|
-
super({
|
|
158
|
-
name: "UserLambdaValidationException",
|
|
159
|
-
$fault: "client",
|
|
160
|
-
...opts,
|
|
161
|
-
});
|
|
162
|
-
Object.setPrototypeOf(this, UserLambdaValidationException.prototype);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
export const DeliveryMediumType = {
|
|
166
|
-
EMAIL: "EMAIL",
|
|
167
|
-
SMS: "SMS",
|
|
168
|
-
};
|
|
169
|
-
export const MessageActionType = {
|
|
170
|
-
RESEND: "RESEND",
|
|
171
|
-
SUPPRESS: "SUPPRESS",
|
|
172
|
-
};
|
|
173
|
-
export const UserStatusType = {
|
|
174
|
-
ARCHIVED: "ARCHIVED",
|
|
175
|
-
COMPROMISED: "COMPROMISED",
|
|
176
|
-
CONFIRMED: "CONFIRMED",
|
|
177
|
-
EXTERNAL_PROVIDER: "EXTERNAL_PROVIDER",
|
|
178
|
-
FORCE_CHANGE_PASSWORD: "FORCE_CHANGE_PASSWORD",
|
|
179
|
-
RESET_REQUIRED: "RESET_REQUIRED",
|
|
180
|
-
UNCONFIRMED: "UNCONFIRMED",
|
|
181
|
-
UNKNOWN: "UNKNOWN",
|
|
182
|
-
};
|
|
183
|
-
export class CodeDeliveryFailureException extends __BaseException {
|
|
184
|
-
name = "CodeDeliveryFailureException";
|
|
185
|
-
$fault = "client";
|
|
186
|
-
constructor(opts) {
|
|
187
|
-
super({
|
|
188
|
-
name: "CodeDeliveryFailureException",
|
|
189
|
-
$fault: "client",
|
|
190
|
-
...opts,
|
|
191
|
-
});
|
|
192
|
-
Object.setPrototypeOf(this, CodeDeliveryFailureException.prototype);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
export class InvalidPasswordException extends __BaseException {
|
|
196
|
-
name = "InvalidPasswordException";
|
|
197
|
-
$fault = "client";
|
|
198
|
-
constructor(opts) {
|
|
199
|
-
super({
|
|
200
|
-
name: "InvalidPasswordException",
|
|
201
|
-
$fault: "client",
|
|
202
|
-
...opts,
|
|
203
|
-
});
|
|
204
|
-
Object.setPrototypeOf(this, InvalidPasswordException.prototype);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
export class InvalidSmsRoleAccessPolicyException extends __BaseException {
|
|
208
|
-
name = "InvalidSmsRoleAccessPolicyException";
|
|
209
|
-
$fault = "client";
|
|
210
|
-
constructor(opts) {
|
|
211
|
-
super({
|
|
212
|
-
name: "InvalidSmsRoleAccessPolicyException",
|
|
213
|
-
$fault: "client",
|
|
214
|
-
...opts,
|
|
215
|
-
});
|
|
216
|
-
Object.setPrototypeOf(this, InvalidSmsRoleAccessPolicyException.prototype);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
export class InvalidSmsRoleTrustRelationshipException extends __BaseException {
|
|
220
|
-
name = "InvalidSmsRoleTrustRelationshipException";
|
|
221
|
-
$fault = "client";
|
|
222
|
-
constructor(opts) {
|
|
223
|
-
super({
|
|
224
|
-
name: "InvalidSmsRoleTrustRelationshipException",
|
|
225
|
-
$fault: "client",
|
|
226
|
-
...opts,
|
|
227
|
-
});
|
|
228
|
-
Object.setPrototypeOf(this, InvalidSmsRoleTrustRelationshipException.prototype);
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
export class PreconditionNotMetException extends __BaseException {
|
|
232
|
-
name = "PreconditionNotMetException";
|
|
233
|
-
$fault = "client";
|
|
234
|
-
constructor(opts) {
|
|
235
|
-
super({
|
|
236
|
-
name: "PreconditionNotMetException",
|
|
237
|
-
$fault: "client",
|
|
238
|
-
...opts,
|
|
239
|
-
});
|
|
240
|
-
Object.setPrototypeOf(this, PreconditionNotMetException.prototype);
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
export class UnsupportedUserStateException extends __BaseException {
|
|
244
|
-
name = "UnsupportedUserStateException";
|
|
245
|
-
$fault = "client";
|
|
246
|
-
constructor(opts) {
|
|
247
|
-
super({
|
|
248
|
-
name: "UnsupportedUserStateException",
|
|
249
|
-
$fault: "client",
|
|
250
|
-
...opts,
|
|
251
|
-
});
|
|
252
|
-
Object.setPrototypeOf(this, UnsupportedUserStateException.prototype);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
export class UsernameExistsException extends __BaseException {
|
|
256
|
-
name = "UsernameExistsException";
|
|
257
|
-
$fault = "client";
|
|
258
|
-
constructor(opts) {
|
|
259
|
-
super({
|
|
260
|
-
name: "UsernameExistsException",
|
|
261
|
-
$fault: "client",
|
|
262
|
-
...opts,
|
|
263
|
-
});
|
|
264
|
-
Object.setPrototypeOf(this, UsernameExistsException.prototype);
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
export class AliasExistsException extends __BaseException {
|
|
268
|
-
name = "AliasExistsException";
|
|
269
|
-
$fault = "client";
|
|
270
|
-
constructor(opts) {
|
|
271
|
-
super({
|
|
272
|
-
name: "AliasExistsException",
|
|
273
|
-
$fault: "client",
|
|
274
|
-
...opts,
|
|
275
|
-
});
|
|
276
|
-
Object.setPrototypeOf(this, AliasExistsException.prototype);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
export class InvalidUserPoolConfigurationException extends __BaseException {
|
|
280
|
-
name = "InvalidUserPoolConfigurationException";
|
|
281
|
-
$fault = "client";
|
|
282
|
-
constructor(opts) {
|
|
283
|
-
super({
|
|
284
|
-
name: "InvalidUserPoolConfigurationException",
|
|
285
|
-
$fault: "client",
|
|
286
|
-
...opts,
|
|
287
|
-
});
|
|
288
|
-
Object.setPrototypeOf(this, InvalidUserPoolConfigurationException.prototype);
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
export const AuthFlowType = {
|
|
292
|
-
ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH",
|
|
293
|
-
ADMIN_USER_PASSWORD_AUTH: "ADMIN_USER_PASSWORD_AUTH",
|
|
294
|
-
CUSTOM_AUTH: "CUSTOM_AUTH",
|
|
295
|
-
REFRESH_TOKEN: "REFRESH_TOKEN",
|
|
296
|
-
REFRESH_TOKEN_AUTH: "REFRESH_TOKEN_AUTH",
|
|
297
|
-
USER_AUTH: "USER_AUTH",
|
|
298
|
-
USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH",
|
|
299
|
-
USER_SRP_AUTH: "USER_SRP_AUTH",
|
|
300
|
-
};
|
|
301
|
-
export const ChallengeNameType = {
|
|
302
|
-
ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH",
|
|
303
|
-
CUSTOM_CHALLENGE: "CUSTOM_CHALLENGE",
|
|
304
|
-
DEVICE_PASSWORD_VERIFIER: "DEVICE_PASSWORD_VERIFIER",
|
|
305
|
-
DEVICE_SRP_AUTH: "DEVICE_SRP_AUTH",
|
|
306
|
-
EMAIL_OTP: "EMAIL_OTP",
|
|
307
|
-
MFA_SETUP: "MFA_SETUP",
|
|
308
|
-
NEW_PASSWORD_REQUIRED: "NEW_PASSWORD_REQUIRED",
|
|
309
|
-
PASSWORD: "PASSWORD",
|
|
310
|
-
PASSWORD_SRP: "PASSWORD_SRP",
|
|
311
|
-
PASSWORD_VERIFIER: "PASSWORD_VERIFIER",
|
|
312
|
-
SELECT_CHALLENGE: "SELECT_CHALLENGE",
|
|
313
|
-
SELECT_MFA_TYPE: "SELECT_MFA_TYPE",
|
|
314
|
-
SMS_MFA: "SMS_MFA",
|
|
315
|
-
SMS_OTP: "SMS_OTP",
|
|
316
|
-
SOFTWARE_TOKEN_MFA: "SOFTWARE_TOKEN_MFA",
|
|
317
|
-
WEB_AUTHN: "WEB_AUTHN",
|
|
318
|
-
};
|
|
319
|
-
export class InvalidEmailRoleAccessPolicyException extends __BaseException {
|
|
320
|
-
name = "InvalidEmailRoleAccessPolicyException";
|
|
321
|
-
$fault = "client";
|
|
322
|
-
constructor(opts) {
|
|
323
|
-
super({
|
|
324
|
-
name: "InvalidEmailRoleAccessPolicyException",
|
|
325
|
-
$fault: "client",
|
|
326
|
-
...opts,
|
|
327
|
-
});
|
|
328
|
-
Object.setPrototypeOf(this, InvalidEmailRoleAccessPolicyException.prototype);
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
export class MFAMethodNotFoundException extends __BaseException {
|
|
332
|
-
name = "MFAMethodNotFoundException";
|
|
333
|
-
$fault = "client";
|
|
334
|
-
constructor(opts) {
|
|
335
|
-
super({
|
|
336
|
-
name: "MFAMethodNotFoundException",
|
|
337
|
-
$fault: "client",
|
|
338
|
-
...opts,
|
|
339
|
-
});
|
|
340
|
-
Object.setPrototypeOf(this, MFAMethodNotFoundException.prototype);
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
export class PasswordResetRequiredException extends __BaseException {
|
|
344
|
-
name = "PasswordResetRequiredException";
|
|
345
|
-
$fault = "client";
|
|
346
|
-
constructor(opts) {
|
|
347
|
-
super({
|
|
348
|
-
name: "PasswordResetRequiredException",
|
|
349
|
-
$fault: "client",
|
|
350
|
-
...opts,
|
|
351
|
-
});
|
|
352
|
-
Object.setPrototypeOf(this, PasswordResetRequiredException.prototype);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
export class UnsupportedOperationException extends __BaseException {
|
|
356
|
-
name = "UnsupportedOperationException";
|
|
357
|
-
$fault = "client";
|
|
358
|
-
constructor(opts) {
|
|
359
|
-
super({
|
|
360
|
-
name: "UnsupportedOperationException",
|
|
361
|
-
$fault: "client",
|
|
362
|
-
...opts,
|
|
363
|
-
});
|
|
364
|
-
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
export class UserNotConfirmedException extends __BaseException {
|
|
368
|
-
name = "UserNotConfirmedException";
|
|
369
|
-
$fault = "client";
|
|
370
|
-
constructor(opts) {
|
|
371
|
-
super({
|
|
372
|
-
name: "UserNotConfirmedException",
|
|
373
|
-
$fault: "client",
|
|
374
|
-
...opts,
|
|
375
|
-
});
|
|
376
|
-
Object.setPrototypeOf(this, UserNotConfirmedException.prototype);
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
export const ChallengeName = {
|
|
380
|
-
Mfa: "Mfa",
|
|
381
|
-
Password: "Password",
|
|
382
|
-
};
|
|
383
|
-
export const ChallengeResponse = {
|
|
384
|
-
Failure: "Failure",
|
|
385
|
-
Success: "Success",
|
|
386
|
-
};
|
|
387
|
-
export const FeedbackValueType = {
|
|
388
|
-
INVALID: "Invalid",
|
|
389
|
-
VALID: "Valid",
|
|
390
|
-
};
|
|
391
|
-
export const EventResponseType = {
|
|
392
|
-
Fail: "Fail",
|
|
393
|
-
InProgress: "InProgress",
|
|
394
|
-
Pass: "Pass",
|
|
395
|
-
};
|
|
396
|
-
export const RiskDecisionType = {
|
|
397
|
-
AccountTakeover: "AccountTakeover",
|
|
398
|
-
Block: "Block",
|
|
399
|
-
NoRisk: "NoRisk",
|
|
400
|
-
};
|
|
401
|
-
export const RiskLevelType = {
|
|
402
|
-
High: "High",
|
|
403
|
-
Low: "Low",
|
|
404
|
-
Medium: "Medium",
|
|
405
|
-
};
|
|
406
|
-
export const EventType = {
|
|
407
|
-
ForgotPassword: "ForgotPassword",
|
|
408
|
-
PasswordChange: "PasswordChange",
|
|
409
|
-
ResendCode: "ResendCode",
|
|
410
|
-
SignIn: "SignIn",
|
|
411
|
-
SignUp: "SignUp",
|
|
412
|
-
};
|
|
413
|
-
export class UserPoolAddOnNotEnabledException extends __BaseException {
|
|
414
|
-
name = "UserPoolAddOnNotEnabledException";
|
|
415
|
-
$fault = "client";
|
|
416
|
-
constructor(opts) {
|
|
417
|
-
super({
|
|
418
|
-
name: "UserPoolAddOnNotEnabledException",
|
|
419
|
-
$fault: "client",
|
|
420
|
-
...opts,
|
|
421
|
-
});
|
|
422
|
-
Object.setPrototypeOf(this, UserPoolAddOnNotEnabledException.prototype);
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
export class CodeMismatchException extends __BaseException {
|
|
426
|
-
name = "CodeMismatchException";
|
|
427
|
-
$fault = "client";
|
|
428
|
-
constructor(opts) {
|
|
429
|
-
super({
|
|
430
|
-
name: "CodeMismatchException",
|
|
431
|
-
$fault: "client",
|
|
432
|
-
...opts,
|
|
433
|
-
});
|
|
434
|
-
Object.setPrototypeOf(this, CodeMismatchException.prototype);
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
export class ExpiredCodeException extends __BaseException {
|
|
438
|
-
name = "ExpiredCodeException";
|
|
439
|
-
$fault = "client";
|
|
440
|
-
constructor(opts) {
|
|
441
|
-
super({
|
|
442
|
-
name: "ExpiredCodeException",
|
|
443
|
-
$fault: "client",
|
|
444
|
-
...opts,
|
|
445
|
-
});
|
|
446
|
-
Object.setPrototypeOf(this, ExpiredCodeException.prototype);
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
export class PasswordHistoryPolicyViolationException extends __BaseException {
|
|
450
|
-
name = "PasswordHistoryPolicyViolationException";
|
|
451
|
-
$fault = "client";
|
|
452
|
-
constructor(opts) {
|
|
453
|
-
super({
|
|
454
|
-
name: "PasswordHistoryPolicyViolationException",
|
|
455
|
-
$fault: "client",
|
|
456
|
-
...opts,
|
|
457
|
-
});
|
|
458
|
-
Object.setPrototypeOf(this, PasswordHistoryPolicyViolationException.prototype);
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
export class SoftwareTokenMFANotFoundException extends __BaseException {
|
|
462
|
-
name = "SoftwareTokenMFANotFoundException";
|
|
463
|
-
$fault = "client";
|
|
464
|
-
constructor(opts) {
|
|
465
|
-
super({
|
|
466
|
-
name: "SoftwareTokenMFANotFoundException",
|
|
467
|
-
$fault: "client",
|
|
468
|
-
...opts,
|
|
469
|
-
});
|
|
470
|
-
Object.setPrototypeOf(this, SoftwareTokenMFANotFoundException.prototype);
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
export const DeviceRememberedStatusType = {
|
|
474
|
-
NOT_REMEMBERED: "not_remembered",
|
|
475
|
-
REMEMBERED: "remembered",
|
|
476
|
-
};
|
|
477
|
-
export const AdvancedSecurityEnabledModeType = {
|
|
478
|
-
AUDIT: "AUDIT",
|
|
479
|
-
ENFORCED: "ENFORCED",
|
|
480
|
-
};
|
|
481
|
-
export const AdvancedSecurityModeType = {
|
|
482
|
-
AUDIT: "AUDIT",
|
|
483
|
-
ENFORCED: "ENFORCED",
|
|
484
|
-
OFF: "OFF",
|
|
485
|
-
};
|
|
486
|
-
export const AliasAttributeType = {
|
|
487
|
-
EMAIL: "email",
|
|
488
|
-
PHONE_NUMBER: "phone_number",
|
|
489
|
-
PREFERRED_USERNAME: "preferred_username",
|
|
490
|
-
};
|
|
491
|
-
export const AuthFactorType = {
|
|
492
|
-
EMAIL_OTP: "EMAIL_OTP",
|
|
493
|
-
PASSWORD: "PASSWORD",
|
|
494
|
-
SMS_OTP: "SMS_OTP",
|
|
495
|
-
WEB_AUTHN: "WEB_AUTHN",
|
|
496
|
-
};
|
|
497
|
-
export const AssetCategoryType = {
|
|
498
|
-
AUTH_APP_GRAPHIC: "AUTH_APP_GRAPHIC",
|
|
499
|
-
EMAIL_GRAPHIC: "EMAIL_GRAPHIC",
|
|
500
|
-
FAVICON_ICO: "FAVICON_ICO",
|
|
501
|
-
FAVICON_SVG: "FAVICON_SVG",
|
|
502
|
-
FORM_BACKGROUND: "FORM_BACKGROUND",
|
|
503
|
-
FORM_LOGO: "FORM_LOGO",
|
|
504
|
-
IDP_BUTTON_ICON: "IDP_BUTTON_ICON",
|
|
505
|
-
PAGE_BACKGROUND: "PAGE_BACKGROUND",
|
|
506
|
-
PAGE_FOOTER_BACKGROUND: "PAGE_FOOTER_BACKGROUND",
|
|
507
|
-
PAGE_FOOTER_LOGO: "PAGE_FOOTER_LOGO",
|
|
508
|
-
PAGE_HEADER_BACKGROUND: "PAGE_HEADER_BACKGROUND",
|
|
509
|
-
PAGE_HEADER_LOGO: "PAGE_HEADER_LOGO",
|
|
510
|
-
PASSKEY_GRAPHIC: "PASSKEY_GRAPHIC",
|
|
511
|
-
PASSWORD_GRAPHIC: "PASSWORD_GRAPHIC",
|
|
512
|
-
SMS_GRAPHIC: "SMS_GRAPHIC",
|
|
513
|
-
};
|
|
514
|
-
export const AssetExtensionType = {
|
|
515
|
-
ICO: "ICO",
|
|
516
|
-
JPEG: "JPEG",
|
|
517
|
-
PNG: "PNG",
|
|
518
|
-
SVG: "SVG",
|
|
519
|
-
WEBP: "WEBP",
|
|
520
|
-
};
|
|
521
|
-
export const ColorSchemeModeType = {
|
|
522
|
-
DARK: "DARK",
|
|
523
|
-
DYNAMIC: "DYNAMIC",
|
|
524
|
-
LIGHT: "LIGHT",
|
|
525
|
-
};
|
|
526
|
-
export class ConcurrentModificationException extends __BaseException {
|
|
527
|
-
name = "ConcurrentModificationException";
|
|
528
|
-
$fault = "client";
|
|
529
|
-
constructor(opts) {
|
|
530
|
-
super({
|
|
531
|
-
name: "ConcurrentModificationException",
|
|
532
|
-
$fault: "client",
|
|
533
|
-
...opts,
|
|
534
|
-
});
|
|
535
|
-
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
export class ForbiddenException extends __BaseException {
|
|
539
|
-
name = "ForbiddenException";
|
|
540
|
-
$fault = "client";
|
|
541
|
-
constructor(opts) {
|
|
542
|
-
super({
|
|
543
|
-
name: "ForbiddenException",
|
|
544
|
-
$fault: "client",
|
|
545
|
-
...opts,
|
|
546
|
-
});
|
|
547
|
-
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
export const VerifiedAttributeType = {
|
|
551
|
-
EMAIL: "email",
|
|
552
|
-
PHONE_NUMBER: "phone_number",
|
|
553
|
-
};
|
|
554
|
-
export class WebAuthnChallengeNotFoundException extends __BaseException {
|
|
555
|
-
name = "WebAuthnChallengeNotFoundException";
|
|
556
|
-
$fault = "client";
|
|
557
|
-
constructor(opts) {
|
|
558
|
-
super({
|
|
559
|
-
name: "WebAuthnChallengeNotFoundException",
|
|
560
|
-
$fault: "client",
|
|
561
|
-
...opts,
|
|
562
|
-
});
|
|
563
|
-
Object.setPrototypeOf(this, WebAuthnChallengeNotFoundException.prototype);
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
export class WebAuthnClientMismatchException extends __BaseException {
|
|
567
|
-
name = "WebAuthnClientMismatchException";
|
|
568
|
-
$fault = "client";
|
|
569
|
-
constructor(opts) {
|
|
570
|
-
super({
|
|
571
|
-
name: "WebAuthnClientMismatchException",
|
|
572
|
-
$fault: "client",
|
|
573
|
-
...opts,
|
|
574
|
-
});
|
|
575
|
-
Object.setPrototypeOf(this, WebAuthnClientMismatchException.prototype);
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
export class WebAuthnCredentialNotSupportedException extends __BaseException {
|
|
579
|
-
name = "WebAuthnCredentialNotSupportedException";
|
|
580
|
-
$fault = "client";
|
|
581
|
-
constructor(opts) {
|
|
582
|
-
super({
|
|
583
|
-
name: "WebAuthnCredentialNotSupportedException",
|
|
584
|
-
$fault: "client",
|
|
585
|
-
...opts,
|
|
586
|
-
});
|
|
587
|
-
Object.setPrototypeOf(this, WebAuthnCredentialNotSupportedException.prototype);
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
export class WebAuthnNotEnabledException extends __BaseException {
|
|
591
|
-
name = "WebAuthnNotEnabledException";
|
|
592
|
-
$fault = "client";
|
|
593
|
-
constructor(opts) {
|
|
594
|
-
super({
|
|
595
|
-
name: "WebAuthnNotEnabledException",
|
|
596
|
-
$fault: "client",
|
|
597
|
-
...opts,
|
|
598
|
-
});
|
|
599
|
-
Object.setPrototypeOf(this, WebAuthnNotEnabledException.prototype);
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
export class WebAuthnOriginNotAllowedException extends __BaseException {
|
|
603
|
-
name = "WebAuthnOriginNotAllowedException";
|
|
604
|
-
$fault = "client";
|
|
605
|
-
constructor(opts) {
|
|
606
|
-
super({
|
|
607
|
-
name: "WebAuthnOriginNotAllowedException",
|
|
608
|
-
$fault: "client",
|
|
609
|
-
...opts,
|
|
610
|
-
});
|
|
611
|
-
Object.setPrototypeOf(this, WebAuthnOriginNotAllowedException.prototype);
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
export class WebAuthnRelyingPartyMismatchException extends __BaseException {
|
|
615
|
-
name = "WebAuthnRelyingPartyMismatchException";
|
|
616
|
-
$fault = "client";
|
|
617
|
-
constructor(opts) {
|
|
618
|
-
super({
|
|
619
|
-
name: "WebAuthnRelyingPartyMismatchException",
|
|
620
|
-
$fault: "client",
|
|
621
|
-
...opts,
|
|
622
|
-
});
|
|
623
|
-
Object.setPrototypeOf(this, WebAuthnRelyingPartyMismatchException.prototype);
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
export class DeviceKeyExistsException extends __BaseException {
|
|
627
|
-
name = "DeviceKeyExistsException";
|
|
628
|
-
$fault = "client";
|
|
629
|
-
constructor(opts) {
|
|
630
|
-
super({
|
|
631
|
-
name: "DeviceKeyExistsException",
|
|
632
|
-
$fault: "client",
|
|
633
|
-
...opts,
|
|
634
|
-
});
|
|
635
|
-
Object.setPrototypeOf(this, DeviceKeyExistsException.prototype);
|
|
636
|
-
}
|
|
637
|
-
}
|
|
638
|
-
export class GroupExistsException extends __BaseException {
|
|
639
|
-
name = "GroupExistsException";
|
|
640
|
-
$fault = "client";
|
|
641
|
-
constructor(opts) {
|
|
642
|
-
super({
|
|
643
|
-
name: "GroupExistsException",
|
|
644
|
-
$fault: "client",
|
|
645
|
-
...opts,
|
|
646
|
-
});
|
|
647
|
-
Object.setPrototypeOf(this, GroupExistsException.prototype);
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
export const IdentityProviderTypeType = {
|
|
651
|
-
Facebook: "Facebook",
|
|
652
|
-
Google: "Google",
|
|
653
|
-
LoginWithAmazon: "LoginWithAmazon",
|
|
654
|
-
OIDC: "OIDC",
|
|
655
|
-
SAML: "SAML",
|
|
656
|
-
SignInWithApple: "SignInWithApple",
|
|
657
|
-
};
|
|
658
|
-
export class DuplicateProviderException extends __BaseException {
|
|
659
|
-
name = "DuplicateProviderException";
|
|
660
|
-
$fault = "client";
|
|
661
|
-
constructor(opts) {
|
|
662
|
-
super({
|
|
663
|
-
name: "DuplicateProviderException",
|
|
664
|
-
$fault: "client",
|
|
665
|
-
...opts,
|
|
666
|
-
});
|
|
667
|
-
Object.setPrototypeOf(this, DuplicateProviderException.prototype);
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
export class ManagedLoginBrandingExistsException extends __BaseException {
|
|
671
|
-
name = "ManagedLoginBrandingExistsException";
|
|
672
|
-
$fault = "client";
|
|
673
|
-
constructor(opts) {
|
|
674
|
-
super({
|
|
675
|
-
name: "ManagedLoginBrandingExistsException",
|
|
676
|
-
$fault: "client",
|
|
677
|
-
...opts,
|
|
678
|
-
});
|
|
679
|
-
Object.setPrototypeOf(this, ManagedLoginBrandingExistsException.prototype);
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
export const TermsEnforcementType = {
|
|
683
|
-
NONE: "NONE",
|
|
684
|
-
};
|
|
685
|
-
export const TermsSourceType = {
|
|
686
|
-
LINK: "LINK",
|
|
687
|
-
};
|
|
688
|
-
export class TermsExistsException extends __BaseException {
|
|
689
|
-
name = "TermsExistsException";
|
|
690
|
-
$fault = "client";
|
|
691
|
-
constructor(opts) {
|
|
692
|
-
super({
|
|
693
|
-
name: "TermsExistsException",
|
|
694
|
-
$fault: "client",
|
|
695
|
-
...opts,
|
|
696
|
-
});
|
|
697
|
-
Object.setPrototypeOf(this, TermsExistsException.prototype);
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
export const UserImportJobStatusType = {
|
|
701
|
-
Created: "Created",
|
|
702
|
-
Expired: "Expired",
|
|
703
|
-
Failed: "Failed",
|
|
704
|
-
InProgress: "InProgress",
|
|
705
|
-
Pending: "Pending",
|
|
706
|
-
Stopped: "Stopped",
|
|
707
|
-
Stopping: "Stopping",
|
|
708
|
-
Succeeded: "Succeeded",
|
|
709
|
-
};
|
|
710
|
-
export const DeletionProtectionType = {
|
|
711
|
-
ACTIVE: "ACTIVE",
|
|
712
|
-
INACTIVE: "INACTIVE",
|
|
713
|
-
};
|
|
714
|
-
export const EmailSendingAccountType = {
|
|
715
|
-
COGNITO_DEFAULT: "COGNITO_DEFAULT",
|
|
716
|
-
DEVELOPER: "DEVELOPER",
|
|
717
|
-
};
|
|
718
|
-
export const CustomEmailSenderLambdaVersionType = {
|
|
719
|
-
V1_0: "V1_0",
|
|
720
|
-
};
|
|
721
|
-
export const CustomSMSSenderLambdaVersionType = {
|
|
722
|
-
V1_0: "V1_0",
|
|
723
|
-
};
|
|
724
|
-
export const PreTokenGenerationLambdaVersionType = {
|
|
725
|
-
V1_0: "V1_0",
|
|
726
|
-
V2_0: "V2_0",
|
|
727
|
-
V3_0: "V3_0",
|
|
728
|
-
};
|
|
729
|
-
export const UserPoolMfaType = {
|
|
730
|
-
OFF: "OFF",
|
|
731
|
-
ON: "ON",
|
|
732
|
-
OPTIONAL: "OPTIONAL",
|
|
733
|
-
};
|
|
734
|
-
export const UsernameAttributeType = {
|
|
735
|
-
EMAIL: "email",
|
|
736
|
-
PHONE_NUMBER: "phone_number",
|
|
737
|
-
};
|
|
738
|
-
export const UserPoolTierType = {
|
|
739
|
-
ESSENTIALS: "ESSENTIALS",
|
|
740
|
-
LITE: "LITE",
|
|
741
|
-
PLUS: "PLUS",
|
|
742
|
-
};
|
|
743
|
-
export const DefaultEmailOptionType = {
|
|
744
|
-
CONFIRM_WITH_CODE: "CONFIRM_WITH_CODE",
|
|
745
|
-
CONFIRM_WITH_LINK: "CONFIRM_WITH_LINK",
|
|
746
|
-
};
|
|
747
|
-
export const StatusType = {
|
|
748
|
-
Disabled: "Disabled",
|
|
749
|
-
Enabled: "Enabled",
|
|
750
|
-
};
|
|
751
|
-
export class FeatureUnavailableInTierException extends __BaseException {
|
|
752
|
-
name = "FeatureUnavailableInTierException";
|
|
753
|
-
$fault = "client";
|
|
754
|
-
constructor(opts) {
|
|
755
|
-
super({
|
|
756
|
-
name: "FeatureUnavailableInTierException",
|
|
757
|
-
$fault: "client",
|
|
758
|
-
...opts,
|
|
759
|
-
});
|
|
760
|
-
Object.setPrototypeOf(this, FeatureUnavailableInTierException.prototype);
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
export class TierChangeNotAllowedException extends __BaseException {
|
|
764
|
-
name = "TierChangeNotAllowedException";
|
|
765
|
-
$fault = "client";
|
|
766
|
-
constructor(opts) {
|
|
767
|
-
super({
|
|
768
|
-
name: "TierChangeNotAllowedException",
|
|
769
|
-
$fault: "client",
|
|
770
|
-
...opts,
|
|
771
|
-
});
|
|
772
|
-
Object.setPrototypeOf(this, TierChangeNotAllowedException.prototype);
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
export class UserPoolTaggingException extends __BaseException {
|
|
776
|
-
name = "UserPoolTaggingException";
|
|
777
|
-
$fault = "client";
|
|
778
|
-
constructor(opts) {
|
|
779
|
-
super({
|
|
780
|
-
name: "UserPoolTaggingException",
|
|
781
|
-
$fault: "client",
|
|
782
|
-
...opts,
|
|
783
|
-
});
|
|
784
|
-
Object.setPrototypeOf(this, UserPoolTaggingException.prototype);
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
export const OAuthFlowType = {
|
|
788
|
-
client_credentials: "client_credentials",
|
|
789
|
-
code: "code",
|
|
790
|
-
implicit: "implicit",
|
|
791
|
-
};
|
|
792
|
-
export const ExplicitAuthFlowsType = {
|
|
793
|
-
ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH",
|
|
794
|
-
ALLOW_ADMIN_USER_PASSWORD_AUTH: "ALLOW_ADMIN_USER_PASSWORD_AUTH",
|
|
795
|
-
ALLOW_CUSTOM_AUTH: "ALLOW_CUSTOM_AUTH",
|
|
796
|
-
ALLOW_REFRESH_TOKEN_AUTH: "ALLOW_REFRESH_TOKEN_AUTH",
|
|
797
|
-
ALLOW_USER_AUTH: "ALLOW_USER_AUTH",
|
|
798
|
-
ALLOW_USER_PASSWORD_AUTH: "ALLOW_USER_PASSWORD_AUTH",
|
|
799
|
-
ALLOW_USER_SRP_AUTH: "ALLOW_USER_SRP_AUTH",
|
|
800
|
-
CUSTOM_AUTH_FLOW_ONLY: "CUSTOM_AUTH_FLOW_ONLY",
|
|
801
|
-
USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH",
|
|
802
|
-
};
|
|
803
|
-
export const PreventUserExistenceErrorTypes = {
|
|
804
|
-
ENABLED: "ENABLED",
|
|
805
|
-
LEGACY: "LEGACY",
|
|
806
|
-
};
|
|
807
|
-
export const FeatureType = {
|
|
808
|
-
DISABLED: "DISABLED",
|
|
809
|
-
ENABLED: "ENABLED",
|
|
810
|
-
};
|
|
811
|
-
export const TimeUnitsType = {
|
|
812
|
-
DAYS: "days",
|
|
813
|
-
HOURS: "hours",
|
|
814
|
-
MINUTES: "minutes",
|
|
815
|
-
SECONDS: "seconds",
|
|
816
|
-
};
|
|
817
|
-
export class InvalidOAuthFlowException extends __BaseException {
|
|
818
|
-
name = "InvalidOAuthFlowException";
|
|
819
|
-
$fault = "client";
|
|
820
|
-
constructor(opts) {
|
|
821
|
-
super({
|
|
822
|
-
name: "InvalidOAuthFlowException",
|
|
823
|
-
$fault: "client",
|
|
824
|
-
...opts,
|
|
825
|
-
});
|
|
826
|
-
Object.setPrototypeOf(this, InvalidOAuthFlowException.prototype);
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
export class ScopeDoesNotExistException extends __BaseException {
|
|
830
|
-
name = "ScopeDoesNotExistException";
|
|
831
|
-
$fault = "client";
|
|
832
|
-
constructor(opts) {
|
|
833
|
-
super({
|
|
834
|
-
name: "ScopeDoesNotExistException",
|
|
835
|
-
$fault: "client",
|
|
836
|
-
...opts,
|
|
837
|
-
});
|
|
838
|
-
Object.setPrototypeOf(this, ScopeDoesNotExistException.prototype);
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
export class UnsupportedIdentityProviderException extends __BaseException {
|
|
842
|
-
name = "UnsupportedIdentityProviderException";
|
|
843
|
-
$fault = "client";
|
|
844
|
-
constructor(opts) {
|
|
845
|
-
super({
|
|
846
|
-
name: "UnsupportedIdentityProviderException",
|
|
847
|
-
$fault: "client",
|
|
848
|
-
...opts,
|
|
849
|
-
});
|
|
850
|
-
Object.setPrototypeOf(this, UnsupportedIdentityProviderException.prototype);
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
export const CompromisedCredentialsEventActionType = {
|
|
854
|
-
BLOCK: "BLOCK",
|
|
855
|
-
NO_ACTION: "NO_ACTION",
|
|
856
|
-
};
|
|
857
|
-
export const EventFilterType = {
|
|
858
|
-
PASSWORD_CHANGE: "PASSWORD_CHANGE",
|
|
859
|
-
SIGN_IN: "SIGN_IN",
|
|
860
|
-
SIGN_UP: "SIGN_UP",
|
|
861
|
-
};
|
|
862
|
-
export const DomainStatusType = {
|
|
863
|
-
ACTIVE: "ACTIVE",
|
|
864
|
-
CREATING: "CREATING",
|
|
865
|
-
DELETING: "DELETING",
|
|
866
|
-
FAILED: "FAILED",
|
|
867
|
-
UPDATING: "UPDATING",
|
|
868
|
-
};
|
|
869
|
-
export const EventSourceName = {
|
|
870
|
-
USER_AUTH_EVENTS: "userAuthEvents",
|
|
871
|
-
USER_NOTIFICATION: "userNotification",
|
|
872
|
-
};
|
|
873
|
-
export const LogLevel = {
|
|
874
|
-
ERROR: "ERROR",
|
|
875
|
-
INFO: "INFO",
|
|
876
|
-
};
|
|
1
|
+
export {};
|