Documentation ¶
Overview ¶
Package awss3v1 provides s3iot.Uploader with aws-sdk-go (v1).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultThrottleWait = 5 * time.Second
DefaultThrottleWait is a default wait duration on throttle.
Functions ¶
func NewDownloader ¶
func NewDownloader(c client.ConfigProvider, opts ...s3iot.DownloaderOption) *s3iot.Downloader
NewDownloader creates s3iot.Downloader from aws-sdk-go ConfigProvider (like Session).
func NewUploader ¶
func NewUploader(c client.ConfigProvider, opts ...s3iot.UploaderOption) *s3iot.Uploader
NewUploader creates s3iot.Uploader from aws-sdk-go ConfigProvider (like Session).
Types ¶
type ErrorClassifier ¶
ErrorClassifier classifies aws-sdk-go (v1) errors.
func (ErrorClassifier) IsRetryable ¶
func (ErrorClassifier) IsRetryable(err error) bool
IsRetryable implements ErrorClassifier.
func (ErrorClassifier) IsThrottle ¶
func (c ErrorClassifier) IsThrottle(err error) (time.Duration, bool)
IsThrottle implements ErrorClassifier.
Click to show internal directories.
Click to hide internal directories.