File: enums.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.24.1-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 554,032 kB
  • sloc: java: 15,941; makefile: 419; sh: 175
file content (238 lines) | stat: -rw-r--r-- 9,277 bytes parent folder | download
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
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type RecommendationLanguage string

// Enum values for RecommendationLanguage
const (
	RecommendationLanguageEnglish             RecommendationLanguage = "en"
	RecommendationLanguageJapanese            RecommendationLanguage = "ja"
	RecommendationLanguageChinese             RecommendationLanguage = "zh"
	RecommendationLanguageFrench              RecommendationLanguage = "fr"
	RecommendationLanguageGerman              RecommendationLanguage = "de"
	RecommendationLanguageKorean              RecommendationLanguage = "ko"
	RecommendationLanguageTraditionalChinese  RecommendationLanguage = "zh_TW"
	RecommendationLanguageItalian             RecommendationLanguage = "it"
	RecommendationLanguageSpanish             RecommendationLanguage = "es"
	RecommendationLanguageBrazilianPortuguese RecommendationLanguage = "pt_BR"
	RecommendationLanguageBahasaIndonesia     RecommendationLanguage = "id"
)

// Values returns all known values for RecommendationLanguage. 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 (RecommendationLanguage) Values() []RecommendationLanguage {
	return []RecommendationLanguage{
		"en",
		"ja",
		"zh",
		"fr",
		"de",
		"ko",
		"zh_TW",
		"it",
		"es",
		"pt_BR",
		"id",
	}
}

type RecommendationLifecycleStage string

// Enum values for RecommendationLifecycleStage
const (
	RecommendationLifecycleStageInProgress      RecommendationLifecycleStage = "in_progress"
	RecommendationLifecycleStagePendingResponse RecommendationLifecycleStage = "pending_response"
	RecommendationLifecycleStageDismissed       RecommendationLifecycleStage = "dismissed"
	RecommendationLifecycleStageResolved        RecommendationLifecycleStage = "resolved"
)

// Values returns all known values for RecommendationLifecycleStage. 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 (RecommendationLifecycleStage) Values() []RecommendationLifecycleStage {
	return []RecommendationLifecycleStage{
		"in_progress",
		"pending_response",
		"dismissed",
		"resolved",
	}
}

type RecommendationPillar string

// Enum values for RecommendationPillar
const (
	RecommendationPillarCostOptimizing        RecommendationPillar = "cost_optimizing"
	RecommendationPillarPerformance           RecommendationPillar = "performance"
	RecommendationPillarSecurity              RecommendationPillar = "security"
	RecommendationPillarServiceLimits         RecommendationPillar = "service_limits"
	RecommendationPillarFaultTolerance        RecommendationPillar = "fault_tolerance"
	RecommendationPillarOperationalExcellence RecommendationPillar = "operational_excellence"
)

// Values returns all known values for RecommendationPillar. 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 (RecommendationPillar) Values() []RecommendationPillar {
	return []RecommendationPillar{
		"cost_optimizing",
		"performance",
		"security",
		"service_limits",
		"fault_tolerance",
		"operational_excellence",
	}
}

type RecommendationSource string

// Enum values for RecommendationSource
const (
	RecommendationSourceAwsConfig        RecommendationSource = "aws_config"
	RecommendationSourceComputeOptimizer RecommendationSource = "compute_optimizer"
	RecommendationSourceCostExplorer     RecommendationSource = "cost_explorer"
	RecommendationSourceLse              RecommendationSource = "lse"
	RecommendationSourceManual           RecommendationSource = "manual"
	RecommendationSourcePse              RecommendationSource = "pse"
	RecommendationSourceRds              RecommendationSource = "rds"
	RecommendationSourceResilience       RecommendationSource = "resilience"
	RecommendationSourceResilienceHub    RecommendationSource = "resilience_hub"
	RecommendationSourceSecurityHub      RecommendationSource = "security_hub"
	RecommendationSourceStir             RecommendationSource = "stir"
	RecommendationSourceTaCheck          RecommendationSource = "ta_check"
	RecommendationSourceWellArchitected  RecommendationSource = "well_architected"
)

// Values returns all known values for RecommendationSource. 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 (RecommendationSource) Values() []RecommendationSource {
	return []RecommendationSource{
		"aws_config",
		"compute_optimizer",
		"cost_explorer",
		"lse",
		"manual",
		"pse",
		"rds",
		"resilience",
		"resilience_hub",
		"security_hub",
		"stir",
		"ta_check",
		"well_architected",
	}
}

type RecommendationStatus string

// Enum values for RecommendationStatus
const (
	RecommendationStatusOk      RecommendationStatus = "ok"
	RecommendationStatusWarning RecommendationStatus = "warning"
	RecommendationStatusError   RecommendationStatus = "error"
)

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

type RecommendationType string

// Enum values for RecommendationType
const (
	RecommendationTypeStandard RecommendationType = "standard"
	RecommendationTypePriority RecommendationType = "priority"
)

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

type ResourceStatus string

// Enum values for ResourceStatus
const (
	ResourceStatusOk      ResourceStatus = "ok"
	ResourceStatusWarning ResourceStatus = "warning"
	ResourceStatusError   ResourceStatus = "error"
)

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

type UpdateRecommendationLifecycleStage string

// Enum values for UpdateRecommendationLifecycleStage
const (
	UpdateRecommendationLifecycleStagePendingResponse UpdateRecommendationLifecycleStage = "pending_response"
	UpdateRecommendationLifecycleStageInProgress      UpdateRecommendationLifecycleStage = "in_progress"
	UpdateRecommendationLifecycleStageDismissed       UpdateRecommendationLifecycleStage = "dismissed"
	UpdateRecommendationLifecycleStageResolved        UpdateRecommendationLifecycleStage = "resolved"
)

// Values returns all known values for UpdateRecommendationLifecycleStage. 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 (UpdateRecommendationLifecycleStage) Values() []UpdateRecommendationLifecycleStage {
	return []UpdateRecommendationLifecycleStage{
		"pending_response",
		"in_progress",
		"dismissed",
		"resolved",
	}
}

type UpdateRecommendationLifecycleStageReasonCode string

// Enum values for UpdateRecommendationLifecycleStageReasonCode
const (
	UpdateRecommendationLifecycleStageReasonCodeNonCriticalAccount    UpdateRecommendationLifecycleStageReasonCode = "non_critical_account"
	UpdateRecommendationLifecycleStageReasonCodeTemporaryAccount      UpdateRecommendationLifecycleStageReasonCode = "temporary_account"
	UpdateRecommendationLifecycleStageReasonCodeValidBusinessCase     UpdateRecommendationLifecycleStageReasonCode = "valid_business_case"
	UpdateRecommendationLifecycleStageReasonCodeOtherMethodsAvailable UpdateRecommendationLifecycleStageReasonCode = "other_methods_available"
	UpdateRecommendationLifecycleStageReasonCodeLowPriority           UpdateRecommendationLifecycleStageReasonCode = "low_priority"
	UpdateRecommendationLifecycleStageReasonCodeNotApplicable         UpdateRecommendationLifecycleStageReasonCode = "not_applicable"
	UpdateRecommendationLifecycleStageReasonCodeOther                 UpdateRecommendationLifecycleStageReasonCode = "other"
)

// Values returns all known values for
// UpdateRecommendationLifecycleStageReasonCode. 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 (UpdateRecommendationLifecycleStageReasonCode) Values() []UpdateRecommendationLifecycleStageReasonCode {
	return []UpdateRecommendationLifecycleStageReasonCode{
		"non_critical_account",
		"temporary_account",
		"valid_business_case",
		"other_methods_available",
		"low_priority",
		"not_applicable",
		"other",
	}
}