-
Notifications
You must be signed in to change notification settings - Fork 626
/
enums.go
279 lines (245 loc) · 10.5 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
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type BatchReadExceptionType string
// Enum values for BatchReadExceptionType
const (
BatchReadExceptionTypeValidationexception BatchReadExceptionType = "ValidationException"
BatchReadExceptionTypeInvalidarnexception BatchReadExceptionType = "InvalidArnException"
BatchReadExceptionTypeResourcenotfoundexception BatchReadExceptionType = "ResourceNotFoundException"
BatchReadExceptionTypeInvalidnexttokenexception BatchReadExceptionType = "InvalidNextTokenException"
BatchReadExceptionTypeAccessdeniedexception BatchReadExceptionType = "AccessDeniedException"
BatchReadExceptionTypeNotnodeexception BatchReadExceptionType = "NotNodeException"
BatchReadExceptionTypeFacetvalidationexception BatchReadExceptionType = "FacetValidationException"
BatchReadExceptionTypeCannotlistparentofrootexception BatchReadExceptionType = "CannotListParentOfRootException"
BatchReadExceptionTypeNotindexexception BatchReadExceptionType = "NotIndexException"
BatchReadExceptionTypeNotpolicyexception BatchReadExceptionType = "NotPolicyException"
BatchReadExceptionTypeDirectorynotenabledexception BatchReadExceptionType = "DirectoryNotEnabledException"
BatchReadExceptionTypeLimitexceededexception BatchReadExceptionType = "LimitExceededException"
BatchReadExceptionTypeInternalserviceexception BatchReadExceptionType = "InternalServiceException"
)
// Values returns all known values for BatchReadExceptionType. 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 (BatchReadExceptionType) Values() []BatchReadExceptionType {
return []BatchReadExceptionType{
"ValidationException",
"InvalidArnException",
"ResourceNotFoundException",
"InvalidNextTokenException",
"AccessDeniedException",
"NotNodeException",
"FacetValidationException",
"CannotListParentOfRootException",
"NotIndexException",
"NotPolicyException",
"DirectoryNotEnabledException",
"LimitExceededException",
"InternalServiceException",
}
}
type BatchWriteExceptionType string
// Enum values for BatchWriteExceptionType
const (
BatchWriteExceptionTypeInternalserviceexception BatchWriteExceptionType = "InternalServiceException"
BatchWriteExceptionTypeValidationexception BatchWriteExceptionType = "ValidationException"
BatchWriteExceptionTypeInvalidarnexception BatchWriteExceptionType = "InvalidArnException"
BatchWriteExceptionTypeLinknamealreadyinuseexception BatchWriteExceptionType = "LinkNameAlreadyInUseException"
BatchWriteExceptionTypeStillcontainslinksexception BatchWriteExceptionType = "StillContainsLinksException"
BatchWriteExceptionTypeFacetvalidationexception BatchWriteExceptionType = "FacetValidationException"
BatchWriteExceptionTypeObjectnotdetachedexception BatchWriteExceptionType = "ObjectNotDetachedException"
BatchWriteExceptionTypeResourcenotfoundexception BatchWriteExceptionType = "ResourceNotFoundException"
BatchWriteExceptionTypeAccessdeniedexception BatchWriteExceptionType = "AccessDeniedException"
BatchWriteExceptionTypeInvalidattachmentexception BatchWriteExceptionType = "InvalidAttachmentException"
BatchWriteExceptionTypeNotindexexception BatchWriteExceptionType = "NotIndexException"
BatchWriteExceptionTypeNotnodeexception BatchWriteExceptionType = "NotNodeException"
BatchWriteExceptionTypeIndexedattributemissingexception BatchWriteExceptionType = "IndexedAttributeMissingException"
BatchWriteExceptionTypeObjectalreadydetachedexception BatchWriteExceptionType = "ObjectAlreadyDetachedException"
BatchWriteExceptionTypeNotpolicyexception BatchWriteExceptionType = "NotPolicyException"
BatchWriteExceptionTypeDirectorynotenabledexception BatchWriteExceptionType = "DirectoryNotEnabledException"
BatchWriteExceptionTypeLimitexceededexception BatchWriteExceptionType = "LimitExceededException"
BatchWriteExceptionTypeUnsupportedindextypeexception BatchWriteExceptionType = "UnsupportedIndexTypeException"
)
// Values returns all known values for BatchWriteExceptionType. 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 (BatchWriteExceptionType) Values() []BatchWriteExceptionType {
return []BatchWriteExceptionType{
"InternalServiceException",
"ValidationException",
"InvalidArnException",
"LinkNameAlreadyInUseException",
"StillContainsLinksException",
"FacetValidationException",
"ObjectNotDetachedException",
"ResourceNotFoundException",
"AccessDeniedException",
"InvalidAttachmentException",
"NotIndexException",
"NotNodeException",
"IndexedAttributeMissingException",
"ObjectAlreadyDetachedException",
"NotPolicyException",
"DirectoryNotEnabledException",
"LimitExceededException",
"UnsupportedIndexTypeException",
}
}
type ConsistencyLevel string
// Enum values for ConsistencyLevel
const (
ConsistencyLevelSerializable ConsistencyLevel = "SERIALIZABLE"
ConsistencyLevelEventual ConsistencyLevel = "EVENTUAL"
)
// Values returns all known values for ConsistencyLevel. 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 (ConsistencyLevel) Values() []ConsistencyLevel {
return []ConsistencyLevel{
"SERIALIZABLE",
"EVENTUAL",
}
}
type DirectoryState string
// Enum values for DirectoryState
const (
DirectoryStateEnabled DirectoryState = "ENABLED"
DirectoryStateDisabled DirectoryState = "DISABLED"
DirectoryStateDeleted DirectoryState = "DELETED"
)
// Values returns all known values for DirectoryState. 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 (DirectoryState) Values() []DirectoryState {
return []DirectoryState{
"ENABLED",
"DISABLED",
"DELETED",
}
}
type FacetAttributeType string
// Enum values for FacetAttributeType
const (
FacetAttributeTypeString FacetAttributeType = "STRING"
FacetAttributeTypeBinary FacetAttributeType = "BINARY"
FacetAttributeTypeBoolean FacetAttributeType = "BOOLEAN"
FacetAttributeTypeNumber FacetAttributeType = "NUMBER"
FacetAttributeTypeDatetime FacetAttributeType = "DATETIME"
FacetAttributeTypeVariant FacetAttributeType = "VARIANT"
)
// Values returns all known values for FacetAttributeType. 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 (FacetAttributeType) Values() []FacetAttributeType {
return []FacetAttributeType{
"STRING",
"BINARY",
"BOOLEAN",
"NUMBER",
"DATETIME",
"VARIANT",
}
}
type FacetStyle string
// Enum values for FacetStyle
const (
FacetStyleStatic FacetStyle = "STATIC"
FacetStyleDynamic FacetStyle = "DYNAMIC"
)
// Values returns all known values for FacetStyle. 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 (FacetStyle) Values() []FacetStyle {
return []FacetStyle{
"STATIC",
"DYNAMIC",
}
}
type ObjectType string
// Enum values for ObjectType
const (
ObjectTypeNode ObjectType = "NODE"
ObjectTypeLeafNode ObjectType = "LEAF_NODE"
ObjectTypePolicy ObjectType = "POLICY"
ObjectTypeIndex ObjectType = "INDEX"
)
// Values returns all known values for ObjectType. 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 (ObjectType) Values() []ObjectType {
return []ObjectType{
"NODE",
"LEAF_NODE",
"POLICY",
"INDEX",
}
}
type RangeMode string
// Enum values for RangeMode
const (
RangeModeFirst RangeMode = "FIRST"
RangeModeLast RangeMode = "LAST"
RangeModeLastBeforeMissingValues RangeMode = "LAST_BEFORE_MISSING_VALUES"
RangeModeInclusive RangeMode = "INCLUSIVE"
RangeModeExclusive RangeMode = "EXCLUSIVE"
)
// Values returns all known values for RangeMode. 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 (RangeMode) Values() []RangeMode {
return []RangeMode{
"FIRST",
"LAST",
"LAST_BEFORE_MISSING_VALUES",
"INCLUSIVE",
"EXCLUSIVE",
}
}
type RequiredAttributeBehavior string
// Enum values for RequiredAttributeBehavior
const (
RequiredAttributeBehaviorRequiredAlways RequiredAttributeBehavior = "REQUIRED_ALWAYS"
RequiredAttributeBehaviorNotRequired RequiredAttributeBehavior = "NOT_REQUIRED"
)
// Values returns all known values for RequiredAttributeBehavior. 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 (RequiredAttributeBehavior) Values() []RequiredAttributeBehavior {
return []RequiredAttributeBehavior{
"REQUIRED_ALWAYS",
"NOT_REQUIRED",
}
}
type RuleType string
// Enum values for RuleType
const (
RuleTypeBinaryLength RuleType = "BINARY_LENGTH"
RuleTypeNumberComparison RuleType = "NUMBER_COMPARISON"
RuleTypeStringFromSet RuleType = "STRING_FROM_SET"
RuleTypeStringLength RuleType = "STRING_LENGTH"
)
// Values returns all known values for RuleType. 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 (RuleType) Values() []RuleType {
return []RuleType{
"BINARY_LENGTH",
"NUMBER_COMPARISON",
"STRING_FROM_SET",
"STRING_LENGTH",
}
}
type UpdateActionType string
// Enum values for UpdateActionType
const (
UpdateActionTypeCreateOrUpdate UpdateActionType = "CREATE_OR_UPDATE"
UpdateActionTypeDelete UpdateActionType = "DELETE"
)
// Values returns all known values for UpdateActionType. 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 (UpdateActionType) Values() []UpdateActionType {
return []UpdateActionType{
"CREATE_OR_UPDATE",
"DELETE",
}
}