public class AmazonCognitoSyncAsyncClient extends AmazonCognitoSyncClient implements AmazonCognitoSyncAsync
jsonErrorUnmarshallersclient, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset| Constructor and Description |
|---|
AmazonCognitoSyncAsyncClient()
Constructs a new asynchronous client to invoke service methods on
AmazonCognitoSync.
|
AmazonCognitoSyncAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on
AmazonCognitoSync using the specified AWS account credentials.
|
AmazonCognitoSyncAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonCognitoSync using the specified AWS account credentials,
executor service, and client configuration options.
|
AmazonCognitoSyncAsyncClient(AWSCredentials awsCredentials,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonCognitoSync using the specified AWS account credentials
and executor service.
|
AmazonCognitoSyncAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on
AmazonCognitoSync using the specified AWS account credentials provider.
|
AmazonCognitoSyncAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonCognitoSync using the specified AWS account credentials
provider and client configuration options.
|
AmazonCognitoSyncAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonCognitoSync using the specified AWS account credentials
provider, executor service, and client configuration options.
|
AmazonCognitoSyncAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonCognitoSync using the specified AWS account credentials provider
and executor service.
|
AmazonCognitoSyncAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonCognitoSync.
|
deleteDataset, describeDataset, describeIdentityPoolUsage, describeIdentityUsage, getCachedResponseMetadata, getIdentityPoolConfiguration, listDatasets, listIdentityPoolUsage, listRecords, registerDevice, setEndpoint, setEndpoint, setIdentityPoolConfiguration, subscribeToDataset, unsubscribeFromDataset, updateRecordsaddRequestHandler, addRequestHandler, configSigner, configSigner, convertToHttpRequest, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setConfiguration, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteDataset, describeDataset, describeIdentityPoolUsage, describeIdentityUsage, getCachedResponseMetadata, getIdentityPoolConfiguration, listDatasets, listIdentityPoolUsage, listRecords, registerDevice, setEndpoint, setIdentityPoolConfiguration, setRegion, subscribeToDataset, unsubscribeFromDataset, updateRecordspublic AmazonCognitoSyncAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChainpublic AmazonCognitoSyncAsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling how this
client connects to AmazonCognitoSync
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChainpublic AmazonCognitoSyncAsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AmazonCognitoSyncAsyncClient(AWSCredentials awsCredentials, java.util.concurrent.ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.executorService - The executor service by which all asynchronous requests will
be executed.public AmazonCognitoSyncAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
settings, etc).executorService - The executor service by which all asynchronous requests will
be executed.public AmazonCognitoSyncAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AmazonCognitoSyncAsyncClient(AWSCredentialsProvider awsCredentialsProvider, java.util.concurrent.ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.executorService - The executor service by which all asynchronous requests will
be executed.public AmazonCognitoSyncAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
settings, etc).public AmazonCognitoSyncAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
settings, etc).executorService - The executor service by which all asynchronous requests will
be executed.public java.util.concurrent.ExecutorService getExecutorService()
public void shutdown()
shutdown in interface AmazonCognitoSyncshutdown in class AmazonWebServiceClientpublic java.util.concurrent.Future<UpdateRecordsResult> updateRecordsAsync(UpdateRecordsRequest updateRecordsRequest) throws AmazonServiceException, AmazonClientException
updateRecordsAsync in interface AmazonCognitoSyncAsyncupdateRecordsRequest - Container for the necessary parameters to
execute the UpdateRecords operation on AmazonCognitoSync.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<UpdateRecordsResult> updateRecordsAsync(UpdateRecordsRequest updateRecordsRequest, AsyncHandler<UpdateRecordsRequest,UpdateRecordsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
updateRecordsAsync in interface AmazonCognitoSyncAsyncupdateRecordsRequest - Container for the necessary parameters to
execute the UpdateRecords operation on AmazonCognitoSync.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.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<DescribeIdentityUsageResult> describeIdentityUsageAsync(DescribeIdentityUsageRequest describeIdentityUsageRequest) throws AmazonServiceException, AmazonClientException
describeIdentityUsageAsync in interface AmazonCognitoSyncAsyncdescribeIdentityUsageRequest - Container for the necessary
parameters to execute the DescribeIdentityUsage operation on
AmazonCognitoSync.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<DescribeIdentityUsageResult> describeIdentityUsageAsync(DescribeIdentityUsageRequest describeIdentityUsageRequest, AsyncHandler<DescribeIdentityUsageRequest,DescribeIdentityUsageResult> asyncHandler) throws AmazonServiceException, AmazonClientException
describeIdentityUsageAsync in interface AmazonCognitoSyncAsyncdescribeIdentityUsageRequest - Container for the necessary
parameters to execute the DescribeIdentityUsage operation on
AmazonCognitoSync.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.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<SetIdentityPoolConfigurationResult> setIdentityPoolConfigurationAsync(SetIdentityPoolConfigurationRequest setIdentityPoolConfigurationRequest) throws AmazonServiceException, AmazonClientException
setIdentityPoolConfigurationAsync in interface AmazonCognitoSyncAsyncsetIdentityPoolConfigurationRequest - Container for the necessary
parameters to execute the SetIdentityPoolConfiguration operation on
AmazonCognitoSync.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<SetIdentityPoolConfigurationResult> setIdentityPoolConfigurationAsync(SetIdentityPoolConfigurationRequest setIdentityPoolConfigurationRequest, AsyncHandler<SetIdentityPoolConfigurationRequest,SetIdentityPoolConfigurationResult> asyncHandler) throws AmazonServiceException, AmazonClientException
setIdentityPoolConfigurationAsync in interface AmazonCognitoSyncAsyncsetIdentityPoolConfigurationRequest - Container for the necessary
parameters to execute the SetIdentityPoolConfiguration operation on
AmazonCognitoSync.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.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<GetIdentityPoolConfigurationResult> getIdentityPoolConfigurationAsync(GetIdentityPoolConfigurationRequest getIdentityPoolConfigurationRequest) throws AmazonServiceException, AmazonClientException
getIdentityPoolConfigurationAsync in interface AmazonCognitoSyncAsyncgetIdentityPoolConfigurationRequest - Container for the necessary
parameters to execute the GetIdentityPoolConfiguration operation on
AmazonCognitoSync.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<GetIdentityPoolConfigurationResult> getIdentityPoolConfigurationAsync(GetIdentityPoolConfigurationRequest getIdentityPoolConfigurationRequest, AsyncHandler<GetIdentityPoolConfigurationRequest,GetIdentityPoolConfigurationResult> asyncHandler) throws AmazonServiceException, AmazonClientException
getIdentityPoolConfigurationAsync in interface AmazonCognitoSyncAsyncgetIdentityPoolConfigurationRequest - Container for the necessary
parameters to execute the GetIdentityPoolConfiguration operation on
AmazonCognitoSync.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.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<UnsubscribeFromDatasetResult> unsubscribeFromDatasetAsync(UnsubscribeFromDatasetRequest unsubscribeFromDatasetRequest) throws AmazonServiceException, AmazonClientException
unsubscribeFromDatasetAsync in interface AmazonCognitoSyncAsyncunsubscribeFromDatasetRequest - Container for the necessary
parameters to execute the UnsubscribeFromDataset operation on
AmazonCognitoSync.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<UnsubscribeFromDatasetResult> unsubscribeFromDatasetAsync(UnsubscribeFromDatasetRequest unsubscribeFromDatasetRequest, AsyncHandler<UnsubscribeFromDatasetRequest,UnsubscribeFromDatasetResult> asyncHandler) throws AmazonServiceException, AmazonClientException
unsubscribeFromDatasetAsync in interface AmazonCognitoSyncAsyncunsubscribeFromDatasetRequest - Container for the necessary
parameters to execute the UnsubscribeFromDataset operation on
AmazonCognitoSync.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.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<SubscribeToDatasetResult> subscribeToDatasetAsync(SubscribeToDatasetRequest subscribeToDatasetRequest) throws AmazonServiceException, AmazonClientException
subscribeToDatasetAsync in interface AmazonCognitoSyncAsyncsubscribeToDatasetRequest - Container for the necessary
parameters to execute the SubscribeToDataset operation on
AmazonCognitoSync.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<SubscribeToDatasetResult> subscribeToDatasetAsync(SubscribeToDatasetRequest subscribeToDatasetRequest, AsyncHandler<SubscribeToDatasetRequest,SubscribeToDatasetResult> asyncHandler) throws AmazonServiceException, AmazonClientException
subscribeToDatasetAsync in interface AmazonCognitoSyncAsyncsubscribeToDatasetRequest - Container for the necessary
parameters to execute the SubscribeToDataset operation on
AmazonCognitoSync.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.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<DescribeIdentityPoolUsageResult> describeIdentityPoolUsageAsync(DescribeIdentityPoolUsageRequest describeIdentityPoolUsageRequest) throws AmazonServiceException, AmazonClientException
describeIdentityPoolUsageAsync in interface AmazonCognitoSyncAsyncdescribeIdentityPoolUsageRequest - Container for the necessary
parameters to execute the DescribeIdentityPoolUsage operation on
AmazonCognitoSync.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<DescribeIdentityPoolUsageResult> describeIdentityPoolUsageAsync(DescribeIdentityPoolUsageRequest describeIdentityPoolUsageRequest, AsyncHandler<DescribeIdentityPoolUsageRequest,DescribeIdentityPoolUsageResult> asyncHandler) throws AmazonServiceException, AmazonClientException
describeIdentityPoolUsageAsync in interface AmazonCognitoSyncAsyncdescribeIdentityPoolUsageRequest - Container for the necessary
parameters to execute the DescribeIdentityPoolUsage operation on
AmazonCognitoSync.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.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<ListDatasetsResult> listDatasetsAsync(ListDatasetsRequest listDatasetsRequest) throws AmazonServiceException, AmazonClientException
listDatasetsAsync in interface AmazonCognitoSyncAsynclistDatasetsRequest - Container for the necessary parameters to
execute the ListDatasets operation on AmazonCognitoSync.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<ListDatasetsResult> listDatasetsAsync(ListDatasetsRequest listDatasetsRequest, AsyncHandler<ListDatasetsRequest,ListDatasetsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
listDatasetsAsync in interface AmazonCognitoSyncAsynclistDatasetsRequest - Container for the necessary parameters to
execute the ListDatasets operation on AmazonCognitoSync.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.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<ListIdentityPoolUsageResult> listIdentityPoolUsageAsync(ListIdentityPoolUsageRequest listIdentityPoolUsageRequest) throws AmazonServiceException, AmazonClientException
listIdentityPoolUsageAsync in interface AmazonCognitoSyncAsynclistIdentityPoolUsageRequest - Container for the necessary
parameters to execute the ListIdentityPoolUsage operation on
AmazonCognitoSync.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<ListIdentityPoolUsageResult> listIdentityPoolUsageAsync(ListIdentityPoolUsageRequest listIdentityPoolUsageRequest, AsyncHandler<ListIdentityPoolUsageRequest,ListIdentityPoolUsageResult> asyncHandler) throws AmazonServiceException, AmazonClientException
listIdentityPoolUsageAsync in interface AmazonCognitoSyncAsynclistIdentityPoolUsageRequest - Container for the necessary
parameters to execute the ListIdentityPoolUsage operation on
AmazonCognitoSync.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.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<ListRecordsResult> listRecordsAsync(ListRecordsRequest listRecordsRequest) throws AmazonServiceException, AmazonClientException
listRecordsAsync in interface AmazonCognitoSyncAsynclistRecordsRequest - Container for the necessary parameters to
execute the ListRecords operation on AmazonCognitoSync.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<ListRecordsResult> listRecordsAsync(ListRecordsRequest listRecordsRequest, AsyncHandler<ListRecordsRequest,ListRecordsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
listRecordsAsync in interface AmazonCognitoSyncAsynclistRecordsRequest - Container for the necessary parameters to
execute the ListRecords operation on AmazonCognitoSync.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.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<DescribeDatasetResult> describeDatasetAsync(DescribeDatasetRequest describeDatasetRequest) throws AmazonServiceException, AmazonClientException
describeDatasetAsync in interface AmazonCognitoSyncAsyncdescribeDatasetRequest - Container for the necessary parameters
to execute the DescribeDataset operation on AmazonCognitoSync.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<DescribeDatasetResult> describeDatasetAsync(DescribeDatasetRequest describeDatasetRequest, AsyncHandler<DescribeDatasetRequest,DescribeDatasetResult> asyncHandler) throws AmazonServiceException, AmazonClientException
describeDatasetAsync in interface AmazonCognitoSyncAsyncdescribeDatasetRequest - Container for the necessary parameters
to execute the DescribeDataset operation on AmazonCognitoSync.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.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<DeleteDatasetResult> deleteDatasetAsync(DeleteDatasetRequest deleteDatasetRequest) throws AmazonServiceException, AmazonClientException
deleteDatasetAsync in interface AmazonCognitoSyncAsyncdeleteDatasetRequest - Container for the necessary parameters to
execute the DeleteDataset operation on AmazonCognitoSync.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<DeleteDatasetResult> deleteDatasetAsync(DeleteDatasetRequest deleteDatasetRequest, AsyncHandler<DeleteDatasetRequest,DeleteDatasetResult> asyncHandler) throws AmazonServiceException, AmazonClientException
deleteDatasetAsync in interface AmazonCognitoSyncAsyncdeleteDatasetRequest - Container for the necessary parameters to
execute the DeleteDataset operation on AmazonCognitoSync.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.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<RegisterDeviceResult> registerDeviceAsync(RegisterDeviceRequest registerDeviceRequest) throws AmazonServiceException, AmazonClientException
registerDeviceAsync in interface AmazonCognitoSyncAsyncregisterDeviceRequest - Container for the necessary parameters to
execute the RegisterDevice operation on AmazonCognitoSync.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<RegisterDeviceResult> registerDeviceAsync(RegisterDeviceRequest registerDeviceRequest, AsyncHandler<RegisterDeviceRequest,RegisterDeviceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
registerDeviceAsync in interface AmazonCognitoSyncAsyncregisterDeviceRequest - Container for the necessary parameters to
execute the RegisterDevice operation on AmazonCognitoSync.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.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.AmazonServiceException - If an error response is returned by AmazonCognitoSync indicating
either a problem with the data in the request, or a server side issue.