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 (601 lines) | stat: -rw-r--r-- 16,684 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
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
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type Algorithm string

// Enum values for Algorithm
const (
	AlgorithmAes128 Algorithm = "aes128"
	AlgorithmAes192 Algorithm = "aes192"
	AlgorithmAes256 Algorithm = "aes256"
)

// 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{
		"aes128",
		"aes192",
		"aes256",
	}
}

type BridgePlacement string

// Enum values for BridgePlacement
const (
	BridgePlacementAvailable BridgePlacement = "AVAILABLE"
	BridgePlacementLocked    BridgePlacement = "LOCKED"
)

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

type BridgeState string

// Enum values for BridgeState
const (
	BridgeStateCreating     BridgeState = "CREATING"
	BridgeStateStandby      BridgeState = "STANDBY"
	BridgeStateStarting     BridgeState = "STARTING"
	BridgeStateDeploying    BridgeState = "DEPLOYING"
	BridgeStateActive       BridgeState = "ACTIVE"
	BridgeStateStopping     BridgeState = "STOPPING"
	BridgeStateDeleting     BridgeState = "DELETING"
	BridgeStateDeleted      BridgeState = "DELETED"
	BridgeStateStartFailed  BridgeState = "START_FAILED"
	BridgeStateStartPending BridgeState = "START_PENDING"
	BridgeStateStopFailed   BridgeState = "STOP_FAILED"
	BridgeStateUpdating     BridgeState = "UPDATING"
)

// Values returns all known values for BridgeState. 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 (BridgeState) Values() []BridgeState {
	return []BridgeState{
		"CREATING",
		"STANDBY",
		"STARTING",
		"DEPLOYING",
		"ACTIVE",
		"STOPPING",
		"DELETING",
		"DELETED",
		"START_FAILED",
		"START_PENDING",
		"STOP_FAILED",
		"UPDATING",
	}
}

type Colorimetry string

// Enum values for Colorimetry
const (
	ColorimetryBt601   Colorimetry = "BT601"
	ColorimetryBt709   Colorimetry = "BT709"
	ColorimetryBt2020  Colorimetry = "BT2020"
	ColorimetryBt2100  Colorimetry = "BT2100"
	ColorimetrySt20651 Colorimetry = "ST2065-1"
	ColorimetrySt20653 Colorimetry = "ST2065-3"
	ColorimetryXyz     Colorimetry = "XYZ"
)

// Values returns all known values for Colorimetry. 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 (Colorimetry) Values() []Colorimetry {
	return []Colorimetry{
		"BT601",
		"BT709",
		"BT2020",
		"BT2100",
		"ST2065-1",
		"ST2065-3",
		"XYZ",
	}
}

type ConnectionStatus string

// Enum values for ConnectionStatus
const (
	ConnectionStatusConnected    ConnectionStatus = "CONNECTED"
	ConnectionStatusDisconnected ConnectionStatus = "DISCONNECTED"
)

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

type DesiredState string

// Enum values for DesiredState
const (
	DesiredStateActive  DesiredState = "ACTIVE"
	DesiredStateStandby DesiredState = "STANDBY"
	DesiredStateDeleted DesiredState = "DELETED"
)

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

type DurationUnits string

// Enum values for DurationUnits
const (
	DurationUnitsMonths DurationUnits = "MONTHS"
)

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

type EncoderProfile string

// Enum values for EncoderProfile
const (
	EncoderProfileMain EncoderProfile = "main"
	EncoderProfileHigh EncoderProfile = "high"
)

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

type EncodingName string

// Enum values for EncodingName
const (
	EncodingNameJxsv     EncodingName = "jxsv"
	EncodingNameRaw      EncodingName = "raw"
	EncodingNameSmpte291 EncodingName = "smpte291"
	EncodingNamePcm      EncodingName = "pcm"
)

// Values returns all known values for EncodingName. 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 (EncodingName) Values() []EncodingName {
	return []EncodingName{
		"jxsv",
		"raw",
		"smpte291",
		"pcm",
	}
}

type EntitlementStatus string

// Enum values for EntitlementStatus
const (
	EntitlementStatusEnabled  EntitlementStatus = "ENABLED"
	EntitlementStatusDisabled EntitlementStatus = "DISABLED"
)

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

type FailoverMode string

// Enum values for FailoverMode
const (
	FailoverModeMerge    FailoverMode = "MERGE"
	FailoverModeFailover FailoverMode = "FAILOVER"
)

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

type GatewayState string

// Enum values for GatewayState
const (
	GatewayStateCreating GatewayState = "CREATING"
	GatewayStateActive   GatewayState = "ACTIVE"
	GatewayStateUpdating GatewayState = "UPDATING"
	GatewayStateError    GatewayState = "ERROR"
	GatewayStateDeleting GatewayState = "DELETING"
	GatewayStateDeleted  GatewayState = "DELETED"
)

// Values returns all known values for GatewayState. 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 (GatewayState) Values() []GatewayState {
	return []GatewayState{
		"CREATING",
		"ACTIVE",
		"UPDATING",
		"ERROR",
		"DELETING",
		"DELETED",
	}
}

type InstanceState string

// Enum values for InstanceState
const (
	InstanceStateRegistering         InstanceState = "REGISTERING"
	InstanceStateActive              InstanceState = "ACTIVE"
	InstanceStateDeregistering       InstanceState = "DEREGISTERING"
	InstanceStateDeregistered        InstanceState = "DEREGISTERED"
	InstanceStateRegistrationError   InstanceState = "REGISTRATION_ERROR"
	InstanceStateDeregistrationError InstanceState = "DEREGISTRATION_ERROR"
)

// Values returns all known values for InstanceState. 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 (InstanceState) Values() []InstanceState {
	return []InstanceState{
		"REGISTERING",
		"ACTIVE",
		"DEREGISTERING",
		"DEREGISTERED",
		"REGISTRATION_ERROR",
		"DEREGISTRATION_ERROR",
	}
}

type KeyType string

// Enum values for KeyType
const (
	KeyTypeSpeke       KeyType = "speke"
	KeyTypeStaticKey   KeyType = "static-key"
	KeyTypeSrtPassword KeyType = "srt-password"
)

// Values returns all known values for KeyType. 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 (KeyType) Values() []KeyType {
	return []KeyType{
		"speke",
		"static-key",
		"srt-password",
	}
}

type MaintenanceDay string

// Enum values for MaintenanceDay
const (
	MaintenanceDayMonday    MaintenanceDay = "Monday"
	MaintenanceDayTuesday   MaintenanceDay = "Tuesday"
	MaintenanceDayWednesday MaintenanceDay = "Wednesday"
	MaintenanceDayThursday  MaintenanceDay = "Thursday"
	MaintenanceDayFriday    MaintenanceDay = "Friday"
	MaintenanceDaySaturday  MaintenanceDay = "Saturday"
	MaintenanceDaySunday    MaintenanceDay = "Sunday"
)

// Values returns all known values for MaintenanceDay. 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 (MaintenanceDay) Values() []MaintenanceDay {
	return []MaintenanceDay{
		"Monday",
		"Tuesday",
		"Wednesday",
		"Thursday",
		"Friday",
		"Saturday",
		"Sunday",
	}
}

type MediaStreamType string

// Enum values for MediaStreamType
const (
	MediaStreamTypeVideo         MediaStreamType = "video"
	MediaStreamTypeAudio         MediaStreamType = "audio"
	MediaStreamTypeAncillaryData MediaStreamType = "ancillary-data"
)

// Values returns all known values for MediaStreamType. 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 (MediaStreamType) Values() []MediaStreamType {
	return []MediaStreamType{
		"video",
		"audio",
		"ancillary-data",
	}
}

type NetworkInterfaceType string

// Enum values for NetworkInterfaceType
const (
	NetworkInterfaceTypeEna NetworkInterfaceType = "ena"
	NetworkInterfaceTypeEfa NetworkInterfaceType = "efa"
)

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

type PriceUnits string

// Enum values for PriceUnits
const (
	PriceUnitsHourly PriceUnits = "HOURLY"
)

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

type Protocol string

// Enum values for Protocol
const (
	ProtocolZixiPush     Protocol = "zixi-push"
	ProtocolRtpFec       Protocol = "rtp-fec"
	ProtocolRtp          Protocol = "rtp"
	ProtocolZixiPull     Protocol = "zixi-pull"
	ProtocolRist         Protocol = "rist"
	ProtocolSt2110Jpegxs Protocol = "st2110-jpegxs"
	ProtocolCdi          Protocol = "cdi"
	ProtocolSrtListener  Protocol = "srt-listener"
	ProtocolSrtCaller    Protocol = "srt-caller"
	ProtocolFujitsuQos   Protocol = "fujitsu-qos"
	ProtocolUdp          Protocol = "udp"
)

// Values returns all known values for Protocol. 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 (Protocol) Values() []Protocol {
	return []Protocol{
		"zixi-push",
		"rtp-fec",
		"rtp",
		"zixi-pull",
		"rist",
		"st2110-jpegxs",
		"cdi",
		"srt-listener",
		"srt-caller",
		"fujitsu-qos",
		"udp",
	}
}

type Range string

// Enum values for Range
const (
	RangeNarrow      Range = "NARROW"
	RangeFull        Range = "FULL"
	RangeFullprotect Range = "FULLPROTECT"
)

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

type ReservationState string

// Enum values for ReservationState
const (
	ReservationStateActive     ReservationState = "ACTIVE"
	ReservationStateExpired    ReservationState = "EXPIRED"
	ReservationStateProcessing ReservationState = "PROCESSING"
	ReservationStateCanceled   ReservationState = "CANCELED"
)

// Values returns all known values for ReservationState. 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 (ReservationState) Values() []ReservationState {
	return []ReservationState{
		"ACTIVE",
		"EXPIRED",
		"PROCESSING",
		"CANCELED",
	}
}

type ResourceType string

// Enum values for ResourceType
const (
	ResourceTypeMbpsOutboundBandwidth ResourceType = "Mbps_Outbound_Bandwidth"
)

// 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{
		"Mbps_Outbound_Bandwidth",
	}
}

type ScanMode string

// Enum values for ScanMode
const (
	ScanModeProgressive               ScanMode = "progressive"
	ScanModeInterlace                 ScanMode = "interlace"
	ScanModeProgressiveSegmentedFrame ScanMode = "progressive-segmented-frame"
)

// Values returns all known values for ScanMode. 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 (ScanMode) Values() []ScanMode {
	return []ScanMode{
		"progressive",
		"interlace",
		"progressive-segmented-frame",
	}
}

type SourceType string

// Enum values for SourceType
const (
	SourceTypeOwned    SourceType = "OWNED"
	SourceTypeEntitled SourceType = "ENTITLED"
)

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

type State string

// Enum values for State
const (
	StateEnabled  State = "ENABLED"
	StateDisabled State = "DISABLED"
)

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

type Status string

// Enum values for Status
const (
	StatusStandby  Status = "STANDBY"
	StatusActive   Status = "ACTIVE"
	StatusUpdating Status = "UPDATING"
	StatusDeleting Status = "DELETING"
	StatusStarting Status = "STARTING"
	StatusStopping Status = "STOPPING"
	StatusError    Status = "ERROR"
)

// Values returns all known values for Status. 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 (Status) Values() []Status {
	return []Status{
		"STANDBY",
		"ACTIVE",
		"UPDATING",
		"DELETING",
		"STARTING",
		"STOPPING",
		"ERROR",
	}
}

type Tcs string

// Enum values for Tcs
const (
	TcsSdr          Tcs = "SDR"
	TcsPq           Tcs = "PQ"
	TcsHlg          Tcs = "HLG"
	TcsLinear       Tcs = "LINEAR"
	TcsBt2100linpq  Tcs = "BT2100LINPQ"
	TcsBt2100linhlg Tcs = "BT2100LINHLG"
	TcsSt20651      Tcs = "ST2065-1"
	TcsSt4281       Tcs = "ST428-1"
	TcsDensity      Tcs = "DENSITY"
)

// Values returns all known values for Tcs. 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 (Tcs) Values() []Tcs {
	return []Tcs{
		"SDR",
		"PQ",
		"HLG",
		"LINEAR",
		"BT2100LINPQ",
		"BT2100LINHLG",
		"ST2065-1",
		"ST428-1",
		"DENSITY",
	}
}