Categorygithub.com/aws/aws-sdk-go-v2/feature/s3/manager
modulepackage
1.17.65
Repository: https://github.com/aws/aws-sdk-go-v2.git
Documentation: pkg.go.dev

# Functions

GetBucketRegion will attempt to get the region for a bucket using the client's configured region to determine which AWS partition to perform the query on.
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 .
NewDownloader 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.
NewWriteAtBuffer creates a WriteAtBuffer with an internal buffer provided by buf.
ReadSeekCloser wraps a io.Reader returning a ReaderSeekerCloser.
WithDownloaderClientOptions appends to the Downloader's API request options.
WithUploaderRequestOptions appends to the Uploader's API client options.

# Constants

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().
DefaultPartBodyMaxRetries is the default number of retries to make when a part fails to 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.
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

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.
The Downloader structure that calls Download().
PooledBufferedReadFromProvider is a WriterReadFromProvider that uses a sync.Pool to manage allocation and reuse of *bufio.Writer structures.
ReaderSeekerCloser represents a reader that can also delegate io.Seeker and io.Closer interfaces to the underlying object if they are available.
The Uploader structure that calls Upload().
UploadOutput represents a response from the Upload() call.
A WriteAtBuffer provides a in memory buffer supporting the io.WriterAt interface Can be used with the manager.Downloader to download content to a buffer in memory.

# Interfaces

BucketNotFound indicates the bucket was not found in the partition when calling GetBucketRegion.
DeleteObjectsAPIClient is an S3 API client that can invoke the DeleteObjects operation.
DownloadAPIClient is an S3 API client that can invoke the GetObject operation.
HeadBucketAPIClient is an S3 API client that can invoke the HeadBucket operation.
ListObjectsV2APIClient is an S3 API client that can invoke the ListObjectV2 operation.
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.
UploadAPIClient is an S3 API client that can invoke PutObject, UploadPart, CreateMultipartUpload, CompleteMultipartUpload, and AbortMultipartUpload operations.
WriterReadFrom defines an interface implementing io.Writer and io.ReaderFrom.
WriterReadFromProvider provides an implementation of io.ReadFrom for the given io.Writer.