/
enums.go
294 lines (251 loc) · 8.91 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
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
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type BulkDeploymentStatus string
// Enum values for BulkDeploymentStatus
const (
BulkDeploymentStatusInitializing BulkDeploymentStatus = "Initializing"
BulkDeploymentStatusRunning BulkDeploymentStatus = "Running"
BulkDeploymentStatusCompleted BulkDeploymentStatus = "Completed"
BulkDeploymentStatusStopping BulkDeploymentStatus = "Stopping"
BulkDeploymentStatusStopped BulkDeploymentStatus = "Stopped"
BulkDeploymentStatusFailed BulkDeploymentStatus = "Failed"
)
// Values returns all known values for BulkDeploymentStatus. 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 (BulkDeploymentStatus) Values() []BulkDeploymentStatus {
return []BulkDeploymentStatus{
"Initializing",
"Running",
"Completed",
"Stopping",
"Stopped",
"Failed",
}
}
type ConfigurationSyncStatus string
// Enum values for ConfigurationSyncStatus
const (
ConfigurationSyncStatusInSync ConfigurationSyncStatus = "InSync"
ConfigurationSyncStatusOutOfSync ConfigurationSyncStatus = "OutOfSync"
)
// Values returns all known values for ConfigurationSyncStatus. 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 (ConfigurationSyncStatus) Values() []ConfigurationSyncStatus {
return []ConfigurationSyncStatus{
"InSync",
"OutOfSync",
}
}
type DeploymentType string
// Enum values for DeploymentType
const (
DeploymentTypeNewDeployment DeploymentType = "NewDeployment"
DeploymentTypeRedeployment DeploymentType = "Redeployment"
DeploymentTypeResetDeployment DeploymentType = "ResetDeployment"
DeploymentTypeForceResetDeployment DeploymentType = "ForceResetDeployment"
)
// Values returns all known values for DeploymentType. 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 (DeploymentType) Values() []DeploymentType {
return []DeploymentType{
"NewDeployment",
"Redeployment",
"ResetDeployment",
"ForceResetDeployment",
}
}
type EncodingType string
// Enum values for EncodingType
const (
EncodingTypeBinary EncodingType = "binary"
EncodingTypeJson EncodingType = "json"
)
// Values returns all known values for EncodingType. 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 (EncodingType) Values() []EncodingType {
return []EncodingType{
"binary",
"json",
}
}
type FunctionIsolationMode string
// Enum values for FunctionIsolationMode
const (
FunctionIsolationModeGreengrassContainer FunctionIsolationMode = "GreengrassContainer"
FunctionIsolationModeNoContainer FunctionIsolationMode = "NoContainer"
)
// Values returns all known values for FunctionIsolationMode. 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 (FunctionIsolationMode) Values() []FunctionIsolationMode {
return []FunctionIsolationMode{
"GreengrassContainer",
"NoContainer",
}
}
type LoggerComponent string
// Enum values for LoggerComponent
const (
LoggerComponentGreengrassSystem LoggerComponent = "GreengrassSystem"
LoggerComponentLambda LoggerComponent = "Lambda"
)
// Values returns all known values for LoggerComponent. 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 (LoggerComponent) Values() []LoggerComponent {
return []LoggerComponent{
"GreengrassSystem",
"Lambda",
}
}
type LoggerLevel string
// Enum values for LoggerLevel
const (
LoggerLevelDebug LoggerLevel = "DEBUG"
LoggerLevelInfo LoggerLevel = "INFO"
LoggerLevelWarn LoggerLevel = "WARN"
LoggerLevelError LoggerLevel = "ERROR"
LoggerLevelFatal LoggerLevel = "FATAL"
)
// Values returns all known values for LoggerLevel. 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 (LoggerLevel) Values() []LoggerLevel {
return []LoggerLevel{
"DEBUG",
"INFO",
"WARN",
"ERROR",
"FATAL",
}
}
type LoggerType string
// Enum values for LoggerType
const (
LoggerTypeFileSystem LoggerType = "FileSystem"
LoggerTypeAWSCloudWatch LoggerType = "AWSCloudWatch"
)
// Values returns all known values for LoggerType. 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 (LoggerType) Values() []LoggerType {
return []LoggerType{
"FileSystem",
"AWSCloudWatch",
}
}
type Permission string
// Enum values for Permission
const (
PermissionRo Permission = "ro"
PermissionRw Permission = "rw"
)
// Values returns all known values for Permission. 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 (Permission) Values() []Permission {
return []Permission{
"ro",
"rw",
}
}
type SoftwareToUpdate string
// Enum values for SoftwareToUpdate
const (
SoftwareToUpdateCore SoftwareToUpdate = "core"
SoftwareToUpdateOtaAgent SoftwareToUpdate = "ota_agent"
)
// Values returns all known values for SoftwareToUpdate. 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 (SoftwareToUpdate) Values() []SoftwareToUpdate {
return []SoftwareToUpdate{
"core",
"ota_agent",
}
}
type Telemetry string
// Enum values for Telemetry
const (
TelemetryOn Telemetry = "On"
TelemetryOff Telemetry = "Off"
)
// Values returns all known values for Telemetry. 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 (Telemetry) Values() []Telemetry {
return []Telemetry{
"On",
"Off",
}
}
type UpdateAgentLogLevel string
// Enum values for UpdateAgentLogLevel
const (
UpdateAgentLogLevelNone UpdateAgentLogLevel = "NONE"
UpdateAgentLogLevelTrace UpdateAgentLogLevel = "TRACE"
UpdateAgentLogLevelDebug UpdateAgentLogLevel = "DEBUG"
UpdateAgentLogLevelVerbose UpdateAgentLogLevel = "VERBOSE"
UpdateAgentLogLevelInfo UpdateAgentLogLevel = "INFO"
UpdateAgentLogLevelWarn UpdateAgentLogLevel = "WARN"
UpdateAgentLogLevelError UpdateAgentLogLevel = "ERROR"
UpdateAgentLogLevelFatal UpdateAgentLogLevel = "FATAL"
)
// Values returns all known values for UpdateAgentLogLevel. 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 (UpdateAgentLogLevel) Values() []UpdateAgentLogLevel {
return []UpdateAgentLogLevel{
"NONE",
"TRACE",
"DEBUG",
"VERBOSE",
"INFO",
"WARN",
"ERROR",
"FATAL",
}
}
type UpdateTargetsArchitecture string
// Enum values for UpdateTargetsArchitecture
const (
UpdateTargetsArchitectureArmv6l UpdateTargetsArchitecture = "armv6l"
UpdateTargetsArchitectureArmv7l UpdateTargetsArchitecture = "armv7l"
UpdateTargetsArchitectureX8664 UpdateTargetsArchitecture = "x86_64"
UpdateTargetsArchitectureAarch64 UpdateTargetsArchitecture = "aarch64"
)
// Values returns all known values for UpdateTargetsArchitecture. 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 (UpdateTargetsArchitecture) Values() []UpdateTargetsArchitecture {
return []UpdateTargetsArchitecture{
"armv6l",
"armv7l",
"x86_64",
"aarch64",
}
}
type UpdateTargetsOperatingSystem string
// Enum values for UpdateTargetsOperatingSystem
const (
UpdateTargetsOperatingSystemUbuntu UpdateTargetsOperatingSystem = "ubuntu"
UpdateTargetsOperatingSystemRaspbian UpdateTargetsOperatingSystem = "raspbian"
UpdateTargetsOperatingSystemAmazonLinux UpdateTargetsOperatingSystem = "amazon_linux"
UpdateTargetsOperatingSystemOpenwrt UpdateTargetsOperatingSystem = "openwrt"
)
// Values returns all known values for UpdateTargetsOperatingSystem. 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 (UpdateTargetsOperatingSystem) Values() []UpdateTargetsOperatingSystem {
return []UpdateTargetsOperatingSystem{
"ubuntu",
"raspbian",
"amazon_linux",
"openwrt",
}
}