/
enums.go
209 lines (178 loc) · 6.51 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
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type PeriodTriggersElement string
// Enum values for PeriodTriggersElement
const (
PeriodTriggersElementAds PeriodTriggersElement = "ADS"
)
// Values returns all known values for PeriodTriggersElement. 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 (PeriodTriggersElement) Values() []PeriodTriggersElement {
return []PeriodTriggersElement{
"ADS",
}
}
type AdMarkers string
// Enum values for AdMarkers
const (
AdMarkersNone AdMarkers = "NONE"
AdMarkersScte35Enhanced AdMarkers = "SCTE35_ENHANCED"
AdMarkersPassthrough AdMarkers = "PASSTHROUGH"
)
// Values returns all known values for AdMarkers. 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 (AdMarkers) Values() []AdMarkers {
return []AdMarkers{
"NONE",
"SCTE35_ENHANCED",
"PASSTHROUGH",
}
}
type EncryptionMethod string
// Enum values for EncryptionMethod
const (
EncryptionMethodAes128 EncryptionMethod = "AES_128"
EncryptionMethodSampleAes EncryptionMethod = "SAMPLE_AES"
)
// Values returns all known values for EncryptionMethod. 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 (EncryptionMethod) Values() []EncryptionMethod {
return []EncryptionMethod{
"AES_128",
"SAMPLE_AES",
}
}
type ManifestLayout string
// Enum values for ManifestLayout
const (
ManifestLayoutFull ManifestLayout = "FULL"
ManifestLayoutCompact ManifestLayout = "COMPACT"
)
// Values returns all known values for ManifestLayout. 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 (ManifestLayout) Values() []ManifestLayout {
return []ManifestLayout{
"FULL",
"COMPACT",
}
}
type PresetSpeke20Audio string
// Enum values for PresetSpeke20Audio
const (
PresetSpeke20AudioPresetAudio1 PresetSpeke20Audio = "PRESET-AUDIO-1"
PresetSpeke20AudioPresetAudio2 PresetSpeke20Audio = "PRESET-AUDIO-2"
PresetSpeke20AudioPresetAudio3 PresetSpeke20Audio = "PRESET-AUDIO-3"
PresetSpeke20AudioShared PresetSpeke20Audio = "SHARED"
PresetSpeke20AudioUnencrypted PresetSpeke20Audio = "UNENCRYPTED"
)
// Values returns all known values for PresetSpeke20Audio. 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 (PresetSpeke20Audio) Values() []PresetSpeke20Audio {
return []PresetSpeke20Audio{
"PRESET-AUDIO-1",
"PRESET-AUDIO-2",
"PRESET-AUDIO-3",
"SHARED",
"UNENCRYPTED",
}
}
type PresetSpeke20Video string
// Enum values for PresetSpeke20Video
const (
PresetSpeke20VideoPresetVideo1 PresetSpeke20Video = "PRESET-VIDEO-1"
PresetSpeke20VideoPresetVideo2 PresetSpeke20Video = "PRESET-VIDEO-2"
PresetSpeke20VideoPresetVideo3 PresetSpeke20Video = "PRESET-VIDEO-3"
PresetSpeke20VideoPresetVideo4 PresetSpeke20Video = "PRESET-VIDEO-4"
PresetSpeke20VideoPresetVideo5 PresetSpeke20Video = "PRESET-VIDEO-5"
PresetSpeke20VideoPresetVideo6 PresetSpeke20Video = "PRESET-VIDEO-6"
PresetSpeke20VideoPresetVideo7 PresetSpeke20Video = "PRESET-VIDEO-7"
PresetSpeke20VideoPresetVideo8 PresetSpeke20Video = "PRESET-VIDEO-8"
PresetSpeke20VideoShared PresetSpeke20Video = "SHARED"
PresetSpeke20VideoUnencrypted PresetSpeke20Video = "UNENCRYPTED"
)
// Values returns all known values for PresetSpeke20Video. 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 (PresetSpeke20Video) Values() []PresetSpeke20Video {
return []PresetSpeke20Video{
"PRESET-VIDEO-1",
"PRESET-VIDEO-2",
"PRESET-VIDEO-3",
"PRESET-VIDEO-4",
"PRESET-VIDEO-5",
"PRESET-VIDEO-6",
"PRESET-VIDEO-7",
"PRESET-VIDEO-8",
"SHARED",
"UNENCRYPTED",
}
}
type Profile string
// Enum values for Profile
const (
ProfileNone Profile = "NONE"
ProfileHbbtv15 Profile = "HBBTV_1_5"
)
// Values returns all known values for Profile. 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 (Profile) Values() []Profile {
return []Profile{
"NONE",
"HBBTV_1_5",
}
}
type ScteMarkersSource string
// Enum values for ScteMarkersSource
const (
ScteMarkersSourceSegments ScteMarkersSource = "SEGMENTS"
ScteMarkersSourceManifest ScteMarkersSource = "MANIFEST"
)
// Values returns all known values for ScteMarkersSource. 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 (ScteMarkersSource) Values() []ScteMarkersSource {
return []ScteMarkersSource{
"SEGMENTS",
"MANIFEST",
}
}
type SegmentTemplateFormat string
// Enum values for SegmentTemplateFormat
const (
SegmentTemplateFormatNumberWithTimeline SegmentTemplateFormat = "NUMBER_WITH_TIMELINE"
SegmentTemplateFormatTimeWithTimeline SegmentTemplateFormat = "TIME_WITH_TIMELINE"
SegmentTemplateFormatNumberWithDuration SegmentTemplateFormat = "NUMBER_WITH_DURATION"
)
// Values returns all known values for SegmentTemplateFormat. 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 (SegmentTemplateFormat) Values() []SegmentTemplateFormat {
return []SegmentTemplateFormat{
"NUMBER_WITH_TIMELINE",
"TIME_WITH_TIMELINE",
"NUMBER_WITH_DURATION",
}
}
type StreamOrder string
// Enum values for StreamOrder
const (
StreamOrderOriginal StreamOrder = "ORIGINAL"
StreamOrderVideoBitrateAscending StreamOrder = "VIDEO_BITRATE_ASCENDING"
StreamOrderVideoBitrateDescending StreamOrder = "VIDEO_BITRATE_DESCENDING"
)
// Values returns all known values for StreamOrder. 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 (StreamOrder) Values() []StreamOrder {
return []StreamOrder{
"ORIGINAL",
"VIDEO_BITRATE_ASCENDING",
"VIDEO_BITRATE_DESCENDING",
}
}