1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type ActionHistoryStatus string 6 7// Enum values for ActionHistoryStatus 8const ( 9 ActionHistoryStatusCompleted ActionHistoryStatus = "Completed" 10 ActionHistoryStatusFailed ActionHistoryStatus = "Failed" 11 ActionHistoryStatusUnknown ActionHistoryStatus = "Unknown" 12) 13 14// Values returns all known values for ActionHistoryStatus. Note that this can be 15// expanded in the future, and so it is only as up to date as the client. The 16// ordering of this slice is not guaranteed to be stable across updates. 17func (ActionHistoryStatus) Values() []ActionHistoryStatus { 18 return []ActionHistoryStatus{ 19 "Completed", 20 "Failed", 21 "Unknown", 22 } 23} 24 25type ActionStatus string 26 27// Enum values for ActionStatus 28const ( 29 ActionStatusScheduled ActionStatus = "Scheduled" 30 ActionStatusPending ActionStatus = "Pending" 31 ActionStatusRunning ActionStatus = "Running" 32 ActionStatusUnknown ActionStatus = "Unknown" 33) 34 35// Values returns all known values for ActionStatus. Note that this can be expanded 36// in the future, and so it is only as up to date as the client. The ordering of 37// this slice is not guaranteed to be stable across updates. 38func (ActionStatus) Values() []ActionStatus { 39 return []ActionStatus{ 40 "Scheduled", 41 "Pending", 42 "Running", 43 "Unknown", 44 } 45} 46 47type ActionType string 48 49// Enum values for ActionType 50const ( 51 ActionTypeInstanceRefresh ActionType = "InstanceRefresh" 52 ActionTypePlatformUpdate ActionType = "PlatformUpdate" 53 ActionTypeUnknown ActionType = "Unknown" 54) 55 56// Values returns all known values for ActionType. Note that this can be expanded 57// in the future, and so it is only as up to date as the client. The ordering of 58// this slice is not guaranteed to be stable across updates. 59func (ActionType) Values() []ActionType { 60 return []ActionType{ 61 "InstanceRefresh", 62 "PlatformUpdate", 63 "Unknown", 64 } 65} 66 67type ApplicationVersionStatus string 68 69// Enum values for ApplicationVersionStatus 70const ( 71 ApplicationVersionStatusProcessed ApplicationVersionStatus = "Processed" 72 ApplicationVersionStatusUnprocessed ApplicationVersionStatus = "Unprocessed" 73 ApplicationVersionStatusFailed ApplicationVersionStatus = "Failed" 74 ApplicationVersionStatusProcessing ApplicationVersionStatus = "Processing" 75 ApplicationVersionStatusBuilding ApplicationVersionStatus = "Building" 76) 77 78// Values returns all known values for ApplicationVersionStatus. Note that this can 79// be expanded in the future, and so it is only as up to date as the client. The 80// ordering of this slice is not guaranteed to be stable across updates. 81func (ApplicationVersionStatus) Values() []ApplicationVersionStatus { 82 return []ApplicationVersionStatus{ 83 "Processed", 84 "Unprocessed", 85 "Failed", 86 "Processing", 87 "Building", 88 } 89} 90 91type ComputeType string 92 93// Enum values for ComputeType 94const ( 95 ComputeTypeBuildGeneral1Small ComputeType = "BUILD_GENERAL1_SMALL" 96 ComputeTypeBuildGeneral1Medium ComputeType = "BUILD_GENERAL1_MEDIUM" 97 ComputeTypeBuildGeneral1Large ComputeType = "BUILD_GENERAL1_LARGE" 98) 99 100// Values returns all known values for ComputeType. Note that this can be expanded 101// in the future, and so it is only as up to date as the client. The ordering of 102// this slice is not guaranteed to be stable across updates. 103func (ComputeType) Values() []ComputeType { 104 return []ComputeType{ 105 "BUILD_GENERAL1_SMALL", 106 "BUILD_GENERAL1_MEDIUM", 107 "BUILD_GENERAL1_LARGE", 108 } 109} 110 111type ConfigurationDeploymentStatus string 112 113// Enum values for ConfigurationDeploymentStatus 114const ( 115 ConfigurationDeploymentStatusDeployed ConfigurationDeploymentStatus = "deployed" 116 ConfigurationDeploymentStatusPending ConfigurationDeploymentStatus = "pending" 117 ConfigurationDeploymentStatusFailed ConfigurationDeploymentStatus = "failed" 118) 119 120// Values returns all known values for ConfigurationDeploymentStatus. Note that 121// this can be expanded in the future, and so it is only as up to date as the 122// client. The ordering of this slice is not guaranteed to be stable across 123// updates. 124func (ConfigurationDeploymentStatus) Values() []ConfigurationDeploymentStatus { 125 return []ConfigurationDeploymentStatus{ 126 "deployed", 127 "pending", 128 "failed", 129 } 130} 131 132type ConfigurationOptionValueType string 133 134// Enum values for ConfigurationOptionValueType 135const ( 136 ConfigurationOptionValueTypeScalar ConfigurationOptionValueType = "Scalar" 137 ConfigurationOptionValueTypeList ConfigurationOptionValueType = "List" 138) 139 140// Values returns all known values for ConfigurationOptionValueType. Note that this 141// can be expanded in the future, and so it is only as up to date as the client. 142// The ordering of this slice is not guaranteed to be stable across updates. 143func (ConfigurationOptionValueType) Values() []ConfigurationOptionValueType { 144 return []ConfigurationOptionValueType{ 145 "Scalar", 146 "List", 147 } 148} 149 150type EnvironmentHealth string 151 152// Enum values for EnvironmentHealth 153const ( 154 EnvironmentHealthGreen EnvironmentHealth = "Green" 155 EnvironmentHealthYellow EnvironmentHealth = "Yellow" 156 EnvironmentHealthRed EnvironmentHealth = "Red" 157 EnvironmentHealthGrey EnvironmentHealth = "Grey" 158) 159 160// Values returns all known values for EnvironmentHealth. Note that this can be 161// expanded in the future, and so it is only as up to date as the client. The 162// ordering of this slice is not guaranteed to be stable across updates. 163func (EnvironmentHealth) Values() []EnvironmentHealth { 164 return []EnvironmentHealth{ 165 "Green", 166 "Yellow", 167 "Red", 168 "Grey", 169 } 170} 171 172type EnvironmentHealthAttribute string 173 174// Enum values for EnvironmentHealthAttribute 175const ( 176 EnvironmentHealthAttributeStatus EnvironmentHealthAttribute = "Status" 177 EnvironmentHealthAttributeColor EnvironmentHealthAttribute = "Color" 178 EnvironmentHealthAttributeCauses EnvironmentHealthAttribute = "Causes" 179 EnvironmentHealthAttributeApplicationMetrics EnvironmentHealthAttribute = "ApplicationMetrics" 180 EnvironmentHealthAttributeInstancesHealth EnvironmentHealthAttribute = "InstancesHealth" 181 EnvironmentHealthAttributeAll EnvironmentHealthAttribute = "All" 182 EnvironmentHealthAttributeHealthStatus EnvironmentHealthAttribute = "HealthStatus" 183 EnvironmentHealthAttributeRefreshedAt EnvironmentHealthAttribute = "RefreshedAt" 184) 185 186// Values returns all known values for EnvironmentHealthAttribute. Note that this 187// can be expanded in the future, and so it is only as up to date as the client. 188// The ordering of this slice is not guaranteed to be stable across updates. 189func (EnvironmentHealthAttribute) Values() []EnvironmentHealthAttribute { 190 return []EnvironmentHealthAttribute{ 191 "Status", 192 "Color", 193 "Causes", 194 "ApplicationMetrics", 195 "InstancesHealth", 196 "All", 197 "HealthStatus", 198 "RefreshedAt", 199 } 200} 201 202type EnvironmentHealthStatus string 203 204// Enum values for EnvironmentHealthStatus 205const ( 206 EnvironmentHealthStatusNoData EnvironmentHealthStatus = "NoData" 207 EnvironmentHealthStatusUnknown EnvironmentHealthStatus = "Unknown" 208 EnvironmentHealthStatusPending EnvironmentHealthStatus = "Pending" 209 EnvironmentHealthStatusOk EnvironmentHealthStatus = "Ok" 210 EnvironmentHealthStatusInfo EnvironmentHealthStatus = "Info" 211 EnvironmentHealthStatusWarning EnvironmentHealthStatus = "Warning" 212 EnvironmentHealthStatusDegraded EnvironmentHealthStatus = "Degraded" 213 EnvironmentHealthStatusSevere EnvironmentHealthStatus = "Severe" 214 EnvironmentHealthStatusSuspended EnvironmentHealthStatus = "Suspended" 215) 216 217// Values returns all known values for EnvironmentHealthStatus. Note that this can 218// be expanded in the future, and so it is only as up to date as the client. The 219// ordering of this slice is not guaranteed to be stable across updates. 220func (EnvironmentHealthStatus) Values() []EnvironmentHealthStatus { 221 return []EnvironmentHealthStatus{ 222 "NoData", 223 "Unknown", 224 "Pending", 225 "Ok", 226 "Info", 227 "Warning", 228 "Degraded", 229 "Severe", 230 "Suspended", 231 } 232} 233 234type EnvironmentInfoType string 235 236// Enum values for EnvironmentInfoType 237const ( 238 EnvironmentInfoTypeTail EnvironmentInfoType = "tail" 239 EnvironmentInfoTypeBundle EnvironmentInfoType = "bundle" 240) 241 242// Values returns all known values for EnvironmentInfoType. Note that this can be 243// expanded in the future, and so it is only as up to date as the client. The 244// ordering of this slice is not guaranteed to be stable across updates. 245func (EnvironmentInfoType) Values() []EnvironmentInfoType { 246 return []EnvironmentInfoType{ 247 "tail", 248 "bundle", 249 } 250} 251 252type EnvironmentStatus string 253 254// Enum values for EnvironmentStatus 255const ( 256 EnvironmentStatusAborting EnvironmentStatus = "Aborting" 257 EnvironmentStatusLaunching EnvironmentStatus = "Launching" 258 EnvironmentStatusUpdating EnvironmentStatus = "Updating" 259 EnvironmentStatusLinkingFrom EnvironmentStatus = "LinkingFrom" 260 EnvironmentStatusLinkingTo EnvironmentStatus = "LinkingTo" 261 EnvironmentStatusReady EnvironmentStatus = "Ready" 262 EnvironmentStatusTerminating EnvironmentStatus = "Terminating" 263 EnvironmentStatusTerminated EnvironmentStatus = "Terminated" 264) 265 266// Values returns all known values for EnvironmentStatus. Note that this can be 267// expanded in the future, and so it is only as up to date as the client. The 268// ordering of this slice is not guaranteed to be stable across updates. 269func (EnvironmentStatus) Values() []EnvironmentStatus { 270 return []EnvironmentStatus{ 271 "Aborting", 272 "Launching", 273 "Updating", 274 "LinkingFrom", 275 "LinkingTo", 276 "Ready", 277 "Terminating", 278 "Terminated", 279 } 280} 281 282type EventSeverity string 283 284// Enum values for EventSeverity 285const ( 286 EventSeverityTrace EventSeverity = "TRACE" 287 EventSeverityDebug EventSeverity = "DEBUG" 288 EventSeverityInfo EventSeverity = "INFO" 289 EventSeverityWarn EventSeverity = "WARN" 290 EventSeverityError EventSeverity = "ERROR" 291 EventSeverityFatal EventSeverity = "FATAL" 292) 293 294// Values returns all known values for EventSeverity. Note that this can be 295// expanded in the future, and so it is only as up to date as the client. The 296// ordering of this slice is not guaranteed to be stable across updates. 297func (EventSeverity) Values() []EventSeverity { 298 return []EventSeverity{ 299 "TRACE", 300 "DEBUG", 301 "INFO", 302 "WARN", 303 "ERROR", 304 "FATAL", 305 } 306} 307 308type FailureType string 309 310// Enum values for FailureType 311const ( 312 FailureTypeUpdateCancelled FailureType = "UpdateCancelled" 313 FailureTypeCancellationFailed FailureType = "CancellationFailed" 314 FailureTypeRollbackFailed FailureType = "RollbackFailed" 315 FailureTypeRollbackSuccessful FailureType = "RollbackSuccessful" 316 FailureTypeInternalFailure FailureType = "InternalFailure" 317 FailureTypeInvalidEnvironmentState FailureType = "InvalidEnvironmentState" 318 FailureTypePermissionsError FailureType = "PermissionsError" 319) 320 321// Values returns all known values for FailureType. Note that this can be expanded 322// in the future, and so it is only as up to date as the client. The ordering of 323// this slice is not guaranteed to be stable across updates. 324func (FailureType) Values() []FailureType { 325 return []FailureType{ 326 "UpdateCancelled", 327 "CancellationFailed", 328 "RollbackFailed", 329 "RollbackSuccessful", 330 "InternalFailure", 331 "InvalidEnvironmentState", 332 "PermissionsError", 333 } 334} 335 336type InstancesHealthAttribute string 337 338// Enum values for InstancesHealthAttribute 339const ( 340 InstancesHealthAttributeHealthStatus InstancesHealthAttribute = "HealthStatus" 341 InstancesHealthAttributeColor InstancesHealthAttribute = "Color" 342 InstancesHealthAttributeCauses InstancesHealthAttribute = "Causes" 343 InstancesHealthAttributeApplicationMetrics InstancesHealthAttribute = "ApplicationMetrics" 344 InstancesHealthAttributeRefreshedAt InstancesHealthAttribute = "RefreshedAt" 345 InstancesHealthAttributeLaunchedAt InstancesHealthAttribute = "LaunchedAt" 346 InstancesHealthAttributeSystem InstancesHealthAttribute = "System" 347 InstancesHealthAttributeDeployment InstancesHealthAttribute = "Deployment" 348 InstancesHealthAttributeAvailabilityZone InstancesHealthAttribute = "AvailabilityZone" 349 InstancesHealthAttributeInstanceType InstancesHealthAttribute = "InstanceType" 350 InstancesHealthAttributeAll InstancesHealthAttribute = "All" 351) 352 353// Values returns all known values for InstancesHealthAttribute. Note that this can 354// be expanded in the future, and so it is only as up to date as the client. The 355// ordering of this slice is not guaranteed to be stable across updates. 356func (InstancesHealthAttribute) Values() []InstancesHealthAttribute { 357 return []InstancesHealthAttribute{ 358 "HealthStatus", 359 "Color", 360 "Causes", 361 "ApplicationMetrics", 362 "RefreshedAt", 363 "LaunchedAt", 364 "System", 365 "Deployment", 366 "AvailabilityZone", 367 "InstanceType", 368 "All", 369 } 370} 371 372type PlatformStatus string 373 374// Enum values for PlatformStatus 375const ( 376 PlatformStatusCreating PlatformStatus = "Creating" 377 PlatformStatusFailed PlatformStatus = "Failed" 378 PlatformStatusReady PlatformStatus = "Ready" 379 PlatformStatusDeleting PlatformStatus = "Deleting" 380 PlatformStatusDeleted PlatformStatus = "Deleted" 381) 382 383// Values returns all known values for PlatformStatus. Note that this can be 384// expanded in the future, and so it is only as up to date as the client. The 385// ordering of this slice is not guaranteed to be stable across updates. 386func (PlatformStatus) Values() []PlatformStatus { 387 return []PlatformStatus{ 388 "Creating", 389 "Failed", 390 "Ready", 391 "Deleting", 392 "Deleted", 393 } 394} 395 396type SourceRepository string 397 398// Enum values for SourceRepository 399const ( 400 SourceRepositoryCodeCommit SourceRepository = "CodeCommit" 401 SourceRepositoryS3 SourceRepository = "S3" 402) 403 404// Values returns all known values for SourceRepository. Note that this can be 405// expanded in the future, and so it is only as up to date as the client. The 406// ordering of this slice is not guaranteed to be stable across updates. 407func (SourceRepository) Values() []SourceRepository { 408 return []SourceRepository{ 409 "CodeCommit", 410 "S3", 411 } 412} 413 414type SourceType string 415 416// Enum values for SourceType 417const ( 418 SourceTypeGit SourceType = "Git" 419 SourceTypeZip SourceType = "Zip" 420) 421 422// Values returns all known values for SourceType. Note that this can be expanded 423// in the future, and so it is only as up to date as the client. The ordering of 424// this slice is not guaranteed to be stable across updates. 425func (SourceType) Values() []SourceType { 426 return []SourceType{ 427 "Git", 428 "Zip", 429 } 430} 431 432type ValidationSeverity string 433 434// Enum values for ValidationSeverity 435const ( 436 ValidationSeverityError ValidationSeverity = "error" 437 ValidationSeverityWarning ValidationSeverity = "warning" 438) 439 440// Values returns all known values for ValidationSeverity. Note that this can be 441// expanded in the future, and so it is only as up to date as the client. The 442// ordering of this slice is not guaranteed to be stable across updates. 443func (ValidationSeverity) Values() []ValidationSeverity { 444 return []ValidationSeverity{ 445 "error", 446 "warning", 447 } 448} 449