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 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type ApplicationRevisionSortBy string
// Enum values for ApplicationRevisionSortBy
const (
ApplicationRevisionSortByRegisterTime ApplicationRevisionSortBy = "registerTime"
ApplicationRevisionSortByFirstUsedTime ApplicationRevisionSortBy = "firstUsedTime"
ApplicationRevisionSortByLastUsedTime ApplicationRevisionSortBy = "lastUsedTime"
)
// Values returns all known values for ApplicationRevisionSortBy. 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 (ApplicationRevisionSortBy) Values() []ApplicationRevisionSortBy {
return []ApplicationRevisionSortBy{
"registerTime",
"firstUsedTime",
"lastUsedTime",
}
}
type AutoRollbackEvent string
// Enum values for AutoRollbackEvent
const (
AutoRollbackEventDeploymentFailure AutoRollbackEvent = "DEPLOYMENT_FAILURE"
AutoRollbackEventDeploymentStopOnAlarm AutoRollbackEvent = "DEPLOYMENT_STOP_ON_ALARM"
AutoRollbackEventDeploymentStopOnRequest AutoRollbackEvent = "DEPLOYMENT_STOP_ON_REQUEST"
)
// Values returns all known values for AutoRollbackEvent. 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 (AutoRollbackEvent) Values() []AutoRollbackEvent {
return []AutoRollbackEvent{
"DEPLOYMENT_FAILURE",
"DEPLOYMENT_STOP_ON_ALARM",
"DEPLOYMENT_STOP_ON_REQUEST",
}
}
type BundleType string
// Enum values for BundleType
const (
BundleTypeTar BundleType = "tar"
BundleTypeTarGZip BundleType = "tgz"
BundleTypeZip BundleType = "zip"
BundleTypeYaml BundleType = "YAML"
BundleTypeJson BundleType = "JSON"
)
// Values returns all known values for BundleType. 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 (BundleType) Values() []BundleType {
return []BundleType{
"tar",
"tgz",
"zip",
"YAML",
"JSON",
}
}
type ComputePlatform string
// Enum values for ComputePlatform
const (
ComputePlatformServer ComputePlatform = "Server"
ComputePlatformLambda ComputePlatform = "Lambda"
ComputePlatformEcs ComputePlatform = "ECS"
)
// Values returns all known values for ComputePlatform. 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 (ComputePlatform) Values() []ComputePlatform {
return []ComputePlatform{
"Server",
"Lambda",
"ECS",
}
}
type DeploymentCreator string
// Enum values for DeploymentCreator
const (
DeploymentCreatorUser DeploymentCreator = "user"
DeploymentCreatorAutoscaling DeploymentCreator = "autoscaling"
DeploymentCreatorCodeDeployRollback DeploymentCreator = "codeDeployRollback"
DeploymentCreatorCodeDeploy DeploymentCreator = "CodeDeploy"
DeploymentCreatorCodeDeployAutoUpdate DeploymentCreator = "CodeDeployAutoUpdate"
DeploymentCreatorCloudFormation DeploymentCreator = "CloudFormation"
DeploymentCreatorCloudFormationRollback DeploymentCreator = "CloudFormationRollback"
DeploymentCreatorAutoscalingTermination DeploymentCreator = "autoscalingTermination"
)
// Values returns all known values for DeploymentCreator. 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 (DeploymentCreator) Values() []DeploymentCreator {
return []DeploymentCreator{
"user",
"autoscaling",
"codeDeployRollback",
"CodeDeploy",
"CodeDeployAutoUpdate",
"CloudFormation",
"CloudFormationRollback",
"autoscalingTermination",
}
}
type DeploymentOption string
// Enum values for DeploymentOption
const (
DeploymentOptionWithTrafficControl DeploymentOption = "WITH_TRAFFIC_CONTROL"
DeploymentOptionWithoutTrafficControl DeploymentOption = "WITHOUT_TRAFFIC_CONTROL"
)
// Values returns all known values for DeploymentOption. 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 (DeploymentOption) Values() []DeploymentOption {
return []DeploymentOption{
"WITH_TRAFFIC_CONTROL",
"WITHOUT_TRAFFIC_CONTROL",
}
}
type DeploymentReadyAction string
// Enum values for DeploymentReadyAction
const (
DeploymentReadyActionContinueDeployment DeploymentReadyAction = "CONTINUE_DEPLOYMENT"
DeploymentReadyActionStopDeployment DeploymentReadyAction = "STOP_DEPLOYMENT"
)
// Values returns all known values for DeploymentReadyAction. 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 (DeploymentReadyAction) Values() []DeploymentReadyAction {
return []DeploymentReadyAction{
"CONTINUE_DEPLOYMENT",
"STOP_DEPLOYMENT",
}
}
type DeploymentStatus string
// Enum values for DeploymentStatus
const (
DeploymentStatusCreated DeploymentStatus = "Created"
DeploymentStatusQueued DeploymentStatus = "Queued"
DeploymentStatusInProgress DeploymentStatus = "InProgress"
DeploymentStatusBaking DeploymentStatus = "Baking"
DeploymentStatusSucceeded DeploymentStatus = "Succeeded"
DeploymentStatusFailed DeploymentStatus = "Failed"
DeploymentStatusStopped DeploymentStatus = "Stopped"
DeploymentStatusReady DeploymentStatus = "Ready"
)
// Values returns all known values for DeploymentStatus. 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 (DeploymentStatus) Values() []DeploymentStatus {
return []DeploymentStatus{
"Created",
"Queued",
"InProgress",
"Baking",
"Succeeded",
"Failed",
"Stopped",
"Ready",
}
}
type DeploymentTargetType string
// Enum values for DeploymentTargetType
const (
DeploymentTargetTypeInstanceTarget DeploymentTargetType = "InstanceTarget"
DeploymentTargetTypeLambdaTarget DeploymentTargetType = "LambdaTarget"
DeploymentTargetTypeEcsTarget DeploymentTargetType = "ECSTarget"
DeploymentTargetTypeCloudformationTarget DeploymentTargetType = "CloudFormationTarget"
)
// Values returns all known values for DeploymentTargetType. 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 (DeploymentTargetType) Values() []DeploymentTargetType {
return []DeploymentTargetType{
"InstanceTarget",
"LambdaTarget",
"ECSTarget",
"CloudFormationTarget",
}
}
type DeploymentType string
// Enum values for DeploymentType
const (
DeploymentTypeInPlace DeploymentType = "IN_PLACE"
DeploymentTypeBlueGreen DeploymentType = "BLUE_GREEN"
)
// Values returns all known values for DeploymentType. 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 (DeploymentType) Values() []DeploymentType {
return []DeploymentType{
"IN_PLACE",
"BLUE_GREEN",
}
}
type DeploymentWaitType string
// Enum values for DeploymentWaitType
const (
DeploymentWaitTypeReadyWait DeploymentWaitType = "READY_WAIT"
DeploymentWaitTypeTerminationWait DeploymentWaitType = "TERMINATION_WAIT"
)
// Values returns all known values for DeploymentWaitType. 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 (DeploymentWaitType) Values() []DeploymentWaitType {
return []DeploymentWaitType{
"READY_WAIT",
"TERMINATION_WAIT",
}
}
type EC2TagFilterType string
// Enum values for EC2TagFilterType
const (
EC2TagFilterTypeKeyOnly EC2TagFilterType = "KEY_ONLY"
EC2TagFilterTypeValueOnly EC2TagFilterType = "VALUE_ONLY"
EC2TagFilterTypeKeyAndValue EC2TagFilterType = "KEY_AND_VALUE"
)
// Values returns all known values for EC2TagFilterType. 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 (EC2TagFilterType) Values() []EC2TagFilterType {
return []EC2TagFilterType{
"KEY_ONLY",
"VALUE_ONLY",
"KEY_AND_VALUE",
}
}
type ErrorCode string
// Enum values for ErrorCode
const (
ErrorCodeAgentIssue ErrorCode = "AGENT_ISSUE"
ErrorCodeAlarmActive ErrorCode = "ALARM_ACTIVE"
ErrorCodeApplicationMissing ErrorCode = "APPLICATION_MISSING"
ErrorCodeAutoscalingValidationError ErrorCode = "AUTOSCALING_VALIDATION_ERROR"
ErrorCodeAutoScalingConfiguration ErrorCode = "AUTO_SCALING_CONFIGURATION"
ErrorCodeAutoScalingIamRolePermissions ErrorCode = "AUTO_SCALING_IAM_ROLE_PERMISSIONS"
ErrorCodeCodedeployResourceCannotBeFound ErrorCode = "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND"
ErrorCodeCustomerApplicationUnhealthy ErrorCode = "CUSTOMER_APPLICATION_UNHEALTHY"
ErrorCodeDeploymentGroupMissing ErrorCode = "DEPLOYMENT_GROUP_MISSING"
ErrorCodeEcsUpdateError ErrorCode = "ECS_UPDATE_ERROR"
ErrorCodeElasticLoadBalancingInvalid ErrorCode = "ELASTIC_LOAD_BALANCING_INVALID"
ErrorCodeElbInvalidInstance ErrorCode = "ELB_INVALID_INSTANCE"
ErrorCodeHealthConstraints ErrorCode = "HEALTH_CONSTRAINTS"
ErrorCodeHealthConstraintsInvalid ErrorCode = "HEALTH_CONSTRAINTS_INVALID"
ErrorCodeHookExecutionFailure ErrorCode = "HOOK_EXECUTION_FAILURE"
ErrorCodeIamRoleMissing ErrorCode = "IAM_ROLE_MISSING"
ErrorCodeIamRolePermissions ErrorCode = "IAM_ROLE_PERMISSIONS"
ErrorCodeInternalError ErrorCode = "INTERNAL_ERROR"
ErrorCodeInvalidEcsService ErrorCode = "INVALID_ECS_SERVICE"
ErrorCodeInvalidLambdaConfiguration ErrorCode = "INVALID_LAMBDA_CONFIGURATION"
ErrorCodeInvalidLambdaFunction ErrorCode = "INVALID_LAMBDA_FUNCTION"
ErrorCodeInvalidRevision ErrorCode = "INVALID_REVISION"
ErrorCodeManualStop ErrorCode = "MANUAL_STOP"
ErrorCodeMissingBlueGreenDeploymentConfiguration ErrorCode = "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION"
ErrorCodeMissingElbInformation ErrorCode = "MISSING_ELB_INFORMATION"
ErrorCodeMissingGithubToken ErrorCode = "MISSING_GITHUB_TOKEN"
ErrorCodeNoEc2Subscription ErrorCode = "NO_EC2_SUBSCRIPTION"
ErrorCodeNoInstances ErrorCode = "NO_INSTANCES"
ErrorCodeOverMaxInstances ErrorCode = "OVER_MAX_INSTANCES"
ErrorCodeResourceLimitExceeded ErrorCode = "RESOURCE_LIMIT_EXCEEDED"
ErrorCodeRevisionMissing ErrorCode = "REVISION_MISSING"
ErrorCodeThrottled ErrorCode = "THROTTLED"
ErrorCodeTimeout ErrorCode = "TIMEOUT"
ErrorCodeCloudformationStackFailure ErrorCode = "CLOUDFORMATION_STACK_FAILURE"
)
// 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{
"AGENT_ISSUE",
"ALARM_ACTIVE",
"APPLICATION_MISSING",
"AUTOSCALING_VALIDATION_ERROR",
"AUTO_SCALING_CONFIGURATION",
"AUTO_SCALING_IAM_ROLE_PERMISSIONS",
"CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND",
"CUSTOMER_APPLICATION_UNHEALTHY",
"DEPLOYMENT_GROUP_MISSING",
"ECS_UPDATE_ERROR",
"ELASTIC_LOAD_BALANCING_INVALID",
"ELB_INVALID_INSTANCE",
"HEALTH_CONSTRAINTS",
"HEALTH_CONSTRAINTS_INVALID",
"HOOK_EXECUTION_FAILURE",
"IAM_ROLE_MISSING",
"IAM_ROLE_PERMISSIONS",
"INTERNAL_ERROR",
"INVALID_ECS_SERVICE",
"INVALID_LAMBDA_CONFIGURATION",
"INVALID_LAMBDA_FUNCTION",
"INVALID_REVISION",
"MANUAL_STOP",
"MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION",
"MISSING_ELB_INFORMATION",
"MISSING_GITHUB_TOKEN",
"NO_EC2_SUBSCRIPTION",
"NO_INSTANCES",
"OVER_MAX_INSTANCES",
"RESOURCE_LIMIT_EXCEEDED",
"REVISION_MISSING",
"THROTTLED",
"TIMEOUT",
"CLOUDFORMATION_STACK_FAILURE",
}
}
type FileExistsBehavior string
// Enum values for FileExistsBehavior
const (
FileExistsBehaviorDisallow FileExistsBehavior = "DISALLOW"
FileExistsBehaviorOverwrite FileExistsBehavior = "OVERWRITE"
FileExistsBehaviorRetain FileExistsBehavior = "RETAIN"
)
// Values returns all known values for FileExistsBehavior. 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 (FileExistsBehavior) Values() []FileExistsBehavior {
return []FileExistsBehavior{
"DISALLOW",
"OVERWRITE",
"RETAIN",
}
}
type GreenFleetProvisioningAction string
// Enum values for GreenFleetProvisioningAction
const (
GreenFleetProvisioningActionDiscoverExisting GreenFleetProvisioningAction = "DISCOVER_EXISTING"
GreenFleetProvisioningActionCopyAutoScalingGroup GreenFleetProvisioningAction = "COPY_AUTO_SCALING_GROUP"
)
// Values returns all known values for GreenFleetProvisioningAction. 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 (GreenFleetProvisioningAction) Values() []GreenFleetProvisioningAction {
return []GreenFleetProvisioningAction{
"DISCOVER_EXISTING",
"COPY_AUTO_SCALING_GROUP",
}
}
type InstanceAction string
// Enum values for InstanceAction
const (
InstanceActionTerminate InstanceAction = "TERMINATE"
InstanceActionKeepAlive InstanceAction = "KEEP_ALIVE"
)
// Values returns all known values for InstanceAction. 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 (InstanceAction) Values() []InstanceAction {
return []InstanceAction{
"TERMINATE",
"KEEP_ALIVE",
}
}
type InstanceStatus string
// Enum values for InstanceStatus
const (
InstanceStatusPending InstanceStatus = "Pending"
InstanceStatusInProgress InstanceStatus = "InProgress"
InstanceStatusSucceeded InstanceStatus = "Succeeded"
InstanceStatusFailed InstanceStatus = "Failed"
InstanceStatusSkipped InstanceStatus = "Skipped"
InstanceStatusUnknown InstanceStatus = "Unknown"
InstanceStatusReady InstanceStatus = "Ready"
)
// Values returns all known values for InstanceStatus. 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 (InstanceStatus) Values() []InstanceStatus {
return []InstanceStatus{
"Pending",
"InProgress",
"Succeeded",
"Failed",
"Skipped",
"Unknown",
"Ready",
}
}
type InstanceType string
// Enum values for InstanceType
const (
InstanceTypeBlue InstanceType = "Blue"
InstanceTypeGreen InstanceType = "Green"
)
// Values returns all known values for InstanceType. 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 (InstanceType) Values() []InstanceType {
return []InstanceType{
"Blue",
"Green",
}
}
type LifecycleErrorCode string
// Enum values for LifecycleErrorCode
const (
LifecycleErrorCodeSuccess LifecycleErrorCode = "Success"
LifecycleErrorCodeScriptMissing LifecycleErrorCode = "ScriptMissing"
LifecycleErrorCodeScriptNotExecutable LifecycleErrorCode = "ScriptNotExecutable"
LifecycleErrorCodeScriptTimedOut LifecycleErrorCode = "ScriptTimedOut"
LifecycleErrorCodeScriptFailed LifecycleErrorCode = "ScriptFailed"
LifecycleErrorCodeUnknownError LifecycleErrorCode = "UnknownError"
)
// Values returns all known values for LifecycleErrorCode. 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 (LifecycleErrorCode) Values() []LifecycleErrorCode {
return []LifecycleErrorCode{
"Success",
"ScriptMissing",
"ScriptNotExecutable",
"ScriptTimedOut",
"ScriptFailed",
"UnknownError",
}
}
type LifecycleEventStatus string
// Enum values for LifecycleEventStatus
const (
LifecycleEventStatusPending LifecycleEventStatus = "Pending"
LifecycleEventStatusInProgress LifecycleEventStatus = "InProgress"
LifecycleEventStatusSucceeded LifecycleEventStatus = "Succeeded"
LifecycleEventStatusFailed LifecycleEventStatus = "Failed"
LifecycleEventStatusSkipped LifecycleEventStatus = "Skipped"
LifecycleEventStatusUnknown LifecycleEventStatus = "Unknown"
)
// Values returns all known values for LifecycleEventStatus. 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 (LifecycleEventStatus) Values() []LifecycleEventStatus {
return []LifecycleEventStatus{
"Pending",
"InProgress",
"Succeeded",
"Failed",
"Skipped",
"Unknown",
}
}
type ListStateFilterAction string
// Enum values for ListStateFilterAction
const (
ListStateFilterActionInclude ListStateFilterAction = "include"
ListStateFilterActionExclude ListStateFilterAction = "exclude"
ListStateFilterActionIgnore ListStateFilterAction = "ignore"
)
// Values returns all known values for ListStateFilterAction. 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 (ListStateFilterAction) Values() []ListStateFilterAction {
return []ListStateFilterAction{
"include",
"exclude",
"ignore",
}
}
type MinimumHealthyHostsPerZoneType string
// Enum values for MinimumHealthyHostsPerZoneType
const (
MinimumHealthyHostsPerZoneTypeHostCount MinimumHealthyHostsPerZoneType = "HOST_COUNT"
MinimumHealthyHostsPerZoneTypeFleetPercent MinimumHealthyHostsPerZoneType = "FLEET_PERCENT"
)
// Values returns all known values for MinimumHealthyHostsPerZoneType. 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 (MinimumHealthyHostsPerZoneType) Values() []MinimumHealthyHostsPerZoneType {
return []MinimumHealthyHostsPerZoneType{
"HOST_COUNT",
"FLEET_PERCENT",
}
}
type MinimumHealthyHostsType string
// Enum values for MinimumHealthyHostsType
const (
MinimumHealthyHostsTypeHostCount MinimumHealthyHostsType = "HOST_COUNT"
MinimumHealthyHostsTypeFleetPercent MinimumHealthyHostsType = "FLEET_PERCENT"
)
// Values returns all known values for MinimumHealthyHostsType. 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 (MinimumHealthyHostsType) Values() []MinimumHealthyHostsType {
return []MinimumHealthyHostsType{
"HOST_COUNT",
"FLEET_PERCENT",
}
}
type OutdatedInstancesStrategy string
// Enum values for OutdatedInstancesStrategy
const (
OutdatedInstancesStrategyUpdate OutdatedInstancesStrategy = "UPDATE"
OutdatedInstancesStrategyIgnore OutdatedInstancesStrategy = "IGNORE"
)
// Values returns all known values for OutdatedInstancesStrategy. 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 (OutdatedInstancesStrategy) Values() []OutdatedInstancesStrategy {
return []OutdatedInstancesStrategy{
"UPDATE",
"IGNORE",
}
}
type RegistrationStatus string
// Enum values for RegistrationStatus
const (
RegistrationStatusRegistered RegistrationStatus = "Registered"
RegistrationStatusDeregistered RegistrationStatus = "Deregistered"
)
// Values returns all known values for RegistrationStatus. 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 (RegistrationStatus) Values() []RegistrationStatus {
return []RegistrationStatus{
"Registered",
"Deregistered",
}
}
type RevisionLocationType string
// Enum values for RevisionLocationType
const (
RevisionLocationTypeS3 RevisionLocationType = "S3"
RevisionLocationTypeGitHub RevisionLocationType = "GitHub"
RevisionLocationTypeString RevisionLocationType = "String"
RevisionLocationTypeAppSpecContent RevisionLocationType = "AppSpecContent"
)
// Values returns all known values for RevisionLocationType. 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 (RevisionLocationType) Values() []RevisionLocationType {
return []RevisionLocationType{
"S3",
"GitHub",
"String",
"AppSpecContent",
}
}
type SortOrder string
// Enum values for SortOrder
const (
SortOrderAscending SortOrder = "ascending"
SortOrderDescending SortOrder = "descending"
)
// Values returns all known values for SortOrder. 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 (SortOrder) Values() []SortOrder {
return []SortOrder{
"ascending",
"descending",
}
}
type StopStatus string
// Enum values for StopStatus
const (
StopStatusPending StopStatus = "Pending"
StopStatusSucceeded StopStatus = "Succeeded"
)
// Values returns all known values for StopStatus. 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 (StopStatus) Values() []StopStatus {
return []StopStatus{
"Pending",
"Succeeded",
}
}
type TagFilterType string
// Enum values for TagFilterType
const (
TagFilterTypeKeyOnly TagFilterType = "KEY_ONLY"
TagFilterTypeValueOnly TagFilterType = "VALUE_ONLY"
TagFilterTypeKeyAndValue TagFilterType = "KEY_AND_VALUE"
)
// Values returns all known values for TagFilterType. 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 (TagFilterType) Values() []TagFilterType {
return []TagFilterType{
"KEY_ONLY",
"VALUE_ONLY",
"KEY_AND_VALUE",
}
}
type TargetFilterName string
// Enum values for TargetFilterName
const (
TargetFilterNameTargetStatus TargetFilterName = "TargetStatus"
TargetFilterNameServerInstanceLabel TargetFilterName = "ServerInstanceLabel"
)
// Values returns all known values for TargetFilterName. 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 (TargetFilterName) Values() []TargetFilterName {
return []TargetFilterName{
"TargetStatus",
"ServerInstanceLabel",
}
}
type TargetLabel string
// Enum values for TargetLabel
const (
TargetLabelBlue TargetLabel = "Blue"
TargetLabelGreen TargetLabel = "Green"
)
// Values returns all known values for TargetLabel. 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 (TargetLabel) Values() []TargetLabel {
return []TargetLabel{
"Blue",
"Green",
}
}
type TargetStatus string
// Enum values for TargetStatus
const (
TargetStatusPending TargetStatus = "Pending"
TargetStatusInProgress TargetStatus = "InProgress"
TargetStatusSucceeded TargetStatus = "Succeeded"
TargetStatusFailed TargetStatus = "Failed"
TargetStatusSkipped TargetStatus = "Skipped"
TargetStatusUnknown TargetStatus = "Unknown"
TargetStatusReady TargetStatus = "Ready"
)
// 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{
"Pending",
"InProgress",
"Succeeded",
"Failed",
"Skipped",
"Unknown",
"Ready",
}
}
type TrafficRoutingType string
// Enum values for TrafficRoutingType
const (
TrafficRoutingTypeTimeBasedCanary TrafficRoutingType = "TimeBasedCanary"
TrafficRoutingTypeTimeBasedLinear TrafficRoutingType = "TimeBasedLinear"
TrafficRoutingTypeAllAtOnce TrafficRoutingType = "AllAtOnce"
)
// Values returns all known values for TrafficRoutingType. 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 (TrafficRoutingType) Values() []TrafficRoutingType {
return []TrafficRoutingType{
"TimeBasedCanary",
"TimeBasedLinear",
"AllAtOnce",
}
}
type TriggerEventType string
// Enum values for TriggerEventType
const (
TriggerEventTypeDeploymentStart TriggerEventType = "DeploymentStart"
TriggerEventTypeDeploymentSuccess TriggerEventType = "DeploymentSuccess"
TriggerEventTypeDeploymentFailure TriggerEventType = "DeploymentFailure"
TriggerEventTypeDeploymentStop TriggerEventType = "DeploymentStop"
TriggerEventTypeDeploymentRollback TriggerEventType = "DeploymentRollback"
TriggerEventTypeDeploymentReady TriggerEventType = "DeploymentReady"
TriggerEventTypeInstanceStart TriggerEventType = "InstanceStart"
TriggerEventTypeInstanceSuccess TriggerEventType = "InstanceSuccess"
TriggerEventTypeInstanceFailure TriggerEventType = "InstanceFailure"
TriggerEventTypeInstanceReady TriggerEventType = "InstanceReady"
)
// Values returns all known values for TriggerEventType. 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 (TriggerEventType) Values() []TriggerEventType {
return []TriggerEventType{
"DeploymentStart",
"DeploymentSuccess",
"DeploymentFailure",
"DeploymentStop",
"DeploymentRollback",
"DeploymentReady",
"InstanceStart",
"InstanceSuccess",
"InstanceFailure",
"InstanceReady",
}
}
|