Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultRetryer ¶
DefaultRetryer implements an AWS `request.Retryer` that has a custom delay for credential errors (403 statuscode). This is needed in order to wait for credentials to be valid for SQS requests due to AWS "eventually consistent" credentials: https://docs.aws.amazon.com/IAM/latest/UserGuide/troubleshoot_general.html
func (DefaultRetryer) RetryRules ¶
func (r DefaultRetryer) RetryRules(req *request.Request) time.Duration
RetryRules returns the delay for the next request to be made
func (DefaultRetryer) ShouldRetry ¶
func (r DefaultRetryer) ShouldRetry(req *request.Request) bool
ShouldRetry determines if the passed request should be retried
Click to show internal directories.
Click to hide internal directories.