Package | Description |
---|---|
com.amazonaws.http | |
com.amazonaws.retry | |
com.amazonaws.services.cognitoidentity |
|
com.amazonaws.services.cognitoidentity.model |
Classes modeling the various types represented by AmazonCognitoIdentity
|
com.amazonaws.services.securitytoken |
|
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.
|
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 |
AmazonCognitoIdentityClient.getCredentialsForIdentity(GetCredentialsForIdentityRequest getCredentialsForIdentityRequest)
Returns credentials for the provided identity ID.
|
GetCredentialsForIdentityResult |
AmazonCognitoIdentity.getCredentialsForIdentity(GetCredentialsForIdentityRequest getCredentialsForIdentityRequest)
Returns credentials for the provided identity ID.
|
GetIdResult |
AmazonCognitoIdentityClient.getId(GetIdRequest getIdRequest)
Generates (or retrieves) a Cognito ID.
|
GetIdResult |
AmazonCognitoIdentity.getId(GetIdRequest getIdRequest)
Generates (or retrieves) a Cognito ID.
|
GetOpenIdTokenResult |
AmazonCognitoIdentityClient.getOpenIdToken(GetOpenIdTokenRequest getOpenIdTokenRequest)
Gets an OpenID token, using a known 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 AWS Security Token Service
exceptions.
|
Modifier and Type | Method and Description |
---|---|
AssumeRoleResult |
AWSSecurityTokenServiceClient.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.
|
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 |
AWSSecurityTokenServiceClient.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.
|
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()
Returns details about the IAM identity whose credentials are used to call
the API.
|
GetCallerIdentityResult |
AWSSecurityTokenService.getCallerIdentity()
Returns details about the IAM identity whose credentials are used to call
the API.
|
GetCallerIdentityResult |
AWSSecurityTokenServiceClient.getCallerIdentity(GetCallerIdentityRequest getCallerIdentityRequest)
Returns details about the IAM identity whose credentials are used to call
the API.
|
GetCallerIdentityResult |
AWSSecurityTokenService.getCallerIdentity(GetCallerIdentityRequest getCallerIdentityRequest)
Returns details about the IAM identity whose credentials are used to call
the API.
|
GetFederationTokenResult |
AWSSecurityTokenServiceClient.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.
|
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 |
AWSSecurityTokenServiceClient.getSessionToken(GetSessionTokenRequest getSessionTokenRequest)
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 generate credentials.
|
Copyright © 2018. All rights reserved.