File: enums.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.30.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 662,428 kB
  • sloc: java: 16,875; makefile: 432; sh: 175
file content (223 lines) | stat: -rw-r--r-- 7,001 bytes parent folder | download | duplicates (3)
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
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type ActionPoint string

// Enum values for ActionPoint
const (
	ActionPointPreCreateHostedConfigurationVersion ActionPoint = "PRE_CREATE_HOSTED_CONFIGURATION_VERSION"
	ActionPointPreStartDeployment                  ActionPoint = "PRE_START_DEPLOYMENT"
	ActionPointOnDeploymentStart                   ActionPoint = "ON_DEPLOYMENT_START"
	ActionPointOnDeploymentStep                    ActionPoint = "ON_DEPLOYMENT_STEP"
	ActionPointOnDeploymentBaking                  ActionPoint = "ON_DEPLOYMENT_BAKING"
	ActionPointOnDeploymentComplete                ActionPoint = "ON_DEPLOYMENT_COMPLETE"
	ActionPointOnDeploymentRolledBack              ActionPoint = "ON_DEPLOYMENT_ROLLED_BACK"
)

// Values returns all known values for ActionPoint. 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 (ActionPoint) Values() []ActionPoint {
	return []ActionPoint{
		"PRE_CREATE_HOSTED_CONFIGURATION_VERSION",
		"PRE_START_DEPLOYMENT",
		"ON_DEPLOYMENT_START",
		"ON_DEPLOYMENT_STEP",
		"ON_DEPLOYMENT_BAKING",
		"ON_DEPLOYMENT_COMPLETE",
		"ON_DEPLOYMENT_ROLLED_BACK",
	}
}

type BadRequestReason string

// Enum values for BadRequestReason
const (
	BadRequestReasonInvalidConfiguration BadRequestReason = "InvalidConfiguration"
)

// Values returns all known values for BadRequestReason. 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 (BadRequestReason) Values() []BadRequestReason {
	return []BadRequestReason{
		"InvalidConfiguration",
	}
}

type BytesMeasure string

// Enum values for BytesMeasure
const (
	BytesMeasureKilobytes BytesMeasure = "KILOBYTES"
)

// Values returns all known values for BytesMeasure. 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 (BytesMeasure) Values() []BytesMeasure {
	return []BytesMeasure{
		"KILOBYTES",
	}
}

type DeploymentEventType string

// Enum values for DeploymentEventType
const (
	DeploymentEventTypePercentageUpdated   DeploymentEventType = "PERCENTAGE_UPDATED"
	DeploymentEventTypeRollbackStarted     DeploymentEventType = "ROLLBACK_STARTED"
	DeploymentEventTypeRollbackCompleted   DeploymentEventType = "ROLLBACK_COMPLETED"
	DeploymentEventTypeBakeTimeStarted     DeploymentEventType = "BAKE_TIME_STARTED"
	DeploymentEventTypeDeploymentStarted   DeploymentEventType = "DEPLOYMENT_STARTED"
	DeploymentEventTypeDeploymentCompleted DeploymentEventType = "DEPLOYMENT_COMPLETED"
)

// Values returns all known values for DeploymentEventType. 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 (DeploymentEventType) Values() []DeploymentEventType {
	return []DeploymentEventType{
		"PERCENTAGE_UPDATED",
		"ROLLBACK_STARTED",
		"ROLLBACK_COMPLETED",
		"BAKE_TIME_STARTED",
		"DEPLOYMENT_STARTED",
		"DEPLOYMENT_COMPLETED",
	}
}

type DeploymentState string

// Enum values for DeploymentState
const (
	DeploymentStateBaking      DeploymentState = "BAKING"
	DeploymentStateValidating  DeploymentState = "VALIDATING"
	DeploymentStateDeploying   DeploymentState = "DEPLOYING"
	DeploymentStateComplete    DeploymentState = "COMPLETE"
	DeploymentStateRollingBack DeploymentState = "ROLLING_BACK"
	DeploymentStateRolledBack  DeploymentState = "ROLLED_BACK"
)

// Values returns all known values for DeploymentState. 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 (DeploymentState) Values() []DeploymentState {
	return []DeploymentState{
		"BAKING",
		"VALIDATING",
		"DEPLOYING",
		"COMPLETE",
		"ROLLING_BACK",
		"ROLLED_BACK",
	}
}

type EnvironmentState string

// Enum values for EnvironmentState
const (
	EnvironmentStateReadyForDeployment EnvironmentState = "READY_FOR_DEPLOYMENT"
	EnvironmentStateDeploying          EnvironmentState = "DEPLOYING"
	EnvironmentStateRollingBack        EnvironmentState = "ROLLING_BACK"
	EnvironmentStateRolledBack         EnvironmentState = "ROLLED_BACK"
)

// Values returns all known values for EnvironmentState. 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 (EnvironmentState) Values() []EnvironmentState {
	return []EnvironmentState{
		"READY_FOR_DEPLOYMENT",
		"DEPLOYING",
		"ROLLING_BACK",
		"ROLLED_BACK",
	}
}

type GrowthType string

// Enum values for GrowthType
const (
	GrowthTypeLinear      GrowthType = "LINEAR"
	GrowthTypeExponential GrowthType = "EXPONENTIAL"
)

// Values returns all known values for GrowthType. 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 (GrowthType) Values() []GrowthType {
	return []GrowthType{
		"LINEAR",
		"EXPONENTIAL",
	}
}

type ReplicateTo string

// Enum values for ReplicateTo
const (
	ReplicateToNone        ReplicateTo = "NONE"
	ReplicateToSsmDocument ReplicateTo = "SSM_DOCUMENT"
)

// Values returns all known values for ReplicateTo. 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 (ReplicateTo) Values() []ReplicateTo {
	return []ReplicateTo{
		"NONE",
		"SSM_DOCUMENT",
	}
}

type TriggeredBy string

// Enum values for TriggeredBy
const (
	TriggeredByUser            TriggeredBy = "USER"
	TriggeredByAppconfig       TriggeredBy = "APPCONFIG"
	TriggeredByCloudwatchAlarm TriggeredBy = "CLOUDWATCH_ALARM"
	TriggeredByInternalError   TriggeredBy = "INTERNAL_ERROR"
)

// Values returns all known values for TriggeredBy. 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 (TriggeredBy) Values() []TriggeredBy {
	return []TriggeredBy{
		"USER",
		"APPCONFIG",
		"CLOUDWATCH_ALARM",
		"INTERNAL_ERROR",
	}
}

type ValidatorType string

// Enum values for ValidatorType
const (
	ValidatorTypeJsonSchema ValidatorType = "JSON_SCHEMA"
	ValidatorTypeLambda     ValidatorType = "LAMBDA"
)

// Values returns all known values for ValidatorType. 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 (ValidatorType) Values() []ValidatorType {
	return []ValidatorType{
		"JSON_SCHEMA",
		"LAMBDA",
	}
}