1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type ApplicationRevisionSortBy string 6 7// Enum values for ApplicationRevisionSortBy 8const ( 9 ApplicationRevisionSortByRegisterTime ApplicationRevisionSortBy = "registerTime" 10 ApplicationRevisionSortByFirstUsedTime ApplicationRevisionSortBy = "firstUsedTime" 11 ApplicationRevisionSortByLastUsedTime ApplicationRevisionSortBy = "lastUsedTime" 12) 13 14// Values returns all known values for ApplicationRevisionSortBy. Note that this 15// can be expanded in the future, and so it is only as up to date as the client. 16// The ordering of this slice is not guaranteed to be stable across updates. 17func (ApplicationRevisionSortBy) Values() []ApplicationRevisionSortBy { 18 return []ApplicationRevisionSortBy{ 19 "registerTime", 20 "firstUsedTime", 21 "lastUsedTime", 22 } 23} 24 25type AutoRollbackEvent string 26 27// Enum values for AutoRollbackEvent 28const ( 29 AutoRollbackEventDeploymentFailure AutoRollbackEvent = "DEPLOYMENT_FAILURE" 30 AutoRollbackEventDeploymentStopOnAlarm AutoRollbackEvent = "DEPLOYMENT_STOP_ON_ALARM" 31 AutoRollbackEventDeploymentStopOnRequest AutoRollbackEvent = "DEPLOYMENT_STOP_ON_REQUEST" 32) 33 34// Values returns all known values for AutoRollbackEvent. Note that this can be 35// expanded in the future, and so it is only as up to date as the client. The 36// ordering of this slice is not guaranteed to be stable across updates. 37func (AutoRollbackEvent) Values() []AutoRollbackEvent { 38 return []AutoRollbackEvent{ 39 "DEPLOYMENT_FAILURE", 40 "DEPLOYMENT_STOP_ON_ALARM", 41 "DEPLOYMENT_STOP_ON_REQUEST", 42 } 43} 44 45type BundleType string 46 47// Enum values for BundleType 48const ( 49 BundleTypeTar BundleType = "tar" 50 BundleTypeTarGZip BundleType = "tgz" 51 BundleTypeZip BundleType = "zip" 52 BundleTypeYaml BundleType = "YAML" 53 BundleTypeJson BundleType = "JSON" 54) 55 56// Values returns all known values for BundleType. 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 (BundleType) Values() []BundleType { 60 return []BundleType{ 61 "tar", 62 "tgz", 63 "zip", 64 "YAML", 65 "JSON", 66 } 67} 68 69type ComputePlatform string 70 71// Enum values for ComputePlatform 72const ( 73 ComputePlatformServer ComputePlatform = "Server" 74 ComputePlatformLambda ComputePlatform = "Lambda" 75 ComputePlatformEcs ComputePlatform = "ECS" 76) 77 78// Values returns all known values for ComputePlatform. Note that this can be 79// 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 (ComputePlatform) Values() []ComputePlatform { 82 return []ComputePlatform{ 83 "Server", 84 "Lambda", 85 "ECS", 86 } 87} 88 89type DeploymentCreator string 90 91// Enum values for DeploymentCreator 92const ( 93 DeploymentCreatorUser DeploymentCreator = "user" 94 DeploymentCreatorAutoscaling DeploymentCreator = "autoscaling" 95 DeploymentCreatorCodeDeployRollback DeploymentCreator = "codeDeployRollback" 96 DeploymentCreatorCodeDeploy DeploymentCreator = "CodeDeploy" 97 DeploymentCreatorCloudFormation DeploymentCreator = "CloudFormation" 98 DeploymentCreatorCloudFormationRollback DeploymentCreator = "CloudFormationRollback" 99) 100 101// Values returns all known values for DeploymentCreator. Note that this can be 102// expanded in the future, and so it is only as up to date as the client. The 103// ordering of this slice is not guaranteed to be stable across updates. 104func (DeploymentCreator) Values() []DeploymentCreator { 105 return []DeploymentCreator{ 106 "user", 107 "autoscaling", 108 "codeDeployRollback", 109 "CodeDeploy", 110 "CloudFormation", 111 "CloudFormationRollback", 112 } 113} 114 115type DeploymentOption string 116 117// Enum values for DeploymentOption 118const ( 119 DeploymentOptionWithTrafficControl DeploymentOption = "WITH_TRAFFIC_CONTROL" 120 DeploymentOptionWithoutTrafficControl DeploymentOption = "WITHOUT_TRAFFIC_CONTROL" 121) 122 123// Values returns all known values for DeploymentOption. Note that this can be 124// expanded in the future, and so it is only as up to date as the client. The 125// ordering of this slice is not guaranteed to be stable across updates. 126func (DeploymentOption) Values() []DeploymentOption { 127 return []DeploymentOption{ 128 "WITH_TRAFFIC_CONTROL", 129 "WITHOUT_TRAFFIC_CONTROL", 130 } 131} 132 133type DeploymentReadyAction string 134 135// Enum values for DeploymentReadyAction 136const ( 137 DeploymentReadyActionContinueDeployment DeploymentReadyAction = "CONTINUE_DEPLOYMENT" 138 DeploymentReadyActionStopDeployment DeploymentReadyAction = "STOP_DEPLOYMENT" 139) 140 141// Values returns all known values for DeploymentReadyAction. Note that this can be 142// expanded in the future, and so it is only as up to date as the client. The 143// ordering of this slice is not guaranteed to be stable across updates. 144func (DeploymentReadyAction) Values() []DeploymentReadyAction { 145 return []DeploymentReadyAction{ 146 "CONTINUE_DEPLOYMENT", 147 "STOP_DEPLOYMENT", 148 } 149} 150 151type DeploymentStatus string 152 153// Enum values for DeploymentStatus 154const ( 155 DeploymentStatusCreated DeploymentStatus = "Created" 156 DeploymentStatusQueued DeploymentStatus = "Queued" 157 DeploymentStatusInProgress DeploymentStatus = "InProgress" 158 DeploymentStatusBaking DeploymentStatus = "Baking" 159 DeploymentStatusSucceeded DeploymentStatus = "Succeeded" 160 DeploymentStatusFailed DeploymentStatus = "Failed" 161 DeploymentStatusStopped DeploymentStatus = "Stopped" 162 DeploymentStatusReady DeploymentStatus = "Ready" 163) 164 165// Values returns all known values for DeploymentStatus. Note that this can be 166// expanded in the future, and so it is only as up to date as the client. The 167// ordering of this slice is not guaranteed to be stable across updates. 168func (DeploymentStatus) Values() []DeploymentStatus { 169 return []DeploymentStatus{ 170 "Created", 171 "Queued", 172 "InProgress", 173 "Baking", 174 "Succeeded", 175 "Failed", 176 "Stopped", 177 "Ready", 178 } 179} 180 181type DeploymentTargetType string 182 183// Enum values for DeploymentTargetType 184const ( 185 DeploymentTargetTypeInstanceTarget DeploymentTargetType = "InstanceTarget" 186 DeploymentTargetTypeLambdaTarget DeploymentTargetType = "LambdaTarget" 187 DeploymentTargetTypeEcsTarget DeploymentTargetType = "ECSTarget" 188 DeploymentTargetTypeCloudformationTarget DeploymentTargetType = "CloudFormationTarget" 189) 190 191// Values returns all known values for DeploymentTargetType. Note that this can be 192// expanded in the future, and so it is only as up to date as the client. The 193// ordering of this slice is not guaranteed to be stable across updates. 194func (DeploymentTargetType) Values() []DeploymentTargetType { 195 return []DeploymentTargetType{ 196 "InstanceTarget", 197 "LambdaTarget", 198 "ECSTarget", 199 "CloudFormationTarget", 200 } 201} 202 203type DeploymentType string 204 205// Enum values for DeploymentType 206const ( 207 DeploymentTypeInPlace DeploymentType = "IN_PLACE" 208 DeploymentTypeBlueGreen DeploymentType = "BLUE_GREEN" 209) 210 211// Values returns all known values for DeploymentType. Note that this can be 212// expanded in the future, and so it is only as up to date as the client. The 213// ordering of this slice is not guaranteed to be stable across updates. 214func (DeploymentType) Values() []DeploymentType { 215 return []DeploymentType{ 216 "IN_PLACE", 217 "BLUE_GREEN", 218 } 219} 220 221type DeploymentWaitType string 222 223// Enum values for DeploymentWaitType 224const ( 225 DeploymentWaitTypeReadyWait DeploymentWaitType = "READY_WAIT" 226 DeploymentWaitTypeTerminationWait DeploymentWaitType = "TERMINATION_WAIT" 227) 228 229// Values returns all known values for DeploymentWaitType. Note that this can be 230// expanded in the future, and so it is only as up to date as the client. The 231// ordering of this slice is not guaranteed to be stable across updates. 232func (DeploymentWaitType) Values() []DeploymentWaitType { 233 return []DeploymentWaitType{ 234 "READY_WAIT", 235 "TERMINATION_WAIT", 236 } 237} 238 239type EC2TagFilterType string 240 241// Enum values for EC2TagFilterType 242const ( 243 EC2TagFilterTypeKeyOnly EC2TagFilterType = "KEY_ONLY" 244 EC2TagFilterTypeValueOnly EC2TagFilterType = "VALUE_ONLY" 245 EC2TagFilterTypeKeyAndValue EC2TagFilterType = "KEY_AND_VALUE" 246) 247 248// Values returns all known values for EC2TagFilterType. Note that this can be 249// expanded in the future, and so it is only as up to date as the client. The 250// ordering of this slice is not guaranteed to be stable across updates. 251func (EC2TagFilterType) Values() []EC2TagFilterType { 252 return []EC2TagFilterType{ 253 "KEY_ONLY", 254 "VALUE_ONLY", 255 "KEY_AND_VALUE", 256 } 257} 258 259type ErrorCode string 260 261// Enum values for ErrorCode 262const ( 263 ErrorCodeAgentIssue ErrorCode = "AGENT_ISSUE" 264 ErrorCodeAlarmActive ErrorCode = "ALARM_ACTIVE" 265 ErrorCodeApplicationMissing ErrorCode = "APPLICATION_MISSING" 266 ErrorCodeAutoscalingValidationError ErrorCode = "AUTOSCALING_VALIDATION_ERROR" 267 ErrorCodeAutoScalingConfiguration ErrorCode = "AUTO_SCALING_CONFIGURATION" 268 ErrorCodeAutoScalingIamRolePermissions ErrorCode = "AUTO_SCALING_IAM_ROLE_PERMISSIONS" 269 ErrorCodeCodedeployResourceCannotBeFound ErrorCode = "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND" 270 ErrorCodeCustomerApplicationUnhealthy ErrorCode = "CUSTOMER_APPLICATION_UNHEALTHY" 271 ErrorCodeDeploymentGroupMissing ErrorCode = "DEPLOYMENT_GROUP_MISSING" 272 ErrorCodeEcsUpdateError ErrorCode = "ECS_UPDATE_ERROR" 273 ErrorCodeElasticLoadBalancingInvalid ErrorCode = "ELASTIC_LOAD_BALANCING_INVALID" 274 ErrorCodeElbInvalidInstance ErrorCode = "ELB_INVALID_INSTANCE" 275 ErrorCodeHealthConstraints ErrorCode = "HEALTH_CONSTRAINTS" 276 ErrorCodeHealthConstraintsInvalid ErrorCode = "HEALTH_CONSTRAINTS_INVALID" 277 ErrorCodeHookExecutionFailure ErrorCode = "HOOK_EXECUTION_FAILURE" 278 ErrorCodeIamRoleMissing ErrorCode = "IAM_ROLE_MISSING" 279 ErrorCodeIamRolePermissions ErrorCode = "IAM_ROLE_PERMISSIONS" 280 ErrorCodeInternalError ErrorCode = "INTERNAL_ERROR" 281 ErrorCodeInvalidEcsService ErrorCode = "INVALID_ECS_SERVICE" 282 ErrorCodeInvalidLambdaConfiguration ErrorCode = "INVALID_LAMBDA_CONFIGURATION" 283 ErrorCodeInvalidLambdaFunction ErrorCode = "INVALID_LAMBDA_FUNCTION" 284 ErrorCodeInvalidRevision ErrorCode = "INVALID_REVISION" 285 ErrorCodeManualStop ErrorCode = "MANUAL_STOP" 286 ErrorCodeMissingBlueGreenDeploymentConfiguration ErrorCode = "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION" 287 ErrorCodeMissingElbInformation ErrorCode = "MISSING_ELB_INFORMATION" 288 ErrorCodeMissingGithubToken ErrorCode = "MISSING_GITHUB_TOKEN" 289 ErrorCodeNoEc2Subscription ErrorCode = "NO_EC2_SUBSCRIPTION" 290 ErrorCodeNoInstances ErrorCode = "NO_INSTANCES" 291 ErrorCodeOverMaxInstances ErrorCode = "OVER_MAX_INSTANCES" 292 ErrorCodeResourceLimitExceeded ErrorCode = "RESOURCE_LIMIT_EXCEEDED" 293 ErrorCodeRevisionMissing ErrorCode = "REVISION_MISSING" 294 ErrorCodeThrottled ErrorCode = "THROTTLED" 295 ErrorCodeTimeout ErrorCode = "TIMEOUT" 296 ErrorCodeCloudformationStackFailure ErrorCode = "CLOUDFORMATION_STACK_FAILURE" 297) 298 299// Values returns all known values for ErrorCode. Note that this can be expanded in 300// the future, and so it is only as up to date as the client. The ordering of this 301// slice is not guaranteed to be stable across updates. 302func (ErrorCode) Values() []ErrorCode { 303 return []ErrorCode{ 304 "AGENT_ISSUE", 305 "ALARM_ACTIVE", 306 "APPLICATION_MISSING", 307 "AUTOSCALING_VALIDATION_ERROR", 308 "AUTO_SCALING_CONFIGURATION", 309 "AUTO_SCALING_IAM_ROLE_PERMISSIONS", 310 "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND", 311 "CUSTOMER_APPLICATION_UNHEALTHY", 312 "DEPLOYMENT_GROUP_MISSING", 313 "ECS_UPDATE_ERROR", 314 "ELASTIC_LOAD_BALANCING_INVALID", 315 "ELB_INVALID_INSTANCE", 316 "HEALTH_CONSTRAINTS", 317 "HEALTH_CONSTRAINTS_INVALID", 318 "HOOK_EXECUTION_FAILURE", 319 "IAM_ROLE_MISSING", 320 "IAM_ROLE_PERMISSIONS", 321 "INTERNAL_ERROR", 322 "INVALID_ECS_SERVICE", 323 "INVALID_LAMBDA_CONFIGURATION", 324 "INVALID_LAMBDA_FUNCTION", 325 "INVALID_REVISION", 326 "MANUAL_STOP", 327 "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION", 328 "MISSING_ELB_INFORMATION", 329 "MISSING_GITHUB_TOKEN", 330 "NO_EC2_SUBSCRIPTION", 331 "NO_INSTANCES", 332 "OVER_MAX_INSTANCES", 333 "RESOURCE_LIMIT_EXCEEDED", 334 "REVISION_MISSING", 335 "THROTTLED", 336 "TIMEOUT", 337 "CLOUDFORMATION_STACK_FAILURE", 338 } 339} 340 341type FileExistsBehavior string 342 343// Enum values for FileExistsBehavior 344const ( 345 FileExistsBehaviorDisallow FileExistsBehavior = "DISALLOW" 346 FileExistsBehaviorOverwrite FileExistsBehavior = "OVERWRITE" 347 FileExistsBehaviorRetain FileExistsBehavior = "RETAIN" 348) 349 350// Values returns all known values for FileExistsBehavior. Note that this can be 351// expanded in the future, and so it is only as up to date as the client. The 352// ordering of this slice is not guaranteed to be stable across updates. 353func (FileExistsBehavior) Values() []FileExistsBehavior { 354 return []FileExistsBehavior{ 355 "DISALLOW", 356 "OVERWRITE", 357 "RETAIN", 358 } 359} 360 361type GreenFleetProvisioningAction string 362 363// Enum values for GreenFleetProvisioningAction 364const ( 365 GreenFleetProvisioningActionDiscoverExisting GreenFleetProvisioningAction = "DISCOVER_EXISTING" 366 GreenFleetProvisioningActionCopyAutoScalingGroup GreenFleetProvisioningAction = "COPY_AUTO_SCALING_GROUP" 367) 368 369// Values returns all known values for GreenFleetProvisioningAction. Note that this 370// can be expanded in the future, and so it is only as up to date as the client. 371// The ordering of this slice is not guaranteed to be stable across updates. 372func (GreenFleetProvisioningAction) Values() []GreenFleetProvisioningAction { 373 return []GreenFleetProvisioningAction{ 374 "DISCOVER_EXISTING", 375 "COPY_AUTO_SCALING_GROUP", 376 } 377} 378 379type InstanceAction string 380 381// Enum values for InstanceAction 382const ( 383 InstanceActionTerminate InstanceAction = "TERMINATE" 384 InstanceActionKeepAlive InstanceAction = "KEEP_ALIVE" 385) 386 387// Values returns all known values for InstanceAction. Note that this can be 388// expanded in the future, and so it is only as up to date as the client. The 389// ordering of this slice is not guaranteed to be stable across updates. 390func (InstanceAction) Values() []InstanceAction { 391 return []InstanceAction{ 392 "TERMINATE", 393 "KEEP_ALIVE", 394 } 395} 396 397type InstanceStatus string 398 399// Enum values for InstanceStatus 400const ( 401 InstanceStatusPending InstanceStatus = "Pending" 402 InstanceStatusInProgress InstanceStatus = "InProgress" 403 InstanceStatusSucceeded InstanceStatus = "Succeeded" 404 InstanceStatusFailed InstanceStatus = "Failed" 405 InstanceStatusSkipped InstanceStatus = "Skipped" 406 InstanceStatusUnknown InstanceStatus = "Unknown" 407 InstanceStatusReady InstanceStatus = "Ready" 408) 409 410// Values returns all known values for InstanceStatus. Note that this can be 411// expanded in the future, and so it is only as up to date as the client. The 412// ordering of this slice is not guaranteed to be stable across updates. 413func (InstanceStatus) Values() []InstanceStatus { 414 return []InstanceStatus{ 415 "Pending", 416 "InProgress", 417 "Succeeded", 418 "Failed", 419 "Skipped", 420 "Unknown", 421 "Ready", 422 } 423} 424 425type InstanceType string 426 427// Enum values for InstanceType 428const ( 429 InstanceTypeBlue InstanceType = "Blue" 430 InstanceTypeGreen InstanceType = "Green" 431) 432 433// Values returns all known values for InstanceType. Note that this can be expanded 434// in the future, and so it is only as up to date as the client. The ordering of 435// this slice is not guaranteed to be stable across updates. 436func (InstanceType) Values() []InstanceType { 437 return []InstanceType{ 438 "Blue", 439 "Green", 440 } 441} 442 443type LifecycleErrorCode string 444 445// Enum values for LifecycleErrorCode 446const ( 447 LifecycleErrorCodeSuccess LifecycleErrorCode = "Success" 448 LifecycleErrorCodeScriptMissing LifecycleErrorCode = "ScriptMissing" 449 LifecycleErrorCodeScriptNotExecutable LifecycleErrorCode = "ScriptNotExecutable" 450 LifecycleErrorCodeScriptTimedOut LifecycleErrorCode = "ScriptTimedOut" 451 LifecycleErrorCodeScriptFailed LifecycleErrorCode = "ScriptFailed" 452 LifecycleErrorCodeUnknownError LifecycleErrorCode = "UnknownError" 453) 454 455// Values returns all known values for LifecycleErrorCode. Note that this can be 456// expanded in the future, and so it is only as up to date as the client. The 457// ordering of this slice is not guaranteed to be stable across updates. 458func (LifecycleErrorCode) Values() []LifecycleErrorCode { 459 return []LifecycleErrorCode{ 460 "Success", 461 "ScriptMissing", 462 "ScriptNotExecutable", 463 "ScriptTimedOut", 464 "ScriptFailed", 465 "UnknownError", 466 } 467} 468 469type LifecycleEventStatus string 470 471// Enum values for LifecycleEventStatus 472const ( 473 LifecycleEventStatusPending LifecycleEventStatus = "Pending" 474 LifecycleEventStatusInProgress LifecycleEventStatus = "InProgress" 475 LifecycleEventStatusSucceeded LifecycleEventStatus = "Succeeded" 476 LifecycleEventStatusFailed LifecycleEventStatus = "Failed" 477 LifecycleEventStatusSkipped LifecycleEventStatus = "Skipped" 478 LifecycleEventStatusUnknown LifecycleEventStatus = "Unknown" 479) 480 481// Values returns all known values for LifecycleEventStatus. Note that this can be 482// expanded in the future, and so it is only as up to date as the client. The 483// ordering of this slice is not guaranteed to be stable across updates. 484func (LifecycleEventStatus) Values() []LifecycleEventStatus { 485 return []LifecycleEventStatus{ 486 "Pending", 487 "InProgress", 488 "Succeeded", 489 "Failed", 490 "Skipped", 491 "Unknown", 492 } 493} 494 495type ListStateFilterAction string 496 497// Enum values for ListStateFilterAction 498const ( 499 ListStateFilterActionInclude ListStateFilterAction = "include" 500 ListStateFilterActionExclude ListStateFilterAction = "exclude" 501 ListStateFilterActionIgnore ListStateFilterAction = "ignore" 502) 503 504// Values returns all known values for ListStateFilterAction. Note that this can be 505// expanded in the future, and so it is only as up to date as the client. The 506// ordering of this slice is not guaranteed to be stable across updates. 507func (ListStateFilterAction) Values() []ListStateFilterAction { 508 return []ListStateFilterAction{ 509 "include", 510 "exclude", 511 "ignore", 512 } 513} 514 515type MinimumHealthyHostsType string 516 517// Enum values for MinimumHealthyHostsType 518const ( 519 MinimumHealthyHostsTypeHostCount MinimumHealthyHostsType = "HOST_COUNT" 520 MinimumHealthyHostsTypeFleetPercent MinimumHealthyHostsType = "FLEET_PERCENT" 521) 522 523// Values returns all known values for MinimumHealthyHostsType. Note that this can 524// be expanded in the future, and so it is only as up to date as the client. The 525// ordering of this slice is not guaranteed to be stable across updates. 526func (MinimumHealthyHostsType) Values() []MinimumHealthyHostsType { 527 return []MinimumHealthyHostsType{ 528 "HOST_COUNT", 529 "FLEET_PERCENT", 530 } 531} 532 533type RegistrationStatus string 534 535// Enum values for RegistrationStatus 536const ( 537 RegistrationStatusRegistered RegistrationStatus = "Registered" 538 RegistrationStatusDeregistered RegistrationStatus = "Deregistered" 539) 540 541// Values returns all known values for RegistrationStatus. Note that this can be 542// expanded in the future, and so it is only as up to date as the client. The 543// ordering of this slice is not guaranteed to be stable across updates. 544func (RegistrationStatus) Values() []RegistrationStatus { 545 return []RegistrationStatus{ 546 "Registered", 547 "Deregistered", 548 } 549} 550 551type RevisionLocationType string 552 553// Enum values for RevisionLocationType 554const ( 555 RevisionLocationTypeS3 RevisionLocationType = "S3" 556 RevisionLocationTypeGitHub RevisionLocationType = "GitHub" 557 RevisionLocationTypeString RevisionLocationType = "String" 558 RevisionLocationTypeAppSpecContent RevisionLocationType = "AppSpecContent" 559) 560 561// Values returns all known values for RevisionLocationType. Note that this can be 562// expanded in the future, and so it is only as up to date as the client. The 563// ordering of this slice is not guaranteed to be stable across updates. 564func (RevisionLocationType) Values() []RevisionLocationType { 565 return []RevisionLocationType{ 566 "S3", 567 "GitHub", 568 "String", 569 "AppSpecContent", 570 } 571} 572 573type SortOrder string 574 575// Enum values for SortOrder 576const ( 577 SortOrderAscending SortOrder = "ascending" 578 SortOrderDescending SortOrder = "descending" 579) 580 581// Values returns all known values for SortOrder. Note that this can be expanded in 582// the future, and so it is only as up to date as the client. The ordering of this 583// slice is not guaranteed to be stable across updates. 584func (SortOrder) Values() []SortOrder { 585 return []SortOrder{ 586 "ascending", 587 "descending", 588 } 589} 590 591type StopStatus string 592 593// Enum values for StopStatus 594const ( 595 StopStatusPending StopStatus = "Pending" 596 StopStatusSucceeded StopStatus = "Succeeded" 597) 598 599// Values returns all known values for StopStatus. Note that this can be expanded 600// in the future, and so it is only as up to date as the client. The ordering of 601// this slice is not guaranteed to be stable across updates. 602func (StopStatus) Values() []StopStatus { 603 return []StopStatus{ 604 "Pending", 605 "Succeeded", 606 } 607} 608 609type TagFilterType string 610 611// Enum values for TagFilterType 612const ( 613 TagFilterTypeKeyOnly TagFilterType = "KEY_ONLY" 614 TagFilterTypeValueOnly TagFilterType = "VALUE_ONLY" 615 TagFilterTypeKeyAndValue TagFilterType = "KEY_AND_VALUE" 616) 617 618// Values returns all known values for TagFilterType. Note that this can be 619// expanded in the future, and so it is only as up to date as the client. The 620// ordering of this slice is not guaranteed to be stable across updates. 621func (TagFilterType) Values() []TagFilterType { 622 return []TagFilterType{ 623 "KEY_ONLY", 624 "VALUE_ONLY", 625 "KEY_AND_VALUE", 626 } 627} 628 629type TargetFilterName string 630 631// Enum values for TargetFilterName 632const ( 633 TargetFilterNameTargetStatus TargetFilterName = "TargetStatus" 634 TargetFilterNameServerInstanceLabel TargetFilterName = "ServerInstanceLabel" 635) 636 637// Values returns all known values for TargetFilterName. Note that this can be 638// expanded in the future, and so it is only as up to date as the client. The 639// ordering of this slice is not guaranteed to be stable across updates. 640func (TargetFilterName) Values() []TargetFilterName { 641 return []TargetFilterName{ 642 "TargetStatus", 643 "ServerInstanceLabel", 644 } 645} 646 647type TargetLabel string 648 649// Enum values for TargetLabel 650const ( 651 TargetLabelBlue TargetLabel = "Blue" 652 TargetLabelGreen TargetLabel = "Green" 653) 654 655// Values returns all known values for TargetLabel. Note that this can be expanded 656// in the future, and so it is only as up to date as the client. The ordering of 657// this slice is not guaranteed to be stable across updates. 658func (TargetLabel) Values() []TargetLabel { 659 return []TargetLabel{ 660 "Blue", 661 "Green", 662 } 663} 664 665type TargetStatus string 666 667// Enum values for TargetStatus 668const ( 669 TargetStatusPending TargetStatus = "Pending" 670 TargetStatusInProgress TargetStatus = "InProgress" 671 TargetStatusSucceeded TargetStatus = "Succeeded" 672 TargetStatusFailed TargetStatus = "Failed" 673 TargetStatusSkipped TargetStatus = "Skipped" 674 TargetStatusUnknown TargetStatus = "Unknown" 675 TargetStatusReady TargetStatus = "Ready" 676) 677 678// Values returns all known values for TargetStatus. Note that this can be expanded 679// in the future, and so it is only as up to date as the client. The ordering of 680// this slice is not guaranteed to be stable across updates. 681func (TargetStatus) Values() []TargetStatus { 682 return []TargetStatus{ 683 "Pending", 684 "InProgress", 685 "Succeeded", 686 "Failed", 687 "Skipped", 688 "Unknown", 689 "Ready", 690 } 691} 692 693type TrafficRoutingType string 694 695// Enum values for TrafficRoutingType 696const ( 697 TrafficRoutingTypeTimeBasedCanary TrafficRoutingType = "TimeBasedCanary" 698 TrafficRoutingTypeTimeBasedLinear TrafficRoutingType = "TimeBasedLinear" 699 TrafficRoutingTypeAllAtOnce TrafficRoutingType = "AllAtOnce" 700) 701 702// Values returns all known values for TrafficRoutingType. Note that this can be 703// expanded in the future, and so it is only as up to date as the client. The 704// ordering of this slice is not guaranteed to be stable across updates. 705func (TrafficRoutingType) Values() []TrafficRoutingType { 706 return []TrafficRoutingType{ 707 "TimeBasedCanary", 708 "TimeBasedLinear", 709 "AllAtOnce", 710 } 711} 712 713type TriggerEventType string 714 715// Enum values for TriggerEventType 716const ( 717 TriggerEventTypeDeploymentStart TriggerEventType = "DeploymentStart" 718 TriggerEventTypeDeploymentSuccess TriggerEventType = "DeploymentSuccess" 719 TriggerEventTypeDeploymentFailure TriggerEventType = "DeploymentFailure" 720 TriggerEventTypeDeploymentStop TriggerEventType = "DeploymentStop" 721 TriggerEventTypeDeploymentRollback TriggerEventType = "DeploymentRollback" 722 TriggerEventTypeDeploymentReady TriggerEventType = "DeploymentReady" 723 TriggerEventTypeInstanceStart TriggerEventType = "InstanceStart" 724 TriggerEventTypeInstanceSuccess TriggerEventType = "InstanceSuccess" 725 TriggerEventTypeInstanceFailure TriggerEventType = "InstanceFailure" 726 TriggerEventTypeInstanceReady TriggerEventType = "InstanceReady" 727) 728 729// Values returns all known values for TriggerEventType. Note that this can be 730// expanded in the future, and so it is only as up to date as the client. The 731// ordering of this slice is not guaranteed to be stable across updates. 732func (TriggerEventType) Values() []TriggerEventType { 733 return []TriggerEventType{ 734 "DeploymentStart", 735 "DeploymentSuccess", 736 "DeploymentFailure", 737 "DeploymentStop", 738 "DeploymentRollback", 739 "DeploymentReady", 740 "InstanceStart", 741 "InstanceSuccess", 742 "InstanceFailure", 743 "InstanceReady", 744 } 745} 746