/
enums.go
381 lines (335 loc) · 12.7 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
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
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type AuthPolicyState string
// Enum values for AuthPolicyState
const (
AuthPolicyStateActive AuthPolicyState = "Active"
AuthPolicyStateInactive AuthPolicyState = "Inactive"
)
// Values returns all known values for AuthPolicyState. 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 (AuthPolicyState) Values() []AuthPolicyState {
return []AuthPolicyState{
"Active",
"Inactive",
}
}
type AuthType string
// Enum values for AuthType
const (
AuthTypeNone AuthType = "NONE"
AuthTypeAwsIam AuthType = "AWS_IAM"
)
// Values returns all known values for AuthType. 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 (AuthType) Values() []AuthType {
return []AuthType{
"NONE",
"AWS_IAM",
}
}
type HealthCheckProtocolVersion string
// Enum values for HealthCheckProtocolVersion
const (
// Indicates use of HTTP/1.1 to send requests to target
HealthCheckProtocolVersionHttp1 HealthCheckProtocolVersion = "HTTP1"
// Indicates use of HTTP/2 to send requests to target
HealthCheckProtocolVersionHttp2 HealthCheckProtocolVersion = "HTTP2"
)
// Values returns all known values for HealthCheckProtocolVersion. 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 (HealthCheckProtocolVersion) Values() []HealthCheckProtocolVersion {
return []HealthCheckProtocolVersion{
"HTTP1",
"HTTP2",
}
}
type IpAddressType string
// Enum values for IpAddressType
const (
// Indicates IPv4 address type
IpAddressTypeIpv4 IpAddressType = "IPV4"
// Indicates IPv6 address type
IpAddressTypeIpv6 IpAddressType = "IPV6"
)
// Values returns all known values for IpAddressType. 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 (IpAddressType) Values() []IpAddressType {
return []IpAddressType{
"IPV4",
"IPV6",
}
}
type LambdaEventStructureVersion string
// Enum values for LambdaEventStructureVersion
const (
// This is the default lambda event structure version
LambdaEventStructureVersionV1 LambdaEventStructureVersion = "V1"
// Indicates use of lambda event structure version 2
LambdaEventStructureVersionV2 LambdaEventStructureVersion = "V2"
)
// Values returns all known values for LambdaEventStructureVersion. 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 (LambdaEventStructureVersion) Values() []LambdaEventStructureVersion {
return []LambdaEventStructureVersion{
"V1",
"V2",
}
}
type ListenerProtocol string
// Enum values for ListenerProtocol
const (
// Indicates HTTP protocol
ListenerProtocolHttp ListenerProtocol = "HTTP"
// Indicates HTTPS protocol
ListenerProtocolHttps ListenerProtocol = "HTTPS"
)
// Values returns all known values for ListenerProtocol. 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 (ListenerProtocol) Values() []ListenerProtocol {
return []ListenerProtocol{
"HTTP",
"HTTPS",
}
}
type ServiceNetworkServiceAssociationStatus string
// Enum values for ServiceNetworkServiceAssociationStatus
const (
// ServiceNetwork and Service association creation in progress
ServiceNetworkServiceAssociationStatusCreateInProgress ServiceNetworkServiceAssociationStatus = "CREATE_IN_PROGRESS"
// ServiceNetwork and Service association is active
ServiceNetworkServiceAssociationStatusActive ServiceNetworkServiceAssociationStatus = "ACTIVE"
// ServiceNetwork and Service association deletion in progress
ServiceNetworkServiceAssociationStatusDeleteInProgress ServiceNetworkServiceAssociationStatus = "DELETE_IN_PROGRESS"
// ServiceNetwork and Service association creation failed.
ServiceNetworkServiceAssociationStatusCreateFailed ServiceNetworkServiceAssociationStatus = "CREATE_FAILED"
// ServiceNetwork and Service association deletion failed
ServiceNetworkServiceAssociationStatusDeleteFailed ServiceNetworkServiceAssociationStatus = "DELETE_FAILED"
)
// Values returns all known values for ServiceNetworkServiceAssociationStatus.
// 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 (ServiceNetworkServiceAssociationStatus) Values() []ServiceNetworkServiceAssociationStatus {
return []ServiceNetworkServiceAssociationStatus{
"CREATE_IN_PROGRESS",
"ACTIVE",
"DELETE_IN_PROGRESS",
"CREATE_FAILED",
"DELETE_FAILED",
}
}
type ServiceNetworkVpcAssociationStatus string
// Enum values for ServiceNetworkVpcAssociationStatus
const (
// ServiceNetwork and Vpc association creation in progress
ServiceNetworkVpcAssociationStatusCreateInProgress ServiceNetworkVpcAssociationStatus = "CREATE_IN_PROGRESS"
// ServiceNetwork and Vpc association is active
ServiceNetworkVpcAssociationStatusActive ServiceNetworkVpcAssociationStatus = "ACTIVE"
// ServiceNetwork and Vpc association update in progress
ServiceNetworkVpcAssociationStatusUpdateInProgress ServiceNetworkVpcAssociationStatus = "UPDATE_IN_PROGRESS"
// ServiceNetwork and Vpc association deletion in progress
ServiceNetworkVpcAssociationStatusDeleteInProgress ServiceNetworkVpcAssociationStatus = "DELETE_IN_PROGRESS"
// ServiceNetwork and Vpc association creation failed.
ServiceNetworkVpcAssociationStatusCreateFailed ServiceNetworkVpcAssociationStatus = "CREATE_FAILED"
// ServiceNetwork and Vpc association deletion failed
ServiceNetworkVpcAssociationStatusDeleteFailed ServiceNetworkVpcAssociationStatus = "DELETE_FAILED"
// ServiceNetwork and Vpc association update failed
ServiceNetworkVpcAssociationStatusUpdateFailed ServiceNetworkVpcAssociationStatus = "UPDATE_FAILED"
)
// Values returns all known values for ServiceNetworkVpcAssociationStatus. 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 (ServiceNetworkVpcAssociationStatus) Values() []ServiceNetworkVpcAssociationStatus {
return []ServiceNetworkVpcAssociationStatus{
"CREATE_IN_PROGRESS",
"ACTIVE",
"UPDATE_IN_PROGRESS",
"DELETE_IN_PROGRESS",
"CREATE_FAILED",
"DELETE_FAILED",
"UPDATE_FAILED",
}
}
type ServiceStatus string
// Enum values for ServiceStatus
const (
// Service is active.
ServiceStatusActive ServiceStatus = "ACTIVE"
// Service creation in progress.
ServiceStatusCreateInProgress ServiceStatus = "CREATE_IN_PROGRESS"
// Service deletion in progress
ServiceStatusDeleteInProgress ServiceStatus = "DELETE_IN_PROGRESS"
// Service creation failed
ServiceStatusCreateFailed ServiceStatus = "CREATE_FAILED"
// Service deletion failed.
ServiceStatusDeleteFailed ServiceStatus = "DELETE_FAILED"
)
// Values returns all known values for ServiceStatus. 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 (ServiceStatus) Values() []ServiceStatus {
return []ServiceStatus{
"ACTIVE",
"CREATE_IN_PROGRESS",
"DELETE_IN_PROGRESS",
"CREATE_FAILED",
"DELETE_FAILED",
}
}
type TargetGroupProtocol string
// Enum values for TargetGroupProtocol
const (
// Indicates HTTP protocol
TargetGroupProtocolHttp TargetGroupProtocol = "HTTP"
// Indicates HTTPS protocol
TargetGroupProtocolHttps TargetGroupProtocol = "HTTPS"
)
// Values returns all known values for TargetGroupProtocol. 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 (TargetGroupProtocol) Values() []TargetGroupProtocol {
return []TargetGroupProtocol{
"HTTP",
"HTTPS",
}
}
type TargetGroupProtocolVersion string
// Enum values for TargetGroupProtocolVersion
const (
// Indicates use of HTTP/1.1 to send requests to target
TargetGroupProtocolVersionHttp1 TargetGroupProtocolVersion = "HTTP1"
// Indicates use of HTTP/2 to send requests to target
TargetGroupProtocolVersionHttp2 TargetGroupProtocolVersion = "HTTP2"
// Indicates use of gRPC to send requests to target
TargetGroupProtocolVersionGrpc TargetGroupProtocolVersion = "GRPC"
)
// Values returns all known values for TargetGroupProtocolVersion. 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 (TargetGroupProtocolVersion) Values() []TargetGroupProtocolVersion {
return []TargetGroupProtocolVersion{
"HTTP1",
"HTTP2",
"GRPC",
}
}
type TargetGroupStatus string
// Enum values for TargetGroupStatus
const (
// TargetGroup creation in progress
TargetGroupStatusCreateInProgress TargetGroupStatus = "CREATE_IN_PROGRESS"
// TargetGroup is active
TargetGroupStatusActive TargetGroupStatus = "ACTIVE"
// TargetGroup deletion in progress
TargetGroupStatusDeleteInProgress TargetGroupStatus = "DELETE_IN_PROGRESS"
// TargetGroup creation failed.
TargetGroupStatusCreateFailed TargetGroupStatus = "CREATE_FAILED"
// TargetGroup deletion failed
TargetGroupStatusDeleteFailed TargetGroupStatus = "DELETE_FAILED"
)
// Values returns all known values for TargetGroupStatus. 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 (TargetGroupStatus) Values() []TargetGroupStatus {
return []TargetGroupStatus{
"CREATE_IN_PROGRESS",
"ACTIVE",
"DELETE_IN_PROGRESS",
"CREATE_FAILED",
"DELETE_FAILED",
}
}
type TargetGroupType string
// Enum values for TargetGroupType
const (
// Indicates targets in this target group are IP
TargetGroupTypeIp TargetGroupType = "IP"
// Indicates targets in this target group are Lambda
TargetGroupTypeLambda TargetGroupType = "LAMBDA"
// Indicates targets in this target group are EC2 instances
TargetGroupTypeInstance TargetGroupType = "INSTANCE"
// Indicates target in this target group is an ALB
TargetGroupTypeAlb TargetGroupType = "ALB"
)
// Values returns all known values for TargetGroupType. 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 (TargetGroupType) Values() []TargetGroupType {
return []TargetGroupType{
"IP",
"LAMBDA",
"INSTANCE",
"ALB",
}
}
type TargetStatus string
// Enum values for TargetStatus
const (
// The target is deregistering and connection draining is in process.
TargetStatusDraining TargetStatus = "DRAINING"
// Health checks are disabled.
TargetStatusUnavailable TargetStatus = "UNAVAILABLE"
// The target is healthy.
TargetStatusHealthy TargetStatus = "HEALTHY"
// The target failed the health check.
TargetStatusUnhealthy TargetStatus = "UNHEALTHY"
// The initial health check is in progress.
TargetStatusInitial TargetStatus = "INITIAL"
// The target group is not used in a listener rule.
TargetStatusUnused TargetStatus = "UNUSED"
)
// Values returns all known values for TargetStatus. 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 (TargetStatus) Values() []TargetStatus {
return []TargetStatus{
"DRAINING",
"UNAVAILABLE",
"HEALTHY",
"UNHEALTHY",
"INITIAL",
"UNUSED",
}
}
type ValidationExceptionReason string
// Enum values for ValidationExceptionReason
const (
ValidationExceptionReasonUnknownOperation ValidationExceptionReason = "unknownOperation"
ValidationExceptionReasonCannotParse ValidationExceptionReason = "cannotParse"
ValidationExceptionReasonFieldValidationFailed ValidationExceptionReason = "fieldValidationFailed"
ValidationExceptionReasonOther ValidationExceptionReason = "other"
)
// Values returns all known values for ValidationExceptionReason. 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 (ValidationExceptionReason) Values() []ValidationExceptionReason {
return []ValidationExceptionReason{
"unknownOperation",
"cannotParse",
"fieldValidationFailed",
"other",
}
}