s3

package
v0.0.0-...-e6ea019 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2015 License: Apache-2.0 Imports: 12 Imported by: 6

Documentation

Overview

Package s3 provides a client for Amazon Simple Storage Service.

Index

Constants

View Source
const (
	BucketCannedACLAuthenticatedRead = "authenticated-read"
	BucketCannedACLPrivate           = "private"
	BucketCannedACLPublicRead        = "public-read"
	BucketCannedACLPublicReadWrite   = "public-read-write"
)

Possible values for S3.

View Source
const (
	BucketLocationConstraintApNortheast1 = "ap-northeast-1"
	BucketLocationConstraintApSoutheast1 = "ap-southeast-1"
	BucketLocationConstraintApSoutheast2 = "ap-southeast-2"
	BucketLocationConstraintCnNorth1     = "cn-north-1"
	BucketLocationConstraintEu           = "EU"
	BucketLocationConstraintEuCentral1   = "eu-central-1"
	BucketLocationConstraintEuWest1      = "eu-west-1"
	BucketLocationConstraintSaEast1      = "sa-east-1"
	BucketLocationConstraintUsWest1      = "us-west-1"
	BucketLocationConstraintUsWest2      = "us-west-2"
)

Possible values for S3.

View Source
const (
	BucketLogsPermissionFullControl = "FULL_CONTROL"
	BucketLogsPermissionRead        = "READ"
	BucketLogsPermissionWrite       = "WRITE"
)

Possible values for S3.

View Source
const (
	BucketVersioningStatusEnabled   = "Enabled"
	BucketVersioningStatusSuspended = "Suspended"
)

Possible values for S3.

View Source
const (
	EventS3ObjectCreatedCompleteMultipartUpload = "s3:ObjectCreated:CompleteMultipartUpload"
	EventS3ObjectCreatedCopy                    = "s3:ObjectCreated:Copy"
	EventS3ObjectCreatedPost                    = "s3:ObjectCreated:Post"
	EventS3ObjectCreatedPut                     = "s3:ObjectCreated:Put"
	EventS3ReducedRedundancyLostObject          = "s3:ReducedRedundancyLostObject"
)

Possible values for S3.

View Source
const (
	ExpirationStatusDisabled = "Disabled"
	ExpirationStatusEnabled  = "Enabled"
)

Possible values for S3.

View Source
const (
	MFADeleteDisabled = "Disabled"
	MFADeleteEnabled  = "Enabled"
)

Possible values for S3.

View Source
const (
	MFADeleteStatusDisabled = "Disabled"
	MFADeleteStatusEnabled  = "Enabled"
)

Possible values for S3.

View Source
const (
	MetadataDirectiveCopy    = "COPY"
	MetadataDirectiveReplace = "REPLACE"
)

Possible values for S3.

View Source
const (
	ObjectCannedACLAuthenticatedRead      = "authenticated-read"
	ObjectCannedACLBucketOwnerFullControl = "bucket-owner-full-control"
	ObjectCannedACLBucketOwnerRead        = "bucket-owner-read"
	ObjectCannedACLPrivate                = "private"
	ObjectCannedACLPublicRead             = "public-read"
	ObjectCannedACLPublicReadWrite        = "public-read-write"
)

Possible values for S3.

View Source
const (
	ObjectStorageClassGlacier           = "GLACIER"
	ObjectStorageClassReducedRedundancy = "REDUCED_REDUNDANCY"
	ObjectStorageClassStandard          = "STANDARD"
)

Possible values for S3.

View Source
const (
	PayerBucketOwner = "BucketOwner"
	PayerRequester   = "Requester"
)

Possible values for S3.

View Source
const (
	PermissionFullControl = "FULL_CONTROL"
	PermissionRead        = "READ"
	PermissionReadAcp     = "READ_ACP"
	PermissionWrite       = "WRITE"
	PermissionWriteAcp    = "WRITE_ACP"
)

Possible values for S3.

View Source
const (
	ProtocolHTTP  = "http"
	ProtocolHTTPS = "https"
)

Possible values for S3.

View Source
const (
	StorageClassReducedRedundancy = "REDUCED_REDUNDANCY"
	StorageClassStandard          = "STANDARD"
)

Possible values for S3.

View Source
const (
	TypeAmazonCustomerByEmail = "AmazonCustomerByEmail"
	TypeCanonicalUser         = "CanonicalUser"
	TypeGroup                 = "Group"
)

Possible values for S3.

View Source
const (
	EncodingTypeURL = "url"
)

Possible values for S3.

View Source
const (
	ObjectVersionStorageClassStandard = "STANDARD"
)

Possible values for S3.

View Source
const (
	ServerSideEncryptionAES256 = "AES256"
)

Possible values for S3.

View Source
const (
	TransitionStorageClassGlacier = "GLACIER"
)

Possible values for S3.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbortMultipartUploadRequest

type AbortMultipartUploadRequest struct {
	XMLName xml.Name

	Bucket   aws.StringValue `xml:"-"`
	Key      aws.StringValue `xml:"-"`
	UploadID aws.StringValue `xml:"-"`
}

AbortMultipartUploadRequest is undocumented.

func (*AbortMultipartUploadRequest) MarshalXML

func (v *AbortMultipartUploadRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type AccessControlPolicy

type AccessControlPolicy struct {
	XMLName xml.Name

	Grants []Grant `xml:"AccessControlList>Grant,omitempty"`
	Owner  *Owner  `xml:"Owner,omitempty"`
}

AccessControlPolicy is undocumented.

func (*AccessControlPolicy) MarshalXML

func (v *AccessControlPolicy) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Bucket

type Bucket struct {
	XMLName xml.Name

	CreationDate time.Time       `xml:"CreationDate"`
	Name         aws.StringValue `xml:"Name"`
}

Bucket is undocumented.

func (*Bucket) MarshalXML

func (v *Bucket) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type BucketLoggingStatus

type BucketLoggingStatus struct {
	XMLName xml.Name

	LoggingEnabled *LoggingEnabled `xml:"LoggingEnabled,omitempty"`
}

BucketLoggingStatus is undocumented.

func (*BucketLoggingStatus) MarshalXML

func (v *BucketLoggingStatus) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CORSConfiguration

type CORSConfiguration struct {
	XMLName xml.Name

	CORSRules []CORSRule `xml:"CORSRule,omitempty"`
}

CORSConfiguration is undocumented.

func (*CORSConfiguration) MarshalXML

func (v *CORSConfiguration) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CORSRule

type CORSRule struct {
	XMLName xml.Name

	AllowedHeaders []string         `xml:"AllowedHeader,omitempty"`
	AllowedMethods []string         `xml:"AllowedMethod,omitempty"`
	AllowedOrigins []string         `xml:"AllowedOrigin,omitempty"`
	ExposeHeaders  []string         `xml:"ExposeHeader,omitempty"`
	MaxAgeSeconds  aws.IntegerValue `xml:"MaxAgeSeconds"`
}

CORSRule is undocumented.

func (*CORSRule) MarshalXML

func (v *CORSRule) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CloudFunctionConfiguration

type CloudFunctionConfiguration struct {
	XMLName xml.Name

	CloudFunction  aws.StringValue `xml:"CloudFunction"`
	Event          aws.StringValue `xml:"Event"`
	Events         []string        `xml:"Event,omitempty"`
	ID             aws.StringValue `xml:"Id"`
	InvocationRole aws.StringValue `xml:"InvocationRole"`
}

CloudFunctionConfiguration is undocumented.

func (*CloudFunctionConfiguration) MarshalXML

func (v *CloudFunctionConfiguration) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CommonPrefix

type CommonPrefix struct {
	XMLName xml.Name

	Prefix aws.StringValue `xml:"Prefix"`
}

CommonPrefix is undocumented.

func (*CommonPrefix) MarshalXML

func (v *CommonPrefix) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CompleteMultipartUploadOutput

type CompleteMultipartUploadOutput struct {
	XMLName xml.Name

	Bucket               aws.StringValue `xml:"Bucket"`
	ETag                 aws.StringValue `xml:"ETag"`
	Expiration           aws.StringValue `xml:"-"`
	Key                  aws.StringValue `xml:"Key"`
	Location             aws.StringValue `xml:"Location"`
	SSEKMSKeyID          aws.StringValue `xml:"-"`
	ServerSideEncryption aws.StringValue `xml:"-"`
	VersionID            aws.StringValue `xml:"-"`
}

CompleteMultipartUploadOutput is undocumented.

func (*CompleteMultipartUploadOutput) MarshalXML

type CompleteMultipartUploadRequest

type CompleteMultipartUploadRequest struct {
	XMLName xml.Name

	Bucket          aws.StringValue           `xml:"-"`
	Key             aws.StringValue           `xml:"-"`
	MultipartUpload *CompletedMultipartUpload `xml:"CompleteMultipartUpload,omitempty"`
	UploadID        aws.StringValue           `xml:"-"`
}

CompleteMultipartUploadRequest is undocumented.

func (*CompleteMultipartUploadRequest) MarshalXML

type CompletedMultipartUpload

type CompletedMultipartUpload struct {
	XMLName xml.Name

	Parts []CompletedPart `xml:"Part,omitempty"`
}

CompletedMultipartUpload is undocumented.

func (*CompletedMultipartUpload) MarshalXML

func (v *CompletedMultipartUpload) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CompletedPart

type CompletedPart struct {
	XMLName xml.Name

	ETag       aws.StringValue  `xml:"ETag"`
	PartNumber aws.IntegerValue `xml:"PartNumber"`
}

CompletedPart is undocumented.

func (*CompletedPart) MarshalXML

func (v *CompletedPart) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Condition

type Condition struct {
	XMLName xml.Name

	HTTPErrorCodeReturnedEquals aws.StringValue `xml:"HttpErrorCodeReturnedEquals"`
	KeyPrefixEquals             aws.StringValue `xml:"KeyPrefixEquals"`
}

Condition is undocumented.

func (*Condition) MarshalXML

func (v *Condition) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CopyObjectOutput

type CopyObjectOutput struct {
	XMLName xml.Name

	CopyObjectResult     *CopyObjectResult `xml:"CopyObjectResult,omitempty"`
	CopySourceVersionID  aws.StringValue   `xml:"-"`
	Expiration           aws.StringValue   `xml:"-"`
	SSECustomerAlgorithm aws.StringValue   `xml:"-"`
	SSECustomerKeyMD5    aws.StringValue   `xml:"-"`
	SSEKMSKeyID          aws.StringValue   `xml:"-"`
	ServerSideEncryption aws.StringValue   `xml:"-"`
}

CopyObjectOutput is undocumented.

func (*CopyObjectOutput) MarshalXML

func (v *CopyObjectOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CopyObjectRequest

type CopyObjectRequest struct {
	XMLName xml.Name

	ACL                            aws.StringValue   `xml:"-"`
	Bucket                         aws.StringValue   `xml:"-"`
	CacheControl                   aws.StringValue   `xml:"-"`
	ContentDisposition             aws.StringValue   `xml:"-"`
	ContentEncoding                aws.StringValue   `xml:"-"`
	ContentLanguage                aws.StringValue   `xml:"-"`
	ContentType                    aws.StringValue   `xml:"-"`
	CopySource                     aws.StringValue   `xml:"-"`
	CopySourceIfMatch              aws.StringValue   `xml:"-"`
	CopySourceIfModifiedSince      time.Time         `xml:"-"`
	CopySourceIfNoneMatch          aws.StringValue   `xml:"-"`
	CopySourceIfUnmodifiedSince    time.Time         `xml:"-"`
	CopySourceSSECustomerAlgorithm aws.StringValue   `xml:"-"`
	CopySourceSSECustomerKey       aws.StringValue   `xml:"-"`
	CopySourceSSECustomerKeyMD5    aws.StringValue   `xml:"-"`
	Expires                        time.Time         `xml:"-"`
	GrantFullControl               aws.StringValue   `xml:"-"`
	GrantRead                      aws.StringValue   `xml:"-"`
	GrantReadACP                   aws.StringValue   `xml:"-"`
	GrantWriteACP                  aws.StringValue   `xml:"-"`
	Key                            aws.StringValue   `xml:"-"`
	Metadata                       map[string]string `xml:"-"`
	MetadataDirective              aws.StringValue   `xml:"-"`
	SSECustomerAlgorithm           aws.StringValue   `xml:"-"`
	SSECustomerKey                 aws.StringValue   `xml:"-"`
	SSECustomerKeyMD5              aws.StringValue   `xml:"-"`
	SSEKMSKeyID                    aws.StringValue   `xml:"-"`
	ServerSideEncryption           aws.StringValue   `xml:"-"`
	StorageClass                   aws.StringValue   `xml:"-"`
	WebsiteRedirectLocation        aws.StringValue   `xml:"-"`
}

CopyObjectRequest is undocumented.

func (*CopyObjectRequest) MarshalXML

func (v *CopyObjectRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CopyObjectResult

type CopyObjectResult struct {
	XMLName xml.Name

	ETag         aws.StringValue `xml:"ETag"`
	LastModified time.Time       `xml:"LastModified"`
}

CopyObjectResult is undocumented.

func (*CopyObjectResult) MarshalXML

func (v *CopyObjectResult) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CopyPartResult

type CopyPartResult struct {
	XMLName xml.Name

	ETag         aws.StringValue `xml:"ETag"`
	LastModified time.Time       `xml:"LastModified"`
}

CopyPartResult is undocumented.

func (*CopyPartResult) MarshalXML

func (v *CopyPartResult) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CreateBucketConfiguration

type CreateBucketConfiguration struct {
	XMLName xml.Name

	LocationConstraint aws.StringValue `xml:"LocationConstraint"`
}

CreateBucketConfiguration is undocumented.

func (*CreateBucketConfiguration) MarshalXML

func (v *CreateBucketConfiguration) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CreateBucketOutput

type CreateBucketOutput struct {
	XMLName xml.Name

	Location aws.StringValue `xml:"-"`
}

CreateBucketOutput is undocumented.

func (*CreateBucketOutput) MarshalXML

func (v *CreateBucketOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CreateBucketRequest

type CreateBucketRequest struct {
	XMLName xml.Name

	ACL                       aws.StringValue            `xml:"-"`
	Bucket                    aws.StringValue            `xml:"-"`
	CreateBucketConfiguration *CreateBucketConfiguration `xml:"CreateBucketConfiguration,omitempty"`
	GrantFullControl          aws.StringValue            `xml:"-"`
	GrantRead                 aws.StringValue            `xml:"-"`
	GrantReadACP              aws.StringValue            `xml:"-"`
	GrantWrite                aws.StringValue            `xml:"-"`
	GrantWriteACP             aws.StringValue            `xml:"-"`
}

CreateBucketRequest is undocumented.

func (*CreateBucketRequest) MarshalXML

func (v *CreateBucketRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CreateMultipartUploadOutput

type CreateMultipartUploadOutput struct {
	XMLName xml.Name

	Bucket               aws.StringValue `xml:"Bucket"`
	Key                  aws.StringValue `xml:"Key"`
	SSECustomerAlgorithm aws.StringValue `xml:"-"`
	SSECustomerKeyMD5    aws.StringValue `xml:"-"`
	SSEKMSKeyID          aws.StringValue `xml:"-"`
	ServerSideEncryption aws.StringValue `xml:"-"`
	UploadID             aws.StringValue `xml:"UploadId"`
}

CreateMultipartUploadOutput is undocumented.

func (*CreateMultipartUploadOutput) MarshalXML

func (v *CreateMultipartUploadOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CreateMultipartUploadRequest

type CreateMultipartUploadRequest struct {
	XMLName xml.Name

	ACL                     aws.StringValue   `xml:"-"`
	Bucket                  aws.StringValue   `xml:"-"`
	CacheControl            aws.StringValue   `xml:"-"`
	ContentDisposition      aws.StringValue   `xml:"-"`
	ContentEncoding         aws.StringValue   `xml:"-"`
	ContentLanguage         aws.StringValue   `xml:"-"`
	ContentType             aws.StringValue   `xml:"-"`
	Expires                 time.Time         `xml:"-"`
	GrantFullControl        aws.StringValue   `xml:"-"`
	GrantRead               aws.StringValue   `xml:"-"`
	GrantReadACP            aws.StringValue   `xml:"-"`
	GrantWriteACP           aws.StringValue   `xml:"-"`
	Key                     aws.StringValue   `xml:"-"`
	Metadata                map[string]string `xml:"-"`
	SSECustomerAlgorithm    aws.StringValue   `xml:"-"`
	SSECustomerKey          aws.StringValue   `xml:"-"`
	SSECustomerKeyMD5       aws.StringValue   `xml:"-"`
	SSEKMSKeyID             aws.StringValue   `xml:"-"`
	ServerSideEncryption    aws.StringValue   `xml:"-"`
	StorageClass            aws.StringValue   `xml:"-"`
	WebsiteRedirectLocation aws.StringValue   `xml:"-"`
}

CreateMultipartUploadRequest is undocumented.

func (*CreateMultipartUploadRequest) MarshalXML

func (v *CreateMultipartUploadRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Delete

type Delete struct {
	XMLName xml.Name

	Objects []ObjectIdentifier `xml:"Object,omitempty"`
	Quiet   aws.BooleanValue   `xml:"Quiet"`
}

Delete is undocumented.

func (*Delete) MarshalXML

func (v *Delete) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type DeleteBucketCORSRequest

type DeleteBucketCORSRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

DeleteBucketCORSRequest is undocumented.

func (*DeleteBucketCORSRequest) MarshalXML

func (v *DeleteBucketCORSRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type DeleteBucketLifecycleRequest

type DeleteBucketLifecycleRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

DeleteBucketLifecycleRequest is undocumented.

func (*DeleteBucketLifecycleRequest) MarshalXML

func (v *DeleteBucketLifecycleRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type DeleteBucketPolicyRequest

type DeleteBucketPolicyRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

DeleteBucketPolicyRequest is undocumented.

func (*DeleteBucketPolicyRequest) MarshalXML

func (v *DeleteBucketPolicyRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type DeleteBucketRequest

type DeleteBucketRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

DeleteBucketRequest is undocumented.

func (*DeleteBucketRequest) MarshalXML

func (v *DeleteBucketRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type DeleteBucketTaggingRequest

type DeleteBucketTaggingRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

DeleteBucketTaggingRequest is undocumented.

func (*DeleteBucketTaggingRequest) MarshalXML

func (v *DeleteBucketTaggingRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type DeleteBucketWebsiteRequest

type DeleteBucketWebsiteRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

DeleteBucketWebsiteRequest is undocumented.

func (*DeleteBucketWebsiteRequest) MarshalXML

func (v *DeleteBucketWebsiteRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type DeleteMarkerEntry

type DeleteMarkerEntry struct {
	XMLName xml.Name

	IsLatest     aws.BooleanValue `xml:"IsLatest"`
	Key          aws.StringValue  `xml:"Key"`
	LastModified time.Time        `xml:"LastModified"`
	Owner        *Owner           `xml:"Owner,omitempty"`
	VersionID    aws.StringValue  `xml:"VersionId"`
}

DeleteMarkerEntry is undocumented.

func (*DeleteMarkerEntry) MarshalXML

func (v *DeleteMarkerEntry) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type DeleteObjectOutput

type DeleteObjectOutput struct {
	XMLName xml.Name

	DeleteMarker aws.BooleanValue `xml:"-"`
	VersionID    aws.StringValue  `xml:"-"`
}

DeleteObjectOutput is undocumented.

func (*DeleteObjectOutput) MarshalXML

func (v *DeleteObjectOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type DeleteObjectRequest

type DeleteObjectRequest struct {
	XMLName xml.Name

	Bucket    aws.StringValue `xml:"-"`
	Key       aws.StringValue `xml:"-"`
	MFA       aws.StringValue `xml:"-"`
	VersionID aws.StringValue `xml:"-"`
}

DeleteObjectRequest is undocumented.

func (*DeleteObjectRequest) MarshalXML

func (v *DeleteObjectRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type DeleteObjectsOutput

type DeleteObjectsOutput struct {
	XMLName xml.Name

	Deleted []DeletedObject `xml:"Deleted,omitempty"`
	Errors  []Error         `xml:"Error,omitempty"`
}

DeleteObjectsOutput is undocumented.

func (*DeleteObjectsOutput) MarshalXML

func (v *DeleteObjectsOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type DeleteObjectsRequest

type DeleteObjectsRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
	Delete *Delete         `xml:"Delete,omitempty"`
	MFA    aws.StringValue `xml:"-"`
}

DeleteObjectsRequest is undocumented.

func (*DeleteObjectsRequest) MarshalXML

func (v *DeleteObjectsRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type DeletedObject

type DeletedObject struct {
	XMLName xml.Name

	DeleteMarker          aws.BooleanValue `xml:"DeleteMarker"`
	DeleteMarkerVersionID aws.StringValue  `xml:"DeleteMarkerVersionId"`
	Key                   aws.StringValue  `xml:"Key"`
	VersionID             aws.StringValue  `xml:"VersionId"`
}

DeletedObject is undocumented.

func (*DeletedObject) MarshalXML

func (v *DeletedObject) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Error

type Error struct {
	XMLName xml.Name

	Code      aws.StringValue `xml:"Code"`
	Key       aws.StringValue `xml:"Key"`
	Message   aws.StringValue `xml:"Message"`
	VersionID aws.StringValue `xml:"VersionId"`
}

Error is undocumented.

func (*Error) MarshalXML

func (v *Error) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ErrorDocument

type ErrorDocument struct {
	XMLName xml.Name

	Key aws.StringValue `xml:"Key"`
}

ErrorDocument is undocumented.

func (*ErrorDocument) MarshalXML

func (v *ErrorDocument) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketACLOutput

type GetBucketACLOutput struct {
	XMLName xml.Name

	Grants []Grant `xml:"AccessControlList>Grant,omitempty"`
	Owner  *Owner  `xml:"Owner,omitempty"`
}

GetBucketACLOutput is undocumented.

func (*GetBucketACLOutput) MarshalXML

func (v *GetBucketACLOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketACLRequest

type GetBucketACLRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

GetBucketACLRequest is undocumented.

func (*GetBucketACLRequest) MarshalXML

func (v *GetBucketACLRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketCORSOutput

type GetBucketCORSOutput struct {
	XMLName xml.Name

	CORSRules []CORSRule `xml:"CORSRule,omitempty"`
}

GetBucketCORSOutput is undocumented.

func (*GetBucketCORSOutput) MarshalXML

func (v *GetBucketCORSOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketCORSRequest

type GetBucketCORSRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

GetBucketCORSRequest is undocumented.

func (*GetBucketCORSRequest) MarshalXML

func (v *GetBucketCORSRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketLifecycleOutput

type GetBucketLifecycleOutput struct {
	XMLName xml.Name

	Rules []Rule `xml:"Rule,omitempty"`
}

GetBucketLifecycleOutput is undocumented.

func (*GetBucketLifecycleOutput) MarshalXML

func (v *GetBucketLifecycleOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketLifecycleRequest

type GetBucketLifecycleRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

GetBucketLifecycleRequest is undocumented.

func (*GetBucketLifecycleRequest) MarshalXML

func (v *GetBucketLifecycleRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketLocationOutput

type GetBucketLocationOutput struct {
	XMLName xml.Name

	LocationConstraint aws.StringValue `xml:"LocationConstraint"`
}

GetBucketLocationOutput is undocumented.

func (*GetBucketLocationOutput) MarshalXML

func (v *GetBucketLocationOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketLocationRequest

type GetBucketLocationRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

GetBucketLocationRequest is undocumented.

func (*GetBucketLocationRequest) MarshalXML

func (v *GetBucketLocationRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketLoggingOutput

type GetBucketLoggingOutput struct {
	XMLName xml.Name

	LoggingEnabled *LoggingEnabled `xml:"LoggingEnabled,omitempty"`
}

GetBucketLoggingOutput is undocumented.

func (*GetBucketLoggingOutput) MarshalXML

func (v *GetBucketLoggingOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketLoggingRequest

type GetBucketLoggingRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

GetBucketLoggingRequest is undocumented.

func (*GetBucketLoggingRequest) MarshalXML

func (v *GetBucketLoggingRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketNotificationOutput

type GetBucketNotificationOutput struct {
	XMLName xml.Name

	CloudFunctionConfiguration *CloudFunctionConfiguration `xml:"CloudFunctionConfiguration,omitempty"`
	QueueConfiguration         *QueueConfiguration         `xml:"QueueConfiguration,omitempty"`
	TopicConfiguration         *TopicConfiguration         `xml:"TopicConfiguration,omitempty"`
}

GetBucketNotificationOutput is undocumented.

func (*GetBucketNotificationOutput) MarshalXML

func (v *GetBucketNotificationOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketNotificationRequest

type GetBucketNotificationRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

GetBucketNotificationRequest is undocumented.

func (*GetBucketNotificationRequest) MarshalXML

func (v *GetBucketNotificationRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketPolicyOutput

type GetBucketPolicyOutput struct {
	XMLName xml.Name

	Policy aws.StringValue `xml:"Policy"`
}

GetBucketPolicyOutput is undocumented.

func (*GetBucketPolicyOutput) MarshalXML

func (v *GetBucketPolicyOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketPolicyRequest

type GetBucketPolicyRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

GetBucketPolicyRequest is undocumented.

func (*GetBucketPolicyRequest) MarshalXML

func (v *GetBucketPolicyRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketRequestPaymentOutput

type GetBucketRequestPaymentOutput struct {
	XMLName xml.Name

	Payer aws.StringValue `xml:"Payer"`
}

GetBucketRequestPaymentOutput is undocumented.

func (*GetBucketRequestPaymentOutput) MarshalXML

type GetBucketRequestPaymentRequest

type GetBucketRequestPaymentRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

GetBucketRequestPaymentRequest is undocumented.

func (*GetBucketRequestPaymentRequest) MarshalXML

type GetBucketTaggingOutput

type GetBucketTaggingOutput struct {
	XMLName xml.Name

	TagSet []Tag `xml:"TagSet>Tag,omitempty"`
}

GetBucketTaggingOutput is undocumented.

func (*GetBucketTaggingOutput) MarshalXML

func (v *GetBucketTaggingOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketTaggingRequest

type GetBucketTaggingRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

GetBucketTaggingRequest is undocumented.

func (*GetBucketTaggingRequest) MarshalXML

func (v *GetBucketTaggingRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketVersioningOutput

type GetBucketVersioningOutput struct {
	XMLName xml.Name

	MFADelete aws.StringValue `xml:"MfaDelete"`
	Status    aws.StringValue `xml:"Status"`
}

GetBucketVersioningOutput is undocumented.

func (*GetBucketVersioningOutput) MarshalXML

func (v *GetBucketVersioningOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketVersioningRequest

type GetBucketVersioningRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

GetBucketVersioningRequest is undocumented.

func (*GetBucketVersioningRequest) MarshalXML

func (v *GetBucketVersioningRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketWebsiteOutput

type GetBucketWebsiteOutput struct {
	XMLName xml.Name

	ErrorDocument         *ErrorDocument         `xml:"ErrorDocument,omitempty"`
	IndexDocument         *IndexDocument         `xml:"IndexDocument,omitempty"`
	RedirectAllRequestsTo *RedirectAllRequestsTo `xml:"RedirectAllRequestsTo,omitempty"`
	RoutingRules          []RoutingRule          `xml:"RoutingRules>RoutingRule,omitempty"`
}

GetBucketWebsiteOutput is undocumented.

func (*GetBucketWebsiteOutput) MarshalXML

func (v *GetBucketWebsiteOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetBucketWebsiteRequest

type GetBucketWebsiteRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

GetBucketWebsiteRequest is undocumented.

func (*GetBucketWebsiteRequest) MarshalXML

func (v *GetBucketWebsiteRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetObjectACLOutput

type GetObjectACLOutput struct {
	XMLName xml.Name

	Grants []Grant `xml:"AccessControlList>Grant,omitempty"`
	Owner  *Owner  `xml:"Owner,omitempty"`
}

GetObjectACLOutput is undocumented.

func (*GetObjectACLOutput) MarshalXML

func (v *GetObjectACLOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetObjectACLRequest

type GetObjectACLRequest struct {
	XMLName xml.Name

	Bucket    aws.StringValue `xml:"-"`
	Key       aws.StringValue `xml:"-"`
	VersionID aws.StringValue `xml:"-"`
}

GetObjectACLRequest is undocumented.

func (*GetObjectACLRequest) MarshalXML

func (v *GetObjectACLRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetObjectOutput

type GetObjectOutput struct {
	XMLName xml.Name

	AcceptRanges            aws.StringValue   `xml:"-"`
	Body                    io.ReadCloser     `xml:"-"`
	CacheControl            aws.StringValue   `xml:"-"`
	ContentDisposition      aws.StringValue   `xml:"-"`
	ContentEncoding         aws.StringValue   `xml:"-"`
	ContentLanguage         aws.StringValue   `xml:"-"`
	ContentLength           aws.LongValue     `xml:"-"`
	ContentType             aws.StringValue   `xml:"-"`
	DeleteMarker            aws.BooleanValue  `xml:"-"`
	ETag                    aws.StringValue   `xml:"-"`
	Expiration              aws.StringValue   `xml:"-"`
	Expires                 time.Time         `xml:"-"`
	LastModified            time.Time         `xml:"-"`
	Metadata                map[string]string `xml:"-"`
	MissingMeta             aws.IntegerValue  `xml:"-"`
	Restore                 aws.StringValue   `xml:"-"`
	SSECustomerAlgorithm    aws.StringValue   `xml:"-"`
	SSECustomerKeyMD5       aws.StringValue   `xml:"-"`
	SSEKMSKeyID             aws.StringValue   `xml:"-"`
	ServerSideEncryption    aws.StringValue   `xml:"-"`
	VersionID               aws.StringValue   `xml:"-"`
	WebsiteRedirectLocation aws.StringValue   `xml:"-"`
}

GetObjectOutput is undocumented.

func (*GetObjectOutput) MarshalXML

func (v *GetObjectOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetObjectRequest

type GetObjectRequest struct {
	XMLName xml.Name

	Bucket                     aws.StringValue `xml:"-"`
	IfMatch                    aws.StringValue `xml:"-"`
	IfModifiedSince            time.Time       `xml:"-"`
	IfNoneMatch                aws.StringValue `xml:"-"`
	IfUnmodifiedSince          time.Time       `xml:"-"`
	Key                        aws.StringValue `xml:"-"`
	Range                      aws.StringValue `xml:"-"`
	ResponseCacheControl       aws.StringValue `xml:"-"`
	ResponseContentDisposition aws.StringValue `xml:"-"`
	ResponseContentEncoding    aws.StringValue `xml:"-"`
	ResponseContentLanguage    aws.StringValue `xml:"-"`
	ResponseContentType        aws.StringValue `xml:"-"`
	ResponseExpires            time.Time       `xml:"-"`
	SSECustomerAlgorithm       aws.StringValue `xml:"-"`
	SSECustomerKey             aws.StringValue `xml:"-"`
	SSECustomerKeyMD5          aws.StringValue `xml:"-"`
	VersionID                  aws.StringValue `xml:"-"`
}

GetObjectRequest is undocumented.

func (*GetObjectRequest) MarshalXML

func (v *GetObjectRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetObjectTorrentOutput

type GetObjectTorrentOutput struct {
	XMLName xml.Name

	Body io.ReadCloser `xml:"-"`
}

GetObjectTorrentOutput is undocumented.

func (*GetObjectTorrentOutput) MarshalXML

func (v *GetObjectTorrentOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetObjectTorrentRequest

type GetObjectTorrentRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
	Key    aws.StringValue `xml:"-"`
}

GetObjectTorrentRequest is undocumented.

func (*GetObjectTorrentRequest) MarshalXML

func (v *GetObjectTorrentRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Grant

type Grant struct {
	XMLName xml.Name

	Grantee    *Grantee        `xml:"Grantee,omitempty"`
	Permission aws.StringValue `xml:"Permission"`
}

Grant is undocumented.

func (*Grant) MarshalXML

func (v *Grant) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Grantee

type Grantee struct {
	XMLName xml.Name

	DisplayName  aws.StringValue `xml:"DisplayName"`
	EmailAddress aws.StringValue `xml:"EmailAddress"`
	ID           aws.StringValue `xml:"ID"`
	Type         aws.StringValue `xml:"Type"`
	URI          aws.StringValue `xml:"URI"`
}

Grantee is undocumented.

func (*Grantee) MarshalXML

func (v *Grantee) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type HeadBucketRequest

type HeadBucketRequest struct {
	XMLName xml.Name

	Bucket aws.StringValue `xml:"-"`
}

HeadBucketRequest is undocumented.

func (*HeadBucketRequest) MarshalXML

func (v *HeadBucketRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type HeadObjectOutput

type HeadObjectOutput struct {
	XMLName xml.Name

	AcceptRanges            aws.StringValue   `xml:"-"`
	CacheControl            aws.StringValue   `xml:"-"`
	ContentDisposition      aws.StringValue   `xml:"-"`
	ContentEncoding         aws.StringValue   `xml:"-"`
	ContentLanguage         aws.StringValue   `xml:"-"`
	ContentLength           aws.LongValue     `xml:"-"`
	ContentType             aws.StringValue   `xml:"-"`
	DeleteMarker            aws.BooleanValue  `xml:"-"`
	ETag                    aws.StringValue   `xml:"-"`
	Expiration              aws.StringValue   `xml:"-"`
	Expires                 time.Time         `xml:"-"`
	LastModified            time.Time         `xml:"-"`
	Metadata                map[string]string `xml:"-"`
	MissingMeta             aws.IntegerValue  `xml:"-"`
	Restore                 aws.StringValue   `xml:"-"`
	SSECustomerAlgorithm    aws.StringValue   `xml:"-"`
	SSECustomerKeyMD5       aws.StringValue   `xml:"-"`
	SSEKMSKeyID             aws.StringValue   `xml:"-"`
	ServerSideEncryption    aws.StringValue   `xml:"-"`
	VersionID               aws.StringValue   `xml:"-"`
	WebsiteRedirectLocation aws.StringValue   `xml:"-"`
}

HeadObjectOutput is undocumented.

func (*HeadObjectOutput) MarshalXML

func (v *HeadObjectOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type HeadObjectRequest

type HeadObjectRequest struct {
	XMLName xml.Name

	Bucket               aws.StringValue `xml:"-"`
	IfMatch              aws.StringValue `xml:"-"`
	IfModifiedSince      time.Time       `xml:"-"`
	IfNoneMatch          aws.StringValue `xml:"-"`
	IfUnmodifiedSince    time.Time       `xml:"-"`
	Key                  aws.StringValue `xml:"-"`
	Range                aws.StringValue `xml:"-"`
	SSECustomerAlgorithm aws.StringValue `xml:"-"`
	SSECustomerKey       aws.StringValue `xml:"-"`
	SSECustomerKeyMD5    aws.StringValue `xml:"-"`
	VersionID            aws.StringValue `xml:"-"`
}

HeadObjectRequest is undocumented.

func (*HeadObjectRequest) MarshalXML

func (v *HeadObjectRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type IndexDocument

type IndexDocument struct {
	XMLName xml.Name

	Suffix aws.StringValue `xml:"Suffix"`
}

IndexDocument is undocumented.

func (*IndexDocument) MarshalXML

func (v *IndexDocument) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Initiator

type Initiator struct {
	XMLName xml.Name

	DisplayName aws.StringValue `xml:"DisplayName"`
	ID          aws.StringValue `xml:"ID"`
}

Initiator is undocumented.

func (*Initiator) MarshalXML

func (v *Initiator) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type LifecycleConfiguration

type LifecycleConfiguration struct {
	XMLName xml.Name

	Rules []Rule `xml:"Rule,omitempty"`
}

LifecycleConfiguration is undocumented.

func (*LifecycleConfiguration) MarshalXML

func (v *LifecycleConfiguration) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type LifecycleExpiration

type LifecycleExpiration struct {
	XMLName xml.Name

	Date time.Time        `xml:"Date"`
	Days aws.IntegerValue `xml:"Days"`
}

LifecycleExpiration is undocumented.

func (*LifecycleExpiration) MarshalXML

func (v *LifecycleExpiration) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListBucketsOutput

type ListBucketsOutput struct {
	XMLName xml.Name

	Buckets []Bucket `xml:"Buckets>Bucket,omitempty"`
	Owner   *Owner   `xml:"Owner,omitempty"`
}

ListBucketsOutput is undocumented.

func (*ListBucketsOutput) MarshalXML

func (v *ListBucketsOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListMultipartUploadsOutput

type ListMultipartUploadsOutput struct {
	XMLName xml.Name

	Bucket             aws.StringValue   `xml:"Bucket"`
	CommonPrefixes     []CommonPrefix    `xml:"CommonPrefixes,omitempty"`
	Delimiter          aws.StringValue   `xml:"Delimiter"`
	EncodingType       aws.StringValue   `xml:"EncodingType"`
	IsTruncated        aws.BooleanValue  `xml:"IsTruncated"`
	KeyMarker          aws.StringValue   `xml:"KeyMarker"`
	MaxUploads         aws.IntegerValue  `xml:"MaxUploads"`
	NextKeyMarker      aws.StringValue   `xml:"NextKeyMarker"`
	NextUploadIDMarker aws.StringValue   `xml:"NextUploadIdMarker"`
	Prefix             aws.StringValue   `xml:"Prefix"`
	UploadIDMarker     aws.StringValue   `xml:"UploadIdMarker"`
	Uploads            []MultipartUpload `xml:"Upload,omitempty"`
}

ListMultipartUploadsOutput is undocumented.

func (*ListMultipartUploadsOutput) MarshalXML

func (v *ListMultipartUploadsOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListMultipartUploadsRequest

type ListMultipartUploadsRequest struct {
	XMLName xml.Name

	Bucket         aws.StringValue  `xml:"-"`
	Delimiter      aws.StringValue  `xml:"-"`
	EncodingType   aws.StringValue  `xml:"-"`
	KeyMarker      aws.StringValue  `xml:"-"`
	MaxUploads     aws.IntegerValue `xml:"-"`
	Prefix         aws.StringValue  `xml:"-"`
	UploadIDMarker aws.StringValue  `xml:"-"`
}

ListMultipartUploadsRequest is undocumented.

func (*ListMultipartUploadsRequest) MarshalXML

func (v *ListMultipartUploadsRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListObjectVersionsOutput

type ListObjectVersionsOutput struct {
	XMLName xml.Name

	CommonPrefixes      []CommonPrefix      `xml:"CommonPrefixes,omitempty"`
	DeleteMarkers       []DeleteMarkerEntry `xml:"DeleteMarker,omitempty"`
	Delimiter           aws.StringValue     `xml:"Delimiter"`
	EncodingType        aws.StringValue     `xml:"EncodingType"`
	IsTruncated         aws.BooleanValue    `xml:"IsTruncated"`
	KeyMarker           aws.StringValue     `xml:"KeyMarker"`
	MaxKeys             aws.IntegerValue    `xml:"MaxKeys"`
	Name                aws.StringValue     `xml:"Name"`
	NextKeyMarker       aws.StringValue     `xml:"NextKeyMarker"`
	NextVersionIDMarker aws.StringValue     `xml:"NextVersionIdMarker"`
	Prefix              aws.StringValue     `xml:"Prefix"`
	VersionIDMarker     aws.StringValue     `xml:"VersionIdMarker"`
	Versions            []ObjectVersion     `xml:"Version,omitempty"`
}

ListObjectVersionsOutput is undocumented.

func (*ListObjectVersionsOutput) MarshalXML

func (v *ListObjectVersionsOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListObjectVersionsRequest

type ListObjectVersionsRequest struct {
	XMLName xml.Name

	Bucket          aws.StringValue  `xml:"-"`
	Delimiter       aws.StringValue  `xml:"-"`
	EncodingType    aws.StringValue  `xml:"-"`
	KeyMarker       aws.StringValue  `xml:"-"`
	MaxKeys         aws.IntegerValue `xml:"-"`
	Prefix          aws.StringValue  `xml:"-"`
	VersionIDMarker aws.StringValue  `xml:"-"`
}

ListObjectVersionsRequest is undocumented.

func (*ListObjectVersionsRequest) MarshalXML

func (v *ListObjectVersionsRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListObjectsOutput

type ListObjectsOutput struct {
	XMLName xml.Name

	CommonPrefixes []CommonPrefix   `xml:"CommonPrefixes,omitempty"`
	Contents       []Object         `xml:"Contents,omitempty"`
	Delimiter      aws.StringValue  `xml:"Delimiter"`
	EncodingType   aws.StringValue  `xml:"EncodingType"`
	IsTruncated    aws.BooleanValue `xml:"IsTruncated"`
	Marker         aws.StringValue  `xml:"Marker"`
	MaxKeys        aws.IntegerValue `xml:"MaxKeys"`
	Name           aws.StringValue  `xml:"Name"`
	NextMarker     aws.StringValue  `xml:"NextMarker"`
	Prefix         aws.StringValue  `xml:"Prefix"`
}

ListObjectsOutput is undocumented.

func (*ListObjectsOutput) MarshalXML

func (v *ListObjectsOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListObjectsRequest

type ListObjectsRequest struct {
	XMLName xml.Name

	Bucket       aws.StringValue  `xml:"-"`
	Delimiter    aws.StringValue  `xml:"-"`
	EncodingType aws.StringValue  `xml:"-"`
	Marker       aws.StringValue  `xml:"-"`
	MaxKeys      aws.IntegerValue `xml:"-"`
	Prefix       aws.StringValue  `xml:"-"`
}

ListObjectsRequest is undocumented.

func (*ListObjectsRequest) MarshalXML

func (v *ListObjectsRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListPartsOutput

type ListPartsOutput struct {
	XMLName xml.Name

	Bucket               aws.StringValue  `xml:"Bucket"`
	Initiator            *Initiator       `xml:"Initiator,omitempty"`
	IsTruncated          aws.BooleanValue `xml:"IsTruncated"`
	Key                  aws.StringValue  `xml:"Key"`
	MaxParts             aws.IntegerValue `xml:"MaxParts"`
	NextPartNumberMarker aws.IntegerValue `xml:"NextPartNumberMarker"`
	Owner                *Owner           `xml:"Owner,omitempty"`
	PartNumberMarker     aws.IntegerValue `xml:"PartNumberMarker"`
	Parts                []Part           `xml:"Part,omitempty"`
	StorageClass         aws.StringValue  `xml:"StorageClass"`
	UploadID             aws.StringValue  `xml:"UploadId"`
}

ListPartsOutput is undocumented.

func (*ListPartsOutput) MarshalXML

func (v *ListPartsOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListPartsRequest

type ListPartsRequest struct {
	XMLName xml.Name

	Bucket           aws.StringValue  `xml:"-"`
	Key              aws.StringValue  `xml:"-"`
	MaxParts         aws.IntegerValue `xml:"-"`
	PartNumberMarker aws.IntegerValue `xml:"-"`
	UploadID         aws.StringValue  `xml:"-"`
}

ListPartsRequest is undocumented.

func (*ListPartsRequest) MarshalXML

func (v *ListPartsRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type LoggingEnabled

type LoggingEnabled struct {
	XMLName xml.Name

	TargetBucket aws.StringValue `xml:"TargetBucket"`
	TargetGrants []TargetGrant   `xml:"TargetGrants>Grant,omitempty"`
	TargetPrefix aws.StringValue `xml:"TargetPrefix"`
}

LoggingEnabled is undocumented.

func (*LoggingEnabled) MarshalXML

func (v *LoggingEnabled) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type MultipartUpload

type MultipartUpload struct {
	XMLName xml.Name

	Initiated    time.Time       `xml:"Initiated"`
	Initiator    *Initiator      `xml:"Initiator,omitempty"`
	Key          aws.StringValue `xml:"Key"`
	Owner        *Owner          `xml:"Owner,omitempty"`
	StorageClass aws.StringValue `xml:"StorageClass"`
	UploadID     aws.StringValue `xml:"UploadId"`
}

MultipartUpload is undocumented.

func (*MultipartUpload) MarshalXML

func (v *MultipartUpload) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type NoncurrentVersionExpiration

type NoncurrentVersionExpiration struct {
	XMLName xml.Name

	NoncurrentDays aws.IntegerValue `xml:"NoncurrentDays"`
}

NoncurrentVersionExpiration is undocumented.

func (*NoncurrentVersionExpiration) MarshalXML

func (v *NoncurrentVersionExpiration) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type NoncurrentVersionTransition

type NoncurrentVersionTransition struct {
	XMLName xml.Name

	NoncurrentDays aws.IntegerValue `xml:"NoncurrentDays"`
	StorageClass   aws.StringValue  `xml:"StorageClass"`
}

NoncurrentVersionTransition is undocumented.

func (*NoncurrentVersionTransition) MarshalXML

func (v *NoncurrentVersionTransition) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type NotificationConfiguration

type NotificationConfiguration struct {
	XMLName xml.Name

	CloudFunctionConfiguration *CloudFunctionConfiguration `xml:"CloudFunctionConfiguration,omitempty"`
	QueueConfiguration         *QueueConfiguration         `xml:"QueueConfiguration,omitempty"`
	TopicConfiguration         *TopicConfiguration         `xml:"TopicConfiguration,omitempty"`
}

NotificationConfiguration is undocumented.

func (*NotificationConfiguration) MarshalXML

func (v *NotificationConfiguration) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Object

type Object struct {
	XMLName xml.Name

	ETag         aws.StringValue `xml:"ETag"`
	Key          aws.StringValue `xml:"Key"`
	LastModified time.Time       `xml:"LastModified"`
	Owner        *Owner          `xml:"Owner,omitempty"`
	Size         aws.LongValue   `xml:"Size"`
	StorageClass aws.StringValue `xml:"StorageClass"`
}

Object is undocumented.

func (*Object) MarshalXML

func (v *Object) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ObjectIdentifier

type ObjectIdentifier struct {
	XMLName xml.Name

	Key       aws.StringValue `xml:"Key"`
	VersionID aws.StringValue `xml:"VersionId"`
}

ObjectIdentifier is undocumented.

func (*ObjectIdentifier) MarshalXML

func (v *ObjectIdentifier) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ObjectVersion

type ObjectVersion struct {
	XMLName xml.Name

	ETag         aws.StringValue  `xml:"ETag"`
	IsLatest     aws.BooleanValue `xml:"IsLatest"`
	Key          aws.StringValue  `xml:"Key"`
	LastModified time.Time        `xml:"LastModified"`
	Owner        *Owner           `xml:"Owner,omitempty"`
	Size         aws.LongValue    `xml:"Size"`
	StorageClass aws.StringValue  `xml:"StorageClass"`
	VersionID    aws.StringValue  `xml:"VersionId"`
}

ObjectVersion is undocumented.

func (*ObjectVersion) MarshalXML

func (v *ObjectVersion) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Owner

type Owner struct {
	XMLName xml.Name

	DisplayName aws.StringValue `xml:"DisplayName"`
	ID          aws.StringValue `xml:"ID"`
}

Owner is undocumented.

func (*Owner) MarshalXML

func (v *Owner) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Part

type Part struct {
	XMLName xml.Name

	ETag         aws.StringValue  `xml:"ETag"`
	LastModified time.Time        `xml:"LastModified"`
	PartNumber   aws.IntegerValue `xml:"PartNumber"`
	Size         aws.LongValue    `xml:"Size"`
}

Part is undocumented.

func (*Part) MarshalXML

func (v *Part) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type PutBucketACLRequest

type PutBucketACLRequest struct {
	XMLName xml.Name

	ACL                 aws.StringValue      `xml:"-"`
	AccessControlPolicy *AccessControlPolicy `xml:"AccessControlPolicy,omitempty"`
	Bucket              aws.StringValue      `xml:"-"`
	ContentMD5          aws.StringValue      `xml:"-"`
	GrantFullControl    aws.StringValue      `xml:"-"`
	GrantRead           aws.StringValue      `xml:"-"`
	GrantReadACP        aws.StringValue      `xml:"-"`
	GrantWrite          aws.StringValue      `xml:"-"`
	GrantWriteACP       aws.StringValue      `xml:"-"`
}

PutBucketACLRequest is undocumented.

func (*PutBucketACLRequest) MarshalXML

func (v *PutBucketACLRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type PutBucketCORSRequest

type PutBucketCORSRequest struct {
	XMLName xml.Name

	Bucket            aws.StringValue    `xml:"-"`
	CORSConfiguration *CORSConfiguration `xml:"CORSConfiguration,omitempty"`
	ContentMD5        aws.StringValue    `xml:"-"`
}

PutBucketCORSRequest is undocumented.

func (*PutBucketCORSRequest) MarshalXML

func (v *PutBucketCORSRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type PutBucketLifecycleRequest

type PutBucketLifecycleRequest struct {
	XMLName xml.Name

	Bucket                 aws.StringValue         `xml:"-"`
	ContentMD5             aws.StringValue         `xml:"-"`
	LifecycleConfiguration *LifecycleConfiguration `xml:"LifecycleConfiguration,omitempty"`
}

PutBucketLifecycleRequest is undocumented.

func (*PutBucketLifecycleRequest) MarshalXML

func (v *PutBucketLifecycleRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type PutBucketLoggingRequest

type PutBucketLoggingRequest struct {
	XMLName xml.Name

	Bucket              aws.StringValue      `xml:"-"`
	BucketLoggingStatus *BucketLoggingStatus `xml:"BucketLoggingStatus,omitempty"`
	ContentMD5          aws.StringValue      `xml:"-"`
}

PutBucketLoggingRequest is undocumented.

func (*PutBucketLoggingRequest) MarshalXML

func (v *PutBucketLoggingRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type PutBucketNotificationRequest

type PutBucketNotificationRequest struct {
	XMLName xml.Name

	Bucket                    aws.StringValue            `xml:"-"`
	ContentMD5                aws.StringValue            `xml:"-"`
	NotificationConfiguration *NotificationConfiguration `xml:"NotificationConfiguration,omitempty"`
}

PutBucketNotificationRequest is undocumented.

func (*PutBucketNotificationRequest) MarshalXML

func (v *PutBucketNotificationRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type PutBucketPolicyRequest

type PutBucketPolicyRequest struct {
	XMLName xml.Name

	Bucket     aws.StringValue `xml:"-"`
	ContentMD5 aws.StringValue `xml:"-"`
	Policy     aws.StringValue `xml:"Policy"`
}

PutBucketPolicyRequest is undocumented.

func (*PutBucketPolicyRequest) MarshalXML

func (v *PutBucketPolicyRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type PutBucketRequestPaymentRequest

type PutBucketRequestPaymentRequest struct {
	XMLName xml.Name

	Bucket                      aws.StringValue              `xml:"-"`
	ContentMD5                  aws.StringValue              `xml:"-"`
	RequestPaymentConfiguration *RequestPaymentConfiguration `xml:"RequestPaymentConfiguration,omitempty"`
}

PutBucketRequestPaymentRequest is undocumented.

func (*PutBucketRequestPaymentRequest) MarshalXML

type PutBucketTaggingRequest

type PutBucketTaggingRequest struct {
	XMLName xml.Name

	Bucket     aws.StringValue `xml:"-"`
	ContentMD5 aws.StringValue `xml:"-"`
	Tagging    *Tagging        `xml:"Tagging,omitempty"`
}

PutBucketTaggingRequest is undocumented.

func (*PutBucketTaggingRequest) MarshalXML

func (v *PutBucketTaggingRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type PutBucketVersioningRequest

type PutBucketVersioningRequest struct {
	XMLName xml.Name

	Bucket                  aws.StringValue          `xml:"-"`
	ContentMD5              aws.StringValue          `xml:"-"`
	MFA                     aws.StringValue          `xml:"-"`
	VersioningConfiguration *VersioningConfiguration `xml:"VersioningConfiguration,omitempty"`
}

PutBucketVersioningRequest is undocumented.

func (*PutBucketVersioningRequest) MarshalXML

func (v *PutBucketVersioningRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type PutBucketWebsiteRequest

type PutBucketWebsiteRequest struct {
	XMLName xml.Name

	Bucket               aws.StringValue       `xml:"-"`
	ContentMD5           aws.StringValue       `xml:"-"`
	WebsiteConfiguration *WebsiteConfiguration `xml:"WebsiteConfiguration,omitempty"`
}

PutBucketWebsiteRequest is undocumented.

func (*PutBucketWebsiteRequest) MarshalXML

func (v *PutBucketWebsiteRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type PutObjectACLRequest

type PutObjectACLRequest struct {
	XMLName xml.Name

	ACL                 aws.StringValue      `xml:"-"`
	AccessControlPolicy *AccessControlPolicy `xml:"AccessControlPolicy,omitempty"`
	Bucket              aws.StringValue      `xml:"-"`
	ContentMD5          aws.StringValue      `xml:"-"`
	GrantFullControl    aws.StringValue      `xml:"-"`
	GrantRead           aws.StringValue      `xml:"-"`
	GrantReadACP        aws.StringValue      `xml:"-"`
	GrantWrite          aws.StringValue      `xml:"-"`
	GrantWriteACP       aws.StringValue      `xml:"-"`
	Key                 aws.StringValue      `xml:"-"`
}

PutObjectACLRequest is undocumented.

func (*PutObjectACLRequest) MarshalXML

func (v *PutObjectACLRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type PutObjectOutput

type PutObjectOutput struct {
	XMLName xml.Name

	ETag                 aws.StringValue `xml:"-"`
	Expiration           aws.StringValue `xml:"-"`
	SSECustomerAlgorithm aws.StringValue `xml:"-"`
	SSECustomerKeyMD5    aws.StringValue `xml:"-"`
	SSEKMSKeyID          aws.StringValue `xml:"-"`
	ServerSideEncryption aws.StringValue `xml:"-"`
	VersionID            aws.StringValue `xml:"-"`
}

PutObjectOutput is undocumented.

func (*PutObjectOutput) MarshalXML

func (v *PutObjectOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type PutObjectRequest

type PutObjectRequest struct {
	XMLName xml.Name

	ACL                     aws.StringValue   `xml:"-"`
	Body                    io.ReadCloser     `xml:"-"`
	Bucket                  aws.StringValue   `xml:"-"`
	CacheControl            aws.StringValue   `xml:"-"`
	ContentDisposition      aws.StringValue   `xml:"-"`
	ContentEncoding         aws.StringValue   `xml:"-"`
	ContentLanguage         aws.StringValue   `xml:"-"`
	ContentLength           aws.LongValue     `xml:"-"`
	ContentMD5              aws.StringValue   `xml:"-"`
	ContentType             aws.StringValue   `xml:"-"`
	Expires                 time.Time         `xml:"-"`
	GrantFullControl        aws.StringValue   `xml:"-"`
	GrantRead               aws.StringValue   `xml:"-"`
	GrantReadACP            aws.StringValue   `xml:"-"`
	GrantWriteACP           aws.StringValue   `xml:"-"`
	Key                     aws.StringValue   `xml:"-"`
	Metadata                map[string]string `xml:"-"`
	SSECustomerAlgorithm    aws.StringValue   `xml:"-"`
	SSECustomerKey          aws.StringValue   `xml:"-"`
	SSECustomerKeyMD5       aws.StringValue   `xml:"-"`
	SSEKMSKeyID             aws.StringValue   `xml:"-"`
	ServerSideEncryption    aws.StringValue   `xml:"-"`
	StorageClass            aws.StringValue   `xml:"-"`
	WebsiteRedirectLocation aws.StringValue   `xml:"-"`
}

PutObjectRequest is undocumented.

func (*PutObjectRequest) MarshalXML

func (v *PutObjectRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type QueueConfiguration

type QueueConfiguration struct {
	XMLName xml.Name

	Event  aws.StringValue `xml:"Event"`
	Events []string        `xml:"Event,omitempty"`
	ID     aws.StringValue `xml:"Id"`
	Queue  aws.StringValue `xml:"Queue"`
}

QueueConfiguration is undocumented.

func (*QueueConfiguration) MarshalXML

func (v *QueueConfiguration) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Redirect

type Redirect struct {
	XMLName xml.Name

	HostName             aws.StringValue `xml:"HostName"`
	HTTPRedirectCode     aws.StringValue `xml:"HttpRedirectCode"`
	Protocol             aws.StringValue `xml:"Protocol"`
	ReplaceKeyPrefixWith aws.StringValue `xml:"ReplaceKeyPrefixWith"`
	ReplaceKeyWith       aws.StringValue `xml:"ReplaceKeyWith"`
}

Redirect is undocumented.

func (*Redirect) MarshalXML

func (v *Redirect) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type RedirectAllRequestsTo

type RedirectAllRequestsTo struct {
	XMLName xml.Name

	HostName aws.StringValue `xml:"HostName"`
	Protocol aws.StringValue `xml:"Protocol"`
}

RedirectAllRequestsTo is undocumented.

func (*RedirectAllRequestsTo) MarshalXML

func (v *RedirectAllRequestsTo) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type RequestPaymentConfiguration

type RequestPaymentConfiguration struct {
	XMLName xml.Name

	Payer aws.StringValue `xml:"Payer"`
}

RequestPaymentConfiguration is undocumented.

func (*RequestPaymentConfiguration) MarshalXML

func (v *RequestPaymentConfiguration) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type RestoreObjectRequest

type RestoreObjectRequest struct {
	XMLName xml.Name

	Bucket         aws.StringValue `xml:"-"`
	Key            aws.StringValue `xml:"-"`
	RestoreRequest *RestoreRequest `xml:"RestoreRequest,omitempty"`
	VersionID      aws.StringValue `xml:"-"`
}

RestoreObjectRequest is undocumented.

func (*RestoreObjectRequest) MarshalXML

func (v *RestoreObjectRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type RestoreRequest

type RestoreRequest struct {
	XMLName xml.Name

	Days aws.IntegerValue `xml:"Days"`
}

RestoreRequest is undocumented.

func (*RestoreRequest) MarshalXML

func (v *RestoreRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type RoutingRule

type RoutingRule struct {
	XMLName xml.Name

	Condition *Condition `xml:"Condition,omitempty"`
	Redirect  *Redirect  `xml:"Redirect,omitempty"`
}

RoutingRule is undocumented.

func (*RoutingRule) MarshalXML

func (v *RoutingRule) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Rule

type Rule struct {
	XMLName xml.Name

	Expiration                  *LifecycleExpiration         `xml:"Expiration,omitempty"`
	ID                          aws.StringValue              `xml:"ID"`
	NoncurrentVersionExpiration *NoncurrentVersionExpiration `xml:"NoncurrentVersionExpiration,omitempty"`
	NoncurrentVersionTransition *NoncurrentVersionTransition `xml:"NoncurrentVersionTransition,omitempty"`
	Prefix                      aws.StringValue              `xml:"Prefix"`
	Status                      aws.StringValue              `xml:"Status"`
	Transition                  *Transition                  `xml:"Transition,omitempty"`
}

Rule is undocumented.

func (*Rule) MarshalXML

func (v *Rule) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type S3

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

S3 is a client for Amazon Simple Storage Service.

func New

func New(creds aws.CredentialsProvider, region string, client *http.Client) *S3

New returns a new S3 client.

func (*S3) AbortMultipartUpload

func (c *S3) AbortMultipartUpload(req *AbortMultipartUploadRequest) (err error)

AbortMultipartUpload aborts a multipart upload. To verify that all parts have been removed, so you don't get charged for the part storage, you should call the List Parts operation and ensure the parts list is empty.

func (*S3) CompleteMultipartUpload

func (c *S3) CompleteMultipartUpload(req *CompleteMultipartUploadRequest) (resp *CompleteMultipartUploadOutput, err error)

CompleteMultipartUpload completes a multipart upload by assembling previously uploaded parts.

func (*S3) CopyObject

func (c *S3) CopyObject(req *CopyObjectRequest) (resp *CopyObjectOutput, err error)

CopyObject creates a copy of an object that is already stored in Amazon S3.

func (*S3) CreateBucket

func (c *S3) CreateBucket(req *CreateBucketRequest) (resp *CreateBucketOutput, err error)

CreateBucket is undocumented.

func (*S3) CreateMultipartUpload

func (c *S3) CreateMultipartUpload(req *CreateMultipartUploadRequest) (resp *CreateMultipartUploadOutput, err error)

CreateMultipartUpload initiates a multipart upload and returns an upload Note: After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage.

func (*S3) DeleteBucket

func (c *S3) DeleteBucket(req *DeleteBucketRequest) (err error)

DeleteBucket deletes the bucket. All objects (including all object versions and Delete Markers) in the bucket must be deleted before the bucket itself can be deleted.

func (*S3) DeleteBucketCORS

func (c *S3) DeleteBucketCORS(req *DeleteBucketCORSRequest) (err error)

DeleteBucketCORS deletes the cors configuration information set for the bucket.

func (*S3) DeleteBucketLifecycle

func (c *S3) DeleteBucketLifecycle(req *DeleteBucketLifecycleRequest) (err error)

DeleteBucketLifecycle deletes the lifecycle configuration from the bucket.

func (*S3) DeleteBucketPolicy

func (c *S3) DeleteBucketPolicy(req *DeleteBucketPolicyRequest) (err error)

DeleteBucketPolicy is undocumented.

func (*S3) DeleteBucketTagging

func (c *S3) DeleteBucketTagging(req *DeleteBucketTaggingRequest) (err error)

DeleteBucketTagging is undocumented.

func (*S3) DeleteBucketWebsite

func (c *S3) DeleteBucketWebsite(req *DeleteBucketWebsiteRequest) (err error)

DeleteBucketWebsite this operation removes the website configuration from the bucket.

func (*S3) DeleteObject

func (c *S3) DeleteObject(req *DeleteObjectRequest) (resp *DeleteObjectOutput, err error)

DeleteObject removes the null version (if there is one) of an object and inserts a delete marker, which becomes the latest version of the object. If there isn't a null version, Amazon S3 does not remove any objects.

func (*S3) DeleteObjects

func (c *S3) DeleteObjects(req *DeleteObjectsRequest) (resp *DeleteObjectsOutput, err error)

DeleteObjects this operation enables you to delete multiple objects from a bucket using a single request. You may specify up to 1000 keys.

func (*S3) GetBucketACL

func (c *S3) GetBucketACL(req *GetBucketACLRequest) (resp *GetBucketACLOutput, err error)

GetBucketACL is undocumented.

func (*S3) GetBucketCORS

func (c *S3) GetBucketCORS(req *GetBucketCORSRequest) (resp *GetBucketCORSOutput, err error)

GetBucketCORS is undocumented.

func (*S3) GetBucketLifecycle

func (c *S3) GetBucketLifecycle(req *GetBucketLifecycleRequest) (resp *GetBucketLifecycleOutput, err error)

GetBucketLifecycle returns the lifecycle configuration information set on the bucket.

func (*S3) GetBucketLocation

func (c *S3) GetBucketLocation(req *GetBucketLocationRequest) (resp *GetBucketLocationOutput, err error)

GetBucketLocation is undocumented.

func (*S3) GetBucketLogging

func (c *S3) GetBucketLogging(req *GetBucketLoggingRequest) (resp *GetBucketLoggingOutput, err error)

GetBucketLogging returns the logging status of a bucket and the permissions users have to view and modify that status. To use you must be the bucket owner.

func (*S3) GetBucketNotification

func (c *S3) GetBucketNotification(req *GetBucketNotificationRequest) (resp *GetBucketNotificationOutput, err error)

GetBucketNotification is undocumented.

func (*S3) GetBucketPolicy

func (c *S3) GetBucketPolicy(req *GetBucketPolicyRequest) (resp *GetBucketPolicyOutput, err error)

GetBucketPolicy is undocumented.

func (*S3) GetBucketRequestPayment

func (c *S3) GetBucketRequestPayment(req *GetBucketRequestPaymentRequest) (resp *GetBucketRequestPaymentOutput, err error)

GetBucketRequestPayment returns the request payment configuration of a bucket.

func (*S3) GetBucketTagging

func (c *S3) GetBucketTagging(req *GetBucketTaggingRequest) (resp *GetBucketTaggingOutput, err error)

GetBucketTagging is undocumented.

func (*S3) GetBucketVersioning

func (c *S3) GetBucketVersioning(req *GetBucketVersioningRequest) (resp *GetBucketVersioningOutput, err error)

GetBucketVersioning is undocumented.

func (*S3) GetBucketWebsite

func (c *S3) GetBucketWebsite(req *GetBucketWebsiteRequest) (resp *GetBucketWebsiteOutput, err error)

GetBucketWebsite is undocumented.

func (*S3) GetObject

func (c *S3) GetObject(req *GetObjectRequest) (resp *GetObjectOutput, err error)

GetObject is undocumented.

func (*S3) GetObjectACL

func (c *S3) GetObjectACL(req *GetObjectACLRequest) (resp *GetObjectACLOutput, err error)

GetObjectACL is undocumented.

func (*S3) GetObjectTorrent

func (c *S3) GetObjectTorrent(req *GetObjectTorrentRequest) (resp *GetObjectTorrentOutput, err error)

GetObjectTorrent is undocumented.

func (*S3) HeadBucket

func (c *S3) HeadBucket(req *HeadBucketRequest) (err error)

HeadBucket this operation is useful to determine if a bucket exists and you have permission to access it.

func (*S3) HeadObject

func (c *S3) HeadObject(req *HeadObjectRequest) (resp *HeadObjectOutput, err error)

HeadObject the operation retrieves metadata from an object without returning the object itself. This operation is useful if you're only interested in an object's metadata. To use you must have access to the object.

func (*S3) ListBuckets

func (c *S3) ListBuckets() (resp *ListBucketsOutput, err error)

ListBuckets returns a list of all buckets owned by the authenticated sender of the request.

func (*S3) ListMultipartUploads

func (c *S3) ListMultipartUploads(req *ListMultipartUploadsRequest) (resp *ListMultipartUploadsOutput, err error)

ListMultipartUploads this operation lists in-progress multipart uploads.

func (*S3) ListObjectVersions

func (c *S3) ListObjectVersions(req *ListObjectVersionsRequest) (resp *ListObjectVersionsOutput, err error)

ListObjectVersions returns metadata about all of the versions of objects in a bucket.

func (*S3) ListObjects

func (c *S3) ListObjects(req *ListObjectsRequest) (resp *ListObjectsOutput, err error)

ListObjects returns some or all (up to 1000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket.

func (*S3) ListParts

func (c *S3) ListParts(req *ListPartsRequest) (resp *ListPartsOutput, err error)

ListParts lists the parts that have been uploaded for a specific multipart upload.

func (*S3) PutBucketACL

func (c *S3) PutBucketACL(req *PutBucketACLRequest) (err error)

PutBucketACL sets the permissions on a bucket using access control lists

func (*S3) PutBucketCORS

func (c *S3) PutBucketCORS(req *PutBucketCORSRequest) (err error)

PutBucketCORS is undocumented.

func (*S3) PutBucketLifecycle

func (c *S3) PutBucketLifecycle(req *PutBucketLifecycleRequest) (err error)

PutBucketLifecycle sets lifecycle configuration for your bucket. If a lifecycle configuration exists, it replaces it.

func (*S3) PutBucketLogging

func (c *S3) PutBucketLogging(req *PutBucketLoggingRequest) (err error)

PutBucketLogging set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters. To set the logging status of a bucket, you must be the bucket owner.

func (*S3) PutBucketNotification

func (c *S3) PutBucketNotification(req *PutBucketNotificationRequest) (err error)

PutBucketNotification enables notifications of specified events for a bucket.

func (*S3) PutBucketPolicy

func (c *S3) PutBucketPolicy(req *PutBucketPolicyRequest) (err error)

PutBucketPolicy replaces a policy on a bucket. If the bucket already has a policy, the one in this request completely replaces it.

func (*S3) PutBucketRequestPayment

func (c *S3) PutBucketRequestPayment(req *PutBucketRequestPaymentRequest) (err error)

PutBucketRequestPayment sets the request payment configuration for a bucket. By default, the bucket owner pays for downloads from the bucket. This configuration parameter enables the bucket owner (only) to specify that the person requesting the download will be charged for the download.

func (*S3) PutBucketTagging

func (c *S3) PutBucketTagging(req *PutBucketTaggingRequest) (err error)

PutBucketTagging is undocumented.

func (*S3) PutBucketVersioning

func (c *S3) PutBucketVersioning(req *PutBucketVersioningRequest) (err error)

PutBucketVersioning sets the versioning state of an existing bucket. To set the versioning state, you must be the bucket owner.

func (*S3) PutBucketWebsite

func (c *S3) PutBucketWebsite(req *PutBucketWebsiteRequest) (err error)

PutBucketWebsite is undocumented.

func (*S3) PutObject

func (c *S3) PutObject(req *PutObjectRequest) (resp *PutObjectOutput, err error)

PutObject is undocumented.

func (*S3) PutObjectACL

func (c *S3) PutObjectACL(req *PutObjectACLRequest) (err error)

PutObjectACL uses the acl subresource to set the access control list permissions for an object that already exists in a bucket

func (*S3) RestoreObject

func (c *S3) RestoreObject(req *RestoreObjectRequest) (err error)

RestoreObject restores an archived copy of an object back into Amazon S3

func (*S3) UploadPart

func (c *S3) UploadPart(req *UploadPartRequest) (resp *UploadPartOutput, err error)

UploadPart uploads a part in a multipart upload. Note: After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage.

func (*S3) UploadPartCopy

func (c *S3) UploadPartCopy(req *UploadPartCopyRequest) (resp *UploadPartCopyOutput, err error)

UploadPartCopy uploads a part by copying data from an existing object as data source.

type Tag

type Tag struct {
	XMLName xml.Name

	Key   aws.StringValue `xml:"Key"`
	Value aws.StringValue `xml:"Value"`
}

Tag is undocumented.

func (*Tag) MarshalXML

func (v *Tag) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Tagging

type Tagging struct {
	XMLName xml.Name

	TagSet []Tag `xml:"TagSet>Tag,omitempty"`
}

Tagging is undocumented.

func (*Tagging) MarshalXML

func (v *Tagging) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type TargetGrant

type TargetGrant struct {
	XMLName xml.Name

	Grantee    *Grantee        `xml:"Grantee,omitempty"`
	Permission aws.StringValue `xml:"Permission"`
}

TargetGrant is undocumented.

func (*TargetGrant) MarshalXML

func (v *TargetGrant) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type TopicConfiguration

type TopicConfiguration struct {
	XMLName xml.Name

	Event  aws.StringValue `xml:"Event"`
	Events []string        `xml:"Event,omitempty"`
	ID     aws.StringValue `xml:"Id"`
	Topic  aws.StringValue `xml:"Topic"`
}

TopicConfiguration is undocumented.

func (*TopicConfiguration) MarshalXML

func (v *TopicConfiguration) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Transition

type Transition struct {
	XMLName xml.Name

	Date         time.Time        `xml:"Date"`
	Days         aws.IntegerValue `xml:"Days"`
	StorageClass aws.StringValue  `xml:"StorageClass"`
}

Transition is undocumented.

func (*Transition) MarshalXML

func (v *Transition) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type UploadPartCopyOutput

type UploadPartCopyOutput struct {
	XMLName xml.Name

	CopyPartResult       *CopyPartResult `xml:"CopyPartResult,omitempty"`
	CopySourceVersionID  aws.StringValue `xml:"-"`
	SSECustomerAlgorithm aws.StringValue `xml:"-"`
	SSECustomerKeyMD5    aws.StringValue `xml:"-"`
	SSEKMSKeyID          aws.StringValue `xml:"-"`
	ServerSideEncryption aws.StringValue `xml:"-"`
}

UploadPartCopyOutput is undocumented.

func (*UploadPartCopyOutput) MarshalXML

func (v *UploadPartCopyOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type UploadPartCopyRequest

type UploadPartCopyRequest struct {
	XMLName xml.Name

	Bucket                         aws.StringValue  `xml:"-"`
	CopySource                     aws.StringValue  `xml:"-"`
	CopySourceIfMatch              aws.StringValue  `xml:"-"`
	CopySourceIfModifiedSince      time.Time        `xml:"-"`
	CopySourceIfNoneMatch          aws.StringValue  `xml:"-"`
	CopySourceIfUnmodifiedSince    time.Time        `xml:"-"`
	CopySourceRange                aws.StringValue  `xml:"-"`
	CopySourceSSECustomerAlgorithm aws.StringValue  `xml:"-"`
	CopySourceSSECustomerKey       aws.StringValue  `xml:"-"`
	CopySourceSSECustomerKeyMD5    aws.StringValue  `xml:"-"`
	Key                            aws.StringValue  `xml:"-"`
	PartNumber                     aws.IntegerValue `xml:"-"`
	SSECustomerAlgorithm           aws.StringValue  `xml:"-"`
	SSECustomerKey                 aws.StringValue  `xml:"-"`
	SSECustomerKeyMD5              aws.StringValue  `xml:"-"`
	UploadID                       aws.StringValue  `xml:"-"`
}

UploadPartCopyRequest is undocumented.

func (*UploadPartCopyRequest) MarshalXML

func (v *UploadPartCopyRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type UploadPartOutput

type UploadPartOutput struct {
	XMLName xml.Name

	ETag                 aws.StringValue `xml:"-"`
	SSECustomerAlgorithm aws.StringValue `xml:"-"`
	SSECustomerKeyMD5    aws.StringValue `xml:"-"`
	SSEKMSKeyID          aws.StringValue `xml:"-"`
	ServerSideEncryption aws.StringValue `xml:"-"`
}

UploadPartOutput is undocumented.

func (*UploadPartOutput) MarshalXML

func (v *UploadPartOutput) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type UploadPartRequest

type UploadPartRequest struct {
	XMLName xml.Name

	Body                 io.ReadCloser    `xml:"-"`
	Bucket               aws.StringValue  `xml:"-"`
	ContentLength        aws.LongValue    `xml:"-"`
	ContentMD5           aws.StringValue  `xml:"-"`
	Key                  aws.StringValue  `xml:"-"`
	PartNumber           aws.IntegerValue `xml:"-"`
	SSECustomerAlgorithm aws.StringValue  `xml:"-"`
	SSECustomerKey       aws.StringValue  `xml:"-"`
	SSECustomerKeyMD5    aws.StringValue  `xml:"-"`
	UploadID             aws.StringValue  `xml:"-"`
}

UploadPartRequest is undocumented.

func (*UploadPartRequest) MarshalXML

func (v *UploadPartRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type VersioningConfiguration

type VersioningConfiguration struct {
	XMLName xml.Name

	MFADelete aws.StringValue `xml:"MfaDelete"`
	Status    aws.StringValue `xml:"Status"`
}

VersioningConfiguration is undocumented.

func (*VersioningConfiguration) MarshalXML

func (v *VersioningConfiguration) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type WebsiteConfiguration

type WebsiteConfiguration struct {
	XMLName xml.Name

	ErrorDocument         *ErrorDocument         `xml:"ErrorDocument,omitempty"`
	IndexDocument         *IndexDocument         `xml:"IndexDocument,omitempty"`
	RedirectAllRequestsTo *RedirectAllRequestsTo `xml:"RedirectAllRequestsTo,omitempty"`
	RoutingRules          []RoutingRule          `xml:"RoutingRules>RoutingRule,omitempty"`
}

WebsiteConfiguration is undocumented.

func (*WebsiteConfiguration) MarshalXML

func (v *WebsiteConfiguration) MarshalXML(e *xml.Encoder, start xml.StartElement) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL