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 |
---|---|
CreateIdentityPoolResult |
AmazonCognitoIdentityClient.createIdentityPool(CreateIdentityPoolRequest createIdentityPoolRequest)
Creates a new identity pool.
|
CreateIdentityPoolResult |
AmazonCognitoIdentity.createIdentityPool(CreateIdentityPoolRequest createIdentityPoolRequest)
Creates a new identity pool.
|
DeleteIdentitiesResult |
AmazonCognitoIdentityClient.deleteIdentities(DeleteIdentitiesRequest deleteIdentitiesRequest)
Deletes identities from an identity pool.
|
DeleteIdentitiesResult |
AmazonCognitoIdentity.deleteIdentities(DeleteIdentitiesRequest deleteIdentitiesRequest)
Deletes identities from an identity pool.
|
void |
AmazonCognitoIdentityClient.deleteIdentityPool(DeleteIdentityPoolRequest deleteIdentityPoolRequest)
Deletes an identity pool.
|
void |
AmazonCognitoIdentity.deleteIdentityPool(DeleteIdentityPoolRequest deleteIdentityPoolRequest)
Deletes an identity pool.
|
DescribeIdentityResult |
AmazonCognitoIdentityClient.describeIdentity(DescribeIdentityRequest describeIdentityRequest)
Returns metadata related to the given identity, including when the
identity was created and any associated linked logins.
|
DescribeIdentityResult |
AmazonCognitoIdentity.describeIdentity(DescribeIdentityRequest describeIdentityRequest)
Returns metadata related to the given identity, including when the
identity was created and any associated linked logins.
|
DescribeIdentityPoolResult |
AmazonCognitoIdentityClient.describeIdentityPool(DescribeIdentityPoolRequest describeIdentityPoolRequest)
Gets details about a particular identity pool, including the pool name,
ID description, creation date, and current number of users.
|
DescribeIdentityPoolResult |
AmazonCognitoIdentity.describeIdentityPool(DescribeIdentityPoolRequest describeIdentityPoolRequest)
Gets details about a particular identity pool, including the pool name,
ID description, creation date, and current number of users.
|
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.
|
GetIdentityPoolRolesResult |
AmazonCognitoIdentityClient.getIdentityPoolRoles(GetIdentityPoolRolesRequest getIdentityPoolRolesRequest)
Gets the roles for an identity pool.
|
GetIdentityPoolRolesResult |
AmazonCognitoIdentity.getIdentityPoolRoles(GetIdentityPoolRolesRequest getIdentityPoolRolesRequest)
Gets the roles for an identity pool.
|
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.
|
GetOpenIdTokenForDeveloperIdentityResult |
AmazonCognitoIdentityClient.getOpenIdTokenForDeveloperIdentity(GetOpenIdTokenForDeveloperIdentityRequest getOpenIdTokenForDeveloperIdentityRequest)
Registers (or retrieves) a Cognito
IdentityId and an OpenID
Connect token for a user authenticated by your backend authentication
process. |
GetOpenIdTokenForDeveloperIdentityResult |
AmazonCognitoIdentity.getOpenIdTokenForDeveloperIdentity(GetOpenIdTokenForDeveloperIdentityRequest getOpenIdTokenForDeveloperIdentityRequest)
Registers (or retrieves) a Cognito
IdentityId and an OpenID
Connect token for a user authenticated by your backend authentication
process. |
ListIdentitiesResult |
AmazonCognitoIdentityClient.listIdentities(ListIdentitiesRequest listIdentitiesRequest)
Lists the identities in an identity pool.
|
ListIdentitiesResult |
AmazonCognitoIdentity.listIdentities(ListIdentitiesRequest listIdentitiesRequest)
Lists the identities in an identity pool.
|
ListIdentityPoolsResult |
AmazonCognitoIdentityClient.listIdentityPools(ListIdentityPoolsRequest listIdentityPoolsRequest)
Lists all of the Cognito identity pools registered for your account.
|
ListIdentityPoolsResult |
AmazonCognitoIdentity.listIdentityPools(ListIdentityPoolsRequest listIdentityPoolsRequest)
Lists all of the Cognito identity pools registered for your account.
|
ListTagsForResourceResult |
AmazonCognitoIdentityClient.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags that are assigned to an Amazon Cognito identity pool.
|
ListTagsForResourceResult |
AmazonCognitoIdentity.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags that are assigned to an Amazon Cognito identity pool.
|
LookupDeveloperIdentityResult |
AmazonCognitoIdentityClient.lookupDeveloperIdentity(LookupDeveloperIdentityRequest lookupDeveloperIdentityRequest)
Retrieves the
IdentityID associated with a
DeveloperUserIdentifier or the list of
DeveloperUserIdentifier values associated with an
IdentityId for an existing identity. |
LookupDeveloperIdentityResult |
AmazonCognitoIdentity.lookupDeveloperIdentity(LookupDeveloperIdentityRequest lookupDeveloperIdentityRequest)
Retrieves the
IdentityID associated with a
DeveloperUserIdentifier or the list of
DeveloperUserIdentifier values associated with an
IdentityId for an existing identity. |
MergeDeveloperIdentitiesResult |
AmazonCognitoIdentityClient.mergeDeveloperIdentities(MergeDeveloperIdentitiesRequest mergeDeveloperIdentitiesRequest)
Merges two users having different
IdentityId s, existing in
the same identity pool, and identified by the same developer provider. |
MergeDeveloperIdentitiesResult |
AmazonCognitoIdentity.mergeDeveloperIdentities(MergeDeveloperIdentitiesRequest mergeDeveloperIdentitiesRequest)
Merges two users having different
IdentityId s, existing in
the same identity pool, and identified by the same developer provider. |
void |
AmazonCognitoIdentityClient.setIdentityPoolRoles(SetIdentityPoolRolesRequest setIdentityPoolRolesRequest)
Sets the roles for an identity pool.
|
void |
AmazonCognitoIdentity.setIdentityPoolRoles(SetIdentityPoolRolesRequest setIdentityPoolRolesRequest)
Sets the roles for an identity pool.
|
TagResourceResult |
AmazonCognitoIdentityClient.tagResource(TagResourceRequest tagResourceRequest)
Assigns a set of tags to an Amazon Cognito identity pool.
|
TagResourceResult |
AmazonCognitoIdentity.tagResource(TagResourceRequest tagResourceRequest)
Assigns a set of tags to an Amazon Cognito identity pool.
|
void |
AmazonCognitoIdentityClient.unlinkDeveloperIdentity(UnlinkDeveloperIdentityRequest unlinkDeveloperIdentityRequest)
Unlinks a
DeveloperUserIdentifier from an existing identity. |
void |
AmazonCognitoIdentity.unlinkDeveloperIdentity(UnlinkDeveloperIdentityRequest unlinkDeveloperIdentityRequest)
Unlinks a
DeveloperUserIdentifier from an existing identity. |
void |
AmazonCognitoIdentityClient.unlinkIdentity(UnlinkIdentityRequest unlinkIdentityRequest)
Unlinks a federated identity from an existing account.
|
void |
AmazonCognitoIdentity.unlinkIdentity(UnlinkIdentityRequest unlinkIdentityRequest)
Unlinks a federated identity from an existing account.
|
UntagResourceResult |
AmazonCognitoIdentityClient.untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from an Amazon Cognito identity pool.
|
UntagResourceResult |
AmazonCognitoIdentity.untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from an Amazon Cognito identity pool.
|
UpdateIdentityPoolResult |
AmazonCognitoIdentityClient.updateIdentityPool(UpdateIdentityPoolRequest updateIdentityPoolRequest)
Updates an identity pool.
|
UpdateIdentityPoolResult |
AmazonCognitoIdentity.updateIdentityPool(UpdateIdentityPoolRequest updateIdentityPoolRequest)
Updates an identity pool.
|
Modifier and Type | Class and Description |
---|---|
class |
ConcurrentModificationException
Thrown if there are parallel requests to modify a resource.
|
class |
DeveloperUserAlreadyRegisteredException
The provided developer user identifier is already registered with Cognito
under a different identity ID.
|
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 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 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.
|
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.
|
GetAccessKeyInfoResult |
AWSSecurityTokenServiceClient.getAccessKeyInfo(GetAccessKeyInfoRequest getAccessKeyInfoRequest)
Returns the account identifier for the specified access key ID.
|
GetAccessKeyInfoResult |
AWSSecurityTokenService.getAccessKeyInfo(GetAccessKeyInfoRequest getAccessKeyInfoRequest)
Returns the account identifier for the specified access key ID.
|
GetCallerIdentityResult |
AWSSecurityTokenServiceClient.getCallerIdentity()
Returns details about the IAM user or role whose credentials are used to
call the operation.
|
GetCallerIdentityResult |
AWSSecurityTokenService.getCallerIdentity()
Returns details about the IAM user or role whose credentials are used to
call the operation.
|
GetCallerIdentityResult |
AWSSecurityTokenServiceClient.getCallerIdentity(GetCallerIdentityRequest getCallerIdentityRequest)
Returns details about the IAM user or role whose credentials are used to
call the operation.
|
GetCallerIdentityResult |
AWSSecurityTokenService.getCallerIdentity(GetCallerIdentityRequest getCallerIdentityRequest)
Returns details about the IAM user or role whose credentials are used to
call the operation.
|
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 © 2019. All rights reserved.