/
enums.go
298 lines (252 loc) · 8.72 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
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type AccessControlRuleEffect string
// Enum values for AccessControlRuleEffect
const (
AccessControlRuleEffectAllow AccessControlRuleEffect = "ALLOW"
AccessControlRuleEffectDeny AccessControlRuleEffect = "DENY"
)
// Values returns all known values for AccessControlRuleEffect. 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 (AccessControlRuleEffect) Values() []AccessControlRuleEffect {
return []AccessControlRuleEffect{
"ALLOW",
"DENY",
}
}
type AccessEffect string
// Enum values for AccessEffect
const (
AccessEffectAllow AccessEffect = "ALLOW"
AccessEffectDeny AccessEffect = "DENY"
)
// Values returns all known values for AccessEffect. 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 (AccessEffect) Values() []AccessEffect {
return []AccessEffect{
"ALLOW",
"DENY",
}
}
type AvailabilityProviderType string
// Enum values for AvailabilityProviderType
const (
AvailabilityProviderTypeEws AvailabilityProviderType = "EWS"
AvailabilityProviderTypeLambda AvailabilityProviderType = "LAMBDA"
)
// Values returns all known values for AvailabilityProviderType. 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 (AvailabilityProviderType) Values() []AvailabilityProviderType {
return []AvailabilityProviderType{
"EWS",
"LAMBDA",
}
}
type DnsRecordVerificationStatus string
// Enum values for DnsRecordVerificationStatus
const (
DnsRecordVerificationStatusPending DnsRecordVerificationStatus = "PENDING"
DnsRecordVerificationStatusVerified DnsRecordVerificationStatus = "VERIFIED"
DnsRecordVerificationStatusFailed DnsRecordVerificationStatus = "FAILED"
)
// Values returns all known values for DnsRecordVerificationStatus. 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 (DnsRecordVerificationStatus) Values() []DnsRecordVerificationStatus {
return []DnsRecordVerificationStatus{
"PENDING",
"VERIFIED",
"FAILED",
}
}
type EntityState string
// Enum values for EntityState
const (
EntityStateEnabled EntityState = "ENABLED"
EntityStateDisabled EntityState = "DISABLED"
EntityStateDeleted EntityState = "DELETED"
)
// Values returns all known values for EntityState. 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 (EntityState) Values() []EntityState {
return []EntityState{
"ENABLED",
"DISABLED",
"DELETED",
}
}
type EntityType string
// Enum values for EntityType
const (
EntityTypeGroup EntityType = "GROUP"
EntityTypeUser EntityType = "USER"
EntityTypeResource EntityType = "RESOURCE"
)
// Values returns all known values for EntityType. 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 (EntityType) Values() []EntityType {
return []EntityType{
"GROUP",
"USER",
"RESOURCE",
}
}
type FolderName string
// Enum values for FolderName
const (
FolderNameInbox FolderName = "INBOX"
FolderNameDeletedItems FolderName = "DELETED_ITEMS"
FolderNameSentItems FolderName = "SENT_ITEMS"
FolderNameDrafts FolderName = "DRAFTS"
FolderNameJunkEmail FolderName = "JUNK_EMAIL"
)
// Values returns all known values for FolderName. 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 (FolderName) Values() []FolderName {
return []FolderName{
"INBOX",
"DELETED_ITEMS",
"SENT_ITEMS",
"DRAFTS",
"JUNK_EMAIL",
}
}
type ImpersonationRoleType string
// Enum values for ImpersonationRoleType
const (
ImpersonationRoleTypeFullAccess ImpersonationRoleType = "FULL_ACCESS"
ImpersonationRoleTypeReadOnly ImpersonationRoleType = "READ_ONLY"
)
// Values returns all known values for ImpersonationRoleType. 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 (ImpersonationRoleType) Values() []ImpersonationRoleType {
return []ImpersonationRoleType{
"FULL_ACCESS",
"READ_ONLY",
}
}
type MailboxExportJobState string
// Enum values for MailboxExportJobState
const (
MailboxExportJobStateRunning MailboxExportJobState = "RUNNING"
MailboxExportJobStateCompleted MailboxExportJobState = "COMPLETED"
MailboxExportJobStateFailed MailboxExportJobState = "FAILED"
MailboxExportJobStateCancelled MailboxExportJobState = "CANCELLED"
)
// Values returns all known values for MailboxExportJobState. 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 (MailboxExportJobState) Values() []MailboxExportJobState {
return []MailboxExportJobState{
"RUNNING",
"COMPLETED",
"FAILED",
"CANCELLED",
}
}
type MemberType string
// Enum values for MemberType
const (
MemberTypeGroup MemberType = "GROUP"
MemberTypeUser MemberType = "USER"
)
// Values returns all known values for MemberType. 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 (MemberType) Values() []MemberType {
return []MemberType{
"GROUP",
"USER",
}
}
type MobileDeviceAccessRuleEffect string
// Enum values for MobileDeviceAccessRuleEffect
const (
MobileDeviceAccessRuleEffectAllow MobileDeviceAccessRuleEffect = "ALLOW"
MobileDeviceAccessRuleEffectDeny MobileDeviceAccessRuleEffect = "DENY"
)
// Values returns all known values for MobileDeviceAccessRuleEffect. 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 (MobileDeviceAccessRuleEffect) Values() []MobileDeviceAccessRuleEffect {
return []MobileDeviceAccessRuleEffect{
"ALLOW",
"DENY",
}
}
type PermissionType string
// Enum values for PermissionType
const (
PermissionTypeFullAccess PermissionType = "FULL_ACCESS"
PermissionTypeSendAs PermissionType = "SEND_AS"
PermissionTypeSendOnBehalf PermissionType = "SEND_ON_BEHALF"
)
// Values returns all known values for PermissionType. 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 (PermissionType) Values() []PermissionType {
return []PermissionType{
"FULL_ACCESS",
"SEND_AS",
"SEND_ON_BEHALF",
}
}
type ResourceType string
// Enum values for ResourceType
const (
ResourceTypeRoom ResourceType = "ROOM"
ResourceTypeEquipment ResourceType = "EQUIPMENT"
)
// Values returns all known values for ResourceType. 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 (ResourceType) Values() []ResourceType {
return []ResourceType{
"ROOM",
"EQUIPMENT",
}
}
type RetentionAction string
// Enum values for RetentionAction
const (
RetentionActionNone RetentionAction = "NONE"
RetentionActionDelete RetentionAction = "DELETE"
RetentionActionPermanentlyDelete RetentionAction = "PERMANENTLY_DELETE"
)
// Values returns all known values for RetentionAction. 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 (RetentionAction) Values() []RetentionAction {
return []RetentionAction{
"NONE",
"DELETE",
"PERMANENTLY_DELETE",
}
}
type UserRole string
// Enum values for UserRole
const (
UserRoleUser UserRole = "USER"
UserRoleResource UserRole = "RESOURCE"
UserRoleSystemUser UserRole = "SYSTEM_USER"
UserRoleRemoteUser UserRole = "REMOTE_USER"
)
// Values returns all known values for UserRole. 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 (UserRole) Values() []UserRole {
return []UserRole{
"USER",
"RESOURCE",
"SYSTEM_USER",
"REMOTE_USER",
}
}