File: enums.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.30.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 662,428 kB
  • sloc: java: 16,875; makefile: 432; sh: 175
file content (415 lines) | stat: -rw-r--r-- 13,609 bytes parent folder | download | duplicates (3)
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
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type AssociationType string

// Enum values for AssociationType
const (
	AssociationTypeReservationTimeWindowArn AssociationType = "RESERVATION_TIME_WINDOW_ARN"
)

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

type CancellationStatus string

// Enum values for CancellationStatus
const (
	CancellationStatusCancelling CancellationStatus = "CANCELLING"
	CancellationStatusCancelled  CancellationStatus = "CANCELLED"
)

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

type CompressionType string

// Enum values for CompressionType
const (
	CompressionTypeNone CompressionType = "NONE"
	CompressionTypeGzip CompressionType = "GZIP"
)

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

type DeviceStatus string

// Enum values for DeviceStatus
const (
	DeviceStatusOnline  DeviceStatus = "ONLINE"
	DeviceStatusOffline DeviceStatus = "OFFLINE"
	DeviceStatusRetired DeviceStatus = "RETIRED"
)

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

type DeviceType string

// Enum values for DeviceType
const (
	DeviceTypeQpu       DeviceType = "QPU"
	DeviceTypeSimulator DeviceType = "SIMULATOR"
)

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

type HybridJobAdditionalAttributeName string

// Enum values for HybridJobAdditionalAttributeName
const (
	HybridJobAdditionalAttributeNameQueueInfo HybridJobAdditionalAttributeName = "QueueInfo"
)

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

type InstanceType string

// Enum values for InstanceType
const (
	InstanceTypeMlM4Xlarge     InstanceType = "ml.m4.xlarge"
	InstanceTypeMlM42xlarge    InstanceType = "ml.m4.2xlarge"
	InstanceTypeMlM44xlarge    InstanceType = "ml.m4.4xlarge"
	InstanceTypeMlM410xlarge   InstanceType = "ml.m4.10xlarge"
	InstanceTypeMlM416xlarge   InstanceType = "ml.m4.16xlarge"
	InstanceTypeMlG4dnXlarge   InstanceType = "ml.g4dn.xlarge"
	InstanceTypeMlG4dn2xlarge  InstanceType = "ml.g4dn.2xlarge"
	InstanceTypeMlG4dn4xlarge  InstanceType = "ml.g4dn.4xlarge"
	InstanceTypeMlG4dn8xlarge  InstanceType = "ml.g4dn.8xlarge"
	InstanceTypeMlG4dn12xlarge InstanceType = "ml.g4dn.12xlarge"
	InstanceTypeMlG4dn16xlarge InstanceType = "ml.g4dn.16xlarge"
	InstanceTypeMlM5Large      InstanceType = "ml.m5.large"
	InstanceTypeMlM5Xlarge     InstanceType = "ml.m5.xlarge"
	InstanceTypeMlM52xlarge    InstanceType = "ml.m5.2xlarge"
	InstanceTypeMlM54xlarge    InstanceType = "ml.m5.4xlarge"
	InstanceTypeMlM512xlarge   InstanceType = "ml.m5.12xlarge"
	InstanceTypeMlM524xlarge   InstanceType = "ml.m5.24xlarge"
	InstanceTypeMlC4Xlarge     InstanceType = "ml.c4.xlarge"
	InstanceTypeMlC42xlarge    InstanceType = "ml.c4.2xlarge"
	InstanceTypeMlC44xlarge    InstanceType = "ml.c4.4xlarge"
	InstanceTypeMlC48xlarge    InstanceType = "ml.c4.8xlarge"
	InstanceTypeMlP2Xlarge     InstanceType = "ml.p2.xlarge"
	InstanceTypeMlP28xlarge    InstanceType = "ml.p2.8xlarge"
	InstanceTypeMlP216xlarge   InstanceType = "ml.p2.16xlarge"
	InstanceTypeMlP32xlarge    InstanceType = "ml.p3.2xlarge"
	InstanceTypeMlP38xlarge    InstanceType = "ml.p3.8xlarge"
	InstanceTypeMlP316xlarge   InstanceType = "ml.p3.16xlarge"
	InstanceTypeMlP3dn24xlarge InstanceType = "ml.p3dn.24xlarge"
	InstanceTypeMlP4d24xlarge  InstanceType = "ml.p4d.24xlarge"
	InstanceTypeMlC5Xlarge     InstanceType = "ml.c5.xlarge"
	InstanceTypeMlC52xlarge    InstanceType = "ml.c5.2xlarge"
	InstanceTypeMlC54xlarge    InstanceType = "ml.c5.4xlarge"
	InstanceTypeMlC59xlarge    InstanceType = "ml.c5.9xlarge"
	InstanceTypeMlC518xlarge   InstanceType = "ml.c5.18xlarge"
	InstanceTypeMlC5nXlarge    InstanceType = "ml.c5n.xlarge"
	InstanceTypeMlC5n2xlarge   InstanceType = "ml.c5n.2xlarge"
	InstanceTypeMlC5n4xlarge   InstanceType = "ml.c5n.4xlarge"
	InstanceTypeMlC5n9xlarge   InstanceType = "ml.c5n.9xlarge"
	InstanceTypeMlC5n18xlarge  InstanceType = "ml.c5n.18xlarge"
)

// Values returns all known values for InstanceType. 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 (InstanceType) Values() []InstanceType {
	return []InstanceType{
		"ml.m4.xlarge",
		"ml.m4.2xlarge",
		"ml.m4.4xlarge",
		"ml.m4.10xlarge",
		"ml.m4.16xlarge",
		"ml.g4dn.xlarge",
		"ml.g4dn.2xlarge",
		"ml.g4dn.4xlarge",
		"ml.g4dn.8xlarge",
		"ml.g4dn.12xlarge",
		"ml.g4dn.16xlarge",
		"ml.m5.large",
		"ml.m5.xlarge",
		"ml.m5.2xlarge",
		"ml.m5.4xlarge",
		"ml.m5.12xlarge",
		"ml.m5.24xlarge",
		"ml.c4.xlarge",
		"ml.c4.2xlarge",
		"ml.c4.4xlarge",
		"ml.c4.8xlarge",
		"ml.p2.xlarge",
		"ml.p2.8xlarge",
		"ml.p2.16xlarge",
		"ml.p3.2xlarge",
		"ml.p3.8xlarge",
		"ml.p3.16xlarge",
		"ml.p3dn.24xlarge",
		"ml.p4d.24xlarge",
		"ml.c5.xlarge",
		"ml.c5.2xlarge",
		"ml.c5.4xlarge",
		"ml.c5.9xlarge",
		"ml.c5.18xlarge",
		"ml.c5n.xlarge",
		"ml.c5n.2xlarge",
		"ml.c5n.4xlarge",
		"ml.c5n.9xlarge",
		"ml.c5n.18xlarge",
	}
}

type JobEventType string

// Enum values for JobEventType
const (
	JobEventTypeWaitingForPriority           JobEventType = "WAITING_FOR_PRIORITY"
	JobEventTypeQueuedForExecution           JobEventType = "QUEUED_FOR_EXECUTION"
	JobEventTypeStartingInstance             JobEventType = "STARTING_INSTANCE"
	JobEventTypeDownloadingData              JobEventType = "DOWNLOADING_DATA"
	JobEventTypeRunning                      JobEventType = "RUNNING"
	JobEventTypeDeprioritizedDueToInactivity JobEventType = "DEPRIORITIZED_DUE_TO_INACTIVITY"
	JobEventTypeUploadingResults             JobEventType = "UPLOADING_RESULTS"
	JobEventTypeCompleted                    JobEventType = "COMPLETED"
	JobEventTypeFailed                       JobEventType = "FAILED"
	JobEventTypeMaxRuntimeExceeded           JobEventType = "MAX_RUNTIME_EXCEEDED"
	JobEventTypeCancelled                    JobEventType = "CANCELLED"
)

// Values returns all known values for JobEventType. 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 (JobEventType) Values() []JobEventType {
	return []JobEventType{
		"WAITING_FOR_PRIORITY",
		"QUEUED_FOR_EXECUTION",
		"STARTING_INSTANCE",
		"DOWNLOADING_DATA",
		"RUNNING",
		"DEPRIORITIZED_DUE_TO_INACTIVITY",
		"UPLOADING_RESULTS",
		"COMPLETED",
		"FAILED",
		"MAX_RUNTIME_EXCEEDED",
		"CANCELLED",
	}
}

type JobPrimaryStatus string

// Enum values for JobPrimaryStatus
const (
	JobPrimaryStatusQueued     JobPrimaryStatus = "QUEUED"
	JobPrimaryStatusRunning    JobPrimaryStatus = "RUNNING"
	JobPrimaryStatusCompleted  JobPrimaryStatus = "COMPLETED"
	JobPrimaryStatusFailed     JobPrimaryStatus = "FAILED"
	JobPrimaryStatusCancelling JobPrimaryStatus = "CANCELLING"
	JobPrimaryStatusCancelled  JobPrimaryStatus = "CANCELLED"
)

// Values returns all known values for JobPrimaryStatus. 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 (JobPrimaryStatus) Values() []JobPrimaryStatus {
	return []JobPrimaryStatus{
		"QUEUED",
		"RUNNING",
		"COMPLETED",
		"FAILED",
		"CANCELLING",
		"CANCELLED",
	}
}

type QuantumTaskAdditionalAttributeName string

// Enum values for QuantumTaskAdditionalAttributeName
const (
	QuantumTaskAdditionalAttributeNameQueueInfo QuantumTaskAdditionalAttributeName = "QueueInfo"
)

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

type QuantumTaskStatus string

// Enum values for QuantumTaskStatus
const (
	QuantumTaskStatusCreated    QuantumTaskStatus = "CREATED"
	QuantumTaskStatusQueued     QuantumTaskStatus = "QUEUED"
	QuantumTaskStatusRunning    QuantumTaskStatus = "RUNNING"
	QuantumTaskStatusCompleted  QuantumTaskStatus = "COMPLETED"
	QuantumTaskStatusFailed     QuantumTaskStatus = "FAILED"
	QuantumTaskStatusCancelling QuantumTaskStatus = "CANCELLING"
	QuantumTaskStatusCancelled  QuantumTaskStatus = "CANCELLED"
)

// Values returns all known values for QuantumTaskStatus. 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 (QuantumTaskStatus) Values() []QuantumTaskStatus {
	return []QuantumTaskStatus{
		"CREATED",
		"QUEUED",
		"RUNNING",
		"COMPLETED",
		"FAILED",
		"CANCELLING",
		"CANCELLED",
	}
}

type QueueName string

// Enum values for QueueName
const (
	QueueNameQuantumTasksQueue QueueName = "QUANTUM_TASKS_QUEUE"
	QueueNameJobsQueue         QueueName = "JOBS_QUEUE"
)

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

type QueuePriority string

// Enum values for QueuePriority
const (
	QueuePriorityNormal   QueuePriority = "Normal"
	QueuePriorityPriority QueuePriority = "Priority"
)

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

type SearchJobsFilterOperator string

// Enum values for SearchJobsFilterOperator
const (
	SearchJobsFilterOperatorLt       SearchJobsFilterOperator = "LT"
	SearchJobsFilterOperatorLte      SearchJobsFilterOperator = "LTE"
	SearchJobsFilterOperatorEqual    SearchJobsFilterOperator = "EQUAL"
	SearchJobsFilterOperatorGt       SearchJobsFilterOperator = "GT"
	SearchJobsFilterOperatorGte      SearchJobsFilterOperator = "GTE"
	SearchJobsFilterOperatorBetween  SearchJobsFilterOperator = "BETWEEN"
	SearchJobsFilterOperatorContains SearchJobsFilterOperator = "CONTAINS"
)

// Values returns all known values for SearchJobsFilterOperator. 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 (SearchJobsFilterOperator) Values() []SearchJobsFilterOperator {
	return []SearchJobsFilterOperator{
		"LT",
		"LTE",
		"EQUAL",
		"GT",
		"GTE",
		"BETWEEN",
		"CONTAINS",
	}
}

type SearchQuantumTasksFilterOperator string

// Enum values for SearchQuantumTasksFilterOperator
const (
	SearchQuantumTasksFilterOperatorLt      SearchQuantumTasksFilterOperator = "LT"
	SearchQuantumTasksFilterOperatorLte     SearchQuantumTasksFilterOperator = "LTE"
	SearchQuantumTasksFilterOperatorEqual   SearchQuantumTasksFilterOperator = "EQUAL"
	SearchQuantumTasksFilterOperatorGt      SearchQuantumTasksFilterOperator = "GT"
	SearchQuantumTasksFilterOperatorGte     SearchQuantumTasksFilterOperator = "GTE"
	SearchQuantumTasksFilterOperatorBetween SearchQuantumTasksFilterOperator = "BETWEEN"
)

// Values returns all known values for SearchQuantumTasksFilterOperator. 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 (SearchQuantumTasksFilterOperator) Values() []SearchQuantumTasksFilterOperator {
	return []SearchQuantumTasksFilterOperator{
		"LT",
		"LTE",
		"EQUAL",
		"GT",
		"GTE",
		"BETWEEN",
	}
}