public interface CredentialsEndpointRetryPolicy
InstanceProfileCredentialsProvider,
ElasticContainerCredentialsProvider) that retrieve credentials from a local endpoint in EC2 host.
Internal use only.| Modifier and Type | Field | Description |
|---|---|---|
static CredentialsEndpointRetryPolicy |
NO_RETRY |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
shouldRetry(int retriesAttempted,
CredentialsEndpointRetryParameters retryParams) |
Returns whether a failed request should be retried.
|
static final CredentialsEndpointRetryPolicy NO_RETRY
boolean shouldRetry(int retriesAttempted,
CredentialsEndpointRetryParameters retryParams)
retriesAttempted - The number of times the current request has been
attempted.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.