Package | Description |
---|---|
com.amazonaws | |
com.amazonaws.auth | |
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 | 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 |
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 | 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 © 2016. All rights reserved.