Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * 
   * Licensed under the Apache License, Version 2.0 (the "License").
   * You may not use this file except in compliance with the License.
   * A copy of the License is located at
   * 
   *  http://aws.amazon.com/apache2.0
   * 
  * or in the "license" file accompanying this file. This file is distributed
  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  * express or implied. See the License for the specific language governing
  * permissions and limitations under the License.
  */
 package com.amazonaws.services.cognitoidentity;
 
 
Interface for accessing AmazonCognitoIdentity asynchronously. Each asynchronous method will return a Java Future object, and users are also allowed to provide a callback handler.
 
 public interface AmazonCognitoIdentityAsync extends AmazonCognitoIdentity {
    

Parameters:
unlinkDeveloperIdentityRequest Container for the necessary parameters to execute the UnlinkDeveloperIdentity operation on AmazonCognitoIdentity.
Returns:
A Java Future object containing the response from the UnlinkDeveloperIdentity service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
 
     public Future<VoidunlinkDeveloperIdentityAsync(UnlinkDeveloperIdentityRequest unlinkDeveloperIdentityRequest
             throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
unlinkDeveloperIdentityRequest Container for the necessary parameters to execute the UnlinkDeveloperIdentity operation on AmazonCognitoIdentity.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UnlinkDeveloperIdentity service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
 
     public Future<VoidunlinkDeveloperIdentityAsync(UnlinkDeveloperIdentityRequest unlinkDeveloperIdentityRequest,
             AsyncHandler<UnlinkDeveloperIdentityRequestVoidasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
describeIdentityPoolRequest Container for the necessary parameters to execute the DescribeIdentityPool operation on AmazonCognitoIdentity.
Returns:
A Java Future object containing the response from the DescribeIdentityPool service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
 
            throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
describeIdentityPoolRequest Container for the necessary parameters to execute the DescribeIdentityPool operation on AmazonCognitoIdentity.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeIdentityPool service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
                    throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
getIdRequest Container for the necessary parameters to execute the GetId operation on AmazonCognitoIdentity.
Returns:
A Java Future object containing the response from the GetId service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
    public Future<GetIdResultgetIdAsync(GetIdRequest getIdRequest
            throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
getIdRequest Container for the necessary parameters to execute the GetId operation on AmazonCognitoIdentity.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetId service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
    public Future<GetIdResultgetIdAsync(GetIdRequest getIdRequest,
            AsyncHandler<GetIdRequestGetIdResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
deleteIdentityPoolRequest Container for the necessary parameters to execute the DeleteIdentityPool operation on AmazonCognitoIdentity.
Returns:
A Java Future object containing the response from the DeleteIdentityPool service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
    public Future<VoiddeleteIdentityPoolAsync(DeleteIdentityPoolRequest deleteIdentityPoolRequest
            throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
deleteIdentityPoolRequest Container for the necessary parameters to execute the DeleteIdentityPool operation on AmazonCognitoIdentity.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteIdentityPool service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
    public Future<VoiddeleteIdentityPoolAsync(DeleteIdentityPoolRequest deleteIdentityPoolRequest,
            AsyncHandler<DeleteIdentityPoolRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
updateIdentityPoolRequest Container for the necessary parameters to execute the UpdateIdentityPool operation on AmazonCognitoIdentity.
Returns:
A Java Future object containing the response from the UpdateIdentityPool service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
updateIdentityPoolRequest Container for the necessary parameters to execute the UpdateIdentityPool operation on AmazonCognitoIdentity.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateIdentityPool service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
            AsyncHandler<UpdateIdentityPoolRequestUpdateIdentityPoolResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
listIdentityPoolsRequest Container for the necessary parameters to execute the ListIdentityPools operation on AmazonCognitoIdentity.
Returns:
A Java Future object containing the response from the ListIdentityPools service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
listIdentityPoolsRequest Container for the necessary parameters to execute the ListIdentityPools operation on AmazonCognitoIdentity.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ListIdentityPools service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
            AsyncHandler<ListIdentityPoolsRequestListIdentityPoolsResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
mergeDeveloperIdentitiesRequest Container for the necessary parameters to execute the MergeDeveloperIdentities operation on AmazonCognitoIdentity.
Returns:
A Java Future object containing the response from the MergeDeveloperIdentities service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
mergeDeveloperIdentitiesRequest Container for the necessary parameters to execute the MergeDeveloperIdentities operation on AmazonCognitoIdentity.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the MergeDeveloperIdentities service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
                    throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
getOpenIdTokenRequest Container for the necessary parameters to execute the GetOpenIdToken operation on AmazonCognitoIdentity.
Returns:
A Java Future object containing the response from the GetOpenIdToken service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
    public Future<GetOpenIdTokenResultgetOpenIdTokenAsync(GetOpenIdTokenRequest getOpenIdTokenRequest
            throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
getOpenIdTokenRequest Container for the necessary parameters to execute the GetOpenIdToken operation on AmazonCognitoIdentity.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetOpenIdToken service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
            AsyncHandler<GetOpenIdTokenRequestGetOpenIdTokenResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
lookupDeveloperIdentityRequest Container for the necessary parameters to execute the LookupDeveloperIdentity operation on AmazonCognitoIdentity.
Returns:
A Java Future object containing the response from the LookupDeveloperIdentity service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
lookupDeveloperIdentityRequest Container for the necessary parameters to execute the LookupDeveloperIdentity operation on AmazonCognitoIdentity.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the LookupDeveloperIdentity service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
                    throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
unlinkIdentityRequest Container for the necessary parameters to execute the UnlinkIdentity operation on AmazonCognitoIdentity.
Returns:
A Java Future object containing the response from the UnlinkIdentity service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidunlinkIdentityAsync(UnlinkIdentityRequest unlinkIdentityRequest
            throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
unlinkIdentityRequest Container for the necessary parameters to execute the UnlinkIdentity operation on AmazonCognitoIdentity.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UnlinkIdentity service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidunlinkIdentityAsync(UnlinkIdentityRequest unlinkIdentityRequest,
            AsyncHandler<UnlinkIdentityRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
listIdentitiesRequest Container for the necessary parameters to execute the ListIdentities operation on AmazonCognitoIdentity.
Returns:
A Java Future object containing the response from the ListIdentities service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
    public Future<ListIdentitiesResultlistIdentitiesAsync(ListIdentitiesRequest listIdentitiesRequest
            throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
listIdentitiesRequest Container for the necessary parameters to execute the ListIdentities operation on AmazonCognitoIdentity.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ListIdentities service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
            AsyncHandler<ListIdentitiesRequestListIdentitiesResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
getOpenIdTokenForDeveloperIdentityRequest Container for the necessary parameters to execute the GetOpenIdTokenForDeveloperIdentity operation on AmazonCognitoIdentity.
Returns:
A Java Future object containing the response from the GetOpenIdTokenForDeveloperIdentity service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
getOpenIdTokenForDeveloperIdentityRequest Container for the necessary parameters to execute the GetOpenIdTokenForDeveloperIdentity operation on AmazonCognitoIdentity.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetOpenIdTokenForDeveloperIdentity service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
                    throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
createIdentityPoolRequest Container for the necessary parameters to execute the CreateIdentityPool operation on AmazonCognitoIdentity.
Returns:
A Java Future object containing the response from the CreateIdentityPool service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException;

    

Parameters:
createIdentityPoolRequest Container for the necessary parameters to execute the CreateIdentityPool operation on AmazonCognitoIdentity.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateIdentityPool service method, as returned by AmazonCognitoIdentity.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCognitoIdentity indicating either a problem with the data in the request, or a server side issue.
            AsyncHandler<CreateIdentityPoolRequestCreateIdentityPoolResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException;
}
        
New to GrepCode? Check out our FAQ X