File: enums.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.17.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 384,244 kB
  • sloc: java: 13,538; makefile: 400; sh: 137
file content (636 lines) | stat: -rw-r--r-- 18,540 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
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type AgentStatus string

// Enum values for AgentStatus
const (
	AgentStatusOnline  AgentStatus = "ONLINE"
	AgentStatusOffline AgentStatus = "OFFLINE"
)

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

type Atime string

// Enum values for Atime
const (
	AtimeNone       Atime = "NONE"
	AtimeBestEffort Atime = "BEST_EFFORT"
)

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

type EfsInTransitEncryption string

// Enum values for EfsInTransitEncryption
const (
	EfsInTransitEncryptionNone  EfsInTransitEncryption = "NONE"
	EfsInTransitEncryptionTls12 EfsInTransitEncryption = "TLS1_2"
)

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

type EndpointType string

// Enum values for EndpointType
const (
	EndpointTypePublic      EndpointType = "PUBLIC"
	EndpointTypePrivateLink EndpointType = "PRIVATE_LINK"
	EndpointTypeFips        EndpointType = "FIPS"
)

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

type FilterType string

// Enum values for FilterType
const (
	FilterTypeSimplePattern FilterType = "SIMPLE_PATTERN"
)

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

type Gid string

// Enum values for Gid
const (
	GidNone     Gid = "NONE"
	GidIntValue Gid = "INT_VALUE"
	GidName     Gid = "NAME"
	GidBoth     Gid = "BOTH"
)

// Values returns all known values for Gid. 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 (Gid) Values() []Gid {
	return []Gid{
		"NONE",
		"INT_VALUE",
		"NAME",
		"BOTH",
	}
}

type HdfsAuthenticationType string

// Enum values for HdfsAuthenticationType
const (
	HdfsAuthenticationTypeSimple   HdfsAuthenticationType = "SIMPLE"
	HdfsAuthenticationTypeKerberos HdfsAuthenticationType = "KERBEROS"
)

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

type HdfsDataTransferProtection string

// Enum values for HdfsDataTransferProtection
const (
	HdfsDataTransferProtectionDisabled       HdfsDataTransferProtection = "DISABLED"
	HdfsDataTransferProtectionAuthentication HdfsDataTransferProtection = "AUTHENTICATION"
	HdfsDataTransferProtectionIntegrity      HdfsDataTransferProtection = "INTEGRITY"
	HdfsDataTransferProtectionPrivacy        HdfsDataTransferProtection = "PRIVACY"
)

// Values returns all known values for HdfsDataTransferProtection. 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 (HdfsDataTransferProtection) Values() []HdfsDataTransferProtection {
	return []HdfsDataTransferProtection{
		"DISABLED",
		"AUTHENTICATION",
		"INTEGRITY",
		"PRIVACY",
	}
}

type HdfsRpcProtection string

// Enum values for HdfsRpcProtection
const (
	HdfsRpcProtectionDisabled       HdfsRpcProtection = "DISABLED"
	HdfsRpcProtectionAuthentication HdfsRpcProtection = "AUTHENTICATION"
	HdfsRpcProtectionIntegrity      HdfsRpcProtection = "INTEGRITY"
	HdfsRpcProtectionPrivacy        HdfsRpcProtection = "PRIVACY"
)

// Values returns all known values for HdfsRpcProtection. 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 (HdfsRpcProtection) Values() []HdfsRpcProtection {
	return []HdfsRpcProtection{
		"DISABLED",
		"AUTHENTICATION",
		"INTEGRITY",
		"PRIVACY",
	}
}

type LocationFilterName string

// Enum values for LocationFilterName
const (
	LocationFilterNameLocationUri  LocationFilterName = "LocationUri"
	LocationFilterNameLocationType LocationFilterName = "LocationType"
	LocationFilterNameCreationTime LocationFilterName = "CreationTime"
)

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

type LogLevel string

// Enum values for LogLevel
const (
	LogLevelOff      LogLevel = "OFF"
	LogLevelBasic    LogLevel = "BASIC"
	LogLevelTransfer LogLevel = "TRANSFER"
)

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

type Mtime string

// Enum values for Mtime
const (
	MtimeNone     Mtime = "NONE"
	MtimePreserve Mtime = "PRESERVE"
)

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

type NfsVersion string

// Enum values for NfsVersion
const (
	NfsVersionAutomatic NfsVersion = "AUTOMATIC"
	NfsVersionNfs3      NfsVersion = "NFS3"
	NfsVersionNfs40     NfsVersion = "NFS4_0"
	NfsVersionNfs41     NfsVersion = "NFS4_1"
)

// Values returns all known values for NfsVersion. 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 (NfsVersion) Values() []NfsVersion {
	return []NfsVersion{
		"AUTOMATIC",
		"NFS3",
		"NFS4_0",
		"NFS4_1",
	}
}

type ObjectStorageServerProtocol string

// Enum values for ObjectStorageServerProtocol
const (
	ObjectStorageServerProtocolHttps ObjectStorageServerProtocol = "HTTPS"
	ObjectStorageServerProtocolHttp  ObjectStorageServerProtocol = "HTTP"
)

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

type ObjectTags string

// Enum values for ObjectTags
const (
	ObjectTagsPreserve ObjectTags = "PRESERVE"
	ObjectTagsNone     ObjectTags = "NONE"
)

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

type Operator string

// Enum values for Operator
const (
	OperatorEq          Operator = "Equals"
	OperatorNe          Operator = "NotEquals"
	OperatorIn          Operator = "In"
	OperatorLe          Operator = "LessThanOrEqual"
	OperatorLt          Operator = "LessThan"
	OperatorGe          Operator = "GreaterThanOrEqual"
	OperatorGt          Operator = "GreaterThan"
	OperatorContains    Operator = "Contains"
	OperatorNotContains Operator = "NotContains"
	OperatorBeginsWith  Operator = "BeginsWith"
)

// Values returns all known values for Operator. 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 (Operator) Values() []Operator {
	return []Operator{
		"Equals",
		"NotEquals",
		"In",
		"LessThanOrEqual",
		"LessThan",
		"GreaterThanOrEqual",
		"GreaterThan",
		"Contains",
		"NotContains",
		"BeginsWith",
	}
}

type OverwriteMode string

// Enum values for OverwriteMode
const (
	OverwriteModeAlways OverwriteMode = "ALWAYS"
	OverwriteModeNever  OverwriteMode = "NEVER"
)

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

type PhaseStatus string

// Enum values for PhaseStatus
const (
	PhaseStatusPending PhaseStatus = "PENDING"
	PhaseStatusSuccess PhaseStatus = "SUCCESS"
	PhaseStatusError   PhaseStatus = "ERROR"
)

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

type PosixPermissions string

// Enum values for PosixPermissions
const (
	PosixPermissionsNone     PosixPermissions = "NONE"
	PosixPermissionsPreserve PosixPermissions = "PRESERVE"
)

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

type PreserveDeletedFiles string

// Enum values for PreserveDeletedFiles
const (
	PreserveDeletedFilesPreserve PreserveDeletedFiles = "PRESERVE"
	PreserveDeletedFilesRemove   PreserveDeletedFiles = "REMOVE"
)

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

type PreserveDevices string

// Enum values for PreserveDevices
const (
	PreserveDevicesNone     PreserveDevices = "NONE"
	PreserveDevicesPreserve PreserveDevices = "PRESERVE"
)

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

type S3StorageClass string

// Enum values for S3StorageClass
const (
	S3StorageClassStandard           S3StorageClass = "STANDARD"
	S3StorageClassStandardIa         S3StorageClass = "STANDARD_IA"
	S3StorageClassOnezoneIa          S3StorageClass = "ONEZONE_IA"
	S3StorageClassIntelligentTiering S3StorageClass = "INTELLIGENT_TIERING"
	S3StorageClassGlacier            S3StorageClass = "GLACIER"
	S3StorageClassDeepArchive        S3StorageClass = "DEEP_ARCHIVE"
	S3StorageClassOutposts           S3StorageClass = "OUTPOSTS"
)

// Values returns all known values for S3StorageClass. 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 (S3StorageClass) Values() []S3StorageClass {
	return []S3StorageClass{
		"STANDARD",
		"STANDARD_IA",
		"ONEZONE_IA",
		"INTELLIGENT_TIERING",
		"GLACIER",
		"DEEP_ARCHIVE",
		"OUTPOSTS",
	}
}

type SmbSecurityDescriptorCopyFlags string

// Enum values for SmbSecurityDescriptorCopyFlags
const (
	SmbSecurityDescriptorCopyFlagsNone          SmbSecurityDescriptorCopyFlags = "NONE"
	SmbSecurityDescriptorCopyFlagsOwnerDacl     SmbSecurityDescriptorCopyFlags = "OWNER_DACL"
	SmbSecurityDescriptorCopyFlagsOwnerDaclSacl SmbSecurityDescriptorCopyFlags = "OWNER_DACL_SACL"
)

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

type SmbVersion string

// Enum values for SmbVersion
const (
	SmbVersionAutomatic SmbVersion = "AUTOMATIC"
	SmbVersionSmb2      SmbVersion = "SMB2"
	SmbVersionSmb3      SmbVersion = "SMB3"
)

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

type TaskExecutionStatus string

// Enum values for TaskExecutionStatus
const (
	TaskExecutionStatusQueued       TaskExecutionStatus = "QUEUED"
	TaskExecutionStatusLaunching    TaskExecutionStatus = "LAUNCHING"
	TaskExecutionStatusPreparing    TaskExecutionStatus = "PREPARING"
	TaskExecutionStatusTransferring TaskExecutionStatus = "TRANSFERRING"
	TaskExecutionStatusVerifying    TaskExecutionStatus = "VERIFYING"
	TaskExecutionStatusSuccess      TaskExecutionStatus = "SUCCESS"
	TaskExecutionStatusError        TaskExecutionStatus = "ERROR"
)

// Values returns all known values for TaskExecutionStatus. 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 (TaskExecutionStatus) Values() []TaskExecutionStatus {
	return []TaskExecutionStatus{
		"QUEUED",
		"LAUNCHING",
		"PREPARING",
		"TRANSFERRING",
		"VERIFYING",
		"SUCCESS",
		"ERROR",
	}
}

type TaskFilterName string

// Enum values for TaskFilterName
const (
	TaskFilterNameLocationId   TaskFilterName = "LocationId"
	TaskFilterNameCreationTime TaskFilterName = "CreationTime"
)

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

type TaskQueueing string

// Enum values for TaskQueueing
const (
	TaskQueueingEnabled  TaskQueueing = "ENABLED"
	TaskQueueingDisabled TaskQueueing = "DISABLED"
)

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

type TaskStatus string

// Enum values for TaskStatus
const (
	TaskStatusAvailable   TaskStatus = "AVAILABLE"
	TaskStatusCreating    TaskStatus = "CREATING"
	TaskStatusQueued      TaskStatus = "QUEUED"
	TaskStatusRunning     TaskStatus = "RUNNING"
	TaskStatusUnavailable TaskStatus = "UNAVAILABLE"
)

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

type TransferMode string

// Enum values for TransferMode
const (
	TransferModeChanged TransferMode = "CHANGED"
	TransferModeAll     TransferMode = "ALL"
)

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

type Uid string

// Enum values for Uid
const (
	UidNone     Uid = "NONE"
	UidIntValue Uid = "INT_VALUE"
	UidName     Uid = "NAME"
	UidBoth     Uid = "BOTH"
)

// Values returns all known values for Uid. 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 (Uid) Values() []Uid {
	return []Uid{
		"NONE",
		"INT_VALUE",
		"NAME",
		"BOTH",
	}
}

type VerifyMode string

// Enum values for VerifyMode
const (
	VerifyModePointInTimeConsistent VerifyMode = "POINT_IN_TIME_CONSISTENT"
	VerifyModeOnlyFilesTransferred  VerifyMode = "ONLY_FILES_TRANSFERRED"
	VerifyModeNone                  VerifyMode = "NONE"
)

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