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

package types

type AuthenticationType string

// Enum values for AuthenticationType
const (
	AuthenticationTypePassword   AuthenticationType = "password"
	AuthenticationTypeNoPassword AuthenticationType = "no-password"
	AuthenticationTypeIam        AuthenticationType = "iam"
)

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

type AuthTokenUpdateStatus string

// Enum values for AuthTokenUpdateStatus
const (
	AuthTokenUpdateStatusSetting  AuthTokenUpdateStatus = "SETTING"
	AuthTokenUpdateStatusRotating AuthTokenUpdateStatus = "ROTATING"
)

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

type AuthTokenUpdateStrategyType string

// Enum values for AuthTokenUpdateStrategyType
const (
	AuthTokenUpdateStrategyTypeSet    AuthTokenUpdateStrategyType = "SET"
	AuthTokenUpdateStrategyTypeRotate AuthTokenUpdateStrategyType = "ROTATE"
	AuthTokenUpdateStrategyTypeDelete AuthTokenUpdateStrategyType = "DELETE"
)

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

type AutomaticFailoverStatus string

// Enum values for AutomaticFailoverStatus
const (
	AutomaticFailoverStatusEnabled   AutomaticFailoverStatus = "enabled"
	AutomaticFailoverStatusDisabled  AutomaticFailoverStatus = "disabled"
	AutomaticFailoverStatusEnabling  AutomaticFailoverStatus = "enabling"
	AutomaticFailoverStatusDisabling AutomaticFailoverStatus = "disabling"
)

// Values returns all known values for AutomaticFailoverStatus. 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 (AutomaticFailoverStatus) Values() []AutomaticFailoverStatus {
	return []AutomaticFailoverStatus{
		"enabled",
		"disabled",
		"enabling",
		"disabling",
	}
}

type AZMode string

// Enum values for AZMode
const (
	AZModeSingleAz AZMode = "single-az"
	AZModeCrossAz  AZMode = "cross-az"
)

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

type ChangeType string

// Enum values for ChangeType
const (
	ChangeTypeImmediate      ChangeType = "immediate"
	ChangeTypeRequiresReboot ChangeType = "requires-reboot"
)

// 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{
		"immediate",
		"requires-reboot",
	}
}

type ClusterMode string

// Enum values for ClusterMode
const (
	ClusterModeEnabled    ClusterMode = "enabled"
	ClusterModeDisabled   ClusterMode = "disabled"
	ClusterModeCompatible ClusterMode = "compatible"
)

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

type DataStorageUnit string

// Enum values for DataStorageUnit
const (
	DataStorageUnitGb DataStorageUnit = "GB"
)

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

type DataTieringStatus string

// Enum values for DataTieringStatus
const (
	DataTieringStatusEnabled  DataTieringStatus = "enabled"
	DataTieringStatusDisabled DataTieringStatus = "disabled"
)

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

type DestinationType string

// Enum values for DestinationType
const (
	DestinationTypeCloudWatchLogs  DestinationType = "cloudwatch-logs"
	DestinationTypeKinesisFirehose DestinationType = "kinesis-firehose"
)

// Values returns all known values for DestinationType. 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 (DestinationType) Values() []DestinationType {
	return []DestinationType{
		"cloudwatch-logs",
		"kinesis-firehose",
	}
}

type InputAuthenticationType string

// Enum values for InputAuthenticationType
const (
	InputAuthenticationTypePassword   InputAuthenticationType = "password"
	InputAuthenticationTypeNoPassword InputAuthenticationType = "no-password-required"
	InputAuthenticationTypeIam        InputAuthenticationType = "iam"
)

// Values returns all known values for InputAuthenticationType. 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 (InputAuthenticationType) Values() []InputAuthenticationType {
	return []InputAuthenticationType{
		"password",
		"no-password-required",
		"iam",
	}
}

type IpDiscovery string

// Enum values for IpDiscovery
const (
	IpDiscoveryIpv4 IpDiscovery = "ipv4"
	IpDiscoveryIpv6 IpDiscovery = "ipv6"
)

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

type LogDeliveryConfigurationStatus string

// Enum values for LogDeliveryConfigurationStatus
const (
	LogDeliveryConfigurationStatusActive    LogDeliveryConfigurationStatus = "active"
	LogDeliveryConfigurationStatusEnabling  LogDeliveryConfigurationStatus = "enabling"
	LogDeliveryConfigurationStatusModifying LogDeliveryConfigurationStatus = "modifying"
	LogDeliveryConfigurationStatusDisabling LogDeliveryConfigurationStatus = "disabling"
	LogDeliveryConfigurationStatusError     LogDeliveryConfigurationStatus = "error"
)

// Values returns all known values for LogDeliveryConfigurationStatus. 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 (LogDeliveryConfigurationStatus) Values() []LogDeliveryConfigurationStatus {
	return []LogDeliveryConfigurationStatus{
		"active",
		"enabling",
		"modifying",
		"disabling",
		"error",
	}
}

type LogFormat string

// Enum values for LogFormat
const (
	LogFormatText LogFormat = "text"
	LogFormatJson LogFormat = "json"
)

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

type LogType string

// Enum values for LogType
const (
	LogTypeSlowLog   LogType = "slow-log"
	LogTypeEngineLog LogType = "engine-log"
)

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

type MultiAZStatus string

// Enum values for MultiAZStatus
const (
	MultiAZStatusEnabled  MultiAZStatus = "enabled"
	MultiAZStatusDisabled MultiAZStatus = "disabled"
)

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

type NetworkType string

// Enum values for NetworkType
const (
	NetworkTypeIpv4      NetworkType = "ipv4"
	NetworkTypeIpv6      NetworkType = "ipv6"
	NetworkTypeDualStack NetworkType = "dual_stack"
)

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

type NodeUpdateInitiatedBy string

// Enum values for NodeUpdateInitiatedBy
const (
	NodeUpdateInitiatedBySystem   NodeUpdateInitiatedBy = "system"
	NodeUpdateInitiatedByCustomer NodeUpdateInitiatedBy = "customer"
)

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

type NodeUpdateStatus string

// Enum values for NodeUpdateStatus
const (
	NodeUpdateStatusNotApplied     NodeUpdateStatus = "not-applied"
	NodeUpdateStatusWaitingToStart NodeUpdateStatus = "waiting-to-start"
	NodeUpdateStatusInProgress     NodeUpdateStatus = "in-progress"
	NodeUpdateStatusStopping       NodeUpdateStatus = "stopping"
	NodeUpdateStatusStopped        NodeUpdateStatus = "stopped"
	NodeUpdateStatusComplete       NodeUpdateStatus = "complete"
)

// Values returns all known values for NodeUpdateStatus. 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 (NodeUpdateStatus) Values() []NodeUpdateStatus {
	return []NodeUpdateStatus{
		"not-applied",
		"waiting-to-start",
		"in-progress",
		"stopping",
		"stopped",
		"complete",
	}
}

type OutpostMode string

// Enum values for OutpostMode
const (
	OutpostModeSingleOutpost OutpostMode = "single-outpost"
	OutpostModeCrossOutpost  OutpostMode = "cross-outpost"
)

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

type PendingAutomaticFailoverStatus string

// Enum values for PendingAutomaticFailoverStatus
const (
	PendingAutomaticFailoverStatusEnabled  PendingAutomaticFailoverStatus = "enabled"
	PendingAutomaticFailoverStatusDisabled PendingAutomaticFailoverStatus = "disabled"
)

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

type ServiceUpdateSeverity string

// Enum values for ServiceUpdateSeverity
const (
	ServiceUpdateSeverityCritical  ServiceUpdateSeverity = "critical"
	ServiceUpdateSeverityImportant ServiceUpdateSeverity = "important"
	ServiceUpdateSeverityMedium    ServiceUpdateSeverity = "medium"
	ServiceUpdateSeverityLow       ServiceUpdateSeverity = "low"
)

// Values returns all known values for ServiceUpdateSeverity. 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 (ServiceUpdateSeverity) Values() []ServiceUpdateSeverity {
	return []ServiceUpdateSeverity{
		"critical",
		"important",
		"medium",
		"low",
	}
}

type ServiceUpdateStatus string

// Enum values for ServiceUpdateStatus
const (
	ServiceUpdateStatusAvailable ServiceUpdateStatus = "available"
	ServiceUpdateStatusCancelled ServiceUpdateStatus = "cancelled"
	ServiceUpdateStatusExpired   ServiceUpdateStatus = "expired"
)

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

type ServiceUpdateType string

// Enum values for ServiceUpdateType
const (
	ServiceUpdateTypeSecurityUpdate ServiceUpdateType = "security-update"
)

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

type SlaMet string

// Enum values for SlaMet
const (
	SlaMetYes SlaMet = "yes"
	SlaMetNo  SlaMet = "no"
	SlaMetNa  SlaMet = "n/a"
)

// Values returns all known values for SlaMet. 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 (SlaMet) Values() []SlaMet {
	return []SlaMet{
		"yes",
		"no",
		"n/a",
	}
}

type SourceType string

// Enum values for SourceType
const (
	SourceTypeCacheCluster            SourceType = "cache-cluster"
	SourceTypeCacheParameterGroup     SourceType = "cache-parameter-group"
	SourceTypeCacheSecurityGroup      SourceType = "cache-security-group"
	SourceTypeCacheSubnetGroup        SourceType = "cache-subnet-group"
	SourceTypeReplicationGroup        SourceType = "replication-group"
	SourceTypeServerlessCache         SourceType = "serverless-cache"
	SourceTypeServerlessCacheSnapshot SourceType = "serverless-cache-snapshot"
	SourceTypeUser                    SourceType = "user"
	SourceTypeUserGroup               SourceType = "user-group"
)

// Values returns all known values for SourceType. 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 (SourceType) Values() []SourceType {
	return []SourceType{
		"cache-cluster",
		"cache-parameter-group",
		"cache-security-group",
		"cache-subnet-group",
		"replication-group",
		"serverless-cache",
		"serverless-cache-snapshot",
		"user",
		"user-group",
	}
}

type TransitEncryptionMode string

// Enum values for TransitEncryptionMode
const (
	TransitEncryptionModePreferred TransitEncryptionMode = "preferred"
	TransitEncryptionModeRequired  TransitEncryptionMode = "required"
)

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

type UpdateActionStatus string

// Enum values for UpdateActionStatus
const (
	UpdateActionStatusNotApplied     UpdateActionStatus = "not-applied"
	UpdateActionStatusWaitingToStart UpdateActionStatus = "waiting-to-start"
	UpdateActionStatusInProgress     UpdateActionStatus = "in-progress"
	UpdateActionStatusStopping       UpdateActionStatus = "stopping"
	UpdateActionStatusStopped        UpdateActionStatus = "stopped"
	UpdateActionStatusComplete       UpdateActionStatus = "complete"
	UpdateActionStatusScheduling     UpdateActionStatus = "scheduling"
	UpdateActionStatusScheduled      UpdateActionStatus = "scheduled"
	UpdateActionStatusNotApplicable  UpdateActionStatus = "not-applicable"
)

// Values returns all known values for UpdateActionStatus. 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 (UpdateActionStatus) Values() []UpdateActionStatus {
	return []UpdateActionStatus{
		"not-applied",
		"waiting-to-start",
		"in-progress",
		"stopping",
		"stopped",
		"complete",
		"scheduling",
		"scheduled",
		"not-applicable",
	}
}