1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type BytesMeasure string 6 7// Enum values for BytesMeasure 8const ( 9 BytesMeasureKilobytes BytesMeasure = "KILOBYTES" 10) 11 12// Values returns all known values for BytesMeasure. Note that this can be expanded 13// in the future, and so it is only as up to date as the client. The ordering of 14// this slice is not guaranteed to be stable across updates. 15func (BytesMeasure) Values() []BytesMeasure { 16 return []BytesMeasure{ 17 "KILOBYTES", 18 } 19} 20 21type DeploymentEventType string 22 23// Enum values for DeploymentEventType 24const ( 25 DeploymentEventTypePercentageUpdated DeploymentEventType = "PERCENTAGE_UPDATED" 26 DeploymentEventTypeRollbackStarted DeploymentEventType = "ROLLBACK_STARTED" 27 DeploymentEventTypeRollbackCompleted DeploymentEventType = "ROLLBACK_COMPLETED" 28 DeploymentEventTypeBakeTimeStarted DeploymentEventType = "BAKE_TIME_STARTED" 29 DeploymentEventTypeDeploymentStarted DeploymentEventType = "DEPLOYMENT_STARTED" 30 DeploymentEventTypeDeploymentCompleted DeploymentEventType = "DEPLOYMENT_COMPLETED" 31) 32 33// Values returns all known values for DeploymentEventType. Note that this can be 34// expanded in the future, and so it is only as up to date as the client. The 35// ordering of this slice is not guaranteed to be stable across updates. 36func (DeploymentEventType) Values() []DeploymentEventType { 37 return []DeploymentEventType{ 38 "PERCENTAGE_UPDATED", 39 "ROLLBACK_STARTED", 40 "ROLLBACK_COMPLETED", 41 "BAKE_TIME_STARTED", 42 "DEPLOYMENT_STARTED", 43 "DEPLOYMENT_COMPLETED", 44 } 45} 46 47type DeploymentState string 48 49// Enum values for DeploymentState 50const ( 51 DeploymentStateBaking DeploymentState = "BAKING" 52 DeploymentStateValidating DeploymentState = "VALIDATING" 53 DeploymentStateDeploying DeploymentState = "DEPLOYING" 54 DeploymentStateComplete DeploymentState = "COMPLETE" 55 DeploymentStateRollingBack DeploymentState = "ROLLING_BACK" 56 DeploymentStateRolledBack DeploymentState = "ROLLED_BACK" 57) 58 59// Values returns all known values for DeploymentState. Note that this can be 60// expanded in the future, and so it is only as up to date as the client. The 61// ordering of this slice is not guaranteed to be stable across updates. 62func (DeploymentState) Values() []DeploymentState { 63 return []DeploymentState{ 64 "BAKING", 65 "VALIDATING", 66 "DEPLOYING", 67 "COMPLETE", 68 "ROLLING_BACK", 69 "ROLLED_BACK", 70 } 71} 72 73type EnvironmentState string 74 75// Enum values for EnvironmentState 76const ( 77 EnvironmentStateReadyForDeployment EnvironmentState = "READY_FOR_DEPLOYMENT" 78 EnvironmentStateDeploying EnvironmentState = "DEPLOYING" 79 EnvironmentStateRollingBack EnvironmentState = "ROLLING_BACK" 80 EnvironmentStateRolledBack EnvironmentState = "ROLLED_BACK" 81) 82 83// Values returns all known values for EnvironmentState. Note that this can be 84// expanded in the future, and so it is only as up to date as the client. The 85// ordering of this slice is not guaranteed to be stable across updates. 86func (EnvironmentState) Values() []EnvironmentState { 87 return []EnvironmentState{ 88 "READY_FOR_DEPLOYMENT", 89 "DEPLOYING", 90 "ROLLING_BACK", 91 "ROLLED_BACK", 92 } 93} 94 95type GrowthType string 96 97// Enum values for GrowthType 98const ( 99 GrowthTypeLinear GrowthType = "LINEAR" 100 GrowthTypeExponential GrowthType = "EXPONENTIAL" 101) 102 103// Values returns all known values for GrowthType. Note that this can be expanded 104// in the future, and so it is only as up to date as the client. The ordering of 105// this slice is not guaranteed to be stable across updates. 106func (GrowthType) Values() []GrowthType { 107 return []GrowthType{ 108 "LINEAR", 109 "EXPONENTIAL", 110 } 111} 112 113type ReplicateTo string 114 115// Enum values for ReplicateTo 116const ( 117 ReplicateToNone ReplicateTo = "NONE" 118 ReplicateToSsmDocument ReplicateTo = "SSM_DOCUMENT" 119) 120 121// Values returns all known values for ReplicateTo. Note that this can be expanded 122// in the future, and so it is only as up to date as the client. The ordering of 123// this slice is not guaranteed to be stable across updates. 124func (ReplicateTo) Values() []ReplicateTo { 125 return []ReplicateTo{ 126 "NONE", 127 "SSM_DOCUMENT", 128 } 129} 130 131type TriggeredBy string 132 133// Enum values for TriggeredBy 134const ( 135 TriggeredByUser TriggeredBy = "USER" 136 TriggeredByAppconfig TriggeredBy = "APPCONFIG" 137 TriggeredByCloudwatchAlarm TriggeredBy = "CLOUDWATCH_ALARM" 138 TriggeredByInternalError TriggeredBy = "INTERNAL_ERROR" 139) 140 141// Values returns all known values for TriggeredBy. Note that this can be expanded 142// in the future, and so it is only as up to date as the client. The ordering of 143// this slice is not guaranteed to be stable across updates. 144func (TriggeredBy) Values() []TriggeredBy { 145 return []TriggeredBy{ 146 "USER", 147 "APPCONFIG", 148 "CLOUDWATCH_ALARM", 149 "INTERNAL_ERROR", 150 } 151} 152 153type ValidatorType string 154 155// Enum values for ValidatorType 156const ( 157 ValidatorTypeJsonSchema ValidatorType = "JSON_SCHEMA" 158 ValidatorTypeLambda ValidatorType = "LAMBDA" 159) 160 161// Values returns all known values for ValidatorType. Note that this can be 162// expanded in the future, and so it is only as up to date as the client. The 163// ordering of this slice is not guaranteed to be stable across updates. 164func (ValidatorType) Values() []ValidatorType { 165 return []ValidatorType{ 166 "JSON_SCHEMA", 167 "LAMBDA", 168 } 169} 170