Package | Description |
---|---|
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 | Method and Description |
---|---|
AmazonServiceException |
JsonErrorResponseHandler.handle(HttpResponse response) |
AmazonServiceException |
DefaultErrorResponseHandler.handle(HttpResponse errorResponse) |
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 |
---|---|
<T> Response<T> |
AmazonHttpClient.execute(Request<?> request,
HttpResponseHandler<AmazonWebServiceResponse<T>> responseHandler,
HttpResponseHandler<AmazonServiceException> errorResponseHandler,
ExecutionContext executionContext)
Executes the request and returns the result.
|
Constructor and Description |
---|
DefaultErrorResponseHandler(List<com.amazonaws.transform.Unmarshaller<AmazonServiceException,Node>> unmarshallerList)
Constructs a new DefaultErrorResponseHandler that will handle error
responses from Amazon services using the specified list of unmarshallers.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
RetryUtils.isClockSkewError(AmazonServiceException ase)
Returns true if the specified exception is a clock skew error.
|
static boolean |
RetryUtils.isRequestEntityTooLargeException(AmazonServiceException ase)
Returns true if the specified exception is a request entity too large
error.
|
static boolean |
RetryUtils.isThrottlingException(AmazonServiceException ase)
Returns true if the specified exception is a throttling error.
|
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 | Field and Description |
---|---|
protected List<com.amazonaws.transform.Unmarshaller<AmazonServiceException,Node>> |
AWSSecurityTokenServiceClient.exceptionUnmarshallers
List of exception unmarshallers for all AWSSecurityTokenService exceptions.
|
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.
|
GetCallerIdentityResult |
AWSSecurityTokenServiceClient.getCallerIdentity() |
GetCallerIdentityResult |
AWSSecurityTokenService.getCallerIdentity() |
GetCallerIdentityResult |
AWSSecurityTokenService.getCallerIdentity(GetCallerIdentityRequest getCallerIdentityRequest) |
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 |
AWSSecurityTokenServiceClient.getSessionToken()
Returns a set of temporary credentials for an AWS account or IAM
user.
|
GetSessionTokenResult |
AWSSecurityTokenService.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.
|
class |
RegionDisabledException
STS is not activated in the requested region for the account that is
being asked to create temporary credentials.
|
Copyright © 2016. All rights reserved.