1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type AddonIssueCode string 6 7// Enum values for AddonIssueCode 8const ( 9 AddonIssueCodeAccessDenied AddonIssueCode = "AccessDenied" 10 AddonIssueCodeInternalFailure AddonIssueCode = "InternalFailure" 11 AddonIssueCodeClusterUnreachable AddonIssueCode = "ClusterUnreachable" 12 AddonIssueCodeInsufficientNumberOfReplicas AddonIssueCode = "InsufficientNumberOfReplicas" 13 AddonIssueCodeConfigurationConflict AddonIssueCode = "ConfigurationConflict" 14 AddonIssueCodeAdmissionRequestDenied AddonIssueCode = "AdmissionRequestDenied" 15) 16 17// Values returns all known values for AddonIssueCode. Note that this can be 18// expanded in the future, and so it is only as up to date as the client. The 19// ordering of this slice is not guaranteed to be stable across updates. 20func (AddonIssueCode) Values() []AddonIssueCode { 21 return []AddonIssueCode{ 22 "AccessDenied", 23 "InternalFailure", 24 "ClusterUnreachable", 25 "InsufficientNumberOfReplicas", 26 "ConfigurationConflict", 27 "AdmissionRequestDenied", 28 } 29} 30 31type AddonStatus string 32 33// Enum values for AddonStatus 34const ( 35 AddonStatusCreating AddonStatus = "CREATING" 36 AddonStatusActive AddonStatus = "ACTIVE" 37 AddonStatusCreateFailed AddonStatus = "CREATE_FAILED" 38 AddonStatusUpdating AddonStatus = "UPDATING" 39 AddonStatusDeleting AddonStatus = "DELETING" 40 AddonStatusDeleteFailed AddonStatus = "DELETE_FAILED" 41 AddonStatusDegraded AddonStatus = "DEGRADED" 42) 43 44// Values returns all known values for AddonStatus. Note that this can be expanded 45// in the future, and so it is only as up to date as the client. The ordering of 46// this slice is not guaranteed to be stable across updates. 47func (AddonStatus) Values() []AddonStatus { 48 return []AddonStatus{ 49 "CREATING", 50 "ACTIVE", 51 "CREATE_FAILED", 52 "UPDATING", 53 "DELETING", 54 "DELETE_FAILED", 55 "DEGRADED", 56 } 57} 58 59type AMITypes string 60 61// Enum values for AMITypes 62const ( 63 AMITypesAl2X8664 AMITypes = "AL2_x86_64" 64 AMITypesAl2X8664Gpu AMITypes = "AL2_x86_64_GPU" 65 AMITypesAl2Arm64 AMITypes = "AL2_ARM_64" 66 AMITypesCustom AMITypes = "CUSTOM" 67) 68 69// Values returns all known values for AMITypes. Note that this can be expanded in 70// the future, and so it is only as up to date as the client. The ordering of this 71// slice is not guaranteed to be stable across updates. 72func (AMITypes) Values() []AMITypes { 73 return []AMITypes{ 74 "AL2_x86_64", 75 "AL2_x86_64_GPU", 76 "AL2_ARM_64", 77 "CUSTOM", 78 } 79} 80 81type CapacityTypes string 82 83// Enum values for CapacityTypes 84const ( 85 CapacityTypesOnDemand CapacityTypes = "ON_DEMAND" 86 CapacityTypesSpot CapacityTypes = "SPOT" 87) 88 89// Values returns all known values for CapacityTypes. Note that this can be 90// expanded in the future, and so it is only as up to date as the client. The 91// ordering of this slice is not guaranteed to be stable across updates. 92func (CapacityTypes) Values() []CapacityTypes { 93 return []CapacityTypes{ 94 "ON_DEMAND", 95 "SPOT", 96 } 97} 98 99type ClusterStatus string 100 101// Enum values for ClusterStatus 102const ( 103 ClusterStatusCreating ClusterStatus = "CREATING" 104 ClusterStatusActive ClusterStatus = "ACTIVE" 105 ClusterStatusDeleting ClusterStatus = "DELETING" 106 ClusterStatusFailed ClusterStatus = "FAILED" 107 ClusterStatusUpdating ClusterStatus = "UPDATING" 108) 109 110// Values returns all known values for ClusterStatus. Note that this can be 111// expanded in the future, and so it is only as up to date as the client. The 112// ordering of this slice is not guaranteed to be stable across updates. 113func (ClusterStatus) Values() []ClusterStatus { 114 return []ClusterStatus{ 115 "CREATING", 116 "ACTIVE", 117 "DELETING", 118 "FAILED", 119 "UPDATING", 120 } 121} 122 123type ConfigStatus string 124 125// Enum values for ConfigStatus 126const ( 127 ConfigStatusCreating ConfigStatus = "CREATING" 128 ConfigStatusDeleting ConfigStatus = "DELETING" 129 ConfigStatusActive ConfigStatus = "ACTIVE" 130) 131 132// Values returns all known values for ConfigStatus. Note that this can be expanded 133// in the future, and so it is only as up to date as the client. The ordering of 134// this slice is not guaranteed to be stable across updates. 135func (ConfigStatus) Values() []ConfigStatus { 136 return []ConfigStatus{ 137 "CREATING", 138 "DELETING", 139 "ACTIVE", 140 } 141} 142 143type ErrorCode string 144 145// Enum values for ErrorCode 146const ( 147 ErrorCodeSubnetNotFound ErrorCode = "SubnetNotFound" 148 ErrorCodeSecurityGroupNotFound ErrorCode = "SecurityGroupNotFound" 149 ErrorCodeEniLimitReached ErrorCode = "EniLimitReached" 150 ErrorCodeIpNotAvailable ErrorCode = "IpNotAvailable" 151 ErrorCodeAccessDenied ErrorCode = "AccessDenied" 152 ErrorCodeOperationNotPermitted ErrorCode = "OperationNotPermitted" 153 ErrorCodeVpcIdNotFound ErrorCode = "VpcIdNotFound" 154 ErrorCodeUnknown ErrorCode = "Unknown" 155 ErrorCodeNodeCreationFailure ErrorCode = "NodeCreationFailure" 156 ErrorCodePodEvictionFailure ErrorCode = "PodEvictionFailure" 157 ErrorCodeInsufficientFreeAddresses ErrorCode = "InsufficientFreeAddresses" 158 ErrorCodeClusterUnreachable ErrorCode = "ClusterUnreachable" 159 ErrorCodeInsufficientNumberOfReplicas ErrorCode = "InsufficientNumberOfReplicas" 160 ErrorCodeConfigurationConflict ErrorCode = "ConfigurationConflict" 161 ErrorCodeAdmissionRequestDenied ErrorCode = "AdmissionRequestDenied" 162) 163 164// Values returns all known values for ErrorCode. Note that this can be expanded in 165// the future, and so it is only as up to date as the client. The ordering of this 166// slice is not guaranteed to be stable across updates. 167func (ErrorCode) Values() []ErrorCode { 168 return []ErrorCode{ 169 "SubnetNotFound", 170 "SecurityGroupNotFound", 171 "EniLimitReached", 172 "IpNotAvailable", 173 "AccessDenied", 174 "OperationNotPermitted", 175 "VpcIdNotFound", 176 "Unknown", 177 "NodeCreationFailure", 178 "PodEvictionFailure", 179 "InsufficientFreeAddresses", 180 "ClusterUnreachable", 181 "InsufficientNumberOfReplicas", 182 "ConfigurationConflict", 183 "AdmissionRequestDenied", 184 } 185} 186 187type FargateProfileStatus string 188 189// Enum values for FargateProfileStatus 190const ( 191 FargateProfileStatusCreating FargateProfileStatus = "CREATING" 192 FargateProfileStatusActive FargateProfileStatus = "ACTIVE" 193 FargateProfileStatusDeleting FargateProfileStatus = "DELETING" 194 FargateProfileStatusCreateFailed FargateProfileStatus = "CREATE_FAILED" 195 FargateProfileStatusDeleteFailed FargateProfileStatus = "DELETE_FAILED" 196) 197 198// Values returns all known values for FargateProfileStatus. Note that this can be 199// expanded in the future, and so it is only as up to date as the client. The 200// ordering of this slice is not guaranteed to be stable across updates. 201func (FargateProfileStatus) Values() []FargateProfileStatus { 202 return []FargateProfileStatus{ 203 "CREATING", 204 "ACTIVE", 205 "DELETING", 206 "CREATE_FAILED", 207 "DELETE_FAILED", 208 } 209} 210 211type LogType string 212 213// Enum values for LogType 214const ( 215 LogTypeApi LogType = "api" 216 LogTypeAudit LogType = "audit" 217 LogTypeAuthenticator LogType = "authenticator" 218 LogTypeControllerManager LogType = "controllerManager" 219 LogTypeScheduler LogType = "scheduler" 220) 221 222// Values returns all known values for LogType. Note that this can be expanded in 223// the future, and so it is only as up to date as the client. The ordering of this 224// slice is not guaranteed to be stable across updates. 225func (LogType) Values() []LogType { 226 return []LogType{ 227 "api", 228 "audit", 229 "authenticator", 230 "controllerManager", 231 "scheduler", 232 } 233} 234 235type NodegroupIssueCode string 236 237// Enum values for NodegroupIssueCode 238const ( 239 NodegroupIssueCodeAutoScalingGroupNotFound NodegroupIssueCode = "AutoScalingGroupNotFound" 240 NodegroupIssueCodeAutoScalingGroupInvalidConfiguration NodegroupIssueCode = "AutoScalingGroupInvalidConfiguration" 241 NodegroupIssueCodeEc2SecurityGroupNotFound NodegroupIssueCode = "Ec2SecurityGroupNotFound" 242 NodegroupIssueCodeEc2SecurityGroupDeletionFailure NodegroupIssueCode = "Ec2SecurityGroupDeletionFailure" 243 NodegroupIssueCodeEc2LaunchTemplateNotFound NodegroupIssueCode = "Ec2LaunchTemplateNotFound" 244 NodegroupIssueCodeEc2LaunchTemplateVersionMismatch NodegroupIssueCode = "Ec2LaunchTemplateVersionMismatch" 245 NodegroupIssueCodeEc2SubnetNotFound NodegroupIssueCode = "Ec2SubnetNotFound" 246 NodegroupIssueCodeEc2SubnetInvalidConfiguration NodegroupIssueCode = "Ec2SubnetInvalidConfiguration" 247 NodegroupIssueCodeIamInstanceProfileNotFound NodegroupIssueCode = "IamInstanceProfileNotFound" 248 NodegroupIssueCodeIamLimitExceeded NodegroupIssueCode = "IamLimitExceeded" 249 NodegroupIssueCodeIamNodeRoleNotFound NodegroupIssueCode = "IamNodeRoleNotFound" 250 NodegroupIssueCodeNodeCreationFailure NodegroupIssueCode = "NodeCreationFailure" 251 NodegroupIssueCodeAsgInstanceLaunchFailures NodegroupIssueCode = "AsgInstanceLaunchFailures" 252 NodegroupIssueCodeInstanceLimitExceeded NodegroupIssueCode = "InstanceLimitExceeded" 253 NodegroupIssueCodeInsufficientFreeAddresses NodegroupIssueCode = "InsufficientFreeAddresses" 254 NodegroupIssueCodeAccessDenied NodegroupIssueCode = "AccessDenied" 255 NodegroupIssueCodeInternalFailure NodegroupIssueCode = "InternalFailure" 256 NodegroupIssueCodeClusterUnreachable NodegroupIssueCode = "ClusterUnreachable" 257) 258 259// Values returns all known values for NodegroupIssueCode. Note that this can be 260// expanded in the future, and so it is only as up to date as the client. The 261// ordering of this slice is not guaranteed to be stable across updates. 262func (NodegroupIssueCode) Values() []NodegroupIssueCode { 263 return []NodegroupIssueCode{ 264 "AutoScalingGroupNotFound", 265 "AutoScalingGroupInvalidConfiguration", 266 "Ec2SecurityGroupNotFound", 267 "Ec2SecurityGroupDeletionFailure", 268 "Ec2LaunchTemplateNotFound", 269 "Ec2LaunchTemplateVersionMismatch", 270 "Ec2SubnetNotFound", 271 "Ec2SubnetInvalidConfiguration", 272 "IamInstanceProfileNotFound", 273 "IamLimitExceeded", 274 "IamNodeRoleNotFound", 275 "NodeCreationFailure", 276 "AsgInstanceLaunchFailures", 277 "InstanceLimitExceeded", 278 "InsufficientFreeAddresses", 279 "AccessDenied", 280 "InternalFailure", 281 "ClusterUnreachable", 282 } 283} 284 285type NodegroupStatus string 286 287// Enum values for NodegroupStatus 288const ( 289 NodegroupStatusCreating NodegroupStatus = "CREATING" 290 NodegroupStatusActive NodegroupStatus = "ACTIVE" 291 NodegroupStatusUpdating NodegroupStatus = "UPDATING" 292 NodegroupStatusDeleting NodegroupStatus = "DELETING" 293 NodegroupStatusCreateFailed NodegroupStatus = "CREATE_FAILED" 294 NodegroupStatusDeleteFailed NodegroupStatus = "DELETE_FAILED" 295 NodegroupStatusDegraded NodegroupStatus = "DEGRADED" 296) 297 298// Values returns all known values for NodegroupStatus. Note that this can be 299// expanded in the future, and so it is only as up to date as the client. The 300// ordering of this slice is not guaranteed to be stable across updates. 301func (NodegroupStatus) Values() []NodegroupStatus { 302 return []NodegroupStatus{ 303 "CREATING", 304 "ACTIVE", 305 "UPDATING", 306 "DELETING", 307 "CREATE_FAILED", 308 "DELETE_FAILED", 309 "DEGRADED", 310 } 311} 312 313type ResolveConflicts string 314 315// Enum values for ResolveConflicts 316const ( 317 ResolveConflictsOverwrite ResolveConflicts = "OVERWRITE" 318 ResolveConflictsNone ResolveConflicts = "NONE" 319) 320 321// Values returns all known values for ResolveConflicts. Note that this can be 322// expanded in the future, and so it is only as up to date as the client. The 323// ordering of this slice is not guaranteed to be stable across updates. 324func (ResolveConflicts) Values() []ResolveConflicts { 325 return []ResolveConflicts{ 326 "OVERWRITE", 327 "NONE", 328 } 329} 330 331type TaintEffect string 332 333// Enum values for TaintEffect 334const ( 335 TaintEffectNoSchedule TaintEffect = "NO_SCHEDULE" 336 TaintEffectNoExecute TaintEffect = "NO_EXECUTE" 337 TaintEffectPreferNoSchedule TaintEffect = "PREFER_NO_SCHEDULE" 338) 339 340// Values returns all known values for TaintEffect. Note that this can be expanded 341// in the future, and so it is only as up to date as the client. The ordering of 342// this slice is not guaranteed to be stable across updates. 343func (TaintEffect) Values() []TaintEffect { 344 return []TaintEffect{ 345 "NO_SCHEDULE", 346 "NO_EXECUTE", 347 "PREFER_NO_SCHEDULE", 348 } 349} 350 351type UpdateParamType string 352 353// Enum values for UpdateParamType 354const ( 355 UpdateParamTypeVersion UpdateParamType = "Version" 356 UpdateParamTypePlatformVersion UpdateParamType = "PlatformVersion" 357 UpdateParamTypeEndpointPrivateAccess UpdateParamType = "EndpointPrivateAccess" 358 UpdateParamTypeEndpointPublicAccess UpdateParamType = "EndpointPublicAccess" 359 UpdateParamTypeClusterLogging UpdateParamType = "ClusterLogging" 360 UpdateParamTypeDesiredSize UpdateParamType = "DesiredSize" 361 UpdateParamTypeLabelsToAdd UpdateParamType = "LabelsToAdd" 362 UpdateParamTypeLabelsToRemove UpdateParamType = "LabelsToRemove" 363 UpdateParamTypeTaintsToAdd UpdateParamType = "TaintsToAdd" 364 UpdateParamTypeTaintsToRemove UpdateParamType = "TaintsToRemove" 365 UpdateParamTypeMaxSize UpdateParamType = "MaxSize" 366 UpdateParamTypeMinSize UpdateParamType = "MinSize" 367 UpdateParamTypeReleaseVersion UpdateParamType = "ReleaseVersion" 368 UpdateParamTypePublicAccessCidrs UpdateParamType = "PublicAccessCidrs" 369 UpdateParamTypeLaunchTemplateName UpdateParamType = "LaunchTemplateName" 370 UpdateParamTypeLaunchTemplateVersion UpdateParamType = "LaunchTemplateVersion" 371 UpdateParamTypeIdentityProviderConfig UpdateParamType = "IdentityProviderConfig" 372 UpdateParamTypeEncryptionConfig UpdateParamType = "EncryptionConfig" 373 UpdateParamTypeAddonVersion UpdateParamType = "AddonVersion" 374 UpdateParamTypeServiceAccountRoleArn UpdateParamType = "ServiceAccountRoleArn" 375 UpdateParamTypeResolveConflicts UpdateParamType = "ResolveConflicts" 376) 377 378// Values returns all known values for UpdateParamType. Note that this can be 379// expanded in the future, and so it is only as up to date as the client. The 380// ordering of this slice is not guaranteed to be stable across updates. 381func (UpdateParamType) Values() []UpdateParamType { 382 return []UpdateParamType{ 383 "Version", 384 "PlatformVersion", 385 "EndpointPrivateAccess", 386 "EndpointPublicAccess", 387 "ClusterLogging", 388 "DesiredSize", 389 "LabelsToAdd", 390 "LabelsToRemove", 391 "TaintsToAdd", 392 "TaintsToRemove", 393 "MaxSize", 394 "MinSize", 395 "ReleaseVersion", 396 "PublicAccessCidrs", 397 "LaunchTemplateName", 398 "LaunchTemplateVersion", 399 "IdentityProviderConfig", 400 "EncryptionConfig", 401 "AddonVersion", 402 "ServiceAccountRoleArn", 403 "ResolveConflicts", 404 } 405} 406 407type UpdateStatus string 408 409// Enum values for UpdateStatus 410const ( 411 UpdateStatusInProgress UpdateStatus = "InProgress" 412 UpdateStatusFailed UpdateStatus = "Failed" 413 UpdateStatusCancelled UpdateStatus = "Cancelled" 414 UpdateStatusSuccessful UpdateStatus = "Successful" 415) 416 417// Values returns all known values for UpdateStatus. Note that this can be expanded 418// in the future, and so it is only as up to date as the client. The ordering of 419// this slice is not guaranteed to be stable across updates. 420func (UpdateStatus) Values() []UpdateStatus { 421 return []UpdateStatus{ 422 "InProgress", 423 "Failed", 424 "Cancelled", 425 "Successful", 426 } 427} 428 429type UpdateType string 430 431// Enum values for UpdateType 432const ( 433 UpdateTypeVersionUpdate UpdateType = "VersionUpdate" 434 UpdateTypeEndpointAccessUpdate UpdateType = "EndpointAccessUpdate" 435 UpdateTypeLoggingUpdate UpdateType = "LoggingUpdate" 436 UpdateTypeConfigUpdate UpdateType = "ConfigUpdate" 437 UpdateTypeAssociateIdentityProviderConfig UpdateType = "AssociateIdentityProviderConfig" 438 UpdateTypeDisassociateIdentityProviderConfig UpdateType = "DisassociateIdentityProviderConfig" 439 UpdateTypeAssociateEncryptionConfig UpdateType = "AssociateEncryptionConfig" 440 UpdateTypeAddonUpdate UpdateType = "AddonUpdate" 441) 442 443// Values returns all known values for UpdateType. Note that this can be expanded 444// in the future, and so it is only as up to date as the client. The ordering of 445// this slice is not guaranteed to be stable across updates. 446func (UpdateType) Values() []UpdateType { 447 return []UpdateType{ 448 "VersionUpdate", 449 "EndpointAccessUpdate", 450 "LoggingUpdate", 451 "ConfigUpdate", 452 "AssociateIdentityProviderConfig", 453 "DisassociateIdentityProviderConfig", 454 "AssociateEncryptionConfig", 455 "AddonUpdate", 456 } 457} 458