aws-sdk-go: github.com/aws/aws-sdk-go/service/s3 Index | Examples | Files | Directories

package s3

import "github.com/aws/aws-sdk-go/service/s3"

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.

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

// Create the decryption client.
svc := s3crypto.NewDecryptionClient(sess)

// The object will be downloaded from S3 and decrypted locally. By metadata
// about the object's encryption will instruct the decryption client how
// decrypt the content of the object. By default KMS is used for keys.
result, err := svc.GetObject(&s3.GetObjectInput {
    Bucket: aws.String(myBucket),
    Key: aws.String(myKey),
})

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

Index

Examples

Package Files

api.go body_hash.go bucket_location.go customizations.go doc.go doc_custom.go errors.go host_style_bucket.go platform_handlers_go1.6.go service.go sse.go statusok_error.go unmarshal_error.go waiters.go

Constants

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 (
    // BucketLocationConstraintEu is a BucketLocationConstraint enum value
    BucketLocationConstraintEu = "EU"

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

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

    // BucketLocationConstraintUsWest2 is a BucketLocationConstraint enum value
    BucketLocationConstraintUsWest2 = "us-west-2"

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

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

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

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

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

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

    // BucketLocationConstraintEuCentral1 is a BucketLocationConstraint enum value
    BucketLocationConstraintEuCentral1 = "eu-central-1"
)
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 (
    // 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"

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

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

The bucket event for which to send notifications.

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 (
    // 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"
)
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 (
    // 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 (
    // 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"
)
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 (
    // 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"
)
const (
    // ServerSideEncryptionAes256 is a ServerSideEncryption enum value
    ServerSideEncryptionAes256 = "AES256"

    // ServerSideEncryptionAwsKms is a ServerSideEncryption enum value
    ServerSideEncryptionAwsKms = "aws:kms"
)
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"
)
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"
)
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. Please select a different name and try again.
    ErrCodeBucketAlreadyExists = "BucketAlreadyExists"

    // ErrCodeBucketAlreadyOwnedByYou for service response error code
    // "BucketAlreadyOwnedByYou".
    ErrCodeBucketAlreadyOwnedByYou = "BucketAlreadyOwnedByYou"

    // 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 operation is not allowed against this storage tier
    ErrCodeObjectAlreadyInActiveTierError = "ObjectAlreadyInActiveTierError"

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

Service information constants

const (
    // AnalyticsS3ExportFileFormatCsv is a AnalyticsS3ExportFileFormat enum value
    AnalyticsS3ExportFileFormatCsv = "CSV"
)
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 may contain any Unicode character; however, 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 (
    // ObjectLockEnabledEnabled is a ObjectLockEnabled enum value
    ObjectLockEnabledEnabled = "Enabled"
)
const (
    // ObjectVersionStorageClassStandard is a ObjectVersionStorageClass enum value
    ObjectVersionStorageClassStandard = "STANDARD"
)
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.

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

Confirms that the requester knows that she or he will be charged for the request. Bucket owners need not specify this parameter in their requests. Documentation on downloading objects from requester pays buckets can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html

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 NormalizeBucketLocation Uses

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 WithNormalizeBucketLocation Uses

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 Uses

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 Policy (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config) in the Amazon Simple Storage Service Developer Guide.

func (AbortIncompleteMultipartUpload) GoString Uses

func (s AbortIncompleteMultipartUpload) GoString() string

GoString returns the string representation

func (*AbortIncompleteMultipartUpload) SetDaysAfterInitiation Uses

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

SetDaysAfterInitiation sets the DaysAfterInitiation field's value.

func (AbortIncompleteMultipartUpload) String Uses

func (s AbortIncompleteMultipartUpload) String() string

String returns the string representation

type AbortMultipartUploadInput Uses

type AbortMultipartUploadInput struct {

    // Name of the bucket to which the multipart upload was initiated.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // 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 she or he will be charged for the
    // request. Bucket owners need not specify this parameter in their requests.
    // Documentation on downloading objects from requester pays buckets can be found
    // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
    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 Uses

func (s AbortMultipartUploadInput) GoString() string

GoString returns the string representation

func (*AbortMultipartUploadInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*AbortMultipartUploadInput) SetKey Uses

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

SetKey sets the Key field's value.

func (*AbortMultipartUploadInput) SetRequestPayer Uses

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

SetRequestPayer sets the RequestPayer field's value.

func (*AbortMultipartUploadInput) SetUploadId Uses

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

SetUploadId sets the UploadId field's value.

func (AbortMultipartUploadInput) String Uses

func (s AbortMultipartUploadInput) String() string

String returns the string representation

func (*AbortMultipartUploadInput) Validate Uses

func (s *AbortMultipartUploadInput) Validate() error

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

type AbortMultipartUploadOutput Uses

type AbortMultipartUploadOutput struct {

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

func (AbortMultipartUploadOutput) GoString Uses

func (s AbortMultipartUploadOutput) GoString() string

GoString returns the string representation

func (*AbortMultipartUploadOutput) SetRequestCharged Uses

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

SetRequestCharged sets the RequestCharged field's value.

func (AbortMultipartUploadOutput) String Uses

func (s AbortMultipartUploadOutput) String() string

String returns the string representation

type AccelerateConfiguration Uses

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 Simple Storage Service Developer Guide.

func (AccelerateConfiguration) GoString Uses

func (s AccelerateConfiguration) GoString() string

GoString returns the string representation

func (*AccelerateConfiguration) SetStatus Uses

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

SetStatus sets the Status field's value.

func (AccelerateConfiguration) String Uses

func (s AccelerateConfiguration) String() string

String returns the string representation

type AccessControlPolicy Uses

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 Uses

func (s AccessControlPolicy) GoString() string

GoString returns the string representation

func (*AccessControlPolicy) SetGrants Uses

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

SetGrants sets the Grants field's value.

func (*AccessControlPolicy) SetOwner Uses

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

SetOwner sets the Owner field's value.

func (AccessControlPolicy) String Uses

func (s AccessControlPolicy) String() string

String returns the string representation

func (*AccessControlPolicy) Validate Uses

func (s *AccessControlPolicy) Validate() error

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

type AccessControlTranslation Uses

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 Simple Storage Service 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 Uses

func (s AccessControlTranslation) GoString() string

GoString returns the string representation

func (*AccessControlTranslation) SetOwner Uses

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

SetOwner sets the Owner field's value.

func (AccessControlTranslation) String Uses

func (s AccessControlTranslation) String() string

String returns the string representation

func (*AccessControlTranslation) Validate Uses

func (s *AccessControlTranslation) Validate() error

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

type AnalyticsAndOperator Uses

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 Uses

func (s AnalyticsAndOperator) GoString() string

GoString returns the string representation

func (*AnalyticsAndOperator) SetPrefix Uses

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

SetPrefix sets the Prefix field's value.

func (*AnalyticsAndOperator) SetTags Uses

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

SetTags sets the Tags field's value.

func (AnalyticsAndOperator) String Uses

func (s AnalyticsAndOperator) String() string

String returns the string representation

func (*AnalyticsAndOperator) Validate Uses

func (s *AnalyticsAndOperator) Validate() error

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

type AnalyticsConfiguration Uses

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.

For more information, see GET Bucket analytics (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETAnalyticsConfig.html) in the Amazon Simple Storage Service API Reference.

func (AnalyticsConfiguration) GoString Uses

func (s AnalyticsConfiguration) GoString() string

GoString returns the string representation

func (*AnalyticsConfiguration) SetFilter Uses

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

SetFilter sets the Filter field's value.

func (*AnalyticsConfiguration) SetId Uses

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

SetId sets the Id field's value.

func (*AnalyticsConfiguration) SetStorageClassAnalysis Uses

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

SetStorageClassAnalysis sets the StorageClassAnalysis field's value.

func (AnalyticsConfiguration) String Uses

func (s AnalyticsConfiguration) String() string

String returns the string representation

func (*AnalyticsConfiguration) Validate Uses

func (s *AnalyticsConfiguration) Validate() error

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

type AnalyticsExportDestination Uses

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 Uses

func (s AnalyticsExportDestination) GoString() string

GoString returns the string representation

func (*AnalyticsExportDestination) SetS3BucketDestination Uses

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

SetS3BucketDestination sets the S3BucketDestination field's value.

func (AnalyticsExportDestination) String Uses

func (s AnalyticsExportDestination) String() string

String returns the string representation

func (*AnalyticsExportDestination) Validate Uses

func (s *AnalyticsExportDestination) Validate() error

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

type AnalyticsFilter Uses

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
}

func (AnalyticsFilter) GoString Uses

func (s AnalyticsFilter) GoString() string

GoString returns the string representation

func (*AnalyticsFilter) SetAnd Uses

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

SetAnd sets the And field's value.

func (*AnalyticsFilter) SetPrefix Uses

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

SetPrefix sets the Prefix field's value.

func (*AnalyticsFilter) SetTag Uses

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

SetTag sets the Tag field's value.

func (AnalyticsFilter) String Uses

func (s AnalyticsFilter) String() string

String returns the string representation

func (*AnalyticsFilter) Validate Uses

func (s *AnalyticsFilter) Validate() error

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

type AnalyticsS3BucketDestination Uses

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 bucket. If no account ID is provided,
    // the owner will not be validated prior to exporting data.
    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
}

func (AnalyticsS3BucketDestination) GoString Uses

func (s AnalyticsS3BucketDestination) GoString() string

GoString returns the string representation

func (*AnalyticsS3BucketDestination) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*AnalyticsS3BucketDestination) SetBucketAccountId Uses

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

SetBucketAccountId sets the BucketAccountId field's value.

func (*AnalyticsS3BucketDestination) SetFormat Uses

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

SetFormat sets the Format field's value.

func (*AnalyticsS3BucketDestination) SetPrefix Uses

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

SetPrefix sets the Prefix field's value.

func (AnalyticsS3BucketDestination) String Uses

func (s AnalyticsS3BucketDestination) String() string

String returns the string representation

func (*AnalyticsS3BucketDestination) Validate Uses

func (s *AnalyticsS3BucketDestination) Validate() error

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

type Bucket Uses

type Bucket struct {

    // Date the bucket was created.
    CreationDate *time.Time `type:"timestamp"`

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

func (Bucket) GoString Uses

func (s Bucket) GoString() string

GoString returns the string representation

func (*Bucket) SetCreationDate Uses

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

SetCreationDate sets the CreationDate field's value.

func (*Bucket) SetName Uses

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

SetName sets the Name field's value.

func (Bucket) String Uses

func (s Bucket) String() string

String returns the string representation

type BucketLifecycleConfiguration Uses

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 Simple Storage Service Developer Guide.

func (BucketLifecycleConfiguration) GoString Uses

func (s BucketLifecycleConfiguration) GoString() string

GoString returns the string representation

func (*BucketLifecycleConfiguration) SetRules Uses

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

SetRules sets the Rules field's value.

func (BucketLifecycleConfiguration) String Uses

func (s BucketLifecycleConfiguration) String() string

String returns the string representation

func (*BucketLifecycleConfiguration) Validate Uses

func (s *BucketLifecycleConfiguration) Validate() error

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

type BucketLoggingStatus Uses

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 Simple Storage Service API Reference.
    LoggingEnabled *LoggingEnabled `type:"structure"`
    // contains filtered or unexported fields
}

func (BucketLoggingStatus) GoString Uses

func (s BucketLoggingStatus) GoString() string

GoString returns the string representation

func (*BucketLoggingStatus) SetLoggingEnabled Uses

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

SetLoggingEnabled sets the LoggingEnabled field's value.

func (BucketLoggingStatus) String Uses

func (s BucketLoggingStatus) String() string

String returns the string representation

func (*BucketLoggingStatus) Validate Uses

func (s *BucketLoggingStatus) Validate() error

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

type CORSConfiguration Uses

type CORSConfiguration struct {

    // A set of allowed origins and methods.
    //
    // 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 Simple Storage Service Developer Guide.

func (CORSConfiguration) GoString Uses

func (s CORSConfiguration) GoString() string

GoString returns the string representation

func (*CORSConfiguration) SetCORSRules Uses

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

SetCORSRules sets the CORSRules field's value.

func (CORSConfiguration) String Uses

func (s CORSConfiguration) String() string

String returns the string representation

func (*CORSConfiguration) Validate Uses

func (s *CORSConfiguration) Validate() error

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

type CORSRule Uses

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"`

    // 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 Uses

func (s CORSRule) GoString() string

GoString returns the string representation

func (*CORSRule) SetAllowedHeaders Uses

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

SetAllowedHeaders sets the AllowedHeaders field's value.

func (*CORSRule) SetAllowedMethods Uses

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

SetAllowedMethods sets the AllowedMethods field's value.

func (*CORSRule) SetAllowedOrigins Uses

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

SetAllowedOrigins sets the AllowedOrigins field's value.

func (*CORSRule) SetExposeHeaders Uses

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

SetExposeHeaders sets the ExposeHeaders field's value.

func (*CORSRule) SetMaxAgeSeconds Uses

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

SetMaxAgeSeconds sets the MaxAgeSeconds field's value.

func (CORSRule) String Uses

func (s CORSRule) String() string

String returns the string representation

func (*CORSRule) Validate Uses

func (s *CORSRule) Validate() error

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

type CSVInput Uses

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"`

    // The single character used to indicate a row should be ignored when present
    // at the start of a row.
    Comments *string `type:"string"`

    // The value used to separate individual fields in a record.
    FieldDelimiter *string `type:"string"`

    // Describes the first line of input. Valid values: None, Ignore, Use.
    FileHeaderInfo *string `type:"string" enum:"FileHeaderInfo"`

    // Value used for escaping where the field delimiter is part of the value.
    QuoteCharacter *string `type:"string"`

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

    // The value used to separate individual records.
    RecordDelimiter *string `type:"string"`
    // contains filtered or unexported fields
}

Describes how a CSV-formatted input object is formatted.

func (CSVInput) GoString Uses

func (s CSVInput) GoString() string

GoString returns the string representation

func (*CSVInput) SetAllowQuotedRecordDelimiter Uses

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

SetAllowQuotedRecordDelimiter sets the AllowQuotedRecordDelimiter field's value.

func (*CSVInput) SetComments Uses

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

SetComments sets the Comments field's value.

func (*CSVInput) SetFieldDelimiter Uses

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

SetFieldDelimiter sets the FieldDelimiter field's value.

func (*CSVInput) SetFileHeaderInfo Uses

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

SetFileHeaderInfo sets the FileHeaderInfo field's value.

func (*CSVInput) SetQuoteCharacter Uses

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

SetQuoteCharacter sets the QuoteCharacter field's value.

func (*CSVInput) SetQuoteEscapeCharacter Uses

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

SetQuoteEscapeCharacter sets the QuoteEscapeCharacter field's value.

func (*CSVInput) SetRecordDelimiter Uses

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

SetRecordDelimiter sets the RecordDelimiter field's value.

func (CSVInput) String Uses

func (s CSVInput) String() string

String returns the string representation

type CSVOutput Uses

type CSVOutput struct {

    // The value used to separate individual fields in a record.
    FieldDelimiter *string `type:"string"`

    // The value used for escaping where the field delimiter is part of the value.
    QuoteCharacter *string `type:"string"`

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

    // Indicates whether or not all output fields should be quoted.
    QuoteFields *string `type:"string" enum:"QuoteFields"`

    // The value used to separate individual records.
    RecordDelimiter *string `type:"string"`
    // contains filtered or unexported fields
}

Describes how CSV-formatted results are formatted.

func (CSVOutput) GoString Uses

func (s CSVOutput) GoString() string

GoString returns the string representation

func (*CSVOutput) SetFieldDelimiter Uses

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

SetFieldDelimiter sets the FieldDelimiter field's value.

func (*CSVOutput) SetQuoteCharacter Uses

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

SetQuoteCharacter sets the QuoteCharacter field's value.

func (*CSVOutput) SetQuoteEscapeCharacter Uses

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

SetQuoteEscapeCharacter sets the QuoteEscapeCharacter field's value.

func (*CSVOutput) SetQuoteFields Uses

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

SetQuoteFields sets the QuoteFields field's value.

func (*CSVOutput) SetRecordDelimiter Uses

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

SetRecordDelimiter sets the RecordDelimiter field's value.

func (CSVOutput) String Uses

func (s CSVOutput) String() string

String returns the string representation

type CloudFunctionConfiguration Uses

type CloudFunctionConfiguration struct {
    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"`

    Events []*string `locationName:"Event" type:"list" flattened:"true"`

    // 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"`

    InvocationRole *string `type:"string"`
    // contains filtered or unexported fields
}

func (CloudFunctionConfiguration) GoString Uses

func (s CloudFunctionConfiguration) GoString() string

GoString returns the string representation

func (*CloudFunctionConfiguration) SetCloudFunction Uses

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

SetCloudFunction sets the CloudFunction field's value.

func (*CloudFunctionConfiguration) SetEvent Uses

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

SetEvent sets the Event field's value.

func (*CloudFunctionConfiguration) SetEvents Uses

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

SetEvents sets the Events field's value.

func (*CloudFunctionConfiguration) SetId Uses

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

SetId sets the Id field's value.

func (*CloudFunctionConfiguration) SetInvocationRole Uses

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

SetInvocationRole sets the InvocationRole field's value.

func (CloudFunctionConfiguration) String Uses

func (s CloudFunctionConfiguration) String() string

String returns the string representation

type CommonPrefix Uses

type CommonPrefix struct {
    Prefix *string `type:"string"`
    // contains filtered or unexported fields
}

func (CommonPrefix) GoString Uses

func (s CommonPrefix) GoString() string

GoString returns the string representation

func (*CommonPrefix) SetPrefix Uses

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

SetPrefix sets the Prefix field's value.

func (CommonPrefix) String Uses

func (s CommonPrefix) String() string

String returns the string representation

type CompleteMultipartUploadInput Uses

type CompleteMultipartUploadInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // Key is a required field
    Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`

    MultipartUpload *CompletedMultipartUpload `locationName:"CompleteMultipartUpload" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`

    // Confirms that the requester knows that she or he will be charged for the
    // request. Bucket owners need not specify this parameter in their requests.
    // Documentation on downloading objects from requester pays buckets can be found
    // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
    RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`

    // UploadId is a required field
    UploadId *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CompleteMultipartUploadInput) GoString Uses

func (s CompleteMultipartUploadInput) GoString() string

GoString returns the string representation

func (*CompleteMultipartUploadInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*CompleteMultipartUploadInput) SetKey Uses

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

SetKey sets the Key field's value.

func (*CompleteMultipartUploadInput) SetMultipartUpload Uses

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

SetMultipartUpload sets the MultipartUpload field's value.

func (*CompleteMultipartUploadInput) SetRequestPayer Uses

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

SetRequestPayer sets the RequestPayer field's value.

func (*CompleteMultipartUploadInput) SetUploadId Uses

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

SetUploadId sets the UploadId field's value.

func (CompleteMultipartUploadInput) String Uses

func (s CompleteMultipartUploadInput) String() string

String returns the string representation

func (*CompleteMultipartUploadInput) Validate Uses

func (s *CompleteMultipartUploadInput) Validate() error

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

type CompleteMultipartUploadOutput Uses

type CompleteMultipartUploadOutput struct {
    Bucket *string `type:"string"`

    // Entity tag of the object.
    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.
    Expiration *string `location:"header" locationName:"x-amz-expiration" type:"string"`

    Key *string `min:"1" type:"string"`

    Location *string `type:"string"`

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

    // If present, specifies the ID of the AWS Key Management Service (KMS) master
    // encryption key that was used for the object.
    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 S3
    // (e.g., AES256, aws:kms).
    ServerSideEncryption *string `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"ServerSideEncryption"`

    // Version of the object.
    VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"`
    // contains filtered or unexported fields
}

func (CompleteMultipartUploadOutput) GoString Uses

func (s CompleteMultipartUploadOutput) GoString() string

GoString returns the string representation

func (*CompleteMultipartUploadOutput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*CompleteMultipartUploadOutput) SetETag Uses

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

SetETag sets the ETag field's value.

func (*CompleteMultipartUploadOutput) SetExpiration Uses

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

SetExpiration sets the Expiration field's value.

func (*CompleteMultipartUploadOutput) SetKey Uses

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

SetKey sets the Key field's value.

func (*CompleteMultipartUploadOutput) SetLocation Uses

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

SetLocation sets the Location field's value.

func (*CompleteMultipartUploadOutput) SetRequestCharged Uses

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

SetRequestCharged sets the RequestCharged field's value.

func (*CompleteMultipartUploadOutput) SetSSEKMSKeyId Uses

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

SetSSEKMSKeyId sets the SSEKMSKeyId field's value.

func (*CompleteMultipartUploadOutput) SetServerSideEncryption Uses

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

SetServerSideEncryption sets the ServerSideEncryption field's value.

func (*CompleteMultipartUploadOutput) SetVersionId Uses

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

SetVersionId sets the VersionId field's value.

func (CompleteMultipartUploadOutput) String Uses

func (s CompleteMultipartUploadOutput) String() string

String returns the string representation

type CompletedMultipartUpload Uses

type CompletedMultipartUpload struct {
    Parts []*CompletedPart `locationName:"Part" type:"list" flattened:"true"`
    // contains filtered or unexported fields
}

func (CompletedMultipartUpload) GoString Uses

func (s CompletedMultipartUpload) GoString() string

GoString returns the string representation

func (*CompletedMultipartUpload) SetParts Uses

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

SetParts sets the Parts field's value.

func (CompletedMultipartUpload) String Uses

func (s CompletedMultipartUpload) String() string

String returns the string representation

type CompletedPart Uses

type CompletedPart struct {

    // 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.
    PartNumber *int64 `type:"integer"`
    // contains filtered or unexported fields
}

func (CompletedPart) GoString Uses

func (s CompletedPart) GoString() string

GoString returns the string representation

func (*CompletedPart) SetETag Uses

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

SetETag sets the ETag field's value.

func (*CompletedPart) SetPartNumber Uses

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

SetPartNumber sets the PartNumber field's value.

func (CompletedPart) String Uses

func (s CompletedPart) String() string

String returns the string representation

type Condition Uses

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.
    KeyPrefixEquals *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies a condition that must be met for a redirect to apply.

func (Condition) GoString Uses

func (s Condition) GoString() string

GoString returns the string representation

func (*Condition) SetHttpErrorCodeReturnedEquals Uses

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

SetHttpErrorCodeReturnedEquals sets the HttpErrorCodeReturnedEquals field's value.

func (*Condition) SetKeyPrefixEquals Uses

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

SetKeyPrefixEquals sets the KeyPrefixEquals field's value.

func (Condition) String Uses

func (s Condition) String() string

String returns the string representation

type ContinuationEvent Uses

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

func (ContinuationEvent) GoString Uses

func (s ContinuationEvent) GoString() string

GoString returns the string representation

func (ContinuationEvent) String Uses

func (s ContinuationEvent) String() string

String returns the string representation

func (*ContinuationEvent) UnmarshalEvent Uses

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 Uses

type CopyObjectInput struct {

    // The canned ACL to apply to the object.
    ACL *string `location:"header" locationName:"x-amz-acl" type:"string" enum:"ObjectCannedACL"`

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

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

    // 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.
    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 describing the format of the object data.
    ContentType *string `location:"header" locationName:"Content-Type" type:"string"`

    // The name of the source bucket and key name of the source object, separated
    // by a slash (/). Must be URL-encoded.
    //
    // 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.
    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.
    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.
    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.
    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 (e.g., AES256).
    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 one
    // that was used when the source object was created.
    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 the encryption
    // key was transmitted without error.
    CopySourceSSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-key-MD5" 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.
    GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"`

    // Allows grantee to read the object data and its metadata.
    GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string"`

    // Allows grantee to read the object ACL.
    GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string"`

    // Allows grantee to write the ACL for the applicable object.
    GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"`

    // 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 provided in the request.
    MetadataDirective *string `location:"header" locationName:"x-amz-metadata-directive" type:"string" enum:"MetadataDirective"`

    // Specifies whether you want to apply a Legal Hold to the copied object.
    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 copied object.
    ObjectLockMode *string `location:"header" locationName:"x-amz-object-lock-mode" type:"string" enum:"ObjectLockMode"`

    // The date and time when you want the copied object's object lock to expire.
    ObjectLockRetainUntilDate *time.Time `location:"header" locationName:"x-amz-object-lock-retain-until-date" type:"timestamp" timestampFormat:"iso8601"`

    // Confirms that the requester knows that she or he will be charged for the
    // request. Bucket owners need not specify this parameter in their requests.
    // Documentation on downloading objects from requester pays buckets can be found
    // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
    RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`

    // Specifies the algorithm to use to when encrypting the object (e.g., AES256).
    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
    // 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.
    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 the encryption
    // key was transmitted without error.
    SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"`

    // Specifies the AWS 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.
    SSEKMSEncryptionContext *string `location:"header" locationName:"x-amz-server-side-encryption-context" type:"string" sensitive:"true"`

    // Specifies the AWS KMS key ID to use for object encryption. All GET and PUT
    // requests for an object protected by AWS KMS will fail if not made via SSL
    // or using SigV4. Documentation on configuring any of the officially supported
    // AWS SDKs and CLI can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
    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 S3
    // (e.g., AES256, aws:kms).
    ServerSideEncryption *string `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"ServerSideEncryption"`

    // The type of storage to use for the object. Defaults to 'STANDARD'.
    StorageClass *string `location:"header" locationName:"x-amz-storage-class" type:"string" enum:"StorageClass"`

    // The tag-set for the object destination object this value must be used in
    // conjunction with the TaggingDirective. The tag-set must be encoded as URL
    // Query parameters
    Tagging *string `location:"header" locationName:"x-amz-tagging" type:"string"`

    // Specifies whether the object tag-set are copied from the source object or
    // replaced with tag-set provided in the request.
    TaggingDirective *string `location:"header" locationName:"x-amz-tagging-directive" type:"string" enum:"TaggingDirective"`

    // 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.
    WebsiteRedirectLocation *string `location:"header" locationName:"x-amz-website-redirect-location" type:"string"`
    // contains filtered or unexported fields
}

func (CopyObjectInput) GoString Uses

func (s CopyObjectInput) GoString() string

GoString returns the string representation

func (*CopyObjectInput) SetACL Uses

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

SetACL sets the ACL field's value.

func (*CopyObjectInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*CopyObjectInput) SetCacheControl Uses

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

SetCacheControl sets the CacheControl field's value.

func (*CopyObjectInput) SetContentDisposition Uses

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

SetContentDisposition sets the ContentDisposition field's value.

func (*CopyObjectInput) SetContentEncoding Uses

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

SetContentEncoding sets the ContentEncoding field's value.

func (*CopyObjectInput) SetContentLanguage Uses

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

SetContentLanguage sets the ContentLanguage field's value.

func (*CopyObjectInput) SetContentType Uses

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

SetContentType sets the ContentType field's value.

func (*CopyObjectInput) SetCopySource Uses

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

SetCopySource sets the CopySource field's value.

func (*CopyObjectInput) SetCopySourceIfMatch Uses

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

SetCopySourceIfMatch sets the CopySourceIfMatch field's value.

func (*CopyObjectInput) SetCopySourceIfModifiedSince Uses

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

SetCopySourceIfModifiedSince sets the CopySourceIfModifiedSince field's value.

func (*CopyObjectInput) SetCopySourceIfNoneMatch Uses

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

SetCopySourceIfNoneMatch sets the CopySourceIfNoneMatch field's value.

func (*CopyObjectInput) SetCopySourceIfUnmodifiedSince Uses

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

SetCopySourceIfUnmodifiedSince sets the CopySourceIfUnmodifiedSince field's value.

func (*CopyObjectInput) SetCopySourceSSECustomerAlgorithm Uses

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

SetCopySourceSSECustomerAlgorithm sets the CopySourceSSECustomerAlgorithm field's value.

func (*CopyObjectInput) SetCopySourceSSECustomerKey Uses

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

SetCopySourceSSECustomerKey sets the CopySourceSSECustomerKey field's value.

func (*CopyObjectInput) SetCopySourceSSECustomerKeyMD5 Uses

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

SetCopySourceSSECustomerKeyMD5 sets the CopySourceSSECustomerKeyMD5 field's value.

func (*CopyObjectInput) SetExpires Uses

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

SetExpires sets the Expires field's value.

func (*CopyObjectInput) SetGrantFullControl Uses

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

SetGrantFullControl sets the GrantFullControl field's value.

func (*CopyObjectInput) SetGrantRead Uses

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

SetGrantRead sets the GrantRead field's value.

func (*CopyObjectInput) SetGrantReadACP Uses

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

SetGrantReadACP sets the GrantReadACP field's value.

func (*CopyObjectInput) SetGrantWriteACP Uses

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

SetGrantWriteACP sets the GrantWriteACP field's value.

func (*CopyObjectInput) SetKey Uses

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

SetKey sets the Key field's value.

func (*CopyObjectInput) SetMetadata Uses

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

SetMetadata sets the Metadata field's value.

func (*CopyObjectInput) SetMetadataDirective Uses

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

SetMetadataDirective sets the MetadataDirective field's value.

func (*CopyObjectInput) SetObjectLockLegalHoldStatus Uses

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

SetObjectLockLegalHoldStatus sets the ObjectLockLegalHoldStatus field's value.

func (*CopyObjectInput) SetObjectLockMode Uses

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

SetObjectLockMode sets the ObjectLockMode field's value.

func (*CopyObjectInput) SetObjectLockRetainUntilDate Uses

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

SetObjectLockRetainUntilDate sets the ObjectLockRetainUntilDate field's value.

func (*CopyObjectInput) SetRequestPayer Uses

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

SetRequestPayer sets the RequestPayer field's value.

func (*CopyObjectInput) SetSSECustomerAlgorithm Uses

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

SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.

func (*CopyObjectInput) SetSSECustomerKey Uses

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

SetSSECustomerKey sets the SSECustomerKey field's value.

func (*CopyObjectInput) SetSSECustomerKeyMD5 Uses

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

SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.

func (*CopyObjectInput) SetSSEKMSEncryptionContext Uses

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

SetSSEKMSEncryptionContext sets the SSEKMSEncryptionContext field's value.

func (*CopyObjectInput) SetSSEKMSKeyId Uses

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

SetSSEKMSKeyId sets the SSEKMSKeyId field's value.

func (*CopyObjectInput) SetServerSideEncryption Uses

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

SetServerSideEncryption sets the ServerSideEncryption field's value.

func (*CopyObjectInput) SetStorageClass Uses

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

SetStorageClass sets the StorageClass field's value.

func (*CopyObjectInput) SetTagging Uses

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

SetTagging sets the Tagging field's value.

func (*CopyObjectInput) SetTaggingDirective Uses

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

SetTaggingDirective sets the TaggingDirective field's value.

func (*CopyObjectInput) SetWebsiteRedirectLocation Uses

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

SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value.

func (CopyObjectInput) String Uses

func (s CopyObjectInput) String() string

String returns the string representation

func (*CopyObjectInput) Validate Uses

func (s *CopyObjectInput) Validate() error

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

type CopyObjectOutput Uses

type CopyObjectOutput struct {
    CopyObjectResult *CopyObjectResult `type:"structure"`

    CopySourceVersionId *string `location:"header" locationName:"x-amz-copy-source-version-id" type:"string"`

    // If the object expiration is configured, the response includes this header.
    Expiration *string `location:"header" locationName:"x-amz-expiration" type:"string"`

    // If present, indicates that the requester was successfully charged for the
    // request.
    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 confirming the encryption algorithm
    // used.
    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 round trip message integrity
    // verification of the customer-provided encryption key.
    SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"`

    // If present, specifies the AWS 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.
    SSEKMSEncryptionContext *string `location:"header" locationName:"x-amz-server-side-encryption-context" type:"string" sensitive:"true"`

    // If present, specifies the ID of the AWS Key Management Service (KMS) master
    // encryption key that was used for the object.
    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 S3
    // (e.g., AES256, aws:kms).
    ServerSideEncryption *string `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"ServerSideEncryption"`

    // Version ID of the newly created copy.
    VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"`
    // contains filtered or unexported fields
}

func (CopyObjectOutput) GoString Uses

func (s CopyObjectOutput) GoString() string

GoString returns the string representation

func (*CopyObjectOutput) SetCopyObjectResult Uses

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

SetCopyObjectResult sets the CopyObjectResult field's value.

func (*CopyObjectOutput) SetCopySourceVersionId Uses

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

SetCopySourceVersionId sets the CopySourceVersionId field's value.

func (*CopyObjectOutput) SetExpiration Uses

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

SetExpiration sets the Expiration field's value.

func (*CopyObjectOutput) SetRequestCharged Uses

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

SetRequestCharged sets the RequestCharged field's value.

func (*CopyObjectOutput) SetSSECustomerAlgorithm Uses

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

SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.

func (*CopyObjectOutput) SetSSECustomerKeyMD5 Uses

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

SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.

func (*CopyObjectOutput) SetSSEKMSEncryptionContext Uses

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

SetSSEKMSEncryptionContext sets the SSEKMSEncryptionContext field's value.

func (*CopyObjectOutput) SetSSEKMSKeyId Uses

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

SetSSEKMSKeyId sets the SSEKMSKeyId field's value.

func (*CopyObjectOutput) SetServerSideEncryption Uses

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

SetServerSideEncryption sets the ServerSideEncryption field's value.

func (*CopyObjectOutput) SetVersionId Uses

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

SetVersionId sets the VersionId field's value.

func (CopyObjectOutput) String Uses

func (s CopyObjectOutput) String() string

String returns the string representation

type CopyObjectResult Uses

type CopyObjectResult struct {
    ETag *string `type:"string"`

    LastModified *time.Time `type:"timestamp"`
    // contains filtered or unexported fields
}

func (CopyObjectResult) GoString Uses

func (s CopyObjectResult) GoString() string

GoString returns the string representation

func (*CopyObjectResult) SetETag Uses

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

SetETag sets the ETag field's value.

func (*CopyObjectResult) SetLastModified Uses

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

SetLastModified sets the LastModified field's value.

func (CopyObjectResult) String Uses

func (s CopyObjectResult) String() string

String returns the string representation

type CopyPartResult Uses

type CopyPartResult struct {

    // 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
}

func (CopyPartResult) GoString Uses

func (s CopyPartResult) GoString() string

GoString returns the string representation

func (*CopyPartResult) SetETag Uses

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

SetETag sets the ETag field's value.

func (*CopyPartResult) SetLastModified Uses

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

SetLastModified sets the LastModified field's value.

func (CopyPartResult) String Uses

func (s CopyPartResult) String() string

String returns the string representation

type CreateBucketConfiguration Uses

type CreateBucketConfiguration struct {

    // Specifies the region where the bucket will be created. If you don't specify
    // a region, the bucket is created in US East (N. Virginia) Region (us-east-1).
    LocationConstraint *string `type:"string" enum:"BucketLocationConstraint"`
    // contains filtered or unexported fields
}

func (CreateBucketConfiguration) GoString Uses

func (s CreateBucketConfiguration) GoString() string

GoString returns the string representation

func (*CreateBucketConfiguration) SetLocationConstraint Uses

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

SetLocationConstraint sets the LocationConstraint field's value.

func (CreateBucketConfiguration) String Uses

func (s CreateBucketConfiguration) String() string

String returns the string representation

type CreateBucketInput Uses

type CreateBucketInput struct {

    // The canned ACL to apply to the bucket.
    ACL *string `location:"header" locationName:"x-amz-acl" type:"string" enum:"BucketCannedACL"`

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    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.
    GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"`

    // Allows grantee to list the objects in the bucket.
    GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string"`

    // Allows grantee to read the bucket ACL.
    GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string"`

    // Allows grantee to create, overwrite, and delete any object in the bucket.
    GrantWrite *string `location:"header" locationName:"x-amz-grant-write" type:"string"`

    // Allows grantee to write the ACL for the applicable bucket.
    GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"`

    // Specifies whether you want Amazon S3 object lock to be enabled for the new
    // bucket.
    ObjectLockEnabledForBucket *bool `location:"header" locationName:"x-amz-bucket-object-lock-enabled" type:"boolean"`
    // contains filtered or unexported fields
}

func (CreateBucketInput) GoString Uses

func (s CreateBucketInput) GoString() string

GoString returns the string representation

func (*CreateBucketInput) SetACL Uses

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

SetACL sets the ACL field's value.

func (*CreateBucketInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*CreateBucketInput) SetCreateBucketConfiguration Uses

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

SetCreateBucketConfiguration sets the CreateBucketConfiguration field's value.

func (*CreateBucketInput) SetGrantFullControl Uses

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

SetGrantFullControl sets the GrantFullControl field's value.

func (*CreateBucketInput) SetGrantRead Uses

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

SetGrantRead sets the GrantRead field's value.

func (*CreateBucketInput) SetGrantReadACP Uses

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

SetGrantReadACP sets the GrantReadACP field's value.

func (*CreateBucketInput) SetGrantWrite Uses

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

SetGrantWrite sets the GrantWrite field's value.

func (*CreateBucketInput) SetGrantWriteACP Uses

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

SetGrantWriteACP sets the GrantWriteACP field's value.

func (*CreateBucketInput) SetObjectLockEnabledForBucket Uses

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

SetObjectLockEnabledForBucket sets the ObjectLockEnabledForBucket field's value.

func (CreateBucketInput) String Uses

func (s CreateBucketInput) String() string

String returns the string representation

func (*CreateBucketInput) Validate Uses

func (s *CreateBucketInput) Validate() error

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

type CreateBucketOutput Uses

type CreateBucketOutput struct {
    Location *string `location:"header" locationName:"Location" type:"string"`
    // contains filtered or unexported fields
}

func (CreateBucketOutput) GoString Uses

func (s CreateBucketOutput) GoString() string

GoString returns the string representation

func (*CreateBucketOutput) SetLocation Uses

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

SetLocation sets the Location field's value.

func (CreateBucketOutput) String Uses

func (s CreateBucketOutput) String() string

String returns the string representation

type CreateMultipartUploadInput Uses

type CreateMultipartUploadInput struct {

    // The canned ACL to apply to the object.
    ACL *string `location:"header" locationName:"x-amz-acl" type:"string" enum:"ObjectCannedACL"`

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

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

    // 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.
    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 describing the format of the object data.
    ContentType *string `location:"header" locationName:"Content-Type" 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.
    GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"`

    // Allows grantee to read the object data and its metadata.
    GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string"`

    // Allows grantee to read the object ACL.
    GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string"`

    // Allows grantee to write the ACL for the applicable object.
    GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"`

    // 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.
    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.
    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.
    ObjectLockRetainUntilDate *time.Time `location:"header" locationName:"x-amz-object-lock-retain-until-date" type:"timestamp" timestampFormat:"iso8601"`

    // Confirms that the requester knows that she or he will be charged for the
    // request. Bucket owners need not specify this parameter in their requests.
    // Documentation on downloading objects from requester pays buckets can be found
    // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
    RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`

    // Specifies the algorithm to use to when encrypting the object (e.g., AES256).
    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
    // 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.
    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 the encryption
    // key was transmitted without error.
    SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"`

    // Specifies the AWS 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.
    SSEKMSEncryptionContext *string `location:"header" locationName:"x-amz-server-side-encryption-context" type:"string" sensitive:"true"`

    // Specifies the AWS KMS key ID to use for object encryption. All GET and PUT
    // requests for an object protected by AWS KMS will fail if not made via SSL
    // or using SigV4. Documentation on configuring any of the officially supported
    // AWS SDKs and CLI can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
    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 S3
    // (e.g., AES256, aws:kms).
    ServerSideEncryption *string `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"ServerSideEncryption"`

    // The type of storage to use for the object. Defaults to 'STANDARD'.
    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
    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.
    WebsiteRedirectLocation *string `location:"header" locationName:"x-amz-website-redirect-location" type:"string"`
    // contains filtered or unexported fields
}

func (CreateMultipartUploadInput) GoString Uses

func (s CreateMultipartUploadInput) GoString() string

GoString returns the string representation

func (*CreateMultipartUploadInput) SetACL Uses

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

SetACL sets the ACL field's value.

func (*CreateMultipartUploadInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*CreateMultipartUploadInput) SetCacheControl Uses

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

SetCacheControl sets the CacheControl field's value.

func (*CreateMultipartUploadInput) SetContentDisposition Uses

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

SetContentDisposition sets the ContentDisposition field's value.

func (*CreateMultipartUploadInput) SetContentEncoding Uses

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

SetContentEncoding sets the ContentEncoding field's value.

func (*CreateMultipartUploadInput) SetContentLanguage Uses

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

SetContentLanguage sets the ContentLanguage field's value.

func (*CreateMultipartUploadInput) SetContentType Uses

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

SetContentType sets the ContentType field's value.

func (*CreateMultipartUploadInput) SetExpires Uses

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

SetExpires sets the Expires field's value.

func (*CreateMultipartUploadInput) SetGrantFullControl Uses

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

SetGrantFullControl sets the GrantFullControl field's value.

func (*CreateMultipartUploadInput) SetGrantRead Uses

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

SetGrantRead sets the GrantRead field's value.

func (*CreateMultipartUploadInput) SetGrantReadACP Uses

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

SetGrantReadACP sets the GrantReadACP field's value.

func (*CreateMultipartUploadInput) SetGrantWriteACP Uses

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

SetGrantWriteACP sets the GrantWriteACP field's value.

func (*CreateMultipartUploadInput) SetKey Uses

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

SetKey sets the Key field's value.

func (*CreateMultipartUploadInput) SetMetadata Uses

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

SetMetadata sets the Metadata field's value.

func (*CreateMultipartUploadInput) SetObjectLockLegalHoldStatus Uses

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

SetObjectLockLegalHoldStatus sets the ObjectLockLegalHoldStatus field's value.

func (*CreateMultipartUploadInput) SetObjectLockMode Uses

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

SetObjectLockMode sets the ObjectLockMode field's value.

func (*CreateMultipartUploadInput) SetObjectLockRetainUntilDate Uses

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

SetObjectLockRetainUntilDate sets the ObjectLockRetainUntilDate field's value.

func (*CreateMultipartUploadInput) SetRequestPayer Uses

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

SetRequestPayer sets the RequestPayer field's value.

func (*CreateMultipartUploadInput) SetSSECustomerAlgorithm Uses

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

SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.

func (*CreateMultipartUploadInput) SetSSECustomerKey Uses

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

SetSSECustomerKey sets the SSECustomerKey field's value.

func (*CreateMultipartUploadInput) SetSSECustomerKeyMD5 Uses

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

SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.

func (*CreateMultipartUploadInput) SetSSEKMSEncryptionContext Uses

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

SetSSEKMSEncryptionContext sets the SSEKMSEncryptionContext field's value.

func (*CreateMultipartUploadInput) SetSSEKMSKeyId Uses

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

SetSSEKMSKeyId sets the SSEKMSKeyId field's value.

func (*CreateMultipartUploadInput) SetServerSideEncryption Uses

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

SetServerSideEncryption sets the ServerSideEncryption field's value.

func (*CreateMultipartUploadInput) SetStorageClass Uses

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

SetStorageClass sets the StorageClass field's value.

func (*CreateMultipartUploadInput) SetTagging Uses

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

SetTagging sets the Tagging field's value.

func (*CreateMultipartUploadInput) SetWebsiteRedirectLocation Uses

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

SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value.

func (CreateMultipartUploadInput) String Uses

func (s CreateMultipartUploadInput) String() string

String returns the string representation

func (*CreateMultipartUploadInput) Validate Uses

func (s *CreateMultipartUploadInput) Validate() error

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

type CreateMultipartUploadOutput Uses

type CreateMultipartUploadOutput struct {

    // Date when multipart upload will become eligible for abort operation by lifecycle.
    AbortDate *time.Time `location:"header" locationName:"x-amz-abort-date" type:"timestamp"`

    // Id of the lifecycle rule that makes a multipart upload eligible for abort
    // operation.
    AbortRuleId *string `location:"header" locationName:"x-amz-abort-rule-id" type:"string"`

    // Name of the bucket to which the multipart upload was initiated.
    Bucket *string `locationName:"Bucket" type:"string"`

    // 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.
    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 confirming the encryption algorithm
    // used.
    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 round trip message integrity
    // verification of the customer-provided encryption key.
    SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"`

    // If present, specifies the AWS 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.
    SSEKMSEncryptionContext *string `location:"header" locationName:"x-amz-server-side-encryption-context" type:"string" sensitive:"true"`

    // If present, specifies the ID of the AWS Key Management Service (KMS) master
    // encryption key that was used for the object.
    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 S3
    // (e.g., AES256, aws:kms).
    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 Uses

func (s CreateMultipartUploadOutput) GoString() string

GoString returns the string representation

func (*CreateMultipartUploadOutput) SetAbortDate Uses

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

SetAbortDate sets the AbortDate field's value.

func (*CreateMultipartUploadOutput) SetAbortRuleId Uses

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

SetAbortRuleId sets the AbortRuleId field's value.

func (*CreateMultipartUploadOutput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*CreateMultipartUploadOutput) SetKey Uses

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

SetKey sets the Key field's value.

func (*CreateMultipartUploadOutput) SetRequestCharged Uses

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

SetRequestCharged sets the RequestCharged field's value.

func (*CreateMultipartUploadOutput) SetSSECustomerAlgorithm Uses

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

SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.

func (*CreateMultipartUploadOutput) SetSSECustomerKeyMD5 Uses

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

SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.

func (*CreateMultipartUploadOutput) SetSSEKMSEncryptionContext Uses

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

SetSSEKMSEncryptionContext sets the SSEKMSEncryptionContext field's value.

func (*CreateMultipartUploadOutput) SetSSEKMSKeyId Uses

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

SetSSEKMSKeyId sets the SSEKMSKeyId field's value.

func (*CreateMultipartUploadOutput) SetServerSideEncryption Uses

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

SetServerSideEncryption sets the ServerSideEncryption field's value.

func (*CreateMultipartUploadOutput) SetUploadId Uses

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

SetUploadId sets the UploadId field's value.

func (CreateMultipartUploadOutput) String Uses

func (s CreateMultipartUploadOutput) String() string

String returns the string representation

type DefaultRetention Uses

type DefaultRetention struct {

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

    // The default object lock retention mode you want to apply to new objects placed
    // in the specified bucket.
    Mode *string `type:"string" enum:"ObjectLockRetentionMode"`

    // The number of years that you want to specify for the default retention period.
    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.

func (DefaultRetention) GoString Uses

func (s DefaultRetention) GoString() string

GoString returns the string representation

func (*DefaultRetention) SetDays Uses

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

SetDays sets the Days field's value.

func (*DefaultRetention) SetMode Uses

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

SetMode sets the Mode field's value.

func (*DefaultRetention) SetYears Uses

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

SetYears sets the Years field's value.

func (DefaultRetention) String Uses

func (s DefaultRetention) String() string

String returns the string representation

type Delete Uses

type Delete struct {

    // 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
}

func (Delete) GoString Uses

func (s Delete) GoString() string

GoString returns the string representation

func (*Delete) SetObjects Uses

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

SetObjects sets the Objects field's value.

func (*Delete) SetQuiet Uses

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

SetQuiet sets the Quiet field's value.

func (Delete) String Uses

func (s Delete) String() string

String returns the string representation

func (*Delete) Validate Uses

func (s *Delete) Validate() error

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

type DeleteBucketAnalyticsConfigurationInput Uses

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 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 Uses

func (s DeleteBucketAnalyticsConfigurationInput) GoString() string

GoString returns the string representation

func (*DeleteBucketAnalyticsConfigurationInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*DeleteBucketAnalyticsConfigurationInput) SetId Uses

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

SetId sets the Id field's value.

func (DeleteBucketAnalyticsConfigurationInput) String Uses

func (s DeleteBucketAnalyticsConfigurationInput) String() string

String returns the string representation

func (*DeleteBucketAnalyticsConfigurationInput) Validate Uses

func (s *DeleteBucketAnalyticsConfigurationInput) Validate() error

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

type DeleteBucketAnalyticsConfigurationOutput Uses

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

func (DeleteBucketAnalyticsConfigurationOutput) GoString Uses

func (s DeleteBucketAnalyticsConfigurationOutput) GoString() string

GoString returns the string representation

func (DeleteBucketAnalyticsConfigurationOutput) String Uses

func (s DeleteBucketAnalyticsConfigurationOutput) String() string

String returns the string representation

type DeleteBucketCorsInput Uses

type DeleteBucketCorsInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteBucketCorsInput) GoString Uses

func (s DeleteBucketCorsInput) GoString() string

GoString returns the string representation

func (*DeleteBucketCorsInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (DeleteBucketCorsInput) String Uses

func (s DeleteBucketCorsInput) String() string

String returns the string representation

func (*DeleteBucketCorsInput) Validate Uses

func (s *DeleteBucketCorsInput) Validate() error

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

type DeleteBucketCorsOutput Uses

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

func (DeleteBucketCorsOutput) GoString Uses

func (s DeleteBucketCorsOutput) GoString() string

GoString returns the string representation

func (DeleteBucketCorsOutput) String Uses

func (s DeleteBucketCorsOutput) String() string

String returns the string representation

type DeleteBucketEncryptionInput Uses

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"`
    // contains filtered or unexported fields
}

func (DeleteBucketEncryptionInput) GoString Uses

func (s DeleteBucketEncryptionInput) GoString() string

GoString returns the string representation

func (*DeleteBucketEncryptionInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (DeleteBucketEncryptionInput) String Uses

func (s DeleteBucketEncryptionInput) String() string

String returns the string representation

func (*DeleteBucketEncryptionInput) Validate Uses

func (s *DeleteBucketEncryptionInput) Validate() error

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

type DeleteBucketEncryptionOutput Uses

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

func (DeleteBucketEncryptionOutput) GoString Uses

func (s DeleteBucketEncryptionOutput) GoString() string

GoString returns the string representation

func (DeleteBucketEncryptionOutput) String Uses

func (s DeleteBucketEncryptionOutput) String() string

String returns the string representation

type DeleteBucketInput Uses

type DeleteBucketInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteBucketInput) GoString Uses

func (s DeleteBucketInput) GoString() string

GoString returns the string representation

func (*DeleteBucketInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (DeleteBucketInput) String Uses

func (s DeleteBucketInput) String() string

String returns the string representation

func (*DeleteBucketInput) Validate Uses

func (s *DeleteBucketInput) Validate() error

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

type DeleteBucketInventoryConfigurationInput Uses

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 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 Uses

func (s DeleteBucketInventoryConfigurationInput) GoString() string

GoString returns the string representation

func (*DeleteBucketInventoryConfigurationInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*DeleteBucketInventoryConfigurationInput) SetId Uses

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

SetId sets the Id field's value.

func (DeleteBucketInventoryConfigurationInput) String Uses

func (s DeleteBucketInventoryConfigurationInput) String() string

String returns the string representation

func (*DeleteBucketInventoryConfigurationInput) Validate Uses

func (s *DeleteBucketInventoryConfigurationInput) Validate() error

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

type DeleteBucketInventoryConfigurationOutput Uses

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

func (DeleteBucketInventoryConfigurationOutput) GoString Uses

func (s DeleteBucketInventoryConfigurationOutput) GoString() string

GoString returns the string representation

func (DeleteBucketInventoryConfigurationOutput) String Uses

func (s DeleteBucketInventoryConfigurationOutput) String() string

String returns the string representation

type DeleteBucketLifecycleInput Uses

type DeleteBucketLifecycleInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteBucketLifecycleInput) GoString Uses

func (s DeleteBucketLifecycleInput) GoString() string

GoString returns the string representation

func (*DeleteBucketLifecycleInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (DeleteBucketLifecycleInput) String Uses

func (s DeleteBucketLifecycleInput) String() string

String returns the string representation

func (*DeleteBucketLifecycleInput) Validate Uses

func (s *DeleteBucketLifecycleInput) Validate() error

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

type DeleteBucketLifecycleOutput Uses

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

func (DeleteBucketLifecycleOutput) GoString Uses

func (s DeleteBucketLifecycleOutput) GoString() string

GoString returns the string representation

func (DeleteBucketLifecycleOutput) String Uses

func (s DeleteBucketLifecycleOutput) String() string

String returns the string representation

type DeleteBucketMetricsConfigurationInput Uses

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 ID used to identify the metrics configuration.
    //
    // Id is a required field
    Id  *string `location:"querystring" locationName:"id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteBucketMetricsConfigurationInput) GoString Uses

func (s DeleteBucketMetricsConfigurationInput) GoString() string

GoString returns the string representation

func (*DeleteBucketMetricsConfigurationInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*DeleteBucketMetricsConfigurationInput) SetId Uses

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

SetId sets the Id field's value.

func (DeleteBucketMetricsConfigurationInput) String Uses

func (s DeleteBucketMetricsConfigurationInput) String() string

String returns the string representation

func (*DeleteBucketMetricsConfigurationInput) Validate Uses

func (s *DeleteBucketMetricsConfigurationInput) Validate() error

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

type DeleteBucketMetricsConfigurationOutput Uses

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

func (DeleteBucketMetricsConfigurationOutput) GoString Uses

func (s DeleteBucketMetricsConfigurationOutput) GoString() string

GoString returns the string representation

func (DeleteBucketMetricsConfigurationOutput) String Uses

func (s DeleteBucketMetricsConfigurationOutput) String() string

String returns the string representation

type DeleteBucketOutput Uses

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

func (DeleteBucketOutput) GoString Uses

func (s DeleteBucketOutput) GoString() string

GoString returns the string representation

func (DeleteBucketOutput) String Uses

func (s DeleteBucketOutput) String() string

String returns the string representation

type DeleteBucketPolicyInput Uses

type DeleteBucketPolicyInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteBucketPolicyInput) GoString Uses

func (s DeleteBucketPolicyInput) GoString() string

GoString returns the string representation

func (*DeleteBucketPolicyInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (DeleteBucketPolicyInput) String Uses

func (s DeleteBucketPolicyInput) String() string

String returns the string representation

func (*DeleteBucketPolicyInput) Validate Uses

func (s *DeleteBucketPolicyInput) Validate() error

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

type DeleteBucketPolicyOutput Uses

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

func (DeleteBucketPolicyOutput) GoString Uses

func (s DeleteBucketPolicyOutput) GoString() string

GoString returns the string representation

func (DeleteBucketPolicyOutput) String Uses

func (s DeleteBucketPolicyOutput) String() string

String returns the string representation

type DeleteBucketReplicationInput Uses

type DeleteBucketReplicationInput struct {

    // The bucket name.
    //
    // It can take a while to propagate the deletion of a replication configuration
    // to all Amazon S3 systems.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteBucketReplicationInput) GoString Uses

func (s DeleteBucketReplicationInput) GoString() string

GoString returns the string representation

func (*DeleteBucketReplicationInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (DeleteBucketReplicationInput) String Uses

func (s DeleteBucketReplicationInput) String() string

String returns the string representation

func (*DeleteBucketReplicationInput) Validate Uses

func (s *DeleteBucketReplicationInput) Validate() error

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

type DeleteBucketReplicationOutput Uses

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

func (DeleteBucketReplicationOutput) GoString Uses

func (s DeleteBucketReplicationOutput) GoString() string

GoString returns the string representation

func (DeleteBucketReplicationOutput) String Uses

func (s DeleteBucketReplicationOutput) String() string

String returns the string representation

type DeleteBucketTaggingInput Uses

type DeleteBucketTaggingInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteBucketTaggingInput) GoString Uses

func (s DeleteBucketTaggingInput) GoString() string

GoString returns the string representation

func (*DeleteBucketTaggingInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (DeleteBucketTaggingInput) String Uses

func (s DeleteBucketTaggingInput) String() string

String returns the string representation

func (*DeleteBucketTaggingInput) Validate Uses

func (s *DeleteBucketTaggingInput) Validate() error

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

type DeleteBucketTaggingOutput Uses

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

func (DeleteBucketTaggingOutput) GoString Uses

func (s DeleteBucketTaggingOutput) GoString() string

GoString returns the string representation

func (DeleteBucketTaggingOutput) String Uses

func (s DeleteBucketTaggingOutput) String() string

String returns the string representation

type DeleteBucketWebsiteInput Uses

type DeleteBucketWebsiteInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteBucketWebsiteInput) GoString Uses

func (s DeleteBucketWebsiteInput) GoString() string

GoString returns the string representation

func (*DeleteBucketWebsiteInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (DeleteBucketWebsiteInput) String Uses

func (s DeleteBucketWebsiteInput) String() string

String returns the string representation

func (*DeleteBucketWebsiteInput) Validate Uses

func (s *DeleteBucketWebsiteInput) Validate() error

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

type DeleteBucketWebsiteOutput Uses

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

func (DeleteBucketWebsiteOutput) GoString Uses

func (s DeleteBucketWebsiteOutput) GoString() string

GoString returns the string representation

func (DeleteBucketWebsiteOutput) String Uses

func (s DeleteBucketWebsiteOutput) String() string

String returns the string representation

type DeleteMarkerEntry Uses

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 the object was last modified.
    LastModified *time.Time `type:"timestamp"`

    Owner *Owner `type:"structure"`

    // Version ID of an object.
    VersionId *string `type:"string"`
    // contains filtered or unexported fields
}

func (DeleteMarkerEntry) GoString Uses

func (s DeleteMarkerEntry) GoString() string

GoString returns the string representation

func (*DeleteMarkerEntry) SetIsLatest Uses

func (s *DeleteMarkerEntry) SetIsLatest(v bool) *DeleteMarkerEntry

SetIsLatest sets the IsLatest field's value.

func (*DeleteMarkerEntry) SetKey Uses

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

SetKey sets the Key field's value.

func (*DeleteMarkerEntry) SetLastModified Uses

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

SetLastModified sets the LastModified field's value.

func (*DeleteMarkerEntry) SetOwner Uses

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

SetOwner sets the Owner field's value.

func (*DeleteMarkerEntry) SetVersionId Uses

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

SetVersionId sets the VersionId field's value.

func (DeleteMarkerEntry) String Uses

func (s DeleteMarkerEntry) String() string

String returns the string representation

type DeleteMarkerReplication Uses

type DeleteMarkerReplication struct {

    // The status of the delete marker replication.
    //
    // In the current implementation, Amazon S3 doesn't replicate the delete markers.
    // The status must be Disabled.
    Status *string `type:"string" enum:"DeleteMarkerReplicationStatus"`
    // contains filtered or unexported fields
}

Specifies whether Amazon S3 should replicate delete makers.

func (DeleteMarkerReplication) GoString Uses

func (s DeleteMarkerReplication) GoString() string

GoString returns the string representation

func (*DeleteMarkerReplication) SetStatus Uses

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

SetStatus sets the Status field's value.

func (DeleteMarkerReplication) String Uses

func (s DeleteMarkerReplication) String() string

String returns the string representation

type DeleteObjectInput Uses

type DeleteObjectInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // Indicates whether Amazon S3 object lock should bypass governance-mode restrictions
    // to process this operation.
    BypassGovernanceRetention *bool `location:"header" locationName:"x-amz-bypass-governance-retention" type:"boolean"`

    // 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.
    MFA *string `location:"header" locationName:"x-amz-mfa" type:"string"`

    // Confirms that the requester knows that she or he will be charged for the
    // request. Bucket owners need not specify this parameter in their requests.
    // Documentation on downloading objects from requester pays buckets can be found
    // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
    RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`

    // VersionId used to reference a specific version of the object.
    VersionId *string `location:"querystring" locationName:"versionId" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteObjectInput) GoString Uses

func (s DeleteObjectInput) GoString() string

GoString returns the string representation

func (*DeleteObjectInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*DeleteObjectInput) SetBypassGovernanceRetention Uses

func (s *DeleteObjectInput) SetBypassGovernanceRetention(v bool) *DeleteObjectInput

SetBypassGovernanceRetention sets the BypassGovernanceRetention field's value.

func (*DeleteObjectInput) SetKey Uses

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

SetKey sets the Key field's value.

func (*DeleteObjectInput) SetMFA Uses

func (s *DeleteObjectInput) SetMFA(v string) *DeleteObjectInput

SetMFA sets the MFA field's value.

func (*DeleteObjectInput) SetRequestPayer Uses

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

SetRequestPayer sets the RequestPayer field's value.

func (*DeleteObjectInput) SetVersionId Uses

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

SetVersionId sets the VersionId field's value.

func (DeleteObjectInput) String Uses

func (s DeleteObjectInput) String() string

String returns the string representation

func (*DeleteObjectInput) Validate Uses

func (s *DeleteObjectInput) Validate() error

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

type DeleteObjectOutput Uses

type DeleteObjectOutput struct {

    // Specifies whether the versioned object that was permanently deleted was (true)
    // or was not (false) a delete marker.
    DeleteMarker *bool `location:"header" locationName:"x-amz-delete-marker" type:"boolean"`

    // If present, indicates that the requester was successfully charged for the
    // request.
    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.
    VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteObjectOutput) GoString Uses

func (s DeleteObjectOutput) GoString() string

GoString returns the string representation

func (*DeleteObjectOutput) SetDeleteMarker Uses

func (s *DeleteObjectOutput) SetDeleteMarker(v bool) *DeleteObjectOutput

SetDeleteMarker sets the DeleteMarker field's value.

func (*DeleteObjectOutput) SetRequestCharged Uses

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

SetRequestCharged sets the RequestCharged field's value.

func (*DeleteObjectOutput) SetVersionId Uses

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

SetVersionId sets the VersionId field's value.

func (DeleteObjectOutput) String Uses

func (s DeleteObjectOutput) String() string

String returns the string representation

type DeleteObjectTaggingInput Uses

type DeleteObjectTaggingInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`

    // 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 Uses

func (s DeleteObjectTaggingInput) GoString() string

GoString returns the string representation

func (*DeleteObjectTaggingInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*DeleteObjectTaggingInput) SetKey Uses

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

SetKey sets the Key field's value.

func (*DeleteObjectTaggingInput) SetVersionId Uses

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

SetVersionId sets the VersionId field's value.

func (DeleteObjectTaggingInput) String Uses

func (s DeleteObjectTaggingInput) String() string

String returns the string representation

func (*DeleteObjectTaggingInput) Validate Uses

func (s *DeleteObjectTaggingInput) Validate() error

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

type DeleteObjectTaggingOutput Uses

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 Uses

func (s DeleteObjectTaggingOutput) GoString() string

GoString returns the string representation

func (*DeleteObjectTaggingOutput) SetVersionId Uses

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

SetVersionId sets the VersionId field's value.

func (DeleteObjectTaggingOutput) String Uses

func (s DeleteObjectTaggingOutput) String() string

String returns the string representation

type DeleteObjectsInput Uses

type DeleteObjectsInput struct {

    // 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. You must have sufficient permissions to perform this
    // operation.
    BypassGovernanceRetention *bool `location:"header" locationName:"x-amz-bypass-governance-retention" type:"boolean"`

    // Delete is a required field
    Delete *Delete `locationName:"Delete" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`

    // The concatenation of the authentication device's serial number, a space,
    // and the value that is displayed on your authentication device.
    MFA *string `location:"header" locationName:"x-amz-mfa" type:"string"`

    // Confirms that the requester knows that she or he will be charged for the
    // request. Bucket owners need not specify this parameter in their requests.
    // Documentation on downloading objects from requester pays buckets can be found
    // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
    RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`
    // contains filtered or unexported fields
}

func (DeleteObjectsInput) GoString Uses

func (s DeleteObjectsInput) GoString() string

GoString returns the string representation

func (*DeleteObjectsInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*DeleteObjectsInput) SetBypassGovernanceRetention Uses

func (s *DeleteObjectsInput) SetBypassGovernanceRetention(v bool) *DeleteObjectsInput

SetBypassGovernanceRetention sets the BypassGovernanceRetention field's value.

func (*DeleteObjectsInput) SetDelete Uses

func (s *DeleteObjectsInput) SetDelete(v *Delete) *DeleteObjectsInput

SetDelete sets the Delete field's value.

func (*DeleteObjectsInput) SetMFA Uses

func (s *DeleteObjectsInput) SetMFA(v string) *DeleteObjectsInput

SetMFA sets the MFA field's value.

func (*DeleteObjectsInput) SetRequestPayer Uses

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

SetRequestPayer sets the RequestPayer field's value.

func (DeleteObjectsInput) String Uses

func (s DeleteObjectsInput) String() string

String returns the string representation

func (*DeleteObjectsInput) Validate Uses

func (s *DeleteObjectsInput) Validate() error

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

type DeleteObjectsOutput Uses

type DeleteObjectsOutput struct {
    Deleted []*DeletedObject `type:"list" flattened:"true"`

    Errors []*Error `locationName:"Error" type:"list" flattened:"true"`

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

func (DeleteObjectsOutput) GoString Uses

func (s DeleteObjectsOutput) GoString() string

GoString returns the string representation

func (*DeleteObjectsOutput) SetDeleted Uses

func (s *DeleteObjectsOutput) SetDeleted(v []*DeletedObject) *DeleteObjectsOutput

SetDeleted sets the Deleted field's value.

func (*DeleteObjectsOutput) SetErrors Uses

func (s *DeleteObjectsOutput) SetErrors(v []*Error) *DeleteObjectsOutput

SetErrors sets the Errors field's value.

func (*DeleteObjectsOutput) SetRequestCharged Uses

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

SetRequestCharged sets the RequestCharged field's value.

func (DeleteObjectsOutput) String Uses

func (s DeleteObjectsOutput) String() string

String returns the string representation

type DeletePublicAccessBlockInput Uses

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"`
    // contains filtered or unexported fields
}

func (DeletePublicAccessBlockInput) GoString Uses

func (s DeletePublicAccessBlockInput) GoString() string

GoString returns the string representation

func (*DeletePublicAccessBlockInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (DeletePublicAccessBlockInput) String Uses

func (s DeletePublicAccessBlockInput) String() string

String returns the string representation

func (*DeletePublicAccessBlockInput) Validate Uses

func (s *DeletePublicAccessBlockInput) Validate() error

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

type DeletePublicAccessBlockOutput Uses

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

func (DeletePublicAccessBlockOutput) GoString Uses

func (s DeletePublicAccessBlockOutput) GoString() string

GoString returns the string representation

func (DeletePublicAccessBlockOutput) String Uses

func (s DeletePublicAccessBlockOutput) String() string

String returns the string representation

type DeletedObject Uses

type DeletedObject struct {
    DeleteMarker *bool `type:"boolean"`

    DeleteMarkerVersionId *string `type:"string"`

    Key *string `min:"1" type:"string"`

    VersionId *string `type:"string"`
    // contains filtered or unexported fields
}

func (DeletedObject) GoString Uses

func (s DeletedObject) GoString() string

GoString returns the string representation

func (*DeletedObject) SetDeleteMarker Uses

func (s *DeletedObject) SetDeleteMarker(v bool) *DeletedObject

SetDeleteMarker sets the DeleteMarker field's value.

func (*DeletedObject) SetDeleteMarkerVersionId Uses

func (s *DeletedObject) SetDeleteMarkerVersionId(v string) *DeletedObject

SetDeleteMarkerVersionId sets the DeleteMarkerVersionId field's value.

func (*DeletedObject) SetKey Uses

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

SetKey sets the Key field's value.

func (*DeletedObject) SetVersionId Uses

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

SetVersionId sets the VersionId field's value.

func (DeletedObject) String Uses

func (s DeletedObject) String() string

String returns the string representation

type Destination Uses

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 AWS account that owns the destination bucket. If this is not specified
    // in the replication configuration, the replicas are owned by same AWS 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 AWS 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 Cross-Region Replication Additional Configuration: Change Replica Owner
    // (https://docs.aws.amazon.com/AmazonS3/latest/dev/crr-change-owner.html) in
    // the Amazon Simple Storage Service Developer Guide.
    Account *string `type:"string"`

    // The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to
    // store replicas of the object identified by the rule.
    //
    // A replication configuration can replicate objects to only one destination
    // bucket. If there are multiple rules in your replication configuration, all
    // rules must specify the same destination bucket.
    //
    // 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"`

    // The storage class to use when replicating objects, such as 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 Simple Storage Service 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.

func (Destination) GoString Uses

func (s Destination) GoString() string

GoString returns the string representation

func (*Destination) SetAccessControlTranslation Uses

func (s *Destination) SetAccessControlTranslation(v *AccessControlTranslation) *Destination

SetAccessControlTranslation sets the AccessControlTranslation field's value.

func (*Destination) SetAccount Uses

func (s *Destination) SetAccount(v string) *Destination

SetAccount sets the Account field's value.

func (*Destination) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*Destination) SetEncryptionConfiguration Uses

func (s *Destination) SetEncryptionConfiguration(v *EncryptionConfiguration) *Destination

SetEncryptionConfiguration sets the EncryptionConfiguration field's value.

func (*Destination) SetStorageClass Uses

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

SetStorageClass sets the StorageClass field's value.

func (Destination) String Uses

func (s Destination) String() string

String returns the string representation

func (*Destination) Validate Uses

func (s *Destination) Validate() error

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

type Encryption Uses

type Encryption struct {

    // The server-side encryption algorithm used when storing job results in Amazon
    // S3 (e.g., 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 AWS
    // KMS key ID to use for encryption of job results.
    KMSKeyId *string `type:"string" sensitive:"true"`
    // contains filtered or unexported fields
}

Describes the server-side encryption that will be applied to the restore results.

func (Encryption) GoString Uses

func (s Encryption) GoString() string

GoString returns the string representation

func (*Encryption) SetEncryptionType Uses

func (s *Encryption) SetEncryptionType(v string) *Encryption

SetEncryptionType sets the EncryptionType field's value.

func (*Encryption) SetKMSContext Uses

func (s *Encryption) SetKMSContext(v string) *Encryption

SetKMSContext sets the KMSContext field's value.

func (*Encryption) SetKMSKeyId Uses

func (s *Encryption) SetKMSKeyId(v string) *Encryption

SetKMSKeyId sets the KMSKeyId field's value.

func (Encryption) String Uses

func (s Encryption) String() string

String returns the string representation

func (*Encryption) Validate Uses

func (s *Encryption) Validate() error

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

type EncryptionConfiguration Uses

type EncryptionConfiguration struct {

    // Specifies the AWS KMS Key ID (Key ARN or Alias ARN) for the destination bucket.
    // Amazon S3 uses this key to encrypt replica objects.
    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 Uses

func (s EncryptionConfiguration) GoString() string

GoString returns the string representation

func (*EncryptionConfiguration) SetReplicaKmsKeyID Uses

func (s *EncryptionConfiguration) SetReplicaKmsKeyID(v string) *EncryptionConfiguration

SetReplicaKmsKeyID sets the ReplicaKmsKeyID field's value.

func (EncryptionConfiguration) String Uses

func (s EncryptionConfiguration) String() string

String returns the string representation

type EndEvent Uses

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

func (EndEvent) GoString Uses

func (s EndEvent) GoString() string

GoString returns the string representation

func (EndEvent) String Uses

func (s EndEvent) String() string

String returns the string representation

func (*EndEvent) UnmarshalEvent Uses

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 Uses

type Error struct {
    Code *string `type:"string"`

    Key *string `min:"1" type:"string"`

    Message *string `type:"string"`

    VersionId *string `type:"string"`
    // contains filtered or unexported fields
}

func (Error) GoString Uses

func (s Error) GoString() string

GoString returns the string representation

func (*Error) SetCode Uses

func (s *Error) SetCode(v string) *Error

SetCode sets the Code field's value.

func (*Error) SetKey Uses

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

SetKey sets the Key field's value.

func (*Error) SetMessage Uses

func (s *Error) SetMessage(v string) *Error

SetMessage sets the Message field's value.

func (*Error) SetVersionId Uses

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

SetVersionId sets the VersionId field's value.

func (Error) String Uses

func (s Error) String() string

String returns the string representation

type ErrorDocument Uses

type ErrorDocument struct {

    // The object key name to use when a 4XX class error occurs.
    //
    // Key is a required field
    Key *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ErrorDocument) GoString Uses

func (s ErrorDocument) GoString() string

GoString returns the string representation

func (*ErrorDocument) SetKey Uses

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

SetKey sets the Key field's value.

func (ErrorDocument) String Uses

func (s ErrorDocument) String() string

String returns the string representation

func (*ErrorDocument) Validate Uses

func (s *ErrorDocument) Validate() error

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

type FilterRule Uses

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 Simple Storage Service Developer 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 and whether to filter on the suffix or prefix of the key name.

func (FilterRule) GoString Uses

func (s FilterRule) GoString() string

GoString returns the string representation

func (*FilterRule) SetName Uses

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

SetName sets the Name field's value.

func (*FilterRule) SetValue Uses

func (s *FilterRule) SetValue(v string) *FilterRule

SetValue sets the Value field's value.

func (FilterRule) String Uses

func (s FilterRule) String() string

String returns the string representation

type GetBucketAccelerateConfigurationInput Uses

type GetBucketAccelerateConfigurationInput struct {

    // 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"`
    // contains filtered or unexported fields
}

func (GetBucketAccelerateConfigurationInput) GoString Uses

func (s GetBucketAccelerateConfigurationInput) GoString() string

GoString returns the string representation

func (*GetBucketAccelerateConfigurationInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (GetBucketAccelerateConfigurationInput) String Uses

func (s GetBucketAccelerateConfigurationInput) String() string

String returns the string representation

func (*GetBucketAccelerateConfigurationInput) Validate Uses

func (s *GetBucketAccelerateConfigurationInput) Validate() error

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

type GetBucketAccelerateConfigurationOutput Uses

type GetBucketAccelerateConfigurationOutput struct {

    // The accelerate configuration of the bucket.
    Status *string `type:"string" enum:"BucketAccelerateStatus"`
    // contains filtered or unexported fields
}

func (GetBucketAccelerateConfigurationOutput) GoString Uses

func (s GetBucketAccelerateConfigurationOutput) GoString() string

GoString returns the string representation

func (*GetBucketAccelerateConfigurationOutput) SetStatus Uses

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

SetStatus sets the Status field's value.

func (GetBucketAccelerateConfigurationOutput) String Uses

func (s GetBucketAccelerateConfigurationOutput) String() string

String returns the string representation

type GetBucketAclInput Uses

type GetBucketAclInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetBucketAclInput) GoString Uses

func (s GetBucketAclInput) GoString() string

GoString returns the string representation

func (*GetBucketAclInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (GetBucketAclInput) String Uses

func (s GetBucketAclInput) String() string

String returns the string representation

func (*GetBucketAclInput) Validate Uses

func (s *GetBucketAclInput) Validate() error

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

type GetBucketAclOutput Uses

type GetBucketAclOutput struct {

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

    Owner *Owner `type:"structure"`
    // contains filtered or unexported fields
}

func (GetBucketAclOutput) GoString Uses

func (s GetBucketAclOutput) GoString() string

GoString returns the string representation

func (*GetBucketAclOutput) SetGrants Uses

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

SetGrants sets the Grants field's value.

func (*GetBucketAclOutput) SetOwner Uses

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

SetOwner sets the Owner field's value.

func (GetBucketAclOutput) String Uses

func (s GetBucketAclOutput) String() string

String returns the string representation

type GetBucketAnalyticsConfigurationInput Uses

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 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 Uses

func (s GetBucketAnalyticsConfigurationInput) GoString() string

GoString returns the string representation

func (*GetBucketAnalyticsConfigurationInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*GetBucketAnalyticsConfigurationInput) SetId Uses

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

SetId sets the Id field's value.

func (GetBucketAnalyticsConfigurationInput) String Uses

func (s GetBucketAnalyticsConfigurationInput) String() string

String returns the string representation

func (*GetBucketAnalyticsConfigurationInput) Validate Uses

func (s *GetBucketAnalyticsConfigurationInput) Validate() error

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

type GetBucketAnalyticsConfigurationOutput Uses

type GetBucketAnalyticsConfigurationOutput struct {

    // The configuration and any analyses for the analytics filter.
    AnalyticsConfiguration *AnalyticsConfiguration `type:"structure"`
    // contains filtered or unexported fields
}

func (GetBucketAnalyticsConfigurationOutput) GoString Uses

func (s GetBucketAnalyticsConfigurationOutput) GoString() string

GoString returns the string representation

func (*GetBucketAnalyticsConfigurationOutput) SetAnalyticsConfiguration Uses

func (s *GetBucketAnalyticsConfigurationOutput) SetAnalyticsConfiguration(v *AnalyticsConfiguration) *GetBucketAnalyticsConfigurationOutput

SetAnalyticsConfiguration sets the AnalyticsConfiguration field's value.

func (GetBucketAnalyticsConfigurationOutput) String Uses

func (s GetBucketAnalyticsConfigurationOutput) String() string

String returns the string representation

type GetBucketCorsInput Uses

type GetBucketCorsInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetBucketCorsInput) GoString Uses

func (s GetBucketCorsInput) GoString() string

GoString returns the string representation

func (*GetBucketCorsInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (GetBucketCorsInput) String Uses

func (s GetBucketCorsInput) String() string

String returns the string representation

func (*GetBucketCorsInput) Validate Uses

func (s *GetBucketCorsInput) Validate() error

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

type GetBucketCorsOutput Uses

type GetBucketCorsOutput struct {
    CORSRules []*CORSRule `locationName:"CORSRule" type:"list" flattened:"true"`
    // contains filtered or unexported fields
}

func (GetBucketCorsOutput) GoString Uses

func (s GetBucketCorsOutput) GoString() string

GoString returns the string representation

func (*GetBucketCorsOutput) SetCORSRules Uses

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

SetCORSRules sets the CORSRules field's value.

func (GetBucketCorsOutput) String Uses

func (s GetBucketCorsOutput) String() string

String returns the string representation

type GetBucketEncryptionInput Uses

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"`
    // contains filtered or unexported fields
}

func (GetBucketEncryptionInput) GoString Uses

func (s GetBucketEncryptionInput) GoString() string

GoString returns the string representation

func (*GetBucketEncryptionInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (GetBucketEncryptionInput) String Uses

func (s GetBucketEncryptionInput) String() string

String returns the string representation

func (*GetBucketEncryptionInput) Validate Uses

func (s *GetBucketEncryptionInput) Validate() error

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

type GetBucketEncryptionOutput Uses

type GetBucketEncryptionOutput struct {

    // Specifies the default server-side-encryption configuration.
    ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration `type:"structure"`
    // contains filtered or unexported fields
}

func (GetBucketEncryptionOutput) GoString Uses

func (s GetBucketEncryptionOutput) GoString() string

GoString returns the string representation

func (*GetBucketEncryptionOutput) SetServerSideEncryptionConfiguration Uses

func (s *GetBucketEncryptionOutput) SetServerSideEncryptionConfiguration(v *ServerSideEncryptionConfiguration) *GetBucketEncryptionOutput

SetServerSideEncryptionConfiguration sets the ServerSideEncryptionConfiguration field's value.

func (GetBucketEncryptionOutput) String Uses

func (s GetBucketEncryptionOutput) String() string

String returns the string representation

type GetBucketInventoryConfigurationInput Uses

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 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 Uses

func (s GetBucketInventoryConfigurationInput) GoString() string

GoString returns the string representation

func (*GetBucketInventoryConfigurationInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*GetBucketInventoryConfigurationInput) SetId Uses

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

SetId sets the Id field's value.

func (GetBucketInventoryConfigurationInput) String Uses

func (s GetBucketInventoryConfigurationInput) String() string

String returns the string representation

func (*GetBucketInventoryConfigurationInput) Validate Uses

func (s *GetBucketInventoryConfigurationInput) Validate() error

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

type GetBucketInventoryConfigurationOutput Uses

type GetBucketInventoryConfigurationOutput struct {

    // Specifies the inventory configuration.
    InventoryConfiguration *InventoryConfiguration `type:"structure"`
    // contains filtered or unexported fields
}

func (GetBucketInventoryConfigurationOutput) GoString Uses

func (s GetBucketInventoryConfigurationOutput) GoString() string

GoString returns the string representation

func (*GetBucketInventoryConfigurationOutput) SetInventoryConfiguration Uses

func (s *GetBucketInventoryConfigurationOutput) SetInventoryConfiguration(v *InventoryConfiguration) *GetBucketInventoryConfigurationOutput

SetInventoryConfiguration sets the InventoryConfiguration field's value.

func (GetBucketInventoryConfigurationOutput) String Uses

func (s GetBucketInventoryConfigurationOutput) String() string

String returns the string representation

type GetBucketLifecycleConfigurationInput Uses

type GetBucketLifecycleConfigurationInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetBucketLifecycleConfigurationInput) GoString Uses

func (s GetBucketLifecycleConfigurationInput) GoString() string

GoString returns the string representation

func (*GetBucketLifecycleConfigurationInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (GetBucketLifecycleConfigurationInput) String Uses

func (s GetBucketLifecycleConfigurationInput) String() string

String returns the string representation

func (*GetBucketLifecycleConfigurationInput) Validate Uses

func (s *GetBucketLifecycleConfigurationInput) Validate() error

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

type GetBucketLifecycleConfigurationOutput Uses

type GetBucketLifecycleConfigurationOutput struct {
    Rules []*LifecycleRule `locationName:"Rule" type:"list" flattened:"true"`
    // contains filtered or unexported fields
}

func (GetBucketLifecycleConfigurationOutput) GoString Uses

func (s GetBucketLifecycleConfigurationOutput) GoString() string

GoString returns the string representation

func (*GetBucketLifecycleConfigurationOutput) SetRules Uses

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

SetRules sets the Rules field's value.

func (GetBucketLifecycleConfigurationOutput) String Uses

func (s GetBucketLifecycleConfigurationOutput) String() string

String returns the string representation

type GetBucketLifecycleInput Uses

type GetBucketLifecycleInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetBucketLifecycleInput) GoString Uses

func (s GetBucketLifecycleInput) GoString() string

GoString returns the string representation

func (*GetBucketLifecycleInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (GetBucketLifecycleInput) String Uses

func (s GetBucketLifecycleInput) String() string

String returns the string representation

func (*GetBucketLifecycleInput) Validate Uses

func (s *GetBucketLifecycleInput) Validate() error

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

type GetBucketLifecycleOutput Uses

type GetBucketLifecycleOutput struct {
    Rules []*Rule `locationName:"Rule" type:"list" flattened:"true"`
    // contains filtered or unexported fields
}

func (GetBucketLifecycleOutput) GoString Uses

func (s GetBucketLifecycleOutput) GoString() string

GoString returns the string representation

func (*GetBucketLifecycleOutput) SetRules Uses

func (s *GetBucketLifecycleOutput) SetRules(v []*Rule) *GetBucketLifecycleOutput

SetRules sets the Rules field's value.

func (GetBucketLifecycleOutput) String Uses

func (s GetBucketLifecycleOutput) String() string

String returns the string representation

type GetBucketLocationInput Uses

type GetBucketLocationInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetBucketLocationInput) GoString Uses

func (s GetBucketLocationInput) GoString() string

GoString returns the string representation

func (*GetBucketLocationInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (GetBucketLocationInput) String Uses

func (s GetBucketLocationInput) String() string

String returns the string representation

func (*GetBucketLocationInput) Validate Uses

func (s *GetBucketLocationInput) Validate() error

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

type GetBucketLocationOutput Uses

type GetBucketLocationOutput struct {
    LocationConstraint *string `type:"string" enum:"BucketLocationConstraint"`
    // contains filtered or unexported fields
}

func (GetBucketLocationOutput) GoString Uses

func (s GetBucketLocationOutput) GoString() string

GoString returns the string representation

func (*GetBucketLocationOutput) SetLocationConstraint Uses

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

SetLocationConstraint sets the LocationConstraint field's value.

func (GetBucketLocationOutput) String Uses

func (s GetBucketLocationOutput) String() string

String returns the string representation

type GetBucketLoggingInput Uses

type GetBucketLoggingInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetBucketLoggingInput) GoString Uses

func (s GetBucketLoggingInput) GoString() string

GoString returns the string representation

func (*GetBucketLoggingInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (GetBucketLoggingInput) String Uses

func (s GetBucketLoggingInput) String() string

String returns the string representation

func (*GetBucketLoggingInput) Validate Uses

func (s *GetBucketLoggingInput) Validate() error

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

type GetBucketLoggingOutput Uses

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 Simple Storage Service API Reference.
    LoggingEnabled *LoggingEnabled `type:"structure"`
    // contains filtered or unexported fields
}

func (GetBucketLoggingOutput) GoString Uses

func (s GetBucketLoggingOutput) GoString() string

GoString returns the string representation

func (*GetBucketLoggingOutput) SetLoggingEnabled Uses

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

SetLoggingEnabled sets the LoggingEnabled field's value.

func (GetBucketLoggingOutput) String Uses

func (s GetBucketLoggingOutput) String() string

String returns the string representation

type GetBucketMetricsConfigurationInput Uses

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 ID used to identify the metrics configuration.
    //
    // Id is a required field
    Id  *string `location:"querystring" locationName:"id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetBucketMetricsConfigurationInput) GoString Uses

func (s GetBucketMetricsConfigurationInput) GoString() string

GoString returns the string representation

func (*GetBucketMetricsConfigurationInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (*GetBucketMetricsConfigurationInput) SetId Uses

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

SetId sets the Id field's value.

func (GetBucketMetricsConfigurationInput) String Uses

func (s GetBucketMetricsConfigurationInput) String() string

String returns the string representation

func (*GetBucketMetricsConfigurationInput) Validate Uses

func (s *GetBucketMetricsConfigurationInput) Validate() error

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

type GetBucketMetricsConfigurationOutput Uses

type GetBucketMetricsConfigurationOutput struct {

    // Specifies the metrics configuration.
    MetricsConfiguration *MetricsConfiguration `type:"structure"`
    // contains filtered or unexported fields
}

func (GetBucketMetricsConfigurationOutput) GoString Uses

func (s GetBucketMetricsConfigurationOutput) GoString() string

GoString returns the string representation

func (*GetBucketMetricsConfigurationOutput) SetMetricsConfiguration Uses

func (s *GetBucketMetricsConfigurationOutput) SetMetricsConfiguration(v *MetricsConfiguration) *GetBucketMetricsConfigurationOutput

SetMetricsConfiguration sets the MetricsConfiguration field's value.

func (GetBucketMetricsConfigurationOutput) String Uses

func (s GetBucketMetricsConfigurationOutput) String() string

String returns the string representation

type GetBucketNotificationConfigurationRequest Uses

type GetBucketNotificationConfigurationRequest struct {

    // Name of the bucket to get the notification configuration for.
    //
    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetBucketNotificationConfigurationRequest) GoString Uses

func (s GetBucketNotificationConfigurationRequest) GoString() string

GoString returns the string representation

func (*GetBucketNotificationConfigurationRequest) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (GetBucketNotificationConfigurationRequest) String Uses

func (s GetBucketNotificationConfigurationRequest) String() string

String returns the string representation

func (*GetBucketNotificationConfigurationRequest) Validate Uses

func (s *GetBucketNotificationConfigurationRequest) Validate() error

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

type GetBucketPolicyInput Uses

type GetBucketPolicyInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetBucketPolicyInput) GoString Uses

func (s GetBucketPolicyInput) GoString() string

GoString returns the string representation

func (*GetBucketPolicyInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (GetBucketPolicyInput) String Uses

func (s GetBucketPolicyInput) String() string

String returns the string representation

func (*GetBucketPolicyInput) Validate Uses

func (s *GetBucketPolicyInput) Validate() error

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

type GetBucketPolicyOutput Uses

type GetBucketPolicyOutput struct {

    // The bucket policy as a JSON document.
    Policy *string `type:"string"`
    // contains filtered or unexported fields
}

func (GetBucketPolicyOutput) GoString Uses

func (s GetBucketPolicyOutput) GoString() string

GoString returns the string representation

func (*GetBucketPolicyOutput) SetPolicy Uses

func (s *GetBucketPolicyOutput) SetPolicy(v string) *GetBucketPolicyOutput

SetPolicy sets the Policy field's value.

func (GetBucketPolicyOutput) String Uses

func (s GetBucketPolicyOutput) String() string

String returns the string representation

type GetBucketPolicyStatusInput Uses

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"`
    // contains filtered or unexported fields
}

func (GetBucketPolicyStatusInput) GoString Uses

func (s GetBucketPolicyStatusInput) GoString() string

GoString returns the string representation

func (*GetBucketPolicyStatusInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (GetBucketPolicyStatusInput) String Uses

func (s GetBucketPolicyStatusInput) String() string

String returns the string representation

func (*GetBucketPolicyStatusInput) Validate Uses

func (s *GetBucketPolicyStatusInput) Validate() error

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

type GetBucketPolicyStatusOutput Uses

type GetBucketPolicyStatusOutput struct {

    // The policy status for the specified bucket.
    PolicyStatus *PolicyStatus `type:"structure"`
    // contains filtered or unexported fields
}

func (GetBucketPolicyStatusOutput) GoString Uses

func (s GetBucketPolicyStatusOutput) GoString() string

GoString returns the string representation

func (*GetBucketPolicyStatusOutput) SetPolicyStatus Uses

func (s *GetBucketPolicyStatusOutput) SetPolicyStatus(v *PolicyStatus) *GetBucketPolicyStatusOutput

SetPolicyStatus sets the PolicyStatus field's value.

func (GetBucketPolicyStatusOutput) String Uses

func (s GetBucketPolicyStatusOutput) String() string

String returns the string representation

type GetBucketReplicationInput Uses

type GetBucketReplicationInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetBucketReplicationInput) GoString Uses

func (s GetBucketReplicationInput) GoString() string

GoString returns the string representation

func (*GetBucketReplicationInput) SetBucket Uses

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

SetBucket sets the Bucket field's value.

func (GetBucketReplicationInput) String Uses

func (s GetBucketReplicationInput) String() string

String returns the string representation

func (*GetBucketReplicationInput) Validate Uses

func (s *GetBucketReplicationInput) Validate() error

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

type GetBucketReplicationOutput Uses

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 Uses

func (s GetBucketReplicationOutput) GoString() string

GoString returns the string representation

func (*GetBucketReplicationOutput) SetReplicationConfiguration Uses

func (s *GetBucketReplicationOutput) SetReplicationConfiguration(v *ReplicationConfiguration) *GetBucketReplicationOutput

SetReplicationConfiguration sets the ReplicationConfiguration field's value.

func (GetBucketReplicationOutput) String Uses

func (s GetBucketReplicationOutput) String() string

String returns the string representation

type GetBucketRequestPaymentInput Uses

type GetBucketRequestPaymentInput struct {

    // Bucket is a required field
    Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetBucketRequestPaymentInput) GoString Uses

func (s GetBucketRequestPaymentInput) GoString() string

GoString returns the string representation

func (*GetBucketRequestPaymentInput)