1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type AnalyticsS3ExportFileFormat string 6 7// Enum values for AnalyticsS3ExportFileFormat 8const ( 9 AnalyticsS3ExportFileFormatCsv AnalyticsS3ExportFileFormat = "CSV" 10) 11 12// Values returns all known values for AnalyticsS3ExportFileFormat. Note that this 13// can be expanded in the future, and so it is only as up to date as the client. 14// The ordering of this slice is not guaranteed to be stable across updates. 15func (AnalyticsS3ExportFileFormat) Values() []AnalyticsS3ExportFileFormat { 16 return []AnalyticsS3ExportFileFormat{ 17 "CSV", 18 } 19} 20 21type ArchiveStatus string 22 23// Enum values for ArchiveStatus 24const ( 25 ArchiveStatusArchiveAccess ArchiveStatus = "ARCHIVE_ACCESS" 26 ArchiveStatusDeepArchiveAccess ArchiveStatus = "DEEP_ARCHIVE_ACCESS" 27) 28 29// Values returns all known values for ArchiveStatus. Note that this can be 30// expanded in the future, and so it is only as up to date as the client. The 31// ordering of this slice is not guaranteed to be stable across updates. 32func (ArchiveStatus) Values() []ArchiveStatus { 33 return []ArchiveStatus{ 34 "ARCHIVE_ACCESS", 35 "DEEP_ARCHIVE_ACCESS", 36 } 37} 38 39type BucketAccelerateStatus string 40 41// Enum values for BucketAccelerateStatus 42const ( 43 BucketAccelerateStatusEnabled BucketAccelerateStatus = "Enabled" 44 BucketAccelerateStatusSuspended BucketAccelerateStatus = "Suspended" 45) 46 47// Values returns all known values for BucketAccelerateStatus. Note that this can 48// be expanded in the future, and so it is only as up to date as the client. The 49// ordering of this slice is not guaranteed to be stable across updates. 50func (BucketAccelerateStatus) Values() []BucketAccelerateStatus { 51 return []BucketAccelerateStatus{ 52 "Enabled", 53 "Suspended", 54 } 55} 56 57type BucketCannedACL string 58 59// Enum values for BucketCannedACL 60const ( 61 BucketCannedACLPrivate BucketCannedACL = "private" 62 BucketCannedACLPublicRead BucketCannedACL = "public-read" 63 BucketCannedACLPublicReadWrite BucketCannedACL = "public-read-write" 64 BucketCannedACLAuthenticatedRead BucketCannedACL = "authenticated-read" 65) 66 67// Values returns all known values for BucketCannedACL. Note that this can be 68// expanded in the future, and so it is only as up to date as the client. The 69// ordering of this slice is not guaranteed to be stable across updates. 70func (BucketCannedACL) Values() []BucketCannedACL { 71 return []BucketCannedACL{ 72 "private", 73 "public-read", 74 "public-read-write", 75 "authenticated-read", 76 } 77} 78 79type BucketLocationConstraint string 80 81// Enum values for BucketLocationConstraint 82const ( 83 BucketLocationConstraintAfSouth1 BucketLocationConstraint = "af-south-1" 84 BucketLocationConstraintApEast1 BucketLocationConstraint = "ap-east-1" 85 BucketLocationConstraintApNortheast1 BucketLocationConstraint = "ap-northeast-1" 86 BucketLocationConstraintApNortheast2 BucketLocationConstraint = "ap-northeast-2" 87 BucketLocationConstraintApNortheast3 BucketLocationConstraint = "ap-northeast-3" 88 BucketLocationConstraintApSouth1 BucketLocationConstraint = "ap-south-1" 89 BucketLocationConstraintApSoutheast1 BucketLocationConstraint = "ap-southeast-1" 90 BucketLocationConstraintApSoutheast2 BucketLocationConstraint = "ap-southeast-2" 91 BucketLocationConstraintCaCentral1 BucketLocationConstraint = "ca-central-1" 92 BucketLocationConstraintCnNorth1 BucketLocationConstraint = "cn-north-1" 93 BucketLocationConstraintCnNorthwest1 BucketLocationConstraint = "cn-northwest-1" 94 BucketLocationConstraintEu BucketLocationConstraint = "EU" 95 BucketLocationConstraintEuCentral1 BucketLocationConstraint = "eu-central-1" 96 BucketLocationConstraintEuNorth1 BucketLocationConstraint = "eu-north-1" 97 BucketLocationConstraintEuSouth1 BucketLocationConstraint = "eu-south-1" 98 BucketLocationConstraintEuWest1 BucketLocationConstraint = "eu-west-1" 99 BucketLocationConstraintEuWest2 BucketLocationConstraint = "eu-west-2" 100 BucketLocationConstraintEuWest3 BucketLocationConstraint = "eu-west-3" 101 BucketLocationConstraintMeSouth1 BucketLocationConstraint = "me-south-1" 102 BucketLocationConstraintSaEast1 BucketLocationConstraint = "sa-east-1" 103 BucketLocationConstraintUsEast2 BucketLocationConstraint = "us-east-2" 104 BucketLocationConstraintUsGovEast1 BucketLocationConstraint = "us-gov-east-1" 105 BucketLocationConstraintUsGovWest1 BucketLocationConstraint = "us-gov-west-1" 106 BucketLocationConstraintUsWest1 BucketLocationConstraint = "us-west-1" 107 BucketLocationConstraintUsWest2 BucketLocationConstraint = "us-west-2" 108) 109 110// Values returns all known values for BucketLocationConstraint. Note that this can 111// be expanded in the future, and so it is only as up to date as the client. The 112// ordering of this slice is not guaranteed to be stable across updates. 113func (BucketLocationConstraint) Values() []BucketLocationConstraint { 114 return []BucketLocationConstraint{ 115 "af-south-1", 116 "ap-east-1", 117 "ap-northeast-1", 118 "ap-northeast-2", 119 "ap-northeast-3", 120 "ap-south-1", 121 "ap-southeast-1", 122 "ap-southeast-2", 123 "ca-central-1", 124 "cn-north-1", 125 "cn-northwest-1", 126 "EU", 127 "eu-central-1", 128 "eu-north-1", 129 "eu-south-1", 130 "eu-west-1", 131 "eu-west-2", 132 "eu-west-3", 133 "me-south-1", 134 "sa-east-1", 135 "us-east-2", 136 "us-gov-east-1", 137 "us-gov-west-1", 138 "us-west-1", 139 "us-west-2", 140 } 141} 142 143type BucketLogsPermission string 144 145// Enum values for BucketLogsPermission 146const ( 147 BucketLogsPermissionFullControl BucketLogsPermission = "FULL_CONTROL" 148 BucketLogsPermissionRead BucketLogsPermission = "READ" 149 BucketLogsPermissionWrite BucketLogsPermission = "WRITE" 150) 151 152// Values returns all known values for BucketLogsPermission. Note that this can be 153// expanded in the future, and so it is only as up to date as the client. The 154// ordering of this slice is not guaranteed to be stable across updates. 155func (BucketLogsPermission) Values() []BucketLogsPermission { 156 return []BucketLogsPermission{ 157 "FULL_CONTROL", 158 "READ", 159 "WRITE", 160 } 161} 162 163type BucketVersioningStatus string 164 165// Enum values for BucketVersioningStatus 166const ( 167 BucketVersioningStatusEnabled BucketVersioningStatus = "Enabled" 168 BucketVersioningStatusSuspended BucketVersioningStatus = "Suspended" 169) 170 171// Values returns all known values for BucketVersioningStatus. Note that this can 172// be expanded in the future, and so it is only as up to date as the client. The 173// ordering of this slice is not guaranteed to be stable across updates. 174func (BucketVersioningStatus) Values() []BucketVersioningStatus { 175 return []BucketVersioningStatus{ 176 "Enabled", 177 "Suspended", 178 } 179} 180 181type CompressionType string 182 183// Enum values for CompressionType 184const ( 185 CompressionTypeNone CompressionType = "NONE" 186 CompressionTypeGzip CompressionType = "GZIP" 187 CompressionTypeBzip2 CompressionType = "BZIP2" 188) 189 190// Values returns all known values for CompressionType. Note that this can be 191// expanded in the future, and so it is only as up to date as the client. The 192// ordering of this slice is not guaranteed to be stable across updates. 193func (CompressionType) Values() []CompressionType { 194 return []CompressionType{ 195 "NONE", 196 "GZIP", 197 "BZIP2", 198 } 199} 200 201type DeleteMarkerReplicationStatus string 202 203// Enum values for DeleteMarkerReplicationStatus 204const ( 205 DeleteMarkerReplicationStatusEnabled DeleteMarkerReplicationStatus = "Enabled" 206 DeleteMarkerReplicationStatusDisabled DeleteMarkerReplicationStatus = "Disabled" 207) 208 209// Values returns all known values for DeleteMarkerReplicationStatus. Note that 210// this can be expanded in the future, and so it is only as up to date as the 211// client. The ordering of this slice is not guaranteed to be stable across 212// updates. 213func (DeleteMarkerReplicationStatus) Values() []DeleteMarkerReplicationStatus { 214 return []DeleteMarkerReplicationStatus{ 215 "Enabled", 216 "Disabled", 217 } 218} 219 220type EncodingType string 221 222// Enum values for EncodingType 223const ( 224 EncodingTypeUrl EncodingType = "url" 225) 226 227// Values returns all known values for EncodingType. Note that this can be expanded 228// in the future, and so it is only as up to date as the client. The ordering of 229// this slice is not guaranteed to be stable across updates. 230func (EncodingType) Values() []EncodingType { 231 return []EncodingType{ 232 "url", 233 } 234} 235 236type Event string 237 238// Values returns all known values for Event. Note that this can be expanded in the 239// future, and so it is only as up to date as the client. The ordering of this 240// slice is not guaranteed to be stable across updates. 241func (Event) Values() []Event { 242 return []Event{ 243 "s3:ReducedRedundancyLostObject", 244 "s3:ObjectCreated:*", 245 "s3:ObjectCreated:Put", 246 "s3:ObjectCreated:Post", 247 "s3:ObjectCreated:Copy", 248 "s3:ObjectCreated:CompleteMultipartUpload", 249 "s3:ObjectRemoved:*", 250 "s3:ObjectRemoved:Delete", 251 "s3:ObjectRemoved:DeleteMarkerCreated", 252 "s3:ObjectRestore:*", 253 "s3:ObjectRestore:Post", 254 "s3:ObjectRestore:Completed", 255 "s3:Replication:*", 256 "s3:Replication:OperationFailedReplication", 257 "s3:Replication:OperationNotTracked", 258 "s3:Replication:OperationMissedThreshold", 259 "s3:Replication:OperationReplicatedAfterThreshold", 260 } 261} 262 263type ExistingObjectReplicationStatus string 264 265// Enum values for ExistingObjectReplicationStatus 266const ( 267 ExistingObjectReplicationStatusEnabled ExistingObjectReplicationStatus = "Enabled" 268 ExistingObjectReplicationStatusDisabled ExistingObjectReplicationStatus = "Disabled" 269) 270 271// Values returns all known values for ExistingObjectReplicationStatus. Note that 272// this can be expanded in the future, and so it is only as up to date as the 273// client. The ordering of this slice is not guaranteed to be stable across 274// updates. 275func (ExistingObjectReplicationStatus) Values() []ExistingObjectReplicationStatus { 276 return []ExistingObjectReplicationStatus{ 277 "Enabled", 278 "Disabled", 279 } 280} 281 282type ExpirationStatus string 283 284// Enum values for ExpirationStatus 285const ( 286 ExpirationStatusEnabled ExpirationStatus = "Enabled" 287 ExpirationStatusDisabled ExpirationStatus = "Disabled" 288) 289 290// Values returns all known values for ExpirationStatus. Note that this can be 291// expanded in the future, and so it is only as up to date as the client. The 292// ordering of this slice is not guaranteed to be stable across updates. 293func (ExpirationStatus) Values() []ExpirationStatus { 294 return []ExpirationStatus{ 295 "Enabled", 296 "Disabled", 297 } 298} 299 300type ExpressionType string 301 302// Enum values for ExpressionType 303const ( 304 ExpressionTypeSql ExpressionType = "SQL" 305) 306 307// Values returns all known values for ExpressionType. Note that this can be 308// expanded in the future, and so it is only as up to date as the client. The 309// ordering of this slice is not guaranteed to be stable across updates. 310func (ExpressionType) Values() []ExpressionType { 311 return []ExpressionType{ 312 "SQL", 313 } 314} 315 316type FileHeaderInfo string 317 318// Enum values for FileHeaderInfo 319const ( 320 FileHeaderInfoUse FileHeaderInfo = "USE" 321 FileHeaderInfoIgnore FileHeaderInfo = "IGNORE" 322 FileHeaderInfoNone FileHeaderInfo = "NONE" 323) 324 325// Values returns all known values for FileHeaderInfo. Note that this can be 326// expanded in the future, and so it is only as up to date as the client. The 327// ordering of this slice is not guaranteed to be stable across updates. 328func (FileHeaderInfo) Values() []FileHeaderInfo { 329 return []FileHeaderInfo{ 330 "USE", 331 "IGNORE", 332 "NONE", 333 } 334} 335 336type FilterRuleName string 337 338// Enum values for FilterRuleName 339const ( 340 FilterRuleNamePrefix FilterRuleName = "prefix" 341 FilterRuleNameSuffix FilterRuleName = "suffix" 342) 343 344// Values returns all known values for FilterRuleName. Note that this can be 345// expanded in the future, and so it is only as up to date as the client. The 346// ordering of this slice is not guaranteed to be stable across updates. 347func (FilterRuleName) Values() []FilterRuleName { 348 return []FilterRuleName{ 349 "prefix", 350 "suffix", 351 } 352} 353 354type IntelligentTieringAccessTier string 355 356// Enum values for IntelligentTieringAccessTier 357const ( 358 IntelligentTieringAccessTierArchiveAccess IntelligentTieringAccessTier = "ARCHIVE_ACCESS" 359 IntelligentTieringAccessTierDeepArchiveAccess IntelligentTieringAccessTier = "DEEP_ARCHIVE_ACCESS" 360) 361 362// Values returns all known values for IntelligentTieringAccessTier. Note that this 363// can be expanded in the future, and so it is only as up to date as the client. 364// The ordering of this slice is not guaranteed to be stable across updates. 365func (IntelligentTieringAccessTier) Values() []IntelligentTieringAccessTier { 366 return []IntelligentTieringAccessTier{ 367 "ARCHIVE_ACCESS", 368 "DEEP_ARCHIVE_ACCESS", 369 } 370} 371 372type IntelligentTieringStatus string 373 374// Enum values for IntelligentTieringStatus 375const ( 376 IntelligentTieringStatusEnabled IntelligentTieringStatus = "Enabled" 377 IntelligentTieringStatusDisabled IntelligentTieringStatus = "Disabled" 378) 379 380// Values returns all known values for IntelligentTieringStatus. Note that this can 381// be expanded in the future, and so it is only as up to date as the client. The 382// ordering of this slice is not guaranteed to be stable across updates. 383func (IntelligentTieringStatus) Values() []IntelligentTieringStatus { 384 return []IntelligentTieringStatus{ 385 "Enabled", 386 "Disabled", 387 } 388} 389 390type InventoryFormat string 391 392// Enum values for InventoryFormat 393const ( 394 InventoryFormatCsv InventoryFormat = "CSV" 395 InventoryFormatOrc InventoryFormat = "ORC" 396 InventoryFormatParquet InventoryFormat = "Parquet" 397) 398 399// Values returns all known values for InventoryFormat. Note that this can be 400// expanded in the future, and so it is only as up to date as the client. The 401// ordering of this slice is not guaranteed to be stable across updates. 402func (InventoryFormat) Values() []InventoryFormat { 403 return []InventoryFormat{ 404 "CSV", 405 "ORC", 406 "Parquet", 407 } 408} 409 410type InventoryFrequency string 411 412// Enum values for InventoryFrequency 413const ( 414 InventoryFrequencyDaily InventoryFrequency = "Daily" 415 InventoryFrequencyWeekly InventoryFrequency = "Weekly" 416) 417 418// Values returns all known values for InventoryFrequency. Note that this can be 419// expanded in the future, and so it is only as up to date as the client. The 420// ordering of this slice is not guaranteed to be stable across updates. 421func (InventoryFrequency) Values() []InventoryFrequency { 422 return []InventoryFrequency{ 423 "Daily", 424 "Weekly", 425 } 426} 427 428type InventoryIncludedObjectVersions string 429 430// Enum values for InventoryIncludedObjectVersions 431const ( 432 InventoryIncludedObjectVersionsAll InventoryIncludedObjectVersions = "All" 433 InventoryIncludedObjectVersionsCurrent InventoryIncludedObjectVersions = "Current" 434) 435 436// Values returns all known values for InventoryIncludedObjectVersions. Note that 437// this can be expanded in the future, and so it is only as up to date as the 438// client. The ordering of this slice is not guaranteed to be stable across 439// updates. 440func (InventoryIncludedObjectVersions) Values() []InventoryIncludedObjectVersions { 441 return []InventoryIncludedObjectVersions{ 442 "All", 443 "Current", 444 } 445} 446 447type InventoryOptionalField string 448 449// Enum values for InventoryOptionalField 450const ( 451 InventoryOptionalFieldSize InventoryOptionalField = "Size" 452 InventoryOptionalFieldLastModifiedDate InventoryOptionalField = "LastModifiedDate" 453 InventoryOptionalFieldStorageClass InventoryOptionalField = "StorageClass" 454 InventoryOptionalFieldETag InventoryOptionalField = "ETag" 455 InventoryOptionalFieldIsMultipartUploaded InventoryOptionalField = "IsMultipartUploaded" 456 InventoryOptionalFieldReplicationStatus InventoryOptionalField = "ReplicationStatus" 457 InventoryOptionalFieldEncryptionStatus InventoryOptionalField = "EncryptionStatus" 458 InventoryOptionalFieldObjectLockRetainUntilDate InventoryOptionalField = "ObjectLockRetainUntilDate" 459 InventoryOptionalFieldObjectLockMode InventoryOptionalField = "ObjectLockMode" 460 InventoryOptionalFieldObjectLockLegalHoldStatus InventoryOptionalField = "ObjectLockLegalHoldStatus" 461 InventoryOptionalFieldIntelligentTieringAccessTier InventoryOptionalField = "IntelligentTieringAccessTier" 462) 463 464// Values returns all known values for InventoryOptionalField. Note that this can 465// be expanded in the future, and so it is only as up to date as the client. The 466// ordering of this slice is not guaranteed to be stable across updates. 467func (InventoryOptionalField) Values() []InventoryOptionalField { 468 return []InventoryOptionalField{ 469 "Size", 470 "LastModifiedDate", 471 "StorageClass", 472 "ETag", 473 "IsMultipartUploaded", 474 "ReplicationStatus", 475 "EncryptionStatus", 476 "ObjectLockRetainUntilDate", 477 "ObjectLockMode", 478 "ObjectLockLegalHoldStatus", 479 "IntelligentTieringAccessTier", 480 } 481} 482 483type JSONType string 484 485// Enum values for JSONType 486const ( 487 JSONTypeDocument JSONType = "DOCUMENT" 488 JSONTypeLines JSONType = "LINES" 489) 490 491// Values returns all known values for JSONType. Note that this can be expanded in 492// the future, and so it is only as up to date as the client. The ordering of this 493// slice is not guaranteed to be stable across updates. 494func (JSONType) Values() []JSONType { 495 return []JSONType{ 496 "DOCUMENT", 497 "LINES", 498 } 499} 500 501type MetadataDirective string 502 503// Enum values for MetadataDirective 504const ( 505 MetadataDirectiveCopy MetadataDirective = "COPY" 506 MetadataDirectiveReplace MetadataDirective = "REPLACE" 507) 508 509// Values returns all known values for MetadataDirective. Note that this can be 510// expanded in the future, and so it is only as up to date as the client. The 511// ordering of this slice is not guaranteed to be stable across updates. 512func (MetadataDirective) Values() []MetadataDirective { 513 return []MetadataDirective{ 514 "COPY", 515 "REPLACE", 516 } 517} 518 519type MetricsStatus string 520 521// Enum values for MetricsStatus 522const ( 523 MetricsStatusEnabled MetricsStatus = "Enabled" 524 MetricsStatusDisabled MetricsStatus = "Disabled" 525) 526 527// Values returns all known values for MetricsStatus. Note that this can be 528// expanded in the future, and so it is only as up to date as the client. The 529// ordering of this slice is not guaranteed to be stable across updates. 530func (MetricsStatus) Values() []MetricsStatus { 531 return []MetricsStatus{ 532 "Enabled", 533 "Disabled", 534 } 535} 536 537type MFADelete string 538 539// Enum values for MFADelete 540const ( 541 MFADeleteEnabled MFADelete = "Enabled" 542 MFADeleteDisabled MFADelete = "Disabled" 543) 544 545// Values returns all known values for MFADelete. Note that this can be expanded in 546// the future, and so it is only as up to date as the client. The ordering of this 547// slice is not guaranteed to be stable across updates. 548func (MFADelete) Values() []MFADelete { 549 return []MFADelete{ 550 "Enabled", 551 "Disabled", 552 } 553} 554 555type MFADeleteStatus string 556 557// Enum values for MFADeleteStatus 558const ( 559 MFADeleteStatusEnabled MFADeleteStatus = "Enabled" 560 MFADeleteStatusDisabled MFADeleteStatus = "Disabled" 561) 562 563// Values returns all known values for MFADeleteStatus. Note that this can be 564// expanded in the future, and so it is only as up to date as the client. The 565// ordering of this slice is not guaranteed to be stable across updates. 566func (MFADeleteStatus) Values() []MFADeleteStatus { 567 return []MFADeleteStatus{ 568 "Enabled", 569 "Disabled", 570 } 571} 572 573type ObjectCannedACL string 574 575// Enum values for ObjectCannedACL 576const ( 577 ObjectCannedACLPrivate ObjectCannedACL = "private" 578 ObjectCannedACLPublicRead ObjectCannedACL = "public-read" 579 ObjectCannedACLPublicReadWrite ObjectCannedACL = "public-read-write" 580 ObjectCannedACLAuthenticatedRead ObjectCannedACL = "authenticated-read" 581 ObjectCannedACLAwsExecRead ObjectCannedACL = "aws-exec-read" 582 ObjectCannedACLBucketOwnerRead ObjectCannedACL = "bucket-owner-read" 583 ObjectCannedACLBucketOwnerFullControl ObjectCannedACL = "bucket-owner-full-control" 584) 585 586// Values returns all known values for ObjectCannedACL. Note that this can be 587// expanded in the future, and so it is only as up to date as the client. The 588// ordering of this slice is not guaranteed to be stable across updates. 589func (ObjectCannedACL) Values() []ObjectCannedACL { 590 return []ObjectCannedACL{ 591 "private", 592 "public-read", 593 "public-read-write", 594 "authenticated-read", 595 "aws-exec-read", 596 "bucket-owner-read", 597 "bucket-owner-full-control", 598 } 599} 600 601type ObjectLockEnabled string 602 603// Enum values for ObjectLockEnabled 604const ( 605 ObjectLockEnabledEnabled ObjectLockEnabled = "Enabled" 606) 607 608// Values returns all known values for ObjectLockEnabled. Note that this can be 609// expanded in the future, and so it is only as up to date as the client. The 610// ordering of this slice is not guaranteed to be stable across updates. 611func (ObjectLockEnabled) Values() []ObjectLockEnabled { 612 return []ObjectLockEnabled{ 613 "Enabled", 614 } 615} 616 617type ObjectLockLegalHoldStatus string 618 619// Enum values for ObjectLockLegalHoldStatus 620const ( 621 ObjectLockLegalHoldStatusOn ObjectLockLegalHoldStatus = "ON" 622 ObjectLockLegalHoldStatusOff ObjectLockLegalHoldStatus = "OFF" 623) 624 625// Values returns all known values for ObjectLockLegalHoldStatus. Note that this 626// can be expanded in the future, and so it is only as up to date as the client. 627// The ordering of this slice is not guaranteed to be stable across updates. 628func (ObjectLockLegalHoldStatus) Values() []ObjectLockLegalHoldStatus { 629 return []ObjectLockLegalHoldStatus{ 630 "ON", 631 "OFF", 632 } 633} 634 635type ObjectLockMode string 636 637// Enum values for ObjectLockMode 638const ( 639 ObjectLockModeGovernance ObjectLockMode = "GOVERNANCE" 640 ObjectLockModeCompliance ObjectLockMode = "COMPLIANCE" 641) 642 643// Values returns all known values for ObjectLockMode. Note that this can be 644// expanded in the future, and so it is only as up to date as the client. The 645// ordering of this slice is not guaranteed to be stable across updates. 646func (ObjectLockMode) Values() []ObjectLockMode { 647 return []ObjectLockMode{ 648 "GOVERNANCE", 649 "COMPLIANCE", 650 } 651} 652 653type ObjectLockRetentionMode string 654 655// Enum values for ObjectLockRetentionMode 656const ( 657 ObjectLockRetentionModeGovernance ObjectLockRetentionMode = "GOVERNANCE" 658 ObjectLockRetentionModeCompliance ObjectLockRetentionMode = "COMPLIANCE" 659) 660 661// Values returns all known values for ObjectLockRetentionMode. Note that this can 662// be expanded in the future, and so it is only as up to date as the client. The 663// ordering of this slice is not guaranteed to be stable across updates. 664func (ObjectLockRetentionMode) Values() []ObjectLockRetentionMode { 665 return []ObjectLockRetentionMode{ 666 "GOVERNANCE", 667 "COMPLIANCE", 668 } 669} 670 671type ObjectOwnership string 672 673// Enum values for ObjectOwnership 674const ( 675 ObjectOwnershipBucketOwnerPreferred ObjectOwnership = "BucketOwnerPreferred" 676 ObjectOwnershipObjectWriter ObjectOwnership = "ObjectWriter" 677) 678 679// Values returns all known values for ObjectOwnership. Note that this can be 680// expanded in the future, and so it is only as up to date as the client. The 681// ordering of this slice is not guaranteed to be stable across updates. 682func (ObjectOwnership) Values() []ObjectOwnership { 683 return []ObjectOwnership{ 684 "BucketOwnerPreferred", 685 "ObjectWriter", 686 } 687} 688 689type ObjectStorageClass string 690 691// Enum values for ObjectStorageClass 692const ( 693 ObjectStorageClassStandard ObjectStorageClass = "STANDARD" 694 ObjectStorageClassReducedRedundancy ObjectStorageClass = "REDUCED_REDUNDANCY" 695 ObjectStorageClassGlacier ObjectStorageClass = "GLACIER" 696 ObjectStorageClassStandardIa ObjectStorageClass = "STANDARD_IA" 697 ObjectStorageClassOnezoneIa ObjectStorageClass = "ONEZONE_IA" 698 ObjectStorageClassIntelligentTiering ObjectStorageClass = "INTELLIGENT_TIERING" 699 ObjectStorageClassDeepArchive ObjectStorageClass = "DEEP_ARCHIVE" 700 ObjectStorageClassOutposts ObjectStorageClass = "OUTPOSTS" 701) 702 703// Values returns all known values for ObjectStorageClass. Note that this can be 704// expanded in the future, and so it is only as up to date as the client. The 705// ordering of this slice is not guaranteed to be stable across updates. 706func (ObjectStorageClass) Values() []ObjectStorageClass { 707 return []ObjectStorageClass{ 708 "STANDARD", 709 "REDUCED_REDUNDANCY", 710 "GLACIER", 711 "STANDARD_IA", 712 "ONEZONE_IA", 713 "INTELLIGENT_TIERING", 714 "DEEP_ARCHIVE", 715 "OUTPOSTS", 716 } 717} 718 719type ObjectVersionStorageClass string 720 721// Enum values for ObjectVersionStorageClass 722const ( 723 ObjectVersionStorageClassStandard ObjectVersionStorageClass = "STANDARD" 724) 725 726// Values returns all known values for ObjectVersionStorageClass. Note that this 727// can be expanded in the future, and so it is only as up to date as the client. 728// The ordering of this slice is not guaranteed to be stable across updates. 729func (ObjectVersionStorageClass) Values() []ObjectVersionStorageClass { 730 return []ObjectVersionStorageClass{ 731 "STANDARD", 732 } 733} 734 735type OwnerOverride string 736 737// Enum values for OwnerOverride 738const ( 739 OwnerOverrideDestination OwnerOverride = "Destination" 740) 741 742// Values returns all known values for OwnerOverride. Note that this can be 743// expanded in the future, and so it is only as up to date as the client. The 744// ordering of this slice is not guaranteed to be stable across updates. 745func (OwnerOverride) Values() []OwnerOverride { 746 return []OwnerOverride{ 747 "Destination", 748 } 749} 750 751type Payer string 752 753// Enum values for Payer 754const ( 755 PayerRequester Payer = "Requester" 756 PayerBucketOwner Payer = "BucketOwner" 757) 758 759// Values returns all known values for Payer. Note that this can be expanded in the 760// future, and so it is only as up to date as the client. The ordering of this 761// slice is not guaranteed to be stable across updates. 762func (Payer) Values() []Payer { 763 return []Payer{ 764 "Requester", 765 "BucketOwner", 766 } 767} 768 769type Permission string 770 771// Enum values for Permission 772const ( 773 PermissionFullControl Permission = "FULL_CONTROL" 774 PermissionWrite Permission = "WRITE" 775 PermissionWriteAcp Permission = "WRITE_ACP" 776 PermissionRead Permission = "READ" 777 PermissionReadAcp Permission = "READ_ACP" 778) 779 780// Values returns all known values for Permission. Note that this can be expanded 781// in the future, and so it is only as up to date as the client. The ordering of 782// this slice is not guaranteed to be stable across updates. 783func (Permission) Values() []Permission { 784 return []Permission{ 785 "FULL_CONTROL", 786 "WRITE", 787 "WRITE_ACP", 788 "READ", 789 "READ_ACP", 790 } 791} 792 793type Protocol string 794 795// Enum values for Protocol 796const ( 797 ProtocolHttp Protocol = "http" 798 ProtocolHttps Protocol = "https" 799) 800 801// Values returns all known values for Protocol. Note that this can be expanded in 802// the future, and so it is only as up to date as the client. The ordering of this 803// slice is not guaranteed to be stable across updates. 804func (Protocol) Values() []Protocol { 805 return []Protocol{ 806 "http", 807 "https", 808 } 809} 810 811type QuoteFields string 812 813// Enum values for QuoteFields 814const ( 815 QuoteFieldsAlways QuoteFields = "ALWAYS" 816 QuoteFieldsAsneeded QuoteFields = "ASNEEDED" 817) 818 819// Values returns all known values for QuoteFields. Note that this can be expanded 820// in the future, and so it is only as up to date as the client. The ordering of 821// this slice is not guaranteed to be stable across updates. 822func (QuoteFields) Values() []QuoteFields { 823 return []QuoteFields{ 824 "ALWAYS", 825 "ASNEEDED", 826 } 827} 828 829type ReplicaModificationsStatus string 830 831// Enum values for ReplicaModificationsStatus 832const ( 833 ReplicaModificationsStatusEnabled ReplicaModificationsStatus = "Enabled" 834 ReplicaModificationsStatusDisabled ReplicaModificationsStatus = "Disabled" 835) 836 837// Values returns all known values for ReplicaModificationsStatus. Note that this 838// can be expanded in the future, and so it is only as up to date as the client. 839// The ordering of this slice is not guaranteed to be stable across updates. 840func (ReplicaModificationsStatus) Values() []ReplicaModificationsStatus { 841 return []ReplicaModificationsStatus{ 842 "Enabled", 843 "Disabled", 844 } 845} 846 847type ReplicationRuleStatus string 848 849// Enum values for ReplicationRuleStatus 850const ( 851 ReplicationRuleStatusEnabled ReplicationRuleStatus = "Enabled" 852 ReplicationRuleStatusDisabled ReplicationRuleStatus = "Disabled" 853) 854 855// Values returns all known values for ReplicationRuleStatus. Note that this can be 856// expanded in the future, and so it is only as up to date as the client. The 857// ordering of this slice is not guaranteed to be stable across updates. 858func (ReplicationRuleStatus) Values() []ReplicationRuleStatus { 859 return []ReplicationRuleStatus{ 860 "Enabled", 861 "Disabled", 862 } 863} 864 865type ReplicationStatus string 866 867// Enum values for ReplicationStatus 868const ( 869 ReplicationStatusComplete ReplicationStatus = "COMPLETE" 870 ReplicationStatusPending ReplicationStatus = "PENDING" 871 ReplicationStatusFailed ReplicationStatus = "FAILED" 872 ReplicationStatusReplica ReplicationStatus = "REPLICA" 873) 874 875// Values returns all known values for ReplicationStatus. Note that this can be 876// expanded in the future, and so it is only as up to date as the client. The 877// ordering of this slice is not guaranteed to be stable across updates. 878func (ReplicationStatus) Values() []ReplicationStatus { 879 return []ReplicationStatus{ 880 "COMPLETE", 881 "PENDING", 882 "FAILED", 883 "REPLICA", 884 } 885} 886 887type ReplicationTimeStatus string 888 889// Enum values for ReplicationTimeStatus 890const ( 891 ReplicationTimeStatusEnabled ReplicationTimeStatus = "Enabled" 892 ReplicationTimeStatusDisabled ReplicationTimeStatus = "Disabled" 893) 894 895// Values returns all known values for ReplicationTimeStatus. Note that this can be 896// expanded in the future, and so it is only as up to date as the client. The 897// ordering of this slice is not guaranteed to be stable across updates. 898func (ReplicationTimeStatus) Values() []ReplicationTimeStatus { 899 return []ReplicationTimeStatus{ 900 "Enabled", 901 "Disabled", 902 } 903} 904 905type RequestCharged string 906 907// Enum values for RequestCharged 908const ( 909 RequestChargedRequester RequestCharged = "requester" 910) 911 912// Values returns all known values for RequestCharged. Note that this can be 913// expanded in the future, and so it is only as up to date as the client. The 914// ordering of this slice is not guaranteed to be stable across updates. 915func (RequestCharged) Values() []RequestCharged { 916 return []RequestCharged{ 917 "requester", 918 } 919} 920 921type RequestPayer string 922 923// Enum values for RequestPayer 924const ( 925 RequestPayerRequester RequestPayer = "requester" 926) 927 928// Values returns all known values for RequestPayer. Note that this can be expanded 929// in the future, and so it is only as up to date as the client. The ordering of 930// this slice is not guaranteed to be stable across updates. 931func (RequestPayer) Values() []RequestPayer { 932 return []RequestPayer{ 933 "requester", 934 } 935} 936 937type RestoreRequestType string 938 939// Enum values for RestoreRequestType 940const ( 941 RestoreRequestTypeSelect RestoreRequestType = "SELECT" 942) 943 944// Values returns all known values for RestoreRequestType. Note that this can be 945// expanded in the future, and so it is only as up to date as the client. The 946// ordering of this slice is not guaranteed to be stable across updates. 947func (RestoreRequestType) Values() []RestoreRequestType { 948 return []RestoreRequestType{ 949 "SELECT", 950 } 951} 952 953type ServerSideEncryption string 954 955// Enum values for ServerSideEncryption 956const ( 957 ServerSideEncryptionAes256 ServerSideEncryption = "AES256" 958 ServerSideEncryptionAwsKms ServerSideEncryption = "aws:kms" 959) 960 961// Values returns all known values for ServerSideEncryption. Note that this can be 962// expanded in the future, and so it is only as up to date as the client. The 963// ordering of this slice is not guaranteed to be stable across updates. 964func (ServerSideEncryption) Values() []ServerSideEncryption { 965 return []ServerSideEncryption{ 966 "AES256", 967 "aws:kms", 968 } 969} 970 971type SseKmsEncryptedObjectsStatus string 972 973// Enum values for SseKmsEncryptedObjectsStatus 974const ( 975 SseKmsEncryptedObjectsStatusEnabled SseKmsEncryptedObjectsStatus = "Enabled" 976 SseKmsEncryptedObjectsStatusDisabled SseKmsEncryptedObjectsStatus = "Disabled" 977) 978 979// Values returns all known values for SseKmsEncryptedObjectsStatus. Note that this 980// can be expanded in the future, and so it is only as up to date as the client. 981// The ordering of this slice is not guaranteed to be stable across updates. 982func (SseKmsEncryptedObjectsStatus) Values() []SseKmsEncryptedObjectsStatus { 983 return []SseKmsEncryptedObjectsStatus{ 984 "Enabled", 985 "Disabled", 986 } 987} 988 989type StorageClass string 990 991// Enum values for StorageClass 992const ( 993 StorageClassStandard StorageClass = "STANDARD" 994 StorageClassReducedRedundancy StorageClass = "REDUCED_REDUNDANCY" 995 StorageClassStandardIa StorageClass = "STANDARD_IA" 996 StorageClassOnezoneIa StorageClass = "ONEZONE_IA" 997 StorageClassIntelligentTiering StorageClass = "INTELLIGENT_TIERING" 998 StorageClassGlacier StorageClass = "GLACIER" 999 StorageClassDeepArchive StorageClass = "DEEP_ARCHIVE" 1000 StorageClassOutposts StorageClass = "OUTPOSTS" 1001) 1002 1003// Values returns all known values for StorageClass. Note that this can be expanded 1004// in the future, and so it is only as up to date as the client. The ordering of 1005// this slice is not guaranteed to be stable across updates. 1006func (StorageClass) Values() []StorageClass { 1007 return []StorageClass{ 1008 "STANDARD", 1009 "REDUCED_REDUNDANCY", 1010 "STANDARD_IA", 1011 "ONEZONE_IA", 1012 "INTELLIGENT_TIERING", 1013 "GLACIER", 1014 "DEEP_ARCHIVE", 1015 "OUTPOSTS", 1016 } 1017} 1018 1019type StorageClassAnalysisSchemaVersion string 1020 1021// Enum values for StorageClassAnalysisSchemaVersion 1022const ( 1023 StorageClassAnalysisSchemaVersionV1 StorageClassAnalysisSchemaVersion = "V_1" 1024) 1025 1026// Values returns all known values for StorageClassAnalysisSchemaVersion. Note that 1027// this can be expanded in the future, and so it is only as up to date as the 1028// client. The ordering of this slice is not guaranteed to be stable across 1029// updates. 1030func (StorageClassAnalysisSchemaVersion) Values() []StorageClassAnalysisSchemaVersion { 1031 return []StorageClassAnalysisSchemaVersion{ 1032 "V_1", 1033 } 1034} 1035 1036type TaggingDirective string 1037 1038// Enum values for TaggingDirective 1039const ( 1040 TaggingDirectiveCopy TaggingDirective = "COPY" 1041 TaggingDirectiveReplace TaggingDirective = "REPLACE" 1042) 1043 1044// Values returns all known values for TaggingDirective. Note that this can be 1045// expanded in the future, and so it is only as up to date as the client. The 1046// ordering of this slice is not guaranteed to be stable across updates. 1047func (TaggingDirective) Values() []TaggingDirective { 1048 return []TaggingDirective{ 1049 "COPY", 1050 "REPLACE", 1051 } 1052} 1053 1054type Tier string 1055 1056// Enum values for Tier 1057const ( 1058 TierStandard Tier = "Standard" 1059 TierBulk Tier = "Bulk" 1060 TierExpedited Tier = "Expedited" 1061) 1062 1063// Values returns all known values for Tier. Note that this can be expanded in the 1064// future, and so it is only as up to date as the client. The ordering of this 1065// slice is not guaranteed to be stable across updates. 1066func (Tier) Values() []Tier { 1067 return []Tier{ 1068 "Standard", 1069 "Bulk", 1070 "Expedited", 1071 } 1072} 1073 1074type TransitionStorageClass string 1075 1076// Enum values for TransitionStorageClass 1077const ( 1078 TransitionStorageClassGlacier TransitionStorageClass = "GLACIER" 1079 TransitionStorageClassStandardIa TransitionStorageClass = "STANDARD_IA" 1080 TransitionStorageClassOnezoneIa TransitionStorageClass = "ONEZONE_IA" 1081 TransitionStorageClassIntelligentTiering TransitionStorageClass = "INTELLIGENT_TIERING" 1082 TransitionStorageClassDeepArchive TransitionStorageClass = "DEEP_ARCHIVE" 1083) 1084 1085// Values returns all known values for TransitionStorageClass. Note that this can 1086// be expanded in the future, and so it is only as up to date as the client. The 1087// ordering of this slice is not guaranteed to be stable across updates. 1088func (TransitionStorageClass) Values() []TransitionStorageClass { 1089 return []TransitionStorageClass{ 1090 "GLACIER", 1091 "STANDARD_IA", 1092 "ONEZONE_IA", 1093 "INTELLIGENT_TIERING", 1094 "DEEP_ARCHIVE", 1095 } 1096} 1097 1098type Type string 1099 1100// Enum values for Type 1101const ( 1102 TypeCanonicalUser Type = "CanonicalUser" 1103 TypeAmazonCustomerByEmail Type = "AmazonCustomerByEmail" 1104 TypeGroup Type = "Group" 1105) 1106 1107// Values returns all known values for Type. Note that this can be expanded in the 1108// future, and so it is only as up to date as the client. The ordering of this 1109// slice is not guaranteed to be stable across updates. 1110func (Type) Values() []Type { 1111 return []Type{ 1112 "CanonicalUser", 1113 "AmazonCustomerByEmail", 1114 "Group", 1115 } 1116} 1117