package
1.55.6
Repository: https://github.com/aws/aws-sdk-go.git
Documentation: pkg.go.dev

# Packages

Package s3manageriface provides an interface for the s3manager package.

# Functions

GetBucketRegion will attempt to get the region for a bucket using the regionHint to determine which AWS partition to perform the query on.
GetBucketRegionWithClient is the same as GetBucketRegion with the exception that it takes a S3 service client instead of a Session.
NewBatchDelete will return a new delete client that can delete a batched amount of objects.
NewBatchDeleteWithClient will return a new delete client that can delete a batched amount of objects.
NewBatchError will return a BatchError that satisfies the awserr.Error interface.
NewBufferedReadSeeker returns a new BufferedReadSeeker if len(b) == 0 then the buffer will be initialized to 64 KiB.
NewBufferedReadSeekerWriteToPool will return a new BufferedReadSeekerWriteToPool that will create a pool of reusable buffers .
NewDeleteListIterator will return a new DeleteListIterator.
NewDownloader creates a new Downloader instance to downloads objects from S3 in concurrent chunks.
NewDownloaderWithClient creates a new Downloader instance to downloads objects from S3 in concurrent chunks.
NewPooledBufferedWriterReadFromProvider returns a new PooledBufferedReadFromProvider Size is used to control the size of the underlying *bufio.Writer created for calls to GetReadFrom.
NewUploader creates a new Uploader instance to upload objects to S3.
NewUploaderWithClient creates a new Uploader instance to upload objects to S3.
WithDownloaderRequestOptions appends to the Downloader's API request options.
WithUploaderRequestOptions appends to the Uploader's API request options.

# Constants

DefaultBatchSize is the batch size we initialize when constructing a batch delete client.
DefaultDownloadConcurrency is the default number of goroutines to spin up when using Download().
DefaultDownloadPartSize is the default range of bytes to get at a time when using Download().
DefaultUploadConcurrency is the default number of goroutines to spin up when using Upload().
DefaultUploadPartSize is the default part size to buffer chunks of a payload into.
ErrDeleteBatchFailCode represents an error code which will be returned only when DeleteObjects.Errors has an error that does not contain a code.
MaxUploadParts is the maximum allowed number of parts in a multi-part upload on Amazon S3.
MinUploadPartSize is the minimum allowed part size when uploading a part to Amazon S3.

# Structs

BatchDelete will use the s3 package's service client to perform a batch delete.
BatchDeleteObject is a wrapper object for calling the batch delete operation.
BatchDownloadObject contains all necessary information to run a batch operation once.
BatchError will contain the key and bucket of the object that failed to either upload or download.
BatchUploadObject contains all necessary information to run a batch operation once.
BufferedReadSeeker is buffered io.ReadSeeker.
BufferedReadSeekerWriteTo wraps a BufferedReadSeeker with an io.WriteAt implementation.
BufferedReadSeekerWriteToPool uses a sync.Pool to create and reuse []byte slices for buffering parts in memory.
DeleteListIterator is an alternative iterator for the BatchDelete client.
DeleteObjectsIterator is an interface that uses the scanner pattern to iterate through a series of objects to be deleted.
The Downloader structure that calls Download().
DownloadObjectsIterator implements the BatchDownloadIterator interface and allows for batched download of objects.
Error will contain the original error, bucket, and key of the operation that failed during batch operations.
PooledBufferedReadFromProvider is a WriterReadFromProvider that uses a sync.Pool to manage allocation and reuse of *bufio.Writer structures.
The Uploader structure that calls Upload().
UploadInput provides the input parameters for uploading a stream or buffer to an object in an Amazon S3 bucket.
UploadObjectsIterator implements the BatchUploadIterator interface and allows for batched upload of objects.
UploadOutput represents a response from the Upload() call.

# Interfaces

BatchDeleteIterator is an interface that uses the scanner pattern to iterate through what needs to be deleted.
BatchDownloadIterator is an interface that uses the scanner pattern to iterate through a series of objects to be downloaded.
BatchUploadIterator is an interface that uses the scanner pattern to iterate through what needs to be uploaded.
A MultiUploadFailure wraps a failed S3 multipart upload.
ReadSeekerWriteTo defines an interface implementing io.WriteTo and io.ReadSeeker.
ReadSeekerWriteToProvider provides an implementation of io.WriteTo for an io.ReadSeeker.
WriterReadFrom defines an interface implementing io.Writer and io.ReaderFrom.
WriterReadFromProvider provides an implementation of io.ReadFrom for the given io.Writer.

# Type aliases

Errors is a typed alias for a slice of errors to satisfy the error interface.