Package | Description |
---|---|
com.amazonaws | |
com.amazonaws.auth | |
com.amazonaws.http | |
com.amazonaws.retry | |
com.amazonaws.services.cognitoidentity |
Synchronous and asynchronous client classes for accessing AmazonCognitoIdentity.
|
com.amazonaws.services.cognitoidentity.model |
Classes modeling the various types represented by AmazonCognitoIdentity.
|
com.amazonaws.services.securitytoken |
Synchronous and asynchronous client classes for accessing AWSSecurityTokenService.
|
com.amazonaws.services.securitytoken.model |
Classes modeling the various types represented by AWSSecurityTokenService.
|
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.
|
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 byte[] |
AbstractAWSSigner.sign(byte[] data,
byte[] key,
SigningAlgorithm algorithm) |
void |
QueryStringSigner.sign(Request<?> request,
AWSCredentials credentials)
This signer will add "Signature" parameter to the request.
|
void |
AWS3Signer.sign(Request<?> 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(Request<?> 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.
|
Modifier and Type | Method and Description |
---|---|
<T> Response<T> |
AmazonHttpClient.execute(Request<?> request,
HttpResponseHandler<AmazonWebServiceResponse<T>> responseHandler,
HttpResponseHandler<AmazonServiceException> errorResponseHandler,
ExecutionContext executionContext)
Executes the request and returns the result.
|
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) |
Modifier and Type | Method and Description |
---|---|
GetCredentialsForIdentityResult |
AmazonCognitoIdentity.getCredentialsForIdentity(GetCredentialsForIdentityRequest getCredentialsForIdentityRequest)
Returns credentials for the provided identity ID.
|
GetIdResult |
AmazonCognitoIdentity.getId(GetIdRequest getIdRequest)
Generates (or retrieves) a Cognito ID.
|
GetOpenIdTokenResult |
AmazonCognitoIdentity.getOpenIdToken(GetOpenIdTokenRequest getOpenIdTokenRequest)
Gets an OpenID token, using a known Cognito ID.
|
Modifier and Type | Class and Description |
---|---|
class |
ExternalServiceException
An exception thrown when a dependent service such as Facebook or
Twitter is not responding
|
class |
InternalErrorException
Thrown when the service encounters an error during processing the
request.
|
class |
InvalidIdentityPoolConfigurationException
Thrown if the identity pool has no role associated for the given auth
type (auth/unauth) or if the AssumeRole fails.
|
class |
InvalidParameterException
Thrown for missing or bad input parameter(s).
|
class |
LimitExceededException
Thrown when the total number of user pools has exceeded a preset
limit.
|
class |
NotAuthorizedException
Thrown when a user is not authorized to access the requested resource.
|
class |
ResourceConflictException
Thrown when a user tries to use a login which is already linked to
another account.
|
class |
ResourceNotFoundException
Thrown when the requested resource (for example, a dataset or record)
does not exist.
|
class |
TooManyRequestsException
Thrown when a request is throttled.
|
Modifier and Type | Method and Description |
---|---|
AssumeRoleResult |
AWSSecurityTokenService.assumeRole(AssumeRoleRequest assumeRoleRequest)
Returns a set of temporary security credentials (consisting of an
access key ID, a secret access key, and a security token) that you can
use to access AWS resources that you might not normally have access
to.
|
AssumeRoleWithWebIdentityResult |
AWSSecurityTokenService.assumeRoleWithWebIdentity(AssumeRoleWithWebIdentityRequest assumeRoleWithWebIdentityRequest)
Returns a set of temporary security credentials for users who have
been authenticated in a mobile or web application with a web identity
provider, such as Amazon Cognito, Login with Amazon, Facebook, Google,
or any OpenID Connect-compatible identity provider.
|
GetFederationTokenResult |
AWSSecurityTokenService.getFederationToken(GetFederationTokenRequest getFederationTokenRequest)
Returns a set of temporary security credentials (consisting of an
access key ID, a secret access key, and a security token) for a
federated user.
|
GetSessionTokenResult |
AWSSecurityTokenService.getSessionToken()
Returns a set of temporary credentials for an AWS account or IAM
user.
|
GetSessionTokenResult |
AWSSecurityTokenServiceClient.getSessionToken()
Returns a set of temporary credentials for an AWS account or IAM
user.
|
GetSessionTokenResult |
AWSSecurityTokenService.getSessionToken(GetSessionTokenRequest getSessionTokenRequest)
Returns a set of temporary credentials for an AWS account or IAM
user.
|
Modifier and Type | Class and Description |
---|---|
class |
ExpiredTokenException
The web identity token that was passed is expired or is not valid.
|
class |
IDPCommunicationErrorException
The request could not be fulfilled because the non-AWS identity
provider (IDP) that was asked to verify the incoming identity token
could not be reached.
|
class |
IDPRejectedClaimException
The identity provider (IdP) reported that authentication failed.
|
class |
InvalidIdentityTokenException
The web identity token that was passed could not be validated by AWS.
|
class |
MalformedPolicyDocumentException
The request was rejected because the policy document was malformed.
|
class |
PackedPolicyTooLargeException
The request was rejected because the policy document was too large.
|
Copyright © 2015. All rights reserved.