Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Breaking Change
aws/retry
package allow wrapping aRetrier
with custom behavior, overriding the baseRetrier
, (e.g.AddWithErrorCodes
, andAddWithMaxAttempts
)errors.As
,Is
, andUnwrap
. The SDK's errors were updated to satisfy theUnwrap
interface, returning the underlying error.Timeout
,Temporary
, and other states added to the SDK such asCanceledError
.errors
package.Services
SDK Features
aws
: Add Support for additional credential providers and credential configuration chaining (#488)aws/processcreds
: Adds Support for the Process Credential Provideraws/stscreds
: Adds Support for the Web Identity Credential Providercredential_source
aws/awserr
: Adds support for Go 1.13'serrors.Unwrap
(#487)aws
: Updates SDK retry behavior (#487)aws/retry
: New package defining logic to determine if a request should be retried, and backoff.aws/ratelimit
: New package defining rate limit logic such as token bucket used by theretry.Standard
retrier.SDK Enhancements
aws
: Add grouping of concurrent refresh of credentials (#503)Retrieve
are now grouped in order to prevent numerous synchronous calls to refresh the credentials. Replacing the mutex with a singleflight reduces the overall amount of time request signatures need to wait while retrieving credentials. This is improvement becomes pronounced when many requests are made concurrently.service/s3/s3manager
: Improve memory allocation behavior by replacing sync.Pool with custom pool implementationio.Reader
to upload does not satisfy both theio.ReaderAt
andio.ReadSeeker
interfaces.SDK Bugs
service/s3/s3manager
: Fix resource leaks when the following occurred: