...
AWS SDK for Go API Reference
We announced the upcoming end-of-support for AWS SDK for Go (v1). We recommend that you migrate to AWS SDK for Go v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
import "github.com/aws/aws-sdk-go/service/s3"
Overview
Examples
Constants

Overview ▾

Package s3 provides the client and types for making API requests to Amazon Simple Storage Service.

See https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01 for more information on this service.

See s3 package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/s3/

Using the Client

To contact Amazon Simple Storage Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Simple Storage Service client S3 for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/s3/#New

Upload Managers

The s3manager package's Uploader provides concurrent upload of content to S3 by taking advantage of S3's Multipart APIs. The Uploader also supports both io.Reader for streaming uploads, and will also take advantage of io.ReadSeeker for optimizations if the Body satisfies that type. Once the Uploader instance is created you can call Upload concurrently from multiple goroutines safely.

// The session the S3 Uploader will use
sess := session.Must(session.NewSession())

// Create an uploader with the session and default options
uploader := s3manager.NewUploader(sess)

f, err  := os.Open(filename)
if err != nil {
    return fmt.Errorf("failed to open file %q, %v", filename, err)
}

// Upload the file to S3.
result, err := uploader.Upload(&s3manager.UploadInput{
    Bucket: aws.String(myBucket),
    Key:    aws.String(myString),
    Body:   f,
})
if err != nil {
    return fmt.Errorf("failed to upload file, %v", err)
}
fmt.Printf("file uploaded to, %s\n", aws.StringValue(result.Location))

See the s3manager package's Uploader type documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3manager/#Uploader

Download Manager

The s3manager package's Downloader provides concurrently downloading of Objects from S3. The Downloader will write S3 Object content with an io.WriterAt. Once the Downloader instance is created you can call Download concurrently from multiple goroutines safely.

// The session the S3 Downloader will use
sess := session.Must(session.NewSession())

// Create a downloader with the session and default options
downloader := s3manager.NewDownloader(sess)

// Create a file to write the S3 Object contents to.
f, err := os.Create(filename)
if err != nil {
    return fmt.Errorf("failed to create file %q, %v", filename, err)
}

// Write the contents of S3 Object to the file
n, err := downloader.Download(f, &s3.GetObjectInput{
    Bucket: aws.String(myBucket),
    Key:    aws.String(myString),
})
if err != nil {
    return fmt.Errorf("failed to download file, %v", err)
}
fmt.Printf("file downloaded, %d bytes\n", n)

See the s3manager package's Downloader type documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3manager/#Downloader

Automatic URI cleaning

Interacting with objects whose keys contain adjacent slashes (e.g. bucketname/foo//bar/objectname) requires setting DisableRestProtocolURICleaning to true in the aws.Config struct used by the service client.

svc := s3.New(sess, &aws.Config{
   	DisableRestProtocolURICleaning: aws.Bool(true),
})
out, err := svc.GetObject(&s3.GetObjectInput {
   	Bucket: aws.String("bucketname"),
    	Key: aws.String("//foo//bar//moo"),
})

Get Bucket Region

GetBucketRegion will attempt to get the region for a bucket using a region hint to determine which AWS partition to perform the query on. Use this utility to determine the region a bucket is in.

sess := session.Must(session.NewSession())

bucket := "my-bucket"
region, err := s3manager.GetBucketRegion(ctx, sess, bucket, "us-west-2")
if err != nil {
    if aerr, ok := err.(awserr.Error); ok && aerr.Code() == "NotFound" {
         fmt.Fprintf(os.Stderr, "unable to find bucket %s's region not found\n", bucket)
    }
    return err
}
fmt.Printf("Bucket %s is in %s region\n", bucket, region)

See the s3manager package's GetBucketRegion function documentation for more information https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3manager/#GetBucketRegion

S3 Crypto Client

The s3crypto package provides the tools to upload and download encrypted content from S3. The Encryption and Decryption clients can be used concurrently once the client is created.

See the s3crypto package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3crypto/

The stub package, s3iface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Operations ▾

AbortMultipartUpload
CompleteMultipartUpload
CopyObject
CreateBucket
CreateMultipartUpload
CreateSession
DeleteBucket
DeleteBucketAnalyticsConfiguration
DeleteBucketCors
DeleteBucketEncryption
DeleteBucketIntelligentTieringConfiguration
DeleteBucketInventoryConfiguration
DeleteBucketLifecycle
DeleteBucketMetricsConfiguration
DeleteBucketOwnershipControls
DeleteBucketPolicy
DeleteBucketReplication
DeleteBucketTagging
DeleteBucketWebsite
DeleteObject
DeleteObjectTagging
DeleteObjects
DeletePublicAccessBlock
GetBucketAccelerateConfiguration
GetBucketAcl
GetBucketAnalyticsConfiguration
GetBucketCors
GetBucketEncryption
GetBucketIntelligentTieringConfiguration
GetBucketInventoryConfiguration
GetBucketLifecycle
GetBucketLifecycleConfiguration
GetBucketLocation
GetBucketLogging
GetBucketMetricsConfiguration
GetBucketNotification
GetBucketNotificationConfiguration
GetBucketOwnershipControls
GetBucketPolicy
GetBucketPolicyStatus
GetBucketReplication
GetBucketRequestPayment
GetBucketTagging
GetBucketVersioning
GetBucketWebsite
GetObject
GetObjectAcl
GetObjectAttributes
GetObjectLegalHold
GetObjectLockConfiguration
GetObjectRetention
GetObjectTagging
GetObjectTorrent
GetPublicAccessBlock
HeadBucket
HeadObject
ListBucketAnalyticsConfigurations
ListBucketIntelligentTieringConfigurations
ListBucketInventoryConfigurations
ListBucketMetricsConfigurations
ListBuckets
ListDirectoryBuckets ( Paginator )
ListMultipartUploads ( Paginator )
ListObjectVersions ( Paginator )
ListObjects ( Paginator )
ListObjectsV2 ( Paginator )
ListParts ( Paginator )
PutBucketAccelerateConfiguration
PutBucketAcl
PutBucketAnalyticsConfiguration
PutBucketCors
PutBucketEncryption
PutBucketIntelligentTieringConfiguration
PutBucketInventoryConfiguration
PutBucketLifecycle
PutBucketLifecycleConfiguration
PutBucketLogging
PutBucketMetricsConfiguration
PutBucketNotification
PutBucketNotificationConfiguration
PutBucketOwnershipControls
PutBucketPolicy
PutBucketReplication
PutBucketRequestPayment
PutBucketTagging
PutBucketVersioning
PutBucketWebsite
PutObject
PutObjectAcl
PutObjectLegalHold
PutObjectLockConfiguration
PutObjectRetention
PutObjectTagging
PutPublicAccessBlock
RestoreObject
SelectObjectContent
UploadPart
UploadPartCopy
WriteGetObjectResponse

Types ▾

Variables
type S3
func New(p client.ConfigProvider, cfgs ...*aws.Config) *S3
func (c *S3) AbortMultipartUpload(input *AbortMultipartUploadInput) (*AbortMultipartUploadOutput, error)
func (c *S3) AbortMultipartUploadRequest(input *AbortMultipartUploadInput) (req *request.Request, output *AbortMultipartUploadOutput)
func (c *S3) AbortMultipartUploadWithContext(ctx aws.Context, input *AbortMultipartUploadInput, opts ...request.Option) (*AbortMultipartUploadOutput, error)
func (c *S3) CompleteMultipartUpload(input *CompleteMultipartUploadInput) (*CompleteMultipartUploadOutput, error)
func (c *S3) CompleteMultipartUploadRequest(input *CompleteMultipartUploadInput) (req *request.Request, output *CompleteMultipartUploadOutput)
func (c *S3) CompleteMultipartUploadWithContext(ctx aws.Context, input *CompleteMultipartUploadInput, opts ...request.Option) (*CompleteMultipartUploadOutput, error)
func (c *S3) CopyObject(input *CopyObjectInput) (*CopyObjectOutput, error)
func (c *S3) CopyObjectRequest(input *CopyObjectInput) (req *request.Request, output *CopyObjectOutput)
func (c *S3) CopyObjectWithContext(ctx aws.Context, input *CopyObjectInput, opts ...request.Option) (*CopyObjectOutput, error)
func (c *S3) CreateBucket(input *CreateBucketInput) (*CreateBucketOutput, error)
func (c *S3) CreateBucketRequest(input *CreateBucketInput) (req *request.Request, output *CreateBucketOutput)
func (c *S3) CreateBucketWithContext(ctx aws.Context, input *CreateBucketInput, opts ...request.Option) (*CreateBucketOutput, error)
func (c *S3) CreateMultipartUpload(input *CreateMultipartUploadInput) (*CreateMultipartUploadOutput, error)
func (c *S3) CreateMultipartUploadRequest(input *CreateMultipartUploadInput) (req *request.Request, output *CreateMultipartUploadOutput)
func (c *S3) CreateMultipartUploadWithContext(ctx aws.Context, input *CreateMultipartUploadInput, opts ...request.Option) (*CreateMultipartUploadOutput, error)
func (c *S3) CreateSession(input *CreateSessionInput) (*CreateSessionOutput, error)
func (c *S3) CreateSessionRequest(input *CreateSessionInput) (req *request.Request, output *CreateSessionOutput)
func (c *S3) CreateSessionWithContext(ctx aws.Context, input *CreateSessionInput, opts ...request.Option) (*CreateSessionOutput, error)
func (c *S3) DeleteBucket(input *DeleteBucketInput) (*DeleteBucketOutput, error)
func (c *S3) DeleteBucketAnalyticsConfiguration(input *DeleteBucketAnalyticsConfigurationInput) (*DeleteBucketAnalyticsConfigurationOutput, error)
func (c *S3) DeleteBucketAnalyticsConfigurationRequest(input *DeleteBucketAnalyticsConfigurationInput) (req *request.Request, output *DeleteBucketAnalyticsConfigurationOutput)
func (c *S3) DeleteBucketAnalyticsConfigurationWithContext(ctx aws.Context, input *DeleteBucketAnalyticsConfigurationInput, opts ...request.Option) (*DeleteBucketAnalyticsConfigurationOutput, error)
func (c *S3) DeleteBucketCors(input *DeleteBucketCorsInput) (*DeleteBucketCorsOutput, error)
func (c *S3) DeleteBucketCorsRequest(input *DeleteBucketCorsInput) (req *request.Request, output *DeleteBucketCorsOutput)
func (c *S3) DeleteBucketCorsWithContext(ctx aws.Context, input *DeleteBucketCorsInput, opts ...request.Option) (*DeleteBucketCorsOutput, error)
func (c *S3) DeleteBucketEncryption(input *DeleteBucketEncryptionInput) (*DeleteBucketEncryptionOutput, error)
func (c *S3) DeleteBucketEncryptionRequest(input *DeleteBucketEncryptionInput) (req *request.Request, output *DeleteBucketEncryptionOutput)
func (c *S3) DeleteBucketEncryptionWithContext(ctx aws.Context, input *DeleteBucketEncryptionInput, opts ...request.Option) (*DeleteBucketEncryptionOutput, error)
func (c *S3) DeleteBucketIntelligentTieringConfiguration(input *DeleteBucketIntelligentTieringConfigurationInput) (*DeleteBucketIntelligentTieringConfigurationOutput, error)
func (c *S3) DeleteBucketIntelligentTieringConfigurationRequest(input *DeleteBucketIntelligentTieringConfigurationInput) (req *request.Request, output *DeleteBucketIntelligentTieringConfigurationOutput)
func (c *S3) DeleteBucketIntelligentTieringConfigurationWithContext(ctx aws.Context, input *DeleteBucketIntelligentTieringConfigurationInput, opts ...request.Option) (*DeleteBucketIntelligentTieringConfigurationOutput, error)
func (c *S3) DeleteBucketInventoryConfiguration(input *DeleteBucketInventoryConfigurationInput) (*DeleteBucketInventoryConfigurationOutput, error)
func (c *S3) DeleteBucketInventoryConfigurationRequest(input *DeleteBucketInventoryConfigurationInput) (req *request.Request, output *DeleteBucketInventoryConfigurationOutput)
func (c *S3) DeleteBucketInventoryConfigurationWithContext(ctx aws.Context, input *DeleteBucketInventoryConfigurationInput, opts ...request.Option) (*DeleteBucketInventoryConfigurationOutput, error)
func (c *S3) DeleteBucketLifecycle(input *DeleteBucketLifecycleInput) (*DeleteBucketLifecycleOutput, error)
func (c *S3) DeleteBucketLifecycleRequest(input *DeleteBucketLifecycleInput) (req *request.Request, output *DeleteBucketLifecycleOutput)
func (c *S3) DeleteBucketLifecycleWithContext(ctx aws.Context, input *DeleteBucketLifecycleInput, opts ...request.Option) (*DeleteBucketLifecycleOutput, error)
func (c *S3) DeleteBucketMetricsConfiguration(input *DeleteBucketMetricsConfigurationInput) (*DeleteBucketMetricsConfigurationOutput, error)
func (c *S3) DeleteBucketMetricsConfigurationRequest(input *DeleteBucketMetricsConfigurationInput) (req *request.Request, output *DeleteBucketMetricsConfigurationOutput)
func (c *S3) DeleteBucketMetricsConfigurationWithContext(ctx aws.Context, input *DeleteBucketMetricsConfigurationInput, opts ...request.Option) (*DeleteBucketMetricsConfigurationOutput, error)
func (c *S3) DeleteBucketOwnershipControls(input *DeleteBucketOwnershipControlsInput) (*DeleteBucketOwnershipControlsOutput, error)
func (c *S3) DeleteBucketOwnershipControlsRequest(input *DeleteBucketOwnershipControlsInput) (req *request.Request, output *DeleteBucketOwnershipControlsOutput)
func (c *S3) DeleteBucketOwnershipControlsWithContext(ctx aws.Context, input *DeleteBucketOwnershipControlsInput, opts ...request.Option) (*DeleteBucketOwnershipControlsOutput, error)
func (c *S3) DeleteBucketPolicy(input *DeleteBucketPolicyInput) (*DeleteBucketPolicyOutput, error)
func (c *S3) DeleteBucketPolicyRequest(input *DeleteBucketPolicyInput) (req *request.Request, output *DeleteBucketPolicyOutput)
func (c *S3) DeleteBucketPolicyWithContext(ctx aws.Context, input *DeleteBucketPolicyInput, opts ...request.Option) (*DeleteBucketPolicyOutput, error)
func (c *S3) DeleteBucketReplication(input *DeleteBucketReplicationInput) (*DeleteBucketReplicationOutput, error)
func (c *S3) DeleteBucketReplicationRequest(input *DeleteBucketReplicationInput) (req *request.Request, output *DeleteBucketReplicationOutput)
func (c *S3) DeleteBucketReplicationWithContext(ctx aws.Context, input *DeleteBucketReplicationInput, opts ...request.Option) (*DeleteBucketReplicationOutput, error)
func (c *S3) DeleteBucketRequest(input *DeleteBucketInput) (req *request.Request, output *DeleteBucketOutput)
func (c *S3) DeleteBucketTagging(input *DeleteBucketTaggingInput) (*DeleteBucketTaggingOutput, error)
func (c *S3) DeleteBucketTaggingRequest(input *DeleteBucketTaggingInput) (req *request.Request, output *DeleteBucketTaggingOutput)
func (c *S3) DeleteBucketTaggingWithContext(ctx aws.Context, input *DeleteBucketTaggingInput, opts ...request.Option) (*DeleteBucketTaggingOutput, error)
func (c *S3) DeleteBucketWebsite(input *DeleteBucketWebsiteInput) (*DeleteBucketWebsiteOutput, error)
func (c *S3) DeleteBucketWebsiteRequest(input *DeleteBucketWebsiteInput) (req *request.Request, output *DeleteBucketWebsiteOutput)
func (c *S3) DeleteBucketWebsiteWithContext(ctx aws.Context, input *DeleteBucketWebsiteInput, opts ...request.Option) (*DeleteBucketWebsiteOutput, error)
func (c *S3) DeleteBucketWithContext(ctx aws.Context, input *DeleteBucketInput, opts ...request.Option) (*DeleteBucketOutput, error)
func (c *S3) DeleteObject(input *DeleteObjectInput) (*DeleteObjectOutput, error)
func (c *S3) DeleteObjectRequest(input *DeleteObjectInput) (req *request.Request, output *DeleteObjectOutput)
func (c *S3) DeleteObjectTagging(input *DeleteObjectTaggingInput) (*DeleteObjectTaggingOutput, error)
func (c *S3) DeleteObjectTaggingRequest(input *DeleteObjectTaggingInput) (req *request.Request, output *DeleteObjectTaggingOutput)
func (c *S3) DeleteObjectTaggingWithContext(ctx aws.Context, input *DeleteObjectTaggingInput, opts ...request.Option) (*DeleteObjectTaggingOutput, error)
func (c *S3) DeleteObjectWithContext(ctx aws.Context, input *DeleteObjectInput, opts ...request.Option) (*DeleteObjectOutput, error)
func (c *S3) DeleteObjects(input *DeleteObjectsInput) (*DeleteObjectsOutput, error)
func (c *S3) DeleteObjectsRequest(input *DeleteObjectsInput) (req *request.Request, output *DeleteObjectsOutput)
func (c *S3) DeleteObjectsWithContext(ctx aws.Context, input *DeleteObjectsInput, opts ...request.Option) (*DeleteObjectsOutput, error)
func (c *S3) DeletePublicAccessBlock(input *DeletePublicAccessBlockInput) (*DeletePublicAccessBlockOutput, error)
func (c *S3) DeletePublicAccessBlockRequest(input *DeletePublicAccessBlockInput) (req *request.Request, output *DeletePublicAccessBlockOutput)
func (c *S3) DeletePublicAccessBlockWithContext(ctx aws.Context, input *DeletePublicAccessBlockInput, opts ...request.Option) (*DeletePublicAccessBlockOutput, error)
func (c *S3) GetBucketAccelerateConfiguration(input *GetBucketAccelerateConfigurationInput) (*GetBucketAccelerateConfigurationOutput, error)
func (c *S3) GetBucketAccelerateConfigurationRequest(input *GetBucketAccelerateConfigurationInput) (req *request.Request, output *GetBucketAccelerateConfigurationOutput)
func (c *S3) GetBucketAccelerateConfigurationWithContext(ctx aws.Context, input *GetBucketAccelerateConfigurationInput, opts ...request.Option) (*GetBucketAccelerateConfigurationOutput, error)
func (c *S3) GetBucketAcl(input *GetBucketAclInput) (*GetBucketAclOutput, error)
func (c *S3) GetBucketAclRequest(input *GetBucketAclInput) (req *request.Request, output *GetBucketAclOutput)
func (c *S3) GetBucketAclWithContext(ctx aws.Context, input *GetBucketAclInput, opts ...request.Option) (*GetBucketAclOutput, error)
func (c *S3) GetBucketAnalyticsConfiguration(input *GetBucketAnalyticsConfigurationInput) (*GetBucketAnalyticsConfigurationOutput, error)
func (c *S3) GetBucketAnalyticsConfigurationRequest(input *GetBucketAnalyticsConfigurationInput) (req *request.Request, output *GetBucketAnalyticsConfigurationOutput)
func (c *S3) GetBucketAnalyticsConfigurationWithContext(ctx aws.Context, input *GetBucketAnalyticsConfigurationInput, opts ...request.Option) (*GetBucketAnalyticsConfigurationOutput, error)
func (c *S3) GetBucketCors(input *GetBucketCorsInput) (*GetBucketCorsOutput, error)
func (c *S3) GetBucketCorsRequest(input *GetBucketCorsInput) (req *request.Request, output *GetBucketCorsOutput)
func (c *S3) GetBucketCorsWithContext(ctx aws.Context, input *GetBucketCorsInput, opts ...request.Option) (*GetBucketCorsOutput, error)
func (c *S3) GetBucketEncryption(input *GetBucketEncryptionInput) (*GetBucketEncryptionOutput, error)
func (c *S3) GetBucketEncryptionRequest(input *GetBucketEncryptionInput) (req *request.Request, output *GetBucketEncryptionOutput)
func (c *S3) GetBucketEncryptionWithContext(ctx aws.Context, input *GetBucketEncryptionInput, opts ...request.Option) (*GetBucketEncryptionOutput, error)
func (c *S3) GetBucketIntelligentTieringConfiguration(input *GetBucketIntelligentTieringConfigurationInput) (*GetBucketIntelligentTieringConfigurationOutput, error)
func (c *S3) GetBucketIntelligentTieringConfigurationRequest(input *GetBucketIntelligentTieringConfigurationInput) (req *request.Request, output *GetBucketIntelligentTieringConfigurationOutput)
func (c *S3) GetBucketIntelligentTieringConfigurationWithContext(ctx aws.Context, input *GetBucketIntelligentTieringConfigurationInput, opts ...request.Option) (*GetBucketIntelligentTieringConfigurationOutput, error)
func (c *S3) GetBucketInventoryConfiguration(input *GetBucketInventoryConfigurationInput) (*GetBucketInventoryConfigurationOutput, error)
func (c *S3) GetBucketInventoryConfigurationRequest(input *GetBucketInventoryConfigurationInput) (req *request.Request, output *GetBucketInventoryConfigurationOutput)
func (c *S3) GetBucketInventoryConfigurationWithContext(ctx aws.Context, input *GetBucketInventoryConfigurationInput, opts ...request.Option) (*GetBucketInventoryConfigurationOutput, error)
func (c *S3) GetBucketLifecycle(input *GetBucketLifecycleInput) (*GetBucketLifecycleOutput, error)
func (c *S3) GetBucketLifecycleConfiguration(input *GetBucketLifecycleConfigurationInput) (*GetBucketLifecycleConfigurationOutput, error)
func (c *S3) GetBucketLifecycleConfigurationRequest(input *GetBucketLifecycleConfigurationInput) (req *request.Request, output *GetBucketLifecycleConfigurationOutput)
func (c *S3) GetBucketLifecycleConfigurationWithContext(ctx aws.Context, input *GetBucketLifecycleConfigurationInput, opts ...request.Option) (*GetBucketLifecycleConfigurationOutput, error)
func (c *S3) GetBucketLifecycleRequest(input *GetBucketLifecycleInput) (req *request.Request, output *GetBucketLifecycleOutput)
func (c *S3) GetBucketLifecycleWithContext(ctx aws.Context, input *GetBucketLifecycleInput, opts ...request.Option) (*GetBucketLifecycleOutput, error)
func (c *S3) GetBucketLocation(input *GetBucketLocationInput) (*GetBucketLocationOutput, error)
func (c *S3) GetBucketLocationRequest(input *GetBucketLocationInput) (req *request.Request, output *GetBucketLocationOutput)
func (c *S3) GetBucketLocationWithContext(ctx aws.Context, input *GetBucketLocationInput, opts ...request.Option) (*GetBucketLocationOutput, error)
func (c *S3) GetBucketLogging(input *GetBucketLoggingInput) (*GetBucketLoggingOutput, error)
func (c *S3) GetBucketLoggingRequest(input *GetBucketLoggingInput) (req *request.Request, output *GetBucketLoggingOutput)
func (c *S3) GetBucketLoggingWithContext(ctx aws.Context, input *GetBucketLoggingInput, opts ...request.Option) (*GetBucketLoggingOutput, error)
func (c *S3) GetBucketMetricsConfiguration(input *GetBucketMetricsConfigurationInput) (*GetBucketMetricsConfigurationOutput, error)
func (c *S3) GetBucketMetricsConfigurationRequest(input *GetBucketMetricsConfigurationInput) (req *request.Request, output *GetBucketMetricsConfigurationOutput)
func (c *S3) GetBucketMetricsConfigurationWithContext(ctx aws.Context, input *GetBucketMetricsConfigurationInput, opts ...request.Option) (*GetBucketMetricsConfigurationOutput, error)
func (c *S3) GetBucketNotification(input *GetBucketNotificationConfigurationRequest) (*NotificationConfigurationDeprecated, error)
func (c *S3) GetBucketNotificationConfiguration(input *GetBucketNotificationConfigurationRequest) (*NotificationConfiguration, error)
func (c *S3) GetBucketNotificationConfigurationRequest(input *GetBucketNotificationConfigurationRequest) (req *request.Request, output *NotificationConfiguration)
func (c *S3) GetBucketNotificationConfigurationWithContext(ctx aws.Context, input *GetBucketNotificationConfigurationRequest, opts ...request.Option) (*NotificationConfiguration, error)
func (c *S3) GetBucketNotificationRequest(input *GetBucketNotificationConfigurationRequest) (req *request.Request, output *NotificationConfigurationDeprecated)
func (c *S3) GetBucketNotificationWithContext(ctx aws.Context, input *GetBucketNotificationConfigurationRequest, opts ...request.Option) (*NotificationConfigurationDeprecated, error)
func (c *S3) GetBucketOwnershipControls(input *GetBucketOwnershipControlsInput) (*GetBucketOwnershipControlsOutput, error)
func (c *S3) GetBucketOwnershipControlsRequest(input *GetBucketOwnershipControlsInput) (req *request.Request, output *GetBucketOwnershipControlsOutput)
func (c *S3) GetBucketOwnershipControlsWithContext(ctx aws.Context, input *GetBucketOwnershipControlsInput, opts ...request.Option) (*GetBucketOwnershipControlsOutput, error)
func (c *S3) GetBucketPolicy(input *GetBucketPolicyInput) (*GetBucketPolicyOutput, error)
func (c *S3) GetBucketPolicyRequest(input *GetBucketPolicyInput) (req *request.Request, output *GetBucketPolicyOutput)
func (c *S3) GetBucketPolicyStatus(input *GetBucketPolicyStatusInput) (*GetBucketPolicyStatusOutput, error)
func (c *S3) GetBucketPolicyStatusRequest(input *GetBucketPolicyStatusInput) (req *request.Request, output *GetBucketPolicyStatusOutput)
func (c *S3) GetBucketPolicyStatusWithContext(ctx aws.Context, input *GetBucketPolicyStatusInput, opts ...request.Option) (*GetBucketPolicyStatusOutput, error)
func (c *S3) GetBucketPolicyWithContext(ctx aws.Context, input *GetBucketPolicyInput, opts ...request.Option) (*GetBucketPolicyOutput, error)
func (c *S3) GetBucketReplication(input *GetBucketReplicationInput) (*GetBucketReplicationOutput, error)
func (c *S3) GetBucketReplicationRequest(input *GetBucketReplicationInput) (req *request.Request, output *GetBucketReplicationOutput)
func (c *S3) GetBucketReplicationWithContext(ctx aws.Context, input *GetBucketReplicationInput, opts ...request.Option) (*GetBucketReplicationOutput, error)
func (c *S3) GetBucketRequestPayment(input *GetBucketRequestPaymentInput) (*GetBucketRequestPaymentOutput, error)
func (c *S3) GetBucketRequestPaymentRequest(input *GetBucketRequestPaymentInput) (req *request.Request, output *GetBucketRequestPaymentOutput)
func (c *S3) GetBucketRequestPaymentWithContext(ctx aws.Context, input *GetBucketRequestPaymentInput, opts ...request.Option) (*GetBucketRequestPaymentOutput, error)
func (c *S3) GetBucketTagging(input *GetBucketTaggingInput) (*GetBucketTaggingOutput, error)
func (c *S3) GetBucketTaggingRequest(input *GetBucketTaggingInput) (req *request.Request, output *GetBucketTaggingOutput)
func (c *S3) GetBucketTaggingWithContext(ctx aws.Context, input *GetBucketTaggingInput, opts ...request.Option) (*GetBucketTaggingOutput, error)
func (c *S3) GetBucketVersioning(input *GetBucketVersioningInput) (*GetBucketVersioningOutput, error)
func (c *S3) GetBucketVersioningRequest(input *GetBucketVersioningInput) (req *request.Request, output *GetBucketVersioningOutput)
func (c *S3) GetBucketVersioningWithContext(ctx aws.Context, input *GetBucketVersioningInput, opts ...request.Option) (*GetBucketVersioningOutput, error)
func (c *S3) GetBucketWebsite(input *GetBucketWebsiteInput) (*GetBucketWebsiteOutput, error)
func (c *S3) GetBucketWebsiteRequest(input *GetBucketWebsiteInput) (req *request.Request, output *GetBucketWebsiteOutput)
func (c *S3) GetBucketWebsiteWithContext(ctx aws.Context, input *GetBucketWebsiteInput, opts ...request.Option) (*GetBucketWebsiteOutput, error)
func (c *S3) GetObject(input *GetObjectInput) (*GetObjectOutput, error)
func (c *S3) GetObjectAcl(input *GetObjectAclInput) (*GetObjectAclOutput, error)
func (c *S3) GetObjectAclRequest(input *GetObjectAclInput) (req *request.Request, output *GetObjectAclOutput)
func (c *S3) GetObjectAclWithContext(ctx aws.Context, input *GetObjectAclInput, opts ...request.Option) (*GetObjectAclOutput, error)
func (c *S3) GetObjectAttributes(input *GetObjectAttributesInput) (*GetObjectAttributesOutput, error)
func (c *S3) GetObjectAttributesRequest(input *GetObjectAttributesInput) (req *request.Request, output *GetObjectAttributesOutput)
func (c *S3) GetObjectAttributesWithContext(ctx aws.Context, input *GetObjectAttributesInput, opts ...request.Option) (*GetObjectAttributesOutput, error)
func (c *S3) GetObjectLegalHold(input *GetObjectLegalHoldInput) (*GetObjectLegalHoldOutput, error)
func (c *S3) GetObjectLegalHoldRequest(input *GetObjectLegalHoldInput) (req *request.Request, output *GetObjectLegalHoldOutput)
func (c *S3) GetObjectLegalHoldWithContext(ctx aws.Context, input *GetObjectLegalHoldInput, opts ...request.Option) (*GetObjectLegalHoldOutput, error)
func (c *S3) GetObjectLockConfiguration(input *GetObjectLockConfigurationInput) (*GetObjectLockConfigurationOutput, error)
func (c *S3) GetObjectLockConfigurationRequest(input *GetObjectLockConfigurationInput) (req *request.Request, output *GetObjectLockConfigurationOutput)
func (c *S3) GetObjectLockConfigurationWithContext(ctx aws.Context, input *GetObjectLockConfigurationInput, opts ...request.Option) (*GetObjectLockConfigurationOutput, error)
func (c *S3) GetObjectRequest(input *GetObjectInput) (req *request.Request, output *GetObjectOutput)
func (c *S3) GetObjectRetention(input *GetObjectRetentionInput) (*GetObjectRetentionOutput, error)
func (c *S3) GetObjectRetentionRequest(input *GetObjectRetentionInput) (req *request.Request, output *GetObjectRetentionOutput)
func (c *S3) GetObjectRetentionWithContext(ctx aws.Context, input *GetObjectRetentionInput, opts ...request.Option) (*GetObjectRetentionOutput, error)
func (c *S3) GetObjectTagging(input *GetObjectTaggingInput) (*GetObjectTaggingOutput, error)
func (c *S3) GetObjectTaggingRequest(input *GetObjectTaggingInput) (req *request.Request, output *GetObjectTaggingOutput)
func (c *S3) GetObjectTaggingWithContext(ctx aws.Context, input *GetObjectTaggingInput, opts ...request.Option) (*GetObjectTaggingOutput, error)
func (c *S3) GetObjectTorrent(input *GetObjectTorrentInput) (*GetObjectTorrentOutput, error)
func (c *S3) GetObjectTorrentRequest(input *GetObjectTorrentInput) (req *request.Request, output *GetObjectTorrentOutput)
func (c *S3) GetObjectTorrentWithContext(ctx aws.Context, input *GetObjectTorrentInput, opts ...request.Option) (*GetObjectTorrentOutput, error)
func (c *S3) GetObjectWithContext(ctx aws.Context, input *GetObjectInput, opts ...request.Option) (*GetObjectOutput, error)
func (c *S3) GetPublicAccessBlock(input *GetPublicAccessBlockInput) (*GetPublicAccessBlockOutput, error)
func (c *S3) GetPublicAccessBlockRequest(input *GetPublicAccessBlockInput) (req *request.Request, output *GetPublicAccessBlockOutput)
func (c *S3) GetPublicAccessBlockWithContext(ctx aws.Context, input *GetPublicAccessBlockInput, opts ...request.Option) (*GetPublicAccessBlockOutput, error)
func (c *S3) HeadBucket(input *HeadBucketInput) (*HeadBucketOutput, error)
func (c *S3) HeadBucketRequest(input *HeadBucketInput) (req *request.Request, output *HeadBucketOutput)
func (c *S3) HeadBucketWithContext(ctx aws.Context, input *HeadBucketInput, opts ...request.Option) (*HeadBucketOutput, error)
func (c *S3) HeadObject(input *HeadObjectInput) (*HeadObjectOutput, error)
func (c *S3) HeadObjectRequest(input *HeadObjectInput) (req *request.Request, output *HeadObjectOutput)
func (c *S3) HeadObjectWithContext(ctx aws.Context, input *HeadObjectInput, opts ...request.Option) (*HeadObjectOutput, error)
func (c *S3) ListBucketAnalyticsConfigurations(input *ListBucketAnalyticsConfigurationsInput) (*ListBucketAnalyticsConfigurationsOutput, error)
func (c *S3) ListBucketAnalyticsConfigurationsRequest(input *ListBucketAnalyticsConfigurationsInput) (req *request.Request, output *ListBucketAnalyticsConfigurationsOutput)
func (c *S3) ListBucketAnalyticsConfigurationsWithContext(ctx aws.Context, input *ListBucketAnalyticsConfigurationsInput, opts ...request.Option) (*ListBucketAnalyticsConfigurationsOutput, error)
func (c *S3) ListBucketIntelligentTieringConfigurations(input *ListBucketIntelligentTieringConfigurationsInput) (*ListBucketIntelligentTieringConfigurationsOutput, error)
func (c *S3) ListBucketIntelligentTieringConfigurationsRequest(input *ListBucketIntelligentTieringConfigurationsInput) (req *request.Request, output *ListBucketIntelligentTieringConfigurationsOutput)
func (c *S3) ListBucketIntelligentTieringConfigurationsWithContext(ctx aws.Context, input *ListBucketIntelligentTieringConfigurationsInput, opts ...request.Option) (*ListBucketIntelligentTieringConfigurationsOutput, error)
func (c *S3) ListBucketInventoryConfigurations(input *ListBucketInventoryConfigurationsInput) (*ListBucketInventoryConfigurationsOutput, error)
func (c *S3) ListBucketInventoryConfigurationsRequest(input *ListBucketInventoryConfigurationsInput) (req *request.Request, output *ListBucketInventoryConfigurationsOutput)
func (c *S3) ListBucketInventoryConfigurationsWithContext(ctx aws.Context, input *ListBucketInventoryConfigurationsInput, opts ...request.Option) (*ListBucketInventoryConfigurationsOutput, error)
func (c *S3) ListBucketMetricsConfigurations(input *ListBucketMetricsConfigurationsInput) (*ListBucketMetricsConfigurationsOutput, error)
func (c *S3) ListBucketMetricsConfigurationsRequest(input *ListBucketMetricsConfigurationsInput) (req *request.Request, output *ListBucketMetricsConfigurationsOutput)
func (c *S3) ListBucketMetricsConfigurationsWithContext(ctx aws.Context, input *ListBucketMetricsConfigurationsInput, opts ...request.Option) (*ListBucketMetricsConfigurationsOutput, error)
func (c *S3) ListBuckets(input *ListBucketsInput) (*ListBucketsOutput, error)
func (c *S3) ListBucketsRequest(input *ListBucketsInput) (req *request.Request, output *ListBucketsOutput)
func (c *S3) ListBucketsWithContext(ctx aws.Context, input *ListBucketsInput, opts ...request.Option) (*ListBucketsOutput, error)
func (c *S3) ListDirectoryBuckets(input *ListDirectoryBucketsInput) (*ListDirectoryBucketsOutput, error)
func (c *S3) ListDirectoryBucketsPages(input *ListDirectoryBucketsInput, fn func(*ListDirectoryBucketsOutput, bool) bool) error
func (c *S3) ListDirectoryBucketsPagesWithContext(ctx aws.Context, input *ListDirectoryBucketsInput, fn func(*ListDirectoryBucketsOutput, bool) bool, opts ...request.Option) error
func (c *S3) ListDirectoryBucketsRequest(input *ListDirectoryBucketsInput) (req *request.Request, output *ListDirectoryBucketsOutput)
func (c *S3) ListDirectoryBucketsWithContext(ctx aws.Context, input *ListDirectoryBucketsInput, opts ...request.Option) (*ListDirectoryBucketsOutput, error)
func (c *S3) ListMultipartUploads(input *ListMultipartUploadsInput) (*ListMultipartUploadsOutput, error)
func (c *S3) ListMultipartUploadsPages(input *ListMultipartUploadsInput, fn func(*ListMultipartUploadsOutput, bool) bool) error
func (c *S3) ListMultipartUploadsPagesWithContext(ctx aws.Context, input *ListMultipartUploadsInput, fn func(*ListMultipartUploadsOutput, bool) bool, opts ...request.Option) error
func (c *S3) ListMultipartUploadsRequest(input *ListMultipartUploadsInput) (req *request.Request, output *ListMultipartUploadsOutput)
func (c *S3) ListMultipartUploadsWithContext(ctx aws.Context, input *ListMultipartUploadsInput, opts ...request.Option) (*ListMultipartUploadsOutput, error)
func (c *S3) ListObjectVersions(input *ListObjectVersionsInput) (*ListObjectVersionsOutput, error)
func (c *S3) ListObjectVersionsPages(input *ListObjectVersionsInput, fn func(*ListObjectVersionsOutput, bool) bool) error
func (c *S3) ListObjectVersionsPagesWithContext(ctx aws.Context, input *ListObjectVersionsInput, fn func(*ListObjectVersionsOutput, bool) bool, opts ...request.Option) error
func (c *S3) ListObjectVersionsRequest(input *ListObjectVersionsInput) (req *request.Request, output *ListObjectVersionsOutput)
func (c *S3) ListObjectVersionsWithContext(ctx aws.Context, input *ListObjectVersionsInput, opts ...request.Option) (*ListObjectVersionsOutput, error)
func (c *S3) ListObjects(input *ListObjectsInput) (*ListObjectsOutput, error)
func (c *S3) ListObjectsPages(input *ListObjectsInput, fn func(*ListObjectsOutput, bool) bool) error
func (c *S3) ListObjectsPagesWithContext(ctx aws.Context, input *ListObjectsInput, fn func(*ListObjectsOutput, bool) bool, opts ...request.Option) error
func (c *S3) ListObjectsRequest(input *ListObjectsInput) (req *request.Request, output *ListObjectsOutput)
func (c *S3) ListObjectsV2(input *ListObjectsV2Input) (*ListObjectsV2Output, error)
func (c *S3) ListObjectsV2Pages(input *ListObjectsV2Input, fn func(*ListObjectsV2Output, bool) bool) error
func (c *S3) ListObjectsV2PagesWithContext(ctx aws.Context, input *ListObjectsV2Input, fn func(*ListObjectsV2Output, bool) bool, opts ...request.Option) error
func (c *S3) ListObjectsV2Request(input *ListObjectsV2Input) (req *request.Request, output *ListObjectsV2Output)
func (c *S3) ListObjectsV2WithContext(ctx aws.Context, input *ListObjectsV2Input, opts ...request.Option) (*ListObjectsV2Output, error)
func (c *S3) ListObjectsWithContext(ctx aws.Context, input *ListObjectsInput, opts ...request.Option) (*ListObjectsOutput, error)
func (c *S3) ListParts(input *ListPartsInput) (*ListPartsOutput, error)
func (c *S3) ListPartsPages(input *ListPartsInput, fn func(*ListPartsOutput, bool) bool) error
func (c *S3) ListPartsPagesWithContext(ctx aws.Context, input *ListPartsInput, fn func(*ListPartsOutput, bool) bool, opts ...request.Option) error
func (c *S3) ListPartsRequest(input *ListPartsInput) (req *request.Request, output *ListPartsOutput)
func (c *S3) ListPartsWithContext(ctx aws.Context, input *ListPartsInput, opts ...request.Option) (*ListPartsOutput, error)
func (c *S3) PutBucketAccelerateConfiguration(input *PutBucketAccelerateConfigurationInput) (*PutBucketAccelerateConfigurationOutput, error)
func (c *S3) PutBucketAccelerateConfigurationRequest(input *PutBucketAccelerateConfigurationInput) (req *request.Request, output *PutBucketAccelerateConfigurationOutput)
func (c *S3) PutBucketAccelerateConfigurationWithContext(ctx aws.Context, input *PutBucketAccelerateConfigurationInput, opts ...request.Option) (*PutBucketAccelerateConfigurationOutput, error)
func (c *S3) PutBucketAcl(input *PutBucketAclInput) (*PutBucketAclOutput, error)
func (c *S3) PutBucketAclRequest(input *PutBucketAclInput) (req *request.Request, output *PutBucketAclOutput)
func (c *S3) PutBucketAclWithContext(ctx aws.Context, input *PutBucketAclInput, opts ...request.Option) (*PutBucketAclOutput, error)
func (c *S3) PutBucketAnalyticsConfiguration(input *PutBucketAnalyticsConfigurationInput) (*PutBucketAnalyticsConfigurationOutput, error)
func (c *S3) PutBucketAnalyticsConfigurationRequest(input *PutBucketAnalyticsConfigurationInput) (req *request.Request, output *PutBucketAnalyticsConfigurationOutput)
func (c *S3) PutBucketAnalyticsConfigurationWithContext(ctx aws.Context, input *PutBucketAnalyticsConfigurationInput, opts ...request.Option) (*PutBucketAnalyticsConfigurationOutput, error)
func (c *S3) PutBucketCors(input *PutBucketCorsInput) (*PutBucketCorsOutput, error)
func (c *S3) PutBucketCorsRequest(input *PutBucketCorsInput) (req *request.Request, output *PutBucketCorsOutput)
func (c *S3) PutBucketCorsWithContext(ctx aws.Context, input *PutBucketCorsInput, opts ...request.Option) (*PutBucketCorsOutput, error)
func (c *S3) PutBucketEncryption(input *PutBucketEncryptionInput) (*PutBucketEncryptionOutput, error)
func (c *S3) PutBucketEncryptionRequest(input *PutBucketEncryptionInput) (req *request.Request, output *PutBucketEncryptionOutput)
func (c *S3) PutBucketEncryptionWithContext(ctx aws.Context, input *PutBucketEncryptionInput, opts ...request.Option) (*PutBucketEncryptionOutput, error)
func (c *S3) PutBucketIntelligentTieringConfiguration(input *PutBucketIntelligentTieringConfigurationInput) (*PutBucketIntelligentTieringConfigurationOutput, error)
func (c *S3) PutBucketIntelligentTieringConfigurationRequest(input *PutBucketIntelligentTieringConfigurationInput) (req *request.Request, output *PutBucketIntelligentTieringConfigurationOutput)
func (c *S3) PutBucketIntelligentTieringConfigurationWithContext(ctx aws.Context, input *PutBucketIntelligentTieringConfigurationInput, opts ...request.Option) (*PutBucketIntelligentTieringConfigurationOutput, error)
func (c *S3) PutBucketInventoryConfiguration(input *PutBucketInventoryConfigurationInput) (*PutBucketInventoryConfigurationOutput, error)
func (c *S3) PutBucketInventoryConfigurationRequest(input *PutBucketInventoryConfigurationInput) (req *request.Request, output *PutBucketInventoryConfigurationOutput)
func (c *S3) PutBucketInventoryConfigurationWithContext(ctx aws.Context, input *PutBucketInventoryConfigurationInput, opts ...request.Option) (*PutBucketInventoryConfigurationOutput, error)
func (c *S3) PutBucketLifecycle(input *PutBucketLifecycleInput) (*PutBucketLifecycleOutput, error)
func (c *S3) PutBucketLifecycleConfiguration(input *PutBucketLifecycleConfigurationInput) (*PutBucketLifecycleConfigurationOutput, error)
func (c *S3) PutBucketLifecycleConfigurationRequest(input *PutBucketLifecycleConfigurationInput) (req *request.Request, output *PutBucketLifecycleConfigurationOutput)
func (c *S3) PutBucketLifecycleConfigurationWithContext(ctx aws.Context, input *PutBucketLifecycleConfigurationInput, opts ...request.Option) (*PutBucketLifecycleConfigurationOutput, error)
func (c *S3) PutBucketLifecycleRequest(input *PutBucketLifecycleInput) (req *request.Request, output *PutBucketLifecycleOutput)
func (c *S3) PutBucketLifecycleWithContext(ctx aws.Context, input *PutBucketLifecycleInput, opts ...request.Option) (*PutBucketLifecycleOutput, error)
func (c *S3) PutBucketLogging(input *PutBucketLoggingInput) (*PutBucketLoggingOutput, error)
func (c *S3) PutBucketLoggingRequest(input *PutBucketLoggingInput) (req *request.Request, output *PutBucketLoggingOutput)
func (c *S3) PutBucketLoggingWithContext(ctx aws.Context, input *PutBucketLoggingInput, opts ...request.Option) (*PutBucketLoggingOutput, error)
func (c *S3) PutBucketMetricsConfiguration(input *PutBucketMetricsConfigurationInput) (*PutBucketMetricsConfigurationOutput, error)
func (c *S3) PutBucketMetricsConfigurationRequest(input *PutBucketMetricsConfigurationInput) (req *request.Request, output *PutBucketMetricsConfigurationOutput)
func (c *S3) PutBucketMetricsConfigurationWithContext(ctx aws.Context, input *PutBucketMetricsConfigurationInput, opts ...request.Option) (*PutBucketMetricsConfigurationOutput, error)
func (c *S3) PutBucketNotification(input *PutBucketNotificationInput) (*PutBucketNotificationOutput, error)
func (c *S3) PutBucketNotificationConfiguration(input *PutBucketNotificationConfigurationInput) (*PutBucketNotificationConfigurationOutput, error)
func (c *S3) PutBucketNotificationConfigurationRequest(input *PutBucketNotificationConfigurationInput) (req *request.Request, output *PutBucketNotificationConfigurationOutput)
func (c *S3) PutBucketNotificationConfigurationWithContext(ctx aws.Context, input *PutBucketNotificationConfigurationInput, opts ...request.Option) (*PutBucketNotificationConfigurationOutput, error)
func (c *S3) PutBucketNotificationRequest(input *PutBucketNotificationInput) (req *request.Request, output *PutBucketNotificationOutput)
func (c *S3) PutBucketNotificationWithContext(ctx aws.Context, input *PutBucketNotificationInput, opts ...request.Option) (*PutBucketNotificationOutput, error)
func (c *S3) PutBucketOwnershipControls(input *PutBucketOwnershipControlsInput) (*PutBucketOwnershipControlsOutput, error)
func (c *S3) PutBucketOwnershipControlsRequest(input *PutBucketOwnershipControlsInput) (req *request.Request, output *PutBucketOwnershipControlsOutput)
func (c *S3) PutBucketOwnershipControlsWithContext(ctx aws.Context, input *PutBucketOwnershipControlsInput, opts ...request.Option) (*PutBucketOwnershipControlsOutput, error)
func (c *S3) PutBucketPolicy(input *PutBucketPolicyInput) (*PutBucketPolicyOutput, error)
func (c *S3) PutBucketPolicyRequest(input *PutBucketPolicyInput) (req *request.Request, output *PutBucketPolicyOutput)
func (c *S3) PutBucketPolicyWithContext(ctx aws.Context, input *PutBucketPolicyInput, opts ...request.Option) (*PutBucketPolicyOutput, error)
func (c *S3) PutBucketReplication(input *PutBucketReplicationInput) (*PutBucketReplicationOutput, error)
func (c *S3) PutBucketReplicationRequest(input *PutBucketReplicationInput) (req *request.Request, output *PutBucketReplicationOutput)
func (c *S3) PutBucketReplicationWithContext(ctx aws.Context, input *PutBucketReplicationInput, opts ...request.Option) (*PutBucketReplicationOutput, error)
func (c *S3) PutBucketRequestPayment(input *PutBucketRequestPaymentInput) (*PutBucketRequestPaymentOutput, error)
func (c *S3) PutBucketRequestPaymentRequest(input *PutBucketRequestPaymentInput) (req *request.Request, output *PutBucketRequestPaymentOutput)
func (c *S3) PutBucketRequestPaymentWithContext(ctx aws.Context, input *PutBucketRequestPaymentInput, opts ...request.Option) (*PutBucketRequestPaymentOutput, error)
func (c *S3) PutBucketTagging(input *PutBucketTaggingInput) (*PutBucketTaggingOutput, error)
func (c *S3) PutBucketTaggingRequest(input *PutBucketTaggingInput) (req *request.Request, output *PutBucketTaggingOutput)
func (c *S3) PutBucketTaggingWithContext(ctx aws.Context, input *PutBucketTaggingInput, opts ...request.Option) (*PutBucketTaggingOutput, error)
func (c *S3) PutBucketVersioning(input *PutBucketVersioningInput) (*PutBucketVersioningOutput, error)
func (c *S3) PutBucketVersioningRequest(input *PutBucketVersioningInput) (req *request.Request, output *PutBucketVersioningOutput)
func (c *S3) PutBucketVersioningWithContext(ctx aws.Context, input *PutBucketVersioningInput, opts ...request.Option) (*PutBucketVersioningOutput, error)
func (c *S3) PutBucketWebsite(input *PutBucketWebsiteInput) (*PutBucketWebsiteOutput, error)
func (c *S3) PutBucketWebsiteRequest(input *PutBucketWebsiteInput) (req *request.Request, output *PutBucketWebsiteOutput)
func (c *S3) PutBucketWebsiteWithContext(ctx aws.Context, input *PutBucketWebsiteInput, opts ...request.Option) (*PutBucketWebsiteOutput, error)
func (c *S3) PutObject(input *PutObjectInput) (*PutObjectOutput, error)
func (c *S3) PutObjectAcl(input *PutObjectAclInput) (*PutObjectAclOutput, error)
func (c *S3) PutObjectAclRequest(input *PutObjectAclInput) (req *request.Request, output *PutObjectAclOutput)
func (c *S3) PutObjectAclWithContext(ctx aws.Context, input *PutObjectAclInput, opts ...request.Option) (*PutObjectAclOutput, error)
func (c *S3) PutObjectLegalHold(input *PutObjectLegalHoldInput) (*PutObjectLegalHoldOutput, error)
func (c *S3) PutObjectLegalHoldRequest(input *PutObjectLegalHoldInput) (req *request.Request, output *PutObjectLegalHoldOutput)
func (c *S3) PutObjectLegalHoldWithContext(ctx aws.Context, input *PutObjectLegalHoldInput, opts ...request.Option) (*PutObjectLegalHoldOutput, error)
func (c *S3) PutObjectLockConfiguration(input *PutObjectLockConfigurationInput) (*PutObjectLockConfigurationOutput, error)
func (c *S3) PutObjectLockConfigurationRequest(input *PutObjectLockConfigurationInput) (req *request.Request, output *PutObjectLockConfigurationOutput)
func (c *S3) PutObjectLockConfigurationWithContext(ctx aws.Context, input *PutObjectLockConfigurationInput, opts ...request.Option) (*PutObjectLockConfigurationOutput, error)
func (c *S3) PutObjectRequest(input *PutObjectInput) (req *request.Request, output *PutObjectOutput)
func (c *S3) PutObjectRetention(input *PutObjectRetentionInput) (*PutObjectRetentionOutput, error)
func (c *S3) PutObjectRetentionRequest(input *PutObjectRetentionInput) (req *request.Request, output *PutObjectRetentionOutput)
func (c *S3) PutObjectRetentionWithContext(ctx aws.Context, input *PutObjectRetentionInput, opts ...request.Option) (*PutObjectRetentionOutput, error)
func (c *S3) PutObjectTagging(input *PutObjectTaggingInput) (*PutObjectTaggingOutput, error)
func (c *S3) PutObjectTaggingRequest(input *PutObjectTaggingInput) (req *request.Request, output *PutObjectTaggingOutput)
func (c *S3) PutObjectTaggingWithContext(ctx aws.Context, input *PutObjectTaggingInput, opts ...request.Option) (*PutObjectTaggingOutput, error)
func (c *S3) PutObjectWithContext(ctx aws.Context, input *PutObjectInput, opts ...request.Option) (*PutObjectOutput, error)
func (c *S3) PutPublicAccessBlock(input *PutPublicAccessBlockInput) (*PutPublicAccessBlockOutput, error)
func (c *S3) PutPublicAccessBlockRequest(input *PutPublicAccessBlockInput) (req *request.Request, output *PutPublicAccessBlockOutput)
func (c *S3) PutPublicAccessBlockWithContext(ctx aws.Context, input *PutPublicAccessBlockInput, opts ...request.Option) (*PutPublicAccessBlockOutput, error)
func (c *S3) RestoreObject(input *RestoreObjectInput) (*RestoreObjectOutput, error)
func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Request, output *RestoreObjectOutput)
func (c *S3) RestoreObjectWithContext(ctx aws.Context, input *RestoreObjectInput, opts ...request.Option) (*RestoreObjectOutput, error)
func (c *S3) SelectObjectContent(input *SelectObjectContentInput) (*SelectObjectContentOutput, error)
func (c *S3) SelectObjectContentRequest(input *SelectObjectContentInput) (req *request.Request, output *SelectObjectContentOutput)
func (c *S3) SelectObjectContentWithContext(ctx aws.Context, input *SelectObjectContentInput, opts ...request.Option) (*SelectObjectContentOutput, error)
func (c *S3) UploadPart(input *UploadPartInput) (*UploadPartOutput, error)
func (c *S3) UploadPartCopy(input *UploadPartCopyInput) (*UploadPartCopyOutput, error)
func (c *S3) UploadPartCopyRequest(input *UploadPartCopyInput) (req *request.Request, output *UploadPartCopyOutput)
func (c *S3) UploadPartCopyWithContext(ctx aws.Context, input *UploadPartCopyInput, opts ...request.Option) (*UploadPartCopyOutput, error)
func (c *S3) UploadPartRequest(input *UploadPartInput) (req *request.Request, output *UploadPartOutput)
func (c *S3) UploadPartWithContext(ctx aws.Context, input *UploadPartInput, opts ...request.Option) (*UploadPartOutput, error)
func (c *S3) WaitUntilBucketExists(input *HeadBucketInput) error
func (c *S3) WaitUntilBucketExistsWithContext(ctx aws.Context, input *HeadBucketInput, opts ...request.WaiterOption) error
func (c *S3) WaitUntilBucketNotExists(input *HeadBucketInput) error
func (c *S3) WaitUntilBucketNotExistsWithContext(ctx aws.Context, input *HeadBucketInput, opts ...request.WaiterOption) error
func (c *S3) WaitUntilObjectExists(input *HeadObjectInput) error
func (c *S3) WaitUntilObjectExistsWithContext(ctx aws.Context, input *HeadObjectInput, opts ...request.WaiterOption) error
func (c *S3) WaitUntilObjectNotExists(input *HeadObjectInput) error
func (c *S3) WaitUntilObjectNotExistsWithContext(ctx aws.Context, input *HeadObjectInput, opts ...request.WaiterOption) error
func (c *S3) WriteGetObjectResponse(input *WriteGetObjectResponseInput) (*WriteGetObjectResponseOutput, error)
func (c *S3) WriteGetObjectResponseRequest(input *WriteGetObjectResponseInput) (req *request.Request, output *WriteGetObjectResponseOutput)
func (c *S3) WriteGetObjectResponseWithContext(ctx aws.Context, input *WriteGetObjectResponseInput, opts ...request.Option) (*WriteGetObjectResponseOutput, error)
func AnalyticsS3ExportFileFormat_Values() []string
func ArchiveStatus_Values() []string
func BucketAccelerateStatus_Values() []string
func BucketCannedACL_Values() []string
func BucketLocationConstraint_Values() []string
func BucketLogsPermission_Values() []string
func BucketType_Values() []string
func BucketVersioningStatus_Values() []string
func ChecksumAlgorithm_Values() []string
func ChecksumMode_Values() []string
func CompressionType_Values() []string
func DataRedundancy_Values() []string
func DeleteMarkerReplicationStatus_Values() []string
func EncodingType_Values() []string
func Event_Values() []string
func ExistingObjectReplicationStatus_Values() []string
func ExpirationStatus_Values() []string
func ExpressionType_Values() []string
func FileHeaderInfo_Values() []string
func FilterRuleName_Values() []string
func IntelligentTieringAccessTier_Values() []string
func IntelligentTieringStatus_Values() []string
func InventoryFormat_Values() []string
func InventoryFrequency_Values() []string
func InventoryIncludedObjectVersions_Values() []string
func InventoryOptionalField_Values() []string
func JSONType_Values() []string
func LocationType_Values() []string
func MFADeleteStatus_Values() []string
func MFADelete_Values() []string
func MetadataDirective_Values() []string
func MetricsStatus_Values() []string
func NormalizeBucketLocation(loc string) string
func ObjectAttributes_Values() []string
func ObjectCannedACL_Values() []string
func ObjectLockEnabled_Values() []string
func ObjectLockLegalHoldStatus_Values() []string
func ObjectLockMode_Values() []string
func ObjectLockRetentionMode_Values() []string
func ObjectOwnership_Values() []string
func ObjectStorageClass_Values() []string
func ObjectVersionStorageClass_Values() []string
func OptionalObjectAttributes_Values() []string
func OwnerOverride_Values() []string
func PartitionDateSource_Values() []string
func Payer_Values() []string
func Permission_Values() []string
func Protocol_Values() []string
func QuoteFields_Values() []string
func ReplicaModificationsStatus_Values() []string
func ReplicationRuleStatus_Values() []string
func ReplicationStatus_Values() []string
func ReplicationTimeStatus_Values() []string
func RequestCharged_Values() []string
func RequestPayer_Values() []string
func RestoreRequestType_Values() []string
func ServerSideEncryption_Values() []string
func SessionMode_Values() []string
func SseKmsEncryptedObjectsStatus_Values() []string
func StorageClassAnalysisSchemaVersion_Values() []string
func StorageClass_Values() []string
func TaggingDirective_Values() []string
func Tier_Values() []string
func TransitionStorageClass_Values() []string
func Type_Values() []string
func WithNormalizeBucketLocation(r *request.Request)
type AbortIncompleteMultipartUpload
type AbortMultipartUploadInput
type AbortMultipartUploadOutput
type AccelerateConfiguration
type AccessControlPolicy
type AccessControlTranslation
type AnalyticsAndOperator
type AnalyticsConfiguration
type AnalyticsExportDestination
type AnalyticsFilter
type AnalyticsS3BucketDestination
type Bucket
type BucketInfo
type BucketLifecycleConfiguration
type BucketLoggingStatus
type CORSConfiguration
type CORSRule
type CSVInput
type CSVOutput
type Checksum
type CloudFunctionConfiguration
type CommonPrefix
type CompleteMultipartUploadInput
type CompleteMultipartUploadOutput
type CompletedMultipartUpload
type CompletedPart
type Condition
type ContinuationEvent
type CopyObjectInput
type CopyObjectOutput
type CopyObjectResult
type CopyPartResult
type CreateBucketConfiguration
type CreateBucketInput
type CreateBucketOutput
type CreateMultipartUploadInput
type CreateMultipartUploadOutput
type CreateSessionInput
type CreateSessionOutput
type DefaultRetention
type Delete
type DeleteBucketAnalyticsConfigurationInput
type DeleteBucketAnalyticsConfigurationOutput
type DeleteBucketCorsInput
type DeleteBucketCorsOutput
type DeleteBucketEncryptionInput
type DeleteBucketEncryptionOutput
type DeleteBucketInput
type DeleteBucketIntelligentTieringConfigurationInput
type DeleteBucketIntelligentTieringConfigurationOutput
type DeleteBucketInventoryConfigurationInput
type DeleteBucketInventoryConfigurationOutput
type DeleteBucketLifecycleInput
type DeleteBucketLifecycleOutput
type DeleteBucketMetricsConfigurationInput
type DeleteBucketMetricsConfigurationOutput
type DeleteBucketOutput
type DeleteBucketOwnershipControlsInput
type DeleteBucketOwnershipControlsOutput
type DeleteBucketPolicyInput
type DeleteBucketPolicyOutput
type DeleteBucketReplicationInput
type DeleteBucketReplicationOutput
type DeleteBucketTaggingInput
type DeleteBucketTaggingOutput
type DeleteBucketWebsiteInput
type DeleteBucketWebsiteOutput
type DeleteMarkerEntry
type DeleteMarkerReplication
type DeleteObjectInput
type DeleteObjectOutput
type DeleteObjectTaggingInput
type DeleteObjectTaggingOutput
type DeleteObjectsInput
type DeleteObjectsOutput
type DeletePublicAccessBlockInput
type DeletePublicAccessBlockOutput
type DeletedObject
type Destination
type Encryption
type EncryptionConfiguration
type EndEvent
type Error
type ErrorDocument
type EventBridgeConfiguration
type ExistingObjectReplication
type FilterRule
type GetBucketAccelerateConfigurationInput
type GetBucketAccelerateConfigurationOutput
type GetBucketAclInput
type GetBucketAclOutput
type GetBucketAnalyticsConfigurationInput
type GetBucketAnalyticsConfigurationOutput
type GetBucketCorsInput
type GetBucketCorsOutput
type GetBucketEncryptionInput
type GetBucketEncryptionOutput
type GetBucketIntelligentTieringConfigurationInput
type GetBucketIntelligentTieringConfigurationOutput
type GetBucketInventoryConfigurationInput
type GetBucketInventoryConfigurationOutput
type GetBucketLifecycleConfigurationInput
type GetBucketLifecycleConfigurationOutput
type GetBucketLifecycleInput
type GetBucketLifecycleOutput
type GetBucketLocationInput
type GetBucketLocationOutput
type GetBucketLoggingInput
type GetBucketLoggingOutput
type GetBucketMetricsConfigurationInput
type GetBucketMetricsConfigurationOutput
type GetBucketNotificationConfigurationRequest
type GetBucketOwnershipControlsInput
type GetBucketOwnershipControlsOutput
type GetBucketPolicyInput
type GetBucketPolicyOutput
type GetBucketPolicyStatusInput
type GetBucketPolicyStatusOutput
type GetBucketReplicationInput
type GetBucketReplicationOutput
type GetBucketRequestPaymentInput
type GetBucketRequestPaymentOutput
type GetBucketTaggingInput
type GetBucketTaggingOutput
type GetBucketVersioningInput
type GetBucketVersioningOutput
type GetBucketWebsiteInput
type GetBucketWebsiteOutput
type GetObjectAclInput
type GetObjectAclOutput
type GetObjectAttributesInput
type GetObjectAttributesOutput
type GetObjectAttributesParts
type GetObjectInput
type GetObjectLegalHoldInput
type GetObjectLegalHoldOutput
type GetObjectLockConfigurationInput
type GetObjectLockConfigurationOutput
type GetObjectOutput
type GetObjectRetentionInput
type GetObjectRetentionOutput
type GetObjectTaggingInput
type GetObjectTaggingOutput
type GetObjectTorrentInput
type GetObjectTorrentOutput
type GetPublicAccessBlockInput
type GetPublicAccessBlockOutput
type GlacierJobParameters
type Grant
type Grantee
type HeadBucketInput
type HeadBucketOutput
type HeadObjectInput
type HeadObjectOutput
type IndexDocument
type Initiator
type InputSerialization
type IntelligentTieringAndOperator
type IntelligentTieringConfiguration
type IntelligentTieringFilter
type InventoryConfiguration
type InventoryDestination
type InventoryEncryption
type InventoryFilter
type InventoryS3BucketDestination
type InventorySchedule
type JSONInput
type JSONOutput
type KeyFilter
type LambdaFunctionConfiguration
type LifecycleConfiguration
type LifecycleExpiration
type LifecycleRule
type LifecycleRuleAndOperator
type LifecycleRuleFilter
type ListBucketAnalyticsConfigurationsInput
type ListBucketAnalyticsConfigurationsOutput
type ListBucketIntelligentTieringConfigurationsInput
type ListBucketIntelligentTieringConfigurationsOutput
type ListBucketInventoryConfigurationsInput
type ListBucketInventoryConfigurationsOutput
type ListBucketMetricsConfigurationsInput
type ListBucketMetricsConfigurationsOutput
type ListBucketsInput
type ListBucketsOutput
type ListDirectoryBucketsInput
type ListDirectoryBucketsOutput
type ListMultipartUploadsInput
type ListMultipartUploadsOutput
type ListObjectVersionsInput
type ListObjectVersionsOutput
type ListObjectsInput
type ListObjectsOutput
type ListObjectsV2Input
type ListObjectsV2Output
type ListPartsInput
type ListPartsOutput
type Location
type LocationInfo
type LoggingEnabled
type MetadataEntry
type Metrics
type MetricsAndOperator
type MetricsConfiguration
type MetricsFilter
type MultipartUpload
type NoncurrentVersionExpiration
type NoncurrentVersionTransition
type NotificationConfiguration
type NotificationConfigurationDeprecated
type NotificationConfigurationFilter
type Object
type ObjectIdentifier
type ObjectLockConfiguration
type ObjectLockLegalHold
type ObjectLockRetention
type ObjectLockRule
type ObjectPart
type ObjectVersion
type OutputLocation
type OutputSerialization
type Owner
type OwnershipControls
type OwnershipControlsRule
type ParquetInput
type Part
type PartitionedPrefix
type PolicyStatus
type Progress
type ProgressEvent
type PublicAccessBlockConfiguration
type PutBucketAccelerateConfigurationInput
type PutBucketAccelerateConfigurationOutput
type PutBucketAclInput
type PutBucketAclOutput
type PutBucketAnalyticsConfigurationInput
type PutBucketAnalyticsConfigurationOutput
type PutBucketCorsInput
type PutBucketCorsOutput
type PutBucketEncryptionInput
type PutBucketEncryptionOutput
type PutBucketIntelligentTieringConfigurationInput
type PutBucketIntelligentTieringConfigurationOutput
type PutBucketInventoryConfigurationInput
type PutBucketInventoryConfigurationOutput
type PutBucketLifecycleConfigurationInput
type PutBucketLifecycleConfigurationOutput
type PutBucketLifecycleInput
type PutBucketLifecycleOutput
type PutBucketLoggingInput
type PutBucketLoggingOutput
type PutBucketMetricsConfigurationInput
type PutBucketMetricsConfigurationOutput
type PutBucketNotificationConfigurationInput
type PutBucketNotificationConfigurationOutput
type PutBucketNotificationInput
type PutBucketNotificationOutput
type PutBucketOwnershipControlsInput
type PutBucketOwnershipControlsOutput
type PutBucketPolicyInput
type PutBucketPolicyOutput
type PutBucketReplicationInput
type PutBucketReplicationOutput
type PutBucketRequestPaymentInput
type PutBucketRequestPaymentOutput
type PutBucketTaggingInput
type PutBucketTaggingOutput
type PutBucketVersioningInput
type PutBucketVersioningOutput
type PutBucketWebsiteInput
type PutBucketWebsiteOutput
type PutObjectAclInput
type PutObjectAclOutput
type PutObjectInput
type PutObjectLegalHoldInput
type PutObjectLegalHoldOutput
type PutObjectLockConfigurationInput
type PutObjectLockConfigurationOutput
type PutObjectOutput
type PutObjectRetentionInput
type PutObjectRetentionOutput
type PutObjectTaggingInput
type PutObjectTaggingOutput
type PutPublicAccessBlockInput
type PutPublicAccessBlockOutput
type QueueConfiguration
type QueueConfigurationDeprecated
type RecordsEvent
type Redirect
type RedirectAllRequestsTo
type ReplicaModifications
type ReplicationConfiguration
type ReplicationRule
type ReplicationRuleAndOperator
type ReplicationRuleFilter
type ReplicationTime
type ReplicationTimeValue
type RequestFailure
type RequestPaymentConfiguration
type RequestProgress
type RestoreObjectInput
type RestoreObjectOutput
type RestoreRequest
type RestoreStatus
type RoutingRule
type Rule
type SSEKMS
type SSES3
type ScanRange
type SelectObjectContentEventStream
func (es *SelectObjectContentEventStream) Close() (err error)
func (es *SelectObjectContentEventStream) Err() error
func (es *SelectObjectContentEventStream) Events() <-chan SelectObjectContentEventStreamEvent
type SelectObjectContentEventStreamEvent
type SelectObjectContentEventStreamReader
type SelectObjectContentEventStreamUnknownEvent
type SelectObjectContentInput
type SelectObjectContentOutput
func (s *SelectObjectContentOutput) GetEventStream() *SelectObjectContentEventStream
func (s *SelectObjectContentOutput) GetStream() *SelectObjectContentEventStream
type SelectParameters
type ServerSideEncryptionByDefault
type ServerSideEncryptionConfiguration
type ServerSideEncryptionRule
type SessionCredentials
type SimplePrefix
type SourceSelectionCriteria
type SseKmsEncryptedObjects
type Stats
type StatsEvent
type StorageClassAnalysis
type StorageClassAnalysisDataExport
type Tag
type Tagging
type TargetGrant
type TargetObjectKeyFormat
type Tiering
type TopicConfiguration
type TopicConfigurationDeprecated
type Transition
type UploadPartCopyInput
type UploadPartCopyOutput
type UploadPartInput
type UploadPartOutput
type VersioningConfiguration
type WebsiteConfiguration
type WriteGetObjectResponseInput
type WriteGetObjectResponseOutput

Examples ▾

S3.AbortMultipartUpload (Shared00)
S3.CompleteMultipartUpload (Shared00)
S3.CopyObject (Shared00)
S3.CreateBucket (Shared00)
S3.CreateBucket (Shared01)
S3.CreateMultipartUpload (Shared00)
S3.DeleteBucketCors (Shared00)
S3.DeleteBucketLifecycle (Shared00)
S3.DeleteBucketPolicy (Shared00)
S3.DeleteBucketReplication (Shared00)
S3.DeleteBucketTagging (Shared00)
S3.DeleteBucketWebsite (Shared00)
S3.DeleteBucket (Shared00)
S3.DeleteObjectTagging (Shared00)
S3.DeleteObjectTagging (Shared01)
S3.DeleteObject (Shared00)
S3.DeleteObject (Shared01)
S3.DeleteObjects (Shared00)
S3.DeleteObjects (Shared01)
S3.GetBucketCors (Shared00)
S3.GetBucketLifecycleConfiguration (Shared00)
S3.GetBucketLifecycle (Shared00)
S3.GetBucketLocation (Shared00)
S3.GetBucketNotification (Shared00)
S3.GetBucketNotification (Shared01)
S3.GetBucketPolicy (Shared00)
S3.GetBucketReplication (Shared00)
S3.GetBucketRequestPayment (Shared00)
S3.GetBucketTagging (Shared00)
S3.GetBucketVersioning (Shared00)
S3.GetBucketWebsite (Shared00)
S3.GetObjectAcl (Shared00)
S3.GetObjectTagging (Shared00)
S3.GetObjectTagging (Shared01)
S3.GetObjectTorrent (Shared00)
S3.GetObject (Shared00)
S3.GetObject (Shared01)
S3.HeadBucket (Shared00)
S3.HeadObject (Shared00)
S3.ListBuckets (Shared00)
S3.ListMultipartUploads (Shared00)
S3.ListMultipartUploads (Shared01)
S3.ListObjectVersions (Shared00)
S3.ListObjectsV2 (Shared00)
S3.ListObjects (Shared00)
S3.ListParts (Shared00)
S3.PutBucketAcl (Shared00)
S3.PutBucketCors (Shared00)
S3.PutBucketLifecycleConfiguration (Shared00)
S3.PutBucketLogging (Shared00)
S3.PutBucketNotificationConfiguration (Shared00)
S3.PutBucketPolicy (Shared00)
S3.PutBucketReplication (Shared00)
S3.PutBucketRequestPayment (Shared00)
S3.PutBucketTagging (Shared00)
S3.PutBucketVersioning (Shared00)
S3.PutBucketWebsite (Shared00)
S3.PutObjectAcl (Shared00)
S3.PutObjectTagging (Shared00)
S3.PutObject (Shared00)
S3.PutObject (Shared01)
S3.PutObject (Shared02)
S3.PutObject (Shared03)
S3.PutObject (Shared04)
S3.PutObject (Shared05)
S3.PutObject (Shared06)
S3.RestoreObject (Shared00)
S3.SelectObjectContent
S3.UploadPartCopy (Shared00)
S3.UploadPartCopy (Shared01)
S3.UploadPart (Shared00)

Constants ▾

const (
    // ArchiveStatusArchiveAccess is a ArchiveStatus enum value
    ArchiveStatusArchiveAccess = "ARCHIVE_ACCESS"

    // ArchiveStatusDeepArchiveAccess is a ArchiveStatus enum value
    ArchiveStatusDeepArchiveAccess = "DEEP_ARCHIVE_ACCESS"
)
const (
    // BucketAccelerateStatusEnabled is a BucketAccelerateStatus enum value
    BucketAccelerateStatusEnabled = "Enabled"

    // BucketAccelerateStatusSuspended is a BucketAccelerateStatus enum value
    BucketAccelerateStatusSuspended = "Suspended"
)
const (
    // BucketCannedACLPrivate is a BucketCannedACL enum value
    BucketCannedACLPrivate = "private"

    // BucketCannedACLPublicRead is a BucketCannedACL enum value
    BucketCannedACLPublicRead = "public-read"

    // BucketCannedACLPublicReadWrite is a BucketCannedACL enum value
    BucketCannedACLPublicReadWrite = "public-read-write"

    // BucketCannedACLAuthenticatedRead is a BucketCannedACL enum value
    BucketCannedACLAuthenticatedRead = "authenticated-read"
)
const (
    // BucketLocationConstraintAfSouth1 is a BucketLocationConstraint enum value
    BucketLocationConstraintAfSouth1 = "af-south-1"

    // BucketLocationConstraintApEast1 is a BucketLocationConstraint enum value
    BucketLocationConstraintApEast1 = "ap-east-1"

    // BucketLocationConstraintApNortheast1 is a BucketLocationConstraint enum value
    BucketLocationConstraintApNortheast1 = "ap-northeast-1"

    // BucketLocationConstraintApNortheast2 is a BucketLocationConstraint enum value
    BucketLocationConstraintApNortheast2 = "ap-northeast-2"

    // BucketLocationConstraintApNortheast3 is a BucketLocationConstraint enum value
    BucketLocationConstraintApNortheast3 = "ap-northeast-3"

    // BucketLocationConstraintApSouth1 is a BucketLocationConstraint enum value
    BucketLocationConstraintApSouth1 = "ap-south-1"

    // BucketLocationConstraintApSouth2 is a BucketLocationConstraint enum value
    BucketLocationConstraintApSouth2 = "ap-south-2"

    // BucketLocationConstraintApSoutheast1 is a BucketLocationConstraint enum value
    BucketLocationConstraintApSoutheast1 = "ap-southeast-1"

    // BucketLocationConstraintApSoutheast2 is a BucketLocationConstraint enum value
    BucketLocationConstraintApSoutheast2 = "ap-southeast-2"

    // BucketLocationConstraintApSoutheast3 is a BucketLocationConstraint enum value
    BucketLocationConstraintApSoutheast3 = "ap-southeast-3"

    // BucketLocationConstraintCaCentral1 is a BucketLocationConstraint enum value
    BucketLocationConstraintCaCentral1 = "ca-central-1"

    // BucketLocationConstraintCnNorth1 is a BucketLocationConstraint enum value
    BucketLocationConstraintCnNorth1 = "cn-north-1"

    // BucketLocationConstraintCnNorthwest1 is a BucketLocationConstraint enum value
    BucketLocationConstraintCnNorthwest1 = "cn-northwest-1"

    // BucketLocationConstraintEu is a BucketLocationConstraint enum value
    BucketLocationConstraintEu = "EU"

    // BucketLocationConstraintEuCentral1 is a BucketLocationConstraint enum value
    BucketLocationConstraintEuCentral1 = "eu-central-1"

    // BucketLocationConstraintEuNorth1 is a BucketLocationConstraint enum value
    BucketLocationConstraintEuNorth1 = "eu-north-1"

    // BucketLocationConstraintEuSouth1 is a BucketLocationConstraint enum value
    BucketLocationConstraintEuSouth1 = "eu-south-1"

    // BucketLocationConstraintEuSouth2 is a BucketLocationConstraint enum value
    BucketLocationConstraintEuSouth2 = "eu-south-2"

    // BucketLocationConstraintEuWest1 is a BucketLocationConstraint enum value
    BucketLocationConstraintEuWest1 = "eu-west-1"

    // BucketLocationConstraintEuWest2 is a BucketLocationConstraint enum value
    BucketLocationConstraintEuWest2 = "eu-west-2"

    // BucketLocationConstraintEuWest3 is a BucketLocationConstraint enum value
    BucketLocationConstraintEuWest3 = "eu-west-3"

    // BucketLocationConstraintMeSouth1 is a BucketLocationConstraint enum value
    BucketLocationConstraintMeSouth1 = "me-south-1"

    // BucketLocationConstraintSaEast1 is a BucketLocationConstraint enum value
    BucketLocationConstraintSaEast1 = "sa-east-1"

    // BucketLocationConstraintUsEast2 is a BucketLocationConstraint enum value
    BucketLocationConstraintUsEast2 = "us-east-2"

    // BucketLocationConstraintUsGovEast1 is a BucketLocationConstraint enum value
    BucketLocationConstraintUsGovEast1 = "us-gov-east-1"

    // BucketLocationConstraintUsGovWest1 is a BucketLocationConstraint enum value
    BucketLocationConstraintUsGovWest1 = "us-gov-west-1"

    // BucketLocationConstraintUsWest1 is a BucketLocationConstraint enum value
    BucketLocationConstraintUsWest1 = "us-west-1"

    // BucketLocationConstraintUsWest2 is a BucketLocationConstraint enum value
    BucketLocationConstraintUsWest2 = "us-west-2"
)
const (
    // BucketLogsPermissionFullControl is a BucketLogsPermission enum value
    BucketLogsPermissionFullControl = "FULL_CONTROL"

    // BucketLogsPermissionRead is a BucketLogsPermission enum value
    BucketLogsPermissionRead = "READ"

    // BucketLogsPermissionWrite is a BucketLogsPermission enum value
    BucketLogsPermissionWrite = "WRITE"
)
const (
    // BucketVersioningStatusEnabled is a BucketVersioningStatus enum value
    BucketVersioningStatusEnabled = "Enabled"

    // BucketVersioningStatusSuspended is a BucketVersioningStatus enum value
    BucketVersioningStatusSuspended = "Suspended"
)
const (
    // ChecksumAlgorithmCrc32 is a ChecksumAlgorithm enum value
    ChecksumAlgorithmCrc32 = "CRC32"

    // ChecksumAlgorithmCrc32c is a ChecksumAlgorithm enum value
    ChecksumAlgorithmCrc32c = "CRC32C"

    // ChecksumAlgorithmSha1 is a ChecksumAlgorithm enum value
    ChecksumAlgorithmSha1 = "SHA1"

    // ChecksumAlgorithmSha256 is a ChecksumAlgorithm enum value
    ChecksumAlgorithmSha256 = "SHA256"
)
const (
    // CompressionTypeNone is a CompressionType enum value
    CompressionTypeNone = "NONE"

    // CompressionTypeGzip is a CompressionType enum value
    CompressionTypeGzip = "GZIP"

    // CompressionTypeBzip2 is a CompressionType enum value
    CompressionTypeBzip2 = "BZIP2"
)
const (
    // DeleteMarkerReplicationStatusEnabled is a DeleteMarkerReplicationStatus enum value
    DeleteMarkerReplicationStatusEnabled = "Enabled"

    // DeleteMarkerReplicationStatusDisabled is a DeleteMarkerReplicationStatus enum value
    DeleteMarkerReplicationStatusDisabled = "Disabled"
)
const (
    // EventS3ReducedRedundancyLostObject is a Event enum value
    EventS3ReducedRedundancyLostObject = "s3:ReducedRedundancyLostObject"

    // EventS3ObjectCreated is a Event enum value
    EventS3ObjectCreated = "s3:ObjectCreated:*"

    // EventS3ObjectCreatedPut is a Event enum value
    EventS3ObjectCreatedPut = "s3:ObjectCreated:Put"

    // EventS3ObjectCreatedPost is a Event enum value
    EventS3ObjectCreatedPost = "s3:ObjectCreated:Post"

    // EventS3ObjectCreatedCopy is a Event enum value
    EventS3ObjectCreatedCopy = "s3:ObjectCreated:Copy"

    // EventS3ObjectCreatedCompleteMultipartUpload is a Event enum value
    EventS3ObjectCreatedCompleteMultipartUpload = "s3:ObjectCreated:CompleteMultipartUpload"

    // EventS3ObjectRemoved is a Event enum value
    EventS3ObjectRemoved = "s3:ObjectRemoved:*"

    // EventS3ObjectRemovedDelete is a Event enum value
    EventS3ObjectRemovedDelete = "s3:ObjectRemoved:Delete"

    // EventS3ObjectRemovedDeleteMarkerCreated is a Event enum value
    EventS3ObjectRemovedDeleteMarkerCreated = "s3:ObjectRemoved:DeleteMarkerCreated"

    // EventS3ObjectRestore is a Event enum value
    EventS3ObjectRestore = "s3:ObjectRestore:*"

    // EventS3ObjectRestorePost is a Event enum value
    EventS3ObjectRestorePost = "s3:ObjectRestore:Post"

    // EventS3ObjectRestoreCompleted is a Event enum value
    EventS3ObjectRestoreCompleted = "s3:ObjectRestore:Completed"

    // EventS3Replication is a Event enum value
    EventS3Replication = "s3:Replication:*"

    // EventS3ReplicationOperationFailedReplication is a Event enum value
    EventS3ReplicationOperationFailedReplication = "s3:Replication:OperationFailedReplication"

    // EventS3ReplicationOperationNotTracked is a Event enum value
    EventS3ReplicationOperationNotTracked = "s3:Replication:OperationNotTracked"

    // EventS3ReplicationOperationMissedThreshold is a Event enum value
    EventS3ReplicationOperationMissedThreshold = "s3:Replication:OperationMissedThreshold"

    // EventS3ReplicationOperationReplicatedAfterThreshold is a Event enum value
    EventS3ReplicationOperationReplicatedAfterThreshold = "s3:Replication:OperationReplicatedAfterThreshold"

    // EventS3ObjectRestoreDelete is a Event enum value
    EventS3ObjectRestoreDelete = "s3:ObjectRestore:Delete"

    // EventS3LifecycleTransition is a Event enum value
    EventS3LifecycleTransition = "s3:LifecycleTransition"

    // EventS3IntelligentTiering is a Event enum value
    EventS3IntelligentTiering = "s3:IntelligentTiering"

    // EventS3ObjectAclPut is a Event enum value
    EventS3ObjectAclPut = "s3:ObjectAcl:Put"

    // EventS3LifecycleExpiration is a Event enum value
    EventS3LifecycleExpiration = "s3:LifecycleExpiration:*"

    // EventS3LifecycleExpirationDelete is a Event enum value
    EventS3LifecycleExpirationDelete = "s3:LifecycleExpiration:Delete"

    // EventS3LifecycleExpirationDeleteMarkerCreated is a Event enum value
    EventS3LifecycleExpirationDeleteMarkerCreated = "s3:LifecycleExpiration:DeleteMarkerCreated"

    // EventS3ObjectTagging is a Event enum value
    EventS3ObjectTagging = "s3:ObjectTagging:*"

    // EventS3ObjectTaggingPut is a Event enum value
    EventS3ObjectTaggingPut = "s3:ObjectTagging:Put"

    // EventS3ObjectTaggingDelete is a Event enum value
    EventS3ObjectTaggingDelete = "s3:ObjectTagging:Delete"
)

The bucket event for which to send notifications.

const (
    // ExistingObjectReplicationStatusEnabled is a ExistingObjectReplicationStatus enum value
    ExistingObjectReplicationStatusEnabled = "Enabled"

    // ExistingObjectReplicationStatusDisabled is a ExistingObjectReplicationStatus enum value
    ExistingObjectReplicationStatusDisabled = "Disabled"
)
const (
    // ExpirationStatusEnabled is a ExpirationStatus enum value
    ExpirationStatusEnabled = "Enabled"

    // ExpirationStatusDisabled is a ExpirationStatus enum value
    ExpirationStatusDisabled = "Disabled"
)
const (
    // FileHeaderInfoUse is a FileHeaderInfo enum value
    FileHeaderInfoUse = "USE"

    // FileHeaderInfoIgnore is a FileHeaderInfo enum value
    FileHeaderInfoIgnore = "IGNORE"

    // FileHeaderInfoNone is a FileHeaderInfo enum value
    FileHeaderInfoNone = "NONE"
)
const (
    // FilterRuleNamePrefix is a FilterRuleName enum value
    FilterRuleNamePrefix = "prefix"

    // FilterRuleNameSuffix is a FilterRuleName enum value
    FilterRuleNameSuffix = "suffix"
)
const (
    // IntelligentTieringAccessTierArchiveAccess is a IntelligentTieringAccessTier enum value
    IntelligentTieringAccessTierArchiveAccess = "ARCHIVE_ACCESS"

    // IntelligentTieringAccessTierDeepArchiveAccess is a IntelligentTieringAccessTier enum value
    IntelligentTieringAccessTierDeepArchiveAccess = "DEEP_ARCHIVE_ACCESS"
)
const (
    // IntelligentTieringStatusEnabled is a IntelligentTieringStatus enum value
    IntelligentTieringStatusEnabled = "Enabled"

    // IntelligentTieringStatusDisabled is a IntelligentTieringStatus enum value
    IntelligentTieringStatusDisabled = "Disabled"
)
const (
    // InventoryFormatCsv is a InventoryFormat enum value
    InventoryFormatCsv = "CSV"

    // InventoryFormatOrc is a InventoryFormat enum value
    InventoryFormatOrc = "ORC"

    // InventoryFormatParquet is a InventoryFormat enum value
    InventoryFormatParquet = "Parquet"
)
const (
    // InventoryFrequencyDaily is a InventoryFrequency enum value
    InventoryFrequencyDaily = "Daily"

    // InventoryFrequencyWeekly is a InventoryFrequency enum value
    InventoryFrequencyWeekly = "Weekly"
)
const (
    // InventoryIncludedObjectVersionsAll is a InventoryIncludedObjectVersions enum value
    InventoryIncludedObjectVersionsAll = "All"

    // InventoryIncludedObjectVersionsCurrent is a InventoryIncludedObjectVersions enum value
    InventoryIncludedObjectVersionsCurrent = "Current"
)
const (
    // InventoryOptionalFieldSize is a InventoryOptionalField enum value
    InventoryOptionalFieldSize = "Size"

    // InventoryOptionalFieldLastModifiedDate is a InventoryOptionalField enum value
    InventoryOptionalFieldLastModifiedDate = "LastModifiedDate"

    // InventoryOptionalFieldStorageClass is a InventoryOptionalField enum value
    InventoryOptionalFieldStorageClass = "StorageClass"

    // InventoryOptionalFieldEtag is a InventoryOptionalField enum value
    InventoryOptionalFieldEtag = "ETag"

    // InventoryOptionalFieldIsMultipartUploaded is a InventoryOptionalField enum value
    InventoryOptionalFieldIsMultipartUploaded = "IsMultipartUploaded"

    // InventoryOptionalFieldReplicationStatus is a InventoryOptionalField enum value
    InventoryOptionalFieldReplicationStatus = "ReplicationStatus"

    // InventoryOptionalFieldEncryptionStatus is a InventoryOptionalField enum value
    InventoryOptionalFieldEncryptionStatus = "EncryptionStatus"

    // InventoryOptionalFieldObjectLockRetainUntilDate is a InventoryOptionalField enum value
    InventoryOptionalFieldObjectLockRetainUntilDate = "ObjectLockRetainUntilDate"

    // InventoryOptionalFieldObjectLockMode is a InventoryOptionalField enum value
    InventoryOptionalFieldObjectLockMode = "ObjectLockMode"

    // InventoryOptionalFieldObjectLockLegalHoldStatus is a InventoryOptionalField enum value
    InventoryOptionalFieldObjectLockLegalHoldStatus = "ObjectLockLegalHoldStatus"

    // InventoryOptionalFieldIntelligentTieringAccessTier is a InventoryOptionalField enum value
    InventoryOptionalFieldIntelligentTieringAccessTier = "IntelligentTieringAccessTier"

    // InventoryOptionalFieldBucketKeyStatus is a InventoryOptionalField enum value
    InventoryOptionalFieldBucketKeyStatus = "BucketKeyStatus"

    // InventoryOptionalFieldChecksumAlgorithm is a InventoryOptionalField enum value
    InventoryOptionalFieldChecksumAlgorithm = "ChecksumAlgorithm"

    // InventoryOptionalFieldObjectAccessControlList is a InventoryOptionalField enum value
    InventoryOptionalFieldObjectAccessControlList = "ObjectAccessControlList"

    // InventoryOptionalFieldObjectOwner is a InventoryOptionalField enum value
    InventoryOptionalFieldObjectOwner = "ObjectOwner"
)
const (
    // JSONTypeDocument is a JSONType enum value
    JSONTypeDocument = "DOCUMENT"

    // JSONTypeLines is a JSONType enum value
    JSONTypeLines = "LINES"
)
const (
    // MFADeleteEnabled is a MFADelete enum value
    MFADeleteEnabled = "Enabled"

    // MFADeleteDisabled is a MFADelete enum value
    MFADeleteDisabled = "Disabled"
)
const (
    // MFADeleteStatusEnabled is a MFADeleteStatus enum value
    MFADeleteStatusEnabled = "Enabled"

    // MFADeleteStatusDisabled is a MFADeleteStatus enum value
    MFADeleteStatusDisabled = "Disabled"
)
const (
    // MetadataDirectiveCopy is a MetadataDirective enum value
    MetadataDirectiveCopy = "COPY"

    // MetadataDirectiveReplace is a MetadataDirective enum value
    MetadataDirectiveReplace = "REPLACE"
)
const (
    // MetricsStatusEnabled is a MetricsStatus enum value
    MetricsStatusEnabled = "Enabled"

    // MetricsStatusDisabled is a MetricsStatus enum value
    MetricsStatusDisabled = "Disabled"
)
const (
    // ObjectAttributesEtag is a ObjectAttributes enum value
    ObjectAttributesEtag = "ETag"

    // ObjectAttributesChecksum is a ObjectAttributes enum value
    ObjectAttributesChecksum = "Checksum"

    // ObjectAttributesObjectParts is a ObjectAttributes enum value
    ObjectAttributesObjectParts = "ObjectParts"

    // ObjectAttributesStorageClass is a ObjectAttributes enum value
    ObjectAttributesStorageClass = "StorageClass"

    // ObjectAttributesObjectSize is a ObjectAttributes enum value
    ObjectAttributesObjectSize = "ObjectSize"
)
const (
    // ObjectCannedACLPrivate is a ObjectCannedACL enum value
    ObjectCannedACLPrivate = "private"

    // ObjectCannedACLPublicRead is a ObjectCannedACL enum value
    ObjectCannedACLPublicRead = "public-read"

    // ObjectCannedACLPublicReadWrite is a ObjectCannedACL enum value
    ObjectCannedACLPublicReadWrite = "public-read-write"

    // ObjectCannedACLAuthenticatedRead is a ObjectCannedACL enum value
    ObjectCannedACLAuthenticatedRead = "authenticated-read"

    // ObjectCannedACLAwsExecRead is a ObjectCannedACL enum value
    ObjectCannedACLAwsExecRead = "aws-exec-read"

    // ObjectCannedACLBucketOwnerRead is a ObjectCannedACL enum value
    ObjectCannedACLBucketOwnerRead = "bucket-owner-read"

    // ObjectCannedACLBucketOwnerFullControl is a ObjectCannedACL enum value
    ObjectCannedACLBucketOwnerFullControl = "bucket-owner-full-control"
)
const (
    // ObjectLockLegalHoldStatusOn is a ObjectLockLegalHoldStatus enum value
    ObjectLockLegalHoldStatusOn = "ON"

    // ObjectLockLegalHoldStatusOff is a ObjectLockLegalHoldStatus enum value
    ObjectLockLegalHoldStatusOff = "OFF"
)
const (
    // ObjectLockModeGovernance is a ObjectLockMode enum value
    ObjectLockModeGovernance = "GOVERNANCE"

    // ObjectLockModeCompliance is a ObjectLockMode enum value
    ObjectLockModeCompliance = "COMPLIANCE"
)
const (
    // ObjectLockRetentionModeGovernance is a ObjectLockRetentionMode enum value
    ObjectLockRetentionModeGovernance = "GOVERNANCE"

    // ObjectLockRetentionModeCompliance is a ObjectLockRetentionMode enum value
    ObjectLockRetentionModeCompliance = "COMPLIANCE"
)
const (
    // ObjectOwnershipBucketOwnerPreferred is a ObjectOwnership enum value
    ObjectOwnershipBucketOwnerPreferred = "BucketOwnerPreferred"

    // ObjectOwnershipObjectWriter is a ObjectOwnership enum value
    ObjectOwnershipObjectWriter = "ObjectWriter"

    // ObjectOwnershipBucketOwnerEnforced is a ObjectOwnership enum value
    ObjectOwnershipBucketOwnerEnforced = "BucketOwnerEnforced"
)

The container element for object ownership for a bucket's ownership controls.

BucketOwnerPreferred - Objects uploaded to the bucket change ownership to the bucket owner if the objects are uploaded with the bucket-owner-full-control canned ACL.

ObjectWriter - The uploading account will own the object if the object is uploaded with the bucket-owner-full-control canned ACL.

BucketOwnerEnforced - Access control lists (ACLs) are disabled and no longer affect permissions. The bucket owner automatically owns and has full control over every object in the bucket. The bucket only accepts PUT requests that don't specify an ACL or specify bucket owner full control ACLs (such as the predefined bucket-owner-full-control canned ACL or a custom ACL in XML format that grants the same permissions).

By default, ObjectOwnership is set to BucketOwnerEnforced and ACLs are disabled. We recommend keeping ACLs disabled, except in uncommon use cases where you must control access for each object individually. For more information about S3 Object Ownership, see Controlling ownership of objects and disabling ACLs for your bucket (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) in the Amazon S3 User Guide.

This functionality is not supported for directory buckets. Directory buckets use the bucket owner enforced setting for S3 Object Ownership.

const (
    // ObjectStorageClassStandard is a ObjectStorageClass enum value
    ObjectStorageClassStandard = "STANDARD"

    // ObjectStorageClassReducedRedundancy is a ObjectStorageClass enum value
    ObjectStorageClassReducedRedundancy = "REDUCED_REDUNDANCY"

    // ObjectStorageClassGlacier is a ObjectStorageClass enum value
    ObjectStorageClassGlacier = "GLACIER"

    // ObjectStorageClassStandardIa is a ObjectStorageClass enum value
    ObjectStorageClassStandardIa = "STANDARD_IA"

    // ObjectStorageClassOnezoneIa is a ObjectStorageClass enum value
    ObjectStorageClassOnezoneIa = "ONEZONE_IA"

    // ObjectStorageClassIntelligentTiering is a ObjectStorageClass enum value
    ObjectStorageClassIntelligentTiering = "INTELLIGENT_TIERING"

    // ObjectStorageClassDeepArchive is a ObjectStorageClass enum value
    ObjectStorageClassDeepArchive = "DEEP_ARCHIVE"

    // ObjectStorageClassOutposts is a ObjectStorageClass enum value
    ObjectStorageClassOutposts = "OUTPOSTS"

    // ObjectStorageClassGlacierIr is a ObjectStorageClass enum value
    ObjectStorageClassGlacierIr = "GLACIER_IR"

    // ObjectStorageClassSnow is a ObjectStorageClass enum value
    ObjectStorageClassSnow = "SNOW"

    // ObjectStorageClassExpressOnezone is a ObjectStorageClass enum value
    ObjectStorageClassExpressOnezone = "EXPRESS_ONEZONE"
)
const (
    // PartitionDateSourceEventTime is a PartitionDateSource enum value
    PartitionDateSourceEventTime = "EventTime"

    // PartitionDateSourceDeliveryTime is a PartitionDateSource enum value
    PartitionDateSourceDeliveryTime = "DeliveryTime"
)
const (
    // PayerRequester is a Payer enum value
    PayerRequester = "Requester"

    // PayerBucketOwner is a Payer enum value
    PayerBucketOwner = "BucketOwner"
)
const (
    // PermissionFullControl is a Permission enum value
    PermissionFullControl = "FULL_CONTROL"

    // PermissionWrite is a Permission enum value
    PermissionWrite = "WRITE"

    // PermissionWriteAcp is a Permission enum value
    PermissionWriteAcp = "WRITE_ACP"

    // PermissionRead is a Permission enum value
    PermissionRead = "READ"

    // PermissionReadAcp is a Permission enum value
    PermissionReadAcp = "READ_ACP"
)
const (
    // ProtocolHttp is a Protocol enum value
    ProtocolHttp = "http"

    // ProtocolHttps is a Protocol enum value
    ProtocolHttps = "https"
)
const (
    // QuoteFieldsAlways is a QuoteFields enum value
    QuoteFieldsAlways = "ALWAYS"

    // QuoteFieldsAsneeded is a QuoteFields enum value
    QuoteFieldsAsneeded = "ASNEEDED"
)
const (
    // ReplicaModificationsStatusEnabled is a ReplicaModificationsStatus enum value
    ReplicaModificationsStatusEnabled = "Enabled"

    // ReplicaModificationsStatusDisabled is a ReplicaModificationsStatus enum value
    ReplicaModificationsStatusDisabled = "Disabled"
)
const (
    // ReplicationRuleStatusEnabled is a ReplicationRuleStatus enum value
    ReplicationRuleStatusEnabled = "Enabled"

    // ReplicationRuleStatusDisabled is a ReplicationRuleStatus enum value
    ReplicationRuleStatusDisabled = "Disabled"
)
const (
    // ReplicationStatusComplete is a ReplicationStatus enum value
    ReplicationStatusComplete = "COMPLETE"

    // ReplicationStatusPending is a ReplicationStatus enum value
    ReplicationStatusPending = "PENDING"

    // ReplicationStatusFailed is a ReplicationStatus enum value
    ReplicationStatusFailed = "FAILED"

    // ReplicationStatusReplica is a ReplicationStatus enum value
    ReplicationStatusReplica = "REPLICA"

    // ReplicationStatusCompleted is a ReplicationStatus enum value
    ReplicationStatusCompleted = "COMPLETED"
)
const (
    // ReplicationTimeStatusEnabled is a ReplicationTimeStatus enum value
    ReplicationTimeStatusEnabled = "Enabled"

    // ReplicationTimeStatusDisabled is a ReplicationTimeStatus enum value
    ReplicationTimeStatusDisabled = "Disabled"
)
const (
    // ServerSideEncryptionAes256 is a ServerSideEncryption enum value
    ServerSideEncryptionAes256 = "AES256"

    // ServerSideEncryptionAwsKms is a ServerSideEncryption enum value
    ServerSideEncryptionAwsKms = "aws:kms"

    // ServerSideEncryptionAwsKmsDsse is a ServerSideEncryption enum value
    ServerSideEncryptionAwsKmsDsse = "aws:kms:dsse"
)
const (
    // SessionModeReadOnly is a SessionMode enum value
    SessionModeReadOnly = "ReadOnly"

    // SessionModeReadWrite is a SessionMode enum value
    SessionModeReadWrite = "ReadWrite"
)
const (
    // SseKmsEncryptedObjectsStatusEnabled is a SseKmsEncryptedObjectsStatus enum value
    SseKmsEncryptedObjectsStatusEnabled = "Enabled"

    // SseKmsEncryptedObjectsStatusDisabled is a SseKmsEncryptedObjectsStatus enum value
    SseKmsEncryptedObjectsStatusDisabled = "Disabled"
)
const (
    // StorageClassStandard is a StorageClass enum value
    StorageClassStandard = "STANDARD"

    // StorageClassReducedRedundancy is a StorageClass enum value
    StorageClassReducedRedundancy = "REDUCED_REDUNDANCY"

    // StorageClassStandardIa is a StorageClass enum value
    StorageClassStandardIa = "STANDARD_IA"

    // StorageClassOnezoneIa is a StorageClass enum value
    StorageClassOnezoneIa = "ONEZONE_IA"

    // StorageClassIntelligentTiering is a StorageClass enum value
    StorageClassIntelligentTiering = "INTELLIGENT_TIERING"

    // StorageClassGlacier is a StorageClass enum value
    StorageClassGlacier = "GLACIER"

    // StorageClassDeepArchive is a StorageClass enum value
    StorageClassDeepArchive = "DEEP_ARCHIVE"

    // StorageClassOutposts is a StorageClass enum value
    StorageClassOutposts = "OUTPOSTS"

    // StorageClassGlacierIr is a StorageClass enum value
    StorageClassGlacierIr = "GLACIER_IR"

    // StorageClassSnow is a StorageClass enum value
    StorageClassSnow = "SNOW"

    // StorageClassExpressOnezone is a StorageClass enum value
    StorageClassExpressOnezone = "EXPRESS_ONEZONE"
)
const (
    // TaggingDirectiveCopy is a TaggingDirective enum value
    TaggingDirectiveCopy = "COPY"

    // TaggingDirectiveReplace is a TaggingDirective enum value
    TaggingDirectiveReplace = "REPLACE"
)
const (
    // TierStandard is a Tier enum value
    TierStandard = "Standard"

    // TierBulk is a Tier enum value
    TierBulk = "Bulk"

    // TierExpedited is a Tier enum value
    TierExpedited = "Expedited"
)
const (
    // TransitionStorageClassGlacier is a TransitionStorageClass enum value
    TransitionStorageClassGlacier = "GLACIER"

    // TransitionStorageClassStandardIa is a TransitionStorageClass enum value
    TransitionStorageClassStandardIa = "STANDARD_IA"

    // TransitionStorageClassOnezoneIa is a TransitionStorageClass enum value
    TransitionStorageClassOnezoneIa = "ONEZONE_IA"

    // TransitionStorageClassIntelligentTiering is a TransitionStorageClass enum value
    TransitionStorageClassIntelligentTiering = "INTELLIGENT_TIERING"

    // TransitionStorageClassDeepArchive is a TransitionStorageClass enum value
    TransitionStorageClassDeepArchive = "DEEP_ARCHIVE"

    // TransitionStorageClassGlacierIr is a TransitionStorageClass enum value
    TransitionStorageClassGlacierIr = "GLACIER_IR"
)
const (
    // TypeCanonicalUser is a Type enum value
    TypeCanonicalUser = "CanonicalUser"

    // TypeAmazonCustomerByEmail is a Type enum value
    TypeAmazonCustomerByEmail = "AmazonCustomerByEmail"

    // TypeGroup is a Type enum value
    TypeGroup = "Group"
)
const (

    // ErrCodeBucketAlreadyExists for service response error code
    // "BucketAlreadyExists".
    //
    // The requested bucket name is not available. The bucket namespace is shared
    // by all users of the system. Select a different name and try again.
    ErrCodeBucketAlreadyExists = "BucketAlreadyExists"

    // ErrCodeBucketAlreadyOwnedByYou for service response error code
    // "BucketAlreadyOwnedByYou".
    //
    // The bucket you tried to create already exists, and you own it. Amazon S3
    // returns this error in all Amazon Web Services Regions except in the North
    // Virginia Region. For legacy compatibility, if you re-create an existing bucket
    // that you already own in the North Virginia Region, Amazon S3 returns 200
    // OK and resets the bucket access control lists (ACLs).
    ErrCodeBucketAlreadyOwnedByYou = "BucketAlreadyOwnedByYou"

    // ErrCodeInvalidObjectState for service response error code
    // "InvalidObjectState".
    //
    // Object is archived and inaccessible until restored.
    //
    // If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval
    // storage class, the S3 Glacier Deep Archive storage class, the S3 Intelligent-Tiering
    // Archive Access tier, or the S3 Intelligent-Tiering Deep Archive Access tier,
    // before you can retrieve the object you must first restore a copy using RestoreObject
    // (https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html).
    // Otherwise, this operation returns an InvalidObjectState error. For information
    // about restoring archived objects, see Restoring Archived Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html)
    // in the Amazon S3 User Guide.
    ErrCodeInvalidObjectState = "InvalidObjectState"

    // ErrCodeNoSuchBucket for service response error code
    // "NoSuchBucket".
    //
    // The specified bucket does not exist.
    ErrCodeNoSuchBucket = "NoSuchBucket"

    // ErrCodeNoSuchKey for service response error code
    // "NoSuchKey".
    //
    // The specified key does not exist.
    ErrCodeNoSuchKey = "NoSuchKey"

    // ErrCodeNoSuchUpload for service response error code
    // "NoSuchUpload".
    //
    // The specified multipart upload does not exist.
    ErrCodeNoSuchUpload = "NoSuchUpload"

    // ErrCodeObjectAlreadyInActiveTierError for service response error code
    // "ObjectAlreadyInActiveTierError".
    //
    // This action is not allowed against this storage tier.
    ErrCodeObjectAlreadyInActiveTierError = "ObjectAlreadyInActiveTierError"

    // ErrCodeObjectNotInActiveTierError for service response error code
    // "ObjectNotInActiveTierError".
    //
    // The source object of the COPY action is not in the active tier and is only
    // stored in Amazon S3 Glacier.
    ErrCodeObjectNotInActiveTierError = "ObjectNotInActiveTierError"
)
const (
    ServiceName = "s3"        // Name of service.
    EndpointsID = ServiceName // ID to lookup a service endpoint with.
    ServiceID   = "S3"        // ServiceID is a unique identifier of a specific service.
)

Service information constants

const (
    // AnalyticsS3ExportFileFormatCsv is a AnalyticsS3ExportFileFormat enum value
    AnalyticsS3ExportFileFormatCsv = "CSV"
)
const (
    // BucketTypeDirectory is a BucketType enum value
    BucketTypeDirectory = "Directory"
)
const (
    // ChecksumModeEnabled is a ChecksumMode enum value
    ChecksumModeEnabled = "ENABLED"
)
const (
    // DataRedundancySingleAvailabilityZone is a DataRedundancy enum value
    DataRedundancySingleAvailabilityZone = "SingleAvailabilityZone"
)
const (
    // EncodingTypeUrl is a EncodingType enum value
    EncodingTypeUrl = "url"
)

Requests Amazon S3 to encode the object keys in the response and specifies the encoding method to use. An object key can contain any Unicode character; however, the XML 1.0 parser cannot parse some characters, such as characters with an ASCII value from 0 to 10. For characters that are not supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the response.

const (
    // ExpressionTypeSql is a ExpressionType enum value
    ExpressionTypeSql = "SQL"
)
const (
    // LocationTypeAvailabilityZone is a LocationType enum value
    LocationTypeAvailabilityZone = "AvailabilityZone"
)
const (
    // ObjectLockEnabledEnabled is a ObjectLockEnabled enum value
    ObjectLockEnabledEnabled = "Enabled"
)
const (
    // ObjectVersionStorageClassStandard is a ObjectVersionStorageClass enum value
    ObjectVersionStorageClassStandard = "STANDARD"
)
const (
    // OptionalObjectAttributesRestoreStatus is a OptionalObjectAttributes enum value
    OptionalObjectAttributesRestoreStatus = "RestoreStatus"
)
const (
    // OwnerOverrideDestination is a OwnerOverride enum value
    OwnerOverrideDestination = "Destination"
)
const (
    // RequestChargedRequester is a RequestCharged enum value
    RequestChargedRequester = "requester"
)

If present, indicates that the requester was successfully charged for the request.

This functionality is not supported for directory buckets.

const (
    // RequestPayerRequester is a RequestPayer enum value
    RequestPayerRequester = "requester"
)

Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. If either the source or destination S3 bucket has Requester Pays enabled, the requester will pay for corresponding charges to copy the object. For information about downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) in the Amazon S3 User Guide.

This functionality is not supported for directory buckets.

const (
    // RestoreRequestTypeSelect is a RestoreRequestType enum value
    RestoreRequestTypeSelect = "SELECT"
)
const (
    // StorageClassAnalysisSchemaVersionV1 is a StorageClassAnalysisSchemaVersion enum value
    StorageClassAnalysisSchemaVersionV1 = "V_1"
)

Variables

var NormalizeBucketLocationHandler = request.NamedHandler{
    Name: "awssdk.s3.NormalizeBucketLocation",
    Fn: func(req *request.Request) {
        if req.Error != nil {
            return
        }

        out := req.Data.(*GetBucketLocationOutput)
        loc := NormalizeBucketLocation(aws.StringValue(out.LocationConstraint))
        out.LocationConstraint = aws.String(loc)
    },
}

NormalizeBucketLocationHandler is a request handler which will update the GetBucketLocation's result LocationConstraint value to always be a region ID.

Replaces empty string with "us-east-1", and "EU" with "eu-west-1".

See http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlocation.html for more information on the values that can be returned.

req, result := svc.GetBucketLocationRequest(&s3.GetBucketLocationInput{
    Bucket: aws.String(bucket),
})
req.Handlers.Unmarshal.PushBackNamed(NormalizeBucketLocationHandler)
err := req.Send()

func AnalyticsS3ExportFileFormat_Values

func AnalyticsS3ExportFileFormat_Values() []string

AnalyticsS3ExportFileFormat_Values returns all elements of the AnalyticsS3ExportFileFormat enum

func ArchiveStatus_Values

func ArchiveStatus_Values() []string

ArchiveStatus_Values returns all elements of the ArchiveStatus enum

func BucketAccelerateStatus_Values

func BucketAccelerateStatus_Values() []string

BucketAccelerateStatus_Values returns all elements of the BucketAccelerateStatus enum

func BucketCannedACL_Values

func BucketCannedACL_Values() []string

BucketCannedACL_Values returns all elements of the BucketCannedACL enum

func BucketLocationConstraint_Values

func BucketLocationConstraint_Values() []string

BucketLocationConstraint_Values returns all elements of the BucketLocationConstraint enum

func BucketLogsPermission_Values

func BucketLogsPermission_Values() []string

BucketLogsPermission_Values returns all elements of the BucketLogsPermission enum

func BucketType_Values

func BucketType_Values() []string

BucketType_Values returns all elements of the BucketType enum

func BucketVersioningStatus_Values

func BucketVersioningStatus_Values() []string

BucketVersioningStatus_Values returns all elements of the BucketVersioningStatus enum

func ChecksumAlgorithm_Values

func ChecksumAlgorithm_Values() []string

ChecksumAlgorithm_Values returns all elements of the ChecksumAlgorithm enum

func ChecksumMode_Values

func ChecksumMode_Values() []string

ChecksumMode_Values returns all elements of the ChecksumMode enum

func CompressionType_Values

func CompressionType_Values() []string

CompressionType_Values returns all elements of the CompressionType enum

func DataRedundancy_Values

func DataRedundancy_Values() []string

DataRedundancy_Values returns all elements of the DataRedundancy enum

func DeleteMarkerReplicationStatus_Values

func DeleteMarkerReplicationStatus_Values() []string

DeleteMarkerReplicationStatus_Values returns all elements of the DeleteMarkerReplicationStatus enum

func EncodingType_Values

func EncodingType_Values() []string

EncodingType_Values returns all elements of the EncodingType enum

func Event_Values

func Event_Values() []string

Event_Values returns all elements of the Event enum

func ExistingObjectReplicationStatus_Values

func ExistingObjectReplicationStatus_Values() []string

ExistingObjectReplicationStatus_Values returns all elements of the ExistingObjectReplicationStatus enum

func ExpirationStatus_Values

func ExpirationStatus_Values() []string

ExpirationStatus_Values returns all elements of the ExpirationStatus enum

func ExpressionType_Values

func ExpressionType_Values() []string

ExpressionType_Values returns all elements of the ExpressionType enum

func FileHeaderInfo_Values

func FileHeaderInfo_Values() []string

FileHeaderInfo_Values returns all elements of the FileHeaderInfo enum

func FilterRuleName_Values

func FilterRuleName_Values() []string

FilterRuleName_Values returns all elements of the FilterRuleName enum

func IntelligentTieringAccessTier_Values

func IntelligentTieringAccessTier_Values() []string

IntelligentTieringAccessTier_Values returns all elements of the IntelligentTieringAccessTier enum

func IntelligentTieringStatus_Values

func IntelligentTieringStatus_Values() []string

IntelligentTieringStatus_Values returns all elements of the IntelligentTieringStatus enum

func InventoryFormat_Values

func InventoryFormat_Values() []string

InventoryFormat_Values returns all elements of the InventoryFormat enum

func InventoryFrequency_Values

func InventoryFrequency_Values() []string

InventoryFrequency_Values returns all elements of the InventoryFrequency enum

func InventoryIncludedObjectVersions_Values

func InventoryIncludedObjectVersions_Values() []string

InventoryIncludedObjectVersions_Values returns all elements of the InventoryIncludedObjectVersions enum

func InventoryOptionalField_Values

func InventoryOptionalField_Values() []string

InventoryOptionalField_Values returns all elements of the InventoryOptionalField enum

func JSONType_Values

func JSONType_Values() []string

JSONType_Values returns all elements of the JSONType enum

func LocationType_Values

func LocationType_Values() []string

LocationType_Values returns all elements of the LocationType enum

func MFADeleteStatus_Values

func MFADeleteStatus_Values() []string

MFADeleteStatus_Values returns all elements of the MFADeleteStatus enum

func MFADelete_Values

func MFADelete_Values() []string

MFADelete_Values returns all elements of the MFADelete enum

func MetadataDirective_Values

func MetadataDirective_Values() []string

MetadataDirective_Values returns all elements of the MetadataDirective enum

func MetricsStatus_Values

func MetricsStatus_Values() []string

MetricsStatus_Values returns all elements of the MetricsStatus enum

func NormalizeBucketLocation

func NormalizeBucketLocation(loc string) string

NormalizeBucketLocation is a utility function which will update the passed in value to always be a region ID. Generally this would be used with GetBucketLocation API operation.

Replaces empty string with "us-east-1", and "EU" with "eu-west-1".

See http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlocation.html for more information on the values that can be returned.

func ObjectAttributes_Values

func ObjectAttributes_Values() []string

ObjectAttributes_Values returns all elements of the ObjectAttributes enum

func ObjectCannedACL_Values

func ObjectCannedACL_Values() []string

ObjectCannedACL_Values returns all elements of the ObjectCannedACL enum

func ObjectLockEnabled_Values

func ObjectLockEnabled_Values() []string

ObjectLockEnabled_Values returns all elements of the ObjectLockEnabled enum

func ObjectLockLegalHoldStatus_Values

func ObjectLockLegalHoldStatus_Values() []string

ObjectLockLegalHoldStatus_Values returns all elements of the ObjectLockLegalHoldStatus enum

func ObjectLockMode_Values

func ObjectLockMode_Values() []string

ObjectLockMode_Values returns all elements of the ObjectLockMode enum

func ObjectLockRetentionMode_Values

func ObjectLockRetentionMode_Values() []string

ObjectLockRetentionMode_Values returns all elements of the ObjectLockRetentionMode enum

func ObjectOwnership_Values

func ObjectOwnership_Values() []string

ObjectOwnership_Values returns all elements of the ObjectOwnership enum

func ObjectStorageClass_Values

func ObjectStorageClass_Values() []string

ObjectStorageClass_Values returns all elements of the ObjectStorageClass enum

func ObjectVersionStorageClass_Values

func ObjectVersionStorageClass_Values() []string

ObjectVersionStorageClass_Values returns all elements of the ObjectVersionStorageClass enum

func OptionalObjectAttributes_Values

func OptionalObjectAttributes_Values() []string

OptionalObjectAttributes_Values returns all elements of the OptionalObjectAttributes enum

func OwnerOverride_Values

func OwnerOverride_Values() []string

OwnerOverride_Values returns all elements of the OwnerOverride enum

func PartitionDateSource_Values

func PartitionDateSource_Values() []string

PartitionDateSource_Values returns all elements of the PartitionDateSource enum

func Payer_Values

func Payer_Values() []string

Payer_Values returns all elements of the Payer enum

func Permission_Values

func Permission_Values() []string

Permission_Values returns all elements of the Permission enum

func Protocol_Values

func Protocol_Values() []string

Protocol_Values returns all elements of the Protocol enum

func QuoteFields_Values

func QuoteFields_Values() []string

QuoteFields_Values returns all elements of the QuoteFields enum

func ReplicaModificationsStatus_Values

func ReplicaModificationsStatus_Values() []string

ReplicaModificationsStatus_Values returns all elements of the ReplicaModificationsStatus enum

func ReplicationRuleStatus_Values

func ReplicationRuleStatus_Values() []string

ReplicationRuleStatus_Values returns all elements of the ReplicationRuleStatus enum

func ReplicationStatus_Values

func ReplicationStatus_Values() []string

ReplicationStatus_Values returns all elements of the ReplicationStatus enum

func ReplicationTimeStatus_Values

func ReplicationTimeStatus_Values() []string

ReplicationTimeStatus_Values returns all elements of the ReplicationTimeStatus enum

func RequestCharged_Values

func RequestCharged_Values() []string

RequestCharged_Values returns all elements of the RequestCharged enum

func RequestPayer_Values

func RequestPayer_Values() []string

RequestPayer_Values returns all elements of the RequestPayer enum

func RestoreRequestType_Values

func RestoreRequestType_Values() []string

RestoreRequestType_Values returns all elements of the RestoreRequestType enum

func ServerSideEncryption_Values

func ServerSideEncryption_Values() []string

ServerSideEncryption_Values returns all elements of the ServerSideEncryption enum

func SessionMode_Values

func SessionMode_Values() []string

SessionMode_Values returns all elements of the SessionMode enum

func SseKmsEncryptedObjectsStatus_Values

func SseKmsEncryptedObjectsStatus_Values() []string

SseKmsEncryptedObjectsStatus_Values returns all elements of the SseKmsEncryptedObjectsStatus enum

func StorageClassAnalysisSchemaVersion_Values

func StorageClassAnalysisSchemaVersion_Values() []string

StorageClassAnalysisSchemaVersion_Values returns all elements of the StorageClassAnalysisSchemaVersion enum

func StorageClass_Values

func StorageClass_Values() []string

StorageClass_Values returns all elements of the StorageClass enum

func TaggingDirective_Values

func TaggingDirective_Values() []string

TaggingDirective_Values returns all elements of the TaggingDirective enum

func Tier_Values

func Tier_Values() []string

Tier_Values returns all elements of the Tier enum

func TransitionStorageClass_Values

func TransitionStorageClass_Values() []string

TransitionStorageClass_Values returns all elements of the TransitionStorageClass enum

func Type_Values

func Type_Values() []string

Type_Values returns all elements of the Type enum

func WithNormalizeBucketLocation

func WithNormalizeBucketLocation(r *request.Request)

WithNormalizeBucketLocation is a request option which will update the GetBucketLocation's result LocationConstraint value to always be a region ID.

Replaces empty string with "us-east-1", and "EU" with "eu-west-1".

See http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlocation.html for more information on the values that can be returned.

result, err := svc.GetBucketLocationWithContext(ctx,
    &s3.GetBucketLocationInput{
        Bucket: aws.String(bucket),
    },
    s3.WithNormalizeBucketLocation,
)

type AbortIncompleteMultipartUpload

type AbortIncompleteMultipartUpload struct {

    // Specifies the number of days after which Amazon S3 aborts an incomplete multipart
    // upload.
    DaysAfterInitiation *int64 `type:"integer"`
    // contains filtered or unexported fields
}

Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config) in the Amazon S3 User Guide.

func (AbortIncompleteMultipartUpload) GoString

func (s AbortIncompleteMultipartUpload) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AbortIncompleteMultipartUpload) SetDaysAfterInitiation

func (s *AbortIncompleteMultipartUpload) SetDaysAfterInitiation(v int64) *AbortIncompleteMultipartUpload

SetDaysAfterInitiation sets the DaysAfterInitiation field's value.

func (AbortIncompleteMultipartUpload) String

func (s AbortIncompleteMultipartUpload) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AbortMultipartUploadInput

type AbortMultipartUploadInput struct {

    // The bucket name to which the upload was taking place.
    //
    // Directory buckets - When you use this operation with a directory bucket,
    // you must use virtual-hosted-style requests in the format Bucket_name.s3express-az_id.region.amazonaws.com.
    // Path-style requests are not supported. Directory bucket names must be unique
    // in the chosen Availability Zone. Bucket names must follow the format bucket_base_name--az-id--x-s3
    // (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about
    // bucket naming restrictions, see Directory bucket naming rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html)
    // in the Amazon S3 User Guide.
    //
    // Access points - When you use this action with an access point, you must provide
    // the alias of the access point in place of the bucket name or specify the
    // access point ARN. When using the access point ARN, you must direct requests
    // to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
    // When using this action with an access point through the Amazon Web Services
    // SDKs, you provide the access point ARN in place of the bucket name. For more
    // information about access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
    // in the Amazon S3 User Guide.
    //
    // Access points and Object Lambda access points are not supported by directory
    // buckets.
    //
    // S3 on Outposts - When you use this action with Amazon S3 on Outposts, you
    // must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname
    // takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com.
    // When you use this action with S3 on Outposts through the Amazon Web Services
    // SDKs, you provide the Outposts access point ARN in place of the bucket name.
    // For more information about S3 on Outposts ARNs, see What is S3 on Outposts?
    // (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
    // in the Amazon S3 User Guide.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // Key of the object for which the multipart upload was initiated.
    //
    // Key is a required field
    Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`

    // Confirms that the requester knows that they will be charged for the request.
    // Bucket owners need not specify this parameter in their requests. If either
    // the source or destination S3 bucket has Requester Pays enabled, the requester
    // will pay for corresponding charges to copy the object. For information about
    // downloading objects from Requester Pays buckets, see Downloading Objects
    // in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`

    // Upload ID that identifies the multipart upload.
    //
    // UploadId is a required field
    UploadId *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AbortMultipartUploadInput) GoString

func (s AbortMultipartUploadInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AbortMultipartUploadInput) SetBucket

func (s *AbortMultipartUploadInput) SetBucket(v string) *AbortMultipartUploadInput

SetBucket sets the Bucket field's value.

func (*AbortMultipartUploadInput) SetExpectedBucketOwner

func (s *AbortMultipartUploadInput) SetExpectedBucketOwner(v string) *AbortMultipartUploadInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*AbortMultipartUploadInput) SetKey

func (s *AbortMultipartUploadInput) SetKey(v string) *AbortMultipartUploadInput

SetKey sets the Key field's value.

func (*AbortMultipartUploadInput) SetRequestPayer

func (s *AbortMultipartUploadInput) SetRequestPayer(v string) *AbortMultipartUploadInput

SetRequestPayer sets the RequestPayer field's value.

func (*AbortMultipartUploadInput) SetUploadId

func (s *AbortMultipartUploadInput) SetUploadId(v string) *AbortMultipartUploadInput

SetUploadId sets the UploadId field's value.

func (AbortMultipartUploadInput) String

func (s AbortMultipartUploadInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AbortMultipartUploadInput) Validate

func (s *AbortMultipartUploadInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AbortMultipartUploadOutput

type AbortMultipartUploadOutput struct {

    // If present, indicates that the requester was successfully charged for the
    // request.
    //
    // This functionality is not supported for directory buckets.
    RequestCharged *string `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"`
    // contains filtered or unexported fields
}

func (AbortMultipartUploadOutput) GoString

func (s AbortMultipartUploadOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AbortMultipartUploadOutput) SetRequestCharged

func (s *AbortMultipartUploadOutput) SetRequestCharged(v string) *AbortMultipartUploadOutput

SetRequestCharged sets the RequestCharged field's value.

func (AbortMultipartUploadOutput) String

func (s AbortMultipartUploadOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AccelerateConfiguration

type AccelerateConfiguration struct {

    // Specifies the transfer acceleration status of the bucket.
    Status *string `type:"string" enum:"BucketAccelerateStatus"`
    // contains filtered or unexported fields
}

Configures the transfer acceleration state for an Amazon S3 bucket. For more information, see Amazon S3 Transfer Acceleration (https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html) in the Amazon S3 User Guide.

func (AccelerateConfiguration) GoString

func (s AccelerateConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccelerateConfiguration) SetStatus

func (s *AccelerateConfiguration) SetStatus(v string) *AccelerateConfiguration

SetStatus sets the Status field's value.

func (AccelerateConfiguration) String

func (s AccelerateConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AccessControlPolicy

type AccessControlPolicy struct {

    // A list of grants.
    Grants []*Grant `locationName:"AccessControlList" locationNameList:"Grant" type:"list"`

    // Container for the bucket owner's display name and ID.
    Owner *Owner `type:"structure"`
    // contains filtered or unexported fields
}

Contains the elements that set the ACL permissions for an object per grantee.

func (AccessControlPolicy) GoString

func (s AccessControlPolicy) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessControlPolicy) SetGrants

func (s *AccessControlPolicy) SetGrants(v []*Grant) *AccessControlPolicy

SetGrants sets the Grants field's value.

func (*AccessControlPolicy) SetOwner

func (s *AccessControlPolicy) SetOwner(v *Owner) *AccessControlPolicy

SetOwner sets the Owner field's value.

func (AccessControlPolicy) String

func (s AccessControlPolicy) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessControlPolicy) Validate

func (s *AccessControlPolicy) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AccessControlTranslation

type AccessControlTranslation struct {

    // Specifies the replica ownership. For default and valid values, see PUT bucket
    // replication (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html)
    // in the Amazon S3 API Reference.
    //
    // Owner is a required field
    Owner *string `type:"string" required:"true" enum:"OwnerOverride"`
    // contains filtered or unexported fields
}

A container for information about access control for replicas.

func (AccessControlTranslation) GoString

func (s AccessControlTranslation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessControlTranslation) SetOwner

func (s *AccessControlTranslation) SetOwner(v string) *AccessControlTranslation

SetOwner sets the Owner field's value.

func (AccessControlTranslation) String

func (s AccessControlTranslation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessControlTranslation) Validate

func (s *AccessControlTranslation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AnalyticsAndOperator

type AnalyticsAndOperator struct {

    // The prefix to use when evaluating an AND predicate: The prefix that an object
    // must have to be included in the metrics results.
    Prefix *string `type:"string"`

    // The list of tags to use when evaluating an AND predicate.
    Tags []*Tag `locationName:"Tag" locationNameList:"Tag" type:"list" flattened:"true"`
    // contains filtered or unexported fields
}

A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates in any combination, and an object must match all of the predicates for the filter to apply.

func (AnalyticsAndOperator) GoString

func (s AnalyticsAndOperator) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AnalyticsAndOperator) SetPrefix

func (s *AnalyticsAndOperator) SetPrefix(v string) *AnalyticsAndOperator

SetPrefix sets the Prefix field's value.

func (*AnalyticsAndOperator) SetTags

func (s *AnalyticsAndOperator) SetTags(v []*Tag) *AnalyticsAndOperator

SetTags sets the Tags field's value.

func (AnalyticsAndOperator) String

func (s AnalyticsAndOperator) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AnalyticsAndOperator) Validate

func (s *AnalyticsAndOperator) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AnalyticsConfiguration

type AnalyticsConfiguration struct {

    // The filter used to describe a set of objects for analyses. A filter must
    // have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator).
    // If no filter is provided, all objects will be considered in any analysis.
    Filter *AnalyticsFilter `type:"structure"`

    // The ID that identifies the analytics configuration.
    //
    // Id is a required field
    Id *string `type:"string" required:"true"`

    // Contains data related to access patterns to be collected and made available
    // to analyze the tradeoffs between different storage classes.
    //
    // StorageClassAnalysis is a required field
    StorageClassAnalysis *StorageClassAnalysis `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.

func (AnalyticsConfiguration) GoString

func (s AnalyticsConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AnalyticsConfiguration) SetFilter

func (s *AnalyticsConfiguration) SetFilter(v *AnalyticsFilter) *AnalyticsConfiguration

SetFilter sets the Filter field's value.

func (*AnalyticsConfiguration) SetId

func (s *AnalyticsConfiguration) SetId(v string) *AnalyticsConfiguration

SetId sets the Id field's value.

func (*AnalyticsConfiguration) SetStorageClassAnalysis

func (s *AnalyticsConfiguration) SetStorageClassAnalysis(v *StorageClassAnalysis) *AnalyticsConfiguration

SetStorageClassAnalysis sets the StorageClassAnalysis field's value.

func (AnalyticsConfiguration) String

func (s AnalyticsConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AnalyticsConfiguration) Validate

func (s *AnalyticsConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AnalyticsExportDestination

type AnalyticsExportDestination struct {

    // A destination signifying output to an S3 bucket.
    //
    // S3BucketDestination is a required field
    S3BucketDestination *AnalyticsS3BucketDestination `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Where to publish the analytics results.

func (AnalyticsExportDestination) GoString

func (s AnalyticsExportDestination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AnalyticsExportDestination) SetS3BucketDestination

func (s *AnalyticsExportDestination) SetS3BucketDestination(v *AnalyticsS3BucketDestination) *AnalyticsExportDestination

SetS3BucketDestination sets the S3BucketDestination field's value.

func (AnalyticsExportDestination) String

func (s AnalyticsExportDestination) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AnalyticsExportDestination) Validate

func (s *AnalyticsExportDestination) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AnalyticsFilter

type AnalyticsFilter struct {

    // A conjunction (logical AND) of predicates, which is used in evaluating an
    // analytics filter. The operator must have at least two predicates.
    And *AnalyticsAndOperator `type:"structure"`

    // The prefix to use when evaluating an analytics filter.
    Prefix *string `type:"string"`

    // The tag to use when evaluating an analytics filter.
    Tag *Tag `type:"structure"`
    // contains filtered or unexported fields
}

The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis.

func (AnalyticsFilter) GoString

func (s AnalyticsFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AnalyticsFilter) SetAnd

func (s *AnalyticsFilter) SetAnd(v *AnalyticsAndOperator) *AnalyticsFilter

SetAnd sets the And field's value.

func (*AnalyticsFilter) SetPrefix

func (s *AnalyticsFilter) SetPrefix(v string) *AnalyticsFilter

SetPrefix sets the Prefix field's value.

func (*AnalyticsFilter) SetTag

func (s *AnalyticsFilter) SetTag(v *Tag) *AnalyticsFilter

SetTag sets the Tag field's value.

func (AnalyticsFilter) String

func (s AnalyticsFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AnalyticsFilter) Validate

func (s *AnalyticsFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AnalyticsS3BucketDestination

type AnalyticsS3BucketDestination struct {

    // The Amazon Resource Name (ARN) of the bucket to which data is exported.
    //
    // Bucket is a required field
    Bucket *string `type:"string" required:"true"`

    // The account ID that owns the destination S3 bucket. If no account ID is provided,
    // the owner is not validated before exporting data.
    //
    // Although this value is optional, we strongly recommend that you set it to
    // help prevent problems if the destination bucket ownership changes.
    BucketAccountId *string `type:"string"`

    // Specifies the file format used when exporting data to Amazon S3.
    //
    // Format is a required field
    Format *string `type:"string" required:"true" enum:"AnalyticsS3ExportFileFormat"`

    // The prefix to use when exporting data. The prefix is prepended to all results.
    Prefix *string `type:"string"`
    // contains filtered or unexported fields
}

Contains information about where to publish the analytics results.

func (AnalyticsS3BucketDestination) GoString

func (s AnalyticsS3BucketDestination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AnalyticsS3BucketDestination) SetBucket

func (s *AnalyticsS3BucketDestination) SetBucket(v string) *AnalyticsS3BucketDestination

SetBucket sets the Bucket field's value.

func (*AnalyticsS3BucketDestination) SetBucketAccountId

func (s *AnalyticsS3BucketDestination) SetBucketAccountId(v string) *AnalyticsS3BucketDestination

SetBucketAccountId sets the BucketAccountId field's value.

func (*AnalyticsS3BucketDestination) SetFormat

func (s *AnalyticsS3BucketDestination) SetFormat(v string) *AnalyticsS3BucketDestination

SetFormat sets the Format field's value.

func (*AnalyticsS3BucketDestination) SetPrefix

func (s *AnalyticsS3BucketDestination) SetPrefix(v string) *AnalyticsS3BucketDestination

SetPrefix sets the Prefix field's value.

func (AnalyticsS3BucketDestination) String

func (s AnalyticsS3BucketDestination) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AnalyticsS3BucketDestination) Validate

func (s *AnalyticsS3BucketDestination) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Bucket

type Bucket struct {

    // Date the bucket was created. This date can change when making changes to
    // your bucket, such as editing its bucket policy.
    CreationDate *time.Time `type:"timestamp"`

    // The name of the bucket.
    Name *string `type:"string"`
    // contains filtered or unexported fields
}

In terms of implementation, a Bucket is a resource.

func (Bucket) GoString

func (s Bucket) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Bucket) SetCreationDate

func (s *Bucket) SetCreationDate(v time.Time) *Bucket

SetCreationDate sets the CreationDate field's value.

func (*Bucket) SetName

func (s *Bucket) SetName(v string) *Bucket

SetName sets the Name field's value.

func (Bucket) String

func (s Bucket) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BucketInfo

type BucketInfo struct {

    // The number of Availability Zone that's used for redundancy for the bucket.
    DataRedundancy *string `type:"string" enum:"DataRedundancy"`

    // The type of bucket.
    Type *string `type:"string" enum:"BucketType"`
    // contains filtered or unexported fields
}

Specifies the information about the bucket that will be created. For more information about directory buckets, see Directory buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html) in the Amazon S3 User Guide.

This functionality is only supported by directory buckets.

func (BucketInfo) GoString

func (s BucketInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BucketInfo) SetDataRedundancy

func (s *BucketInfo) SetDataRedundancy(v string) *BucketInfo

SetDataRedundancy sets the DataRedundancy field's value.

func (*BucketInfo) SetType

func (s *BucketInfo) SetType(v string) *BucketInfo

SetType sets the Type field's value.

func (BucketInfo) String

func (s BucketInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BucketLifecycleConfiguration

type BucketLifecycleConfiguration struct {

    // A lifecycle rule for individual objects in an Amazon S3 bucket.
    //
    // Rules is a required field
    Rules []*LifecycleRule `locationName:"Rule" type:"list" flattened:"true" required:"true"`
    // contains filtered or unexported fields
}

Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more information, see Object Lifecycle Management (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html) in the Amazon S3 User Guide.

func (BucketLifecycleConfiguration) GoString

func (s BucketLifecycleConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BucketLifecycleConfiguration) SetRules

func (s *BucketLifecycleConfiguration) SetRules(v []*LifecycleRule) *BucketLifecycleConfiguration

SetRules sets the Rules field's value.

func (BucketLifecycleConfiguration) String

func (s BucketLifecycleConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BucketLifecycleConfiguration) Validate

func (s *BucketLifecycleConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BucketLoggingStatus

type BucketLoggingStatus struct {

    // Describes where logs are stored and the prefix that Amazon S3 assigns to
    // all log object keys for a bucket. For more information, see PUT Bucket logging
    // (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html)
    // in the Amazon S3 API Reference.
    LoggingEnabled *LoggingEnabled `type:"structure"`
    // contains filtered or unexported fields
}

Container for logging status information.

func (BucketLoggingStatus) GoString

func (s BucketLoggingStatus) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BucketLoggingStatus) SetLoggingEnabled

func (s *BucketLoggingStatus) SetLoggingEnabled(v *LoggingEnabled) *BucketLoggingStatus

SetLoggingEnabled sets the LoggingEnabled field's value.

func (BucketLoggingStatus) String

func (s BucketLoggingStatus) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BucketLoggingStatus) Validate

func (s *BucketLoggingStatus) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CORSConfiguration

type CORSConfiguration struct {

    // A set of origins and methods (cross-origin access that you want to allow).
    // You can add up to 100 rules to the configuration.
    //
    // CORSRules is a required field
    CORSRules []*CORSRule `locationName:"CORSRule" type:"list" flattened:"true" required:"true"`
    // contains filtered or unexported fields
}

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing (https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html) in the Amazon S3 User Guide.

func (CORSConfiguration) GoString

func (s CORSConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CORSConfiguration) SetCORSRules

func (s *CORSConfiguration) SetCORSRules(v []*CORSRule) *CORSConfiguration

SetCORSRules sets the CORSRules field's value.

func (CORSConfiguration) String

func (s CORSConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CORSConfiguration) Validate

func (s *CORSConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CORSRule

type CORSRule struct {

    // Headers that are specified in the Access-Control-Request-Headers header.
    // These headers are allowed in a preflight OPTIONS request. In response to
    // any preflight OPTIONS request, Amazon S3 returns any requested headers that
    // are allowed.
    AllowedHeaders []*string `locationName:"AllowedHeader" type:"list" flattened:"true"`

    // An HTTP method that you allow the origin to execute. Valid values are GET,
    // PUT, HEAD, POST, and DELETE.
    //
    // AllowedMethods is a required field
    AllowedMethods []*string `locationName:"AllowedMethod" type:"list" flattened:"true" required:"true"`

    // One or more origins you want customers to be able to access the bucket from.
    //
    // AllowedOrigins is a required field
    AllowedOrigins []*string `locationName:"AllowedOrigin" type:"list" flattened:"true" required:"true"`

    // One or more headers in the response that you want customers to be able to
    // access from their applications (for example, from a JavaScript XMLHttpRequest
    // object).
    ExposeHeaders []*string `locationName:"ExposeHeader" type:"list" flattened:"true"`

    // Unique identifier for the rule. The value cannot be longer than 255 characters.
    ID *string `type:"string"`

    // The time in seconds that your browser is to cache the preflight response
    // for the specified resource.
    MaxAgeSeconds *int64 `type:"integer"`
    // contains filtered or unexported fields
}

Specifies a cross-origin access rule for an Amazon S3 bucket.

func (CORSRule) GoString

func (s CORSRule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CORSRule) SetAllowedHeaders

func (s *CORSRule) SetAllowedHeaders(v []*string) *CORSRule

SetAllowedHeaders sets the AllowedHeaders field's value.

func (*CORSRule) SetAllowedMethods

func (s *CORSRule) SetAllowedMethods(v []*string) *CORSRule

SetAllowedMethods sets the AllowedMethods field's value.

func (*CORSRule) SetAllowedOrigins

func (s *CORSRule) SetAllowedOrigins(v []*string) *CORSRule

SetAllowedOrigins sets the AllowedOrigins field's value.

func (*CORSRule) SetExposeHeaders

func (s *CORSRule) SetExposeHeaders(v []*string) *CORSRule

SetExposeHeaders sets the ExposeHeaders field's value.

func (*CORSRule) SetID

func (s *CORSRule) SetID(v string) *CORSRule

SetID sets the ID field's value.

func (*CORSRule) SetMaxAgeSeconds

func (s *CORSRule) SetMaxAgeSeconds(v int64) *CORSRule

SetMaxAgeSeconds sets the MaxAgeSeconds field's value.

func (CORSRule) String

func (s CORSRule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CORSRule) Validate

func (s *CORSRule) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CSVInput

type CSVInput struct {

    // Specifies that CSV field values may contain quoted record delimiters and
    // such records should be allowed. Default value is FALSE. Setting this value
    // to TRUE may lower performance.
    AllowQuotedRecordDelimiter *bool `type:"boolean"`

    // A single character used to indicate that a row should be ignored when the
    // character is present at the start of that row. You can specify any character
    // to indicate a comment line. The default character is #.
    //
    // Default: #
    Comments *string `type:"string"`

    // A single character used to separate individual fields in a record. You can
    // specify an arbitrary delimiter.
    FieldDelimiter *string `type:"string"`

    // Describes the first line of input. Valid values are:
    //
    //    * NONE: First line is not a header.
    //
    //    * IGNORE: First line is a header, but you can't use the header values
    //    to indicate the column in an expression. You can use column position (such
    //    as _1, _2, …) to indicate the column (SELECT s._1 FROM OBJECT s).
    //
    //    * Use: First line is a header, and you can use the header value to identify
    //    a column in an expression (SELECT "name" FROM OBJECT).
    FileHeaderInfo *string `type:"string" enum:"FileHeaderInfo"`

    // A single character used for escaping when the field delimiter is part of
    // the value. For example, if the value is a, b, Amazon S3 wraps this field
    // value in quotation marks, as follows: " a , b ".
    //
    // Type: String
    //
    // Default: "
    //
    // Ancestors: CSV
    QuoteCharacter *string `type:"string"`

    // A single character used for escaping the quotation mark character inside
    // an already escaped value. For example, the value """ a , b """ is parsed
    // as " a , b ".
    QuoteEscapeCharacter *string `type:"string"`

    // A single character used to separate individual records in the input. Instead
    // of the default value, you can specify an arbitrary delimiter.
    RecordDelimiter *string `type:"string"`
    // contains filtered or unexported fields
}

Describes how an uncompressed comma-separated values (CSV)-formatted input object is formatted.

func (CSVInput) GoString

func (s CSVInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CSVInput) SetAllowQuotedRecordDelimiter

func (s *CSVInput) SetAllowQuotedRecordDelimiter(v bool) *CSVInput

SetAllowQuotedRecordDelimiter sets the AllowQuotedRecordDelimiter field's value.

func (*CSVInput) SetComments

func (s *CSVInput) SetComments(v string) *CSVInput

SetComments sets the Comments field's value.

func (*CSVInput) SetFieldDelimiter

func (s *CSVInput) SetFieldDelimiter(v string) *CSVInput

SetFieldDelimiter sets the FieldDelimiter field's value.

func (*CSVInput) SetFileHeaderInfo

func (s *CSVInput) SetFileHeaderInfo(v string) *CSVInput

SetFileHeaderInfo sets the FileHeaderInfo field's value.

func (*CSVInput) SetQuoteCharacter

func (s *CSVInput) SetQuoteCharacter(v string) *CSVInput

SetQuoteCharacter sets the QuoteCharacter field's value.

func (*CSVInput) SetQuoteEscapeCharacter

func (s *CSVInput) SetQuoteEscapeCharacter(v string) *CSVInput

SetQuoteEscapeCharacter sets the QuoteEscapeCharacter field's value.

func (*CSVInput) SetRecordDelimiter

func (s *CSVInput) SetRecordDelimiter(v string) *CSVInput

SetRecordDelimiter sets the RecordDelimiter field's value.

func (CSVInput) String

func (s CSVInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CSVOutput

type CSVOutput struct {

    // The value used to separate individual fields in a record. You can specify
    // an arbitrary delimiter.
    FieldDelimiter *string `type:"string"`

    // A single character used for escaping when the field delimiter is part of
    // the value. For example, if the value is a, b, Amazon S3 wraps this field
    // value in quotation marks, as follows: " a , b ".
    QuoteCharacter *string `type:"string"`

    // The single character used for escaping the quote character inside an already
    // escaped value.
    QuoteEscapeCharacter *string `type:"string"`

    // Indicates whether to use quotation marks around output fields.
    //
    //    * ALWAYS: Always use quotation marks for output fields.
    //
    //    * ASNEEDED: Use quotation marks for output fields when needed.
    QuoteFields *string `type:"string" enum:"QuoteFields"`

    // A single character used to separate individual records in the output. Instead
    // of the default value, you can specify an arbitrary delimiter.
    RecordDelimiter *string `type:"string"`
    // contains filtered or unexported fields
}

Describes how uncompressed comma-separated values (CSV)-formatted results are formatted.

func (CSVOutput) GoString

func (s CSVOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CSVOutput) SetFieldDelimiter

func (s *CSVOutput) SetFieldDelimiter(v string) *CSVOutput

SetFieldDelimiter sets the FieldDelimiter field's value.

func (*CSVOutput) SetQuoteCharacter

func (s *CSVOutput) SetQuoteCharacter(v string) *CSVOutput

SetQuoteCharacter sets the QuoteCharacter field's value.

func (*CSVOutput) SetQuoteEscapeCharacter

func (s *CSVOutput) SetQuoteEscapeCharacter(v string) *CSVOutput

SetQuoteEscapeCharacter sets the QuoteEscapeCharacter field's value.

func (*CSVOutput) SetQuoteFields

func (s *CSVOutput) SetQuoteFields(v string) *CSVOutput

SetQuoteFields sets the QuoteFields field's value.

func (*CSVOutput) SetRecordDelimiter

func (s *CSVOutput) SetRecordDelimiter(v string) *CSVOutput

SetRecordDelimiter sets the RecordDelimiter field's value.

func (CSVOutput) String

func (s CSVOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Checksum

type Checksum struct {

    // The base64-encoded, 32-bit CRC32 checksum of the object. This will only be
    // present if it was uploaded with the object. When you use an API operation
    // on an object that was uploaded using multipart uploads, this value may not
    // be a direct checksum value of the full object. Instead, it's a calculation
    // based on the checksum values of each individual part. For more information
    // about how checksums are calculated with multipart uploads, see Checking object
    // integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
    // in the Amazon S3 User Guide.
    ChecksumCRC32 *string `type:"string"`

    // The base64-encoded, 32-bit CRC32C checksum of the object. This will only
    // be present if it was uploaded with the object. When you use an API operation
    // on an object that was uploaded using multipart uploads, this value may not
    // be a direct checksum value of the full object. Instead, it's a calculation
    // based on the checksum values of each individual part. For more information
    // about how checksums are calculated with multipart uploads, see Checking object
    // integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
    // in the Amazon S3 User Guide.
    ChecksumCRC32C *string `type:"string"`

    // The base64-encoded, 160-bit SHA-1 digest of the object. This will only be
    // present if it was uploaded with the object. When you use the API operation
    // on an object that was uploaded using multipart uploads, this value may not
    // be a direct checksum value of the full object. Instead, it's a calculation
    // based on the checksum values of each individual part. For more information
    // about how checksums are calculated with multipart uploads, see Checking object
    // integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
    // in the Amazon S3 User Guide.
    ChecksumSHA1 *string `type:"string"`

    // The base64-encoded, 256-bit SHA-256 digest of the object. This will only
    // be present if it was uploaded with the object. When you use an API operation
    // on an object that was uploaded using multipart uploads, this value may not
    // be a direct checksum value of the full object. Instead, it's a calculation
    // based on the checksum values of each individual part. For more information
    // about how checksums are calculated with multipart uploads, see Checking object
    // integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
    // in the Amazon S3 User Guide.
    ChecksumSHA256 *string `type:"string"`
    // contains filtered or unexported fields
}

Contains all the possible checksum or digest values for an object.

func (Checksum) GoString

func (s Checksum) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Checksum) SetChecksumCRC32

func (s *Checksum) SetChecksumCRC32(v string) *Checksum

SetChecksumCRC32 sets the ChecksumCRC32 field's value.

func (*Checksum) SetChecksumCRC32C

func (s *Checksum) SetChecksumCRC32C(v string) *Checksum

SetChecksumCRC32C sets the ChecksumCRC32C field's value.

func (*Checksum) SetChecksumSHA1

func (s *Checksum) SetChecksumSHA1(v string) *Checksum

SetChecksumSHA1 sets the ChecksumSHA1 field's value.

func (*Checksum) SetChecksumSHA256

func (s *Checksum) SetChecksumSHA256(v string) *Checksum

SetChecksumSHA256 sets the ChecksumSHA256 field's value.

func (Checksum) String

func (s Checksum) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CloudFunctionConfiguration

type CloudFunctionConfiguration struct {

    // Lambda cloud function ARN that Amazon S3 can invoke when it detects events
    // of the specified type.
    CloudFunction *string `type:"string"`

    // The bucket event for which to send notifications.
    //
    // Deprecated: Event has been deprecated
    Event *string `deprecated:"true" type:"string" enum:"Event"`

    // Bucket events for which to send notifications.
    Events []*string `locationName:"Event" type:"list" flattened:"true" enum:"Event"`

    // An optional unique identifier for configurations in a notification configuration.
    // If you don't provide one, Amazon S3 will assign an ID.
    Id *string `type:"string"`

    // The role supporting the invocation of the Lambda function
    InvocationRole *string `type:"string"`
    // contains filtered or unexported fields
}

Container for specifying the Lambda notification configuration.

func (CloudFunctionConfiguration) GoString

func (s CloudFunctionConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CloudFunctionConfiguration) SetCloudFunction

func (s *CloudFunctionConfiguration) SetCloudFunction(v string) *CloudFunctionConfiguration

SetCloudFunction sets the CloudFunction field's value.

func (*CloudFunctionConfiguration) SetEvent

func (s *CloudFunctionConfiguration) SetEvent(v string) *CloudFunctionConfiguration

SetEvent sets the Event field's value.

func (*CloudFunctionConfiguration) SetEvents

func (s *CloudFunctionConfiguration) SetEvents(v []*string) *CloudFunctionConfiguration

SetEvents sets the Events field's value.

func (*CloudFunctionConfiguration) SetId

func (s *CloudFunctionConfiguration) SetId(v string) *CloudFunctionConfiguration

SetId sets the Id field's value.

func (*CloudFunctionConfiguration) SetInvocationRole

func (s *CloudFunctionConfiguration) SetInvocationRole(v string) *CloudFunctionConfiguration

SetInvocationRole sets the InvocationRole field's value.

func (CloudFunctionConfiguration) String

func (s CloudFunctionConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CommonPrefix

type CommonPrefix struct {

    // Container for the specified common prefix.
    Prefix *string `type:"string"`
    // contains filtered or unexported fields
}

Container for all (if there are any) keys between Prefix and the next occurrence of the string specified by a delimiter. CommonPrefixes lists keys that act like subdirectories in the directory specified by Prefix. For example, if the prefix is notes/ and the delimiter is a slash (/) as in notes/summer/july, the common prefix is notes/summer/.

func (CommonPrefix) GoString

func (s CommonPrefix) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CommonPrefix) SetPrefix

func (s *CommonPrefix) SetPrefix(v string) *CommonPrefix

SetPrefix sets the Prefix field's value.

func (CommonPrefix) String

func (s CommonPrefix) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CompleteMultipartUploadInput

type CompleteMultipartUploadInput struct {

    // Name of the bucket to which the multipart upload was initiated.
    //
    // Directory buckets - When you use this operation with a directory bucket,
    // you must use virtual-hosted-style requests in the format Bucket_name.s3express-az_id.region.amazonaws.com.
    // Path-style requests are not supported. Directory bucket names must be unique
    // in the chosen Availability Zone. Bucket names must follow the format bucket_base_name--az-id--x-s3
    // (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about
    // bucket naming restrictions, see Directory bucket naming rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html)
    // in the Amazon S3 User Guide.
    //
    // Access points - When you use this action with an access point, you must provide
    // the alias of the access point in place of the bucket name or specify the
    // access point ARN. When using the access point ARN, you must direct requests
    // to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
    // When using this action with an access point through the Amazon Web Services
    // SDKs, you provide the access point ARN in place of the bucket name. For more
    // information about access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
    // in the Amazon S3 User Guide.
    //
    // Access points and Object Lambda access points are not supported by directory
    // buckets.
    //
    // S3 on Outposts - When you use this action with Amazon S3 on Outposts, you
    // must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname
    // takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com.
    // When you use this action with S3 on Outposts through the Amazon Web Services
    // SDKs, you provide the Outposts access point ARN in place of the bucket name.
    // For more information about S3 on Outposts ARNs, see What is S3 on Outposts?
    // (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
    // in the Amazon S3 User Guide.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // This header can be used as a data integrity check to verify that the data
    // received is the same data that was originally sent. This header specifies
    // the base64-encoded, 32-bit CRC32 checksum of the object. For more information,
    // see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
    // in the Amazon S3 User Guide.
    ChecksumCRC32 *string `location:"header" locationName:"x-amz-checksum-crc32" type:"string"`

    // This header can be used as a data integrity check to verify that the data
    // received is the same data that was originally sent. This header specifies
    // the base64-encoded, 32-bit CRC32C checksum of the object. For more information,
    // see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
    // in the Amazon S3 User Guide.
    ChecksumCRC32C *string `location:"header" locationName:"x-amz-checksum-crc32c" type:"string"`

    // This header can be used as a data integrity check to verify that the data
    // received is the same data that was originally sent. This header specifies
    // the base64-encoded, 160-bit SHA-1 digest of the object. For more information,
    // see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
    // in the Amazon S3 User Guide.
    ChecksumSHA1 *string `location:"header" locationName:"x-amz-checksum-sha1" type:"string"`

    // This header can be used as a data integrity check to verify that the data
    // received is the same data that was originally sent. This header specifies
    // the base64-encoded, 256-bit SHA-256 digest of the object. For more information,
    // see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
    // in the Amazon S3 User Guide.
    ChecksumSHA256 *string `location:"header" locationName:"x-amz-checksum-sha256" type:"string"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // Object key for which the multipart upload was initiated.
    //
    // Key is a required field
    Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`

    // The container for the multipart upload request information.
    MultipartUpload *CompletedMultipartUpload `locationName:"CompleteMultipartUpload" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`

    // Confirms that the requester knows that they will be charged for the request.
    // Bucket owners need not specify this parameter in their requests. If either
    // the source or destination S3 bucket has Requester Pays enabled, the requester
    // will pay for corresponding charges to copy the object. For information about
    // downloading objects from Requester Pays buckets, see Downloading Objects
    // in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`

    // The server-side encryption (SSE) algorithm used to encrypt the object. This
    // parameter is required only when the object was created using a checksum algorithm
    // or if your bucket policy requires the use of SSE-C. For more information,
    // see Protecting data using SSE-C keys (https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html#ssec-require-condition-key)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"`

    // The server-side encryption (SSE) customer managed key. This parameter is
    // needed only when the object was created using a checksum algorithm. For more
    // information, see Protecting data using SSE-C keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    //
    // SSECustomerKey is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by CompleteMultipartUploadInput's
    // String and GoString methods.
    SSECustomerKey *string `marshal-as:"blob" location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string" sensitive:"true"`

    // The MD5 server-side encryption (SSE) customer managed key. This parameter
    // is needed only when the object was created using a checksum algorithm. For
    // more information, see Protecting data using SSE-C keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"`

    // ID for the initiated multipart upload.
    //
    // UploadId is a required field
    UploadId *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CompleteMultipartUploadInput) GoString

func (s CompleteMultipartUploadInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CompleteMultipartUploadInput) SetBucket

func (s *CompleteMultipartUploadInput) SetBucket(v string) *CompleteMultipartUploadInput

SetBucket sets the Bucket field's value.

func (*CompleteMultipartUploadInput) SetChecksumCRC32

func (s *CompleteMultipartUploadInput) SetChecksumCRC32(v string) *CompleteMultipartUploadInput

SetChecksumCRC32 sets the ChecksumCRC32 field's value.

func (*CompleteMultipartUploadInput) SetChecksumCRC32C

func (s *CompleteMultipartUploadInput) SetChecksumCRC32C(v string) *CompleteMultipartUploadInput

SetChecksumCRC32C sets the ChecksumCRC32C field's value.

func (*CompleteMultipartUploadInput) SetChecksumSHA1

func (s *CompleteMultipartUploadInput) SetChecksumSHA1(v string) *CompleteMultipartUploadInput

SetChecksumSHA1 sets the ChecksumSHA1 field's value.

func (*CompleteMultipartUploadInput) SetChecksumSHA256

func (s *CompleteMultipartUploadInput) SetChecksumSHA256(v string) *CompleteMultipartUploadInput

SetChecksumSHA256 sets the ChecksumSHA256 field's value.

func (*CompleteMultipartUploadInput) SetExpectedBucketOwner

func (s *CompleteMultipartUploadInput) SetExpectedBucketOwner(v string) *CompleteMultipartUploadInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*CompleteMultipartUploadInput) SetKey

func (s *CompleteMultipartUploadInput) SetKey(v string) *CompleteMultipartUploadInput

SetKey sets the Key field's value.

func (*CompleteMultipartUploadInput) SetMultipartUpload

func (s *CompleteMultipartUploadInput) SetMultipartUpload(v *CompletedMultipartUpload) *CompleteMultipartUploadInput

SetMultipartUpload sets the MultipartUpload field's value.

func (*CompleteMultipartUploadInput) SetRequestPayer

func (s *CompleteMultipartUploadInput) SetRequestPayer(v string) *CompleteMultipartUploadInput

SetRequestPayer sets the RequestPayer field's value.

func (*CompleteMultipartUploadInput) SetSSECustomerAlgorithm

func (s *CompleteMultipartUploadInput) SetSSECustomerAlgorithm(v string) *CompleteMultipartUploadInput

SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.

func (*CompleteMultipartUploadInput) SetSSECustomerKey

func (s *CompleteMultipartUploadInput) SetSSECustomerKey(v string) *CompleteMultipartUploadInput

SetSSECustomerKey sets the SSECustomerKey field's value.

func (*CompleteMultipartUploadInput) SetSSECustomerKeyMD5

func (s *CompleteMultipartUploadInput) SetSSECustomerKeyMD5(v string) *CompleteMultipartUploadInput

SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.

func (*CompleteMultipartUploadInput) SetUploadId

func (s *CompleteMultipartUploadInput) SetUploadId(v string) *CompleteMultipartUploadInput

SetUploadId sets the UploadId field's value.

func (CompleteMultipartUploadInput) String

func (s CompleteMultipartUploadInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CompleteMultipartUploadInput) Validate

func (s *CompleteMultipartUploadInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CompleteMultipartUploadOutput

type CompleteMultipartUploadOutput struct {

    // The name of the bucket that contains the newly created object. Does not return
    // the access point ARN or access point alias if used.
    //
    // Access points are not supported by directory buckets.
    Bucket *string `type:"string"`

    // Indicates whether the multipart upload uses an S3 Bucket Key for server-side
    // encryption with Key Management Service (KMS) keys (SSE-KMS).
    //
    // This functionality is not supported for directory buckets.
    BucketKeyEnabled *bool `location:"header" locationName:"x-amz-server-side-encryption-bucket-key-enabled" type:"boolean"`

    // The base64-encoded, 32-bit CRC32 checksum of the object. This will only be
    // present if it was uploaded with the object. When you use an API operation
    // on an object that was uploaded using multipart uploads, this value may not
    // be a direct checksum value of the full object. Instead, it's a calculation
    // based on the checksum values of each individual part. For more information
    // about how checksums are calculated with multipart uploads, see Checking object
    // integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
    // in the Amazon S3 User Guide.
    ChecksumCRC32 *string `type:"string"`

    // The base64-encoded, 32-bit CRC32C checksum of the object. This will only
    // be present if it was uploaded with the object. When you use an API operation
    // on an object that was uploaded using multipart uploads, this value may not
    // be a direct checksum value of the full object. Instead, it's a calculation
    // based on the checksum values of each individual part. For more information
    // about how checksums are calculated with multipart uploads, see Checking object
    // integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
    // in the Amazon S3 User Guide.
    ChecksumCRC32C *string `type:"string"`

    // The base64-encoded, 160-bit SHA-1 digest of the object. This will only be
    // present if it was uploaded with the object. When you use the API operation
    // on an object that was uploaded using multipart uploads, this value may not
    // be a direct checksum value of the full object. Instead, it's a calculation
    // based on the checksum values of each individual part. For more information
    // about how checksums are calculated with multipart uploads, see Checking object
    // integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
    // in the Amazon S3 User Guide.
    ChecksumSHA1 *string `type:"string"`

    // The base64-encoded, 256-bit SHA-256 digest of the object. This will only
    // be present if it was uploaded with the object. When you use an API operation
    // on an object that was uploaded using multipart uploads, this value may not
    // be a direct checksum value of the full object. Instead, it's a calculation
    // based on the checksum values of each individual part. For more information
    // about how checksums are calculated with multipart uploads, see Checking object
    // integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
    // in the Amazon S3 User Guide.
    ChecksumSHA256 *string `type:"string"`

    // Entity tag that identifies the newly created object's data. Objects with
    // different object data will have different entity tags. The entity tag is
    // an opaque string. The entity tag may or may not be an MD5 digest of the object
    // data. If the entity tag is not an MD5 digest of the object data, it will
    // contain one or more nonhexadecimal characters and/or will consist of less
    // than 32 or more than 32 hexadecimal digits. For more information about how
    // the entity tag is calculated, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
    // in the Amazon S3 User Guide.
    ETag *string `type:"string"`

    // If the object expiration is configured, this will contain the expiration
    // date (expiry-date) and rule ID (rule-id). The value of rule-id is URL-encoded.
    //
    // This functionality is not supported for directory buckets.
    Expiration *string `location:"header" locationName:"x-amz-expiration" type:"string"`

    // The object key of the newly created object.
    Key *string `min:"1" type:"string"`

    // The URI that identifies the newly created object.
    Location *string `type:"string"`

    // If present, indicates that the requester was successfully charged for the
    // request.
    //
    // This functionality is not supported for directory buckets.
    RequestCharged *string `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"`

    // If present, indicates the ID of the Key Management Service (KMS) symmetric
    // encryption customer managed key that was used for the object.
    //
    // This functionality is not supported for directory buckets.
    //
    // SSEKMSKeyId is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by CompleteMultipartUploadOutput's
    // String and GoString methods.
    SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string" sensitive:"true"`

    // The server-side encryption algorithm used when storing this object in Amazon
    // S3 (for example, AES256, aws:kms).
    //
    // For directory buckets, only server-side encryption with Amazon S3 managed
    // keys (SSE-S3) (AES256) is supported.
    ServerSideEncryption *string `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"ServerSideEncryption"`

    // Version ID of the newly created object, in case the bucket has versioning
    // turned on.
    //
    // This functionality is not supported for directory buckets.
    VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"`
    // contains filtered or unexported fields
}

func (CompleteMultipartUploadOutput) GoString

func (s CompleteMultipartUploadOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CompleteMultipartUploadOutput) SetBucket

func (s *CompleteMultipartUploadOutput) SetBucket(v string) *CompleteMultipartUploadOutput

SetBucket sets the Bucket field's value.

func (*CompleteMultipartUploadOutput) SetBucketKeyEnabled

func (s *CompleteMultipartUploadOutput) SetBucketKeyEnabled(v bool) *CompleteMultipartUploadOutput

SetBucketKeyEnabled sets the BucketKeyEnabled field's value.

func (*CompleteMultipartUploadOutput) SetChecksumCRC32

func (s *CompleteMultipartUploadOutput) SetChecksumCRC32(v string) *CompleteMultipartUploadOutput

SetChecksumCRC32 sets the ChecksumCRC32 field's value.

func (*CompleteMultipartUploadOutput) SetChecksumCRC32C

func (s *CompleteMultipartUploadOutput) SetChecksumCRC32C(v string) *CompleteMultipartUploadOutput

SetChecksumCRC32C sets the ChecksumCRC32C field's value.

func (*CompleteMultipartUploadOutput) SetChecksumSHA1

func (s *CompleteMultipartUploadOutput) SetChecksumSHA1(v string) *CompleteMultipartUploadOutput

SetChecksumSHA1 sets the ChecksumSHA1 field's value.

func (*CompleteMultipartUploadOutput) SetChecksumSHA256

func (s *CompleteMultipartUploadOutput) SetChecksumSHA256(v string) *CompleteMultipartUploadOutput

SetChecksumSHA256 sets the ChecksumSHA256 field's value.

func (*CompleteMultipartUploadOutput) SetETag

func (s *CompleteMultipartUploadOutput) SetETag(v string) *CompleteMultipartUploadOutput

SetETag sets the ETag field's value.

func (*CompleteMultipartUploadOutput) SetExpiration

func (s *CompleteMultipartUploadOutput) SetExpiration(v string) *CompleteMultipartUploadOutput

SetExpiration sets the Expiration field's value.

func (*CompleteMultipartUploadOutput) SetKey

func (s *CompleteMultipartUploadOutput) SetKey(v string) *CompleteMultipartUploadOutput

SetKey sets the Key field's value.

func (*CompleteMultipartUploadOutput) SetLocation

func (s *CompleteMultipartUploadOutput) SetLocation(v string) *CompleteMultipartUploadOutput

SetLocation sets the Location field's value.

func (*CompleteMultipartUploadOutput) SetRequestCharged

func (s *CompleteMultipartUploadOutput) SetRequestCharged(v string) *CompleteMultipartUploadOutput

SetRequestCharged sets the RequestCharged field's value.

func (*CompleteMultipartUploadOutput) SetSSEKMSKeyId

func (s *CompleteMultipartUploadOutput) SetSSEKMSKeyId(v string) *CompleteMultipartUploadOutput

SetSSEKMSKeyId sets the SSEKMSKeyId field's value.

func (*CompleteMultipartUploadOutput) SetServerSideEncryption

func (s *CompleteMultipartUploadOutput) SetServerSideEncryption(v string) *CompleteMultipartUploadOutput

SetServerSideEncryption sets the ServerSideEncryption field's value.

func (*CompleteMultipartUploadOutput) SetVersionId

func (s *CompleteMultipartUploadOutput) SetVersionId(v string) *CompleteMultipartUploadOutput

SetVersionId sets the VersionId field's value.

func (CompleteMultipartUploadOutput) String

func (s CompleteMultipartUploadOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CompletedMultipartUpload

type CompletedMultipartUpload struct {

    // Array of CompletedPart data types.
    //
    // If you do not supply a valid Part with your request, the service sends back
    // an HTTP 400 response.
    Parts []*CompletedPart `locationName:"Part" type:"list" flattened:"true"`
    // contains filtered or unexported fields
}

The container for the completed multipart upload details.

func (CompletedMultipartUpload) GoString

func (s CompletedMultipartUpload) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CompletedMultipartUpload) SetParts

func (s *CompletedMultipartUpload) SetParts(v []*CompletedPart) *CompletedMultipartUpload

SetParts sets the Parts field's value.

func (CompletedMultipartUpload) String

func (s CompletedMultipartUpload) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CompletedPart

type CompletedPart struct {

    // The base64-encoded, 32-bit CRC32 checksum of the object. This will only be
    // present if it was uploaded with the object. When you use an API operation
    // on an object that was uploaded using multipart uploads, this value may not
    // be a direct checksum value of the full object. Instead, it's a calculation
    // based on the checksum values of each individual part. For more information
    // about how checksums are calculated with multipart uploads, see Checking object
    // integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
    // in the Amazon S3 User Guide.
    ChecksumCRC32 *string `type:"string"`

    // The base64-encoded, 32-bit CRC32C checksum of the object. This will only
    // be present if it was uploaded with the object. When you use an API operation
    // on an object that was uploaded using multipart uploads, this value may not
    // be a direct checksum value of the full object. Instead, it's a calculation
    // based on the checksum values of each individual part. For more information
    // about how checksums are calculated with multipart uploads, see Checking object
    // integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
    // in the Amazon S3 User Guide.
    ChecksumCRC32C *string `type:"string"`

    // The base64-encoded, 160-bit SHA-1 digest of the object. This will only be
    // present if it was uploaded with the object. When you use the API operation
    // on an object that was uploaded using multipart uploads, this value may not
    // be a direct checksum value of the full object. Instead, it's a calculation
    // based on the checksum values of each individual part. For more information
    // about how checksums are calculated with multipart uploads, see Checking object
    // integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
    // in the Amazon S3 User Guide.
    ChecksumSHA1 *string `type:"string"`

    // The base64-encoded, 256-bit SHA-256 digest of the object. This will only
    // be present if it was uploaded with the object. When you use an API operation
    // on an object that was uploaded using multipart uploads, this value may not
    // be a direct checksum value of the full object. Instead, it's a calculation
    // based on the checksum values of each individual part. For more information
    // about how checksums are calculated with multipart uploads, see Checking object
    // integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
    // in the Amazon S3 User Guide.
    ChecksumSHA256 *string `type:"string"`

    // Entity tag returned when the part was uploaded.
    ETag *string `type:"string"`

    // Part number that identifies the part. This is a positive integer between
    // 1 and 10,000.
    //
    //    * General purpose buckets - In CompleteMultipartUpload, when a additional
    //    checksum (including x-amz-checksum-crc32, x-amz-checksum-crc32c, x-amz-checksum-sha1,
    //    or x-amz-checksum-sha256) is applied to each part, the PartNumber must
    //    start at 1 and the part numbers must be consecutive. Otherwise, Amazon
    //    S3 generates an HTTP 400 Bad Request status code and an InvalidPartOrder
    //    error code.
    //
    //    * Directory buckets - In CompleteMultipartUpload, the PartNumber must
    //    start at 1 and the part numbers must be consecutive.
    PartNumber *int64 `type:"integer"`
    // contains filtered or unexported fields
}

Details of the parts that were uploaded.

func (CompletedPart) GoString

func (s CompletedPart) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CompletedPart) SetChecksumCRC32

func (s *CompletedPart) SetChecksumCRC32(v string) *CompletedPart

SetChecksumCRC32 sets the ChecksumCRC32 field's value.

func (*CompletedPart) SetChecksumCRC32C

func (s *CompletedPart) SetChecksumCRC32C(v string) *CompletedPart

SetChecksumCRC32C sets the ChecksumCRC32C field's value.

func (*CompletedPart) SetChecksumSHA1

func (s *CompletedPart) SetChecksumSHA1(v string) *CompletedPart

SetChecksumSHA1 sets the ChecksumSHA1 field's value.

func (*CompletedPart) SetChecksumSHA256

func (s *CompletedPart) SetChecksumSHA256(v string) *CompletedPart

SetChecksumSHA256 sets the ChecksumSHA256 field's value.

func (*CompletedPart) SetETag

func (s *CompletedPart) SetETag(v string) *CompletedPart

SetETag sets the ETag field's value.

func (*CompletedPart) SetPartNumber

func (s *CompletedPart) SetPartNumber(v int64) *CompletedPart

SetPartNumber sets the PartNumber field's value.

func (CompletedPart) String

func (s CompletedPart) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Condition

type Condition struct {

    // The HTTP error code when the redirect is applied. In the event of an error,
    // if the error code equals this value, then the specified redirect is applied.
    // Required when parent element Condition is specified and sibling KeyPrefixEquals
    // is not specified. If both are specified, then both must be true for the redirect
    // to be applied.
    HttpErrorCodeReturnedEquals *string `type:"string"`

    // The object key name prefix when the redirect is applied. For example, to
    // redirect requests for ExamplePage.html, the key prefix will be ExamplePage.html.
    // To redirect request for all pages with the prefix docs/, the key prefix will
    // be /docs, which identifies all objects in the docs/ folder. Required when
    // the parent element Condition is specified and sibling HttpErrorCodeReturnedEquals
    // is not specified. If both conditions are specified, both must be true for
    // the redirect to be applied.
    //
    // Replacement must be made for object keys containing special characters (such
    // as carriage returns) when using XML requests. For more information, see XML
    // related object key constraints (https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints).
    KeyPrefixEquals *string `type:"string"`
    // contains filtered or unexported fields
}

A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the /docs folder, redirect to the /documents folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error.

func (Condition) GoString

func (s Condition) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Condition) SetHttpErrorCodeReturnedEquals

func (s *Condition) SetHttpErrorCodeReturnedEquals(v string) *Condition

SetHttpErrorCodeReturnedEquals sets the HttpErrorCodeReturnedEquals field's value.

func (*Condition) SetKeyPrefixEquals

func (s *Condition) SetKeyPrefixEquals(v string) *Condition

SetKeyPrefixEquals sets the KeyPrefixEquals field's value.

func (Condition) String

func (s Condition) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ContinuationEvent

type ContinuationEvent struct {
    // contains filtered or unexported fields
}

func (ContinuationEvent) GoString

func (s ContinuationEvent) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ContinuationEvent) MarshalEvent

func (s *ContinuationEvent) MarshalEvent(pm protocol.PayloadMarshaler) (msg eventstream.Message, err error)

MarshalEvent marshals the type into an stream event value. This method should only used internally within the SDK's EventStream handling.

func (ContinuationEvent) String

func (s ContinuationEvent) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ContinuationEvent) UnmarshalEvent

func (s *ContinuationEvent) UnmarshalEvent(
    payloadUnmarshaler protocol.PayloadUnmarshaler,
    msg eventstream.Message,
) error

UnmarshalEvent unmarshals the EventStream Message into the ContinuationEvent value. This method is only used internally within the SDK's EventStream handling.

type CopyObjectInput

type CopyObjectInput struct {

    // The canned access control list (ACL) to apply to the object.
    //
    // When you copy an object, the ACL metadata is not preserved and is set to
    // private by default. Only the owner has full access control. To override the
    // default ACL setting, specify a new ACL when you generate a copy request.
    // For more information, see Using ACLs (https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html).
    //
    // If the destination bucket that you're copying objects to uses the bucket
    // owner enforced setting for S3 Object Ownership, ACLs are disabled and no
    // longer affect permissions. Buckets that use this setting only accept PUT
    // requests that don't specify an ACL or PUT requests that specify bucket owner
    // full control ACLs, such as the bucket-owner-full-control canned ACL or an
    // equivalent form of this ACL expressed in the XML format. For more information,
    // see Controlling ownership of objects and disabling ACLs (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html)
    // in the Amazon S3 User Guide.
    //
    //    * If your destination bucket uses the bucket owner enforced setting for
    //    Object Ownership, all objects written to the bucket by any account will
    //    be owned by the bucket owner.
    //
    //    * This functionality is not supported for directory buckets.
    //
    //    * This functionality is not supported for Amazon S3 on Outposts.
    ACL *string `location:"header" locationName:"x-amz-acl" type:"string" enum:"ObjectCannedACL"`

    // The name of the destination bucket.
    //
    // Directory buckets - When you use this operation with a directory bucket,
    // you must use virtual-hosted-style requests in the format Bucket_name.s3express-az_id.region.amazonaws.com.
    // Path-style requests are not supported. Directory bucket names must be unique
    // in the chosen Availability Zone. Bucket names must follow the format bucket_base_name--az-id--x-s3
    // (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about
    // bucket naming restrictions, see Directory bucket naming rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html)
    // in the Amazon S3 User Guide.
    //
    // Access points - When you use this action with an access point, you must provide
    // the alias of the access point in place of the bucket name or specify the
    // access point ARN. When using the access point ARN, you must direct requests
    // to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
    // When using this action with an access point through the Amazon Web Services
    // SDKs, you provide the access point ARN in place of the bucket name. For more
    // information about access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
    // in the Amazon S3 User Guide.
    //
    // Access points and Object Lambda access points are not supported by directory
    // buckets.
    //
    // S3 on Outposts - When you use this action with Amazon S3 on Outposts, you
    // must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname
    // takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com.
    // When you use this action with S3 on Outposts through the Amazon Web Services
    // SDKs, you provide the Outposts access point ARN in place of the bucket name.
    // For more information about S3 on Outposts ARNs, see What is S3 on Outposts?
    // (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
    // in the Amazon S3 User Guide.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption
    // with server-side encryption using Key Management Service (KMS) keys (SSE-KMS).
    // If a target object uses SSE-KMS, you can enable an S3 Bucket Key for the
    // object.
    //
    // Setting this header to true causes Amazon S3 to use an S3 Bucket Key for
    // object encryption with SSE-KMS. Specifying this header with a COPY action
    // doesn’t affect bucket-level settings for S3 Bucket Key.
    //
    // For more information, see Amazon S3 Bucket Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported when the destination bucket is a directory
    // bucket.
    BucketKeyEnabled *bool `location:"header" locationName:"x-amz-server-side-encryption-bucket-key-enabled" type:"boolean"`

    // Specifies the caching behavior along the request/reply chain.
    CacheControl *string `location:"header" locationName:"Cache-Control" type:"string"`

    // Indicates the algorithm that you want Amazon S3 to use to create the checksum
    // for the object. For more information, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
    // in the Amazon S3 User Guide.
    //
    // When you copy an object, if the source object has a checksum, that checksum
    // value will be copied to the new object by default. If the CopyObject request
    // does not include this x-amz-checksum-algorithm header, the checksum algorithm
    // will be copied from the source object to the destination object (if it's
    // present on the source object). You can optionally specify a different checksum
    // algorithm to use with the x-amz-checksum-algorithm header. Unrecognized or
    // unsupported values will respond with the HTTP status code 400 Bad Request.
    //
    // For directory buckets, when you use Amazon Web Services SDKs, CRC32 is the
    // default checksum algorithm that's used for performance.
    ChecksumAlgorithm *string `location:"header" locationName:"x-amz-checksum-algorithm" type:"string" enum:"ChecksumAlgorithm"`

    // Specifies presentational information for the object. Indicates whether an
    // object should be displayed in a web browser or downloaded as a file. It allows
    // specifying the desired filename for the downloaded file.
    ContentDisposition *string `location:"header" locationName:"Content-Disposition" type:"string"`

    // Specifies what content encodings have been applied to the object and thus
    // what decoding mechanisms must be applied to obtain the media-type referenced
    // by the Content-Type header field.
    //
    // For directory buckets, only the aws-chunked value is supported in this header
    // field.
    ContentEncoding *string `location:"header" locationName:"Content-Encoding" type:"string"`

    // The language the content is in.
    ContentLanguage *string `location:"header" locationName:"Content-Language" type:"string"`

    // A standard MIME type that describes the format of the object data.
    ContentType *string `location:"header" locationName:"Content-Type" type:"string"`

    // Specifies the source object for the copy operation. The source object can
    // be up to 5 GB. If the source object is an object that was uploaded by using
    // a multipart upload, the object copy will be a single part object after the
    // source object is copied to the destination bucket.
    //
    // You specify the value of the copy source in one of two formats, depending
    // on whether you want to access the source object through an access point (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html):
    //
    //    * For objects not accessed through an access point, specify the name of
    //    the source bucket and the key of the source object, separated by a slash
    //    (/). For example, to copy the object reports/january.pdf from the general
    //    purpose bucket awsexamplebucket, use awsexamplebucket/reports/january.pdf.
    //    The value must be URL-encoded. To copy the object reports/january.pdf
    //    from the directory bucket awsexamplebucket--use1-az5--x-s3, use awsexamplebucket--use1-az5--x-s3/reports/january.pdf.
    //    The value must be URL-encoded.
    //
    //    * For objects accessed through access points, specify the Amazon Resource
    //    Name (ARN) of the object as accessed through the access point, in the
    //    format arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key>.
    //    For example, to copy the object reports/january.pdf through access point
    //    my-access-point owned by account 123456789012 in Region us-west-2, use
    //    the URL encoding of arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf.
    //    The value must be URL encoded. Amazon S3 supports copy operations using
    //    Access points only when the source and destination buckets are in the
    //    same Amazon Web Services Region. Access points are not supported by directory
    //    buckets. Alternatively, for objects accessed through Amazon S3 on Outposts,
    //    specify the ARN of the object as accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key>.
    //    For example, to copy the object reports/january.pdf through outpost my-outpost
    //    owned by account 123456789012 in Region us-west-2, use the URL encoding
    //    of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf.
    //    The value must be URL-encoded.
    //
    // If your source bucket versioning is enabled, the x-amz-copy-source header
    // by default identifies the current version of an object to copy. If the current
    // version is a delete marker, Amazon S3 behaves as if the object was deleted.
    // To copy a different version, use the versionId query parameter. Specifically,
    // append ?versionId=<version-id> to the value (for example, awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893).
    // If you don't specify a version ID, Amazon S3 copies the latest version of
    // the source object.
    //
    // If you enable versioning on the destination bucket, Amazon S3 generates a
    // unique version ID for the copied object. This version ID is different from
    // the version ID of the source object. Amazon S3 returns the version ID of
    // the copied object in the x-amz-version-id response header in the response.
    //
    // If you do not enable versioning or suspend it on the destination bucket,
    // the version ID that Amazon S3 generates in the x-amz-version-id response
    // header is always null.
    //
    // Directory buckets - S3 Versioning isn't enabled and supported for directory
    // buckets.
    //
    // CopySource is a required field
    CopySource *string `location:"header" locationName:"x-amz-copy-source" type:"string" required:"true"`

    // Copies the object if its entity tag (ETag) matches the specified tag.
    //
    // If both the x-amz-copy-source-if-match and x-amz-copy-source-if-unmodified-since
    // headers are present in the request and evaluate as follows, Amazon S3 returns
    // 200 OK and copies the data:
    //
    //    * x-amz-copy-source-if-match condition evaluates to true
    //
    //    * x-amz-copy-source-if-unmodified-since condition evaluates to false
    CopySourceIfMatch *string `location:"header" locationName:"x-amz-copy-source-if-match" type:"string"`

    // Copies the object if it has been modified since the specified time.
    //
    // If both the x-amz-copy-source-if-none-match and x-amz-copy-source-if-modified-since
    // headers are present in the request and evaluate as follows, Amazon S3 returns
    // the 412 Precondition Failed response code:
    //
    //    * x-amz-copy-source-if-none-match condition evaluates to false
    //
    //    * x-amz-copy-source-if-modified-since condition evaluates to true
    CopySourceIfModifiedSince *time.Time `location:"header" locationName:"x-amz-copy-source-if-modified-since" type:"timestamp"`

    // Copies the object if its entity tag (ETag) is different than the specified
    // ETag.
    //
    // If both the x-amz-copy-source-if-none-match and x-amz-copy-source-if-modified-since
    // headers are present in the request and evaluate as follows, Amazon S3 returns
    // the 412 Precondition Failed response code:
    //
    //    * x-amz-copy-source-if-none-match condition evaluates to false
    //
    //    * x-amz-copy-source-if-modified-since condition evaluates to true
    CopySourceIfNoneMatch *string `location:"header" locationName:"x-amz-copy-source-if-none-match" type:"string"`

    // Copies the object if it hasn't been modified since the specified time.
    //
    // If both the x-amz-copy-source-if-match and x-amz-copy-source-if-unmodified-since
    // headers are present in the request and evaluate as follows, Amazon S3 returns
    // 200 OK and copies the data:
    //
    //    * x-amz-copy-source-if-match condition evaluates to true
    //
    //    * x-amz-copy-source-if-unmodified-since condition evaluates to false
    CopySourceIfUnmodifiedSince *time.Time `location:"header" locationName:"x-amz-copy-source-if-unmodified-since" type:"timestamp"`

    // Specifies the algorithm to use when decrypting the source object (for example,
    // AES256).
    //
    // If the source object for the copy is stored in Amazon S3 using SSE-C, you
    // must provide the necessary encryption information in your request so that
    // Amazon S3 can decrypt the object for copying.
    //
    // This functionality is not supported when the source object is in a directory
    // bucket.
    CopySourceSSECustomerAlgorithm *string `location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-algorithm" type:"string"`

    // Specifies the customer-provided encryption key for Amazon S3 to use to decrypt
    // the source object. The encryption key provided in this header must be the
    // same one that was used when the source object was created.
    //
    // If the source object for the copy is stored in Amazon S3 using SSE-C, you
    // must provide the necessary encryption information in your request so that
    // Amazon S3 can decrypt the object for copying.
    //
    // This functionality is not supported when the source object is in a directory
    // bucket.
    //
    // CopySourceSSECustomerKey is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by CopyObjectInput's
    // String and GoString methods.
    CopySourceSSECustomerKey *string `marshal-as:"blob" location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-key" type:"string" sensitive:"true"`

    // Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.
    // Amazon S3 uses this header for a message integrity check to ensure that the
    // encryption key was transmitted without error.
    //
    // If the source object for the copy is stored in Amazon S3 using SSE-C, you
    // must provide the necessary encryption information in your request so that
    // Amazon S3 can decrypt the object for copying.
    //
    // This functionality is not supported when the source object is in a directory
    // bucket.
    CopySourceSSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-key-MD5" type:"string"`

    // The account ID of the expected destination bucket owner. If the account ID
    // that you provide does not match the actual owner of the destination bucket,
    // the request fails with the HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // The account ID of the expected source bucket owner. If the account ID that
    // you provide does not match the actual owner of the source bucket, the request
    // fails with the HTTP status code 403 Forbidden (access denied).
    ExpectedSourceBucketOwner *string `location:"header" locationName:"x-amz-source-expected-bucket-owner" type:"string"`

    // The date and time at which the object is no longer cacheable.
    Expires *time.Time `location:"header" locationName:"Expires" type:"timestamp"`

    // Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
    //
    //    * This functionality is not supported for directory buckets.
    //
    //    * This functionality is not supported for Amazon S3 on Outposts.
    GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"`

    // Allows grantee to read the object data and its metadata.
    //
    //    * This functionality is not supported for directory buckets.
    //
    //    * This functionality is not supported for Amazon S3 on Outposts.
    GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string"`

    // Allows grantee to read the object ACL.
    //
    //    * This functionality is not supported for directory buckets.
    //
    //    * This functionality is not supported for Amazon S3 on Outposts.
    GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string"`

    // Allows grantee to write the ACL for the applicable object.
    //
    //    * This functionality is not supported for directory buckets.
    //
    //    * This functionality is not supported for Amazon S3 on Outposts.
    GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"`

    // The key of the destination object.
    //
    // Key is a required field
    Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`

    // A map of metadata to store with the object in S3.
    Metadata map[string]*string `location:"headers" locationName:"x-amz-meta-" type:"map"`

    // Specifies whether the metadata is copied from the source object or replaced
    // with metadata that's provided in the request. When copying an object, you
    // can preserve all metadata (the default) or specify new metadata. If this
    // header isn’t specified, COPY is the default behavior.
    //
    // General purpose bucket - For general purpose buckets, when you grant permissions,
    // you can use the s3:x-amz-metadata-directive condition key to enforce certain
    // metadata behavior when objects are uploaded. For more information, see Amazon
    // S3 condition key examples (https://docs.aws.amazon.com/AmazonS3/latest/dev/amazon-s3-policy-keys.html)
    // in the Amazon S3 User Guide.
    //
    // x-amz-website-redirect-location is unique to each object and is not copied
    // when using the x-amz-metadata-directive header. To copy the value, you must
    // specify x-amz-website-redirect-location in the request header.
    MetadataDirective *string `location:"header" locationName:"x-amz-metadata-directive" type:"string" enum:"MetadataDirective"`

    // Specifies whether you want to apply a legal hold to the object copy.
    //
    // This functionality is not supported for directory buckets.
    ObjectLockLegalHoldStatus *string `location:"header" locationName:"x-amz-object-lock-legal-hold" type:"string" enum:"ObjectLockLegalHoldStatus"`

    // The Object Lock mode that you want to apply to the object copy.
    //
    // This functionality is not supported for directory buckets.
    ObjectLockMode *string `location:"header" locationName:"x-amz-object-lock-mode" type:"string" enum:"ObjectLockMode"`

    // The date and time when you want the Object Lock of the object copy to expire.
    //
    // This functionality is not supported for directory buckets.
    ObjectLockRetainUntilDate *time.Time `location:"header" locationName:"x-amz-object-lock-retain-until-date" type:"timestamp" timestampFormat:"iso8601"`

    // Confirms that the requester knows that they will be charged for the request.
    // Bucket owners need not specify this parameter in their requests. If either
    // the source or destination S3 bucket has Requester Pays enabled, the requester
    // will pay for corresponding charges to copy the object. For information about
    // downloading objects from Requester Pays buckets, see Downloading Objects
    // in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`

    // Specifies the algorithm to use when encrypting the object (for example, AES256).
    //
    // When you perform a CopyObject operation, if you want to use a different type
    // of encryption setting for the target object, you can specify appropriate
    // encryption-related headers to encrypt the target object with an Amazon S3
    // managed key, a KMS key, or a customer-provided key. If the encryption setting
    // in your request is different from the default encryption configuration of
    // the destination bucket, the encryption setting in your request takes precedence.
    //
    // This functionality is not supported when the destination bucket is a directory
    // bucket.
    SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"`

    // Specifies the customer-provided encryption key for Amazon S3 to use in encrypting
    // data. This value is used to store the object and then it is discarded. Amazon
    // S3 does not store the encryption key. The key must be appropriate for use
    // with the algorithm specified in the x-amz-server-side-encryption-customer-algorithm
    // header.
    //
    // This functionality is not supported when the destination bucket is a directory
    // bucket.
    //
    // SSECustomerKey is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by CopyObjectInput's
    // String and GoString methods.
    SSECustomerKey *string `marshal-as:"blob" location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string" sensitive:"true"`

    // Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.
    // Amazon S3 uses this header for a message integrity check to ensure that the
    // encryption key was transmitted without error.
    //
    // This functionality is not supported when the destination bucket is a directory
    // bucket.
    SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"`

    // Specifies the Amazon Web Services KMS Encryption Context to use for object
    // encryption. The value of this header is a base64-encoded UTF-8 string holding
    // JSON with the encryption context key-value pairs. This value must be explicitly
    // added to specify encryption context for CopyObject requests.
    //
    // This functionality is not supported when the destination bucket is a directory
    // bucket.
    //
    // SSEKMSEncryptionContext is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by CopyObjectInput's
    // String and GoString methods.
    SSEKMSEncryptionContext *string `location:"header" locationName:"x-amz-server-side-encryption-context" type:"string" sensitive:"true"`

    // Specifies the KMS ID (Key ID, Key ARN, or Key Alias) to use for object encryption.
    // All GET and PUT requests for an object protected by KMS will fail if they're
    // not made via SSL or using SigV4. For information about configuring any of
    // the officially supported Amazon Web Services SDKs and Amazon Web Services
    // CLI, see Specifying the Signature Version in Request Authentication (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported when the destination bucket is a directory
    // bucket.
    //
    // SSEKMSKeyId is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by CopyObjectInput's
    // String and GoString methods.
    SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string" sensitive:"true"`

    // The server-side encryption algorithm used when storing this object in Amazon
    // S3 (for example, AES256, aws:kms, aws:kms:dsse). Unrecognized or unsupported
    // values won’t write a destination object and will receive a 400 Bad Request
    // response.
    //
    // Amazon S3 automatically encrypts all new objects that are copied to an S3
    // bucket. When copying an object, if you don't specify encryption information
    // in your copy request, the encryption setting of the target object is set
    // to the default encryption configuration of the destination bucket. By default,
    // all buckets have a base level of encryption configuration that uses server-side
    // encryption with Amazon S3 managed keys (SSE-S3). If the destination bucket
    // has a default encryption configuration that uses server-side encryption with
    // Key Management Service (KMS) keys (SSE-KMS), dual-layer server-side encryption
    // with Amazon Web Services KMS keys (DSSE-KMS), or server-side encryption with
    // customer-provided encryption keys (SSE-C), Amazon S3 uses the corresponding
    // KMS key, or a customer-provided key to encrypt the target object copy.
    //
    // When you perform a CopyObject operation, if you want to use a different type
    // of encryption setting for the target object, you can specify appropriate
    // encryption-related headers to encrypt the target object with an Amazon S3
    // managed key, a KMS key, or a customer-provided key. If the encryption setting
    // in your request is different from the default encryption configuration of
    // the destination bucket, the encryption setting in your request takes precedence.
    //
    // With server-side encryption, Amazon S3 encrypts your data as it writes your
    // data to disks in its data centers and decrypts the data when you access it.
    // For more information about server-side encryption, see Using Server-Side
    // Encryption (https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html)
    // in the Amazon S3 User Guide.
    //
    // For directory buckets, only server-side encryption with Amazon S3 managed
    // keys (SSE-S3) (AES256) is supported.
    ServerSideEncryption *string `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"ServerSideEncryption"`

    // If the x-amz-storage-class header is not used, the copied object will be
    // stored in the STANDARD Storage Class by default. The STANDARD storage class
    // provides high durability and high availability. Depending on performance
    // needs, you can specify a different Storage Class.
    //
    //    * Directory buckets - For directory buckets, only the S3 Express One Zone
    //    storage class is supported to store newly created objects. Unsupported
    //    storage class values won't write a destination object and will respond
    //    with the HTTP status code 400 Bad Request.
    //
    //    * Amazon S3 on Outposts - S3 on Outposts only uses the OUTPOSTS Storage
    //    Class.
    //
    // You can use the CopyObject action to change the storage class of an object
    // that is already stored in Amazon S3 by using the x-amz-storage-class header.
    // For more information, see Storage Classes (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html)
    // in the Amazon S3 User Guide.
    //
    // Before using an object as a source object for the copy operation, you must
    // restore a copy of it if it meets any of the following conditions:
    //
    //    * The storage class of the source object is GLACIER or DEEP_ARCHIVE.
    //
    //    * The storage class of the source object is INTELLIGENT_TIERING and it's
    //    S3 Intelligent-Tiering access tier (https://docs.aws.amazon.com/AmazonS3/latest/userguide/intelligent-tiering-overview.html#intel-tiering-tier-definition)
    //    is Archive Access or Deep Archive Access.
    //
    // For more information, see RestoreObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html)
    // and Copying Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjectsExamples.html)
    // in the Amazon S3 User Guide.
    StorageClass *string `location:"header" locationName:"x-amz-storage-class" type:"string" enum:"StorageClass"`

    // The tag-set for the object copy in the destination bucket. This value must
    // be used in conjunction with the x-amz-tagging-directive if you choose REPLACE
    // for the x-amz-tagging-directive. If you choose COPY for the x-amz-tagging-directive,
    // you don't need to set the x-amz-tagging header, because the tag-set will
    // be copied from the source object directly. The tag-set must be encoded as
    // URL Query parameters.
    //
    // The default value is the empty value.
    //
    // Directory buckets - For directory buckets in a CopyObject operation, only
    // the empty tag-set is supported. Any requests that attempt to write non-empty
    // tags into directory buckets will receive a 501 Not Implemented status code.
    // When the destination bucket is a directory bucket, you will receive a 501
    // Not Implemented response in any of the following situations:
    //
    //    * When you attempt to COPY the tag-set from an S3 source object that has
    //    non-empty tags.
    //
    //    * When you attempt to REPLACE the tag-set of a source object and set a
    //    non-empty value to x-amz-tagging.
    //
    //    * When you don't set the x-amz-tagging-directive header and the source
    //    object has non-empty tags. This is because the default value of x-amz-tagging-directive
    //    is COPY.
    //
    // Because only the empty tag-set is supported for directory buckets in a CopyObject
    // operation, the following situations are allowed:
    //
    //    * When you attempt to COPY the tag-set from a directory bucket source
    //    object that has no tags to a general purpose bucket. It copies an empty
    //    tag-set to the destination object.
    //
    //    * When you attempt to REPLACE the tag-set of a directory bucket source
    //    object and set the x-amz-tagging value of the directory bucket destination
    //    object to empty.
    //
    //    * When you attempt to REPLACE the tag-set of a general purpose bucket
    //    source object that has non-empty tags and set the x-amz-tagging value
    //    of the directory bucket destination object to empty.
    //
    //    * When you attempt to REPLACE the tag-set of a directory bucket source
    //    object and don't set the x-amz-tagging value of the directory bucket destination
    //    object. This is because the default value of x-amz-tagging is the empty
    //    value.
    Tagging *string `location:"header" locationName:"x-amz-tagging" type:"string"`

    // Specifies whether the object tag-set is copied from the source object or
    // replaced with the tag-set that's provided in the request.
    //
    // The default value is COPY.
    //
    // Directory buckets - For directory buckets in a CopyObject operation, only
    // the empty tag-set is supported. Any requests that attempt to write non-empty
    // tags into directory buckets will receive a 501 Not Implemented status code.
    // When the destination bucket is a directory bucket, you will receive a 501
    // Not Implemented response in any of the following situations:
    //
    //    * When you attempt to COPY the tag-set from an S3 source object that has
    //    non-empty tags.
    //
    //    * When you attempt to REPLACE the tag-set of a source object and set a
    //    non-empty value to x-amz-tagging.
    //
    //    * When you don't set the x-amz-tagging-directive header and the source
    //    object has non-empty tags. This is because the default value of x-amz-tagging-directive
    //    is COPY.
    //
    // Because only the empty tag-set is supported for directory buckets in a CopyObject
    // operation, the following situations are allowed:
    //
    //    * When you attempt to COPY the tag-set from a directory bucket source
    //    object that has no tags to a general purpose bucket. It copies an empty
    //    tag-set to the destination object.
    //
    //    * When you attempt to REPLACE the tag-set of a directory bucket source
    //    object and set the x-amz-tagging value of the directory bucket destination
    //    object to empty.
    //
    //    * When you attempt to REPLACE the tag-set of a general purpose bucket
    //    source object that has non-empty tags and set the x-amz-tagging value
    //    of the directory bucket destination object to empty.
    //
    //    * When you attempt to REPLACE the tag-set of a directory bucket source
    //    object and don't set the x-amz-tagging value of the directory bucket destination
    //    object. This is because the default value of x-amz-tagging is the empty
    //    value.
    TaggingDirective *string `location:"header" locationName:"x-amz-tagging-directive" type:"string" enum:"TaggingDirective"`

    // If the destination bucket is configured as a website, redirects requests
    // for this object copy to another object in the same bucket or to an external
    // URL. Amazon S3 stores the value of this header in the object metadata. This
    // value is unique to each object and is not copied when using the x-amz-metadata-directive
    // header. Instead, you may opt to provide this header in combination with the
    // x-amz-metadata-directive header.
    //
    // This functionality is not supported for directory buckets.
    WebsiteRedirectLocation *string `location:"header" locationName:"x-amz-website-redirect-location" type:"string"`
    // contains filtered or unexported fields
}

func (CopyObjectInput) GoString

func (s CopyObjectInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CopyObjectInput) SetACL

func (s *CopyObjectInput) SetACL(v string) *CopyObjectInput

SetACL sets the ACL field's value.

func (*CopyObjectInput) SetBucket

func (s *CopyObjectInput) SetBucket(v string) *CopyObjectInput

SetBucket sets the Bucket field's value.

func (*CopyObjectInput) SetBucketKeyEnabled

func (s *CopyObjectInput) SetBucketKeyEnabled(v bool) *CopyObjectInput

SetBucketKeyEnabled sets the BucketKeyEnabled field's value.

func (*CopyObjectInput) SetCacheControl

func (s *CopyObjectInput) SetCacheControl(v string) *CopyObjectInput

SetCacheControl sets the CacheControl field's value.

func (*CopyObjectInput) SetChecksumAlgorithm

func (s *CopyObjectInput) SetChecksumAlgorithm(v string) *CopyObjectInput

SetChecksumAlgorithm sets the ChecksumAlgorithm field's value.

func (*CopyObjectInput) SetContentDisposition

func (s *CopyObjectInput) SetContentDisposition(v string) *CopyObjectInput

SetContentDisposition sets the ContentDisposition field's value.

func (*CopyObjectInput) SetContentEncoding

func (s *CopyObjectInput) SetContentEncoding(v string) *CopyObjectInput

SetContentEncoding sets the ContentEncoding field's value.

func (*CopyObjectInput) SetContentLanguage

func (s *CopyObjectInput) SetContentLanguage(v string) *CopyObjectInput

SetContentLanguage sets the ContentLanguage field's value.

func (*CopyObjectInput) SetContentType

func (s *CopyObjectInput) SetContentType(v string) *CopyObjectInput

SetContentType sets the ContentType field's value.

func (*CopyObjectInput) SetCopySource

func (s *CopyObjectInput) SetCopySource(v string) *CopyObjectInput

SetCopySource sets the CopySource field's value.

func (*CopyObjectInput) SetCopySourceIfMatch

func (s *CopyObjectInput) SetCopySourceIfMatch(v string) *CopyObjectInput

SetCopySourceIfMatch sets the CopySourceIfMatch field's value.

func (*CopyObjectInput) SetCopySourceIfModifiedSince

func (s *CopyObjectInput) SetCopySourceIfModifiedSince(v time.Time) *CopyObjectInput

SetCopySourceIfModifiedSince sets the CopySourceIfModifiedSince field's value.

func (*CopyObjectInput) SetCopySourceIfNoneMatch

func (s *CopyObjectInput) SetCopySourceIfNoneMatch(v string) *CopyObjectInput

SetCopySourceIfNoneMatch sets the CopySourceIfNoneMatch field's value.

func (*CopyObjectInput) SetCopySourceIfUnmodifiedSince

func (s *CopyObjectInput) SetCopySourceIfUnmodifiedSince(v time.Time) *CopyObjectInput

SetCopySourceIfUnmodifiedSince sets the CopySourceIfUnmodifiedSince field's value.

func (*CopyObjectInput) SetCopySourceSSECustomerAlgorithm

func (s *CopyObjectInput) SetCopySourceSSECustomerAlgorithm(v string) *CopyObjectInput

SetCopySourceSSECustomerAlgorithm sets the CopySourceSSECustomerAlgorithm field's value.

func (*CopyObjectInput) SetCopySourceSSECustomerKey

func (s *CopyObjectInput) SetCopySourceSSECustomerKey(v string) *CopyObjectInput

SetCopySourceSSECustomerKey sets the CopySourceSSECustomerKey field's value.

func (*CopyObjectInput) SetCopySourceSSECustomerKeyMD5

func (s *CopyObjectInput) SetCopySourceSSECustomerKeyMD5(v string) *CopyObjectInput

SetCopySourceSSECustomerKeyMD5 sets the CopySourceSSECustomerKeyMD5 field's value.

func (*CopyObjectInput) SetExpectedBucketOwner

func (s *CopyObjectInput) SetExpectedBucketOwner(v string) *CopyObjectInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*CopyObjectInput) SetExpectedSourceBucketOwner

func (s *CopyObjectInput) SetExpectedSourceBucketOwner(v string) *CopyObjectInput

SetExpectedSourceBucketOwner sets the ExpectedSourceBucketOwner field's value.

func (*CopyObjectInput) SetExpires

func (s *CopyObjectInput) SetExpires(v time.Time) *CopyObjectInput

SetExpires sets the Expires field's value.

func (*CopyObjectInput) SetGrantFullControl

func (s *CopyObjectInput) SetGrantFullControl(v string) *CopyObjectInput

SetGrantFullControl sets the GrantFullControl field's value.

func (*CopyObjectInput) SetGrantRead

func (s *CopyObjectInput) SetGrantRead(v string) *CopyObjectInput

SetGrantRead sets the GrantRead field's value.

func (*CopyObjectInput) SetGrantReadACP

func (s *CopyObjectInput) SetGrantReadACP(v string) *CopyObjectInput

SetGrantReadACP sets the GrantReadACP field's value.

func (*CopyObjectInput) SetGrantWriteACP

func (s *CopyObjectInput) SetGrantWriteACP(v string) *CopyObjectInput

SetGrantWriteACP sets the GrantWriteACP field's value.

func (*CopyObjectInput) SetKey

func (s *CopyObjectInput) SetKey(v string) *CopyObjectInput

SetKey sets the Key field's value.

func (*CopyObjectInput) SetMetadata

func (s *CopyObjectInput) SetMetadata(v map[string]*string) *CopyObjectInput

SetMetadata sets the Metadata field's value.

func (*CopyObjectInput) SetMetadataDirective

func (s *CopyObjectInput) SetMetadataDirective(v string) *CopyObjectInput

SetMetadataDirective sets the MetadataDirective field's value.

func (*CopyObjectInput) SetObjectLockLegalHoldStatus

func (s *CopyObjectInput) SetObjectLockLegalHoldStatus(v string) *CopyObjectInput

SetObjectLockLegalHoldStatus sets the ObjectLockLegalHoldStatus field's value.

func (*CopyObjectInput) SetObjectLockMode

func (s *CopyObjectInput) SetObjectLockMode(v string) *CopyObjectInput

SetObjectLockMode sets the ObjectLockMode field's value.

func (*CopyObjectInput) SetObjectLockRetainUntilDate

func (s *CopyObjectInput) SetObjectLockRetainUntilDate(v time.Time) *CopyObjectInput

SetObjectLockRetainUntilDate sets the ObjectLockRetainUntilDate field's value.

func (*CopyObjectInput) SetRequestPayer

func (s *CopyObjectInput) SetRequestPayer(v string) *CopyObjectInput

SetRequestPayer sets the RequestPayer field's value.

func (*CopyObjectInput) SetSSECustomerAlgorithm

func (s *CopyObjectInput) SetSSECustomerAlgorithm(v string) *CopyObjectInput

SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.

func (*CopyObjectInput) SetSSECustomerKey

func (s *CopyObjectInput) SetSSECustomerKey(v string) *CopyObjectInput

SetSSECustomerKey sets the SSECustomerKey field's value.

func (*CopyObjectInput) SetSSECustomerKeyMD5

func (s *CopyObjectInput) SetSSECustomerKeyMD5(v string) *CopyObjectInput

SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.

func (*CopyObjectInput) SetSSEKMSEncryptionContext

func (s *CopyObjectInput) SetSSEKMSEncryptionContext(v string) *CopyObjectInput

SetSSEKMSEncryptionContext sets the SSEKMSEncryptionContext field's value.

func (*CopyObjectInput) SetSSEKMSKeyId

func (s *CopyObjectInput) SetSSEKMSKeyId(v string) *CopyObjectInput

SetSSEKMSKeyId sets the SSEKMSKeyId field's value.

func (*CopyObjectInput) SetServerSideEncryption

func (s *CopyObjectInput) SetServerSideEncryption(v string) *CopyObjectInput

SetServerSideEncryption sets the ServerSideEncryption field's value.

func (*CopyObjectInput) SetStorageClass

func (s *CopyObjectInput) SetStorageClass(v string) *CopyObjectInput

SetStorageClass sets the StorageClass field's value.

func (*CopyObjectInput) SetTagging

func (s *CopyObjectInput) SetTagging(v string) *CopyObjectInput

SetTagging sets the Tagging field's value.

func (*CopyObjectInput) SetTaggingDirective

func (s *CopyObjectInput) SetTaggingDirective(v string) *CopyObjectInput

SetTaggingDirective sets the TaggingDirective field's value.

func (*CopyObjectInput) SetWebsiteRedirectLocation

func (s *CopyObjectInput) SetWebsiteRedirectLocation(v string) *CopyObjectInput

SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value.

func (CopyObjectInput) String

func (s CopyObjectInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CopyObjectInput) Validate

func (s *CopyObjectInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CopyObjectOutput

type CopyObjectOutput struct {

    // Indicates whether the copied object uses an S3 Bucket Key for server-side
    // encryption with Key Management Service (KMS) keys (SSE-KMS).
    //
    // This functionality is not supported for directory buckets.
    BucketKeyEnabled *bool `location:"header" locationName:"x-amz-server-side-encryption-bucket-key-enabled" type:"boolean"`

    // Container for all response elements.
    CopyObjectResult *CopyObjectResult `type:"structure"`

    // Version ID of the source object that was copied.
    //
    // This functionality is not supported when the source object is in a directory
    // bucket.
    CopySourceVersionId *string `location:"header" locationName:"x-amz-copy-source-version-id" type:"string"`

    // If the object expiration is configured, the response includes this header.
    //
    // This functionality is not supported for directory buckets.
    Expiration *string `location:"header" locationName:"x-amz-expiration" type:"string"`

    // If present, indicates that the requester was successfully charged for the
    // request.
    //
    // This functionality is not supported for directory buckets.
    RequestCharged *string `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"`

    // If server-side encryption with a customer-provided encryption key was requested,
    // the response will include this header to confirm the encryption algorithm
    // that's used.
    //
    // This functionality is not supported for directory buckets.
    SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"`

    // If server-side encryption with a customer-provided encryption key was requested,
    // the response will include this header to provide the round-trip message integrity
    // verification of the customer-provided encryption key.
    //
    // This functionality is not supported for directory buckets.
    SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"`

    // If present, indicates the Amazon Web Services KMS Encryption Context to use
    // for object encryption. The value of this header is a base64-encoded UTF-8
    // string holding JSON with the encryption context key-value pairs.
    //
    // This functionality is not supported for directory buckets.
    //
    // SSEKMSEncryptionContext is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by CopyObjectOutput's
    // String and GoString methods.
    SSEKMSEncryptionContext *string `location:"header" locationName:"x-amz-server-side-encryption-context" type:"string" sensitive:"true"`

    // If present, indicates the ID of the Key Management Service (KMS) symmetric
    // encryption customer managed key that was used for the object.
    //
    // This functionality is not supported for directory buckets.
    //
    // SSEKMSKeyId is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by CopyObjectOutput's
    // String and GoString methods.
    SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string" sensitive:"true"`

    // The server-side encryption algorithm used when you store this object in Amazon
    // S3 (for example, AES256, aws:kms, aws:kms:dsse).
    //
    // For directory buckets, only server-side encryption with Amazon S3 managed
    // keys (SSE-S3) (AES256) is supported.
    ServerSideEncryption *string `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"ServerSideEncryption"`

    // Version ID of the newly created copy.
    //
    // This functionality is not supported for directory buckets.
    VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"`
    // contains filtered or unexported fields
}

func (CopyObjectOutput) GoString

func (s CopyObjectOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CopyObjectOutput) SetBucketKeyEnabled

func (s *CopyObjectOutput) SetBucketKeyEnabled(v bool) *CopyObjectOutput

SetBucketKeyEnabled sets the BucketKeyEnabled field's value.

func (*CopyObjectOutput) SetCopyObjectResult

func (s *CopyObjectOutput) SetCopyObjectResult(v *CopyObjectResult) *CopyObjectOutput

SetCopyObjectResult sets the CopyObjectResult field's value.

func (*CopyObjectOutput) SetCopySourceVersionId

func (s *CopyObjectOutput) SetCopySourceVersionId(v string) *CopyObjectOutput

SetCopySourceVersionId sets the CopySourceVersionId field's value.

func (*CopyObjectOutput) SetExpiration

func (s *CopyObjectOutput) SetExpiration(v string) *CopyObjectOutput

SetExpiration sets the Expiration field's value.

func (*CopyObjectOutput) SetRequestCharged

func (s *CopyObjectOutput) SetRequestCharged(v string) *CopyObjectOutput

SetRequestCharged sets the RequestCharged field's value.

func (*CopyObjectOutput) SetSSECustomerAlgorithm

func (s *CopyObjectOutput) SetSSECustomerAlgorithm(v string) *CopyObjectOutput

SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.

func (*CopyObjectOutput) SetSSECustomerKeyMD5

func (s *CopyObjectOutput) SetSSECustomerKeyMD5(v string) *CopyObjectOutput

SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.

func (*CopyObjectOutput) SetSSEKMSEncryptionContext

func (s *CopyObjectOutput) SetSSEKMSEncryptionContext(v string) *CopyObjectOutput

SetSSEKMSEncryptionContext sets the SSEKMSEncryptionContext field's value.

func (*CopyObjectOutput) SetSSEKMSKeyId

func (s *CopyObjectOutput) SetSSEKMSKeyId(v string) *CopyObjectOutput

SetSSEKMSKeyId sets the SSEKMSKeyId field's value.

func (*CopyObjectOutput) SetServerSideEncryption

func (s *CopyObjectOutput) SetServerSideEncryption(v string) *CopyObjectOutput

SetServerSideEncryption sets the ServerSideEncryption field's value.

func (*CopyObjectOutput) SetVersionId

func (s *CopyObjectOutput) SetVersionId(v string) *CopyObjectOutput

SetVersionId sets the VersionId field's value.

func (CopyObjectOutput) String

func (s CopyObjectOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CopyObjectResult

type CopyObjectResult struct {

    // The base64-encoded, 32-bit CRC32 checksum of the object. This will only be
    // present if it was uploaded with the object. For more information, see Checking
    // object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
    // in the Amazon S3 User Guide.
    ChecksumCRC32 *string `type:"string"`

    // The base64-encoded, 32-bit CRC32C checksum of the object. This will only
    // be present if it was uploaded with the object. For more information, see
    // Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
    // in the Amazon S3 User Guide.
    ChecksumCRC32C *string `type:"string"`

    // The base64-encoded, 160-bit SHA-1 digest of the object. This will only be
    // present if it was uploaded with the object. For more information, see Checking
    // object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
    // in the Amazon S3 User Guide.
    ChecksumSHA1 *string `type:"string"`

    // The base64-encoded, 256-bit SHA-256 digest of the object. This will only
    // be present if it was uploaded with the object. For more information, see
    // Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
    // in the Amazon S3 User Guide.
    ChecksumSHA256 *string `type:"string"`

    // Returns the ETag of the new object. The ETag reflects only changes to the
    // contents of an object, not its metadata.
    ETag *string `type:"string"`

    // Creation date of the object.
    LastModified *time.Time `type:"timestamp"`
    // contains filtered or unexported fields
}

Container for all response elements.

func (CopyObjectResult) GoString

func (s CopyObjectResult) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CopyObjectResult) SetChecksumCRC32

func (s *CopyObjectResult) SetChecksumCRC32(v string) *CopyObjectResult

SetChecksumCRC32 sets the ChecksumCRC32 field's value.

func (*CopyObjectResult) SetChecksumCRC32C

func (s *CopyObjectResult) SetChecksumCRC32C(v string) *CopyObjectResult

SetChecksumCRC32C sets the ChecksumCRC32C field's value.

func (*CopyObjectResult) SetChecksumSHA1

func (s *CopyObjectResult) SetChecksumSHA1(v string) *CopyObjectResult

SetChecksumSHA1 sets the ChecksumSHA1 field's value.

func (*CopyObjectResult) SetChecksumSHA256

func (s *CopyObjectResult) SetChecksumSHA256(v string) *CopyObjectResult

SetChecksumSHA256 sets the ChecksumSHA256 field's value.

func (*CopyObjectResult) SetETag

func (s *CopyObjectResult) SetETag(v string) *CopyObjectResult

SetETag sets the ETag field's value.

func (*CopyObjectResult) SetLastModified

func (s *CopyObjectResult) SetLastModified(v time.Time) *CopyObjectResult

SetLastModified sets the LastModified field's value.

func (CopyObjectResult) String

func (s CopyObjectResult) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CopyPartResult

type CopyPartResult struct {

    // The base64-encoded, 32-bit CRC32 checksum of the object. This will only be
    // present if it was uploaded with the object. When you use an API operation
    // on an object that was uploaded using multipart uploads, this value may not
    // be a direct checksum value of the full object. Instead, it's a calculation
    // based on the checksum values of each individual part. For more information
    // about how checksums are calculated with multipart uploads, see Checking object
    // integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
    // in the Amazon S3 User Guide.
    ChecksumCRC32 *string `type:"string"`

    // The base64-encoded, 32-bit CRC32C checksum of the object. This will only
    // be present if it was uploaded with the object. When you use an API operation
    // on an object that was uploaded using multipart uploads, this value may not
    // be a direct checksum value of the full object. Instead, it's a calculation
    // based on the checksum values of each individual part. For more information
    // about how checksums are calculated with multipart uploads, see Checking object
    // integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
    // in the Amazon S3 User Guide.
    ChecksumCRC32C *string `type:"string"`

    // The base64-encoded, 160-bit SHA-1 digest of the object. This will only be
    // present if it was uploaded with the object. When you use the API operation
    // on an object that was uploaded using multipart uploads, this value may not
    // be a direct checksum value of the full object. Instead, it's a calculation
    // based on the checksum values of each individual part. For more information
    // about how checksums are calculated with multipart uploads, see Checking object
    // integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
    // in the Amazon S3 User Guide.
    ChecksumSHA1 *string `type:"string"`

    // The base64-encoded, 256-bit SHA-256 digest of the object. This will only
    // be present if it was uploaded with the object. When you use an API operation
    // on an object that was uploaded using multipart uploads, this value may not
    // be a direct checksum value of the full object. Instead, it's a calculation
    // based on the checksum values of each individual part. For more information
    // about how checksums are calculated with multipart uploads, see Checking object
    // integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
    // in the Amazon S3 User Guide.
    ChecksumSHA256 *string `type:"string"`

    // Entity tag of the object.
    ETag *string `type:"string"`

    // Date and time at which the object was uploaded.
    LastModified *time.Time `type:"timestamp"`
    // contains filtered or unexported fields
}

Container for all response elements.

func (CopyPartResult) GoString

func (s CopyPartResult) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CopyPartResult) SetChecksumCRC32

func (s *CopyPartResult) SetChecksumCRC32(v string) *CopyPartResult

SetChecksumCRC32 sets the ChecksumCRC32 field's value.

func (*CopyPartResult) SetChecksumCRC32C

func (s *CopyPartResult) SetChecksumCRC32C(v string) *CopyPartResult

SetChecksumCRC32C sets the ChecksumCRC32C field's value.

func (*CopyPartResult) SetChecksumSHA1

func (s *CopyPartResult) SetChecksumSHA1(v string) *CopyPartResult

SetChecksumSHA1 sets the ChecksumSHA1 field's value.

func (*CopyPartResult) SetChecksumSHA256

func (s *CopyPartResult) SetChecksumSHA256(v string) *CopyPartResult

SetChecksumSHA256 sets the ChecksumSHA256 field's value.

func (*CopyPartResult) SetETag

func (s *CopyPartResult) SetETag(v string) *CopyPartResult

SetETag sets the ETag field's value.

func (*CopyPartResult) SetLastModified

func (s *CopyPartResult) SetLastModified(v time.Time) *CopyPartResult

SetLastModified sets the LastModified field's value.

func (CopyPartResult) String

func (s CopyPartResult) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateBucketConfiguration

type CreateBucketConfiguration struct {

    // Specifies the information about the bucket that will be created.
    //
    // This functionality is only supported by directory buckets.
    Bucket *BucketInfo `type:"structure"`

    // Specifies the location where the bucket will be created.
    //
    // For directory buckets, the location type is Availability Zone.
    //
    // This functionality is only supported by directory buckets.
    Location *LocationInfo `type:"structure"`

    // Specifies the Region where the bucket will be created. You might choose a
    // Region to optimize latency, minimize costs, or address regulatory requirements.
    // For example, if you reside in Europe, you will probably find it advantageous
    // to create buckets in the Europe (Ireland) Region. For more information, see
    // Accessing a bucket (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro)
    // in the Amazon S3 User Guide.
    //
    // If you don't specify a Region, the bucket is created in the US East (N. Virginia)
    // Region (us-east-1) by default.
    //
    // This functionality is not supported for directory buckets.
    LocationConstraint *string `type:"string" enum:"BucketLocationConstraint"`
    // contains filtered or unexported fields
}

The configuration information for the bucket.

func (CreateBucketConfiguration) GoString

func (s CreateBucketConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBucketConfiguration) SetBucket

func (s *CreateBucketConfiguration) SetBucket(v *BucketInfo) *CreateBucketConfiguration

SetBucket sets the Bucket field's value.

func (*CreateBucketConfiguration) SetLocation

func (s *CreateBucketConfiguration) SetLocation(v *LocationInfo) *CreateBucketConfiguration

SetLocation sets the Location field's value.

func (*CreateBucketConfiguration) SetLocationConstraint

func (s *CreateBucketConfiguration) SetLocationConstraint(v string) *CreateBucketConfiguration

SetLocationConstraint sets the LocationConstraint field's value.

func (CreateBucketConfiguration) String

func (s CreateBucketConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateBucketInput

type CreateBucketInput struct {

    // The canned ACL to apply to the bucket.
    //
    // This functionality is not supported for directory buckets.
    ACL *string `location:"header" locationName:"x-amz-acl" type:"string" enum:"BucketCannedACL"`

    // The name of the bucket to create.
    //
    // General purpose buckets - For information about bucket naming restrictions,
    // see Bucket naming rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html)
    // in the Amazon S3 User Guide.
    //
    // Directory buckets - When you use this operation with a directory bucket,
    // you must use path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name
    // . Virtual-hosted-style requests aren't supported. Directory bucket names
    // must be unique in the chosen Availability Zone. Bucket names must also follow
    // the format bucket_base_name--az_id--x-s3 (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3).
    // For information about bucket naming restrictions, see Directory bucket naming
    // rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html)
    // in the Amazon S3 User Guide
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The configuration information for the bucket.
    CreateBucketConfiguration *CreateBucketConfiguration `locationName:"CreateBucketConfiguration" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`

    // Allows grantee the read, write, read ACP, and write ACP permissions on the
    // bucket.
    //
    // This functionality is not supported for directory buckets.
    GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"`

    // Allows grantee to list the objects in the bucket.
    //
    // This functionality is not supported for directory buckets.
    GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string"`

    // Allows grantee to read the bucket ACL.
    //
    // This functionality is not supported for directory buckets.
    GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string"`

    // Allows grantee to create new objects in the bucket.
    //
    // For the bucket and object owners of existing objects, also allows deletions
    // and overwrites of those objects.
    //
    // This functionality is not supported for directory buckets.
    GrantWrite *string `location:"header" locationName:"x-amz-grant-write" type:"string"`

    // Allows grantee to write the ACL for the applicable bucket.
    //
    // This functionality is not supported for directory buckets.
    GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"`

    // Specifies whether you want S3 Object Lock to be enabled for the new bucket.
    //
    // This functionality is not supported for directory buckets.
    ObjectLockEnabledForBucket *bool `location:"header" locationName:"x-amz-bucket-object-lock-enabled" type:"boolean"`

    // The container element for object ownership for a bucket's ownership controls.
    //
    // BucketOwnerPreferred - Objects uploaded to the bucket change ownership to
    // the bucket owner if the objects are uploaded with the bucket-owner-full-control
    // canned ACL.
    //
    // ObjectWriter - The uploading account will own the object if the object is
    // uploaded with the bucket-owner-full-control canned ACL.
    //
    // BucketOwnerEnforced - Access control lists (ACLs) are disabled and no longer
    // affect permissions. The bucket owner automatically owns and has full control
    // over every object in the bucket. The bucket only accepts PUT requests that
    // don't specify an ACL or specify bucket owner full control ACLs (such as the
    // predefined bucket-owner-full-control canned ACL or a custom ACL in XML format
    // that grants the same permissions).
    //
    // By default, ObjectOwnership is set to BucketOwnerEnforced and ACLs are disabled.
    // We recommend keeping ACLs disabled, except in uncommon use cases where you
    // must control access for each object individually. For more information about
    // S3 Object Ownership, see Controlling ownership of objects and disabling ACLs
    // for your bucket (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets. Directory buckets
    // use the bucket owner enforced setting for S3 Object Ownership.
    ObjectOwnership *string `location:"header" locationName:"x-amz-object-ownership" type:"string" enum:"ObjectOwnership"`
    // contains filtered or unexported fields
}

func (CreateBucketInput) GoString

func (s CreateBucketInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBucketInput) SetACL

func (s *CreateBucketInput) SetACL(v string) *CreateBucketInput

SetACL sets the ACL field's value.

func (*CreateBucketInput) SetBucket

func (s *CreateBucketInput) SetBucket(v string) *CreateBucketInput

SetBucket sets the Bucket field's value.

func (*CreateBucketInput) SetCreateBucketConfiguration

func (s *CreateBucketInput) SetCreateBucketConfiguration(v *CreateBucketConfiguration) *CreateBucketInput

SetCreateBucketConfiguration sets the CreateBucketConfiguration field's value.

func (*CreateBucketInput) SetGrantFullControl

func (s *CreateBucketInput) SetGrantFullControl(v string) *CreateBucketInput

SetGrantFullControl sets the GrantFullControl field's value.

func (*CreateBucketInput) SetGrantRead

func (s *CreateBucketInput) SetGrantRead(v string) *CreateBucketInput

SetGrantRead sets the GrantRead field's value.

func (*CreateBucketInput) SetGrantReadACP

func (s *CreateBucketInput) SetGrantReadACP(v string) *CreateBucketInput

SetGrantReadACP sets the GrantReadACP field's value.

func (*CreateBucketInput) SetGrantWrite

func (s *CreateBucketInput) SetGrantWrite(v string) *CreateBucketInput

SetGrantWrite sets the GrantWrite field's value.

func (*CreateBucketInput) SetGrantWriteACP

func (s *CreateBucketInput) SetGrantWriteACP(v string) *CreateBucketInput

SetGrantWriteACP sets the GrantWriteACP field's value.

func (*CreateBucketInput) SetObjectLockEnabledForBucket

func (s *CreateBucketInput) SetObjectLockEnabledForBucket(v bool) *CreateBucketInput

SetObjectLockEnabledForBucket sets the ObjectLockEnabledForBucket field's value.

func (*CreateBucketInput) SetObjectOwnership

func (s *CreateBucketInput) SetObjectOwnership(v string) *CreateBucketInput

SetObjectOwnership sets the ObjectOwnership field's value.

func (CreateBucketInput) String

func (s CreateBucketInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBucketInput) Validate

func (s *CreateBucketInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateBucketOutput

type CreateBucketOutput struct {

    // A forward slash followed by the name of the bucket.
    Location *string `location:"header" locationName:"Location" type:"string"`
    // contains filtered or unexported fields
}

func (CreateBucketOutput) GoString

func (s CreateBucketOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBucketOutput) SetLocation

func (s *CreateBucketOutput) SetLocation(v string) *CreateBucketOutput

SetLocation sets the Location field's value.

func (CreateBucketOutput) String

func (s CreateBucketOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateMultipartUploadInput

type CreateMultipartUploadInput struct {

    // The canned ACL to apply to the object. Amazon S3 supports a set of predefined
    // ACLs, known as canned ACLs. Each canned ACL has a predefined set of grantees
    // and permissions. For more information, see Canned ACL (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL)
    // in the Amazon S3 User Guide.
    //
    // By default, all objects are private. Only the owner has full access control.
    // When uploading an object, you can grant access permissions to individual
    // Amazon Web Services accounts or to predefined groups defined by Amazon S3.
    // These permissions are then added to the access control list (ACL) on the
    // new object. For more information, see Using ACLs (https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html).
    // One way to grant the permissions using the request headers is to specify
    // a canned ACL with the x-amz-acl request header.
    //
    //    * This functionality is not supported for directory buckets.
    //
    //    * This functionality is not supported for Amazon S3 on Outposts.
    ACL *string `location:"header" locationName:"x-amz-acl" type:"string" enum:"ObjectCannedACL"`

    // The name of the bucket where the multipart upload is initiated and where
    // the object is uploaded.
    //
    // Directory buckets - When you use this operation with a directory bucket,
    // you must use virtual-hosted-style requests in the format Bucket_name.s3express-az_id.region.amazonaws.com.
    // Path-style requests are not supported. Directory bucket names must be unique
    // in the chosen Availability Zone. Bucket names must follow the format bucket_base_name--az-id--x-s3
    // (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about
    // bucket naming restrictions, see Directory bucket naming rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html)
    // in the Amazon S3 User Guide.
    //
    // Access points - When you use this action with an access point, you must provide
    // the alias of the access point in place of the bucket name or specify the
    // access point ARN. When using the access point ARN, you must direct requests
    // to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
    // When using this action with an access point through the Amazon Web Services
    // SDKs, you provide the access point ARN in place of the bucket name. For more
    // information about access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
    // in the Amazon S3 User Guide.
    //
    // Access points and Object Lambda access points are not supported by directory
    // buckets.
    //
    // S3 on Outposts - When you use this action with Amazon S3 on Outposts, you
    // must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname
    // takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com.
    // When you use this action with S3 on Outposts through the Amazon Web Services
    // SDKs, you provide the Outposts access point ARN in place of the bucket name.
    // For more information about S3 on Outposts ARNs, see What is S3 on Outposts?
    // (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
    // in the Amazon S3 User Guide.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption
    // with server-side encryption using Key Management Service (KMS) keys (SSE-KMS).
    // Setting this header to true causes Amazon S3 to use an S3 Bucket Key for
    // object encryption with SSE-KMS.
    //
    // Specifying this header with an object action doesn’t affect bucket-level
    // settings for S3 Bucket Key.
    //
    // This functionality is not supported for directory buckets.
    BucketKeyEnabled *bool `location:"header" locationName:"x-amz-server-side-encryption-bucket-key-enabled" type:"boolean"`

    // Specifies caching behavior along the request/reply chain.
    CacheControl *string `location:"header" locationName:"Cache-Control" type:"string"`

    // Indicates the algorithm that you want Amazon S3 to use to create the checksum
    // for the object. For more information, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
    // in the Amazon S3 User Guide.
    ChecksumAlgorithm *string `location:"header" locationName:"x-amz-checksum-algorithm" type:"string" enum:"ChecksumAlgorithm"`

    // Specifies presentational information for the object.
    ContentDisposition *string `location:"header" locationName:"Content-Disposition" type:"string"`

    // Specifies what content encodings have been applied to the object and thus
    // what decoding mechanisms must be applied to obtain the media-type referenced
    // by the Content-Type header field.
    //
    // For directory buckets, only the aws-chunked value is supported in this header
    // field.
    ContentEncoding *string `location:"header" locationName:"Content-Encoding" type:"string"`

    // The language that the content is in.
    ContentLanguage *string `location:"header" locationName:"Content-Language" type:"string"`

    // A standard MIME type describing the format of the object data.
    ContentType *string `location:"header" locationName:"Content-Type" type:"string"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // The date and time at which the object is no longer cacheable.
    Expires *time.Time `location:"header" locationName:"Expires" type:"timestamp"`

    // Specify access permissions explicitly to give the grantee READ, READ_ACP,
    // and WRITE_ACP permissions on the object.
    //
    // By default, all objects are private. Only the owner has full access control.
    // When uploading an object, you can use this header to explicitly grant access
    // permissions to specific Amazon Web Services accounts or groups. This header
    // maps to specific permissions that Amazon S3 supports in an ACL. For more
    // information, see Access Control List (ACL) Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html)
    // in the Amazon S3 User Guide.
    //
    // You specify each grantee as a type=value pair, where the type is one of the
    // following:
    //
    //    * id – if the value specified is the canonical user ID of an Amazon
    //    Web Services account
    //
    //    * uri – if you are granting permissions to a predefined group
    //
    //    * emailAddress – if the value specified is the email address of an Amazon
    //    Web Services account Using email addresses to specify a grantee is only
    //    supported in the following Amazon Web Services Regions: US East (N. Virginia)
    //    US West (N. California) US West (Oregon) Asia Pacific (Singapore) Asia
    //    Pacific (Sydney) Asia Pacific (Tokyo) Europe (Ireland) South America (São
    //    Paulo) For a list of all the Amazon S3 supported Regions and endpoints,
    //    see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region)
    //    in the Amazon Web Services General Reference.
    //
    // For example, the following x-amz-grant-read header grants the Amazon Web
    // Services accounts identified by account IDs permissions to read object data
    // and its metadata:
    //
    // x-amz-grant-read: id="11112222333", id="444455556666"
    //
    //    * This functionality is not supported for directory buckets.
    //
    //    * This functionality is not supported for Amazon S3 on Outposts.
    GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"`

    // Specify access permissions explicitly to allow grantee to read the object
    // data and its metadata.
    //
    // By default, all objects are private. Only the owner has full access control.
    // When uploading an object, you can use this header to explicitly grant access
    // permissions to specific Amazon Web Services accounts or groups. This header
    // maps to specific permissions that Amazon S3 supports in an ACL. For more
    // information, see Access Control List (ACL) Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html)
    // in the Amazon S3 User Guide.
    //
    // You specify each grantee as a type=value pair, where the type is one of the
    // following:
    //
    //    * id – if the value specified is the canonical user ID of an Amazon
    //    Web Services account
    //
    //    * uri – if you are granting permissions to a predefined group
    //
    //    * emailAddress – if the value specified is the email address of an Amazon
    //    Web Services account Using email addresses to specify a grantee is only
    //    supported in the following Amazon Web Services Regions: US East (N. Virginia)
    //    US West (N. California) US West (Oregon) Asia Pacific (Singapore) Asia
    //    Pacific (Sydney) Asia Pacific (Tokyo) Europe (Ireland) South America (São
    //    Paulo) For a list of all the Amazon S3 supported Regions and endpoints,
    //    see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region)
    //    in the Amazon Web Services General Reference.
    //
    // For example, the following x-amz-grant-read header grants the Amazon Web
    // Services accounts identified by account IDs permissions to read object data
    // and its metadata:
    //
    // x-amz-grant-read: id="11112222333", id="444455556666"
    //
    //    * This functionality is not supported for directory buckets.
    //
    //    * This functionality is not supported for Amazon S3 on Outposts.
    GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string"`

    // Specify access permissions explicitly to allows grantee to read the object
    // ACL.
    //
    // By default, all objects are private. Only the owner has full access control.
    // When uploading an object, you can use this header to explicitly grant access
    // permissions to specific Amazon Web Services accounts or groups. This header
    // maps to specific permissions that Amazon S3 supports in an ACL. For more
    // information, see Access Control List (ACL) Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html)
    // in the Amazon S3 User Guide.
    //
    // You specify each grantee as a type=value pair, where the type is one of the
    // following:
    //
    //    * id – if the value specified is the canonical user ID of an Amazon
    //    Web Services account
    //
    //    * uri – if you are granting permissions to a predefined group
    //
    //    * emailAddress – if the value specified is the email address of an Amazon
    //    Web Services account Using email addresses to specify a grantee is only
    //    supported in the following Amazon Web Services Regions: US East (N. Virginia)
    //    US West (N. California) US West (Oregon) Asia Pacific (Singapore) Asia
    //    Pacific (Sydney) Asia Pacific (Tokyo) Europe (Ireland) South America (São
    //    Paulo) For a list of all the Amazon S3 supported Regions and endpoints,
    //    see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region)
    //    in the Amazon Web Services General Reference.
    //
    // For example, the following x-amz-grant-read header grants the Amazon Web
    // Services accounts identified by account IDs permissions to read object data
    // and its metadata:
    //
    // x-amz-grant-read: id="11112222333", id="444455556666"
    //
    //    * This functionality is not supported for directory buckets.
    //
    //    * This functionality is not supported for Amazon S3 on Outposts.
    GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string"`

    // Specify access permissions explicitly to allows grantee to allow grantee
    // to write the ACL for the applicable object.
    //
    // By default, all objects are private. Only the owner has full access control.
    // When uploading an object, you can use this header to explicitly grant access
    // permissions to specific Amazon Web Services accounts or groups. This header
    // maps to specific permissions that Amazon S3 supports in an ACL. For more
    // information, see Access Control List (ACL) Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html)
    // in the Amazon S3 User Guide.
    //
    // You specify each grantee as a type=value pair, where the type is one of the
    // following:
    //
    //    * id – if the value specified is the canonical user ID of an Amazon
    //    Web Services account
    //
    //    * uri – if you are granting permissions to a predefined group
    //
    //    * emailAddress – if the value specified is the email address of an Amazon
    //    Web Services account Using email addresses to specify a grantee is only
    //    supported in the following Amazon Web Services Regions: US East (N. Virginia)
    //    US West (N. California) US West (Oregon) Asia Pacific (Singapore) Asia
    //    Pacific (Sydney) Asia Pacific (Tokyo) Europe (Ireland) South America (São
    //    Paulo) For a list of all the Amazon S3 supported Regions and endpoints,
    //    see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region)
    //    in the Amazon Web Services General Reference.
    //
    // For example, the following x-amz-grant-read header grants the Amazon Web
    // Services accounts identified by account IDs permissions to read object data
    // and its metadata:
    //
    // x-amz-grant-read: id="11112222333", id="444455556666"
    //
    //    * This functionality is not supported for directory buckets.
    //
    //    * This functionality is not supported for Amazon S3 on Outposts.
    GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"`

    // Object key for which the multipart upload is to be initiated.
    //
    // Key is a required field
    Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`

    // A map of metadata to store with the object in S3.
    Metadata map[string]*string `location:"headers" locationName:"x-amz-meta-" type:"map"`

    // Specifies whether you want to apply a legal hold to the uploaded object.
    //
    // This functionality is not supported for directory buckets.
    ObjectLockLegalHoldStatus *string `location:"header" locationName:"x-amz-object-lock-legal-hold" type:"string" enum:"ObjectLockLegalHoldStatus"`

    // Specifies the Object Lock mode that you want to apply to the uploaded object.
    //
    // This functionality is not supported for directory buckets.
    ObjectLockMode *string `location:"header" locationName:"x-amz-object-lock-mode" type:"string" enum:"ObjectLockMode"`

    // Specifies the date and time when you want the Object Lock to expire.
    //
    // This functionality is not supported for directory buckets.
    ObjectLockRetainUntilDate *time.Time `location:"header" locationName:"x-amz-object-lock-retain-until-date" type:"timestamp" timestampFormat:"iso8601"`

    // Confirms that the requester knows that they will be charged for the request.
    // Bucket owners need not specify this parameter in their requests. If either
    // the source or destination S3 bucket has Requester Pays enabled, the requester
    // will pay for corresponding charges to copy the object. For information about
    // downloading objects from Requester Pays buckets, see Downloading Objects
    // in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`

    // Specifies the algorithm to use when encrypting the object (for example, AES256).
    //
    // This functionality is not supported for directory buckets.
    SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"`

    // Specifies the customer-provided encryption key for Amazon S3 to use in encrypting
    // data. This value is used to store the object and then it is discarded; Amazon
    // S3 does not store the encryption key. The key must be appropriate for use
    // with the algorithm specified in the x-amz-server-side-encryption-customer-algorithm
    // header.
    //
    // This functionality is not supported for directory buckets.
    //
    // SSECustomerKey is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by CreateMultipartUploadInput's
    // String and GoString methods.
    SSECustomerKey *string `marshal-as:"blob" location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string" sensitive:"true"`

    // Specifies the 128-bit MD5 digest of the customer-provided encryption key
    // according to RFC 1321. Amazon S3 uses this header for a message integrity
    // check to ensure that the encryption key was transmitted without error.
    //
    // This functionality is not supported for directory buckets.
    SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"`

    // Specifies the Amazon Web Services KMS Encryption Context to use for object
    // encryption. The value of this header is a base64-encoded UTF-8 string holding
    // JSON with the encryption context key-value pairs.
    //
    // This functionality is not supported for directory buckets.
    //
    // SSEKMSEncryptionContext is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by CreateMultipartUploadInput's
    // String and GoString methods.
    SSEKMSEncryptionContext *string `location:"header" locationName:"x-amz-server-side-encryption-context" type:"string" sensitive:"true"`

    // Specifies the ID (Key ID, Key ARN, or Key Alias) of the symmetric encryption
    // customer managed key to use for object encryption.
    //
    // This functionality is not supported for directory buckets.
    //
    // SSEKMSKeyId is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by CreateMultipartUploadInput's
    // String and GoString methods.
    SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string" sensitive:"true"`

    // The server-side encryption algorithm used when you store this object in Amazon
    // S3 (for example, AES256, aws:kms).
    //
    // For directory buckets, only server-side encryption with Amazon S3 managed
    // keys (SSE-S3) (AES256) is supported.
    ServerSideEncryption *string `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"ServerSideEncryption"`

    // By default, Amazon S3 uses the STANDARD Storage Class to store newly created
    // objects. The STANDARD storage class provides high durability and high availability.
    // Depending on performance needs, you can specify a different Storage Class.
    // For more information, see Storage Classes (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html)
    // in the Amazon S3 User Guide.
    //
    //    * For directory buckets, only the S3 Express One Zone storage class is
    //    supported to store newly created objects.
    //
    //    * Amazon S3 on Outposts only uses the OUTPOSTS Storage Class.
    StorageClass *string `location:"header" locationName:"x-amz-storage-class" type:"string" enum:"StorageClass"`

    // The tag-set for the object. The tag-set must be encoded as URL Query parameters.
    //
    // This functionality is not supported for directory buckets.
    Tagging *string `location:"header" locationName:"x-amz-tagging" type:"string"`

    // If the bucket is configured as a website, redirects requests for this object
    // to another object in the same bucket or to an external URL. Amazon S3 stores
    // the value of this header in the object metadata.
    //
    // This functionality is not supported for directory buckets.
    WebsiteRedirectLocation *string `location:"header" locationName:"x-amz-website-redirect-location" type:"string"`
    // contains filtered or unexported fields
}

func (CreateMultipartUploadInput) GoString

func (s CreateMultipartUploadInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateMultipartUploadInput) SetACL

func (s *CreateMultipartUploadInput) SetACL(v string) *CreateMultipartUploadInput

SetACL sets the ACL field's value.

func (*CreateMultipartUploadInput) SetBucket

func (s *CreateMultipartUploadInput) SetBucket(v string) *CreateMultipartUploadInput

SetBucket sets the Bucket field's value.

func (*CreateMultipartUploadInput) SetBucketKeyEnabled

func (s *CreateMultipartUploadInput) SetBucketKeyEnabled(v bool) *CreateMultipartUploadInput

SetBucketKeyEnabled sets the BucketKeyEnabled field's value.

func (*CreateMultipartUploadInput) SetCacheControl

func (s *CreateMultipartUploadInput) SetCacheControl(v string) *CreateMultipartUploadInput

SetCacheControl sets the CacheControl field's value.

func (*CreateMultipartUploadInput) SetChecksumAlgorithm

func (s *CreateMultipartUploadInput) SetChecksumAlgorithm(v string) *CreateMultipartUploadInput

SetChecksumAlgorithm sets the ChecksumAlgorithm field's value.

func (*CreateMultipartUploadInput) SetContentDisposition

func (s *CreateMultipartUploadInput) SetContentDisposition(v string) *CreateMultipartUploadInput

SetContentDisposition sets the ContentDisposition field's value.

func (*CreateMultipartUploadInput) SetContentEncoding

func (s *CreateMultipartUploadInput) SetContentEncoding(v string) *CreateMultipartUploadInput

SetContentEncoding sets the ContentEncoding field's value.

func (*CreateMultipartUploadInput) SetContentLanguage

func (s *CreateMultipartUploadInput) SetContentLanguage(v string) *CreateMultipartUploadInput

SetContentLanguage sets the ContentLanguage field's value.

func (*CreateMultipartUploadInput) SetContentType

func (s *CreateMultipartUploadInput) SetContentType(v string) *CreateMultipartUploadInput

SetContentType sets the ContentType field's value.

func (*CreateMultipartUploadInput) SetExpectedBucketOwner

func (s *CreateMultipartUploadInput) SetExpectedBucketOwner(v string) *CreateMultipartUploadInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*CreateMultipartUploadInput) SetExpires

func (s *CreateMultipartUploadInput) SetExpires(v time.Time) *CreateMultipartUploadInput

SetExpires sets the Expires field's value.

func (*CreateMultipartUploadInput) SetGrantFullControl

func (s *CreateMultipartUploadInput) SetGrantFullControl(v string) *CreateMultipartUploadInput

SetGrantFullControl sets the GrantFullControl field's value.

func (*CreateMultipartUploadInput) SetGrantRead

func (s *CreateMultipartUploadInput) SetGrantRead(v string) *CreateMultipartUploadInput

SetGrantRead sets the GrantRead field's value.

func (*CreateMultipartUploadInput) SetGrantReadACP

func (s *CreateMultipartUploadInput) SetGrantReadACP(v string) *CreateMultipartUploadInput

SetGrantReadACP sets the GrantReadACP field's value.

func (*CreateMultipartUploadInput) SetGrantWriteACP

func (s *CreateMultipartUploadInput) SetGrantWriteACP(v string) *CreateMultipartUploadInput

SetGrantWriteACP sets the GrantWriteACP field's value.

func (*CreateMultipartUploadInput) SetKey

func (s *CreateMultipartUploadInput) SetKey(v string) *CreateMultipartUploadInput

SetKey sets the Key field's value.

func (*CreateMultipartUploadInput) SetMetadata

func (s *CreateMultipartUploadInput) SetMetadata(v map[string]*string) *CreateMultipartUploadInput

SetMetadata sets the Metadata field's value.

func (*CreateMultipartUploadInput) SetObjectLockLegalHoldStatus

func (s *CreateMultipartUploadInput) SetObjectLockLegalHoldStatus(v string) *CreateMultipartUploadInput

SetObjectLockLegalHoldStatus sets the ObjectLockLegalHoldStatus field's value.

func (*CreateMultipartUploadInput) SetObjectLockMode

func (s *CreateMultipartUploadInput) SetObjectLockMode(v string) *CreateMultipartUploadInput

SetObjectLockMode sets the ObjectLockMode field's value.

func (*CreateMultipartUploadInput) SetObjectLockRetainUntilDate

func (s *CreateMultipartUploadInput) SetObjectLockRetainUntilDate(v time.Time) *CreateMultipartUploadInput

SetObjectLockRetainUntilDate sets the ObjectLockRetainUntilDate field's value.

func (*CreateMultipartUploadInput) SetRequestPayer

func (s *CreateMultipartUploadInput) SetRequestPayer(v string) *CreateMultipartUploadInput

SetRequestPayer sets the RequestPayer field's value.

func (*CreateMultipartUploadInput) SetSSECustomerAlgorithm

func (s *CreateMultipartUploadInput) SetSSECustomerAlgorithm(v string) *CreateMultipartUploadInput

SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.

func (*CreateMultipartUploadInput) SetSSECustomerKey

func (s *CreateMultipartUploadInput) SetSSECustomerKey(v string) *CreateMultipartUploadInput

SetSSECustomerKey sets the SSECustomerKey field's value.

func (*CreateMultipartUploadInput) SetSSECustomerKeyMD5

func (s *CreateMultipartUploadInput) SetSSECustomerKeyMD5(v string) *CreateMultipartUploadInput

SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.

func (*CreateMultipartUploadInput) SetSSEKMSEncryptionContext

func (s *CreateMultipartUploadInput) SetSSEKMSEncryptionContext(v string) *CreateMultipartUploadInput

SetSSEKMSEncryptionContext sets the SSEKMSEncryptionContext field's value.

func (*CreateMultipartUploadInput) SetSSEKMSKeyId

func (s *CreateMultipartUploadInput) SetSSEKMSKeyId(v string) *CreateMultipartUploadInput

SetSSEKMSKeyId sets the SSEKMSKeyId field's value.

func (*CreateMultipartUploadInput) SetServerSideEncryption

func (s *CreateMultipartUploadInput) SetServerSideEncryption(v string) *CreateMultipartUploadInput

SetServerSideEncryption sets the ServerSideEncryption field's value.

func (*CreateMultipartUploadInput) SetStorageClass

func (s *CreateMultipartUploadInput) SetStorageClass(v string) *CreateMultipartUploadInput

SetStorageClass sets the StorageClass field's value.

func (*CreateMultipartUploadInput) SetTagging

func (s *CreateMultipartUploadInput) SetTagging(v string) *CreateMultipartUploadInput

SetTagging sets the Tagging field's value.

func (*CreateMultipartUploadInput) SetWebsiteRedirectLocation

func (s *CreateMultipartUploadInput) SetWebsiteRedirectLocation(v string) *CreateMultipartUploadInput

SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value.

func (CreateMultipartUploadInput) String

func (s CreateMultipartUploadInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateMultipartUploadInput) Validate

func (s *CreateMultipartUploadInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateMultipartUploadOutput

type CreateMultipartUploadOutput struct {

    // If the bucket has a lifecycle rule configured with an action to abort incomplete
    // multipart uploads and the prefix in the lifecycle rule matches the object
    // name in the request, the response includes this header. The header indicates
    // when the initiated multipart upload becomes eligible for an abort operation.
    // For more information, see Aborting Incomplete Multipart Uploads Using a Bucket
    // Lifecycle Configuration (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config)
    // in the Amazon S3 User Guide.
    //
    // The response also includes the x-amz-abort-rule-id header that provides the
    // ID of the lifecycle configuration rule that defines the abort action.
    //
    // This functionality is not supported for directory buckets.
    AbortDate *time.Time `location:"header" locationName:"x-amz-abort-date" type:"timestamp"`

    // This header is returned along with the x-amz-abort-date header. It identifies
    // the applicable lifecycle configuration rule that defines the action to abort
    // incomplete multipart uploads.
    //
    // This functionality is not supported for directory buckets.
    AbortRuleId *string `location:"header" locationName:"x-amz-abort-rule-id" type:"string"`

    // The name of the bucket to which the multipart upload was initiated. Does
    // not return the access point ARN or access point alias if used.
    //
    // Access points are not supported by directory buckets.
    Bucket *string `locationName:"Bucket" type:"string"`

    // Indicates whether the multipart upload uses an S3 Bucket Key for server-side
    // encryption with Key Management Service (KMS) keys (SSE-KMS).
    //
    // This functionality is not supported for directory buckets.
    BucketKeyEnabled *bool `location:"header" locationName:"x-amz-server-side-encryption-bucket-key-enabled" type:"boolean"`

    // The algorithm that was used to create a checksum of the object.
    ChecksumAlgorithm *string `location:"header" locationName:"x-amz-checksum-algorithm" type:"string" enum:"ChecksumAlgorithm"`

    // Object key for which the multipart upload was initiated.
    Key *string `min:"1" type:"string"`

    // If present, indicates that the requester was successfully charged for the
    // request.
    //
    // This functionality is not supported for directory buckets.
    RequestCharged *string `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"`

    // If server-side encryption with a customer-provided encryption key was requested,
    // the response will include this header to confirm the encryption algorithm
    // that's used.
    //
    // This functionality is not supported for directory buckets.
    SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"`

    // If server-side encryption with a customer-provided encryption key was requested,
    // the response will include this header to provide the round-trip message integrity
    // verification of the customer-provided encryption key.
    //
    // This functionality is not supported for directory buckets.
    SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"`

    // If present, indicates the Amazon Web Services KMS Encryption Context to use
    // for object encryption. The value of this header is a base64-encoded UTF-8
    // string holding JSON with the encryption context key-value pairs.
    //
    // This functionality is not supported for directory buckets.
    //
    // SSEKMSEncryptionContext is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by CreateMultipartUploadOutput's
    // String and GoString methods.
    SSEKMSEncryptionContext *string `location:"header" locationName:"x-amz-server-side-encryption-context" type:"string" sensitive:"true"`

    // If present, indicates the ID of the Key Management Service (KMS) symmetric
    // encryption customer managed key that was used for the object.
    //
    // This functionality is not supported for directory buckets.
    //
    // SSEKMSKeyId is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by CreateMultipartUploadOutput's
    // String and GoString methods.
    SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string" sensitive:"true"`

    // The server-side encryption algorithm used when you store this object in Amazon
    // S3 (for example, AES256, aws:kms).
    //
    // For directory buckets, only server-side encryption with Amazon S3 managed
    // keys (SSE-S3) (AES256) is supported.
    ServerSideEncryption *string `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"ServerSideEncryption"`

    // ID for the initiated multipart upload.
    UploadId *string `type:"string"`
    // contains filtered or unexported fields
}

func (CreateMultipartUploadOutput) GoString

func (s CreateMultipartUploadOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateMultipartUploadOutput) SetAbortDate

func (s *CreateMultipartUploadOutput) SetAbortDate(v time.Time) *CreateMultipartUploadOutput

SetAbortDate sets the AbortDate field's value.

func (*CreateMultipartUploadOutput) SetAbortRuleId

func (s *CreateMultipartUploadOutput) SetAbortRuleId(v string) *CreateMultipartUploadOutput

SetAbortRuleId sets the AbortRuleId field's value.

func (*CreateMultipartUploadOutput) SetBucket

func (s *CreateMultipartUploadOutput) SetBucket(v string) *CreateMultipartUploadOutput

SetBucket sets the Bucket field's value.

func (*CreateMultipartUploadOutput) SetBucketKeyEnabled

func (s *CreateMultipartUploadOutput) SetBucketKeyEnabled(v bool) *CreateMultipartUploadOutput

SetBucketKeyEnabled sets the BucketKeyEnabled field's value.

func (*CreateMultipartUploadOutput) SetChecksumAlgorithm

func (s *CreateMultipartUploadOutput) SetChecksumAlgorithm(v string) *CreateMultipartUploadOutput

SetChecksumAlgorithm sets the ChecksumAlgorithm field's value.

func (*CreateMultipartUploadOutput) SetKey

func (s *CreateMultipartUploadOutput) SetKey(v string) *CreateMultipartUploadOutput

SetKey sets the Key field's value.

func (*CreateMultipartUploadOutput) SetRequestCharged

func (s *CreateMultipartUploadOutput) SetRequestCharged(v string) *CreateMultipartUploadOutput

SetRequestCharged sets the RequestCharged field's value.

func (*CreateMultipartUploadOutput) SetSSECustomerAlgorithm

func (s *CreateMultipartUploadOutput) SetSSECustomerAlgorithm(v string) *CreateMultipartUploadOutput

SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.

func (*CreateMultipartUploadOutput) SetSSECustomerKeyMD5

func (s *CreateMultipartUploadOutput) SetSSECustomerKeyMD5(v string) *CreateMultipartUploadOutput

SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.

func (*CreateMultipartUploadOutput) SetSSEKMSEncryptionContext

func (s *CreateMultipartUploadOutput) SetSSEKMSEncryptionContext(v string) *CreateMultipartUploadOutput

SetSSEKMSEncryptionContext sets the SSEKMSEncryptionContext field's value.

func (*CreateMultipartUploadOutput) SetSSEKMSKeyId

func (s *CreateMultipartUploadOutput) SetSSEKMSKeyId(v string) *CreateMultipartUploadOutput

SetSSEKMSKeyId sets the SSEKMSKeyId field's value.

func (*CreateMultipartUploadOutput) SetServerSideEncryption

func (s *CreateMultipartUploadOutput) SetServerSideEncryption(v string) *CreateMultipartUploadOutput

SetServerSideEncryption sets the ServerSideEncryption field's value.

func (*CreateMultipartUploadOutput) SetUploadId

func (s *CreateMultipartUploadOutput) SetUploadId(v string) *CreateMultipartUploadOutput

SetUploadId sets the UploadId field's value.

func (CreateMultipartUploadOutput) String

func (s CreateMultipartUploadOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateSessionInput

type CreateSessionInput struct {

    // The name of the bucket that you create a session for.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // Specifies the mode of the session that will be created, either ReadWrite
    // or ReadOnly. By default, a ReadWrite session is created. A ReadWrite session
    // is capable of executing all the Zonal endpoint APIs on a directory bucket.
    // A ReadOnly session is constrained to execute the following Zonal endpoint
    // APIs: GetObject, HeadObject, ListObjectsV2, GetObjectAttributes, ListParts,
    // and ListMultipartUploads.
    SessionMode *string `location:"header" locationName:"x-amz-create-session-mode" type:"string" enum:"SessionMode"`
    // contains filtered or unexported fields
}

func (CreateSessionInput) GoString

func (s CreateSessionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSessionInput) SetBucket

func (s *CreateSessionInput) SetBucket(v string) *CreateSessionInput

SetBucket sets the Bucket field's value.

func (*CreateSessionInput) SetSessionMode

func (s *CreateSessionInput) SetSessionMode(v string) *CreateSessionInput

SetSessionMode sets the SessionMode field's value.

func (CreateSessionInput) String

func (s CreateSessionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSessionInput) Validate

func (s *CreateSessionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateSessionOutput

type CreateSessionOutput struct {

    // The established temporary security credentials for the created session.
    //
    // Credentials is a required field
    Credentials *SessionCredentials `locationName:"Credentials" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CreateSessionOutput) GoString

func (s CreateSessionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSessionOutput) SetCredentials

func (s *CreateSessionOutput) SetCredentials(v *SessionCredentials) *CreateSessionOutput

SetCredentials sets the Credentials field's value.

func (CreateSessionOutput) String

func (s CreateSessionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DefaultRetention

type DefaultRetention struct {

    // The number of days that you want to specify for the default retention period.
    // Must be used with Mode.
    Days *int64 `type:"integer"`

    // The default Object Lock retention mode you want to apply to new objects placed
    // in the specified bucket. Must be used with either Days or Years.
    Mode *string `type:"string" enum:"ObjectLockRetentionMode"`

    // The number of years that you want to specify for the default retention period.
    // Must be used with Mode.
    Years *int64 `type:"integer"`
    // contains filtered or unexported fields
}

The container element for specifying the default Object Lock retention settings for new objects placed in the specified bucket.

  • The DefaultRetention settings require both a mode and a period.

  • The DefaultRetention period can be either Days or Years but you must select one. You cannot specify Days and Years at the same time.

func (DefaultRetention) GoString

func (s DefaultRetention) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DefaultRetention) SetDays

func (s *DefaultRetention) SetDays(v int64) *DefaultRetention

SetDays sets the Days field's value.

func (*DefaultRetention) SetMode

func (s *DefaultRetention) SetMode(v string) *DefaultRetention

SetMode sets the Mode field's value.

func (*DefaultRetention) SetYears

func (s *DefaultRetention) SetYears(v int64) *DefaultRetention

SetYears sets the Years field's value.

func (DefaultRetention) String

func (s DefaultRetention) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Delete

type Delete struct {

    // The object to delete.
    //
    // Directory buckets - For directory buckets, an object that's composed entirely
    // of whitespace characters is not supported by the DeleteObjects API operation.
    // The request will receive a 400 Bad Request error and none of the objects
    // in the request will be deleted.
    //
    // Objects is a required field
    Objects []*ObjectIdentifier `locationName:"Object" type:"list" flattened:"true" required:"true"`

    // Element to enable quiet mode for the request. When you add this element,
    // you must set its value to true.
    Quiet *bool `type:"boolean"`
    // contains filtered or unexported fields
}

Container for the objects to delete.

func (Delete) GoString

func (s Delete) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Delete) SetObjects

func (s *Delete) SetObjects(v []*ObjectIdentifier) *Delete

SetObjects sets the Objects field's value.

func (*Delete) SetQuiet

func (s *Delete) SetQuiet(v bool) *Delete

SetQuiet sets the Quiet field's value.

func (Delete) String

func (s Delete) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Delete) Validate

func (s *Delete) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketAnalyticsConfigurationInput

type DeleteBucketAnalyticsConfigurationInput struct {

    // The name of the bucket from which an analytics configuration is deleted.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // The ID that identifies the analytics configuration.
    //
    // Id is a required field
    Id *string `location:"querystring" locationName:"id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteBucketAnalyticsConfigurationInput) GoString

func (s DeleteBucketAnalyticsConfigurationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketAnalyticsConfigurationInput) SetBucket

func (s *DeleteBucketAnalyticsConfigurationInput) SetBucket(v string) *DeleteBucketAnalyticsConfigurationInput

SetBucket sets the Bucket field's value.

func (*DeleteBucketAnalyticsConfigurationInput) SetExpectedBucketOwner

func (s *DeleteBucketAnalyticsConfigurationInput) SetExpectedBucketOwner(v string) *DeleteBucketAnalyticsConfigurationInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*DeleteBucketAnalyticsConfigurationInput) SetId

func (s *DeleteBucketAnalyticsConfigurationInput) SetId(v string) *DeleteBucketAnalyticsConfigurationInput

SetId sets the Id field's value.

func (DeleteBucketAnalyticsConfigurationInput) String

func (s DeleteBucketAnalyticsConfigurationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketAnalyticsConfigurationInput) Validate

func (s *DeleteBucketAnalyticsConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketAnalyticsConfigurationOutput

type DeleteBucketAnalyticsConfigurationOutput struct {
    // contains filtered or unexported fields
}

func (DeleteBucketAnalyticsConfigurationOutput) GoString

func (s DeleteBucketAnalyticsConfigurationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketAnalyticsConfigurationOutput) String

func (s DeleteBucketAnalyticsConfigurationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBucketCorsInput

type DeleteBucketCorsInput struct {

    // Specifies the bucket whose cors configuration is being deleted.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteBucketCorsInput) GoString

func (s DeleteBucketCorsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketCorsInput) SetBucket

func (s *DeleteBucketCorsInput) SetBucket(v string) *DeleteBucketCorsInput

SetBucket sets the Bucket field's value.

func (*DeleteBucketCorsInput) SetExpectedBucketOwner

func (s *DeleteBucketCorsInput) SetExpectedBucketOwner(v string) *DeleteBucketCorsInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (DeleteBucketCorsInput) String

func (s DeleteBucketCorsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketCorsInput) Validate

func (s *DeleteBucketCorsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketCorsOutput

type DeleteBucketCorsOutput struct {
    // contains filtered or unexported fields
}

func (DeleteBucketCorsOutput) GoString

func (s DeleteBucketCorsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketCorsOutput) String

func (s DeleteBucketCorsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBucketEncryptionInput

type DeleteBucketEncryptionInput struct {

    // The name of the bucket containing the server-side encryption configuration
    // to delete.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteBucketEncryptionInput) GoString

func (s DeleteBucketEncryptionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketEncryptionInput) SetBucket

func (s *DeleteBucketEncryptionInput) SetBucket(v string) *DeleteBucketEncryptionInput

SetBucket sets the Bucket field's value.

func (*DeleteBucketEncryptionInput) SetExpectedBucketOwner

func (s *DeleteBucketEncryptionInput) SetExpectedBucketOwner(v string) *DeleteBucketEncryptionInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (DeleteBucketEncryptionInput) String

func (s DeleteBucketEncryptionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketEncryptionInput) Validate

func (s *DeleteBucketEncryptionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketEncryptionOutput

type DeleteBucketEncryptionOutput struct {
    // contains filtered or unexported fields
}

func (DeleteBucketEncryptionOutput) GoString

func (s DeleteBucketEncryptionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketEncryptionOutput) String

func (s DeleteBucketEncryptionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBucketInput

type DeleteBucketInput struct {

    // Specifies the bucket being deleted.
    //
    // Directory buckets - When you use this operation with a directory bucket,
    // you must use path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name
    // . Virtual-hosted-style requests aren't supported. Directory bucket names
    // must be unique in the chosen Availability Zone. Bucket names must also follow
    // the format bucket_base_name--az_id--x-s3 (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3).
    // For information about bucket naming restrictions, see Directory bucket naming
    // rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html)
    // in the Amazon S3 User Guide
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    //
    // For directory buckets, this header is not supported in this API operation.
    // If you specify this header, the request fails with the HTTP status code 501
    // Not Implemented.
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteBucketInput) GoString

func (s DeleteBucketInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketInput) SetBucket

func (s *DeleteBucketInput) SetBucket(v string) *DeleteBucketInput

SetBucket sets the Bucket field's value.

func (*DeleteBucketInput) SetExpectedBucketOwner

func (s *DeleteBucketInput) SetExpectedBucketOwner(v string) *DeleteBucketInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (DeleteBucketInput) String

func (s DeleteBucketInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketInput) Validate

func (s *DeleteBucketInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketIntelligentTieringConfigurationInput

type DeleteBucketIntelligentTieringConfigurationInput struct {

    // The name of the Amazon S3 bucket whose configuration you want to modify or
    // retrieve.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The ID used to identify the S3 Intelligent-Tiering configuration.
    //
    // Id is a required field
    Id *string `location:"querystring" locationName:"id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteBucketIntelligentTieringConfigurationInput) GoString

func (s DeleteBucketIntelligentTieringConfigurationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketIntelligentTieringConfigurationInput) SetBucket

func (s *DeleteBucketIntelligentTieringConfigurationInput) SetBucket(v string) *DeleteBucketIntelligentTieringConfigurationInput

SetBucket sets the Bucket field's value.

func (*DeleteBucketIntelligentTieringConfigurationInput) SetId

func (s *DeleteBucketIntelligentTieringConfigurationInput) SetId(v string) *DeleteBucketIntelligentTieringConfigurationInput

SetId sets the Id field's value.

func (DeleteBucketIntelligentTieringConfigurationInput) String

func (s DeleteBucketIntelligentTieringConfigurationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketIntelligentTieringConfigurationInput) Validate

func (s *DeleteBucketIntelligentTieringConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketIntelligentTieringConfigurationOutput

type DeleteBucketIntelligentTieringConfigurationOutput struct {
    // contains filtered or unexported fields
}

func (DeleteBucketIntelligentTieringConfigurationOutput) GoString

func (s DeleteBucketIntelligentTieringConfigurationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketIntelligentTieringConfigurationOutput) String

func (s DeleteBucketIntelligentTieringConfigurationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBucketInventoryConfigurationInput

type DeleteBucketInventoryConfigurationInput struct {

    // The name of the bucket containing the inventory configuration to delete.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // The ID used to identify the inventory configuration.
    //
    // Id is a required field
    Id *string `location:"querystring" locationName:"id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteBucketInventoryConfigurationInput) GoString

func (s DeleteBucketInventoryConfigurationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketInventoryConfigurationInput) SetBucket

func (s *DeleteBucketInventoryConfigurationInput) SetBucket(v string) *DeleteBucketInventoryConfigurationInput

SetBucket sets the Bucket field's value.

func (*DeleteBucketInventoryConfigurationInput) SetExpectedBucketOwner

func (s *DeleteBucketInventoryConfigurationInput) SetExpectedBucketOwner(v string) *DeleteBucketInventoryConfigurationInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*DeleteBucketInventoryConfigurationInput) SetId

func (s *DeleteBucketInventoryConfigurationInput) SetId(v string) *DeleteBucketInventoryConfigurationInput

SetId sets the Id field's value.

func (DeleteBucketInventoryConfigurationInput) String

func (s DeleteBucketInventoryConfigurationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketInventoryConfigurationInput) Validate

func (s *DeleteBucketInventoryConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketInventoryConfigurationOutput

type DeleteBucketInventoryConfigurationOutput struct {
    // contains filtered or unexported fields
}

func (DeleteBucketInventoryConfigurationOutput) GoString

func (s DeleteBucketInventoryConfigurationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketInventoryConfigurationOutput) String

func (s DeleteBucketInventoryConfigurationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBucketLifecycleInput

type DeleteBucketLifecycleInput struct {

    // The bucket name of the lifecycle to delete.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteBucketLifecycleInput) GoString

func (s DeleteBucketLifecycleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketLifecycleInput) SetBucket

func (s *DeleteBucketLifecycleInput) SetBucket(v string) *DeleteBucketLifecycleInput

SetBucket sets the Bucket field's value.

func (*DeleteBucketLifecycleInput) SetExpectedBucketOwner

func (s *DeleteBucketLifecycleInput) SetExpectedBucketOwner(v string) *DeleteBucketLifecycleInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (DeleteBucketLifecycleInput) String

func (s DeleteBucketLifecycleInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketLifecycleInput) Validate

func (s *DeleteBucketLifecycleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketLifecycleOutput

type DeleteBucketLifecycleOutput struct {
    // contains filtered or unexported fields
}

func (DeleteBucketLifecycleOutput) GoString

func (s DeleteBucketLifecycleOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketLifecycleOutput) String

func (s DeleteBucketLifecycleOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBucketMetricsConfigurationInput

type DeleteBucketMetricsConfigurationInput struct {

    // The name of the bucket containing the metrics configuration to delete.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // The ID used to identify the metrics configuration. The ID has a 64 character
    // limit and can only contain letters, numbers, periods, dashes, and underscores.
    //
    // Id is a required field
    Id *string `location:"querystring" locationName:"id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteBucketMetricsConfigurationInput) GoString

func (s DeleteBucketMetricsConfigurationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketMetricsConfigurationInput) SetBucket

func (s *DeleteBucketMetricsConfigurationInput) SetBucket(v string) *DeleteBucketMetricsConfigurationInput

SetBucket sets the Bucket field's value.

func (*DeleteBucketMetricsConfigurationInput) SetExpectedBucketOwner

func (s *DeleteBucketMetricsConfigurationInput) SetExpectedBucketOwner(v string) *DeleteBucketMetricsConfigurationInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*DeleteBucketMetricsConfigurationInput) SetId

func (s *DeleteBucketMetricsConfigurationInput) SetId(v string) *DeleteBucketMetricsConfigurationInput

SetId sets the Id field's value.

func (DeleteBucketMetricsConfigurationInput) String

func (s DeleteBucketMetricsConfigurationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketMetricsConfigurationInput) Validate

func (s *DeleteBucketMetricsConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketMetricsConfigurationOutput

type DeleteBucketMetricsConfigurationOutput struct {
    // contains filtered or unexported fields
}

func (DeleteBucketMetricsConfigurationOutput) GoString

func (s DeleteBucketMetricsConfigurationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketMetricsConfigurationOutput) String

func (s DeleteBucketMetricsConfigurationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBucketOutput

type DeleteBucketOutput struct {
    // contains filtered or unexported fields
}

func (DeleteBucketOutput) GoString

func (s DeleteBucketOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketOutput) String

func (s DeleteBucketOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBucketOwnershipControlsInput

type DeleteBucketOwnershipControlsInput struct {

    // The Amazon S3 bucket whose OwnershipControls you want to delete.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteBucketOwnershipControlsInput) GoString

func (s DeleteBucketOwnershipControlsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketOwnershipControlsInput) SetBucket

func (s *DeleteBucketOwnershipControlsInput) SetBucket(v string) *DeleteBucketOwnershipControlsInput

SetBucket sets the Bucket field's value.

func (*DeleteBucketOwnershipControlsInput) SetExpectedBucketOwner

func (s *DeleteBucketOwnershipControlsInput) SetExpectedBucketOwner(v string) *DeleteBucketOwnershipControlsInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (DeleteBucketOwnershipControlsInput) String

func (s DeleteBucketOwnershipControlsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketOwnershipControlsInput) Validate

func (s *DeleteBucketOwnershipControlsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketOwnershipControlsOutput

type DeleteBucketOwnershipControlsOutput struct {
    // contains filtered or unexported fields
}

func (DeleteBucketOwnershipControlsOutput) GoString

func (s DeleteBucketOwnershipControlsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketOwnershipControlsOutput) String

func (s DeleteBucketOwnershipControlsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBucketPolicyInput

type DeleteBucketPolicyInput struct {

    // The bucket name.
    //
    // Directory buckets - When you use this operation with a directory bucket,
    // you must use path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name
    // . Virtual-hosted-style requests aren't supported. Directory bucket names
    // must be unique in the chosen Availability Zone. Bucket names must also follow
    // the format bucket_base_name--az_id--x-s3 (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3).
    // For information about bucket naming restrictions, see Directory bucket naming
    // rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html)
    // in the Amazon S3 User Guide
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    //
    // For directory buckets, this header is not supported in this API operation.
    // If you specify this header, the request fails with the HTTP status code 501
    // Not Implemented.
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteBucketPolicyInput) GoString

func (s DeleteBucketPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketPolicyInput) SetBucket

func (s *DeleteBucketPolicyInput) SetBucket(v string) *DeleteBucketPolicyInput

SetBucket sets the Bucket field's value.

func (*DeleteBucketPolicyInput) SetExpectedBucketOwner

func (s *DeleteBucketPolicyInput) SetExpectedBucketOwner(v string) *DeleteBucketPolicyInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (DeleteBucketPolicyInput) String

func (s DeleteBucketPolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketPolicyInput) Validate

func (s *DeleteBucketPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketPolicyOutput

type DeleteBucketPolicyOutput struct {
    // contains filtered or unexported fields
}

func (DeleteBucketPolicyOutput) GoString

func (s DeleteBucketPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketPolicyOutput) String

func (s DeleteBucketPolicyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBucketReplicationInput

type DeleteBucketReplicationInput struct {

    // The bucket name.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteBucketReplicationInput) GoString

func (s DeleteBucketReplicationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketReplicationInput) SetBucket

func (s *DeleteBucketReplicationInput) SetBucket(v string) *DeleteBucketReplicationInput

SetBucket sets the Bucket field's value.

func (*DeleteBucketReplicationInput) SetExpectedBucketOwner

func (s *DeleteBucketReplicationInput) SetExpectedBucketOwner(v string) *DeleteBucketReplicationInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (DeleteBucketReplicationInput) String

func (s DeleteBucketReplicationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketReplicationInput) Validate

func (s *DeleteBucketReplicationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketReplicationOutput

type DeleteBucketReplicationOutput struct {
    // contains filtered or unexported fields
}

func (DeleteBucketReplicationOutput) GoString

func (s DeleteBucketReplicationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketReplicationOutput) String

func (s DeleteBucketReplicationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBucketTaggingInput

type DeleteBucketTaggingInput struct {

    // The bucket that has the tag set to be removed.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteBucketTaggingInput) GoString

func (s DeleteBucketTaggingInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketTaggingInput) SetBucket

func (s *DeleteBucketTaggingInput) SetBucket(v string) *DeleteBucketTaggingInput

SetBucket sets the Bucket field's value.

func (*DeleteBucketTaggingInput) SetExpectedBucketOwner

func (s *DeleteBucketTaggingInput) SetExpectedBucketOwner(v string) *DeleteBucketTaggingInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (DeleteBucketTaggingInput) String

func (s DeleteBucketTaggingInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketTaggingInput) Validate

func (s *DeleteBucketTaggingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketTaggingOutput

type DeleteBucketTaggingOutput struct {
    // contains filtered or unexported fields
}

func (DeleteBucketTaggingOutput) GoString

func (s DeleteBucketTaggingOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketTaggingOutput) String

func (s DeleteBucketTaggingOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBucketWebsiteInput

type DeleteBucketWebsiteInput struct {

    // The bucket name for which you want to remove the website configuration.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteBucketWebsiteInput) GoString

func (s DeleteBucketWebsiteInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketWebsiteInput) SetBucket

func (s *DeleteBucketWebsiteInput) SetBucket(v string) *DeleteBucketWebsiteInput

SetBucket sets the Bucket field's value.

func (*DeleteBucketWebsiteInput) SetExpectedBucketOwner

func (s *DeleteBucketWebsiteInput) SetExpectedBucketOwner(v string) *DeleteBucketWebsiteInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (DeleteBucketWebsiteInput) String

func (s DeleteBucketWebsiteInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketWebsiteInput) Validate

func (s *DeleteBucketWebsiteInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketWebsiteOutput

type DeleteBucketWebsiteOutput struct {
    // contains filtered or unexported fields
}

func (DeleteBucketWebsiteOutput) GoString

func (s DeleteBucketWebsiteOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketWebsiteOutput) String

func (s DeleteBucketWebsiteOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteMarkerEntry

type DeleteMarkerEntry struct {

    // Specifies whether the object is (true) or is not (false) the latest version
    // of an object.
    IsLatest *bool `type:"boolean"`

    // The object key.
    Key *string `min:"1" type:"string"`

    // Date and time when the object was last modified.
    LastModified *time.Time `type:"timestamp"`

    // The account that created the delete marker.>
    Owner *Owner `type:"structure"`

    // Version ID of an object.
    VersionId *string `type:"string"`
    // contains filtered or unexported fields
}

Information about the delete marker.

func (DeleteMarkerEntry) GoString

func (s DeleteMarkerEntry) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMarkerEntry) SetIsLatest

func (s *DeleteMarkerEntry) SetIsLatest(v bool) *DeleteMarkerEntry

SetIsLatest sets the IsLatest field's value.

func (*DeleteMarkerEntry) SetKey

func (s *DeleteMarkerEntry) SetKey(v string) *DeleteMarkerEntry

SetKey sets the Key field's value.

func (*DeleteMarkerEntry) SetLastModified

func (s *DeleteMarkerEntry) SetLastModified(v time.Time) *DeleteMarkerEntry

SetLastModified sets the LastModified field's value.

func (*DeleteMarkerEntry) SetOwner

func (s *DeleteMarkerEntry) SetOwner(v *Owner) *DeleteMarkerEntry

SetOwner sets the Owner field's value.

func (*DeleteMarkerEntry) SetVersionId

func (s *DeleteMarkerEntry) SetVersionId(v string) *DeleteMarkerEntry

SetVersionId sets the VersionId field's value.

func (DeleteMarkerEntry) String

func (s DeleteMarkerEntry) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteMarkerReplication

type DeleteMarkerReplication struct {

    // Indicates whether to replicate delete markers.
    //
    // Indicates whether to replicate delete markers.
    Status *string `type:"string" enum:"DeleteMarkerReplicationStatus"`
    // contains filtered or unexported fields
}

Specifies whether Amazon S3 replicates delete markers. If you specify a Filter in your replication configuration, you must also include a DeleteMarkerReplication element. If your Filter includes a Tag element, the DeleteMarkerReplication Status must be set to Disabled, because Amazon S3 does not support replicating delete markers for tag-based rules. For an example configuration, see Basic Rule Configuration (https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-config-min-rule-config).

For more information about delete marker replication, see Basic Rule Configuration (https://docs.aws.amazon.com/AmazonS3/latest/dev/delete-marker-replication.html).

If you are using an earlier version of the replication configuration, Amazon S3 handles replication of delete markers differently. For more information, see Backward Compatibility (https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-backward-compat-considerations).

func (DeleteMarkerReplication) GoString

func (s DeleteMarkerReplication) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMarkerReplication) SetStatus

func (s *DeleteMarkerReplication) SetStatus(v string) *DeleteMarkerReplication

SetStatus sets the Status field's value.

func (DeleteMarkerReplication) String

func (s DeleteMarkerReplication) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteObjectInput

type DeleteObjectInput struct {

    // The bucket name of the bucket containing the object.
    //
    // Directory buckets - When you use this operation with a directory bucket,
    // you must use virtual-hosted-style requests in the format Bucket_name.s3express-az_id.region.amazonaws.com.
    // Path-style requests are not supported. Directory bucket names must be unique
    // in the chosen Availability Zone. Bucket names must follow the format bucket_base_name--az-id--x-s3
    // (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about
    // bucket naming restrictions, see Directory bucket naming rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html)
    // in the Amazon S3 User Guide.
    //
    // Access points - When you use this action with an access point, you must provide
    // the alias of the access point in place of the bucket name or specify the
    // access point ARN. When using the access point ARN, you must direct requests
    // to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
    // When using this action with an access point through the Amazon Web Services
    // SDKs, you provide the access point ARN in place of the bucket name. For more
    // information about access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
    // in the Amazon S3 User Guide.
    //
    // Access points and Object Lambda access points are not supported by directory
    // buckets.
    //
    // S3 on Outposts - When you use this action with Amazon S3 on Outposts, you
    // must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname
    // takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com.
    // When you use this action with S3 on Outposts through the Amazon Web Services
    // SDKs, you provide the Outposts access point ARN in place of the bucket name.
    // For more information about S3 on Outposts ARNs, see What is S3 on Outposts?
    // (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
    // in the Amazon S3 User Guide.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // Indicates whether S3 Object Lock should bypass Governance-mode restrictions
    // to process this operation. To use this header, you must have the s3:BypassGovernanceRetention
    // permission.
    //
    // This functionality is not supported for directory buckets.
    BypassGovernanceRetention *bool `location:"header" locationName:"x-amz-bypass-governance-retention" type:"boolean"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // Key name of the object to delete.
    //
    // Key is a required field
    Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`

    // The concatenation of the authentication device's serial number, a space,
    // and the value that is displayed on your authentication device. Required to
    // permanently delete a versioned object if versioning is configured with MFA
    // delete enabled.
    //
    // This functionality is not supported for directory buckets.
    MFA *string `location:"header" locationName:"x-amz-mfa" type:"string"`

    // Confirms that the requester knows that they will be charged for the request.
    // Bucket owners need not specify this parameter in their requests. If either
    // the source or destination S3 bucket has Requester Pays enabled, the requester
    // will pay for corresponding charges to copy the object. For information about
    // downloading objects from Requester Pays buckets, see Downloading Objects
    // in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`

    // Version ID used to reference a specific version of the object.
    //
    // For directory buckets in this API operation, only the null value of the version
    // ID is supported.
    VersionId *string `location:"querystring" locationName:"versionId" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteObjectInput) GoString

func (s DeleteObjectInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteObjectInput) SetBucket

func (s *DeleteObjectInput) SetBucket(v string) *DeleteObjectInput

SetBucket sets the Bucket field's value.

func (*DeleteObjectInput) SetBypassGovernanceRetention

func (s *DeleteObjectInput) SetBypassGovernanceRetention(v bool) *DeleteObjectInput

SetBypassGovernanceRetention sets the BypassGovernanceRetention field's value.

func (*DeleteObjectInput) SetExpectedBucketOwner

func (s *DeleteObjectInput) SetExpectedBucketOwner(v string) *DeleteObjectInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*DeleteObjectInput) SetKey

func (s *DeleteObjectInput) SetKey(v string) *DeleteObjectInput

SetKey sets the Key field's value.

func (*DeleteObjectInput) SetMFA

func (s *DeleteObjectInput) SetMFA(v string) *DeleteObjectInput

SetMFA sets the MFA field's value.

func (*DeleteObjectInput) SetRequestPayer

func (s *DeleteObjectInput) SetRequestPayer(v string) *DeleteObjectInput

SetRequestPayer sets the RequestPayer field's value.

func (*DeleteObjectInput) SetVersionId

func (s *DeleteObjectInput) SetVersionId(v string) *DeleteObjectInput

SetVersionId sets the VersionId field's value.

func (DeleteObjectInput) String

func (s DeleteObjectInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteObjectInput) Validate

func (s *DeleteObjectInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteObjectOutput

type DeleteObjectOutput struct {

    // Indicates whether the specified object version that was permanently deleted
    // was (true) or was not (false) a delete marker before deletion. In a simple
    // DELETE, this header indicates whether (true) or not (false) the current version
    // of the object is a delete marker.
    //
    // This functionality is not supported for directory buckets.
    DeleteMarker *bool `location:"header" locationName:"x-amz-delete-marker" type:"boolean"`

    // If present, indicates that the requester was successfully charged for the
    // request.
    //
    // This functionality is not supported for directory buckets.
    RequestCharged *string `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"`

    // Returns the version ID of the delete marker created as a result of the DELETE
    // operation.
    //
    // This functionality is not supported for directory buckets.
    VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteObjectOutput) GoString

func (s DeleteObjectOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteObjectOutput) SetDeleteMarker

func (s *DeleteObjectOutput) SetDeleteMarker(v bool) *DeleteObjectOutput

SetDeleteMarker sets the DeleteMarker field's value.

func (*DeleteObjectOutput) SetRequestCharged

func (s *DeleteObjectOutput) SetRequestCharged(v string) *DeleteObjectOutput

SetRequestCharged sets the RequestCharged field's value.

func (*DeleteObjectOutput) SetVersionId

func (s *DeleteObjectOutput) SetVersionId(v string) *DeleteObjectOutput

SetVersionId sets the VersionId field's value.

func (DeleteObjectOutput) String

func (s DeleteObjectOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteObjectTaggingInput

type DeleteObjectTaggingInput struct {

    // The bucket name containing the objects from which to remove the tags.
    //
    // Access points - When you use this action with an access point, you must provide
    // the alias of the access point in place of the bucket name or specify the
    // access point ARN. When using the access point ARN, you must direct requests
    // to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
    // When using this action with an access point through the Amazon Web Services
    // SDKs, you provide the access point ARN in place of the bucket name. For more
    // information about access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
    // in the Amazon S3 User Guide.
    //
    // S3 on Outposts - When you use this action with Amazon S3 on Outposts, you
    // must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname
    // takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com.
    // When you use this action with S3 on Outposts through the Amazon Web Services
    // SDKs, you provide the Outposts access point ARN in place of the bucket name.
    // For more information about S3 on Outposts ARNs, see What is S3 on Outposts?
    // (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
    // in the Amazon S3 User Guide.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // The key that identifies the object in the bucket from which to remove all
    // tags.
    //
    // Key is a required field
    Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`

    // The versionId of the object that the tag-set will be removed from.
    VersionId *string `location:"querystring" locationName:"versionId" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteObjectTaggingInput) GoString

func (s DeleteObjectTaggingInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteObjectTaggingInput) SetBucket

func (s *DeleteObjectTaggingInput) SetBucket(v string) *DeleteObjectTaggingInput

SetBucket sets the Bucket field's value.

func (*DeleteObjectTaggingInput) SetExpectedBucketOwner

func (s *DeleteObjectTaggingInput) SetExpectedBucketOwner(v string) *DeleteObjectTaggingInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*DeleteObjectTaggingInput) SetKey

func (s *DeleteObjectTaggingInput) SetKey(v string) *DeleteObjectTaggingInput

SetKey sets the Key field's value.

func (*DeleteObjectTaggingInput) SetVersionId

func (s *DeleteObjectTaggingInput) SetVersionId(v string) *DeleteObjectTaggingInput

SetVersionId sets the VersionId field's value.

func (DeleteObjectTaggingInput) String

func (s DeleteObjectTaggingInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteObjectTaggingInput) Validate

func (s *DeleteObjectTaggingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteObjectTaggingOutput

type DeleteObjectTaggingOutput struct {

    // The versionId of the object the tag-set was removed from.
    VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteObjectTaggingOutput) GoString

func (s DeleteObjectTaggingOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteObjectTaggingOutput) SetVersionId

func (s *DeleteObjectTaggingOutput) SetVersionId(v string) *DeleteObjectTaggingOutput

SetVersionId sets the VersionId field's value.

func (DeleteObjectTaggingOutput) String

func (s DeleteObjectTaggingOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteObjectsInput

type DeleteObjectsInput struct {

    // The bucket name containing the objects to delete.
    //
    // Directory buckets - When you use this operation with a directory bucket,
    // you must use virtual-hosted-style requests in the format Bucket_name.s3express-az_id.region.amazonaws.com.
    // Path-style requests are not supported. Directory bucket names must be unique
    // in the chosen Availability Zone. Bucket names must follow the format bucket_base_name--az-id--x-s3
    // (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about
    // bucket naming restrictions, see Directory bucket naming rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html)
    // in the Amazon S3 User Guide.
    //
    // Access points - When you use this action with an access point, you must provide
    // the alias of the access point in place of the bucket name or specify the
    // access point ARN. When using the access point ARN, you must direct requests
    // to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
    // When using this action with an access point through the Amazon Web Services
    // SDKs, you provide the access point ARN in place of the bucket name. For more
    // information about access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
    // in the Amazon S3 User Guide.
    //
    // Access points and Object Lambda access points are not supported by directory
    // buckets.
    //
    // S3 on Outposts - When you use this action with Amazon S3 on Outposts, you
    // must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname
    // takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com.
    // When you use this action with S3 on Outposts through the Amazon Web Services
    // SDKs, you provide the Outposts access point ARN in place of the bucket name.
    // For more information about S3 on Outposts ARNs, see What is S3 on Outposts?
    // (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
    // in the Amazon S3 User Guide.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // Specifies whether you want to delete this object even if it has a Governance-type
    // Object Lock in place. To use this header, you must have the s3:BypassGovernanceRetention
    // permission.
    //
    // This functionality is not supported for directory buckets.
    BypassGovernanceRetention *bool `location:"header" locationName:"x-amz-bypass-governance-retention" type:"boolean"`

    // Indicates the algorithm used to create the checksum for the object when you
    // use the SDK. This header will not provide any additional functionality if
    // you don't use the SDK. When you send this header, there must be a corresponding
    // x-amz-checksum-algorithm or x-amz-trailer header sent. Otherwise, Amazon
    // S3 fails the request with the HTTP status code 400 Bad Request.
    //
    // For the x-amz-checksum-algorithm header, replace algorithm with the supported
    // algorithm from the following list:
    //
    //    * CRC32
    //
    //    * CRC32C
    //
    //    * SHA1
    //
    //    * SHA256
    //
    // For more information, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
    // in the Amazon S3 User Guide.
    //
    // If the individual checksum value you provide through x-amz-checksum-algorithm
    // doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm,
    // Amazon S3 ignores any provided ChecksumAlgorithm parameter and uses the checksum
    // algorithm that matches the provided value in x-amz-checksum-algorithm .
    //
    // If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
    // parameter.
    //
    // The AWS SDK for Go v1 does not support automatic computing request payload
    // checksum. This feature is available in the AWS SDK for Go v2. If a value
    // is specified for this parameter, the matching algorithm's checksum member
    // must be populated with the algorithm's checksum of the request payload.
    //
    // The SDK will automatically compute the Content-MD5 checksum for this operation.
    // The AWS SDK for Go v2 allows you to configure alternative checksum algorithm
    // to be used.
    ChecksumAlgorithm *string `location:"header" locationName:"x-amz-sdk-checksum-algorithm" type:"string" enum:"ChecksumAlgorithm"`

    // Container for the request.
    //
    // Delete is a required field
    Delete *Delete `locationName:"Delete" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // The concatenation of the authentication device's serial number, a space,
    // and the value that is displayed on your authentication device. Required to
    // permanently delete a versioned object if versioning is configured with MFA
    // delete enabled.
    //
    // When performing the DeleteObjects operation on an MFA delete enabled bucket,
    // which attempts to delete the specified versioned objects, you must include
    // an MFA token. If you don't provide an MFA token, the entire request will
    // fail, even if there are non-versioned objects that you are trying to delete.
    // If you provide an invalid token, whether there are versioned object keys
    // in the request or not, the entire Multi-Object Delete request will fail.
    // For information about MFA Delete, see MFA Delete (https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html#MultiFactorAuthenticationDelete)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    MFA *string `location:"header" locationName:"x-amz-mfa" type:"string"`

    // Confirms that the requester knows that they will be charged for the request.
    // Bucket owners need not specify this parameter in their requests. If either
    // the source or destination S3 bucket has Requester Pays enabled, the requester
    // will pay for corresponding charges to copy the object. For information about
    // downloading objects from Requester Pays buckets, see Downloading Objects
    // in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`
    // contains filtered or unexported fields
}

func (DeleteObjectsInput) GoString

func (s DeleteObjectsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteObjectsInput) SetBucket

func (s *DeleteObjectsInput) SetBucket(v string) *DeleteObjectsInput

SetBucket sets the Bucket field's value.

func (*DeleteObjectsInput) SetBypassGovernanceRetention

func (s *DeleteObjectsInput) SetBypassGovernanceRetention(v bool) *DeleteObjectsInput

SetBypassGovernanceRetention sets the BypassGovernanceRetention field's value.

func (*DeleteObjectsInput) SetChecksumAlgorithm

func (s *DeleteObjectsInput) SetChecksumAlgorithm(v string) *DeleteObjectsInput

SetChecksumAlgorithm sets the ChecksumAlgorithm field's value.

func (*DeleteObjectsInput) SetDelete

func (s *DeleteObjectsInput) SetDelete(v *Delete) *DeleteObjectsInput

SetDelete sets the Delete field's value.

func (*DeleteObjectsInput) SetExpectedBucketOwner

func (s *DeleteObjectsInput) SetExpectedBucketOwner(v string) *DeleteObjectsInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*DeleteObjectsInput) SetMFA

func (s *DeleteObjectsInput) SetMFA(v string) *DeleteObjectsInput

SetMFA sets the MFA field's value.

func (*DeleteObjectsInput) SetRequestPayer

func (s *DeleteObjectsInput) SetRequestPayer(v string) *DeleteObjectsInput

SetRequestPayer sets the RequestPayer field's value.

func (DeleteObjectsInput) String

func (s DeleteObjectsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteObjectsInput) Validate

func (s *DeleteObjectsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteObjectsOutput

type DeleteObjectsOutput struct {

    // Container element for a successful delete. It identifies the object that
    // was successfully deleted.
    Deleted []*DeletedObject `type:"list" flattened:"true"`

    // Container for a failed delete action that describes the object that Amazon
    // S3 attempted to delete and the error it encountered.
    Errors []*Error `locationName:"Error" type:"list" flattened:"true"`

    // If present, indicates that the requester was successfully charged for the
    // request.
    //
    // This functionality is not supported for directory buckets.
    RequestCharged *string `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"`
    // contains filtered or unexported fields
}

func (DeleteObjectsOutput) GoString

func (s DeleteObjectsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteObjectsOutput) SetDeleted

func (s *DeleteObjectsOutput) SetDeleted(v []*DeletedObject) *DeleteObjectsOutput

SetDeleted sets the Deleted field's value.

func (*DeleteObjectsOutput) SetErrors

func (s *DeleteObjectsOutput) SetErrors(v []*Error) *DeleteObjectsOutput

SetErrors sets the Errors field's value.

func (*DeleteObjectsOutput) SetRequestCharged

func (s *DeleteObjectsOutput) SetRequestCharged(v string) *DeleteObjectsOutput

SetRequestCharged sets the RequestCharged field's value.

func (DeleteObjectsOutput) String

func (s DeleteObjectsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeletePublicAccessBlockInput

type DeletePublicAccessBlockInput struct {

    // The Amazon S3 bucket whose PublicAccessBlock configuration you want to delete.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (DeletePublicAccessBlockInput) GoString

func (s DeletePublicAccessBlockInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePublicAccessBlockInput) SetBucket

func (s *DeletePublicAccessBlockInput) SetBucket(v string) *DeletePublicAccessBlockInput

SetBucket sets the Bucket field's value.

func (*DeletePublicAccessBlockInput) SetExpectedBucketOwner

func (s *DeletePublicAccessBlockInput) SetExpectedBucketOwner(v string) *DeletePublicAccessBlockInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (DeletePublicAccessBlockInput) String

func (s DeletePublicAccessBlockInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePublicAccessBlockInput) Validate

func (s *DeletePublicAccessBlockInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeletePublicAccessBlockOutput

type DeletePublicAccessBlockOutput struct {
    // contains filtered or unexported fields
}

func (DeletePublicAccessBlockOutput) GoString

func (s DeletePublicAccessBlockOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeletePublicAccessBlockOutput) String

func (s DeletePublicAccessBlockOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeletedObject

type DeletedObject struct {

    // Indicates whether the specified object version that was permanently deleted
    // was (true) or was not (false) a delete marker before deletion. In a simple
    // DELETE, this header indicates whether (true) or not (false) the current version
    // of the object is a delete marker.
    //
    // This functionality is not supported for directory buckets.
    DeleteMarker *bool `type:"boolean"`

    // The version ID of the delete marker created as a result of the DELETE operation.
    // If you delete a specific object version, the value returned by this header
    // is the version ID of the object version deleted.
    //
    // This functionality is not supported for directory buckets.
    DeleteMarkerVersionId *string `type:"string"`

    // The name of the deleted object.
    Key *string `min:"1" type:"string"`

    // The version ID of the deleted object.
    //
    // This functionality is not supported for directory buckets.
    VersionId *string `type:"string"`
    // contains filtered or unexported fields
}

Information about the deleted object.

func (DeletedObject) GoString

func (s DeletedObject) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletedObject) SetDeleteMarker

func (s *DeletedObject) SetDeleteMarker(v bool) *DeletedObject

SetDeleteMarker sets the DeleteMarker field's value.

func (*DeletedObject) SetDeleteMarkerVersionId

func (s *DeletedObject) SetDeleteMarkerVersionId(v string) *DeletedObject

SetDeleteMarkerVersionId sets the DeleteMarkerVersionId field's value.

func (*DeletedObject) SetKey

func (s *DeletedObject) SetKey(v string) *DeletedObject

SetKey sets the Key field's value.

func (*DeletedObject) SetVersionId

func (s *DeletedObject) SetVersionId(v string) *DeletedObject

SetVersionId sets the VersionId field's value.

func (DeletedObject) String

func (s DeletedObject) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Destination

type Destination struct {

    // Specify this only in a cross-account scenario (where source and destination
    // bucket owners are not the same), and you want to change replica ownership
    // to the Amazon Web Services account that owns the destination bucket. If this
    // is not specified in the replication configuration, the replicas are owned
    // by same Amazon Web Services account that owns the source object.
    AccessControlTranslation *AccessControlTranslation `type:"structure"`

    // Destination bucket owner account ID. In a cross-account scenario, if you
    // direct Amazon S3 to change replica ownership to the Amazon Web Services account
    // that owns the destination bucket by specifying the AccessControlTranslation
    // property, this is the account ID of the destination bucket owner. For more
    // information, see Replication Additional Configuration: Changing the Replica
    // Owner (https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-change-owner.html)
    // in the Amazon S3 User Guide.
    Account *string `type:"string"`

    // The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to
    // store the results.
    //
    // Bucket is a required field
    Bucket *string `type:"string" required:"true"`

    // A container that provides information about encryption. If SourceSelectionCriteria
    // is specified, you must specify this element.
    EncryptionConfiguration *EncryptionConfiguration `type:"structure"`

    // A container specifying replication metrics-related settings enabling replication
    // metrics and events.
    Metrics *Metrics `type:"structure"`

    // A container specifying S3 Replication Time Control (S3 RTC), including whether
    // S3 RTC is enabled and the time when all objects and operations on objects
    // must be replicated. Must be specified together with a Metrics block.
    ReplicationTime *ReplicationTime `type:"structure"`

    // The storage class to use when replicating objects, such as S3 Standard or
    // reduced redundancy. By default, Amazon S3 uses the storage class of the source
    // object to create the object replica.
    //
    // For valid values, see the StorageClass element of the PUT Bucket replication
    // (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html)
    // action in the Amazon S3 API Reference.
    StorageClass *string `type:"string" enum:"StorageClass"`
    // contains filtered or unexported fields
}

Specifies information about where to publish analysis or configuration results for an Amazon S3 bucket and S3 Replication Time Control (S3 RTC).

func (Destination) GoString

func (s Destination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Destination) SetAccessControlTranslation

func (s *Destination) SetAccessControlTranslation(v *AccessControlTranslation) *Destination

SetAccessControlTranslation sets the AccessControlTranslation field's value.

func (*Destination) SetAccount

func (s *Destination) SetAccount(v string) *Destination

SetAccount sets the Account field's value.

func (*Destination) SetBucket

func (s *Destination) SetBucket(v string) *Destination

SetBucket sets the Bucket field's value.

func (*Destination) SetEncryptionConfiguration

func (s *Destination) SetEncryptionConfiguration(v *EncryptionConfiguration) *Destination

SetEncryptionConfiguration sets the EncryptionConfiguration field's value.

func (*Destination) SetMetrics

func (s *Destination) SetMetrics(v *Metrics) *Destination

SetMetrics sets the Metrics field's value.

func (*Destination) SetReplicationTime

func (s *Destination) SetReplicationTime(v *ReplicationTime) *Destination

SetReplicationTime sets the ReplicationTime field's value.

func (*Destination) SetStorageClass

func (s *Destination) SetStorageClass(v string) *Destination

SetStorageClass sets the StorageClass field's value.

func (Destination) String

func (s Destination) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Destination) Validate

func (s *Destination) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Encryption

type Encryption struct {

    // The server-side encryption algorithm used when storing job results in Amazon
    // S3 (for example, AES256, aws:kms).
    //
    // EncryptionType is a required field
    EncryptionType *string `type:"string" required:"true" enum:"ServerSideEncryption"`

    // If the encryption type is aws:kms, this optional value can be used to specify
    // the encryption context for the restore results.
    KMSContext *string `type:"string"`

    // If the encryption type is aws:kms, this optional value specifies the ID of
    // the symmetric encryption customer managed key to use for encryption of job
    // results. Amazon S3 only supports symmetric encryption KMS keys. For more
    // information, see Asymmetric keys in KMS (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html)
    // in the Amazon Web Services Key Management Service Developer Guide.
    //
    // KMSKeyId is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by Encryption's
    // String and GoString methods.
    KMSKeyId *string `type:"string" sensitive:"true"`
    // contains filtered or unexported fields
}

Contains the type of server-side encryption used.

func (Encryption) GoString

func (s Encryption) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Encryption) SetEncryptionType

func (s *Encryption) SetEncryptionType(v string) *Encryption

SetEncryptionType sets the EncryptionType field's value.

func (*Encryption) SetKMSContext

func (s *Encryption) SetKMSContext(v string) *Encryption

SetKMSContext sets the KMSContext field's value.

func (*Encryption) SetKMSKeyId

func (s *Encryption) SetKMSKeyId(v string) *Encryption

SetKMSKeyId sets the KMSKeyId field's value.

func (Encryption) String

func (s Encryption) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Encryption) Validate

func (s *Encryption) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EncryptionConfiguration

type EncryptionConfiguration struct {

    // Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web
    // Services KMS key stored in Amazon Web Services Key Management Service (KMS)
    // for the destination bucket. Amazon S3 uses this key to encrypt replica objects.
    // Amazon S3 only supports symmetric encryption KMS keys. For more information,
    // see Asymmetric keys in Amazon Web Services KMS (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html)
    // in the Amazon Web Services Key Management Service Developer Guide.
    ReplicaKmsKeyID *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies encryption-related information for an Amazon S3 bucket that is a destination for replicated objects.

func (EncryptionConfiguration) GoString

func (s EncryptionConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EncryptionConfiguration) SetReplicaKmsKeyID

func (s *EncryptionConfiguration) SetReplicaKmsKeyID(v string) *EncryptionConfiguration

SetReplicaKmsKeyID sets the ReplicaKmsKeyID field's value.

func (EncryptionConfiguration) String

func (s EncryptionConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EndEvent

type EndEvent struct {
    // contains filtered or unexported fields
}

A message that indicates the request is complete and no more messages will be sent. You should not assume that the request is complete until the client receives an EndEvent.

func (EndEvent) GoString

func (s EndEvent) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EndEvent) MarshalEvent

func (s *EndEvent) MarshalEvent(pm protocol.PayloadMarshaler) (msg eventstream.Message, err error)

MarshalEvent marshals the type into an stream event value. This method should only used internally within the SDK's EventStream handling.

func (EndEvent) String

func (s EndEvent) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EndEvent) UnmarshalEvent

func (s *EndEvent) UnmarshalEvent(
    payloadUnmarshaler protocol.PayloadUnmarshaler,
    msg eventstream.Message,
) error

UnmarshalEvent unmarshals the EventStream Message into the EndEvent value. This method is only used internally within the SDK's EventStream handling.

type Error

type Error struct {

    // The error code is a string that uniquely identifies an error condition. It
    // is meant to be read and understood by programs that detect and handle errors
    // by type. The following is a list of Amazon S3 error codes. For more information,
    // see Error responses (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html).
    //
    //    * Code: AccessDenied Description: Access Denied HTTP Status Code: 403
    //    Forbidden SOAP Fault Code Prefix: Client
    //
    //    * Code: AccountProblem Description: There is a problem with your Amazon
    //    Web Services account that prevents the action from completing successfully.
    //    Contact Amazon Web Services Support for further assistance. HTTP Status
    //    Code: 403 Forbidden SOAP Fault Code Prefix: Client
    //
    //    * Code: AllAccessDisabled Description: All access to this Amazon S3 resource
    //    has been disabled. Contact Amazon Web Services Support for further assistance.
    //    HTTP Status Code: 403 Forbidden SOAP Fault Code Prefix: Client
    //
    //    * Code: AmbiguousGrantByEmailAddress Description: The email address you
    //    provided is associated with more than one account. HTTP Status Code: 400
    //    Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: AuthorizationHeaderMalformed Description: The authorization header
    //    you provided is invalid. HTTP Status Code: 400 Bad Request HTTP Status
    //    Code: N/A
    //
    //    * Code: BadDigest Description: The Content-MD5 you specified did not match
    //    what we received. HTTP Status Code: 400 Bad Request SOAP Fault Code Prefix:
    //    Client
    //
    //    * Code: BucketAlreadyExists Description: The requested bucket name is
    //    not available. The bucket namespace is shared by all users of the system.
    //    Please select a different name and try again. HTTP Status Code: 409 Conflict
    //    SOAP Fault Code Prefix: Client
    //
    //    * Code: BucketAlreadyOwnedByYou Description: The bucket you tried to create
    //    already exists, and you own it. Amazon S3 returns this error in all Amazon
    //    Web Services Regions except in the North Virginia Region. For legacy compatibility,
    //    if you re-create an existing bucket that you already own in the North
    //    Virginia Region, Amazon S3 returns 200 OK and resets the bucket access
    //    control lists (ACLs). Code: 409 Conflict (in all Regions except the North
    //    Virginia Region) SOAP Fault Code Prefix: Client
    //
    //    * Code: BucketNotEmpty Description: The bucket you tried to delete is
    //    not empty. HTTP Status Code: 409 Conflict SOAP Fault Code Prefix: Client
    //
    //    * Code: CredentialsNotSupported Description: This request does not support
    //    credentials. HTTP Status Code: 400 Bad Request SOAP Fault Code Prefix:
    //    Client
    //
    //    * Code: CrossLocationLoggingProhibited Description: Cross-location logging
    //    not allowed. Buckets in one geographic location cannot log information
    //    to a bucket in another location. HTTP Status Code: 403 Forbidden SOAP
    //    Fault Code Prefix: Client
    //
    //    * Code: EntityTooSmall Description: Your proposed upload is smaller than
    //    the minimum allowed object size. HTTP Status Code: 400 Bad Request SOAP
    //    Fault Code Prefix: Client
    //
    //    * Code: EntityTooLarge Description: Your proposed upload exceeds the maximum
    //    allowed object size. HTTP Status Code: 400 Bad Request SOAP Fault Code
    //    Prefix: Client
    //
    //    * Code: ExpiredToken Description: The provided token has expired. HTTP
    //    Status Code: 400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: IllegalVersioningConfigurationException Description: Indicates
    //    that the versioning configuration specified in the request is invalid.
    //    HTTP Status Code: 400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: IncompleteBody Description: You did not provide the number of
    //    bytes specified by the Content-Length HTTP header HTTP Status Code: 400
    //    Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: IncorrectNumberOfFilesInPostRequest Description: POST requires
    //    exactly one file upload per request. HTTP Status Code: 400 Bad Request
    //    SOAP Fault Code Prefix: Client
    //
    //    * Code: InlineDataTooLarge Description: Inline data exceeds the maximum
    //    allowed size. HTTP Status Code: 400 Bad Request SOAP Fault Code Prefix:
    //    Client
    //
    //    * Code: InternalError Description: We encountered an internal error. Please
    //    try again. HTTP Status Code: 500 Internal Server Error SOAP Fault Code
    //    Prefix: Server
    //
    //    * Code: InvalidAccessKeyId Description: The Amazon Web Services access
    //    key ID you provided does not exist in our records. HTTP Status Code: 403
    //    Forbidden SOAP Fault Code Prefix: Client
    //
    //    * Code: InvalidAddressingHeader Description: You must specify the Anonymous
    //    role. HTTP Status Code: N/A SOAP Fault Code Prefix: Client
    //
    //    * Code: InvalidArgument Description: Invalid Argument HTTP Status Code:
    //    400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: InvalidBucketName Description: The specified bucket is not valid.
    //    HTTP Status Code: 400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: InvalidBucketState Description: The request is not valid with
    //    the current state of the bucket. HTTP Status Code: 409 Conflict SOAP Fault
    //    Code Prefix: Client
    //
    //    * Code: InvalidDigest Description: The Content-MD5 you specified is not
    //    valid. HTTP Status Code: 400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: InvalidEncryptionAlgorithmError Description: The encryption request
    //    you specified is not valid. The valid value is AES256. HTTP Status Code:
    //    400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: InvalidLocationConstraint Description: The specified location
    //    constraint is not valid. For more information about Regions, see How to
    //    Select a Region for Your Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro).
    //    HTTP Status Code: 400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: InvalidObjectState Description: The action is not valid for the
    //    current state of the object. HTTP Status Code: 403 Forbidden SOAP Fault
    //    Code Prefix: Client
    //
    //    * Code: InvalidPart Description: One or more of the specified parts could
    //    not be found. The part might not have been uploaded, or the specified
    //    entity tag might not have matched the part's entity tag. HTTP Status Code:
    //    400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: InvalidPartOrder Description: The list of parts was not in ascending
    //    order. Parts list must be specified in order by part number. HTTP Status
    //    Code: 400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: InvalidPayer Description: All access to this object has been disabled.
    //    Please contact Amazon Web Services Support for further assistance. HTTP
    //    Status Code: 403 Forbidden SOAP Fault Code Prefix: Client
    //
    //    * Code: InvalidPolicyDocument Description: The content of the form does
    //    not meet the conditions specified in the policy document. HTTP Status
    //    Code: 400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: InvalidRange Description: The requested range cannot be satisfied.
    //    HTTP Status Code: 416 Requested Range Not Satisfiable SOAP Fault Code
    //    Prefix: Client
    //
    //    * Code: InvalidRequest Description: Please use AWS4-HMAC-SHA256. HTTP
    //    Status Code: 400 Bad Request Code: N/A
    //
    //    * Code: InvalidRequest Description: SOAP requests must be made over an
    //    HTTPS connection. HTTP Status Code: 400 Bad Request SOAP Fault Code Prefix:
    //    Client
    //
    //    * Code: InvalidRequest Description: Amazon S3 Transfer Acceleration is
    //    not supported for buckets with non-DNS compliant names. HTTP Status Code:
    //    400 Bad Request Code: N/A
    //
    //    * Code: InvalidRequest Description: Amazon S3 Transfer Acceleration is
    //    not supported for buckets with periods (.) in their names. HTTP Status
    //    Code: 400 Bad Request Code: N/A
    //
    //    * Code: InvalidRequest Description: Amazon S3 Transfer Accelerate endpoint
    //    only supports virtual style requests. HTTP Status Code: 400 Bad Request
    //    Code: N/A
    //
    //    * Code: InvalidRequest Description: Amazon S3 Transfer Accelerate is not
    //    configured on this bucket. HTTP Status Code: 400 Bad Request Code: N/A
    //
    //    * Code: InvalidRequest Description: Amazon S3 Transfer Accelerate is disabled
    //    on this bucket. HTTP Status Code: 400 Bad Request Code: N/A
    //
    //    * Code: InvalidRequest Description: Amazon S3 Transfer Acceleration is
    //    not supported on this bucket. Contact Amazon Web Services Support for
    //    more information. HTTP Status Code: 400 Bad Request Code: N/A
    //
    //    * Code: InvalidRequest Description: Amazon S3 Transfer Acceleration cannot
    //    be enabled on this bucket. Contact Amazon Web Services Support for more
    //    information. HTTP Status Code: 400 Bad Request Code: N/A
    //
    //    * Code: InvalidSecurity Description: The provided security credentials
    //    are not valid. HTTP Status Code: 403 Forbidden SOAP Fault Code Prefix:
    //    Client
    //
    //    * Code: InvalidSOAPRequest Description: The SOAP request body is invalid.
    //    HTTP Status Code: 400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: InvalidStorageClass Description: The storage class you specified
    //    is not valid. HTTP Status Code: 400 Bad Request SOAP Fault Code Prefix:
    //    Client
    //
    //    * Code: InvalidTargetBucketForLogging Description: The target bucket for
    //    logging does not exist, is not owned by you, or does not have the appropriate
    //    grants for the log-delivery group. HTTP Status Code: 400 Bad Request SOAP
    //    Fault Code Prefix: Client
    //
    //    * Code: InvalidToken Description: The provided token is malformed or otherwise
    //    invalid. HTTP Status Code: 400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: InvalidURI Description: Couldn't parse the specified URI. HTTP
    //    Status Code: 400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: KeyTooLongError Description: Your key is too long. HTTP Status
    //    Code: 400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: MalformedACLError Description: The XML you provided was not well-formed
    //    or did not validate against our published schema. HTTP Status Code: 400
    //    Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: MalformedPOSTRequest Description: The body of your POST request
    //    is not well-formed multipart/form-data. HTTP Status Code: 400 Bad Request
    //    SOAP Fault Code Prefix: Client
    //
    //    * Code: MalformedXML Description: This happens when the user sends malformed
    //    XML (XML that doesn't conform to the published XSD) for the configuration.
    //    The error message is, "The XML you provided was not well-formed or did
    //    not validate against our published schema." HTTP Status Code: 400 Bad
    //    Request SOAP Fault Code Prefix: Client
    //
    //    * Code: MaxMessageLengthExceeded Description: Your request was too big.
    //    HTTP Status Code: 400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: MaxPostPreDataLengthExceededError Description: Your POST request
    //    fields preceding the upload file were too large. HTTP Status Code: 400
    //    Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: MetadataTooLarge Description: Your metadata headers exceed the
    //    maximum allowed metadata size. HTTP Status Code: 400 Bad Request SOAP
    //    Fault Code Prefix: Client
    //
    //    * Code: MethodNotAllowed Description: The specified method is not allowed
    //    against this resource. HTTP Status Code: 405 Method Not Allowed SOAP Fault
    //    Code Prefix: Client
    //
    //    * Code: MissingAttachment Description: A SOAP attachment was expected,
    //    but none were found. HTTP Status Code: N/A SOAP Fault Code Prefix: Client
    //
    //    * Code: MissingContentLength Description: You must provide the Content-Length
    //    HTTP header. HTTP Status Code: 411 Length Required SOAP Fault Code Prefix:
    //    Client
    //
    //    * Code: MissingRequestBodyError Description: This happens when the user
    //    sends an empty XML document as a request. The error message is, "Request
    //    body is empty." HTTP Status Code: 400 Bad Request SOAP Fault Code Prefix:
    //    Client
    //
    //    * Code: MissingSecurityElement Description: The SOAP 1.1 request is missing
    //    a security element. HTTP Status Code: 400 Bad Request SOAP Fault Code
    //    Prefix: Client
    //
    //    * Code: MissingSecurityHeader Description: Your request is missing a required
    //    header. HTTP Status Code: 400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: NoLoggingStatusForKey Description: There is no such thing as a
    //    logging status subresource for a key. HTTP Status Code: 400 Bad Request
    //    SOAP Fault Code Prefix: Client
    //
    //    * Code: NoSuchBucket Description: The specified bucket does not exist.
    //    HTTP Status Code: 404 Not Found SOAP Fault Code Prefix: Client
    //
    //    * Code: NoSuchBucketPolicy Description: The specified bucket does not
    //    have a bucket policy. HTTP Status Code: 404 Not Found SOAP Fault Code
    //    Prefix: Client
    //
    //    * Code: NoSuchKey Description: The specified key does not exist. HTTP
    //    Status Code: 404 Not Found SOAP Fault Code Prefix: Client
    //
    //    * Code: NoSuchLifecycleConfiguration Description: The lifecycle configuration
    //    does not exist. HTTP Status Code: 404 Not Found SOAP Fault Code Prefix:
    //    Client
    //
    //    * Code: NoSuchUpload Description: The specified multipart upload does
    //    not exist. The upload ID might be invalid, or the multipart upload might
    //    have been aborted or completed. HTTP Status Code: 404 Not Found SOAP Fault
    //    Code Prefix: Client
    //
    //    * Code: NoSuchVersion Description: Indicates that the version ID specified
    //    in the request does not match an existing version. HTTP Status Code: 404
    //    Not Found SOAP Fault Code Prefix: Client
    //
    //    * Code: NotImplemented Description: A header you provided implies functionality
    //    that is not implemented. HTTP Status Code: 501 Not Implemented SOAP Fault
    //    Code Prefix: Server
    //
    //    * Code: NotSignedUp Description: Your account is not signed up for the
    //    Amazon S3 service. You must sign up before you can use Amazon S3. You
    //    can sign up at the following URL: Amazon S3 (http://aws.amazon.com/s3)
    //    HTTP Status Code: 403 Forbidden SOAP Fault Code Prefix: Client
    //
    //    * Code: OperationAborted Description: A conflicting conditional action
    //    is currently in progress against this resource. Try again. HTTP Status
    //    Code: 409 Conflict SOAP Fault Code Prefix: Client
    //
    //    * Code: PermanentRedirect Description: The bucket you are attempting to
    //    access must be addressed using the specified endpoint. Send all future
    //    requests to this endpoint. HTTP Status Code: 301 Moved Permanently SOAP
    //    Fault Code Prefix: Client
    //
    //    * Code: PreconditionFailed Description: At least one of the preconditions
    //    you specified did not hold. HTTP Status Code: 412 Precondition Failed
    //    SOAP Fault Code Prefix: Client
    //
    //    * Code: Redirect Description: Temporary redirect. HTTP Status Code: 307
    //    Moved Temporarily SOAP Fault Code Prefix: Client
    //
    //    * Code: RestoreAlreadyInProgress Description: Object restore is already
    //    in progress. HTTP Status Code: 409 Conflict SOAP Fault Code Prefix: Client
    //
    //    * Code: RequestIsNotMultiPartContent Description: Bucket POST must be
    //    of the enclosure-type multipart/form-data. HTTP Status Code: 400 Bad Request
    //    SOAP Fault Code Prefix: Client
    //
    //    * Code: RequestTimeout Description: Your socket connection to the server
    //    was not read from or written to within the timeout period. HTTP Status
    //    Code: 400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: RequestTimeTooSkewed Description: The difference between the request
    //    time and the server's time is too large. HTTP Status Code: 403 Forbidden
    //    SOAP Fault Code Prefix: Client
    //
    //    * Code: RequestTorrentOfBucketError Description: Requesting the torrent
    //    file of a bucket is not permitted. HTTP Status Code: 400 Bad Request SOAP
    //    Fault Code Prefix: Client
    //
    //    * Code: SignatureDoesNotMatch Description: The request signature we calculated
    //    does not match the signature you provided. Check your Amazon Web Services
    //    secret access key and signing method. For more information, see REST Authentication
    //    (https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html)
    //    and SOAP Authentication (https://docs.aws.amazon.com/AmazonS3/latest/dev/SOAPAuthentication.html)
    //    for details. HTTP Status Code: 403 Forbidden SOAP Fault Code Prefix: Client
    //
    //    * Code: ServiceUnavailable Description: Service is unable to handle request.
    //    HTTP Status Code: 503 Service Unavailable SOAP Fault Code Prefix: Server
    //
    //    * Code: SlowDown Description: Reduce your request rate. HTTP Status Code:
    //    503 Slow Down SOAP Fault Code Prefix: Server
    //
    //    * Code: TemporaryRedirect Description: You are being redirected to the
    //    bucket while DNS updates. HTTP Status Code: 307 Moved Temporarily SOAP
    //    Fault Code Prefix: Client
    //
    //    * Code: TokenRefreshRequired Description: The provided token must be refreshed.
    //    HTTP Status Code: 400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: TooManyBuckets Description: You have attempted to create more
    //    buckets than allowed. HTTP Status Code: 400 Bad Request SOAP Fault Code
    //    Prefix: Client
    //
    //    * Code: UnexpectedContent Description: This request does not support content.
    //    HTTP Status Code: 400 Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: UnresolvableGrantByEmailAddress Description: The email address
    //    you provided does not match any account on record. HTTP Status Code: 400
    //    Bad Request SOAP Fault Code Prefix: Client
    //
    //    * Code: UserKeyMustBeSpecified Description: The bucket POST must contain
    //    the specified field name. If it is specified, check the order of the fields.
    //    HTTP Status Code: 400 Bad Request SOAP Fault Code Prefix: Client
    Code *string `type:"string"`

    // The error key.
    Key *string `min:"1" type:"string"`

    // The error message contains a generic description of the error condition in
    // English. It is intended for a human audience. Simple programs display the
    // message directly to the end user if they encounter an error condition they
    // don't know how or don't care to handle. Sophisticated programs with more
    // exhaustive error handling and proper internationalization are more likely
    // to ignore the error message.
    Message *string `type:"string"`

    // The version ID of the error.
    //
    // This functionality is not supported for directory buckets.
    VersionId *string `type:"string"`
    // contains filtered or unexported fields
}

Container for all error elements.

func (Error) GoString

func (s Error) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Error) SetCode

func (s *Error) SetCode(v string) *Error

SetCode sets the Code field's value.

func (*Error) SetKey

func (s *Error) SetKey(v string) *Error

SetKey sets the Key field's value.

func (*Error) SetMessage

func (s *Error) SetMessage(v string) *Error

SetMessage sets the Message field's value.

func (*Error) SetVersionId

func (s *Error) SetVersionId(v string) *Error

SetVersionId sets the VersionId field's value.

func (Error) String

func (s Error) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ErrorDocument

type ErrorDocument struct {

    // The object key name to use when a 4XX class error occurs.
    //
    // Replacement must be made for object keys containing special characters (such
    // as carriage returns) when using XML requests. For more information, see XML
    // related object key constraints (https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints).
    //
    // Key is a required field
    Key *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The error information.

func (ErrorDocument) GoString

func (s ErrorDocument) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ErrorDocument) SetKey

func (s *ErrorDocument) SetKey(v string) *ErrorDocument

SetKey sets the Key field's value.

func (ErrorDocument) String

func (s ErrorDocument) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ErrorDocument) Validate

func (s *ErrorDocument) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EventBridgeConfiguration

type EventBridgeConfiguration struct {
    // contains filtered or unexported fields
}

A container for specifying the configuration for Amazon EventBridge.

func (EventBridgeConfiguration) GoString

func (s EventBridgeConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (EventBridgeConfiguration) String

func (s EventBridgeConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ExistingObjectReplication

type ExistingObjectReplication struct {

    // Specifies whether Amazon S3 replicates existing source bucket objects.
    //
    // Status is a required field
    Status *string `type:"string" required:"true" enum:"ExistingObjectReplicationStatus"`
    // contains filtered or unexported fields
}

Optional configuration to replicate existing source bucket objects. For more information, see Replicating Existing Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-what-is-isnot-replicated.html#existing-object-replication) in the Amazon S3 User Guide.

func (ExistingObjectReplication) GoString

func (s ExistingObjectReplication) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExistingObjectReplication) SetStatus

func (s *ExistingObjectReplication) SetStatus(v string) *ExistingObjectReplication

SetStatus sets the Status field's value.

func (ExistingObjectReplication) String

func (s ExistingObjectReplication) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExistingObjectReplication) Validate

func (s *ExistingObjectReplication) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type FilterRule

type FilterRule struct {

    // The object key name prefix or suffix identifying one or more objects to which
    // the filtering rule applies. The maximum length is 1,024 characters. Overlapping
    // prefixes and suffixes are not supported. For more information, see Configuring
    // Event Notifications (https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html)
    // in the Amazon S3 User Guide.
    Name *string `type:"string" enum:"FilterRuleName"`

    // The value that the filter searches for in object key names.
    Value *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the Amazon S3 object key name to filter on. An object key name is the name assigned to an object in your Amazon S3 bucket. You specify whether to filter on the suffix or prefix of the object key name. A prefix is a specific string of characters at the beginning of an object key name, which you can use to organize objects. For example, you can start the key names of related objects with a prefix, such as 2023- or engineering/. Then, you can use FilterRule to find objects in a bucket with key names that have the same prefix. A suffix is similar to a prefix, but it is at the end of the object key name instead of at the beginning.

func (FilterRule) GoString

func (s FilterRule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FilterRule) SetName

func (s *FilterRule) SetName(v string) *FilterRule

SetName sets the Name field's value.

func (*FilterRule) SetValue

func (s *FilterRule) SetValue(v string) *FilterRule

SetValue sets the Value field's value.

func (FilterRule) String

func (s FilterRule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketAccelerateConfigurationInput

type GetBucketAccelerateConfigurationInput struct {

    // The name of the bucket for which the accelerate configuration is retrieved.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // Confirms that the requester knows that they will be charged for the request.
    // Bucket owners need not specify this parameter in their requests. If either
    // the source or destination S3 bucket has Requester Pays enabled, the requester
    // will pay for corresponding charges to copy the object. For information about
    // downloading objects from Requester Pays buckets, see Downloading Objects
    // in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`
    // contains filtered or unexported fields
}

func (GetBucketAccelerateConfigurationInput) GoString

func (s GetBucketAccelerateConfigurationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketAccelerateConfigurationInput) SetBucket

func (s *GetBucketAccelerateConfigurationInput) SetBucket(v string) *GetBucketAccelerateConfigurationInput

SetBucket sets the Bucket field's value.

func (*GetBucketAccelerateConfigurationInput) SetExpectedBucketOwner

func (s *GetBucketAccelerateConfigurationInput) SetExpectedBucketOwner(v string) *GetBucketAccelerateConfigurationInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*GetBucketAccelerateConfigurationInput) SetRequestPayer

func (s *GetBucketAccelerateConfigurationInput) SetRequestPayer(v string) *GetBucketAccelerateConfigurationInput

SetRequestPayer sets the RequestPayer field's value.

func (GetBucketAccelerateConfigurationInput) String

func (s GetBucketAccelerateConfigurationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketAccelerateConfigurationInput) Validate

func (s *GetBucketAccelerateConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketAccelerateConfigurationOutput

type GetBucketAccelerateConfigurationOutput struct {

    // If present, indicates that the requester was successfully charged for the
    // request.
    //
    // This functionality is not supported for directory buckets.
    RequestCharged *string `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"`

    // The accelerate configuration of the bucket.
    Status *string `type:"string" enum:"BucketAccelerateStatus"`
    // contains filtered or unexported fields
}

func (GetBucketAccelerateConfigurationOutput) GoString

func (s GetBucketAccelerateConfigurationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketAccelerateConfigurationOutput) SetRequestCharged

func (s *GetBucketAccelerateConfigurationOutput) SetRequestCharged(v string) *GetBucketAccelerateConfigurationOutput

SetRequestCharged sets the RequestCharged field's value.

func (*GetBucketAccelerateConfigurationOutput) SetStatus

func (s *GetBucketAccelerateConfigurationOutput) SetStatus(v string) *GetBucketAccelerateConfigurationOutput

SetStatus sets the Status field's value.

func (GetBucketAccelerateConfigurationOutput) String

func (s GetBucketAccelerateConfigurationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketAclInput

type GetBucketAclInput struct {

    // Specifies the S3 bucket whose ACL is being requested.
    //
    // When you use this API operation with an access point, provide the alias of
    // the access point in place of the bucket name.
    //
    // When you use this API operation with an Object Lambda access point, provide
    // the alias of the Object Lambda access point in place of the bucket name.
    // If the Object Lambda access point alias in a request is not valid, the error
    // code InvalidAccessPointAliasError is returned. For more information about
    // InvalidAccessPointAliasError, see List of Error Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList).
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketAclInput) GoString

func (s GetBucketAclInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketAclInput) SetBucket

func (s *GetBucketAclInput) SetBucket(v string) *GetBucketAclInput

SetBucket sets the Bucket field's value.

func (*GetBucketAclInput) SetExpectedBucketOwner

func (s *GetBucketAclInput) SetExpectedBucketOwner(v string) *GetBucketAclInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (GetBucketAclInput) String

func (s GetBucketAclInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketAclInput) Validate

func (s *GetBucketAclInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketAclOutput

type GetBucketAclOutput struct {

    // A list of grants.
    Grants []*Grant `locationName:"AccessControlList" locationNameList:"Grant" type:"list"`

    // Container for the bucket owner's display name and ID.
    Owner *Owner `type:"structure"`
    // contains filtered or unexported fields
}

func (GetBucketAclOutput) GoString

func (s GetBucketAclOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketAclOutput) SetGrants

func (s *GetBucketAclOutput) SetGrants(v []*Grant) *GetBucketAclOutput

SetGrants sets the Grants field's value.

func (*GetBucketAclOutput) SetOwner

func (s *GetBucketAclOutput) SetOwner(v *Owner) *GetBucketAclOutput

SetOwner sets the Owner field's value.

func (GetBucketAclOutput) String

func (s GetBucketAclOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketAnalyticsConfigurationInput

type GetBucketAnalyticsConfigurationInput struct {

    // The name of the bucket from which an analytics configuration is retrieved.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // The ID that identifies the analytics configuration.
    //
    // Id is a required field
    Id *string `location:"querystring" locationName:"id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetBucketAnalyticsConfigurationInput) GoString

func (s GetBucketAnalyticsConfigurationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketAnalyticsConfigurationInput) SetBucket

func (s *GetBucketAnalyticsConfigurationInput) SetBucket(v string) *GetBucketAnalyticsConfigurationInput

SetBucket sets the Bucket field's value.

func (*GetBucketAnalyticsConfigurationInput) SetExpectedBucketOwner

func (s *GetBucketAnalyticsConfigurationInput) SetExpectedBucketOwner(v string) *GetBucketAnalyticsConfigurationInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*GetBucketAnalyticsConfigurationInput) SetId

func (s *GetBucketAnalyticsConfigurationInput) SetId(v string) *GetBucketAnalyticsConfigurationInput

SetId sets the Id field's value.

func (GetBucketAnalyticsConfigurationInput) String

func (s GetBucketAnalyticsConfigurationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketAnalyticsConfigurationInput) Validate

func (s *GetBucketAnalyticsConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketAnalyticsConfigurationOutput

type GetBucketAnalyticsConfigurationOutput struct {

    // The configuration and any analyses for the analytics filter.
    AnalyticsConfiguration *AnalyticsConfiguration `type:"structure"`
    // contains filtered or unexported fields
}

func (GetBucketAnalyticsConfigurationOutput) GoString

func (s GetBucketAnalyticsConfigurationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketAnalyticsConfigurationOutput) SetAnalyticsConfiguration

func (s *GetBucketAnalyticsConfigurationOutput) SetAnalyticsConfiguration(v *AnalyticsConfiguration) *GetBucketAnalyticsConfigurationOutput

SetAnalyticsConfiguration sets the AnalyticsConfiguration field's value.

func (GetBucketAnalyticsConfigurationOutput) String

func (s GetBucketAnalyticsConfigurationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketCorsInput

type GetBucketCorsInput struct {

    // The bucket name for which to get the cors configuration.
    //
    // When you use this API operation with an access point, provide the alias of
    // the access point in place of the bucket name.
    //
    // When you use this API operation with an Object Lambda access point, provide
    // the alias of the Object Lambda access point in place of the bucket name.
    // If the Object Lambda access point alias in a request is not valid, the error
    // code InvalidAccessPointAliasError is returned. For more information about
    // InvalidAccessPointAliasError, see List of Error Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList).
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketCorsInput) GoString

func (s GetBucketCorsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketCorsInput) SetBucket

func (s *GetBucketCorsInput) SetBucket(v string) *GetBucketCorsInput

SetBucket sets the Bucket field's value.

func (*GetBucketCorsInput) SetExpectedBucketOwner

func (s *GetBucketCorsInput) SetExpectedBucketOwner(v string) *GetBucketCorsInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (GetBucketCorsInput) String

func (s GetBucketCorsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketCorsInput) Validate

func (s *GetBucketCorsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketCorsOutput

type GetBucketCorsOutput struct {

    // A set of origins and methods (cross-origin access that you want to allow).
    // You can add up to 100 rules to the configuration.
    CORSRules []*CORSRule `locationName:"CORSRule" type:"list" flattened:"true"`
    // contains filtered or unexported fields
}

func (GetBucketCorsOutput) GoString

func (s GetBucketCorsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketCorsOutput) SetCORSRules

func (s *GetBucketCorsOutput) SetCORSRules(v []*CORSRule) *GetBucketCorsOutput

SetCORSRules sets the CORSRules field's value.

func (GetBucketCorsOutput) String

func (s GetBucketCorsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketEncryptionInput

type GetBucketEncryptionInput struct {

    // The name of the bucket from which the server-side encryption configuration
    // is retrieved.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketEncryptionInput) GoString

func (s GetBucketEncryptionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketEncryptionInput) SetBucket

func (s *GetBucketEncryptionInput) SetBucket(v string) *GetBucketEncryptionInput

SetBucket sets the Bucket field's value.

func (*GetBucketEncryptionInput) SetExpectedBucketOwner

func (s *GetBucketEncryptionInput) SetExpectedBucketOwner(v string) *GetBucketEncryptionInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (GetBucketEncryptionInput) String

func (s GetBucketEncryptionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketEncryptionInput) Validate

func (s *GetBucketEncryptionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketEncryptionOutput

type GetBucketEncryptionOutput struct {

    // Specifies the default server-side-encryption configuration.
    ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration `type:"structure"`
    // contains filtered or unexported fields
}

func (GetBucketEncryptionOutput) GoString

func (s GetBucketEncryptionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketEncryptionOutput) SetServerSideEncryptionConfiguration

func (s *GetBucketEncryptionOutput) SetServerSideEncryptionConfiguration(v *ServerSideEncryptionConfiguration) *GetBucketEncryptionOutput

SetServerSideEncryptionConfiguration sets the ServerSideEncryptionConfiguration field's value.

func (GetBucketEncryptionOutput) String

func (s GetBucketEncryptionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketIntelligentTieringConfigurationInput

type GetBucketIntelligentTieringConfigurationInput struct {

    // The name of the Amazon S3 bucket whose configuration you want to modify or
    // retrieve.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The ID used to identify the S3 Intelligent-Tiering configuration.
    //
    // Id is a required field
    Id *string `location:"querystring" locationName:"id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetBucketIntelligentTieringConfigurationInput) GoString

func (s GetBucketIntelligentTieringConfigurationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketIntelligentTieringConfigurationInput) SetBucket

func (s *GetBucketIntelligentTieringConfigurationInput) SetBucket(v string) *GetBucketIntelligentTieringConfigurationInput

SetBucket sets the Bucket field's value.

func (*GetBucketIntelligentTieringConfigurationInput) SetId

func (s *GetBucketIntelligentTieringConfigurationInput) SetId(v string) *GetBucketIntelligentTieringConfigurationInput

SetId sets the Id field's value.

func (GetBucketIntelligentTieringConfigurationInput) String

func (s GetBucketIntelligentTieringConfigurationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketIntelligentTieringConfigurationInput) Validate

func (s *GetBucketIntelligentTieringConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketIntelligentTieringConfigurationOutput

type GetBucketIntelligentTieringConfigurationOutput struct {

    // Container for S3 Intelligent-Tiering configuration.
    IntelligentTieringConfiguration *IntelligentTieringConfiguration `type:"structure"`
    // contains filtered or unexported fields
}

func (GetBucketIntelligentTieringConfigurationOutput) GoString

func (s GetBucketIntelligentTieringConfigurationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketIntelligentTieringConfigurationOutput) SetIntelligentTieringConfiguration

func (s *GetBucketIntelligentTieringConfigurationOutput) SetIntelligentTieringConfiguration(v *IntelligentTieringConfiguration) *GetBucketIntelligentTieringConfigurationOutput

SetIntelligentTieringConfiguration sets the IntelligentTieringConfiguration field's value.

func (GetBucketIntelligentTieringConfigurationOutput) String

func (s GetBucketIntelligentTieringConfigurationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketInventoryConfigurationInput

type GetBucketInventoryConfigurationInput struct {

    // The name of the bucket containing the inventory configuration to retrieve.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // The ID used to identify the inventory configuration.
    //
    // Id is a required field
    Id *string `location:"querystring" locationName:"id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetBucketInventoryConfigurationInput) GoString

func (s GetBucketInventoryConfigurationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketInventoryConfigurationInput) SetBucket

func (s *GetBucketInventoryConfigurationInput) SetBucket(v string) *GetBucketInventoryConfigurationInput

SetBucket sets the Bucket field's value.

func (*GetBucketInventoryConfigurationInput) SetExpectedBucketOwner

func (s *GetBucketInventoryConfigurationInput) SetExpectedBucketOwner(v string) *GetBucketInventoryConfigurationInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*GetBucketInventoryConfigurationInput) SetId

func (s *GetBucketInventoryConfigurationInput) SetId(v string) *GetBucketInventoryConfigurationInput

SetId sets the Id field's value.

func (GetBucketInventoryConfigurationInput) String

func (s GetBucketInventoryConfigurationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketInventoryConfigurationInput) Validate

func (s *GetBucketInventoryConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketInventoryConfigurationOutput

type GetBucketInventoryConfigurationOutput struct {

    // Specifies the inventory configuration.
    InventoryConfiguration *InventoryConfiguration `type:"structure"`
    // contains filtered or unexported fields
}

func (GetBucketInventoryConfigurationOutput) GoString

func (s GetBucketInventoryConfigurationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketInventoryConfigurationOutput) SetInventoryConfiguration

func (s *GetBucketInventoryConfigurationOutput) SetInventoryConfiguration(v *InventoryConfiguration) *GetBucketInventoryConfigurationOutput

SetInventoryConfiguration sets the InventoryConfiguration field's value.

func (GetBucketInventoryConfigurationOutput) String

func (s GetBucketInventoryConfigurationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketLifecycleConfigurationInput

type GetBucketLifecycleConfigurationInput struct {

    // The name of the bucket for which to get the lifecycle information.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketLifecycleConfigurationInput) GoString

func (s GetBucketLifecycleConfigurationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketLifecycleConfigurationInput) SetBucket

func (s *GetBucketLifecycleConfigurationInput) SetBucket(v string) *GetBucketLifecycleConfigurationInput

SetBucket sets the Bucket field's value.

func (*GetBucketLifecycleConfigurationInput) SetExpectedBucketOwner

func (s *GetBucketLifecycleConfigurationInput) SetExpectedBucketOwner(v string) *GetBucketLifecycleConfigurationInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (GetBucketLifecycleConfigurationInput) String

func (s GetBucketLifecycleConfigurationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketLifecycleConfigurationInput) Validate

func (s *GetBucketLifecycleConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketLifecycleConfigurationOutput

type GetBucketLifecycleConfigurationOutput struct {

    // Container for a lifecycle rule.
    Rules []*LifecycleRule `locationName:"Rule" type:"list" flattened:"true"`
    // contains filtered or unexported fields
}

func (GetBucketLifecycleConfigurationOutput) GoString

func (s GetBucketLifecycleConfigurationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketLifecycleConfigurationOutput) SetRules

func (s *GetBucketLifecycleConfigurationOutput) SetRules(v []*LifecycleRule) *GetBucketLifecycleConfigurationOutput

SetRules sets the Rules field's value.

func (GetBucketLifecycleConfigurationOutput) String

func (s GetBucketLifecycleConfigurationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketLifecycleInput

type GetBucketLifecycleInput struct {

    // The name of the bucket for which to get the lifecycle information.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketLifecycleInput) GoString

func (s GetBucketLifecycleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketLifecycleInput) SetBucket

func (s *GetBucketLifecycleInput) SetBucket(v string) *GetBucketLifecycleInput

SetBucket sets the Bucket field's value.

func (*GetBucketLifecycleInput) SetExpectedBucketOwner

func (s *GetBucketLifecycleInput) SetExpectedBucketOwner(v string) *GetBucketLifecycleInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (GetBucketLifecycleInput) String

func (s GetBucketLifecycleInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketLifecycleInput) Validate

func (s *GetBucketLifecycleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketLifecycleOutput

type GetBucketLifecycleOutput struct {

    // Container for a lifecycle rule.
    Rules []*Rule `locationName:"Rule" type:"list" flattened:"true"`
    // contains filtered or unexported fields
}

func (GetBucketLifecycleOutput) GoString

func (s GetBucketLifecycleOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketLifecycleOutput) SetRules

func (s *GetBucketLifecycleOutput) SetRules(v []*Rule) *GetBucketLifecycleOutput

SetRules sets the Rules field's value.

func (GetBucketLifecycleOutput) String

func (s GetBucketLifecycleOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketLocationInput

type GetBucketLocationInput struct {

    // The name of the bucket for which to get the location.
    //
    // When you use this API operation with an access point, provide the alias of
    // the access point in place of the bucket name.
    //
    // When you use this API operation with an Object Lambda access point, provide
    // the alias of the Object Lambda access point in place of the bucket name.
    // If the Object Lambda access point alias in a request is not valid, the error
    // code InvalidAccessPointAliasError is returned. For more information about
    // InvalidAccessPointAliasError, see List of Error Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList).
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketLocationInput) GoString

func (s GetBucketLocationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketLocationInput) SetBucket

func (s *GetBucketLocationInput) SetBucket(v string) *GetBucketLocationInput

SetBucket sets the Bucket field's value.

func (*GetBucketLocationInput) SetExpectedBucketOwner

func (s *GetBucketLocationInput) SetExpectedBucketOwner(v string) *GetBucketLocationInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (GetBucketLocationInput) String

func (s GetBucketLocationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketLocationInput) Validate

func (s *GetBucketLocationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketLocationOutput

type GetBucketLocationOutput struct {

    // Specifies the Region where the bucket resides. For a list of all the Amazon
    // S3 supported location constraints by Region, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region).
    // Buckets in Region us-east-1 have a LocationConstraint of null.
    LocationConstraint *string `type:"string" enum:"BucketLocationConstraint"`
    // contains filtered or unexported fields
}

func (GetBucketLocationOutput) GoString

func (s GetBucketLocationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketLocationOutput) SetLocationConstraint

func (s *GetBucketLocationOutput) SetLocationConstraint(v string) *GetBucketLocationOutput

SetLocationConstraint sets the LocationConstraint field's value.

func (GetBucketLocationOutput) String

func (s GetBucketLocationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketLoggingInput

type GetBucketLoggingInput struct {

    // The bucket name for which to get the logging information.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketLoggingInput) GoString

func (s GetBucketLoggingInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketLoggingInput) SetBucket

func (s *GetBucketLoggingInput) SetBucket(v string) *GetBucketLoggingInput

SetBucket sets the Bucket field's value.

func (*GetBucketLoggingInput) SetExpectedBucketOwner

func (s *GetBucketLoggingInput) SetExpectedBucketOwner(v string) *GetBucketLoggingInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (GetBucketLoggingInput) String

func (s GetBucketLoggingInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketLoggingInput) Validate

func (s *GetBucketLoggingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketLoggingOutput

type GetBucketLoggingOutput struct {

    // Describes where logs are stored and the prefix that Amazon S3 assigns to
    // all log object keys for a bucket. For more information, see PUT Bucket logging
    // (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html)
    // in the Amazon S3 API Reference.
    LoggingEnabled *LoggingEnabled `type:"structure"`
    // contains filtered or unexported fields
}

func (GetBucketLoggingOutput) GoString

func (s GetBucketLoggingOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketLoggingOutput) SetLoggingEnabled

func (s *GetBucketLoggingOutput) SetLoggingEnabled(v *LoggingEnabled) *GetBucketLoggingOutput

SetLoggingEnabled sets the LoggingEnabled field's value.

func (GetBucketLoggingOutput) String

func (s GetBucketLoggingOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketMetricsConfigurationInput

type GetBucketMetricsConfigurationInput struct {

    // The name of the bucket containing the metrics configuration to retrieve.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // The ID used to identify the metrics configuration. The ID has a 64 character
    // limit and can only contain letters, numbers, periods, dashes, and underscores.
    //
    // Id is a required field
    Id *string `location:"querystring" locationName:"id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetBucketMetricsConfigurationInput) GoString

func (s GetBucketMetricsConfigurationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketMetricsConfigurationInput) SetBucket

func (s *GetBucketMetricsConfigurationInput) SetBucket(v string) *GetBucketMetricsConfigurationInput

SetBucket sets the Bucket field's value.

func (*GetBucketMetricsConfigurationInput) SetExpectedBucketOwner

func (s *GetBucketMetricsConfigurationInput) SetExpectedBucketOwner(v string) *GetBucketMetricsConfigurationInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*GetBucketMetricsConfigurationInput) SetId

func (s *GetBucketMetricsConfigurationInput) SetId(v string) *GetBucketMetricsConfigurationInput

SetId sets the Id field's value.

func (GetBucketMetricsConfigurationInput) String

func (s GetBucketMetricsConfigurationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketMetricsConfigurationInput) Validate

func (s *GetBucketMetricsConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketMetricsConfigurationOutput

type GetBucketMetricsConfigurationOutput struct {

    // Specifies the metrics configuration.
    MetricsConfiguration *MetricsConfiguration `type:"structure"`
    // contains filtered or unexported fields
}

func (GetBucketMetricsConfigurationOutput) GoString

func (s GetBucketMetricsConfigurationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketMetricsConfigurationOutput) SetMetricsConfiguration

func (s *GetBucketMetricsConfigurationOutput) SetMetricsConfiguration(v *MetricsConfiguration) *GetBucketMetricsConfigurationOutput

SetMetricsConfiguration sets the MetricsConfiguration field's value.

func (GetBucketMetricsConfigurationOutput) String

func (s GetBucketMetricsConfigurationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketNotificationConfigurationRequest

type GetBucketNotificationConfigurationRequest struct {

    // The name of the bucket for which to get the notification configuration.
    //
    // When you use this API operation with an access point, provide the alias of
    // the access point in place of the bucket name.
    //
    // When you use this API operation with an Object Lambda access point, provide
    // the alias of the Object Lambda access point in place of the bucket name.
    // If the Object Lambda access point alias in a request is not valid, the error
    // code InvalidAccessPointAliasError is returned. For more information about
    // InvalidAccessPointAliasError, see List of Error Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList).
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketNotificationConfigurationRequest) GoString

func (s GetBucketNotificationConfigurationRequest) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketNotificationConfigurationRequest) SetBucket

func (s *GetBucketNotificationConfigurationRequest) SetBucket(v string) *GetBucketNotificationConfigurationRequest

SetBucket sets the Bucket field's value.

func (*GetBucketNotificationConfigurationRequest) SetExpectedBucketOwner

func (s *GetBucketNotificationConfigurationRequest) SetExpectedBucketOwner(v string) *GetBucketNotificationConfigurationRequest

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (GetBucketNotificationConfigurationRequest) String

func (s GetBucketNotificationConfigurationRequest) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketNotificationConfigurationRequest) Validate

func (s *GetBucketNotificationConfigurationRequest) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketOwnershipControlsInput

type GetBucketOwnershipControlsInput struct {

    // The name of the Amazon S3 bucket whose OwnershipControls you want to retrieve.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketOwnershipControlsInput) GoString

func (s GetBucketOwnershipControlsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketOwnershipControlsInput) SetBucket

func (s *GetBucketOwnershipControlsInput) SetBucket(v string) *GetBucketOwnershipControlsInput

SetBucket sets the Bucket field's value.

func (*GetBucketOwnershipControlsInput) SetExpectedBucketOwner

func (s *GetBucketOwnershipControlsInput) SetExpectedBucketOwner(v string) *GetBucketOwnershipControlsInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (GetBucketOwnershipControlsInput) String

func (s GetBucketOwnershipControlsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketOwnershipControlsInput) Validate

func (s *GetBucketOwnershipControlsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketOwnershipControlsOutput

type GetBucketOwnershipControlsOutput struct {

    // The OwnershipControls (BucketOwnerEnforced, BucketOwnerPreferred, or ObjectWriter)
    // currently in effect for this Amazon S3 bucket.
    OwnershipControls *OwnershipControls `type:"structure"`
    // contains filtered or unexported fields
}

func (GetBucketOwnershipControlsOutput) GoString

func (s GetBucketOwnershipControlsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketOwnershipControlsOutput) SetOwnershipControls

func (s *GetBucketOwnershipControlsOutput) SetOwnershipControls(v *OwnershipControls) *GetBucketOwnershipControlsOutput

SetOwnershipControls sets the OwnershipControls field's value.

func (GetBucketOwnershipControlsOutput) String

func (s GetBucketOwnershipControlsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketPolicyInput

type GetBucketPolicyInput struct {

    // The bucket name to get the bucket policy for.
    //
    // Directory buckets - When you use this operation with a directory bucket,
    // you must use path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name
    // . Virtual-hosted-style requests aren't supported. Directory bucket names
    // must be unique in the chosen Availability Zone. Bucket names must also follow
    // the format bucket_base_name--az_id--x-s3 (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3).
    // For information about bucket naming restrictions, see Directory bucket naming
    // rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html)
    // in the Amazon S3 User Guide
    //
    // Access points - When you use this API operation with an access point, provide
    // the alias of the access point in place of the bucket name.
    //
    // Object Lambda access points - When you use this API operation with an Object
    // Lambda access point, provide the alias of the Object Lambda access point
    // in place of the bucket name. If the Object Lambda access point alias in a
    // request is not valid, the error code InvalidAccessPointAliasError is returned.
    // For more information about InvalidAccessPointAliasError, see List of Error
    // Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList).
    //
    // Access points and Object Lambda access points are not supported by directory
    // buckets.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    //
    // For directory buckets, this header is not supported in this API operation.
    // If you specify this header, the request fails with the HTTP status code 501
    // Not Implemented.
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketPolicyInput) GoString

func (s GetBucketPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketPolicyInput) SetBucket

func (s *GetBucketPolicyInput) SetBucket(v string) *GetBucketPolicyInput

SetBucket sets the Bucket field's value.

func (*GetBucketPolicyInput) SetExpectedBucketOwner

func (s *GetBucketPolicyInput) SetExpectedBucketOwner(v string) *GetBucketPolicyInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (GetBucketPolicyInput) String

func (s GetBucketPolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketPolicyInput) Validate

func (s *GetBucketPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketPolicyOutput

type GetBucketPolicyOutput struct {

    // The bucket policy as a JSON document.
    Policy *string `type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketPolicyOutput) GoString

func (s GetBucketPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketPolicyOutput) SetPolicy

func (s *GetBucketPolicyOutput) SetPolicy(v string) *GetBucketPolicyOutput

SetPolicy sets the Policy field's value.

func (GetBucketPolicyOutput) String

func (s GetBucketPolicyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketPolicyStatusInput

type GetBucketPolicyStatusInput struct {

    // The name of the Amazon S3 bucket whose policy status you want to retrieve.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketPolicyStatusInput) GoString

func (s GetBucketPolicyStatusInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketPolicyStatusInput) SetBucket

func (s *GetBucketPolicyStatusInput) SetBucket(v string) *GetBucketPolicyStatusInput

SetBucket sets the Bucket field's value.

func (*GetBucketPolicyStatusInput) SetExpectedBucketOwner

func (s *GetBucketPolicyStatusInput) SetExpectedBucketOwner(v string) *GetBucketPolicyStatusInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (GetBucketPolicyStatusInput) String

func (s GetBucketPolicyStatusInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketPolicyStatusInput) Validate

func (s *GetBucketPolicyStatusInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketPolicyStatusOutput

type GetBucketPolicyStatusOutput struct {

    // The policy status for the specified bucket.
    PolicyStatus *PolicyStatus `type:"structure"`
    // contains filtered or unexported fields
}

func (GetBucketPolicyStatusOutput) GoString

func (s GetBucketPolicyStatusOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketPolicyStatusOutput) SetPolicyStatus

func (s *GetBucketPolicyStatusOutput) SetPolicyStatus(v *PolicyStatus) *GetBucketPolicyStatusOutput

SetPolicyStatus sets the PolicyStatus field's value.

func (GetBucketPolicyStatusOutput) String

func (s GetBucketPolicyStatusOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketReplicationInput

type GetBucketReplicationInput struct {

    // The bucket name for which to get the replication information.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketReplicationInput) GoString

func (s GetBucketReplicationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketReplicationInput) SetBucket

func (s *GetBucketReplicationInput) SetBucket(v string) *GetBucketReplicationInput

SetBucket sets the Bucket field's value.

func (*GetBucketReplicationInput) SetExpectedBucketOwner

func (s *GetBucketReplicationInput) SetExpectedBucketOwner(v string) *GetBucketReplicationInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (GetBucketReplicationInput) String

func (s GetBucketReplicationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketReplicationInput) Validate

func (s *GetBucketReplicationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketReplicationOutput

type GetBucketReplicationOutput struct {

    // A container for replication rules. You can add up to 1,000 rules. The maximum
    // size of a replication configuration is 2 MB.
    ReplicationConfiguration *ReplicationConfiguration `type:"structure"`
    // contains filtered or unexported fields
}

func (GetBucketReplicationOutput) GoString

func (s GetBucketReplicationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketReplicationOutput) SetReplicationConfiguration

func (s *GetBucketReplicationOutput) SetReplicationConfiguration(v *ReplicationConfiguration) *GetBucketReplicationOutput

SetReplicationConfiguration sets the ReplicationConfiguration field's value.

func (GetBucketReplicationOutput) String

func (s GetBucketReplicationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketRequestPaymentInput

type GetBucketRequestPaymentInput struct {

    // The name of the bucket for which to get the payment request configuration
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketRequestPaymentInput) GoString

func (s GetBucketRequestPaymentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketRequestPaymentInput) SetBucket

func (s *GetBucketRequestPaymentInput) SetBucket(v string) *GetBucketRequestPaymentInput

SetBucket sets the Bucket field's value.

func (*GetBucketRequestPaymentInput) SetExpectedBucketOwner

func (s *GetBucketRequestPaymentInput) SetExpectedBucketOwner(v string) *GetBucketRequestPaymentInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (GetBucketRequestPaymentInput) String

func (s GetBucketRequestPaymentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketRequestPaymentInput) Validate

func (s *GetBucketRequestPaymentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketRequestPaymentOutput

type GetBucketRequestPaymentOutput struct {

    // Specifies who pays for the download and request fees.
    Payer *string `type:"string" enum:"Payer"`
    // contains filtered or unexported fields
}

func (GetBucketRequestPaymentOutput) GoString

func (s GetBucketRequestPaymentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketRequestPaymentOutput) SetPayer

func (s *GetBucketRequestPaymentOutput) SetPayer(v string) *GetBucketRequestPaymentOutput

SetPayer sets the Payer field's value.

func (GetBucketRequestPaymentOutput) String

func (s GetBucketRequestPaymentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketTaggingInput

type GetBucketTaggingInput struct {

    // The name of the bucket for which to get the tagging information.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketTaggingInput) GoString

func (s GetBucketTaggingInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketTaggingInput) SetBucket

func (s *GetBucketTaggingInput) SetBucket(v string) *GetBucketTaggingInput

SetBucket sets the Bucket field's value.

func (*GetBucketTaggingInput) SetExpectedBucketOwner

func (s *GetBucketTaggingInput) SetExpectedBucketOwner(v string) *GetBucketTaggingInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (GetBucketTaggingInput) String

func (s GetBucketTaggingInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketTaggingInput) Validate

func (s *GetBucketTaggingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketTaggingOutput

type GetBucketTaggingOutput struct {

    // Contains the tag set.
    //
    // TagSet is a required field
    TagSet []*Tag `locationNameList:"Tag" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (GetBucketTaggingOutput) GoString

func (s GetBucketTaggingOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketTaggingOutput) SetTagSet

func (s *GetBucketTaggingOutput) SetTagSet(v []*Tag) *GetBucketTaggingOutput

SetTagSet sets the TagSet field's value.

func (GetBucketTaggingOutput) String

func (s GetBucketTaggingOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketVersioningInput

type GetBucketVersioningInput struct {

    // The name of the bucket for which to get the versioning information.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketVersioningInput) GoString

func (s GetBucketVersioningInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketVersioningInput) SetBucket

func (s *GetBucketVersioningInput) SetBucket(v string) *GetBucketVersioningInput

SetBucket sets the Bucket field's value.

func (*GetBucketVersioningInput) SetExpectedBucketOwner

func (s *GetBucketVersioningInput) SetExpectedBucketOwner(v string) *GetBucketVersioningInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (GetBucketVersioningInput) String

func (s GetBucketVersioningInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketVersioningInput) Validate

func (s *GetBucketVersioningInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketVersioningOutput

type GetBucketVersioningOutput struct {

    // Specifies whether MFA delete is enabled in the bucket versioning configuration.
    // This element is only returned if the bucket has been configured with MFA
    // delete. If the bucket has never been so configured, this element is not returned.
    MFADelete *string `locationName:"MfaDelete" type:"string" enum:"MFADeleteStatus"`

    // The versioning state of the bucket.
    Status *string `type:"string" enum:"BucketVersioningStatus"`
    // contains filtered or unexported fields
}

func (GetBucketVersioningOutput) GoString

func (s GetBucketVersioningOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketVersioningOutput) SetMFADelete

func (s *GetBucketVersioningOutput) SetMFADelete(v string) *GetBucketVersioningOutput

SetMFADelete sets the MFADelete field's value.

func (*GetBucketVersioningOutput) SetStatus

func (s *GetBucketVersioningOutput) SetStatus(v string) *GetBucketVersioningOutput

SetStatus sets the Status field's value.

func (GetBucketVersioningOutput) String

func (s GetBucketVersioningOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketWebsiteInput

type GetBucketWebsiteInput struct {

    // The bucket name for which to get the website configuration.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketWebsiteInput) GoString

func (s GetBucketWebsiteInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketWebsiteInput) SetBucket

func (s *GetBucketWebsiteInput) SetBucket(v string) *GetBucketWebsiteInput

SetBucket sets the Bucket field's value.

func (*GetBucketWebsiteInput) SetExpectedBucketOwner

func (s *GetBucketWebsiteInput) SetExpectedBucketOwner(v string) *GetBucketWebsiteInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (GetBucketWebsiteInput) String

func (s GetBucketWebsiteInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketWebsiteInput) Validate

func (s *GetBucketWebsiteInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketWebsiteOutput

type GetBucketWebsiteOutput struct {

    // The object key name of the website error document to use for 4XX class errors.
    ErrorDocument *ErrorDocument `type:"structure"`

    // The name of the index document for the website (for example index.html).
    IndexDocument *IndexDocument `type:"structure"`

    // Specifies the redirect behavior of all requests to a website endpoint of
    // an Amazon S3 bucket.
    RedirectAllRequestsTo *RedirectAllRequestsTo `type:"structure"`

    // Rules that define when a redirect is applied and the redirect behavior.
    RoutingRules []*RoutingRule `locationNameList:"RoutingRule" type:"list"`
    // contains filtered or unexported fields
}

func (GetBucketWebsiteOutput) GoString

func (s GetBucketWebsiteOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketWebsiteOutput) SetErrorDocument

func (s *GetBucketWebsiteOutput) SetErrorDocument(v *ErrorDocument) *GetBucketWebsiteOutput

SetErrorDocument sets the ErrorDocument field's value.

func (*GetBucketWebsiteOutput) SetIndexDocument

func (s *GetBucketWebsiteOutput) SetIndexDocument(v *IndexDocument) *GetBucketWebsiteOutput

SetIndexDocument sets the IndexDocument field's value.

func (*GetBucketWebsiteOutput) SetRedirectAllRequestsTo

func (s *GetBucketWebsiteOutput) SetRedirectAllRequestsTo(v *RedirectAllRequestsTo) *GetBucketWebsiteOutput

SetRedirectAllRequestsTo sets the RedirectAllRequestsTo field's value.

func (*GetBucketWebsiteOutput) SetRoutingRules

func (s *GetBucketWebsiteOutput) SetRoutingRules(v []*RoutingRule) *GetBucketWebsiteOutput

SetRoutingRules sets the RoutingRules field's value.

func (GetBucketWebsiteOutput) String

func (s GetBucketWebsiteOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetObjectAclInput

type GetObjectAclInput struct {

    // The bucket name that contains the object for which to get the ACL information.
    //
    // Access points - When you use this action with an access point, you must provide
    // the alias of the access point in place of the bucket name or specify the
    // access point ARN. When using the access point ARN, you must direct requests
    // to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
    // When using this action with an access point through the Amazon Web Services
    // SDKs, you provide the access point ARN in place of the bucket name. For more
    // information about access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
    // in the Amazon S3 User Guide.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // The key of the object for which to get the ACL information.
    //
    // Key is a required field
    Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`

    // Confirms that the requester knows that they will be charged for the request.
    // Bucket owners need not specify this parameter in their requests. If either
    // the source or destination S3 bucket has Requester Pays enabled, the requester
    // will pay for corresponding charges to copy the object. For information about
    // downloading objects from Requester Pays buckets, see Downloading Objects
    // in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`

    // Version ID used to reference a specific version of the object.
    //
    // This functionality is not supported for directory buckets.
    VersionId *string `location:"querystring" locationName:"versionId" type:"string"`
    // contains filtered or unexported fields
}

func (GetObjectAclInput) GoString

func (s GetObjectAclInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetObjectAclInput) SetBucket

func (s *GetObjectAclInput) SetBucket(v string) *GetObjectAclInput

SetBucket sets the Bucket field's value.

func (*GetObjectAclInput) SetExpectedBucketOwner

func (s *GetObjectAclInput) SetExpectedBucketOwner(v string) *GetObjectAclInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*GetObjectAclInput) SetKey

func (s *GetObjectAclInput) SetKey(v string) *GetObjectAclInput

SetKey sets the Key field's value.

func (*GetObjectAclInput) SetRequestPayer

func (s *GetObjectAclInput) SetRequestPayer(v string) *GetObjectAclInput

SetRequestPayer sets the RequestPayer field's value.

func (*GetObjectAclInput) SetVersionId

func (s *GetObjectAclInput) SetVersionId(v string) *GetObjectAclInput

SetVersionId sets the VersionId field's value.

func (GetObjectAclInput) String

func (s GetObjectAclInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetObjectAclInput) Validate

func (s *GetObjectAclInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetObjectAclOutput

type GetObjectAclOutput struct {

    // A list of grants.
    Grants []*Grant `locationName:"AccessControlList" locationNameList:"Grant" type:"list"`

    // Container for the bucket owner's display name and ID.
    Owner *Owner `type:"structure"`

    // If present, indicates that the requester was successfully charged for the
    // request.
    //
    // This functionality is not supported for directory buckets.
    RequestCharged *string `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"`
    // contains filtered or unexported fields
}

func (GetObjectAclOutput) GoString

func (s GetObjectAclOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetObjectAclOutput) SetGrants

func (s *GetObjectAclOutput) SetGrants(v []*Grant) *GetObjectAclOutput

SetGrants sets the Grants field's value.

func (*GetObjectAclOutput) SetOwner

func (s *GetObjectAclOutput) SetOwner(v *Owner) *GetObjectAclOutput

SetOwner sets the Owner field's value.

func (*GetObjectAclOutput) SetRequestCharged

func (s *GetObjectAclOutput) SetRequestCharged(v string) *GetObjectAclOutput

SetRequestCharged sets the RequestCharged field's value.

func (GetObjectAclOutput) String

func (s GetObjectAclOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetObjectAttributesInput

type GetObjectAttributesInput struct {

    // The name of the bucket that contains the object.
    //
    // Directory buckets - When you use this operation with a directory bucket,
    // you must use virtual-hosted-style requests in the format Bucket_name.s3express-az_id.region.amazonaws.com.
    // Path-style requests are not supported. Directory bucket names must be unique
    // in the chosen Availability Zone. Bucket names must follow the format bucket_base_name--az-id--x-s3
    // (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about
    // bucket naming restrictions, see Directory bucket naming rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html)
    // in the Amazon S3 User Guide.
    //
    // Access points - When you use this action with an access point, you must provide
    // the alias of the access point in place of the bucket name or specify the
    // access point ARN. When using the access point ARN, you must direct requests
    // to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
    // When using this action with an access point through the Amazon Web Services
    // SDKs, you provide the access point ARN in place of the bucket name. For more
    // information about access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
    // in the Amazon S3 User Guide.
    //
    // Access points and Object Lambda access points are not supported by directory
    // buckets.
    //
    // S3 on Outposts - When you use this action with Amazon S3 on Outposts, you
    // must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname
    // takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com.
    // When you use this action with S3 on Outposts through the Amazon Web Services
    // SDKs, you provide the Outposts access point ARN in place of the bucket name.
    // For more information about S3 on Outposts ARNs, see What is S3 on Outposts?
    // (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
    // in the Amazon S3 User Guide.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // The object key.
    //
    // Key is a required field
    Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`

    // Sets the maximum number of parts to return.
    MaxParts *int64 `location:"header" locationName:"x-amz-max-parts" type:"integer"`

    // Specifies the fields at the root level that you want returned in the response.
    // Fields that you do not specify are not returned.
    //
    // ObjectAttributes is a required field
    ObjectAttributes []*string `location:"header" locationName:"x-amz-object-attributes" type:"list" required:"true" enum:"ObjectAttributes"`

    // Specifies the part after which listing should begin. Only parts with higher
    // part numbers will be listed.
    PartNumberMarker *int64 `location:"header" locationName:"x-amz-part-number-marker" type:"integer"`

    // Confirms that the requester knows that they will be charged for the request.
    // Bucket owners need not specify this parameter in their requests. If either
    // the source or destination S3 bucket has Requester Pays enabled, the requester
    // will pay for corresponding charges to copy the object. For information about
    // downloading objects from Requester Pays buckets, see Downloading Objects
    // in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`

    // Specifies the algorithm to use when encrypting the object (for example, AES256).
    //
    // This functionality is not supported for directory buckets.
    SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"`

    // Specifies the customer-provided encryption key for Amazon S3 to use in encrypting
    // data. This value is used to store the object and then it is discarded; Amazon
    // S3 does not store the encryption key. The key must be appropriate for use
    // with the algorithm specified in the x-amz-server-side-encryption-customer-algorithm
    // header.
    //
    // This functionality is not supported for directory buckets.
    //
    // SSECustomerKey is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by GetObjectAttributesInput's
    // String and GoString methods.
    SSECustomerKey *string `marshal-as:"blob" location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string" sensitive:"true"`

    // Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.
    // Amazon S3 uses this header for a message integrity check to ensure that the
    // encryption key was transmitted without error.
    //
    // This functionality is not supported for directory buckets.
    SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"`

    // The version ID used to reference a specific version of the object.
    //
    // S3 Versioning isn't enabled and supported for directory buckets. For this
    // API operation, only the null value of the version ID is supported by directory
    // buckets. You can only specify null to the versionId query parameter in the
    // request.
    VersionId *string `location:"querystring" locationName:"versionId" type:"string"`
    // contains filtered or unexported fields
}

func (GetObjectAttributesInput) GoString

func (s GetObjectAttributesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetObjectAttributesInput) SetBucket

func (s *GetObjectAttributesInput) SetBucket(v string) *GetObjectAttributesInput

SetBucket sets the Bucket field's value.

func (*GetObjectAttributesInput) SetExpectedBucketOwner

func (s *GetObjectAttributesInput) SetExpectedBucketOwner(v string) *GetObjectAttributesInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*GetObjectAttributesInput) SetKey

func (s *GetObjectAttributesInput) SetKey(v string) *GetObjectAttributesInput

SetKey sets the Key field's value.

func (*GetObjectAttributesInput) SetMaxParts

func (s *GetObjectAttributesInput) SetMaxParts(v int64) *GetObjectAttributesInput

SetMaxParts sets the MaxParts field's value.

func (*GetObjectAttributesInput) SetObjectAttributes

func (s *GetObjectAttributesInput) SetObjectAttributes(v []*string) *GetObjectAttributesInput

SetObjectAttributes sets the ObjectAttributes field's value.

func (*GetObjectAttributesInput) SetPartNumberMarker

func (s *GetObjectAttributesInput) SetPartNumberMarker(v int64) *GetObjectAttributesInput

SetPartNumberMarker sets the PartNumberMarker field's value.

func (*GetObjectAttributesInput) SetRequestPayer

func (s *GetObjectAttributesInput) SetRequestPayer(v string) *GetObjectAttributesInput

SetRequestPayer sets the RequestPayer field's value.

func (*GetObjectAttributesInput) SetSSECustomerAlgorithm

func (s *GetObjectAttributesInput) SetSSECustomerAlgorithm(v string) *GetObjectAttributesInput

SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.

func (*GetObjectAttributesInput) SetSSECustomerKey

func (s *GetObjectAttributesInput) SetSSECustomerKey(v string) *GetObjectAttributesInput

SetSSECustomerKey sets the SSECustomerKey field's value.

func (*GetObjectAttributesInput) SetSSECustomerKeyMD5

func (s *GetObjectAttributesInput) SetSSECustomerKeyMD5(v string) *GetObjectAttributesInput

SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.

func (*GetObjectAttributesInput) SetVersionId

func (s *GetObjectAttributesInput) SetVersionId(v string) *GetObjectAttributesInput

SetVersionId sets the VersionId field's value.

func (GetObjectAttributesInput) String

func (s GetObjectAttributesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetObjectAttributesInput) Validate

func (s *GetObjectAttributesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetObjectAttributesOutput

type GetObjectAttributesOutput struct {

    // The checksum or digest of the object.
    Checksum *Checksum `type:"structure"`

    // Specifies whether the object retrieved was (true) or was not (false) a delete
    // marker. If false, this response header does not appear in the response.
    //
    // This functionality is not supported for directory buckets.
    DeleteMarker *bool `location:"header" locationName:"x-amz-delete-marker" type:"boolean"`

    // An ETag is an opaque identifier assigned by a web server to a specific version
    // of a resource found at a URL.
    ETag *string `type:"string"`

    // The creation date of the object.
    LastModified *time.Time `location:"header" locationName:"Last-Modified" type:"timestamp"`

    // A collection of parts associated with a multipart upload.
    ObjectParts *GetObjectAttributesParts `type:"structure"`

    // The size of the object in bytes.
    ObjectSize *int64 `type:"long"`

    // If present, indicates that the requester was successfully charged for the
    // request.
    //
    // This functionality is not supported for directory buckets.
    RequestCharged *string `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"`

    // Provides the storage class information of the object. Amazon S3 returns this
    // header for all objects except for S3 Standard storage class objects.
    //
    // For more information, see Storage Classes (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html).
    //
    // Directory buckets - Only the S3 Express One Zone storage class is supported
    // by directory buckets to store objects.
    StorageClass *string `type:"string" enum:"StorageClass"`

    // The version ID of the object.
    //
    // This functionality is not supported for directory buckets.
    VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"`
    // contains filtered or unexported fields
}

func (GetObjectAttributesOutput) GoString

func (s GetObjectAttributesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetObjectAttributesOutput) SetChecksum

func (s *GetObjectAttributesOutput) SetChecksum(v *Checksum) *GetObjectAttributesOutput

SetChecksum sets the Checksum field's value.

func (*GetObjectAttributesOutput) SetDeleteMarker

func (s *GetObjectAttributesOutput) SetDeleteMarker(v bool) *GetObjectAttributesOutput

SetDeleteMarker sets the DeleteMarker field's value.

func (*GetObjectAttributesOutput) SetETag

func (s *GetObjectAttributesOutput) SetETag(v string) *GetObjectAttributesOutput

SetETag sets the ETag field's value.

func (*GetObjectAttributesOutput) SetLastModified

func (s *GetObjectAttributesOutput) SetLastModified(v time.Time) *GetObjectAttributesOutput

SetLastModified sets the LastModified field's value.

func (*GetObjectAttributesOutput) SetObjectParts

func (s *GetObjectAttributesOutput) SetObjectParts(v *GetObjectAttributesParts) *GetObjectAttributesOutput

SetObjectParts sets the ObjectParts field's value.

func (*GetObjectAttributesOutput) SetObjectSize

func (s *GetObjectAttributesOutput) SetObjectSize(v int64) *GetObjectAttributesOutput

SetObjectSize sets the ObjectSize field's value.

func (*GetObjectAttributesOutput) SetRequestCharged

func (s *GetObjectAttributesOutput) SetRequestCharged(v string) *GetObjectAttributesOutput

SetRequestCharged sets the RequestCharged field's value.

func (*GetObjectAttributesOutput) SetStorageClass

func (s *GetObjectAttributesOutput) SetStorageClass(v string) *GetObjectAttributesOutput

SetStorageClass sets the StorageClass field's value.

func (*GetObjectAttributesOutput) SetVersionId

func (s *GetObjectAttributesOutput) SetVersionId(v string) *GetObjectAttributesOutput

SetVersionId sets the VersionId field's value.

func (GetObjectAttributesOutput) String

func (s GetObjectAttributesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetObjectAttributesParts

type GetObjectAttributesParts struct {

    // Indicates whether the returned list of parts is truncated. A value of true
    // indicates that the list was truncated. A list can be truncated if the number
    // of parts exceeds the limit returned in the MaxParts element.
    IsTruncated *bool `type:"boolean"`

    // The maximum number of parts allowed in the response.
    MaxParts *int64 `type:"integer"`

    // When a list is truncated, this element specifies the last part in the list,
    // as well as the value to use for the PartNumberMarker request parameter in
    // a subsequent request.
    NextPartNumberMarker *int64 `type:"integer"`

    // The marker for the current part.
    PartNumberMarker *int64 `type:"integer"`

    // A container for elements related to a particular part. A response can contain
    // zero or more Parts elements.
    //
    //    * General purpose buckets - For GetObjectAttributes, if a additional checksum
    //    (including x-amz-checksum-crc32, x-amz-checksum-crc32c, x-amz-checksum-sha1,
    //    or x-amz-checksum-sha256) isn't applied to the object specified in the
    //    request, the response doesn't return Part.
    //
    //    * Directory buckets - For GetObjectAttributes, no matter whether a additional
    //    checksum is applied to the object specified in the request, the response
    //    returns Part.
    Parts []*ObjectPart `locationName:"Part" type:"list" flattened:"true"`

    // The total number of parts.
    TotalPartsCount *int64 `locationName:"PartsCount" type:"integer"`
    // contains filtered or unexported fields
}

A collection of parts associated with a multipart upload.

func (GetObjectAttributesParts) GoString

func (s GetObjectAttributesParts) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetObjectAttributesParts) SetIsTruncated

func (s *GetObjectAttributesParts) SetIsTruncated(v bool) *GetObjectAttributesParts

SetIsTruncated sets the IsTruncated field's value.

func (*GetObjectAttributesParts) SetMaxParts

func (s *GetObjectAttributesParts) SetMaxParts(v int64) *GetObjectAttributesParts

SetMaxParts sets the MaxParts field's value.

func (*GetObjectAttributesParts) SetNextPartNumberMarker

func (s *GetObjectAttributesParts) SetNextPartNumberMarker(v int64) *GetObjectAttributesParts

SetNextPartNumberMarker sets the NextPartNumberMarker field's value.

func (*GetObjectAttributesParts) SetPartNumberMarker

func (s *GetObjectAttributesParts) SetPartNumberMarker(v int64) *GetObjectAttributesParts

SetPartNumberMarker sets the PartNumberMarker field's value.

func (*GetObjectAttributesParts) SetParts

func (s *GetObjectAttributesParts) SetParts(v []*ObjectPart) *GetObjectAttributesParts

SetParts sets the Parts field's value.

func (*GetObjectAttributesParts) SetTotalPartsCount

func (s *GetObjectAttributesParts) SetTotalPartsCount(v int64) *GetObjectAttributesParts

SetTotalPartsCount sets the TotalPartsCount field's value.

func (GetObjectAttributesParts) String

func (s GetObjectAttributesParts) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetObjectInput

type GetObjectInput struct {

    // The bucket name containing the object.
    //
    // Directory buckets - When you use this operation with a directory bucket,
    // you must use virtual-hosted-style requests in the format Bucket_name.s3express-az_id.region.amazonaws.com.
    // Path-style requests are not supported. Directory bucket names must be unique
    // in the chosen Availability Zone. Bucket names must follow the format bucket_base_name--az-id--x-s3
    // (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about
    // bucket naming restrictions, see Directory bucket naming rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html)
    // in the Amazon S3 User Guide.
    //
    // Access points - When you use this action with an access point, you must provide
    // the alias of the access point in place of the bucket name or specify the
    // access point ARN. When using the access point ARN, you must direct requests
    // to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
    // When using this action with an access point through the Amazon Web Services
    // SDKs, you provide the access point ARN in place of the bucket name. For more
    // information about access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
    // in the Amazon S3 User Guide.
    //
    // Object Lambda access points - When you use this action with an Object Lambda
    // access point, you must direct requests to the Object Lambda access point
    // hostname. The Object Lambda access point hostname takes the form AccessPointName-AccountId.s3-object-lambda.Region.amazonaws.com.
    //
    // Access points and Object Lambda access points are not supported by directory
    // buckets.
    //
    // S3 on Outposts - When you use this action with Amazon S3 on Outposts, you
    // must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname
    // takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com.
    // When you use this action with S3 on Outposts through the Amazon Web Services
    // SDKs, you provide the Outposts access point ARN in place of the bucket name.
    // For more information about S3 on Outposts ARNs, see What is S3 on Outposts?
    // (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
    // in the Amazon S3 User Guide.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // To retrieve the checksum, this mode must be enabled.
    //
    // The AWS SDK for Go v1 does not support automatic response payload checksum
    // validation. This feature is available in the AWS SDK for Go v2.
    ChecksumMode *string `location:"header" locationName:"x-amz-checksum-mode" type:"string" enum:"ChecksumMode"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // Return the object only if its entity tag (ETag) is the same as the one specified
    // in this header; otherwise, return a 412 Precondition Failed error.
    //
    // If both of the If-Match and If-Unmodified-Since headers are present in the
    // request as follows: If-Match condition evaluates to true, and; If-Unmodified-Since
    // condition evaluates to false; then, S3 returns 200 OK and the data requested.
    //
    // For more information about conditional requests, see RFC 7232 (https://tools.ietf.org/html/rfc7232).
    IfMatch *string `location:"header" locationName:"If-Match" type:"string"`

    // Return the object only if it has been modified since the specified time;
    // otherwise, return a 304 Not Modified error.
    //
    // If both of the If-None-Match and If-Modified-Since headers are present in
    // the request as follows:If-None-Match condition evaluates to false, and; If-Modified-Since
    // condition evaluates to true; then, S3 returns 304 Not Modified status code.
    //
    // For more information about conditional requests, see RFC 7232 (https://tools.ietf.org/html/rfc7232).
    IfModifiedSince *time.Time `location:"header" locationName:"If-Modified-Since" type:"timestamp"`

    // Return the object only if its entity tag (ETag) is different from the one
    // specified in this header; otherwise, return a 304 Not Modified error.
    //
    // If both of the If-None-Match and If-Modified-Since headers are present in
    // the request as follows:If-None-Match condition evaluates to false, and; If-Modified-Since
    // condition evaluates to true; then, S3 returns 304 Not Modified HTTP status
    // code.
    //
    // For more information about conditional requests, see RFC 7232 (https://tools.ietf.org/html/rfc7232).
    IfNoneMatch *string `location:"header" locationName:"If-None-Match" type:"string"`

    // Return the object only if it has not been modified since the specified time;
    // otherwise, return a 412 Precondition Failed error.
    //
    // If both of the If-Match and If-Unmodified-Since headers are present in the
    // request as follows: If-Match condition evaluates to true, and; If-Unmodified-Since
    // condition evaluates to false; then, S3 returns 200 OK and the data requested.
    //
    // For more information about conditional requests, see RFC 7232 (https://tools.ietf.org/html/rfc7232).
    IfUnmodifiedSince *time.Time `location:"header" locationName:"If-Unmodified-Since" type:"timestamp"`

    // Key of the object to get.
    //
    // Key is a required field
    Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`

    // Part number of the object being read. This is a positive integer between
    // 1 and 10,000. Effectively performs a 'ranged' GET request for the part specified.
    // Useful for downloading just a part of an object.
    PartNumber *int64 `location:"querystring" locationName:"partNumber" type:"integer"`

    // Downloads the specified byte range of an object. For more information about
    // the HTTP Range header, see https://www.rfc-editor.org/rfc/rfc9110.html#name-range
    // (https://www.rfc-editor.org/rfc/rfc9110.html#name-range).
    //
    // Amazon S3 doesn't support retrieving multiple ranges of data per GET request.
    Range *string `location:"header" locationName:"Range" type:"string"`

    // Confirms that the requester knows that they will be charged for the request.
    // Bucket owners need not specify this parameter in their requests. If either
    // the source or destination S3 bucket has Requester Pays enabled, the requester
    // will pay for corresponding charges to copy the object. For information about
    // downloading objects from Requester Pays buckets, see Downloading Objects
    // in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`

    // Sets the Cache-Control header of the response.
    ResponseCacheControl *string `location:"querystring" locationName:"response-cache-control" type:"string"`

    // Sets the Content-Disposition header of the response.
    ResponseContentDisposition *string `location:"querystring" locationName:"response-content-disposition" type:"string"`

    // Sets the Content-Encoding header of the response.
    ResponseContentEncoding *string `location:"querystring" locationName:"response-content-encoding" type:"string"`

    // Sets the Content-Language header of the response.
    ResponseContentLanguage *string `location:"querystring" locationName:"response-content-language" type:"string"`

    // Sets the Content-Type header of the response.
    ResponseContentType *string `location:"querystring" locationName:"response-content-type" type:"string"`

    // Sets the Expires header of the response.
    ResponseExpires *time.Time `location:"querystring" locationName:"response-expires" type:"timestamp" timestampFormat:"rfc822"`

    // Specifies the algorithm to use when decrypting the object (for example, AES256).
    //
    // If you encrypt an object by using server-side encryption with customer-provided
    // encryption keys (SSE-C) when you store the object in Amazon S3, then when
    // you GET the object, you must use the following headers:
    //
    //    * x-amz-server-side-encryption-customer-algorithm
    //
    //    * x-amz-server-side-encryption-customer-key
    //
    //    * x-amz-server-side-encryption-customer-key-MD5
    //
    // For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided
    // Encryption Keys) (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"`

    // Specifies the customer-provided encryption key that you originally provided
    // for Amazon S3 to encrypt the data before storing it. This value is used to
    // decrypt the object when recovering it and must match the one used when storing
    // the data. The key must be appropriate for use with the algorithm specified
    // in the x-amz-server-side-encryption-customer-algorithm header.
    //
    // If you encrypt an object by using server-side encryption with customer-provided
    // encryption keys (SSE-C) when you store the object in Amazon S3, then when
    // you GET the object, you must use the following headers:
    //
    //    * x-amz-server-side-encryption-customer-algorithm
    //
    //    * x-amz-server-side-encryption-customer-key
    //
    //    * x-amz-server-side-encryption-customer-key-MD5
    //
    // For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided
    // Encryption Keys) (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    //
    // SSECustomerKey is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by GetObjectInput's
    // String and GoString methods.
    SSECustomerKey *string `marshal-as:"blob" location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string" sensitive:"true"`

    // Specifies the 128-bit MD5 digest of the customer-provided encryption key
    // according to RFC 1321. Amazon S3 uses this header for a message integrity
    // check to ensure that the encryption key was transmitted without error.
    //
    // If you encrypt an object by using server-side encryption with customer-provided
    // encryption keys (SSE-C) when you store the object in Amazon S3, then when
    // you GET the object, you must use the following headers:
    //
    //    * x-amz-server-side-encryption-customer-algorithm
    //
    //    * x-amz-server-side-encryption-customer-key
    //
    //    * x-amz-server-side-encryption-customer-key-MD5
    //
    // For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided
    // Encryption Keys) (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"`

    // Version ID used to reference a specific version of the object.
    //
    // By default, the GetObject operation returns the current version of an object.
    // To return a different version, use the versionId subresource.
    //
    //    * If you include a versionId in your request header, you must have the
    //    s3:GetObjectVersion permission to access a specific version of an object.
    //    The s3:GetObject permission is not required in this scenario.
    //
    //    * If you request the current version of an object without a specific versionId
    //    in the request header, only the s3:GetObject permission is required. The
    //    s3:GetObjectVersion permission is not required in this scenario.
    //
    //    * Directory buckets - S3 Versioning isn't enabled and supported for directory
    //    buckets. For this API operation, only the null value of the version ID
    //    is supported by directory buckets. You can only specify null to the versionId
    //    query parameter in the request.
    //
    // For more information about versioning, see PutBucketVersioning (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketVersioning.html).
    VersionId *string `location:"querystring" locationName:"versionId" type:"string"`
    // contains filtered or unexported fields
}

func (GetObjectInput) GoString

func (s GetObjectInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetObjectInput) SetBucket

func (s *GetObjectInput) SetBucket(v string) *GetObjectInput

SetBucket sets the Bucket field's value.

func (*GetObjectInput) SetChecksumMode

func (s *GetObjectInput) SetChecksumMode(v string) *GetObjectInput

SetChecksumMode sets the ChecksumMode field's value.

func (*GetObjectInput) SetExpectedBucketOwner

func (s *GetObjectInput) SetExpectedBucketOwner(v string) *GetObjectInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*GetObjectInput) SetIfMatch

func (s *GetObjectInput) SetIfMatch(v string) *GetObjectInput

SetIfMatch sets the IfMatch field's value.

func (*GetObjectInput) SetIfModifiedSince

func (s *GetObjectInput) SetIfModifiedSince(v time.Time) *GetObjectInput

SetIfModifiedSince sets the IfModifiedSince field's value.

func (*GetObjectInput) SetIfNoneMatch

func (s *GetObjectInput) SetIfNoneMatch(v string) *GetObjectInput

SetIfNoneMatch sets the IfNoneMatch field's value.

func (*GetObjectInput) SetIfUnmodifiedSince

func (s *GetObjectInput) SetIfUnmodifiedSince(v time.Time) *GetObjectInput

SetIfUnmodifiedSince sets the IfUnmodifiedSince field's value.

func (*GetObjectInput) SetKey

func (s *GetObjectInput) SetKey(v string) *GetObjectInput

SetKey sets the Key field's value.

func (*GetObjectInput) SetPartNumber

func (s *GetObjectInput) SetPartNumber(v int64) *GetObjectInput

SetPartNumber sets the PartNumber field's value.

func (*GetObjectInput) SetRange

func (s *GetObjectInput) SetRange(v string) *GetObjectInput

SetRange sets the Range field's value.

func (*GetObjectInput) SetRequestPayer

func (s *GetObjectInput) SetRequestPayer(v string) *GetObjectInput

SetRequestPayer sets the RequestPayer field's value.

func (*GetObjectInput) SetResponseCacheControl

func (s *GetObjectInput) SetResponseCacheControl(v string) *GetObjectInput

SetResponseCacheControl sets the ResponseCacheControl field's value.

func (*GetObjectInput) SetResponseContentDisposition

func (s *GetObjectInput) SetResponseContentDisposition(v string) *GetObjectInput

SetResponseContentDisposition sets the ResponseContentDisposition field's value.

func (*GetObjectInput) SetResponseContentEncoding

func (s *GetObjectInput) SetResponseContentEncoding(v string) *GetObjectInput

SetResponseContentEncoding sets the ResponseContentEncoding field's value.

func (*GetObjectInput) SetResponseContentLanguage

func (s *GetObjectInput) SetResponseContentLanguage(v string) *GetObjectInput

SetResponseContentLanguage sets the ResponseContentLanguage field's value.

func (*GetObjectInput) SetResponseContentType

func (s *GetObjectInput) SetResponseContentType(v string) *GetObjectInput

SetResponseContentType sets the ResponseContentType field's value.

func (*GetObjectInput) SetResponseExpires

func (s *GetObjectInput) SetResponseExpires(v time.Time) *GetObjectInput

SetResponseExpires sets the ResponseExpires field's value.

func (*GetObjectInput) SetSSECustomerAlgorithm

func (s *GetObjectInput) SetSSECustomerAlgorithm(v string) *GetObjectInput

SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.

func (*GetObjectInput) SetSSECustomerKey

func (s *GetObjectInput) SetSSECustomerKey(v string) *GetObjectInput

SetSSECustomerKey sets the SSECustomerKey field's value.

func (*GetObjectInput) SetSSECustomerKeyMD5

func (s *GetObjectInput) SetSSECustomerKeyMD5(v string) *GetObjectInput

SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.

func (*GetObjectInput) SetVersionId

func (s *GetObjectInput) SetVersionId(v string) *GetObjectInput

SetVersionId sets the VersionId field's value.

func (GetObjectInput) String

func (s GetObjectInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetObjectInput) Validate

func (s *GetObjectInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetObjectLegalHoldInput

type GetObjectLegalHoldInput struct {

    // The bucket name containing the object whose legal hold status you want to
    // retrieve.
    //
    // Access points - When you use this action with an access point, you must provide
    // the alias of the access point in place of the bucket name or specify the
    // access point ARN. When using the access point ARN, you must direct requests
    // to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
    // When using this action with an access point through the Amazon Web Services
    // SDKs, you provide the access point ARN in place of the bucket name. For more
    // information about access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
    // in the Amazon S3 User Guide.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`

    // The key name for the object whose legal hold status you want to retrieve.
    //
    // Key is a required field
    Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`

    // Confirms that the requester knows that they will be charged for the request.
    // Bucket owners need not specify this parameter in their requests. If either
    // the source or destination S3 bucket has Requester Pays enabled, the requester
    // will pay for corresponding charges to copy the object. For information about
    // downloading objects from Requester Pays buckets, see Downloading Objects
    // in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
    // in the Amazon S3 User Guide.
    //
    // This functionality is not supported for directory buckets.
    RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`

    // The version ID of the object whose legal hold status you want to retrieve.
    VersionId *string `location:"querystring" locationName:"versionId" type:"string"`
    // contains filtered or unexported fields
}

func (GetObjectLegalHoldInput) GoString

func (s GetObjectLegalHoldInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetObjectLegalHoldInput) SetBucket

func (s *GetObjectLegalHoldInput) SetBucket(v string) *GetObjectLegalHoldInput

SetBucket sets the Bucket field's value.

func (*GetObjectLegalHoldInput) SetExpectedBucketOwner

func (s *GetObjectLegalHoldInput) SetExpectedBucketOwner(v string) *GetObjectLegalHoldInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*GetObjectLegalHoldInput) SetKey

func (s *GetObjectLegalHoldInput) SetKey(v string) *GetObjectLegalHoldInput

SetKey sets the Key field's value.

func (*GetObjectLegalHoldInput) SetRequestPayer

func (s *GetObjectLegalHoldInput) SetRequestPayer(v string) *GetObjectLegalHoldInput

SetRequestPayer sets the RequestPayer field's value.

func (*GetObjectLegalHoldInput) SetVersionId

func (s *GetObjectLegalHoldInput) SetVersionId(v string) *GetObjectLegalHoldInput

SetVersionId sets the VersionId field's value.

func (GetObjectLegalHoldInput) String

func (s GetObjectLegalHoldInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetObjectLegalHoldInput) Validate

func (s *GetObjectLegalHoldInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetObjectLegalHoldOutput

type GetObjectLegalHoldOutput struct {

    // The current legal hold status for the specified object.
    LegalHold *ObjectLockLegalHold `locationName:"LegalHold" type:"structure"`
    // contains filtered or unexported fields
}

func (GetObjectLegalHoldOutput) GoString

func (s GetObjectLegalHoldOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetObjectLegalHoldOutput) SetLegalHold

func (s *GetObjectLegalHoldOutput) SetLegalHold(v *ObjectLockLegalHold) *GetObjectLegalHoldOutput

SetLegalHold sets the LegalHold field's value.

func (GetObjectLegalHoldOutput) String

func (s GetObjectLegalHoldOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetObjectLockConfigurationInput

type GetObjectLockConfigurationInput struct {

    // The bucket whose Object Lock configuration you want to retrieve.
    //
    // Access points - When you use this action with an access point, you must provide
    // the alias of the access point in place of the bucket name or specify the
    // access point ARN. When using the access point ARN, you must direct requests
    // to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
    // When using this action with an access point through the Amazon Web Services
    // SDKs, you provide the access point ARN in place of the bucket name. For more
    // information about access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
    // in the Amazon S3 User Guide.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // The account ID of the expected bucket owner. If the account ID that you provide
    // does not match the actual owner of the bucket, the request fails with the
    // HTTP status code 403 Forbidden (access denied).
    ExpectedBucketOwner *string `location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
    // contains filtered or unexported fields
}

func (GetObjectLockConfigurationInput) GoString

func (s GetObjectLockConfigurationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetObjectLockConfigurationInput) SetBucket

func (s *GetObjectLockConfigurationInput) SetBucket(v string) *GetObjectLockConfigurationInput

SetBucket sets the Bucket field's value.

func (*GetObjectLockConfigurationInput) SetExpectedBucketOwner

func (s *GetObjectLockConfigurationInput) SetExpectedBucketOwner(v string) *GetObjectLockConfigurationInput

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (GetObjectLockConfigurationInput) String

func (s GetObjectLockConfigurationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetObjectLockConfigurationInput) Validate

func (s *GetObjectLockConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetObjectLockConfigurationOutput

type GetObjectLockConfigurationOutput struct {

    // The specified bucket's Object Lock configuration.
    ObjectLockConfiguration *ObjectLockConfiguration `type:"structure"`
    // contains filtered or unexported fields
}

func (GetObjectLockConfigurationOutput) GoString

func (s GetObjectLockConfigurationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetObjectLockConfigurationOutput) SetObjectLockConfiguration

func (s *GetObjectLockConfigurationOutput) SetObjectLockConfiguration(v *ObjectLockConfiguration) *GetObjectLockConfigurationOutput

SetObjectLockConfiguration sets the ObjectLockConfiguration field's value.

func (GetObjectLockConfigurationOutput) String

func (s GetObjectLockConfigurationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetObjectOutput

type GetObjectOutput struct {

    // Indicates that a range of bytes was specified in the request.
    AcceptRanges *string `location:"header" locationName:"accept-ranges" type:"string"`

    // Object data.
    Body io.ReadCloser `type:"blob"`

    // Indicates whether the object uses an S3 Bucket Key for server-side encryption
    // with Key Management Service (KMS) keys (SSE-KMS).
    //
    // This functionality is not supported for directory buckets.
    BucketKeyEnabled *bool `location:"header" locationName:"x-amz-server-side-encryption-bucket-key-enabled" type:"boolean"`

    // Specifies caching behavior along the request/reply chain.
    CacheControl *string `location:"header" locationName:"Cache-Control" type:"string"`

    // The base64-encoded, 32-bit CRC32 checksum of the object. This will only be
    // present if it was uploaded with the object. For more information, see Checking
    // object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
    // in the Amazon S3 User Guide.
    ChecksumCRC32 *string `location:"header" locationName:"x-amz-checksum-crc32" type:"string"`

    // The base64-encoded, 32-bit CRC32C checksum of the object. This will only
    // be present if it was uploaded with the object. For more information, see
    // Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
    // in the Amazon S3 User Guide.
    ChecksumCRC32C *string `location:"header" locationName:"x-amz-checksum-crc32c" type:"string"`

    // The base64-encoded, 160-bit SHA-1 digest of the object. This will only be
    // present if it was uploaded with the object. For more information, see Checking
    // object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
    // in the Amazon S3 User Guide.
    ChecksumSHA1 *string `location:"header" locationName:"x-amz-checksum-sha1" type:"string"`

    // The base64-encoded, 256-bit SHA-256 digest of the object. This will only
    // be present if it was uploaded with the object. For more information, see
    // Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
    // in the Amazon S3 User Guide.
    ChecksumSHA256 *string `location:"header" locationName:"x-amz-checksum-sha256" type:"string"`

    // Specifies presentational information for the object.
    ContentDisposition *string `location:"header" locationName:"Content-Disposition" type:"string"`

    // Indicates what content encodings have been applied to the object and thus
    // what decoding mechanisms must be applied to obtain the media-type referenced
    // by the Content-Type header field.
    ContentEncoding *string `location:"header" locationName:"Content-Encoding" type:"string"`

    // The language the content is in.
    ContentLanguage *string `location:"header" locationName:"Content-Language" type:"string"`

    // Size of the body in bytes.
    ContentLength *int64 `location:"header" locationName:"Content-Length" type:"long"`

    // The portion of the object returned in the response.
    ContentRange *string `location:"header" locationName:"Content-Range" type:"string"`

    // A standard MIME type describing the format of the object data.
    ContentType *string `location:"header" locationName:"Content-Type" type:"string"`

    // Indicates whether the object retrieved was (true) or was not (false) a Delete
    // Marker. If false, this response header does not appear in the response.
    //
    //    * If the current version of the object is a delete marker, Amazon S3 behaves
    //    as if the object was deleted and includes x-amz-delete-marker: true in
    //    the response.
    //
    //    * If the specified version in the request is a delete marker, the response
    //    returns a 405 Method Not Allowed error and the Last-Modified: timestamp
    //    response header.
    DeleteMarker *bool `location:"header" locationName:"x-amz-delete-marker" type:"boolean"`

    // An entity tag (ETag) is an opaque identifier assigned by a web server to
    // a specific version of a resource found at a URL.
    ETag *string `location:"header" locationName:"ETag" type:"string"`

    // If the object expiration is configured (see PutBucketLifecycleConfiguration
    // (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html)),
    // the response includes this header. It includes the expiry-date and rule-id
    // key-value pairs providing object expiration information. The value of the
    // rule-id is URL-encoded.
    //
    // This functionality is not supported for directory buckets.
    Expiration *string `location:"header" locationName:"x-amz-expiration" type:"string"`

    // The date and time at which the object is no longer cacheable.
    Expires *string `location:"header" locationName:"Expires" type:"string"`

    // Date and time when the object was last modified.
    //
    // General purpose buckets - When you specify a versionId of the object in your
    // request, if the specified version in the request is a delete marker, the
    // response returns a 405 Method Not Allowed error and the Last-Modified: timestamp
    // response header.
    LastModified *time.Time `location:"header" locationName:"Last-Modified" type:"timestamp"`

    // A map of metadata to store with the object in S3.
    //
    // By default unmarshaled keys are written as a map keys in following canonicalized format:
    // the first letter and any letter following a hyphen will be capitalized, and the rest as lowercase.
    // Set `aws.Config.LowerCaseHeaderMaps` to `true` to write unmarshaled keys to the map as lowercase.
    Metadata map[string]*string `location:"headers" locationName:"x-amz-meta-" type:"map"`

    // This is set to the number of metadata entries not returned in the headers
    // that are prefixed with x-amz-meta-. This can happen if you create metadata
    // using an API like SOAP that supports more flexible metadata than the REST
    // API. For example, using SOAP, you can create metadata whose values are not
    // legal HTTP headers.
    //
    // This functionality is not supported for directory buckets.
    MissingMeta *int64 `location:"header" locationName:"x-amz-missing-meta" type:"integer"`

    // Indicates whether this object has an active legal hold. This field is only
    // returned if you have permission to view an object's legal hold status.
    //
    // This functionality is not supported for directory buckets.
    ObjectLockLegalHoldStatus *string `location:"header" locationName:"x-amz-object-lock-legal-hold" type:"string" enum:"ObjectLockLegalHoldStatus"`

    // The Object Lock mode that's currently in place for this object.
    //
    // This functionality is not supported for directory buckets.
    ObjectLockMode *string `location:"header" locationName:"x-amz-object-lock-mode" type:"string" enum:"ObjectLockMode"`

    // The date and time when this object's Object Lock will expire.
    //
    // This functionality is not supported for directory buckets.
    ObjectLockRetainUntilDate *time.Time `location:"header" locationName:"x-amz-object-lock-retain-until-date" type:"timestamp" timestampFormat:"iso8601"`

    // The count of parts this object has. This value is only returned if you specify
    // partNumber in your request and the object was uploaded as a multipart upload.
    PartsCount *int64 `location:"header" locationName:"x-amz-mp-parts-count" type:"integer"`

    // Amazon S3 can return this if your request involves a bucket that is either
    // a source or destination in a replication rule.
    //
    // This functionality is not supported for directory buckets.
    ReplicationStatus *string `location:"header" locationName:"x-amz-replication-status" type:"string" enum:"ReplicationStatus"`

    // If present, indicates that the requester was successfully charged for the
    // request.
    //
    // This functionality is not supported for directory buckets.
    RequestCharged *string `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"`

    // Provides information about object restoration action and expiration time
    // of the restored object copy.
    //
    // This functionality is not supported for directory buckets. Only the S3 Express
    // One Zone storage class is supported by directory buckets to store objects.
    Restore *string `location:"header" locationName:"x-amz-restore" type:"string"`

    // If server-side encryption with a customer-provided encryption key was requested,
    // the response will include this header to confirm the encryption algorithm
    // that's used.
    //
    // This functionality is not supported for directory buckets.
    SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"`

    // If server-side encryption with a customer-provided encryption key was requested,
    // the response will include this header to provide the round-trip message integrity
    // verification of the customer-provided encryption key.
    //
    // This functionality is not supported for directory buckets.
    SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"`

    // If present, indicates the ID of the Key Management Service (KMS) symmetric
    // encryption customer managed key that was used for the object.
    //
    // This functionality is not supported for directory buckets.
    //
    // SSEKMSKeyId is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by GetObjectOutput's
    // String and GoString methods.
    SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string" sensitive:"true"`

    // The server-side encryption algorithm used when you store this object in Amazon
    // S3 (for example, AES256, aws:kms, aws:kms:dsse).
    //
    // For directory buckets, only server-side encryption with Amazon S3 managed
    // keys (SSE-S3) (AES256) is supported.
    ServerSideEncryption *string `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"ServerSideEncryption"`

    // Provides storage class information of the object. Amazon S3 returns this
    // header for all objects except for S3 Standard storage class objects.
    //
    // Directory buckets - Only the S3 Express One Zone storage class is supported
    // by directory buckets to store objects.
    StorageClass *string `location:"header" locationName:"x-amz-storage-class" type:"string" enum:"StorageClass"`

    // The number of tags, if any, on the object, when you have the relevant permission
    // to read object tags.
    //
    // You can use GetObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html)
    // to retrieve the tag set associated with an object.
    //
    // This functionality is not supported for directory buckets.
    TagCount *int64 `location:"header" locationName:"x-amz-tagging-count" type:"integer"`

    // Version ID of the object.
    //
    // This functionality is not supported for directory buckets.
    VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"`

    // If the bucket is configured as a website, redirects requests for this object
    // to another object in the same bucket or to an external URL. Amazon S3 stores
    // the value of this header in the object metadata.
    //
    // This functionality is not supported for directory buckets.
    WebsiteRedirectLocation *string `location:"header" locationName:"x-amz-website-redirect-location" type:"string"`
    // contains filtered or unexported fields
}

func (GetObjectOutput) GoString

func (s GetObjectOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetObjectOutput) SetAcceptRanges

func (s *GetObjectOutput) SetAcceptRanges(v string) *GetObjectOutput

SetAcceptRanges sets the AcceptRanges field's value.

func (*GetObjectOutput) SetBody

func (s *GetObjectOutput) SetBody(v io.ReadCloser) *GetObjectOutput

SetBody sets the Body field's value.

func (*GetObjectOutput) SetBucketKeyEnabled

func (s *GetObjectOutput) SetBucketKeyEnabled(v bool) *GetObjectOutput

SetBucketKeyEnabled sets the BucketKeyEnabled field's value.

func (*GetObjectOutput) SetCacheControl

func (s *GetObjectOutput) SetCacheControl(v string) *GetObjectOutput

SetCacheControl sets the CacheControl field's value.

func (*GetObjectOutput) SetChecksumCRC32

func (s *GetObjectOutput) SetChecksumCRC32(v string) *GetObjectOutput

SetChecksumCRC32 sets the ChecksumCRC32 field's value.

func (*GetObjectOutput) SetChecksumCRC32C

func (s *GetObjectOutput) SetChecksumCRC32C(v string) *GetObjectOutput

SetChecksumCRC32C sets the ChecksumCRC32C field's value.

func (*GetObjectOutput) SetChecksumSHA1

func (s *GetObjectOutput) SetChecksumSHA1(v string) *GetObjectOutput

SetChecksumSHA1 sets the ChecksumSHA1 field's value.

func (*GetObjectOutput) SetChecksumSHA256

func (s *GetObjectOutput) SetChecksumSHA256(v string) *GetObjectOutput

SetChecksumSHA256 sets the ChecksumSHA256 field's value.

func (*GetObjectOutput) SetContentDisposition

func (s *GetObjectOutput) SetContentDisposition(v string) *GetObjectOutput

SetContentDisposition sets the ContentDisposition field's value.

func (*GetObjectOutput) SetContentEncoding

func (s *GetObjectOutput) SetContentEncoding(v string) *GetObjectOutput

SetContentEncoding sets the ContentEncoding field's value.

func (*GetObjectOutput) SetContentLanguage

func (s *GetObjectOutput) SetContentLanguage(v string) *GetObjectOutput

SetContentLanguage sets the ContentLanguage field's value.

func (*GetObjectOutput) SetContentLength

func (s *GetObjectOutput) SetContentLength(v int64) *GetObjectOutput

SetContentLength sets the ContentLength field's value.

func (*GetObjectOutput) SetContentRange

func (s *GetObjectOutput) SetContentRange(v string) *GetObjectOutput

SetContentRange sets the ContentRange field's value.

func (*GetObjectOutput) SetContentType

func (s *GetObjectOutput) SetContentType(v string) *GetObjectOutput

SetContentType sets the ContentType field's value.

func (*GetObjectOutput) SetDeleteMarker

func (s *GetObjectOutput) SetDeleteMarker(v bool) *GetObjectOutput

SetDeleteMarker sets the DeleteMarker field's value.

func (*GetObjectOutput) SetETag

func (s *GetObjectOutput) SetETag(v string) *GetObjectOutput

SetETag sets the ETag field's value.

func (*GetObjectOutput) SetExpiration

func (s *GetObjectOutput) SetExpiration(v string) *GetObjectOutput

SetExpiration sets the Expiration field's value.

func (*GetObjectOutput) SetExpires

func (s *GetObjectOutput) SetExpires(v string) *GetObjectOutput

SetExpires sets the Expires field's value.

func (*GetObjectOutput) SetLastModified

func (s *GetObjectOutput) SetLastModified(v time.Time) *GetObjectOutput

SetLastModified sets the LastModified field's value.

func (*GetObjectOutput) SetMetadata

func (s *GetObjectOutput) SetMetadata(v map[string]*string) *GetObjectOutput

SetMetadata sets the Metadata field's value.

func (*GetObjectOutput) SetMissingMeta

func (s *GetObjectOutput) SetMissingMeta(v int64) *GetObjectOutput

SetMissingMeta sets the MissingMeta field's value.

func (*GetObjectOutput) SetObjectL