/
enums.go
1118 lines (953 loc) · 35.5 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
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
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type AnalyticsS3ExportFileFormat string
// Enum values for AnalyticsS3ExportFileFormat
const (
AnalyticsS3ExportFileFormatCsv AnalyticsS3ExportFileFormat = "CSV"
)
// Values returns all known values for AnalyticsS3ExportFileFormat. 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 (AnalyticsS3ExportFileFormat) Values() []AnalyticsS3ExportFileFormat {
return []AnalyticsS3ExportFileFormat{
"CSV",
}
}
type ArchiveStatus string
// Enum values for ArchiveStatus
const (
ArchiveStatusArchiveAccess ArchiveStatus = "ARCHIVE_ACCESS"
ArchiveStatusDeepArchiveAccess ArchiveStatus = "DEEP_ARCHIVE_ACCESS"
)
// Values returns all known values for ArchiveStatus. 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 (ArchiveStatus) Values() []ArchiveStatus {
return []ArchiveStatus{
"ARCHIVE_ACCESS",
"DEEP_ARCHIVE_ACCESS",
}
}
type BucketAccelerateStatus string
// Enum values for BucketAccelerateStatus
const (
BucketAccelerateStatusEnabled BucketAccelerateStatus = "Enabled"
BucketAccelerateStatusSuspended BucketAccelerateStatus = "Suspended"
)
// Values returns all known values for BucketAccelerateStatus. 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 (BucketAccelerateStatus) Values() []BucketAccelerateStatus {
return []BucketAccelerateStatus{
"Enabled",
"Suspended",
}
}
type BucketCannedACL string
// Enum values for BucketCannedACL
const (
BucketCannedACLPrivate BucketCannedACL = "private"
BucketCannedACLPublicRead BucketCannedACL = "public-read"
BucketCannedACLPublicReadWrite BucketCannedACL = "public-read-write"
BucketCannedACLAuthenticatedRead BucketCannedACL = "authenticated-read"
)
// Values returns all known values for BucketCannedACL. 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 (BucketCannedACL) Values() []BucketCannedACL {
return []BucketCannedACL{
"private",
"public-read",
"public-read-write",
"authenticated-read",
}
}
type BucketLocationConstraint string
// Enum values for BucketLocationConstraint
const (
BucketLocationConstraintAfSouth1 BucketLocationConstraint = "af-south-1"
BucketLocationConstraintApEast1 BucketLocationConstraint = "ap-east-1"
BucketLocationConstraintApNortheast1 BucketLocationConstraint = "ap-northeast-1"
BucketLocationConstraintApNortheast2 BucketLocationConstraint = "ap-northeast-2"
BucketLocationConstraintApNortheast3 BucketLocationConstraint = "ap-northeast-3"
BucketLocationConstraintApSouth1 BucketLocationConstraint = "ap-south-1"
BucketLocationConstraintApSoutheast1 BucketLocationConstraint = "ap-southeast-1"
BucketLocationConstraintApSoutheast2 BucketLocationConstraint = "ap-southeast-2"
BucketLocationConstraintCaCentral1 BucketLocationConstraint = "ca-central-1"
BucketLocationConstraintCnNorth1 BucketLocationConstraint = "cn-north-1"
BucketLocationConstraintCnNorthwest1 BucketLocationConstraint = "cn-northwest-1"
BucketLocationConstraintEu BucketLocationConstraint = "EU"
BucketLocationConstraintEuCentral1 BucketLocationConstraint = "eu-central-1"
BucketLocationConstraintEuNorth1 BucketLocationConstraint = "eu-north-1"
BucketLocationConstraintEuSouth1 BucketLocationConstraint = "eu-south-1"
BucketLocationConstraintEuWest1 BucketLocationConstraint = "eu-west-1"
BucketLocationConstraintEuWest2 BucketLocationConstraint = "eu-west-2"
BucketLocationConstraintEuWest3 BucketLocationConstraint = "eu-west-3"
BucketLocationConstraintMeSouth1 BucketLocationConstraint = "me-south-1"
BucketLocationConstraintSaEast1 BucketLocationConstraint = "sa-east-1"
BucketLocationConstraintUsEast2 BucketLocationConstraint = "us-east-2"
BucketLocationConstraintUsGovEast1 BucketLocationConstraint = "us-gov-east-1"
BucketLocationConstraintUsGovWest1 BucketLocationConstraint = "us-gov-west-1"
BucketLocationConstraintUsWest1 BucketLocationConstraint = "us-west-1"
BucketLocationConstraintUsWest2 BucketLocationConstraint = "us-west-2"
)
// Values returns all known values for BucketLocationConstraint. 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 (BucketLocationConstraint) Values() []BucketLocationConstraint {
return []BucketLocationConstraint{
"af-south-1",
"ap-east-1",
"ap-northeast-1",
"ap-northeast-2",
"ap-northeast-3",
"ap-south-1",
"ap-southeast-1",
"ap-southeast-2",
"ca-central-1",
"cn-north-1",
"cn-northwest-1",
"EU",
"eu-central-1",
"eu-north-1",
"eu-south-1",
"eu-west-1",
"eu-west-2",
"eu-west-3",
"me-south-1",
"sa-east-1",
"us-east-2",
"us-gov-east-1",
"us-gov-west-1",
"us-west-1",
"us-west-2",
}
}
type BucketLogsPermission string
// Enum values for BucketLogsPermission
const (
BucketLogsPermissionFullControl BucketLogsPermission = "FULL_CONTROL"
BucketLogsPermissionRead BucketLogsPermission = "READ"
BucketLogsPermissionWrite BucketLogsPermission = "WRITE"
)
// Values returns all known values for BucketLogsPermission. 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 (BucketLogsPermission) Values() []BucketLogsPermission {
return []BucketLogsPermission{
"FULL_CONTROL",
"READ",
"WRITE",
}
}
type BucketVersioningStatus string
// Enum values for BucketVersioningStatus
const (
BucketVersioningStatusEnabled BucketVersioningStatus = "Enabled"
BucketVersioningStatusSuspended BucketVersioningStatus = "Suspended"
)
// Values returns all known values for BucketVersioningStatus. 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 (BucketVersioningStatus) Values() []BucketVersioningStatus {
return []BucketVersioningStatus{
"Enabled",
"Suspended",
}
}
type CompressionType string
// Enum values for CompressionType
const (
CompressionTypeNone CompressionType = "NONE"
CompressionTypeGzip CompressionType = "GZIP"
CompressionTypeBzip2 CompressionType = "BZIP2"
)
// Values returns all known values for CompressionType. 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 (CompressionType) Values() []CompressionType {
return []CompressionType{
"NONE",
"GZIP",
"BZIP2",
}
}
type DeleteMarkerReplicationStatus string
// Enum values for DeleteMarkerReplicationStatus
const (
DeleteMarkerReplicationStatusEnabled DeleteMarkerReplicationStatus = "Enabled"
DeleteMarkerReplicationStatusDisabled DeleteMarkerReplicationStatus = "Disabled"
)
// Values returns all known values for DeleteMarkerReplicationStatus. 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 (DeleteMarkerReplicationStatus) Values() []DeleteMarkerReplicationStatus {
return []DeleteMarkerReplicationStatus{
"Enabled",
"Disabled",
}
}
type EncodingType string
// Enum values for EncodingType
const (
EncodingTypeUrl EncodingType = "url"
)
// Values returns all known values for EncodingType. 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 (EncodingType) Values() []EncodingType {
return []EncodingType{
"url",
}
}
type Event string
// Values returns all known values for Event. 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 (Event) Values() []Event {
return []Event{
"s3:ReducedRedundancyLostObject",
"s3:ObjectCreated:*",
"s3:ObjectCreated:Put",
"s3:ObjectCreated:Post",
"s3:ObjectCreated:Copy",
"s3:ObjectCreated:CompleteMultipartUpload",
"s3:ObjectRemoved:*",
"s3:ObjectRemoved:Delete",
"s3:ObjectRemoved:DeleteMarkerCreated",
"s3:ObjectRestore:*",
"s3:ObjectRestore:Post",
"s3:ObjectRestore:Completed",
"s3:Replication:*",
"s3:Replication:OperationFailedReplication",
"s3:Replication:OperationNotTracked",
"s3:Replication:OperationMissedThreshold",
"s3:Replication:OperationReplicatedAfterThreshold",
}
}
type ExistingObjectReplicationStatus string
// Enum values for ExistingObjectReplicationStatus
const (
ExistingObjectReplicationStatusEnabled ExistingObjectReplicationStatus = "Enabled"
ExistingObjectReplicationStatusDisabled ExistingObjectReplicationStatus = "Disabled"
)
// Values returns all known values for ExistingObjectReplicationStatus. 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 (ExistingObjectReplicationStatus) Values() []ExistingObjectReplicationStatus {
return []ExistingObjectReplicationStatus{
"Enabled",
"Disabled",
}
}
type ExpirationStatus string
// Enum values for ExpirationStatus
const (
ExpirationStatusEnabled ExpirationStatus = "Enabled"
ExpirationStatusDisabled ExpirationStatus = "Disabled"
)
// Values returns all known values for ExpirationStatus. 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 (ExpirationStatus) Values() []ExpirationStatus {
return []ExpirationStatus{
"Enabled",
"Disabled",
}
}
type ExpressionType string
// Enum values for ExpressionType
const (
ExpressionTypeSql ExpressionType = "SQL"
)
// Values returns all known values for ExpressionType. 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 (ExpressionType) Values() []ExpressionType {
return []ExpressionType{
"SQL",
}
}
type FileHeaderInfo string
// Enum values for FileHeaderInfo
const (
FileHeaderInfoUse FileHeaderInfo = "USE"
FileHeaderInfoIgnore FileHeaderInfo = "IGNORE"
FileHeaderInfoNone FileHeaderInfo = "NONE"
)
// Values returns all known values for FileHeaderInfo. 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 (FileHeaderInfo) Values() []FileHeaderInfo {
return []FileHeaderInfo{
"USE",
"IGNORE",
"NONE",
}
}
type FilterRuleName string
// Enum values for FilterRuleName
const (
FilterRuleNamePrefix FilterRuleName = "prefix"
FilterRuleNameSuffix FilterRuleName = "suffix"
)
// Values returns all known values for FilterRuleName. 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 (FilterRuleName) Values() []FilterRuleName {
return []FilterRuleName{
"prefix",
"suffix",
}
}
type IntelligentTieringAccessTier string
// Enum values for IntelligentTieringAccessTier
const (
IntelligentTieringAccessTierArchiveAccess IntelligentTieringAccessTier = "ARCHIVE_ACCESS"
IntelligentTieringAccessTierDeepArchiveAccess IntelligentTieringAccessTier = "DEEP_ARCHIVE_ACCESS"
)
// Values returns all known values for IntelligentTieringAccessTier. 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 (IntelligentTieringAccessTier) Values() []IntelligentTieringAccessTier {
return []IntelligentTieringAccessTier{
"ARCHIVE_ACCESS",
"DEEP_ARCHIVE_ACCESS",
}
}
type IntelligentTieringStatus string
// Enum values for IntelligentTieringStatus
const (
IntelligentTieringStatusEnabled IntelligentTieringStatus = "Enabled"
IntelligentTieringStatusDisabled IntelligentTieringStatus = "Disabled"
)
// Values returns all known values for IntelligentTieringStatus. 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 (IntelligentTieringStatus) Values() []IntelligentTieringStatus {
return []IntelligentTieringStatus{
"Enabled",
"Disabled",
}
}
type InventoryFormat string
// Enum values for InventoryFormat
const (
InventoryFormatCsv InventoryFormat = "CSV"
InventoryFormatOrc InventoryFormat = "ORC"
InventoryFormatParquet InventoryFormat = "Parquet"
)
// Values returns all known values for InventoryFormat. 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 (InventoryFormat) Values() []InventoryFormat {
return []InventoryFormat{
"CSV",
"ORC",
"Parquet",
}
}
type InventoryFrequency string
// Enum values for InventoryFrequency
const (
InventoryFrequencyDaily InventoryFrequency = "Daily"
InventoryFrequencyWeekly InventoryFrequency = "Weekly"
)
// Values returns all known values for InventoryFrequency. 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 (InventoryFrequency) Values() []InventoryFrequency {
return []InventoryFrequency{
"Daily",
"Weekly",
}
}
type InventoryIncludedObjectVersions string
// Enum values for InventoryIncludedObjectVersions
const (
InventoryIncludedObjectVersionsAll InventoryIncludedObjectVersions = "All"
InventoryIncludedObjectVersionsCurrent InventoryIncludedObjectVersions = "Current"
)
// Values returns all known values for InventoryIncludedObjectVersions. 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 (InventoryIncludedObjectVersions) Values() []InventoryIncludedObjectVersions {
return []InventoryIncludedObjectVersions{
"All",
"Current",
}
}
type InventoryOptionalField string
// Enum values for InventoryOptionalField
const (
InventoryOptionalFieldSize InventoryOptionalField = "Size"
InventoryOptionalFieldLastModifiedDate InventoryOptionalField = "LastModifiedDate"
InventoryOptionalFieldStorageClass InventoryOptionalField = "StorageClass"
InventoryOptionalFieldETag InventoryOptionalField = "ETag"
InventoryOptionalFieldIsMultipartUploaded InventoryOptionalField = "IsMultipartUploaded"
InventoryOptionalFieldReplicationStatus InventoryOptionalField = "ReplicationStatus"
InventoryOptionalFieldEncryptionStatus InventoryOptionalField = "EncryptionStatus"
InventoryOptionalFieldObjectLockRetainUntilDate InventoryOptionalField = "ObjectLockRetainUntilDate"
InventoryOptionalFieldObjectLockMode InventoryOptionalField = "ObjectLockMode"
InventoryOptionalFieldObjectLockLegalHoldStatus InventoryOptionalField = "ObjectLockLegalHoldStatus"
InventoryOptionalFieldIntelligentTieringAccessTier InventoryOptionalField = "IntelligentTieringAccessTier"
InventoryOptionalFieldBucketKeyStatus InventoryOptionalField = "BucketKeyStatus"
)
// Values returns all known values for InventoryOptionalField. 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 (InventoryOptionalField) Values() []InventoryOptionalField {
return []InventoryOptionalField{
"Size",
"LastModifiedDate",
"StorageClass",
"ETag",
"IsMultipartUploaded",
"ReplicationStatus",
"EncryptionStatus",
"ObjectLockRetainUntilDate",
"ObjectLockMode",
"ObjectLockLegalHoldStatus",
"IntelligentTieringAccessTier",
"BucketKeyStatus",
}
}
type JSONType string
// Enum values for JSONType
const (
JSONTypeDocument JSONType = "DOCUMENT"
JSONTypeLines JSONType = "LINES"
)
// Values returns all known values for JSONType. 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 (JSONType) Values() []JSONType {
return []JSONType{
"DOCUMENT",
"LINES",
}
}
type MetadataDirective string
// Enum values for MetadataDirective
const (
MetadataDirectiveCopy MetadataDirective = "COPY"
MetadataDirectiveReplace MetadataDirective = "REPLACE"
)
// Values returns all known values for MetadataDirective. 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 (MetadataDirective) Values() []MetadataDirective {
return []MetadataDirective{
"COPY",
"REPLACE",
}
}
type MetricsStatus string
// Enum values for MetricsStatus
const (
MetricsStatusEnabled MetricsStatus = "Enabled"
MetricsStatusDisabled MetricsStatus = "Disabled"
)
// Values returns all known values for MetricsStatus. 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 (MetricsStatus) Values() []MetricsStatus {
return []MetricsStatus{
"Enabled",
"Disabled",
}
}
type MFADelete string
// Enum values for MFADelete
const (
MFADeleteEnabled MFADelete = "Enabled"
MFADeleteDisabled MFADelete = "Disabled"
)
// Values returns all known values for MFADelete. 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 (MFADelete) Values() []MFADelete {
return []MFADelete{
"Enabled",
"Disabled",
}
}
type MFADeleteStatus string
// Enum values for MFADeleteStatus
const (
MFADeleteStatusEnabled MFADeleteStatus = "Enabled"
MFADeleteStatusDisabled MFADeleteStatus = "Disabled"
)
// Values returns all known values for MFADeleteStatus. 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 (MFADeleteStatus) Values() []MFADeleteStatus {
return []MFADeleteStatus{
"Enabled",
"Disabled",
}
}
type ObjectCannedACL string
// Enum values for ObjectCannedACL
const (
ObjectCannedACLPrivate ObjectCannedACL = "private"
ObjectCannedACLPublicRead ObjectCannedACL = "public-read"
ObjectCannedACLPublicReadWrite ObjectCannedACL = "public-read-write"
ObjectCannedACLAuthenticatedRead ObjectCannedACL = "authenticated-read"
ObjectCannedACLAwsExecRead ObjectCannedACL = "aws-exec-read"
ObjectCannedACLBucketOwnerRead ObjectCannedACL = "bucket-owner-read"
ObjectCannedACLBucketOwnerFullControl ObjectCannedACL = "bucket-owner-full-control"
)
// Values returns all known values for ObjectCannedACL. 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 (ObjectCannedACL) Values() []ObjectCannedACL {
return []ObjectCannedACL{
"private",
"public-read",
"public-read-write",
"authenticated-read",
"aws-exec-read",
"bucket-owner-read",
"bucket-owner-full-control",
}
}
type ObjectLockEnabled string
// Enum values for ObjectLockEnabled
const (
ObjectLockEnabledEnabled ObjectLockEnabled = "Enabled"
)
// Values returns all known values for ObjectLockEnabled. 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 (ObjectLockEnabled) Values() []ObjectLockEnabled {
return []ObjectLockEnabled{
"Enabled",
}
}
type ObjectLockLegalHoldStatus string
// Enum values for ObjectLockLegalHoldStatus
const (
ObjectLockLegalHoldStatusOn ObjectLockLegalHoldStatus = "ON"
ObjectLockLegalHoldStatusOff ObjectLockLegalHoldStatus = "OFF"
)
// Values returns all known values for ObjectLockLegalHoldStatus. 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 (ObjectLockLegalHoldStatus) Values() []ObjectLockLegalHoldStatus {
return []ObjectLockLegalHoldStatus{
"ON",
"OFF",
}
}
type ObjectLockMode string
// Enum values for ObjectLockMode
const (
ObjectLockModeGovernance ObjectLockMode = "GOVERNANCE"
ObjectLockModeCompliance ObjectLockMode = "COMPLIANCE"
)
// Values returns all known values for ObjectLockMode. 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 (ObjectLockMode) Values() []ObjectLockMode {
return []ObjectLockMode{
"GOVERNANCE",
"COMPLIANCE",
}
}
type ObjectLockRetentionMode string
// Enum values for ObjectLockRetentionMode
const (
ObjectLockRetentionModeGovernance ObjectLockRetentionMode = "GOVERNANCE"
ObjectLockRetentionModeCompliance ObjectLockRetentionMode = "COMPLIANCE"
)
// Values returns all known values for ObjectLockRetentionMode. 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 (ObjectLockRetentionMode) Values() []ObjectLockRetentionMode {
return []ObjectLockRetentionMode{
"GOVERNANCE",
"COMPLIANCE",
}
}
type ObjectOwnership string
// Enum values for ObjectOwnership
const (
ObjectOwnershipBucketOwnerPreferred ObjectOwnership = "BucketOwnerPreferred"
ObjectOwnershipObjectWriter ObjectOwnership = "ObjectWriter"
)
// Values returns all known values for ObjectOwnership. 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 (ObjectOwnership) Values() []ObjectOwnership {
return []ObjectOwnership{
"BucketOwnerPreferred",
"ObjectWriter",
}
}
type ObjectStorageClass string
// Enum values for ObjectStorageClass
const (
ObjectStorageClassStandard ObjectStorageClass = "STANDARD"
ObjectStorageClassReducedRedundancy ObjectStorageClass = "REDUCED_REDUNDANCY"
ObjectStorageClassGlacier ObjectStorageClass = "GLACIER"
ObjectStorageClassStandardIa ObjectStorageClass = "STANDARD_IA"
ObjectStorageClassOnezoneIa ObjectStorageClass = "ONEZONE_IA"
ObjectStorageClassIntelligentTiering ObjectStorageClass = "INTELLIGENT_TIERING"
ObjectStorageClassDeepArchive ObjectStorageClass = "DEEP_ARCHIVE"
ObjectStorageClassOutposts ObjectStorageClass = "OUTPOSTS"
)
// Values returns all known values for ObjectStorageClass. 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 (ObjectStorageClass) Values() []ObjectStorageClass {
return []ObjectStorageClass{
"STANDARD",
"REDUCED_REDUNDANCY",
"GLACIER",
"STANDARD_IA",
"ONEZONE_IA",
"INTELLIGENT_TIERING",
"DEEP_ARCHIVE",
"OUTPOSTS",
}
}
type ObjectVersionStorageClass string
// Enum values for ObjectVersionStorageClass
const (
ObjectVersionStorageClassStandard ObjectVersionStorageClass = "STANDARD"
)
// Values returns all known values for ObjectVersionStorageClass. 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 (ObjectVersionStorageClass) Values() []ObjectVersionStorageClass {
return []ObjectVersionStorageClass{
"STANDARD",
}
}
type OwnerOverride string
// Enum values for OwnerOverride
const (
OwnerOverrideDestination OwnerOverride = "Destination"
)
// Values returns all known values for OwnerOverride. 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 (OwnerOverride) Values() []OwnerOverride {
return []OwnerOverride{
"Destination",
}
}
type Payer string
// Enum values for Payer
const (
PayerRequester Payer = "Requester"
PayerBucketOwner Payer = "BucketOwner"
)
// Values returns all known values for Payer. 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 (Payer) Values() []Payer {
return []Payer{
"Requester",
"BucketOwner",
}
}
type Permission string
// Enum values for Permission
const (
PermissionFullControl Permission = "FULL_CONTROL"
PermissionWrite Permission = "WRITE"
PermissionWriteAcp Permission = "WRITE_ACP"
PermissionRead Permission = "READ"
PermissionReadAcp Permission = "READ_ACP"
)
// Values returns all known values for Permission. 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 (Permission) Values() []Permission {
return []Permission{
"FULL_CONTROL",
"WRITE",
"WRITE_ACP",
"READ",
"READ_ACP",
}
}
type Protocol string
// Enum values for Protocol
const (
ProtocolHttp Protocol = "http"
ProtocolHttps Protocol = "https"
)
// Values returns all known values for Protocol. 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 (Protocol) Values() []Protocol {
return []Protocol{
"http",
"https",
}
}
type QuoteFields string
// Enum values for QuoteFields
const (
QuoteFieldsAlways QuoteFields = "ALWAYS"
QuoteFieldsAsneeded QuoteFields = "ASNEEDED"
)
// Values returns all known values for QuoteFields. 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 (QuoteFields) Values() []QuoteFields {
return []QuoteFields{
"ALWAYS",
"ASNEEDED",
}
}
type ReplicaModificationsStatus string
// Enum values for ReplicaModificationsStatus
const (
ReplicaModificationsStatusEnabled ReplicaModificationsStatus = "Enabled"
ReplicaModificationsStatusDisabled ReplicaModificationsStatus = "Disabled"
)
// Values returns all known values for ReplicaModificationsStatus. 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 (ReplicaModificationsStatus) Values() []ReplicaModificationsStatus {
return []ReplicaModificationsStatus{
"Enabled",
"Disabled",
}
}
type ReplicationRuleStatus string
// Enum values for ReplicationRuleStatus
const (
ReplicationRuleStatusEnabled ReplicationRuleStatus = "Enabled"
ReplicationRuleStatusDisabled ReplicationRuleStatus = "Disabled"
)
// Values returns all known values for ReplicationRuleStatus. 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 (ReplicationRuleStatus) Values() []ReplicationRuleStatus {
return []ReplicationRuleStatus{
"Enabled",
"Disabled",
}
}
type ReplicationStatus string
// Enum values for ReplicationStatus
const (
ReplicationStatusComplete ReplicationStatus = "COMPLETE"
ReplicationStatusPending ReplicationStatus = "PENDING"
ReplicationStatusFailed ReplicationStatus = "FAILED"
ReplicationStatusReplica ReplicationStatus = "REPLICA"
)
// Values returns all known values for ReplicationStatus. 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 (ReplicationStatus) Values() []ReplicationStatus {
return []ReplicationStatus{
"COMPLETE",
"PENDING",
"FAILED",
"REPLICA",
}
}
type ReplicationTimeStatus string
// Enum values for ReplicationTimeStatus
const (
ReplicationTimeStatusEnabled ReplicationTimeStatus = "Enabled"
ReplicationTimeStatusDisabled ReplicationTimeStatus = "Disabled"
)
// Values returns all known values for ReplicationTimeStatus. 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 (ReplicationTimeStatus) Values() []ReplicationTimeStatus {
return []ReplicationTimeStatus{
"Enabled",
"Disabled",
}
}
type RequestCharged string
// Enum values for RequestCharged
const (
RequestChargedRequester RequestCharged = "requester"
)
// Values returns all known values for RequestCharged. 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 (RequestCharged) Values() []RequestCharged {
return []RequestCharged{
"requester",
}
}
type RequestPayer string
// Enum values for RequestPayer
const (
RequestPayerRequester RequestPayer = "requester"
)
// Values returns all known values for RequestPayer. 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 (RequestPayer) Values() []RequestPayer {
return []RequestPayer{
"requester",
}
}
type RestoreRequestType string
// Enum values for RestoreRequestType
const (
RestoreRequestTypeSelect RestoreRequestType = "SELECT"
)
// Values returns all known values for RestoreRequestType. 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 (RestoreRequestType) Values() []RestoreRequestType {
return []RestoreRequestType{
"SELECT",
}
}
type ServerSideEncryption string
// Enum values for ServerSideEncryption
const (
ServerSideEncryptionAes256 ServerSideEncryption = "AES256"
ServerSideEncryptionAwsKms ServerSideEncryption = "aws:kms"
)
// Values returns all known values for ServerSideEncryption. 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 (ServerSideEncryption) Values() []ServerSideEncryption {
return []ServerSideEncryption{
"AES256",
"aws:kms",
}
}
type SseKmsEncryptedObjectsStatus string
// Enum values for SseKmsEncryptedObjectsStatus
const (
SseKmsEncryptedObjectsStatusEnabled SseKmsEncryptedObjectsStatus = "Enabled"
SseKmsEncryptedObjectsStatusDisabled SseKmsEncryptedObjectsStatus = "Disabled"
)
// Values returns all known values for SseKmsEncryptedObjectsStatus. 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 (SseKmsEncryptedObjectsStatus) Values() []SseKmsEncryptedObjectsStatus {
return []SseKmsEncryptedObjectsStatus{
"Enabled",
"Disabled",
}
}
type StorageClass string
// Enum values for StorageClass
const (
StorageClassStandard StorageClass = "STANDARD"
StorageClassReducedRedundancy StorageClass = "REDUCED_REDUNDANCY"
StorageClassStandardIa StorageClass = "STANDARD_IA"
StorageClassOnezoneIa StorageClass = "ONEZONE_IA"
StorageClassIntelligentTiering StorageClass = "INTELLIGENT_TIERING"
StorageClassGlacier StorageClass = "GLACIER"