/
enums.go
757 lines (648 loc) · 25.1 KB
/
enums.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type AccountTakeoverEventActionType string
// Enum values for AccountTakeoverEventActionType
const (
AccountTakeoverEventActionTypeBlock AccountTakeoverEventActionType = "BLOCK"
AccountTakeoverEventActionTypeMfaIfConfigured AccountTakeoverEventActionType = "MFA_IF_CONFIGURED"
AccountTakeoverEventActionTypeMfaRequired AccountTakeoverEventActionType = "MFA_REQUIRED"
AccountTakeoverEventActionTypeNoAction AccountTakeoverEventActionType = "NO_ACTION"
)
// Values returns all known values for AccountTakeoverEventActionType. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (AccountTakeoverEventActionType) Values() []AccountTakeoverEventActionType {
return []AccountTakeoverEventActionType{
"BLOCK",
"MFA_IF_CONFIGURED",
"MFA_REQUIRED",
"NO_ACTION",
}
}
type AdvancedSecurityModeType string
// Enum values for AdvancedSecurityModeType
const (
AdvancedSecurityModeTypeOff AdvancedSecurityModeType = "OFF"
AdvancedSecurityModeTypeAudit AdvancedSecurityModeType = "AUDIT"
AdvancedSecurityModeTypeEnforced AdvancedSecurityModeType = "ENFORCED"
)
// Values returns all known values for AdvancedSecurityModeType. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (AdvancedSecurityModeType) Values() []AdvancedSecurityModeType {
return []AdvancedSecurityModeType{
"OFF",
"AUDIT",
"ENFORCED",
}
}
type AliasAttributeType string
// Enum values for AliasAttributeType
const (
AliasAttributeTypePhoneNumber AliasAttributeType = "phone_number"
AliasAttributeTypeEmail AliasAttributeType = "email"
AliasAttributeTypePreferredUsername AliasAttributeType = "preferred_username"
)
// Values returns all known values for AliasAttributeType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (AliasAttributeType) Values() []AliasAttributeType {
return []AliasAttributeType{
"phone_number",
"email",
"preferred_username",
}
}
type AttributeDataType string
// Enum values for AttributeDataType
const (
AttributeDataTypeString AttributeDataType = "String"
AttributeDataTypeNumber AttributeDataType = "Number"
AttributeDataTypeDatetime AttributeDataType = "DateTime"
AttributeDataTypeBoolean AttributeDataType = "Boolean"
)
// Values returns all known values for AttributeDataType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (AttributeDataType) Values() []AttributeDataType {
return []AttributeDataType{
"String",
"Number",
"DateTime",
"Boolean",
}
}
type AuthFlowType string
// Enum values for AuthFlowType
const (
AuthFlowTypeUserSrpAuth AuthFlowType = "USER_SRP_AUTH"
AuthFlowTypeRefreshTokenAuth AuthFlowType = "REFRESH_TOKEN_AUTH"
AuthFlowTypeRefreshToken AuthFlowType = "REFRESH_TOKEN"
AuthFlowTypeCustomAuth AuthFlowType = "CUSTOM_AUTH"
AuthFlowTypeAdminNoSrpAuth AuthFlowType = "ADMIN_NO_SRP_AUTH"
AuthFlowTypeUserPasswordAuth AuthFlowType = "USER_PASSWORD_AUTH"
AuthFlowTypeAdminUserPasswordAuth AuthFlowType = "ADMIN_USER_PASSWORD_AUTH"
)
// Values returns all known values for AuthFlowType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (AuthFlowType) Values() []AuthFlowType {
return []AuthFlowType{
"USER_SRP_AUTH",
"REFRESH_TOKEN_AUTH",
"REFRESH_TOKEN",
"CUSTOM_AUTH",
"ADMIN_NO_SRP_AUTH",
"USER_PASSWORD_AUTH",
"ADMIN_USER_PASSWORD_AUTH",
}
}
type ChallengeName string
// Enum values for ChallengeName
const (
ChallengeNamePassword ChallengeName = "Password"
ChallengeNameMfa ChallengeName = "Mfa"
)
// Values returns all known values for ChallengeName. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ChallengeName) Values() []ChallengeName {
return []ChallengeName{
"Password",
"Mfa",
}
}
type ChallengeNameType string
// Enum values for ChallengeNameType
const (
ChallengeNameTypeSmsMfa ChallengeNameType = "SMS_MFA"
ChallengeNameTypeSoftwareTokenMfa ChallengeNameType = "SOFTWARE_TOKEN_MFA"
ChallengeNameTypeSelectMfaType ChallengeNameType = "SELECT_MFA_TYPE"
ChallengeNameTypeMfaSetup ChallengeNameType = "MFA_SETUP"
ChallengeNameTypePasswordVerifier ChallengeNameType = "PASSWORD_VERIFIER"
ChallengeNameTypeCustomChallenge ChallengeNameType = "CUSTOM_CHALLENGE"
ChallengeNameTypeDeviceSrpAuth ChallengeNameType = "DEVICE_SRP_AUTH"
ChallengeNameTypeDevicePasswordVerifier ChallengeNameType = "DEVICE_PASSWORD_VERIFIER"
ChallengeNameTypeAdminNoSrpAuth ChallengeNameType = "ADMIN_NO_SRP_AUTH"
ChallengeNameTypeNewPasswordRequired ChallengeNameType = "NEW_PASSWORD_REQUIRED"
)
// Values returns all known values for ChallengeNameType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ChallengeNameType) Values() []ChallengeNameType {
return []ChallengeNameType{
"SMS_MFA",
"SOFTWARE_TOKEN_MFA",
"SELECT_MFA_TYPE",
"MFA_SETUP",
"PASSWORD_VERIFIER",
"CUSTOM_CHALLENGE",
"DEVICE_SRP_AUTH",
"DEVICE_PASSWORD_VERIFIER",
"ADMIN_NO_SRP_AUTH",
"NEW_PASSWORD_REQUIRED",
}
}
type ChallengeResponse string
// Enum values for ChallengeResponse
const (
ChallengeResponseSuccess ChallengeResponse = "Success"
ChallengeResponseFailure ChallengeResponse = "Failure"
)
// Values returns all known values for ChallengeResponse. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ChallengeResponse) Values() []ChallengeResponse {
return []ChallengeResponse{
"Success",
"Failure",
}
}
type CompromisedCredentialsEventActionType string
// Enum values for CompromisedCredentialsEventActionType
const (
CompromisedCredentialsEventActionTypeBlock CompromisedCredentialsEventActionType = "BLOCK"
CompromisedCredentialsEventActionTypeNoAction CompromisedCredentialsEventActionType = "NO_ACTION"
)
// Values returns all known values for CompromisedCredentialsEventActionType. Note
// that this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (CompromisedCredentialsEventActionType) Values() []CompromisedCredentialsEventActionType {
return []CompromisedCredentialsEventActionType{
"BLOCK",
"NO_ACTION",
}
}
type CustomEmailSenderLambdaVersionType string
// Enum values for CustomEmailSenderLambdaVersionType
const (
CustomEmailSenderLambdaVersionTypeV10 CustomEmailSenderLambdaVersionType = "V1_0"
)
// Values returns all known values for CustomEmailSenderLambdaVersionType. Note
// that this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (CustomEmailSenderLambdaVersionType) Values() []CustomEmailSenderLambdaVersionType {
return []CustomEmailSenderLambdaVersionType{
"V1_0",
}
}
type CustomSMSSenderLambdaVersionType string
// Enum values for CustomSMSSenderLambdaVersionType
const (
CustomSMSSenderLambdaVersionTypeV10 CustomSMSSenderLambdaVersionType = "V1_0"
)
// Values returns all known values for CustomSMSSenderLambdaVersionType. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (CustomSMSSenderLambdaVersionType) Values() []CustomSMSSenderLambdaVersionType {
return []CustomSMSSenderLambdaVersionType{
"V1_0",
}
}
type DefaultEmailOptionType string
// Enum values for DefaultEmailOptionType
const (
DefaultEmailOptionTypeConfirmWithLink DefaultEmailOptionType = "CONFIRM_WITH_LINK"
DefaultEmailOptionTypeConfirmWithCode DefaultEmailOptionType = "CONFIRM_WITH_CODE"
)
// Values returns all known values for DefaultEmailOptionType. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DefaultEmailOptionType) Values() []DefaultEmailOptionType {
return []DefaultEmailOptionType{
"CONFIRM_WITH_LINK",
"CONFIRM_WITH_CODE",
}
}
type DeliveryMediumType string
// Enum values for DeliveryMediumType
const (
DeliveryMediumTypeSms DeliveryMediumType = "SMS"
DeliveryMediumTypeEmail DeliveryMediumType = "EMAIL"
)
// Values returns all known values for DeliveryMediumType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DeliveryMediumType) Values() []DeliveryMediumType {
return []DeliveryMediumType{
"SMS",
"EMAIL",
}
}
type DeviceRememberedStatusType string
// Enum values for DeviceRememberedStatusType
const (
DeviceRememberedStatusTypeRemembered DeviceRememberedStatusType = "remembered"
DeviceRememberedStatusTypeNotRemembered DeviceRememberedStatusType = "not_remembered"
)
// Values returns all known values for DeviceRememberedStatusType. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (DeviceRememberedStatusType) Values() []DeviceRememberedStatusType {
return []DeviceRememberedStatusType{
"remembered",
"not_remembered",
}
}
type DomainStatusType string
// Enum values for DomainStatusType
const (
DomainStatusTypeCreating DomainStatusType = "CREATING"
DomainStatusTypeDeleting DomainStatusType = "DELETING"
DomainStatusTypeUpdating DomainStatusType = "UPDATING"
DomainStatusTypeActive DomainStatusType = "ACTIVE"
DomainStatusTypeFailed DomainStatusType = "FAILED"
)
// Values returns all known values for DomainStatusType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DomainStatusType) Values() []DomainStatusType {
return []DomainStatusType{
"CREATING",
"DELETING",
"UPDATING",
"ACTIVE",
"FAILED",
}
}
type EmailSendingAccountType string
// Enum values for EmailSendingAccountType
const (
EmailSendingAccountTypeCognitoDefault EmailSendingAccountType = "COGNITO_DEFAULT"
EmailSendingAccountTypeDeveloper EmailSendingAccountType = "DEVELOPER"
)
// Values returns all known values for EmailSendingAccountType. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (EmailSendingAccountType) Values() []EmailSendingAccountType {
return []EmailSendingAccountType{
"COGNITO_DEFAULT",
"DEVELOPER",
}
}
type EventFilterType string
// Enum values for EventFilterType
const (
EventFilterTypeSignIn EventFilterType = "SIGN_IN"
EventFilterTypePasswordChange EventFilterType = "PASSWORD_CHANGE"
EventFilterTypeSignUp EventFilterType = "SIGN_UP"
)
// Values returns all known values for EventFilterType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (EventFilterType) Values() []EventFilterType {
return []EventFilterType{
"SIGN_IN",
"PASSWORD_CHANGE",
"SIGN_UP",
}
}
type EventResponseType string
// Enum values for EventResponseType
const (
EventResponseTypeSuccess EventResponseType = "Success"
EventResponseTypeFailure EventResponseType = "Failure"
)
// Values returns all known values for EventResponseType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (EventResponseType) Values() []EventResponseType {
return []EventResponseType{
"Success",
"Failure",
}
}
type EventType string
// Enum values for EventType
const (
EventTypeSignIn EventType = "SignIn"
EventTypeSignUp EventType = "SignUp"
EventTypeForgotPassword EventType = "ForgotPassword"
)
// Values returns all known values for EventType. Note that this can be expanded in
// the future, and so it is only as up to date as the client. The ordering of this
// slice is not guaranteed to be stable across updates.
func (EventType) Values() []EventType {
return []EventType{
"SignIn",
"SignUp",
"ForgotPassword",
}
}
type ExplicitAuthFlowsType string
// Enum values for ExplicitAuthFlowsType
const (
ExplicitAuthFlowsTypeAdminNoSrpAuth ExplicitAuthFlowsType = "ADMIN_NO_SRP_AUTH"
ExplicitAuthFlowsTypeCustomAuthFlowOnly ExplicitAuthFlowsType = "CUSTOM_AUTH_FLOW_ONLY"
ExplicitAuthFlowsTypeUserPasswordAuth ExplicitAuthFlowsType = "USER_PASSWORD_AUTH"
ExplicitAuthFlowsTypeAllowAdminUserPasswordAuth ExplicitAuthFlowsType = "ALLOW_ADMIN_USER_PASSWORD_AUTH"
ExplicitAuthFlowsTypeAllowCustomAuth ExplicitAuthFlowsType = "ALLOW_CUSTOM_AUTH"
ExplicitAuthFlowsTypeAllowUserPasswordAuth ExplicitAuthFlowsType = "ALLOW_USER_PASSWORD_AUTH"
ExplicitAuthFlowsTypeAllowUserSrpAuth ExplicitAuthFlowsType = "ALLOW_USER_SRP_AUTH"
ExplicitAuthFlowsTypeAllowRefreshTokenAuth ExplicitAuthFlowsType = "ALLOW_REFRESH_TOKEN_AUTH"
)
// Values returns all known values for ExplicitAuthFlowsType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ExplicitAuthFlowsType) Values() []ExplicitAuthFlowsType {
return []ExplicitAuthFlowsType{
"ADMIN_NO_SRP_AUTH",
"CUSTOM_AUTH_FLOW_ONLY",
"USER_PASSWORD_AUTH",
"ALLOW_ADMIN_USER_PASSWORD_AUTH",
"ALLOW_CUSTOM_AUTH",
"ALLOW_USER_PASSWORD_AUTH",
"ALLOW_USER_SRP_AUTH",
"ALLOW_REFRESH_TOKEN_AUTH",
}
}
type FeedbackValueType string
// Enum values for FeedbackValueType
const (
FeedbackValueTypeValid FeedbackValueType = "Valid"
FeedbackValueTypeInvalid FeedbackValueType = "Invalid"
)
// Values returns all known values for FeedbackValueType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (FeedbackValueType) Values() []FeedbackValueType {
return []FeedbackValueType{
"Valid",
"Invalid",
}
}
type IdentityProviderTypeType string
// Enum values for IdentityProviderTypeType
const (
IdentityProviderTypeTypeSaml IdentityProviderTypeType = "SAML"
IdentityProviderTypeTypeFacebook IdentityProviderTypeType = "Facebook"
IdentityProviderTypeTypeGoogle IdentityProviderTypeType = "Google"
IdentityProviderTypeTypeLoginWithAmazon IdentityProviderTypeType = "LoginWithAmazon"
IdentityProviderTypeTypeSignInWithApple IdentityProviderTypeType = "SignInWithApple"
IdentityProviderTypeTypeOidc IdentityProviderTypeType = "OIDC"
)
// Values returns all known values for IdentityProviderTypeType. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (IdentityProviderTypeType) Values() []IdentityProviderTypeType {
return []IdentityProviderTypeType{
"SAML",
"Facebook",
"Google",
"LoginWithAmazon",
"SignInWithApple",
"OIDC",
}
}
type MessageActionType string
// Enum values for MessageActionType
const (
MessageActionTypeResend MessageActionType = "RESEND"
MessageActionTypeSuppress MessageActionType = "SUPPRESS"
)
// Values returns all known values for MessageActionType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (MessageActionType) Values() []MessageActionType {
return []MessageActionType{
"RESEND",
"SUPPRESS",
}
}
type OAuthFlowType string
// Enum values for OAuthFlowType
const (
OAuthFlowTypeCode OAuthFlowType = "code"
OAuthFlowTypeImplicit OAuthFlowType = "implicit"
OAuthFlowTypeClientCredentials OAuthFlowType = "client_credentials"
)
// Values returns all known values for OAuthFlowType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (OAuthFlowType) Values() []OAuthFlowType {
return []OAuthFlowType{
"code",
"implicit",
"client_credentials",
}
}
type PreventUserExistenceErrorTypes string
// Enum values for PreventUserExistenceErrorTypes
const (
PreventUserExistenceErrorTypesLegacy PreventUserExistenceErrorTypes = "LEGACY"
PreventUserExistenceErrorTypesEnabled PreventUserExistenceErrorTypes = "ENABLED"
)
// Values returns all known values for PreventUserExistenceErrorTypes. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (PreventUserExistenceErrorTypes) Values() []PreventUserExistenceErrorTypes {
return []PreventUserExistenceErrorTypes{
"LEGACY",
"ENABLED",
}
}
type RecoveryOptionNameType string
// Enum values for RecoveryOptionNameType
const (
RecoveryOptionNameTypeVerifiedEmail RecoveryOptionNameType = "verified_email"
RecoveryOptionNameTypeVerifiedPhoneNumber RecoveryOptionNameType = "verified_phone_number"
RecoveryOptionNameTypeAdminOnly RecoveryOptionNameType = "admin_only"
)
// Values returns all known values for RecoveryOptionNameType. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (RecoveryOptionNameType) Values() []RecoveryOptionNameType {
return []RecoveryOptionNameType{
"verified_email",
"verified_phone_number",
"admin_only",
}
}
type RiskDecisionType string
// Enum values for RiskDecisionType
const (
RiskDecisionTypeNoRisk RiskDecisionType = "NoRisk"
RiskDecisionTypeAccountTakeover RiskDecisionType = "AccountTakeover"
RiskDecisionTypeBlock RiskDecisionType = "Block"
)
// Values returns all known values for RiskDecisionType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (RiskDecisionType) Values() []RiskDecisionType {
return []RiskDecisionType{
"NoRisk",
"AccountTakeover",
"Block",
}
}
type RiskLevelType string
// Enum values for RiskLevelType
const (
RiskLevelTypeLow RiskLevelType = "Low"
RiskLevelTypeMedium RiskLevelType = "Medium"
RiskLevelTypeHigh RiskLevelType = "High"
)
// Values returns all known values for RiskLevelType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (RiskLevelType) Values() []RiskLevelType {
return []RiskLevelType{
"Low",
"Medium",
"High",
}
}
type StatusType string
// Enum values for StatusType
const (
StatusTypeEnabled StatusType = "Enabled"
StatusTypeDisabled StatusType = "Disabled"
)
// Values returns all known values for StatusType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (StatusType) Values() []StatusType {
return []StatusType{
"Enabled",
"Disabled",
}
}
type TimeUnitsType string
// Enum values for TimeUnitsType
const (
TimeUnitsTypeSeconds TimeUnitsType = "seconds"
TimeUnitsTypeMinutes TimeUnitsType = "minutes"
TimeUnitsTypeHours TimeUnitsType = "hours"
TimeUnitsTypeDays TimeUnitsType = "days"
)
// Values returns all known values for TimeUnitsType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (TimeUnitsType) Values() []TimeUnitsType {
return []TimeUnitsType{
"seconds",
"minutes",
"hours",
"days",
}
}
type UserImportJobStatusType string
// Enum values for UserImportJobStatusType
const (
UserImportJobStatusTypeCreated UserImportJobStatusType = "Created"
UserImportJobStatusTypePending UserImportJobStatusType = "Pending"
UserImportJobStatusTypeInProgress UserImportJobStatusType = "InProgress"
UserImportJobStatusTypeStopping UserImportJobStatusType = "Stopping"
UserImportJobStatusTypeExpired UserImportJobStatusType = "Expired"
UserImportJobStatusTypeStopped UserImportJobStatusType = "Stopped"
UserImportJobStatusTypeFailed UserImportJobStatusType = "Failed"
UserImportJobStatusTypeSucceeded UserImportJobStatusType = "Succeeded"
)
// Values returns all known values for UserImportJobStatusType. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (UserImportJobStatusType) Values() []UserImportJobStatusType {
return []UserImportJobStatusType{
"Created",
"Pending",
"InProgress",
"Stopping",
"Expired",
"Stopped",
"Failed",
"Succeeded",
}
}
type UsernameAttributeType string
// Enum values for UsernameAttributeType
const (
UsernameAttributeTypePhoneNumber UsernameAttributeType = "phone_number"
UsernameAttributeTypeEmail UsernameAttributeType = "email"
)
// Values returns all known values for UsernameAttributeType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (UsernameAttributeType) Values() []UsernameAttributeType {
return []UsernameAttributeType{
"phone_number",
"email",
}
}
type UserPoolMfaType string
// Enum values for UserPoolMfaType
const (
UserPoolMfaTypeOff UserPoolMfaType = "OFF"
UserPoolMfaTypeOn UserPoolMfaType = "ON"
UserPoolMfaTypeOptional UserPoolMfaType = "OPTIONAL"
)
// Values returns all known values for UserPoolMfaType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (UserPoolMfaType) Values() []UserPoolMfaType {
return []UserPoolMfaType{
"OFF",
"ON",
"OPTIONAL",
}
}
type UserStatusType string
// Enum values for UserStatusType
const (
UserStatusTypeUnconfirmed UserStatusType = "UNCONFIRMED"
UserStatusTypeConfirmed UserStatusType = "CONFIRMED"
UserStatusTypeArchived UserStatusType = "ARCHIVED"
UserStatusTypeCompromised UserStatusType = "COMPROMISED"
UserStatusTypeUnknown UserStatusType = "UNKNOWN"
UserStatusTypeResetRequired UserStatusType = "RESET_REQUIRED"
UserStatusTypeForceChangePassword UserStatusType = "FORCE_CHANGE_PASSWORD"
)
// Values returns all known values for UserStatusType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (UserStatusType) Values() []UserStatusType {
return []UserStatusType{
"UNCONFIRMED",
"CONFIRMED",
"ARCHIVED",
"COMPROMISED",
"UNKNOWN",
"RESET_REQUIRED",
"FORCE_CHANGE_PASSWORD",
}
}
type VerifiedAttributeType string
// Enum values for VerifiedAttributeType
const (
VerifiedAttributeTypePhoneNumber VerifiedAttributeType = "phone_number"
VerifiedAttributeTypeEmail VerifiedAttributeType = "email"
)
// Values returns all known values for VerifiedAttributeType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (VerifiedAttributeType) Values() []VerifiedAttributeType {
return []VerifiedAttributeType{
"phone_number",
"email",
}
}
type VerifySoftwareTokenResponseType string
// Enum values for VerifySoftwareTokenResponseType
const (
VerifySoftwareTokenResponseTypeSuccess VerifySoftwareTokenResponseType = "SUCCESS"
VerifySoftwareTokenResponseTypeError VerifySoftwareTokenResponseType = "ERROR"
)
// Values returns all known values for VerifySoftwareTokenResponseType. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (VerifySoftwareTokenResponseType) Values() []VerifySoftwareTokenResponseType {
return []VerifySoftwareTokenResponseType{
"SUCCESS",
"ERROR",
}
}