-
Notifications
You must be signed in to change notification settings - Fork 597
/
enums.go
235 lines (195 loc) · 6.24 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
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type AccessType string
// Enum values for AccessType
const (
AccessTypeS3Sigv4 AccessType = "S3_SIGV4"
AccessTypeSecretsManagerAccessToken AccessType = "SECRETS_MANAGER_ACCESS_TOKEN"
)
// Values returns all known values for AccessType. 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 (AccessType) Values() []AccessType {
return []AccessType{
"S3_SIGV4",
"SECRETS_MANAGER_ACCESS_TOKEN",
}
}
type ChannelState string
// Enum values for ChannelState
const (
ChannelStateRunning ChannelState = "RUNNING"
ChannelStateStopped ChannelState = "STOPPED"
)
// Values returns all known values for ChannelState. 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 (ChannelState) Values() []ChannelState {
return []ChannelState{
"RUNNING",
"STOPPED",
}
}
type FillPolicy string
// Enum values for FillPolicy
const (
FillPolicyFullAvailOnly FillPolicy = "FULL_AVAIL_ONLY"
FillPolicyPartialAvail FillPolicy = "PARTIAL_AVAIL"
)
// Values returns all known values for FillPolicy. 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 (FillPolicy) Values() []FillPolicy {
return []FillPolicy{
"FULL_AVAIL_ONLY",
"PARTIAL_AVAIL",
}
}
type LogType string
// Enum values for LogType
const (
LogTypeAsRun LogType = "AS_RUN"
)
// Values returns all known values for LogType. 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 (LogType) Values() []LogType {
return []LogType{
"AS_RUN",
}
}
type MessageType string
// Enum values for MessageType
const (
MessageTypeSpliceInsert MessageType = "SPLICE_INSERT"
MessageTypeTimeSignal MessageType = "TIME_SIGNAL"
)
// Values returns all known values for MessageType. 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 (MessageType) Values() []MessageType {
return []MessageType{
"SPLICE_INSERT",
"TIME_SIGNAL",
}
}
type Mode string
// Enum values for Mode
const (
ModeOff Mode = "OFF"
ModeBehindLiveEdge Mode = "BEHIND_LIVE_EDGE"
ModeAfterLiveEdge Mode = "AFTER_LIVE_EDGE"
)
// Values returns all known values for Mode. 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 (Mode) Values() []Mode {
return []Mode{
"OFF",
"BEHIND_LIVE_EDGE",
"AFTER_LIVE_EDGE",
}
}
type Operator string
// Enum values for Operator
const (
OperatorEquals Operator = "EQUALS"
)
// Values returns all known values for Operator. 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 (Operator) Values() []Operator {
return []Operator{
"EQUALS",
}
}
type OriginManifestType string
// Enum values for OriginManifestType
const (
OriginManifestTypeSinglePeriod OriginManifestType = "SINGLE_PERIOD"
OriginManifestTypeMultiPeriod OriginManifestType = "MULTI_PERIOD"
)
// Values returns all known values for OriginManifestType. 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 (OriginManifestType) Values() []OriginManifestType {
return []OriginManifestType{
"SINGLE_PERIOD",
"MULTI_PERIOD",
}
}
type PlaybackMode string
// Enum values for PlaybackMode
const (
PlaybackModeLoop PlaybackMode = "LOOP"
PlaybackModeLinear PlaybackMode = "LINEAR"
)
// Values returns all known values for PlaybackMode. 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 (PlaybackMode) Values() []PlaybackMode {
return []PlaybackMode{
"LOOP",
"LINEAR",
}
}
type RelativePosition string
// Enum values for RelativePosition
const (
RelativePositionBeforeProgram RelativePosition = "BEFORE_PROGRAM"
RelativePositionAfterProgram RelativePosition = "AFTER_PROGRAM"
)
// Values returns all known values for RelativePosition. 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 (RelativePosition) Values() []RelativePosition {
return []RelativePosition{
"BEFORE_PROGRAM",
"AFTER_PROGRAM",
}
}
type ScheduleEntryType string
// Enum values for ScheduleEntryType
const (
ScheduleEntryTypeProgram ScheduleEntryType = "PROGRAM"
ScheduleEntryTypeFillerSlate ScheduleEntryType = "FILLER_SLATE"
)
// Values returns all known values for ScheduleEntryType. 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 (ScheduleEntryType) Values() []ScheduleEntryType {
return []ScheduleEntryType{
"PROGRAM",
"FILLER_SLATE",
}
}
type Tier string
// Enum values for Tier
const (
TierBasic Tier = "BASIC"
TierStandard Tier = "STANDARD"
)
// Values returns all known values for Tier. 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 (Tier) Values() []Tier {
return []Tier{
"BASIC",
"STANDARD",
}
}
type Type string
// Enum values for Type
const (
TypeDash Type = "DASH"
TypeHls Type = "HLS"
)
// Values returns all known values for Type. 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 (Type) Values() []Type {
return []Type{
"DASH",
"HLS",
}
}