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 (490 lines) | stat: -rw-r--r-- 15,778 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
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
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type AutoScalingMetric string

// Enum values for AutoScalingMetric
const (
	AutoScalingMetricCpuUtilizationPercentage AutoScalingMetric = "CPU_UTILIZATION_PERCENTAGE"
)

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

type ChangesetStatus string

// Enum values for ChangesetStatus
const (
	ChangesetStatusPending    ChangesetStatus = "PENDING"
	ChangesetStatusProcessing ChangesetStatus = "PROCESSING"
	ChangesetStatusFailed     ChangesetStatus = "FAILED"
	ChangesetStatusCompleted  ChangesetStatus = "COMPLETED"
)

// Values returns all known values for ChangesetStatus. 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 (ChangesetStatus) Values() []ChangesetStatus {
	return []ChangesetStatus{
		"PENDING",
		"PROCESSING",
		"FAILED",
		"COMPLETED",
	}
}

type ChangeType string

// Enum values for ChangeType
const (
	ChangeTypePut    ChangeType = "PUT"
	ChangeTypeDelete ChangeType = "DELETE"
)

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

type DnsStatus string

// Enum values for DnsStatus
const (
	DnsStatusNone                DnsStatus = "NONE"
	DnsStatusUpdateRequested     DnsStatus = "UPDATE_REQUESTED"
	DnsStatusUpdating            DnsStatus = "UPDATING"
	DnsStatusFailedUpdate        DnsStatus = "FAILED_UPDATE"
	DnsStatusSuccessfullyUpdated DnsStatus = "SUCCESSFULLY_UPDATED"
)

// Values returns all known values for DnsStatus. 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 (DnsStatus) Values() []DnsStatus {
	return []DnsStatus{
		"NONE",
		"UPDATE_REQUESTED",
		"UPDATING",
		"FAILED_UPDATE",
		"SUCCESSFULLY_UPDATED",
	}
}

type EnvironmentStatus string

// Enum values for EnvironmentStatus
const (
	EnvironmentStatusCreateRequested        EnvironmentStatus = "CREATE_REQUESTED"
	EnvironmentStatusCreating               EnvironmentStatus = "CREATING"
	EnvironmentStatusCreated                EnvironmentStatus = "CREATED"
	EnvironmentStatusDeleteRequested        EnvironmentStatus = "DELETE_REQUESTED"
	EnvironmentStatusDeleting               EnvironmentStatus = "DELETING"
	EnvironmentStatusDeleted                EnvironmentStatus = "DELETED"
	EnvironmentStatusFailedCreation         EnvironmentStatus = "FAILED_CREATION"
	EnvironmentStatusRetryDeletion          EnvironmentStatus = "RETRY_DELETION"
	EnvironmentStatusFailedDeletion         EnvironmentStatus = "FAILED_DELETION"
	EnvironmentStatusUpdateNetworkRequested EnvironmentStatus = "UPDATE_NETWORK_REQUESTED"
	EnvironmentStatusUpdatingNetwork        EnvironmentStatus = "UPDATING_NETWORK"
	EnvironmentStatusFailedUpdatingNetwork  EnvironmentStatus = "FAILED_UPDATING_NETWORK"
	EnvironmentStatusSuspended              EnvironmentStatus = "SUSPENDED"
)

// Values returns all known values for EnvironmentStatus. 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 (EnvironmentStatus) Values() []EnvironmentStatus {
	return []EnvironmentStatus{
		"CREATE_REQUESTED",
		"CREATING",
		"CREATED",
		"DELETE_REQUESTED",
		"DELETING",
		"DELETED",
		"FAILED_CREATION",
		"RETRY_DELETION",
		"FAILED_DELETION",
		"UPDATE_NETWORK_REQUESTED",
		"UPDATING_NETWORK",
		"FAILED_UPDATING_NETWORK",
		"SUSPENDED",
	}
}

type ErrorDetails string

// Enum values for ErrorDetails
const (
	ErrorDetailsValidation               ErrorDetails = "The inputs to this request are invalid."
	ErrorDetailsServiceQuotaExceeded     ErrorDetails = "Service limits have been exceeded."
	ErrorDetailsAccessDenied             ErrorDetails = "Missing required permission to perform this request."
	ErrorDetailsResourceNotFound         ErrorDetails = "One or more inputs to this request were not found."
	ErrorDetailsThrottling               ErrorDetails = "The system temporarily lacks sufficient resources to process the request."
	ErrorDetailsInternalServiceException ErrorDetails = "An internal error has occurred."
	ErrorDetailsCancelled                ErrorDetails = "Cancelled"
	ErrorDetailsUserRecoverable          ErrorDetails = "A user recoverable error has occurred"
)

// Values returns all known values for ErrorDetails. 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 (ErrorDetails) Values() []ErrorDetails {
	return []ErrorDetails{
		"The inputs to this request are invalid.",
		"Service limits have been exceeded.",
		"Missing required permission to perform this request.",
		"One or more inputs to this request were not found.",
		"The system temporarily lacks sufficient resources to process the request.",
		"An internal error has occurred.",
		"Cancelled",
		"A user recoverable error has occurred",
	}
}

type FederationMode string

// Enum values for FederationMode
const (
	FederationModeFederated FederationMode = "FEDERATED"
	FederationModeLocal     FederationMode = "LOCAL"
)

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

type IPAddressType string

// Enum values for IPAddressType
const (
	IPAddressTypeIpV4 IPAddressType = "IP_V4"
)

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

type KxAzMode string

// Enum values for KxAzMode
const (
	KxAzModeSingle KxAzMode = "SINGLE"
	KxAzModeMulti  KxAzMode = "MULTI"
)

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

type KxClusterCodeDeploymentStrategy string

// Enum values for KxClusterCodeDeploymentStrategy
const (
	KxClusterCodeDeploymentStrategyNoRestart KxClusterCodeDeploymentStrategy = "NO_RESTART"
	KxClusterCodeDeploymentStrategyRolling   KxClusterCodeDeploymentStrategy = "ROLLING"
	KxClusterCodeDeploymentStrategyForce     KxClusterCodeDeploymentStrategy = "FORCE"
)

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

type KxClusterStatus string

// Enum values for KxClusterStatus
const (
	KxClusterStatusPending      KxClusterStatus = "PENDING"
	KxClusterStatusCreating     KxClusterStatus = "CREATING"
	KxClusterStatusCreateFailed KxClusterStatus = "CREATE_FAILED"
	KxClusterStatusRunning      KxClusterStatus = "RUNNING"
	KxClusterStatusUpdating     KxClusterStatus = "UPDATING"
	KxClusterStatusDeleting     KxClusterStatus = "DELETING"
	KxClusterStatusDeleted      KxClusterStatus = "DELETED"
	KxClusterStatusDeleteFailed KxClusterStatus = "DELETE_FAILED"
)

// Values returns all known values for KxClusterStatus. 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 (KxClusterStatus) Values() []KxClusterStatus {
	return []KxClusterStatus{
		"PENDING",
		"CREATING",
		"CREATE_FAILED",
		"RUNNING",
		"UPDATING",
		"DELETING",
		"DELETED",
		"DELETE_FAILED",
	}
}

type KxClusterType string

// Enum values for KxClusterType
const (
	KxClusterTypeHdb         KxClusterType = "HDB"
	KxClusterTypeRdb         KxClusterType = "RDB"
	KxClusterTypeGateway     KxClusterType = "GATEWAY"
	KxClusterTypeGp          KxClusterType = "GP"
	KxClusterTypeTickerplant KxClusterType = "TICKERPLANT"
)

// Values returns all known values for KxClusterType. 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 (KxClusterType) Values() []KxClusterType {
	return []KxClusterType{
		"HDB",
		"RDB",
		"GATEWAY",
		"GP",
		"TICKERPLANT",
	}
}

type KxDataviewStatus string

// Enum values for KxDataviewStatus
const (
	KxDataviewStatusCreating KxDataviewStatus = "CREATING"
	KxDataviewStatusActive   KxDataviewStatus = "ACTIVE"
	KxDataviewStatusUpdating KxDataviewStatus = "UPDATING"
	KxDataviewStatusFailed   KxDataviewStatus = "FAILED"
	KxDataviewStatusDeleting KxDataviewStatus = "DELETING"
)

// Values returns all known values for KxDataviewStatus. 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 (KxDataviewStatus) Values() []KxDataviewStatus {
	return []KxDataviewStatus{
		"CREATING",
		"ACTIVE",
		"UPDATING",
		"FAILED",
		"DELETING",
	}
}

type KxDeploymentStrategy string

// Enum values for KxDeploymentStrategy
const (
	KxDeploymentStrategyNoRestart KxDeploymentStrategy = "NO_RESTART"
	KxDeploymentStrategyRolling   KxDeploymentStrategy = "ROLLING"
)

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

type KxNAS1Type string

// Enum values for KxNAS1Type
const (
	KxNAS1TypeSsd1000 KxNAS1Type = "SSD_1000"
	KxNAS1TypeSsd250  KxNAS1Type = "SSD_250"
	KxNAS1TypeHdd12   KxNAS1Type = "HDD_12"
)

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

type KxSavedownStorageType string

// Enum values for KxSavedownStorageType
const (
	KxSavedownStorageTypeSds01 KxSavedownStorageType = "SDS01"
)

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

type KxScalingGroupStatus string

// Enum values for KxScalingGroupStatus
const (
	KxScalingGroupStatusCreating     KxScalingGroupStatus = "CREATING"
	KxScalingGroupStatusCreateFailed KxScalingGroupStatus = "CREATE_FAILED"
	KxScalingGroupStatusActive       KxScalingGroupStatus = "ACTIVE"
	KxScalingGroupStatusDeleting     KxScalingGroupStatus = "DELETING"
	KxScalingGroupStatusDeleted      KxScalingGroupStatus = "DELETED"
	KxScalingGroupStatusDeleteFailed KxScalingGroupStatus = "DELETE_FAILED"
)

// Values returns all known values for KxScalingGroupStatus. 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 (KxScalingGroupStatus) Values() []KxScalingGroupStatus {
	return []KxScalingGroupStatus{
		"CREATING",
		"CREATE_FAILED",
		"ACTIVE",
		"DELETING",
		"DELETED",
		"DELETE_FAILED",
	}
}

type KxVolumeStatus string

// Enum values for KxVolumeStatus
const (
	KxVolumeStatusCreating     KxVolumeStatus = "CREATING"
	KxVolumeStatusCreateFailed KxVolumeStatus = "CREATE_FAILED"
	KxVolumeStatusActive       KxVolumeStatus = "ACTIVE"
	KxVolumeStatusUpdating     KxVolumeStatus = "UPDATING"
	KxVolumeStatusUpdated      KxVolumeStatus = "UPDATED"
	KxVolumeStatusUpdateFailed KxVolumeStatus = "UPDATE_FAILED"
	KxVolumeStatusDeleting     KxVolumeStatus = "DELETING"
	KxVolumeStatusDeleted      KxVolumeStatus = "DELETED"
	KxVolumeStatusDeleteFailed KxVolumeStatus = "DELETE_FAILED"
)

// Values returns all known values for KxVolumeStatus. 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 (KxVolumeStatus) Values() []KxVolumeStatus {
	return []KxVolumeStatus{
		"CREATING",
		"CREATE_FAILED",
		"ACTIVE",
		"UPDATING",
		"UPDATED",
		"UPDATE_FAILED",
		"DELETING",
		"DELETED",
		"DELETE_FAILED",
	}
}

type KxVolumeType string

// Enum values for KxVolumeType
const (
	KxVolumeTypeNas1 KxVolumeType = "NAS_1"
)

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

type RuleAction string

// Enum values for RuleAction
const (
	RuleActionAllow RuleAction = "allow"
	RuleActionDeny  RuleAction = "deny"
)

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

type TgwStatus string

// Enum values for TgwStatus
const (
	TgwStatusNone                TgwStatus = "NONE"
	TgwStatusUpdateRequested     TgwStatus = "UPDATE_REQUESTED"
	TgwStatusUpdating            TgwStatus = "UPDATING"
	TgwStatusFailedUpdate        TgwStatus = "FAILED_UPDATE"
	TgwStatusSuccessfullyUpdated TgwStatus = "SUCCESSFULLY_UPDATED"
)

// Values returns all known values for TgwStatus. 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 (TgwStatus) Values() []TgwStatus {
	return []TgwStatus{
		"NONE",
		"UPDATE_REQUESTED",
		"UPDATING",
		"FAILED_UPDATE",
		"SUCCESSFULLY_UPDATED",
	}
}

type VolumeType string

// Enum values for VolumeType
const (
	VolumeTypeNas1 VolumeType = "NAS_1"
)

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