Package | Description |
---|---|
com.amazonaws | |
com.amazonaws.auth | |
com.amazonaws.auth.profile |
AWS configuration profiles allow you to share multiple sets of AWS
security credentials between different tools such as the AWS SDK for Java
and the AWS CLI.
|
com.amazonaws.http.timers.client | |
com.amazonaws.retry |
Modifier and Type | Class and Description |
---|---|
class |
AbortedException
SDK operation aborted exception.
|
class |
AmazonServiceException
Extension of AmazonClientException that represents an error response returned
by an Amazon web service.
|
class |
ResetException
Stream reset failure.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
AbstractAWSSigner.hash(byte[] data)
Hashes the binary data using the SHA-256 algorithm.
|
protected byte[] |
AbstractAWSSigner.hash(InputStream input) |
byte[] |
AbstractAWSSigner.hash(String text)
Hashes the string contents (assumed to be UTF-8) using the SHA-256
algorithm.
|
protected boolean |
AWS3Signer.shouldUseHttpsScheme(SignableRequest<?> request) |
protected byte[] |
AbstractAWSSigner.sign(byte[] data,
byte[] key,
SigningAlgorithm algorithm) |
void |
QueryStringSigner.sign(SignableRequest<?> request,
AWSCredentials credentials)
This signer will add "Signature" parameter to the request.
|
void |
AWS3Signer.sign(SignableRequest<?> request,
AWSCredentials credentials)
Signs the specified request with the AWS3 signing protocol by using the
AWS account credentials specified when this object was constructed and
adding the required AWS3 headers to the request.
|
void |
QueryStringSigner.sign(SignableRequest<?> request,
SignatureVersion version,
SigningAlgorithm algorithm,
AWSCredentials credentials)
This signer will add following authentication parameters to the request:
AWSAccessKeyId SignatureVersion SignatureMethod Timestamp Signature
|
byte[] |
AbstractAWSSigner.sign(String stringData,
byte[] key,
SigningAlgorithm algorithm) |
protected String |
AbstractAWSSigner.signAndBase64Encode(byte[] data,
String key,
SigningAlgorithm algorithm)
Computes an RFC 2104-compliant HMAC signature for an array of bytes and
returns the result as a Base64 encoded string.
|
protected String |
AbstractAWSSigner.signAndBase64Encode(String data,
String key,
SigningAlgorithm algorithm)
Computes an RFC 2104-compliant HMAC signature and returns the result as a
Base64 encoded string.
|
Constructor and Description |
---|
ProfilesConfigFile()
Loads the AWS credential profiles file from the default location
(~/.aws/credentials) or from an alternate location if
AWS_CREDENTIAL_PROFILES_FILE is set. |
ProfilesConfigFile(File file)
Loads the AWS credential profiles from the file.
|
Modifier and Type | Class and Description |
---|---|
class |
ClientExecutionTimeoutException |
Modifier and Type | Method and Description |
---|---|
long |
RetryPolicy.BackoffStrategy.delayBeforeNextRetry(AmazonWebServiceRequest originalRequest,
AmazonClientException exception,
int retriesAttempted)
Returns the delay (in milliseconds) before next retry attempt.
|
boolean |
RetryPolicy.RetryCondition.shouldRetry(AmazonWebServiceRequest originalRequest,
AmazonClientException exception,
int retriesAttempted)
Returns whether a failed request should be retried according to the
given request context.
|
boolean |
PredefinedRetryPolicies.SDKDefaultRetryCondition.shouldRetry(AmazonWebServiceRequest originalRequest,
AmazonClientException exception,
int retriesAttempted) |
Copyright © 2015. All rights reserved.