-
Notifications
You must be signed in to change notification settings - Fork 602
/
enums.go
569 lines (511 loc) · 20.6 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
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
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type AddonIssueCode string
// Enum values for AddonIssueCode
const (
AddonIssueCodeAccessDenied AddonIssueCode = "AccessDenied"
AddonIssueCodeInternalFailure AddonIssueCode = "InternalFailure"
AddonIssueCodeClusterUnreachable AddonIssueCode = "ClusterUnreachable"
AddonIssueCodeInsufficientNumberOfReplicas AddonIssueCode = "InsufficientNumberOfReplicas"
AddonIssueCodeConfigurationConflict AddonIssueCode = "ConfigurationConflict"
AddonIssueCodeAdmissionRequestDenied AddonIssueCode = "AdmissionRequestDenied"
AddonIssueCodeUnsupportedAddonModification AddonIssueCode = "UnsupportedAddonModification"
AddonIssueCodeK8sResourceNotFound AddonIssueCode = "K8sResourceNotFound"
)
// Values returns all known values for AddonIssueCode. 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 (AddonIssueCode) Values() []AddonIssueCode {
return []AddonIssueCode{
"AccessDenied",
"InternalFailure",
"ClusterUnreachable",
"InsufficientNumberOfReplicas",
"ConfigurationConflict",
"AdmissionRequestDenied",
"UnsupportedAddonModification",
"K8sResourceNotFound",
}
}
type AddonStatus string
// Enum values for AddonStatus
const (
AddonStatusCreating AddonStatus = "CREATING"
AddonStatusActive AddonStatus = "ACTIVE"
AddonStatusCreateFailed AddonStatus = "CREATE_FAILED"
AddonStatusUpdating AddonStatus = "UPDATING"
AddonStatusDeleting AddonStatus = "DELETING"
AddonStatusDeleteFailed AddonStatus = "DELETE_FAILED"
AddonStatusDegraded AddonStatus = "DEGRADED"
AddonStatusUpdateFailed AddonStatus = "UPDATE_FAILED"
)
// Values returns all known values for AddonStatus. 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 (AddonStatus) Values() []AddonStatus {
return []AddonStatus{
"CREATING",
"ACTIVE",
"CREATE_FAILED",
"UPDATING",
"DELETING",
"DELETE_FAILED",
"DEGRADED",
"UPDATE_FAILED",
}
}
type AMITypes string
// Enum values for AMITypes
const (
AMITypesAl2X8664 AMITypes = "AL2_x86_64"
AMITypesAl2X8664Gpu AMITypes = "AL2_x86_64_GPU"
AMITypesAl2Arm64 AMITypes = "AL2_ARM_64"
AMITypesCustom AMITypes = "CUSTOM"
AMITypesBottlerocketArm64 AMITypes = "BOTTLEROCKET_ARM_64"
AMITypesBottlerocketX8664 AMITypes = "BOTTLEROCKET_x86_64"
AMITypesBottlerocketArm64Nvidia AMITypes = "BOTTLEROCKET_ARM_64_NVIDIA"
AMITypesBottlerocketX8664Nvidia AMITypes = "BOTTLEROCKET_x86_64_NVIDIA"
AMITypesWindowsCore2019X8664 AMITypes = "WINDOWS_CORE_2019_x86_64"
AMITypesWindowsFull2019X8664 AMITypes = "WINDOWS_FULL_2019_x86_64"
AMITypesWindowsCore2022X8664 AMITypes = "WINDOWS_CORE_2022_x86_64"
AMITypesWindowsFull2022X8664 AMITypes = "WINDOWS_FULL_2022_x86_64"
)
// Values returns all known values for AMITypes. 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 (AMITypes) Values() []AMITypes {
return []AMITypes{
"AL2_x86_64",
"AL2_x86_64_GPU",
"AL2_ARM_64",
"CUSTOM",
"BOTTLEROCKET_ARM_64",
"BOTTLEROCKET_x86_64",
"BOTTLEROCKET_ARM_64_NVIDIA",
"BOTTLEROCKET_x86_64_NVIDIA",
"WINDOWS_CORE_2019_x86_64",
"WINDOWS_FULL_2019_x86_64",
"WINDOWS_CORE_2022_x86_64",
"WINDOWS_FULL_2022_x86_64",
}
}
type CapacityTypes string
// Enum values for CapacityTypes
const (
CapacityTypesOnDemand CapacityTypes = "ON_DEMAND"
CapacityTypesSpot CapacityTypes = "SPOT"
)
// Values returns all known values for CapacityTypes. 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 (CapacityTypes) Values() []CapacityTypes {
return []CapacityTypes{
"ON_DEMAND",
"SPOT",
}
}
type ClusterIssueCode string
// Enum values for ClusterIssueCode
const (
ClusterIssueCodeAccessDenied ClusterIssueCode = "AccessDenied"
ClusterIssueCodeClusterUnreachable ClusterIssueCode = "ClusterUnreachable"
ClusterIssueCodeConfigurationConflict ClusterIssueCode = "ConfigurationConflict"
ClusterIssueCodeInternalFailure ClusterIssueCode = "InternalFailure"
ClusterIssueCodeResourceLimitExceeded ClusterIssueCode = "ResourceLimitExceeded"
ClusterIssueCodeResourceNotFound ClusterIssueCode = "ResourceNotFound"
)
// Values returns all known values for ClusterIssueCode. 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 (ClusterIssueCode) Values() []ClusterIssueCode {
return []ClusterIssueCode{
"AccessDenied",
"ClusterUnreachable",
"ConfigurationConflict",
"InternalFailure",
"ResourceLimitExceeded",
"ResourceNotFound",
}
}
type ClusterStatus string
// Enum values for ClusterStatus
const (
ClusterStatusCreating ClusterStatus = "CREATING"
ClusterStatusActive ClusterStatus = "ACTIVE"
ClusterStatusDeleting ClusterStatus = "DELETING"
ClusterStatusFailed ClusterStatus = "FAILED"
ClusterStatusUpdating ClusterStatus = "UPDATING"
ClusterStatusPending ClusterStatus = "PENDING"
)
// Values returns all known values for ClusterStatus. 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 (ClusterStatus) Values() []ClusterStatus {
return []ClusterStatus{
"CREATING",
"ACTIVE",
"DELETING",
"FAILED",
"UPDATING",
"PENDING",
}
}
type ConfigStatus string
// Enum values for ConfigStatus
const (
ConfigStatusCreating ConfigStatus = "CREATING"
ConfigStatusDeleting ConfigStatus = "DELETING"
ConfigStatusActive ConfigStatus = "ACTIVE"
)
// Values returns all known values for ConfigStatus. 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 (ConfigStatus) Values() []ConfigStatus {
return []ConfigStatus{
"CREATING",
"DELETING",
"ACTIVE",
}
}
type ConnectorConfigProvider string
// Enum values for ConnectorConfigProvider
const (
ConnectorConfigProviderEksAnywhere ConnectorConfigProvider = "EKS_ANYWHERE"
ConnectorConfigProviderAnthos ConnectorConfigProvider = "ANTHOS"
ConnectorConfigProviderGke ConnectorConfigProvider = "GKE"
ConnectorConfigProviderAks ConnectorConfigProvider = "AKS"
ConnectorConfigProviderOpenshift ConnectorConfigProvider = "OPENSHIFT"
ConnectorConfigProviderTanzu ConnectorConfigProvider = "TANZU"
ConnectorConfigProviderRancher ConnectorConfigProvider = "RANCHER"
ConnectorConfigProviderEc2 ConnectorConfigProvider = "EC2"
ConnectorConfigProviderOther ConnectorConfigProvider = "OTHER"
)
// Values returns all known values for ConnectorConfigProvider. 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 (ConnectorConfigProvider) Values() []ConnectorConfigProvider {
return []ConnectorConfigProvider{
"EKS_ANYWHERE",
"ANTHOS",
"GKE",
"AKS",
"OPENSHIFT",
"TANZU",
"RANCHER",
"EC2",
"OTHER",
}
}
type ErrorCode string
// Enum values for ErrorCode
const (
ErrorCodeSubnetNotFound ErrorCode = "SubnetNotFound"
ErrorCodeSecurityGroupNotFound ErrorCode = "SecurityGroupNotFound"
ErrorCodeEniLimitReached ErrorCode = "EniLimitReached"
ErrorCodeIpNotAvailable ErrorCode = "IpNotAvailable"
ErrorCodeAccessDenied ErrorCode = "AccessDenied"
ErrorCodeOperationNotPermitted ErrorCode = "OperationNotPermitted"
ErrorCodeVpcIdNotFound ErrorCode = "VpcIdNotFound"
ErrorCodeUnknown ErrorCode = "Unknown"
ErrorCodeNodeCreationFailure ErrorCode = "NodeCreationFailure"
ErrorCodePodEvictionFailure ErrorCode = "PodEvictionFailure"
ErrorCodeInsufficientFreeAddresses ErrorCode = "InsufficientFreeAddresses"
ErrorCodeClusterUnreachable ErrorCode = "ClusterUnreachable"
ErrorCodeInsufficientNumberOfReplicas ErrorCode = "InsufficientNumberOfReplicas"
ErrorCodeConfigurationConflict ErrorCode = "ConfigurationConflict"
ErrorCodeAdmissionRequestDenied ErrorCode = "AdmissionRequestDenied"
ErrorCodeUnsupportedAddonModification ErrorCode = "UnsupportedAddonModification"
ErrorCodeK8sResourceNotFound ErrorCode = "K8sResourceNotFound"
)
// Values returns all known values for ErrorCode. 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 (ErrorCode) Values() []ErrorCode {
return []ErrorCode{
"SubnetNotFound",
"SecurityGroupNotFound",
"EniLimitReached",
"IpNotAvailable",
"AccessDenied",
"OperationNotPermitted",
"VpcIdNotFound",
"Unknown",
"NodeCreationFailure",
"PodEvictionFailure",
"InsufficientFreeAddresses",
"ClusterUnreachable",
"InsufficientNumberOfReplicas",
"ConfigurationConflict",
"AdmissionRequestDenied",
"UnsupportedAddonModification",
"K8sResourceNotFound",
}
}
type FargateProfileStatus string
// Enum values for FargateProfileStatus
const (
FargateProfileStatusCreating FargateProfileStatus = "CREATING"
FargateProfileStatusActive FargateProfileStatus = "ACTIVE"
FargateProfileStatusDeleting FargateProfileStatus = "DELETING"
FargateProfileStatusCreateFailed FargateProfileStatus = "CREATE_FAILED"
FargateProfileStatusDeleteFailed FargateProfileStatus = "DELETE_FAILED"
)
// Values returns all known values for FargateProfileStatus. 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 (FargateProfileStatus) Values() []FargateProfileStatus {
return []FargateProfileStatus{
"CREATING",
"ACTIVE",
"DELETING",
"CREATE_FAILED",
"DELETE_FAILED",
}
}
type IpFamily string
// Enum values for IpFamily
const (
IpFamilyIpv4 IpFamily = "ipv4"
IpFamilyIpv6 IpFamily = "ipv6"
)
// Values returns all known values for IpFamily. 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 (IpFamily) Values() []IpFamily {
return []IpFamily{
"ipv4",
"ipv6",
}
}
type LogType string
// Enum values for LogType
const (
LogTypeApi LogType = "api"
LogTypeAudit LogType = "audit"
LogTypeAuthenticator LogType = "authenticator"
LogTypeControllerManager LogType = "controllerManager"
LogTypeScheduler LogType = "scheduler"
)
// 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{
"api",
"audit",
"authenticator",
"controllerManager",
"scheduler",
}
}
type NodegroupIssueCode string
// Enum values for NodegroupIssueCode
const (
NodegroupIssueCodeAutoScalingGroupNotFound NodegroupIssueCode = "AutoScalingGroupNotFound"
NodegroupIssueCodeAutoScalingGroupInvalidConfiguration NodegroupIssueCode = "AutoScalingGroupInvalidConfiguration"
NodegroupIssueCodeEc2SecurityGroupNotFound NodegroupIssueCode = "Ec2SecurityGroupNotFound"
NodegroupIssueCodeEc2SecurityGroupDeletionFailure NodegroupIssueCode = "Ec2SecurityGroupDeletionFailure"
NodegroupIssueCodeEc2LaunchTemplateNotFound NodegroupIssueCode = "Ec2LaunchTemplateNotFound"
NodegroupIssueCodeEc2LaunchTemplateVersionMismatch NodegroupIssueCode = "Ec2LaunchTemplateVersionMismatch"
NodegroupIssueCodeEc2SubnetNotFound NodegroupIssueCode = "Ec2SubnetNotFound"
NodegroupIssueCodeEc2SubnetInvalidConfiguration NodegroupIssueCode = "Ec2SubnetInvalidConfiguration"
NodegroupIssueCodeIamInstanceProfileNotFound NodegroupIssueCode = "IamInstanceProfileNotFound"
NodegroupIssueCodeIamLimitExceeded NodegroupIssueCode = "IamLimitExceeded"
NodegroupIssueCodeIamNodeRoleNotFound NodegroupIssueCode = "IamNodeRoleNotFound"
NodegroupIssueCodeNodeCreationFailure NodegroupIssueCode = "NodeCreationFailure"
NodegroupIssueCodeAsgInstanceLaunchFailures NodegroupIssueCode = "AsgInstanceLaunchFailures"
NodegroupIssueCodeInstanceLimitExceeded NodegroupIssueCode = "InstanceLimitExceeded"
NodegroupIssueCodeInsufficientFreeAddresses NodegroupIssueCode = "InsufficientFreeAddresses"
NodegroupIssueCodeAccessDenied NodegroupIssueCode = "AccessDenied"
NodegroupIssueCodeInternalFailure NodegroupIssueCode = "InternalFailure"
NodegroupIssueCodeClusterUnreachable NodegroupIssueCode = "ClusterUnreachable"
NodegroupIssueCodeEc2SubnetMissingIpv6Assignment NodegroupIssueCode = "Ec2SubnetMissingIpv6Assignment"
)
// Values returns all known values for NodegroupIssueCode. 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 (NodegroupIssueCode) Values() []NodegroupIssueCode {
return []NodegroupIssueCode{
"AutoScalingGroupNotFound",
"AutoScalingGroupInvalidConfiguration",
"Ec2SecurityGroupNotFound",
"Ec2SecurityGroupDeletionFailure",
"Ec2LaunchTemplateNotFound",
"Ec2LaunchTemplateVersionMismatch",
"Ec2SubnetNotFound",
"Ec2SubnetInvalidConfiguration",
"IamInstanceProfileNotFound",
"IamLimitExceeded",
"IamNodeRoleNotFound",
"NodeCreationFailure",
"AsgInstanceLaunchFailures",
"InstanceLimitExceeded",
"InsufficientFreeAddresses",
"AccessDenied",
"InternalFailure",
"ClusterUnreachable",
"Ec2SubnetMissingIpv6Assignment",
}
}
type NodegroupStatus string
// Enum values for NodegroupStatus
const (
NodegroupStatusCreating NodegroupStatus = "CREATING"
NodegroupStatusActive NodegroupStatus = "ACTIVE"
NodegroupStatusUpdating NodegroupStatus = "UPDATING"
NodegroupStatusDeleting NodegroupStatus = "DELETING"
NodegroupStatusCreateFailed NodegroupStatus = "CREATE_FAILED"
NodegroupStatusDeleteFailed NodegroupStatus = "DELETE_FAILED"
NodegroupStatusDegraded NodegroupStatus = "DEGRADED"
)
// Values returns all known values for NodegroupStatus. 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 (NodegroupStatus) Values() []NodegroupStatus {
return []NodegroupStatus{
"CREATING",
"ACTIVE",
"UPDATING",
"DELETING",
"CREATE_FAILED",
"DELETE_FAILED",
"DEGRADED",
}
}
type ResolveConflicts string
// Enum values for ResolveConflicts
const (
ResolveConflictsOverwrite ResolveConflicts = "OVERWRITE"
ResolveConflictsNone ResolveConflicts = "NONE"
ResolveConflictsPreserve ResolveConflicts = "PRESERVE"
)
// Values returns all known values for ResolveConflicts. 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 (ResolveConflicts) Values() []ResolveConflicts {
return []ResolveConflicts{
"OVERWRITE",
"NONE",
"PRESERVE",
}
}
type TaintEffect string
// Enum values for TaintEffect
const (
TaintEffectNoSchedule TaintEffect = "NO_SCHEDULE"
TaintEffectNoExecute TaintEffect = "NO_EXECUTE"
TaintEffectPreferNoSchedule TaintEffect = "PREFER_NO_SCHEDULE"
)
// Values returns all known values for TaintEffect. 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 (TaintEffect) Values() []TaintEffect {
return []TaintEffect{
"NO_SCHEDULE",
"NO_EXECUTE",
"PREFER_NO_SCHEDULE",
}
}
type UpdateParamType string
// Enum values for UpdateParamType
const (
UpdateParamTypeVersion UpdateParamType = "Version"
UpdateParamTypePlatformVersion UpdateParamType = "PlatformVersion"
UpdateParamTypeEndpointPrivateAccess UpdateParamType = "EndpointPrivateAccess"
UpdateParamTypeEndpointPublicAccess UpdateParamType = "EndpointPublicAccess"
UpdateParamTypeClusterLogging UpdateParamType = "ClusterLogging"
UpdateParamTypeDesiredSize UpdateParamType = "DesiredSize"
UpdateParamTypeLabelsToAdd UpdateParamType = "LabelsToAdd"
UpdateParamTypeLabelsToRemove UpdateParamType = "LabelsToRemove"
UpdateParamTypeTaintsToAdd UpdateParamType = "TaintsToAdd"
UpdateParamTypeTaintsToRemove UpdateParamType = "TaintsToRemove"
UpdateParamTypeMaxSize UpdateParamType = "MaxSize"
UpdateParamTypeMinSize UpdateParamType = "MinSize"
UpdateParamTypeReleaseVersion UpdateParamType = "ReleaseVersion"
UpdateParamTypePublicAccessCidrs UpdateParamType = "PublicAccessCidrs"
UpdateParamTypeLaunchTemplateName UpdateParamType = "LaunchTemplateName"
UpdateParamTypeLaunchTemplateVersion UpdateParamType = "LaunchTemplateVersion"
UpdateParamTypeIdentityProviderConfig UpdateParamType = "IdentityProviderConfig"
UpdateParamTypeEncryptionConfig UpdateParamType = "EncryptionConfig"
UpdateParamTypeAddonVersion UpdateParamType = "AddonVersion"
UpdateParamTypeServiceAccountRoleArn UpdateParamType = "ServiceAccountRoleArn"
UpdateParamTypeResolveConflicts UpdateParamType = "ResolveConflicts"
UpdateParamTypeMaxUnavailable UpdateParamType = "MaxUnavailable"
UpdateParamTypeMaxUnavailablePercentage UpdateParamType = "MaxUnavailablePercentage"
)
// Values returns all known values for UpdateParamType. 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 (UpdateParamType) Values() []UpdateParamType {
return []UpdateParamType{
"Version",
"PlatformVersion",
"EndpointPrivateAccess",
"EndpointPublicAccess",
"ClusterLogging",
"DesiredSize",
"LabelsToAdd",
"LabelsToRemove",
"TaintsToAdd",
"TaintsToRemove",
"MaxSize",
"MinSize",
"ReleaseVersion",
"PublicAccessCidrs",
"LaunchTemplateName",
"LaunchTemplateVersion",
"IdentityProviderConfig",
"EncryptionConfig",
"AddonVersion",
"ServiceAccountRoleArn",
"ResolveConflicts",
"MaxUnavailable",
"MaxUnavailablePercentage",
}
}
type UpdateStatus string
// Enum values for UpdateStatus
const (
UpdateStatusInProgress UpdateStatus = "InProgress"
UpdateStatusFailed UpdateStatus = "Failed"
UpdateStatusCancelled UpdateStatus = "Cancelled"
UpdateStatusSuccessful UpdateStatus = "Successful"
)
// Values returns all known values for UpdateStatus. 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 (UpdateStatus) Values() []UpdateStatus {
return []UpdateStatus{
"InProgress",
"Failed",
"Cancelled",
"Successful",
}
}
type UpdateType string
// Enum values for UpdateType
const (
UpdateTypeVersionUpdate UpdateType = "VersionUpdate"
UpdateTypeEndpointAccessUpdate UpdateType = "EndpointAccessUpdate"
UpdateTypeLoggingUpdate UpdateType = "LoggingUpdate"
UpdateTypeConfigUpdate UpdateType = "ConfigUpdate"
UpdateTypeAssociateIdentityProviderConfig UpdateType = "AssociateIdentityProviderConfig"
UpdateTypeDisassociateIdentityProviderConfig UpdateType = "DisassociateIdentityProviderConfig"
UpdateTypeAssociateEncryptionConfig UpdateType = "AssociateEncryptionConfig"
UpdateTypeAddonUpdate UpdateType = "AddonUpdate"
)
// Values returns all known values for UpdateType. 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 (UpdateType) Values() []UpdateType {
return []UpdateType{
"VersionUpdate",
"EndpointAccessUpdate",
"LoggingUpdate",
"ConfigUpdate",
"AssociateIdentityProviderConfig",
"DisassociateIdentityProviderConfig",
"AssociateEncryptionConfig",
"AddonUpdate",
}
}