/
enums.go
590 lines (508 loc) · 19.6 KB
/
enums.go
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
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type ActivityStreamMode string
// Enum values for ActivityStreamMode
const (
ActivityStreamModeSync ActivityStreamMode = "sync"
ActivityStreamModeAsync ActivityStreamMode = "async"
)
// Values returns all known values for ActivityStreamMode. 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 (ActivityStreamMode) Values() []ActivityStreamMode {
return []ActivityStreamMode{
"sync",
"async",
}
}
type ActivityStreamPolicyStatus string
// Enum values for ActivityStreamPolicyStatus
const (
ActivityStreamPolicyStatusLocked ActivityStreamPolicyStatus = "locked"
ActivityStreamPolicyStatusUnlocked ActivityStreamPolicyStatus = "unlocked"
ActivityStreamPolicyStatusLockingPolicy ActivityStreamPolicyStatus = "locking-policy"
ActivityStreamPolicyStatusUnlockingPolicy ActivityStreamPolicyStatus = "unlocking-policy"
)
// Values returns all known values for ActivityStreamPolicyStatus. 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 (ActivityStreamPolicyStatus) Values() []ActivityStreamPolicyStatus {
return []ActivityStreamPolicyStatus{
"locked",
"unlocked",
"locking-policy",
"unlocking-policy",
}
}
type ActivityStreamStatus string
// Enum values for ActivityStreamStatus
const (
ActivityStreamStatusStopped ActivityStreamStatus = "stopped"
ActivityStreamStatusStarting ActivityStreamStatus = "starting"
ActivityStreamStatusStarted ActivityStreamStatus = "started"
ActivityStreamStatusStopping ActivityStreamStatus = "stopping"
)
// Values returns all known values for ActivityStreamStatus. 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 (ActivityStreamStatus) Values() []ActivityStreamStatus {
return []ActivityStreamStatus{
"stopped",
"starting",
"started",
"stopping",
}
}
type ApplyMethod string
// Enum values for ApplyMethod
const (
ApplyMethodImmediate ApplyMethod = "immediate"
ApplyMethodPendingReboot ApplyMethod = "pending-reboot"
)
// Values returns all known values for ApplyMethod. 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 (ApplyMethod) Values() []ApplyMethod {
return []ApplyMethod{
"immediate",
"pending-reboot",
}
}
type AuditPolicyState string
// Enum values for AuditPolicyState
const (
AuditPolicyStateLockedPolicy AuditPolicyState = "locked"
AuditPolicyStateUnlockedPolicy AuditPolicyState = "unlocked"
)
// Values returns all known values for AuditPolicyState. 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 (AuditPolicyState) Values() []AuditPolicyState {
return []AuditPolicyState{
"locked",
"unlocked",
}
}
type AuthScheme string
// Enum values for AuthScheme
const (
AuthSchemeSecrets AuthScheme = "SECRETS"
)
// Values returns all known values for AuthScheme. 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 (AuthScheme) Values() []AuthScheme {
return []AuthScheme{
"SECRETS",
}
}
type AutomationMode string
// Enum values for AutomationMode
const (
AutomationModeFull AutomationMode = "full"
AutomationModeAllPaused AutomationMode = "all-paused"
)
// Values returns all known values for AutomationMode. 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 (AutomationMode) Values() []AutomationMode {
return []AutomationMode{
"full",
"all-paused",
}
}
type ClientPasswordAuthType string
// Enum values for ClientPasswordAuthType
const (
ClientPasswordAuthTypeMysqlNativePassword ClientPasswordAuthType = "MYSQL_NATIVE_PASSWORD"
ClientPasswordAuthTypePostgresScramSha256 ClientPasswordAuthType = "POSTGRES_SCRAM_SHA_256"
ClientPasswordAuthTypePostgresMd5 ClientPasswordAuthType = "POSTGRES_MD5"
ClientPasswordAuthTypeSqlServerAuthentication ClientPasswordAuthType = "SQL_SERVER_AUTHENTICATION"
)
// Values returns all known values for ClientPasswordAuthType. 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 (ClientPasswordAuthType) Values() []ClientPasswordAuthType {
return []ClientPasswordAuthType{
"MYSQL_NATIVE_PASSWORD",
"POSTGRES_SCRAM_SHA_256",
"POSTGRES_MD5",
"SQL_SERVER_AUTHENTICATION",
}
}
type CustomEngineVersionStatus string
// Enum values for CustomEngineVersionStatus
const (
CustomEngineVersionStatusAvailable CustomEngineVersionStatus = "available"
CustomEngineVersionStatusInactive CustomEngineVersionStatus = "inactive"
CustomEngineVersionStatusInactiveExceptRestore CustomEngineVersionStatus = "inactive-except-restore"
)
// Values returns all known values for CustomEngineVersionStatus. 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 (CustomEngineVersionStatus) Values() []CustomEngineVersionStatus {
return []CustomEngineVersionStatus{
"available",
"inactive",
"inactive-except-restore",
}
}
type DBProxyEndpointStatus string
// Enum values for DBProxyEndpointStatus
const (
DBProxyEndpointStatusAvailable DBProxyEndpointStatus = "available"
DBProxyEndpointStatusModifying DBProxyEndpointStatus = "modifying"
DBProxyEndpointStatusIncompatibleNetwork DBProxyEndpointStatus = "incompatible-network"
DBProxyEndpointStatusInsufficientResourceLimits DBProxyEndpointStatus = "insufficient-resource-limits"
DBProxyEndpointStatusCreating DBProxyEndpointStatus = "creating"
DBProxyEndpointStatusDeleting DBProxyEndpointStatus = "deleting"
)
// Values returns all known values for DBProxyEndpointStatus. 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 (DBProxyEndpointStatus) Values() []DBProxyEndpointStatus {
return []DBProxyEndpointStatus{
"available",
"modifying",
"incompatible-network",
"insufficient-resource-limits",
"creating",
"deleting",
}
}
type DBProxyEndpointTargetRole string
// Enum values for DBProxyEndpointTargetRole
const (
DBProxyEndpointTargetRoleReadWrite DBProxyEndpointTargetRole = "READ_WRITE"
DBProxyEndpointTargetRoleReadOnly DBProxyEndpointTargetRole = "READ_ONLY"
)
// Values returns all known values for DBProxyEndpointTargetRole. 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 (DBProxyEndpointTargetRole) Values() []DBProxyEndpointTargetRole {
return []DBProxyEndpointTargetRole{
"READ_WRITE",
"READ_ONLY",
}
}
type DBProxyStatus string
// Enum values for DBProxyStatus
const (
DBProxyStatusAvailable DBProxyStatus = "available"
DBProxyStatusModifying DBProxyStatus = "modifying"
DBProxyStatusIncompatibleNetwork DBProxyStatus = "incompatible-network"
DBProxyStatusInsufficientResourceLimits DBProxyStatus = "insufficient-resource-limits"
DBProxyStatusCreating DBProxyStatus = "creating"
DBProxyStatusDeleting DBProxyStatus = "deleting"
DBProxyStatusSuspended DBProxyStatus = "suspended"
DBProxyStatusSuspending DBProxyStatus = "suspending"
DBProxyStatusReactivating DBProxyStatus = "reactivating"
)
// Values returns all known values for DBProxyStatus. 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 (DBProxyStatus) Values() []DBProxyStatus {
return []DBProxyStatus{
"available",
"modifying",
"incompatible-network",
"insufficient-resource-limits",
"creating",
"deleting",
"suspended",
"suspending",
"reactivating",
}
}
type EngineFamily string
// Enum values for EngineFamily
const (
EngineFamilyMysql EngineFamily = "MYSQL"
EngineFamilyPostgresql EngineFamily = "POSTGRESQL"
EngineFamilySqlserver EngineFamily = "SQLSERVER"
)
// Values returns all known values for EngineFamily. 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 (EngineFamily) Values() []EngineFamily {
return []EngineFamily{
"MYSQL",
"POSTGRESQL",
"SQLSERVER",
}
}
type ExportSourceType string
// Enum values for ExportSourceType
const (
ExportSourceTypeSnapshot ExportSourceType = "SNAPSHOT"
ExportSourceTypeCluster ExportSourceType = "CLUSTER"
)
// Values returns all known values for ExportSourceType. 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 (ExportSourceType) Values() []ExportSourceType {
return []ExportSourceType{
"SNAPSHOT",
"CLUSTER",
}
}
type FailoverStatus string
// Enum values for FailoverStatus
const (
FailoverStatusPending FailoverStatus = "pending"
FailoverStatusFailingOver FailoverStatus = "failing-over"
FailoverStatusCancelling FailoverStatus = "cancelling"
)
// Values returns all known values for FailoverStatus. 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 (FailoverStatus) Values() []FailoverStatus {
return []FailoverStatus{
"pending",
"failing-over",
"cancelling",
}
}
type GlobalClusterMemberSynchronizationStatus string
// Enum values for GlobalClusterMemberSynchronizationStatus
const (
GlobalClusterMemberSynchronizationStatusConnected GlobalClusterMemberSynchronizationStatus = "connected"
GlobalClusterMemberSynchronizationStatusPendingResync GlobalClusterMemberSynchronizationStatus = "pending-resync"
)
// Values returns all known values for GlobalClusterMemberSynchronizationStatus.
// 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 (GlobalClusterMemberSynchronizationStatus) Values() []GlobalClusterMemberSynchronizationStatus {
return []GlobalClusterMemberSynchronizationStatus{
"connected",
"pending-resync",
}
}
type IAMAuthMode string
// Enum values for IAMAuthMode
const (
IAMAuthModeDisabled IAMAuthMode = "DISABLED"
IAMAuthModeRequired IAMAuthMode = "REQUIRED"
IAMAuthModeEnabled IAMAuthMode = "ENABLED"
)
// Values returns all known values for IAMAuthMode. 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 (IAMAuthMode) Values() []IAMAuthMode {
return []IAMAuthMode{
"DISABLED",
"REQUIRED",
"ENABLED",
}
}
type IntegrationStatus string
// Enum values for IntegrationStatus
const (
IntegrationStatusCreating IntegrationStatus = "creating"
IntegrationStatusActive IntegrationStatus = "active"
IntegrationStatusModifying IntegrationStatus = "modifying"
IntegrationStatusFailed IntegrationStatus = "failed"
IntegrationStatusDeleting IntegrationStatus = "deleting"
IntegrationStatusSyncing IntegrationStatus = "syncing"
IntegrationStatusNeedsAttention IntegrationStatus = "needs_attention"
)
// Values returns all known values for IntegrationStatus. 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 (IntegrationStatus) Values() []IntegrationStatus {
return []IntegrationStatus{
"creating",
"active",
"modifying",
"failed",
"deleting",
"syncing",
"needs_attention",
}
}
type LimitlessDatabaseStatus string
// Enum values for LimitlessDatabaseStatus
const (
LimitlessDatabaseStatusActive LimitlessDatabaseStatus = "active"
LimitlessDatabaseStatusNotInUse LimitlessDatabaseStatus = "not-in-use"
LimitlessDatabaseStatusEnabled LimitlessDatabaseStatus = "enabled"
LimitlessDatabaseStatusDisabled LimitlessDatabaseStatus = "disabled"
LimitlessDatabaseStatusEnabling LimitlessDatabaseStatus = "enabling"
LimitlessDatabaseStatusDisabling LimitlessDatabaseStatus = "disabling"
LimitlessDatabaseStatusModifyingMaxCapacity LimitlessDatabaseStatus = "modifying-max-capacity"
LimitlessDatabaseStatusError LimitlessDatabaseStatus = "error"
)
// Values returns all known values for LimitlessDatabaseStatus. 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 (LimitlessDatabaseStatus) Values() []LimitlessDatabaseStatus {
return []LimitlessDatabaseStatus{
"active",
"not-in-use",
"enabled",
"disabled",
"enabling",
"disabling",
"modifying-max-capacity",
"error",
}
}
type LocalWriteForwardingStatus string
// Enum values for LocalWriteForwardingStatus
const (
LocalWriteForwardingStatusEnabled LocalWriteForwardingStatus = "enabled"
LocalWriteForwardingStatusDisabled LocalWriteForwardingStatus = "disabled"
LocalWriteForwardingStatusEnabling LocalWriteForwardingStatus = "enabling"
LocalWriteForwardingStatusDisabling LocalWriteForwardingStatus = "disabling"
LocalWriteForwardingStatusRequested LocalWriteForwardingStatus = "requested"
)
// Values returns all known values for LocalWriteForwardingStatus. 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 (LocalWriteForwardingStatus) Values() []LocalWriteForwardingStatus {
return []LocalWriteForwardingStatus{
"enabled",
"disabled",
"enabling",
"disabling",
"requested",
}
}
type ReplicaMode string
// Enum values for ReplicaMode
const (
ReplicaModeOpenReadOnly ReplicaMode = "open-read-only"
ReplicaModeMounted ReplicaMode = "mounted"
)
// Values returns all known values for ReplicaMode. 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 (ReplicaMode) Values() []ReplicaMode {
return []ReplicaMode{
"open-read-only",
"mounted",
}
}
type SourceType string
// Enum values for SourceType
const (
SourceTypeDbInstance SourceType = "db-instance"
SourceTypeDbParameterGroup SourceType = "db-parameter-group"
SourceTypeDbSecurityGroup SourceType = "db-security-group"
SourceTypeDbSnapshot SourceType = "db-snapshot"
SourceTypeDbCluster SourceType = "db-cluster"
SourceTypeDbClusterSnapshot SourceType = "db-cluster-snapshot"
SourceTypeCustomEngineVersion SourceType = "custom-engine-version"
SourceTypeDbProxy SourceType = "db-proxy"
SourceTypeBlueGreenDeployment SourceType = "blue-green-deployment"
)
// 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{
"db-instance",
"db-parameter-group",
"db-security-group",
"db-snapshot",
"db-cluster",
"db-cluster-snapshot",
"custom-engine-version",
"db-proxy",
"blue-green-deployment",
}
}
type TargetHealthReason string
// Enum values for TargetHealthReason
const (
TargetHealthReasonUnreachable TargetHealthReason = "UNREACHABLE"
TargetHealthReasonConnectionFailed TargetHealthReason = "CONNECTION_FAILED"
TargetHealthReasonAuthFailure TargetHealthReason = "AUTH_FAILURE"
TargetHealthReasonPendingProxyCapacity TargetHealthReason = "PENDING_PROXY_CAPACITY"
TargetHealthReasonInvalidReplicationState TargetHealthReason = "INVALID_REPLICATION_STATE"
)
// Values returns all known values for TargetHealthReason. 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 (TargetHealthReason) Values() []TargetHealthReason {
return []TargetHealthReason{
"UNREACHABLE",
"CONNECTION_FAILED",
"AUTH_FAILURE",
"PENDING_PROXY_CAPACITY",
"INVALID_REPLICATION_STATE",
}
}
type TargetRole string
// Enum values for TargetRole
const (
TargetRoleReadWrite TargetRole = "READ_WRITE"
TargetRoleReadOnly TargetRole = "READ_ONLY"
TargetRoleUnknown TargetRole = "UNKNOWN"
)
// Values returns all known values for TargetRole. 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 (TargetRole) Values() []TargetRole {
return []TargetRole{
"READ_WRITE",
"READ_ONLY",
"UNKNOWN",
}
}
type TargetState string
// Enum values for TargetState
const (
TargetStateRegistering TargetState = "REGISTERING"
TargetStateAvailable TargetState = "AVAILABLE"
TargetStateUnavailable TargetState = "UNAVAILABLE"
)
// Values returns all known values for TargetState. 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 (TargetState) Values() []TargetState {
return []TargetState{
"REGISTERING",
"AVAILABLE",
"UNAVAILABLE",
}
}
type TargetType string
// Enum values for TargetType
const (
TargetTypeRdsInstance TargetType = "RDS_INSTANCE"
TargetTypeRdsServerlessEndpoint TargetType = "RDS_SERVERLESS_ENDPOINT"
TargetTypeTrackedCluster TargetType = "TRACKED_CLUSTER"
)
// Values returns all known values for TargetType. 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 (TargetType) Values() []TargetType {
return []TargetType{
"RDS_INSTANCE",
"RDS_SERVERLESS_ENDPOINT",
"TRACKED_CLUSTER",
}
}
type WriteForwardingStatus string
// Enum values for WriteForwardingStatus
const (
WriteForwardingStatusEnabled WriteForwardingStatus = "enabled"
WriteForwardingStatusDisabled WriteForwardingStatus = "disabled"
WriteForwardingStatusEnabling WriteForwardingStatus = "enabling"
WriteForwardingStatusDisabling WriteForwardingStatus = "disabling"
WriteForwardingStatusUnknown WriteForwardingStatus = "unknown"
)
// Values returns all known values for WriteForwardingStatus. 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 (WriteForwardingStatus) Values() []WriteForwardingStatus {
return []WriteForwardingStatus{
"enabled",
"disabled",
"enabling",
"disabling",
"unknown",
}
}