-
Notifications
You must be signed in to change notification settings - Fork 597
/
enums.go
264 lines (230 loc) · 8.94 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
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type Algorithm string
// Enum values for Algorithm
const (
AlgorithmSgd Algorithm = "sgd"
)
// Values returns all known values for Algorithm. 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 (Algorithm) Values() []Algorithm {
return []Algorithm{
"sgd",
}
}
type BatchPredictionFilterVariable string
// Enum values for BatchPredictionFilterVariable
const (
BatchPredictionFilterVariableCreatedAt BatchPredictionFilterVariable = "CreatedAt"
BatchPredictionFilterVariableLastUpdatedAt BatchPredictionFilterVariable = "LastUpdatedAt"
BatchPredictionFilterVariableStatus BatchPredictionFilterVariable = "Status"
BatchPredictionFilterVariableName BatchPredictionFilterVariable = "Name"
BatchPredictionFilterVariableIamUser BatchPredictionFilterVariable = "IAMUser"
BatchPredictionFilterVariableMlModelId BatchPredictionFilterVariable = "MLModelId"
BatchPredictionFilterVariableDatasourceId BatchPredictionFilterVariable = "DataSourceId"
BatchPredictionFilterVariableDataUri BatchPredictionFilterVariable = "DataURI"
)
// Values returns all known values for BatchPredictionFilterVariable. 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 (BatchPredictionFilterVariable) Values() []BatchPredictionFilterVariable {
return []BatchPredictionFilterVariable{
"CreatedAt",
"LastUpdatedAt",
"Status",
"Name",
"IAMUser",
"MLModelId",
"DataSourceId",
"DataURI",
}
}
type DataSourceFilterVariable string
// Enum values for DataSourceFilterVariable
const (
DataSourceFilterVariableCreatedAt DataSourceFilterVariable = "CreatedAt"
DataSourceFilterVariableLastUpdatedAt DataSourceFilterVariable = "LastUpdatedAt"
DataSourceFilterVariableStatus DataSourceFilterVariable = "Status"
DataSourceFilterVariableName DataSourceFilterVariable = "Name"
DataSourceFilterVariableDataUri DataSourceFilterVariable = "DataLocationS3"
DataSourceFilterVariableIamUser DataSourceFilterVariable = "IAMUser"
)
// Values returns all known values for DataSourceFilterVariable. 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 (DataSourceFilterVariable) Values() []DataSourceFilterVariable {
return []DataSourceFilterVariable{
"CreatedAt",
"LastUpdatedAt",
"Status",
"Name",
"DataLocationS3",
"IAMUser",
}
}
type DetailsAttributes string
// Enum values for DetailsAttributes
const (
DetailsAttributesPredictiveModelType DetailsAttributes = "PredictiveModelType"
DetailsAttributesAlgorithm DetailsAttributes = "Algorithm"
)
// Values returns all known values for DetailsAttributes. 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 (DetailsAttributes) Values() []DetailsAttributes {
return []DetailsAttributes{
"PredictiveModelType",
"Algorithm",
}
}
type EntityStatus string
// Enum values for EntityStatus
const (
EntityStatusPending EntityStatus = "PENDING"
EntityStatusInprogress EntityStatus = "INPROGRESS"
EntityStatusFailed EntityStatus = "FAILED"
EntityStatusCompleted EntityStatus = "COMPLETED"
EntityStatusDeleted EntityStatus = "DELETED"
)
// Values returns all known values for EntityStatus. 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 (EntityStatus) Values() []EntityStatus {
return []EntityStatus{
"PENDING",
"INPROGRESS",
"FAILED",
"COMPLETED",
"DELETED",
}
}
type EvaluationFilterVariable string
// Enum values for EvaluationFilterVariable
const (
EvaluationFilterVariableCreatedAt EvaluationFilterVariable = "CreatedAt"
EvaluationFilterVariableLastUpdatedAt EvaluationFilterVariable = "LastUpdatedAt"
EvaluationFilterVariableStatus EvaluationFilterVariable = "Status"
EvaluationFilterVariableName EvaluationFilterVariable = "Name"
EvaluationFilterVariableIamUser EvaluationFilterVariable = "IAMUser"
EvaluationFilterVariableMlModelId EvaluationFilterVariable = "MLModelId"
EvaluationFilterVariableDatasourceId EvaluationFilterVariable = "DataSourceId"
EvaluationFilterVariableDataUri EvaluationFilterVariable = "DataURI"
)
// Values returns all known values for EvaluationFilterVariable. 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 (EvaluationFilterVariable) Values() []EvaluationFilterVariable {
return []EvaluationFilterVariable{
"CreatedAt",
"LastUpdatedAt",
"Status",
"Name",
"IAMUser",
"MLModelId",
"DataSourceId",
"DataURI",
}
}
type MLModelFilterVariable string
// Enum values for MLModelFilterVariable
const (
MLModelFilterVariableCreatedAt MLModelFilterVariable = "CreatedAt"
MLModelFilterVariableLastUpdatedAt MLModelFilterVariable = "LastUpdatedAt"
MLModelFilterVariableStatus MLModelFilterVariable = "Status"
MLModelFilterVariableName MLModelFilterVariable = "Name"
MLModelFilterVariableIamUser MLModelFilterVariable = "IAMUser"
MLModelFilterVariableTrainingDatasourceId MLModelFilterVariable = "TrainingDataSourceId"
MLModelFilterVariableRealTimeEndpointStatus MLModelFilterVariable = "RealtimeEndpointStatus"
MLModelFilterVariableMlModelType MLModelFilterVariable = "MLModelType"
MLModelFilterVariableAlgorithm MLModelFilterVariable = "Algorithm"
MLModelFilterVariableTrainingDataUri MLModelFilterVariable = "TrainingDataURI"
)
// Values returns all known values for MLModelFilterVariable. 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 (MLModelFilterVariable) Values() []MLModelFilterVariable {
return []MLModelFilterVariable{
"CreatedAt",
"LastUpdatedAt",
"Status",
"Name",
"IAMUser",
"TrainingDataSourceId",
"RealtimeEndpointStatus",
"MLModelType",
"Algorithm",
"TrainingDataURI",
}
}
type MLModelType string
// Enum values for MLModelType
const (
MLModelTypeRegression MLModelType = "REGRESSION"
MLModelTypeBinary MLModelType = "BINARY"
MLModelTypeMulticlass MLModelType = "MULTICLASS"
)
// Values returns all known values for MLModelType. 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 (MLModelType) Values() []MLModelType {
return []MLModelType{
"REGRESSION",
"BINARY",
"MULTICLASS",
}
}
type RealtimeEndpointStatus string
// Enum values for RealtimeEndpointStatus
const (
RealtimeEndpointStatusNone RealtimeEndpointStatus = "NONE"
RealtimeEndpointStatusReady RealtimeEndpointStatus = "READY"
RealtimeEndpointStatusUpdating RealtimeEndpointStatus = "UPDATING"
RealtimeEndpointStatusFailed RealtimeEndpointStatus = "FAILED"
)
// Values returns all known values for RealtimeEndpointStatus. 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 (RealtimeEndpointStatus) Values() []RealtimeEndpointStatus {
return []RealtimeEndpointStatus{
"NONE",
"READY",
"UPDATING",
"FAILED",
}
}
type SortOrder string
// Enum values for SortOrder
const (
SortOrderAsc SortOrder = "asc"
SortOrderDsc SortOrder = "dsc"
)
// Values returns all known values for SortOrder. 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 (SortOrder) Values() []SortOrder {
return []SortOrder{
"asc",
"dsc",
}
}
type TaggableResourceType string
// Enum values for TaggableResourceType
const (
TaggableResourceTypeBatchPrediction TaggableResourceType = "BatchPrediction"
TaggableResourceTypeDatasource TaggableResourceType = "DataSource"
TaggableResourceTypeEvaluation TaggableResourceType = "Evaluation"
TaggableResourceTypeMlModel TaggableResourceType = "MLModel"
)
// Values returns all known values for TaggableResourceType. 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 (TaggableResourceType) Values() []TaggableResourceType {
return []TaggableResourceType{
"BatchPrediction",
"DataSource",
"Evaluation",
"MLModel",
}
}