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:
  • size: 554,032 kB
  • sloc: java: 15,941; makefile: 419; sh: 175
file content (451 lines) | stat: -rw-r--r-- 15,059 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
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type AggregationPeriod string

// Enum values for AggregationPeriod
const (
	AggregationPeriodOneDay       AggregationPeriod = "ONE_DAY"
	AggregationPeriodSevenDays    AggregationPeriod = "SEVEN_DAYS"
	AggregationPeriodFourteenDays AggregationPeriod = "FOURTEEN_DAYS"
)

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

type BackupJobState string

// Enum values for BackupJobState
const (
	BackupJobStateCreated   BackupJobState = "CREATED"
	BackupJobStatePending   BackupJobState = "PENDING"
	BackupJobStateRunning   BackupJobState = "RUNNING"
	BackupJobStateAborting  BackupJobState = "ABORTING"
	BackupJobStateAborted   BackupJobState = "ABORTED"
	BackupJobStateCompleted BackupJobState = "COMPLETED"
	BackupJobStateFailed    BackupJobState = "FAILED"
	BackupJobStateExpired   BackupJobState = "EXPIRED"
	BackupJobStatePartial   BackupJobState = "PARTIAL"
)

// Values returns all known values for BackupJobState. 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 (BackupJobState) Values() []BackupJobState {
	return []BackupJobState{
		"CREATED",
		"PENDING",
		"RUNNING",
		"ABORTING",
		"ABORTED",
		"COMPLETED",
		"FAILED",
		"EXPIRED",
		"PARTIAL",
	}
}

type BackupJobStatus string

// Enum values for BackupJobStatus
const (
	BackupJobStatusCreated      BackupJobStatus = "CREATED"
	BackupJobStatusPending      BackupJobStatus = "PENDING"
	BackupJobStatusRunning      BackupJobStatus = "RUNNING"
	BackupJobStatusAborting     BackupJobStatus = "ABORTING"
	BackupJobStatusAborted      BackupJobStatus = "ABORTED"
	BackupJobStatusCompleted    BackupJobStatus = "COMPLETED"
	BackupJobStatusFailed       BackupJobStatus = "FAILED"
	BackupJobStatusExpired      BackupJobStatus = "EXPIRED"
	BackupJobStatusPartial      BackupJobStatus = "PARTIAL"
	BackupJobStatusAggregateAll BackupJobStatus = "AGGREGATE_ALL"
	BackupJobStatusAny          BackupJobStatus = "ANY"
)

// Values returns all known values for BackupJobStatus. 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 (BackupJobStatus) Values() []BackupJobStatus {
	return []BackupJobStatus{
		"CREATED",
		"PENDING",
		"RUNNING",
		"ABORTING",
		"ABORTED",
		"COMPLETED",
		"FAILED",
		"EXPIRED",
		"PARTIAL",
		"AGGREGATE_ALL",
		"ANY",
	}
}

type BackupVaultEvent string

// Enum values for BackupVaultEvent
const (
	BackupVaultEventBackupJobStarted      BackupVaultEvent = "BACKUP_JOB_STARTED"
	BackupVaultEventBackupJobCompleted    BackupVaultEvent = "BACKUP_JOB_COMPLETED"
	BackupVaultEventBackupJobSuccessful   BackupVaultEvent = "BACKUP_JOB_SUCCESSFUL"
	BackupVaultEventBackupJobFailed       BackupVaultEvent = "BACKUP_JOB_FAILED"
	BackupVaultEventBackupJobExpired      BackupVaultEvent = "BACKUP_JOB_EXPIRED"
	BackupVaultEventRestoreJobStarted     BackupVaultEvent = "RESTORE_JOB_STARTED"
	BackupVaultEventRestoreJobCompleted   BackupVaultEvent = "RESTORE_JOB_COMPLETED"
	BackupVaultEventRestoreJobSuccessful  BackupVaultEvent = "RESTORE_JOB_SUCCESSFUL"
	BackupVaultEventRestoreJobFailed      BackupVaultEvent = "RESTORE_JOB_FAILED"
	BackupVaultEventCopyJobStarted        BackupVaultEvent = "COPY_JOB_STARTED"
	BackupVaultEventCopyJobSuccessful     BackupVaultEvent = "COPY_JOB_SUCCESSFUL"
	BackupVaultEventCopyJobFailed         BackupVaultEvent = "COPY_JOB_FAILED"
	BackupVaultEventRecoveryPointModified BackupVaultEvent = "RECOVERY_POINT_MODIFIED"
	BackupVaultEventBackupPlanCreated     BackupVaultEvent = "BACKUP_PLAN_CREATED"
	BackupVaultEventBackupPlanModified    BackupVaultEvent = "BACKUP_PLAN_MODIFIED"
	BackupVaultEventS3BackupObjectFailed  BackupVaultEvent = "S3_BACKUP_OBJECT_FAILED"
	BackupVaultEventS3RestoreObjectFailed BackupVaultEvent = "S3_RESTORE_OBJECT_FAILED"
)

// Values returns all known values for BackupVaultEvent. 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 (BackupVaultEvent) Values() []BackupVaultEvent {
	return []BackupVaultEvent{
		"BACKUP_JOB_STARTED",
		"BACKUP_JOB_COMPLETED",
		"BACKUP_JOB_SUCCESSFUL",
		"BACKUP_JOB_FAILED",
		"BACKUP_JOB_EXPIRED",
		"RESTORE_JOB_STARTED",
		"RESTORE_JOB_COMPLETED",
		"RESTORE_JOB_SUCCESSFUL",
		"RESTORE_JOB_FAILED",
		"COPY_JOB_STARTED",
		"COPY_JOB_SUCCESSFUL",
		"COPY_JOB_FAILED",
		"RECOVERY_POINT_MODIFIED",
		"BACKUP_PLAN_CREATED",
		"BACKUP_PLAN_MODIFIED",
		"S3_BACKUP_OBJECT_FAILED",
		"S3_RESTORE_OBJECT_FAILED",
	}
}

type ConditionType string

// Enum values for ConditionType
const (
	ConditionTypeStringequals ConditionType = "STRINGEQUALS"
)

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

type CopyJobState string

// Enum values for CopyJobState
const (
	CopyJobStateCreated   CopyJobState = "CREATED"
	CopyJobStateRunning   CopyJobState = "RUNNING"
	CopyJobStateCompleted CopyJobState = "COMPLETED"
	CopyJobStateFailed    CopyJobState = "FAILED"
	CopyJobStatePartial   CopyJobState = "PARTIAL"
)

// Values returns all known values for CopyJobState. 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 (CopyJobState) Values() []CopyJobState {
	return []CopyJobState{
		"CREATED",
		"RUNNING",
		"COMPLETED",
		"FAILED",
		"PARTIAL",
	}
}

type CopyJobStatus string

// Enum values for CopyJobStatus
const (
	CopyJobStatusCreated      CopyJobStatus = "CREATED"
	CopyJobStatusRunning      CopyJobStatus = "RUNNING"
	CopyJobStatusAborting     CopyJobStatus = "ABORTING"
	CopyJobStatusAborted      CopyJobStatus = "ABORTED"
	CopyJobStatusCompleting   CopyJobStatus = "COMPLETING"
	CopyJobStatusCompleted    CopyJobStatus = "COMPLETED"
	CopyJobStatusFailing      CopyJobStatus = "FAILING"
	CopyJobStatusFailed       CopyJobStatus = "FAILED"
	CopyJobStatusPartial      CopyJobStatus = "PARTIAL"
	CopyJobStatusAggregateAll CopyJobStatus = "AGGREGATE_ALL"
	CopyJobStatusAny          CopyJobStatus = "ANY"
)

// Values returns all known values for CopyJobStatus. 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 (CopyJobStatus) Values() []CopyJobStatus {
	return []CopyJobStatus{
		"CREATED",
		"RUNNING",
		"ABORTING",
		"ABORTED",
		"COMPLETING",
		"COMPLETED",
		"FAILING",
		"FAILED",
		"PARTIAL",
		"AGGREGATE_ALL",
		"ANY",
	}
}

type LegalHoldStatus string

// Enum values for LegalHoldStatus
const (
	LegalHoldStatusCreating  LegalHoldStatus = "CREATING"
	LegalHoldStatusActive    LegalHoldStatus = "ACTIVE"
	LegalHoldStatusCanceling LegalHoldStatus = "CANCELING"
	LegalHoldStatusCanceled  LegalHoldStatus = "CANCELED"
)

// Values returns all known values for LegalHoldStatus. 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 (LegalHoldStatus) Values() []LegalHoldStatus {
	return []LegalHoldStatus{
		"CREATING",
		"ACTIVE",
		"CANCELING",
		"CANCELED",
	}
}

type RecoveryPointStatus string

// Enum values for RecoveryPointStatus
const (
	RecoveryPointStatusCompleted RecoveryPointStatus = "COMPLETED"
	RecoveryPointStatusPartial   RecoveryPointStatus = "PARTIAL"
	RecoveryPointStatusDeleting  RecoveryPointStatus = "DELETING"
	RecoveryPointStatusExpired   RecoveryPointStatus = "EXPIRED"
)

// Values returns all known values for RecoveryPointStatus. 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 (RecoveryPointStatus) Values() []RecoveryPointStatus {
	return []RecoveryPointStatus{
		"COMPLETED",
		"PARTIAL",
		"DELETING",
		"EXPIRED",
	}
}

type RestoreDeletionStatus string

// Enum values for RestoreDeletionStatus
const (
	RestoreDeletionStatusDeleting   RestoreDeletionStatus = "DELETING"
	RestoreDeletionStatusFailed     RestoreDeletionStatus = "FAILED"
	RestoreDeletionStatusSuccessful RestoreDeletionStatus = "SUCCESSFUL"
)

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

type RestoreJobState string

// Enum values for RestoreJobState
const (
	RestoreJobStateCreated      RestoreJobState = "CREATED"
	RestoreJobStatePending      RestoreJobState = "PENDING"
	RestoreJobStateRunning      RestoreJobState = "RUNNING"
	RestoreJobStateAborted      RestoreJobState = "ABORTED"
	RestoreJobStateCompleted    RestoreJobState = "COMPLETED"
	RestoreJobStateFailed       RestoreJobState = "FAILED"
	RestoreJobStateAggregateAll RestoreJobState = "AGGREGATE_ALL"
	RestoreJobStateAny          RestoreJobState = "ANY"
)

// Values returns all known values for RestoreJobState. 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 (RestoreJobState) Values() []RestoreJobState {
	return []RestoreJobState{
		"CREATED",
		"PENDING",
		"RUNNING",
		"ABORTED",
		"COMPLETED",
		"FAILED",
		"AGGREGATE_ALL",
		"ANY",
	}
}

type RestoreJobStatus string

// Enum values for RestoreJobStatus
const (
	RestoreJobStatusPending   RestoreJobStatus = "PENDING"
	RestoreJobStatusRunning   RestoreJobStatus = "RUNNING"
	RestoreJobStatusCompleted RestoreJobStatus = "COMPLETED"
	RestoreJobStatusAborted   RestoreJobStatus = "ABORTED"
	RestoreJobStatusFailed    RestoreJobStatus = "FAILED"
)

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

type RestoreTestingRecoveryPointSelectionAlgorithm string

// Enum values for RestoreTestingRecoveryPointSelectionAlgorithm
const (
	RestoreTestingRecoveryPointSelectionAlgorithmLatestWithinWindow RestoreTestingRecoveryPointSelectionAlgorithm = "LATEST_WITHIN_WINDOW"
	RestoreTestingRecoveryPointSelectionAlgorithmRandomWithinWindow RestoreTestingRecoveryPointSelectionAlgorithm = "RANDOM_WITHIN_WINDOW"
)

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

type RestoreTestingRecoveryPointType string

// Enum values for RestoreTestingRecoveryPointType
const (
	RestoreTestingRecoveryPointTypeContinuous RestoreTestingRecoveryPointType = "CONTINUOUS"
	RestoreTestingRecoveryPointTypeSnapshot   RestoreTestingRecoveryPointType = "SNAPSHOT"
)

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

type RestoreValidationStatus string

// Enum values for RestoreValidationStatus
const (
	RestoreValidationStatusFailed     RestoreValidationStatus = "FAILED"
	RestoreValidationStatusSuccessful RestoreValidationStatus = "SUCCESSFUL"
	RestoreValidationStatusTimedOut   RestoreValidationStatus = "TIMED_OUT"
	RestoreValidationStatusValidating RestoreValidationStatus = "VALIDATING"
)

// Values returns all known values for RestoreValidationStatus. 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 (RestoreValidationStatus) Values() []RestoreValidationStatus {
	return []RestoreValidationStatus{
		"FAILED",
		"SUCCESSFUL",
		"TIMED_OUT",
		"VALIDATING",
	}
}

type StorageClass string

// Enum values for StorageClass
const (
	StorageClassWarm    StorageClass = "WARM"
	StorageClassCold    StorageClass = "COLD"
	StorageClassDeleted StorageClass = "DELETED"
)

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

type VaultState string

// Enum values for VaultState
const (
	VaultStateCreating  VaultState = "CREATING"
	VaultStateAvailable VaultState = "AVAILABLE"
	VaultStateFailed    VaultState = "FAILED"
)

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

type VaultType string

// Enum values for VaultType
const (
	VaultTypeBackupVault                   VaultType = "BACKUP_VAULT"
	VaultTypeLogicallyAirGappedBackupVault VaultType = "LOGICALLY_AIR_GAPPED_BACKUP_VAULT"
)

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