File: enums.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.24.1-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 554,032 kB
  • sloc: java: 15,941; makefile: 419; sh: 175
file content (315 lines) | stat: -rw-r--r-- 9,866 bytes parent folder | download
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
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type AsyncJobStatus string

// Enum values for AsyncJobStatus
const (
	AsyncJobStatusInProgressInitializing AsyncJobStatus = "IN_PROGRESS_INITIALIZING"
	AsyncJobStatusInProgress             AsyncJobStatus = "IN_PROGRESS"
	AsyncJobStatusCancelInProgress       AsyncJobStatus = "CANCEL_IN_PROGRESS"
	AsyncJobStatusCanceled               AsyncJobStatus = "CANCELED"
	AsyncJobStatusComplete               AsyncJobStatus = "COMPLETE"
	AsyncJobStatusFailed                 AsyncJobStatus = "FAILED"
)

// Values returns all known values for AsyncJobStatus. 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 (AsyncJobStatus) Values() []AsyncJobStatus {
	return []AsyncJobStatus{
		"IN_PROGRESS_INITIALIZING",
		"IN_PROGRESS",
		"CANCEL_IN_PROGRESS",
		"CANCELED",
		"COMPLETE",
		"FAILED",
	}
}

type DataSource string

// Enum values for DataSource
const (
	DataSourceEvent              DataSource = "EVENT"
	DataSourceModelScore         DataSource = "MODEL_SCORE"
	DataSourceExternalModelScore DataSource = "EXTERNAL_MODEL_SCORE"
)

// Values returns all known values for DataSource. 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 (DataSource) Values() []DataSource {
	return []DataSource{
		"EVENT",
		"MODEL_SCORE",
		"EXTERNAL_MODEL_SCORE",
	}
}

type DataType string

// Enum values for DataType
const (
	DataTypeString   DataType = "STRING"
	DataTypeInteger  DataType = "INTEGER"
	DataTypeFloat    DataType = "FLOAT"
	DataTypeBoolean  DataType = "BOOLEAN"
	DataTypeDatetime DataType = "DATETIME"
)

// Values returns all known values for DataType. 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 (DataType) Values() []DataType {
	return []DataType{
		"STRING",
		"INTEGER",
		"FLOAT",
		"BOOLEAN",
		"DATETIME",
	}
}

type DetectorVersionStatus string

// Enum values for DetectorVersionStatus
const (
	DetectorVersionStatusDraft    DetectorVersionStatus = "DRAFT"
	DetectorVersionStatusActive   DetectorVersionStatus = "ACTIVE"
	DetectorVersionStatusInactive DetectorVersionStatus = "INACTIVE"
)

// Values returns all known values for DetectorVersionStatus. 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 (DetectorVersionStatus) Values() []DetectorVersionStatus {
	return []DetectorVersionStatus{
		"DRAFT",
		"ACTIVE",
		"INACTIVE",
	}
}

type EventIngestion string

// Enum values for EventIngestion
const (
	EventIngestionEnabled  EventIngestion = "ENABLED"
	EventIngestionDisabled EventIngestion = "DISABLED"
)

// Values returns all known values for EventIngestion. 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 (EventIngestion) Values() []EventIngestion {
	return []EventIngestion{
		"ENABLED",
		"DISABLED",
	}
}

type Language string

// Enum values for Language
const (
	LanguageDetectorpl Language = "DETECTORPL"
)

// Values returns all known values for Language. 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 (Language) Values() []Language {
	return []Language{
		"DETECTORPL",
	}
}

type ListUpdateMode string

// Enum values for ListUpdateMode
const (
	ListUpdateModeReplace ListUpdateMode = "REPLACE"
	ListUpdateModeAppend  ListUpdateMode = "APPEND"
	ListUpdateModeRemove  ListUpdateMode = "REMOVE"
)

// Values returns all known values for ListUpdateMode. 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 (ListUpdateMode) Values() []ListUpdateMode {
	return []ListUpdateMode{
		"REPLACE",
		"APPEND",
		"REMOVE",
	}
}

type ModelEndpointStatus string

// Enum values for ModelEndpointStatus
const (
	ModelEndpointStatusAssociated  ModelEndpointStatus = "ASSOCIATED"
	ModelEndpointStatusDissociated ModelEndpointStatus = "DISSOCIATED"
)

// Values returns all known values for ModelEndpointStatus. 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 (ModelEndpointStatus) Values() []ModelEndpointStatus {
	return []ModelEndpointStatus{
		"ASSOCIATED",
		"DISSOCIATED",
	}
}

type ModelInputDataFormat string

// Enum values for ModelInputDataFormat
const (
	ModelInputDataFormatCsv  ModelInputDataFormat = "TEXT_CSV"
	ModelInputDataFormatJson ModelInputDataFormat = "APPLICATION_JSON"
)

// Values returns all known values for ModelInputDataFormat. 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 (ModelInputDataFormat) Values() []ModelInputDataFormat {
	return []ModelInputDataFormat{
		"TEXT_CSV",
		"APPLICATION_JSON",
	}
}

type ModelOutputDataFormat string

// Enum values for ModelOutputDataFormat
const (
	ModelOutputDataFormatCsv       ModelOutputDataFormat = "TEXT_CSV"
	ModelOutputDataFormatJsonlines ModelOutputDataFormat = "APPLICATION_JSONLINES"
)

// Values returns all known values for ModelOutputDataFormat. 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 (ModelOutputDataFormat) Values() []ModelOutputDataFormat {
	return []ModelOutputDataFormat{
		"TEXT_CSV",
		"APPLICATION_JSONLINES",
	}
}

type ModelSource string

// Enum values for ModelSource
const (
	ModelSourceSagemaker ModelSource = "SAGEMAKER"
)

// Values returns all known values for ModelSource. 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 (ModelSource) Values() []ModelSource {
	return []ModelSource{
		"SAGEMAKER",
	}
}

type ModelTypeEnum string

// Enum values for ModelTypeEnum
const (
	ModelTypeEnumOnlineFraudInsights      ModelTypeEnum = "ONLINE_FRAUD_INSIGHTS"
	ModelTypeEnumTransactionFraudInsights ModelTypeEnum = "TRANSACTION_FRAUD_INSIGHTS"
	ModelTypeEnumAccountTakeoverInsights  ModelTypeEnum = "ACCOUNT_TAKEOVER_INSIGHTS"
)

// Values returns all known values for ModelTypeEnum. 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 (ModelTypeEnum) Values() []ModelTypeEnum {
	return []ModelTypeEnum{
		"ONLINE_FRAUD_INSIGHTS",
		"TRANSACTION_FRAUD_INSIGHTS",
		"ACCOUNT_TAKEOVER_INSIGHTS",
	}
}

type ModelVersionStatus string

// Enum values for ModelVersionStatus
const (
	ModelVersionStatusActive            ModelVersionStatus = "ACTIVE"
	ModelVersionStatusInactive          ModelVersionStatus = "INACTIVE"
	ModelVersionStatusTrainingCancelled ModelVersionStatus = "TRAINING_CANCELLED"
)

// Values returns all known values for ModelVersionStatus. 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 (ModelVersionStatus) Values() []ModelVersionStatus {
	return []ModelVersionStatus{
		"ACTIVE",
		"INACTIVE",
		"TRAINING_CANCELLED",
	}
}

type RuleExecutionMode string

// Enum values for RuleExecutionMode
const (
	RuleExecutionModeAllMatched   RuleExecutionMode = "ALL_MATCHED"
	RuleExecutionModeFirstMatched RuleExecutionMode = "FIRST_MATCHED"
)

// Values returns all known values for RuleExecutionMode. 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 (RuleExecutionMode) Values() []RuleExecutionMode {
	return []RuleExecutionMode{
		"ALL_MATCHED",
		"FIRST_MATCHED",
	}
}

type TrainingDataSourceEnum string

// Enum values for TrainingDataSourceEnum
const (
	TrainingDataSourceEnumExternalEvents TrainingDataSourceEnum = "EXTERNAL_EVENTS"
	TrainingDataSourceEnumIngestedEvents TrainingDataSourceEnum = "INGESTED_EVENTS"
)

// Values returns all known values for TrainingDataSourceEnum. 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 (TrainingDataSourceEnum) Values() []TrainingDataSourceEnum {
	return []TrainingDataSourceEnum{
		"EXTERNAL_EVENTS",
		"INGESTED_EVENTS",
	}
}

type UnlabeledEventsTreatment string

// Enum values for UnlabeledEventsTreatment
const (
	UnlabeledEventsTreatmentIgnore UnlabeledEventsTreatment = "IGNORE"
	UnlabeledEventsTreatmentFraud  UnlabeledEventsTreatment = "FRAUD"
	UnlabeledEventsTreatmentLegit  UnlabeledEventsTreatment = "LEGIT"
	UnlabeledEventsTreatmentAuto   UnlabeledEventsTreatment = "AUTO"
)

// Values returns all known values for UnlabeledEventsTreatment. 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 (UnlabeledEventsTreatment) Values() []UnlabeledEventsTreatment {
	return []UnlabeledEventsTreatment{
		"IGNORE",
		"FRAUD",
		"LEGIT",
		"AUTO",
	}
}