Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudsearch
Class AmazonCloudSearchAsyncClient

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceClient
      extended by com.amazonaws.services.cloudsearch.AmazonCloudSearchClient
          extended by com.amazonaws.services.cloudsearch.AmazonCloudSearchAsyncClient
All Implemented Interfaces:
AmazonCloudSearch, AmazonCloudSearchAsync

public class AmazonCloudSearchAsyncClient
extends AmazonCloudSearchClient
implements AmazonCloudSearchAsync

Asynchronous client for accessing AmazonCloudSearch. All asynchronous calls made using this client are non-blocking. Callers could either process the result and handle the exceptions in the worker thread by providing a callback handler when making the call, or use the returned Future object to check the result of the call in the calling thread. Amazon CloudSearch Configuration Service

You use the Configuration Service to create, configure, and manage search domains. Amazon CloudSearch configuration requests are submitted to cloudsearch.us-east-1.amazonaws.com using the AWS Query protocol.


Constructor Summary
AmazonCloudSearchAsyncClient()
          Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch.
AmazonCloudSearchAsyncClient(AWSCredentials awsCredentials)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials.
AmazonCloudSearchAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials, executor service, and client configuration options.
AmazonCloudSearchAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials and executor service.
AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials provider.
AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials provider and client configuration options.
AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials provider, executor service, and client configuration options.
AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials provider and executor service.
AmazonCloudSearchAsyncClient(ClientConfiguration clientConfiguration)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch.
 
Method Summary
 Future<CreateDomainResult> createDomainAsync(CreateDomainRequest createDomainRequest)
           Creates a new search domain.
 Future<CreateDomainResult> createDomainAsync(CreateDomainRequest createDomainRequest, AsyncHandler<CreateDomainRequest,CreateDomainResult> asyncHandler)
           Creates a new search domain.
 Future<DefineIndexFieldResult> defineIndexFieldAsync(DefineIndexFieldRequest defineIndexFieldRequest)
           Configures an IndexField for the search domain.
 Future<DefineIndexFieldResult> defineIndexFieldAsync(DefineIndexFieldRequest defineIndexFieldRequest, AsyncHandler<DefineIndexFieldRequest,DefineIndexFieldResult> asyncHandler)
           Configures an IndexField for the search domain.
 Future<DefineRankExpressionResult> defineRankExpressionAsync(DefineRankExpressionRequest defineRankExpressionRequest)
           Configures a RankExpression for the search domain.
 Future<DefineRankExpressionResult> defineRankExpressionAsync(DefineRankExpressionRequest defineRankExpressionRequest, AsyncHandler<DefineRankExpressionRequest,DefineRankExpressionResult> asyncHandler)
           Configures a RankExpression for the search domain.
 Future<DeleteDomainResult> deleteDomainAsync(DeleteDomainRequest deleteDomainRequest)
           Permanently deletes a search domain and all of its data.
 Future<DeleteDomainResult> deleteDomainAsync(DeleteDomainRequest deleteDomainRequest, AsyncHandler<DeleteDomainRequest,DeleteDomainResult> asyncHandler)
           Permanently deletes a search domain and all of its data.
 Future<DeleteIndexFieldResult> deleteIndexFieldAsync(DeleteIndexFieldRequest deleteIndexFieldRequest)
           Removes an IndexField from the search domain.
 Future<DeleteIndexFieldResult> deleteIndexFieldAsync(DeleteIndexFieldRequest deleteIndexFieldRequest, AsyncHandler<DeleteIndexFieldRequest,DeleteIndexFieldResult> asyncHandler)
           Removes an IndexField from the search domain.
 Future<DeleteRankExpressionResult> deleteRankExpressionAsync(DeleteRankExpressionRequest deleteRankExpressionRequest)
           Removes a RankExpression from the search domain.
 Future<DeleteRankExpressionResult> deleteRankExpressionAsync(DeleteRankExpressionRequest deleteRankExpressionRequest, AsyncHandler<DeleteRankExpressionRequest,DeleteRankExpressionResult> asyncHandler)
           Removes a RankExpression from the search domain.
 Future<DescribeDefaultSearchFieldResult> describeDefaultSearchFieldAsync(DescribeDefaultSearchFieldRequest describeDefaultSearchFieldRequest)
           Gets the default search field configured for the search domain.
 Future<DescribeDefaultSearchFieldResult> describeDefaultSearchFieldAsync(DescribeDefaultSearchFieldRequest describeDefaultSearchFieldRequest, AsyncHandler<DescribeDefaultSearchFieldRequest,DescribeDefaultSearchFieldResult> asyncHandler)
           Gets the default search field configured for the search domain.
 Future<DescribeDomainsResult> describeDomainsAsync(DescribeDomainsRequest describeDomainsRequest)
           Gets information about the search domains owned by this account.
 Future<DescribeDomainsResult> describeDomainsAsync(DescribeDomainsRequest describeDomainsRequest, AsyncHandler<DescribeDomainsRequest,DescribeDomainsResult> asyncHandler)
           Gets information about the search domains owned by this account.
 Future<DescribeIndexFieldsResult> describeIndexFieldsAsync(DescribeIndexFieldsRequest describeIndexFieldsRequest)
           Gets information about the index fields configured for the search domain.
 Future<DescribeIndexFieldsResult> describeIndexFieldsAsync(DescribeIndexFieldsRequest describeIndexFieldsRequest, AsyncHandler<DescribeIndexFieldsRequest,DescribeIndexFieldsResult> asyncHandler)
           Gets information about the index fields configured for the search domain.
 Future<DescribeRankExpressionsResult> describeRankExpressionsAsync(DescribeRankExpressionsRequest describeRankExpressionsRequest)
           Gets the rank expressions configured for the search domain.
 Future<DescribeRankExpressionsResult> describeRankExpressionsAsync(DescribeRankExpressionsRequest describeRankExpressionsRequest, AsyncHandler<DescribeRankExpressionsRequest,DescribeRankExpressionsResult> asyncHandler)
           Gets the rank expressions configured for the search domain.
 Future<DescribeServiceAccessPoliciesResult> describeServiceAccessPoliciesAsync(DescribeServiceAccessPoliciesRequest describeServiceAccessPoliciesRequest)
           Gets information about the resource-based policies that control access to the domain's document and search services.
 Future<DescribeServiceAccessPoliciesResult> describeServiceAccessPoliciesAsync(DescribeServiceAccessPoliciesRequest describeServiceAccessPoliciesRequest, AsyncHandler<DescribeServiceAccessPoliciesRequest,DescribeServiceAccessPoliciesResult> asyncHandler)
           Gets information about the resource-based policies that control access to the domain's document and search services.
 Future<DescribeStemmingOptionsResult> describeStemmingOptionsAsync(DescribeStemmingOptionsRequest describeStemmingOptionsRequest)
           Gets the stemming dictionary configured for the search domain.
 Future<DescribeStemmingOptionsResult> describeStemmingOptionsAsync(DescribeStemmingOptionsRequest describeStemmingOptionsRequest, AsyncHandler<DescribeStemmingOptionsRequest,DescribeStemmingOptionsResult> asyncHandler)
           Gets the stemming dictionary configured for the search domain.
 Future<DescribeStopwordOptionsResult> describeStopwordOptionsAsync(DescribeStopwordOptionsRequest describeStopwordOptionsRequest)
           Gets the stopwords configured for the search domain.
 Future<DescribeStopwordOptionsResult> describeStopwordOptionsAsync(DescribeStopwordOptionsRequest describeStopwordOptionsRequest, AsyncHandler<DescribeStopwordOptionsRequest,DescribeStopwordOptionsResult> asyncHandler)
           Gets the stopwords configured for the search domain.
 Future<DescribeSynonymOptionsResult> describeSynonymOptionsAsync(DescribeSynonymOptionsRequest describeSynonymOptionsRequest)
           Gets the synonym dictionary configured for the search domain.
 Future<DescribeSynonymOptionsResult> describeSynonymOptionsAsync(DescribeSynonymOptionsRequest describeSynonymOptionsRequest, AsyncHandler<DescribeSynonymOptionsRequest,DescribeSynonymOptionsResult> asyncHandler)
           Gets the synonym dictionary configured for the search domain.
 ExecutorService getExecutorService()
          Returns the executor service used by this async client to execute requests.
 Future<IndexDocumentsResult> indexDocumentsAsync(IndexDocumentsRequest indexDocumentsRequest)
           Tells the search domain to start indexing its documents using the latest text processing options and IndexFields .
 Future<IndexDocumentsResult> indexDocumentsAsync(IndexDocumentsRequest indexDocumentsRequest, AsyncHandler<IndexDocumentsRequest,IndexDocumentsResult> asyncHandler)
           Tells the search domain to start indexing its documents using the latest text processing options and IndexFields .
 void shutdown()
          Shuts down the client, releasing all managed resources.
 Future<UpdateDefaultSearchFieldResult> updateDefaultSearchFieldAsync(UpdateDefaultSearchFieldRequest updateDefaultSearchFieldRequest)
           Configures the default search field for the search domain.
 Future<UpdateDefaultSearchFieldResult> updateDefaultSearchFieldAsync(UpdateDefaultSearchFieldRequest updateDefaultSearchFieldRequest, AsyncHandler<UpdateDefaultSearchFieldRequest,UpdateDefaultSearchFieldResult> asyncHandler)
           Configures the default search field for the search domain.
 Future<UpdateServiceAccessPoliciesResult> updateServiceAccessPoliciesAsync(UpdateServiceAccessPoliciesRequest updateServiceAccessPoliciesRequest)
           Configures the policies that control access to the domain's document and search services.
 Future<UpdateServiceAccessPoliciesResult> updateServiceAccessPoliciesAsync(UpdateServiceAccessPoliciesRequest updateServiceAccessPoliciesRequest, AsyncHandler<UpdateServiceAccessPoliciesRequest,UpdateServiceAccessPoliciesResult> asyncHandler)
           Configures the policies that control access to the domain's document and search services.
 Future<UpdateStemmingOptionsResult> updateStemmingOptionsAsync(UpdateStemmingOptionsRequest updateStemmingOptionsRequest)
           Configures a stemming dictionary for the search domain.
 Future<UpdateStemmingOptionsResult> updateStemmingOptionsAsync(UpdateStemmingOptionsRequest updateStemmingOptionsRequest, AsyncHandler<UpdateStemmingOptionsRequest,UpdateStemmingOptionsResult> asyncHandler)
           Configures a stemming dictionary for the search domain.
 Future<UpdateStopwordOptionsResult> updateStopwordOptionsAsync(UpdateStopwordOptionsRequest updateStopwordOptionsRequest)
           Configures stopwords for the search domain.
 Future<UpdateStopwordOptionsResult> updateStopwordOptionsAsync(UpdateStopwordOptionsRequest updateStopwordOptionsRequest, AsyncHandler<UpdateStopwordOptionsRequest,UpdateStopwordOptionsResult> asyncHandler)
           Configures stopwords for the search domain.
 Future<UpdateSynonymOptionsResult> updateSynonymOptionsAsync(UpdateSynonymOptionsRequest updateSynonymOptionsRequest)
           Configures a synonym dictionary for the search domain.
 Future<UpdateSynonymOptionsResult> updateSynonymOptionsAsync(UpdateSynonymOptionsRequest updateSynonymOptionsRequest, AsyncHandler<UpdateSynonymOptionsRequest,UpdateSynonymOptionsResult> asyncHandler)
           Configures a synonym dictionary for the search domain.
 
Methods inherited from class com.amazonaws.services.cloudsearch.AmazonCloudSearchClient
createDomain, defineIndexField, defineRankExpression, deleteDomain, deleteIndexField, deleteRankExpression, describeDefaultSearchField, describeDomains, describeDomains, describeIndexFields, describeRankExpressions, describeServiceAccessPolicies, describeStemmingOptions, describeStopwordOptions, describeSynonymOptions, getCachedResponseMetadata, indexDocuments, setEndpoint, updateDefaultSearchField, updateServiceAccessPolicies, updateStemmingOptions, updateStopwordOptions, updateSynonymOptions
 
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setRegion, setTimeOffset, withTimeOffset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.amazonaws.services.cloudsearch.AmazonCloudSearch
createDomain, defineIndexField, defineRankExpression, deleteDomain, deleteIndexField, deleteRankExpression, describeDefaultSearchField, describeDomains, describeDomains, describeIndexFields, describeRankExpressions, describeServiceAccessPolicies, describeStemmingOptions, describeStopwordOptions, describeSynonymOptions, getCachedResponseMetadata, indexDocuments, setEndpoint, setRegion, updateDefaultSearchField, updateServiceAccessPolicies, updateStemmingOptions, updateStopwordOptions, updateSynonymOptions
 

Constructor Detail

AmazonCloudSearchAsyncClient

public AmazonCloudSearchAsyncClient()
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch. A credentials provider chain will be used that searches for credentials in this order:

All service calls made using this new client object are blocking, and will not return until the service call completes.

See Also:
DefaultAWSCredentialsProvider

AmazonCloudSearchAsyncClient

public AmazonCloudSearchAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch. A credentials provider chain will be used that searches for credentials in this order:

All service calls made using this new client object are blocking, and will not return until the service call completes.

Parameters:
clientConfiguration - The client configuration options controlling how this client connects to AmazonCloudSearch (ex: proxy settings, retry counts, etc.).
See Also:
DefaultAWSCredentialsProvider

AmazonCloudSearchAsyncClient

public AmazonCloudSearchAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials. Default client settings will be used, and a default cached thread pool will be created for executing the asynchronous tasks.

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.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.

AmazonCloudSearchAsyncClient

public AmazonCloudSearchAsyncClient(AWSCredentials awsCredentials,
                                    ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials and executor service. Default client settings will be used.

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.

Parameters:
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.

AmazonCloudSearchAsyncClient

public AmazonCloudSearchAsyncClient(AWSCredentials awsCredentials,
                                    ClientConfiguration clientConfiguration,
                                    ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials, executor service, and client configuration options.

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.

Parameters:
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.

AmazonCloudSearchAsyncClient

public AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials provider. Default client settings will be used, and a default cached thread pool will be created for executing the asynchronous tasks.

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.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.

AmazonCloudSearchAsyncClient

public AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                    ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials provider and executor service. Default client settings will be used.

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.

Parameters:
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.

AmazonCloudSearchAsyncClient

public AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                    ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials provider and client configuration options.

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.

Parameters:
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).

AmazonCloudSearchAsyncClient

public AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                    ClientConfiguration clientConfiguration,
                                    ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials provider, executor service, and client configuration options.

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.

Parameters:
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.
Method Detail

getExecutorService

public ExecutorService getExecutorService()
Returns the executor service used by this async client to execute requests.

Returns:
The executor service used by this async client to execute requests.

shutdown

public void shutdown()
Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should call getExecutorService().shutdown() prior to calling this method.

Specified by:
shutdown in interface AmazonCloudSearch
Overrides:
shutdown in class AmazonWebServiceClient

updateDefaultSearchFieldAsync

public Future<UpdateDefaultSearchFieldResult> updateDefaultSearchFieldAsync(UpdateDefaultSearchFieldRequest updateDefaultSearchFieldRequest)
                                                                     throws AmazonServiceException,
                                                                            AmazonClientException

Configures the default search field for the search domain. The default search field is used when a search request does not specify which fields to search. By default, it is configured to include the contents of all of the domain's text fields.

Specified by:
updateDefaultSearchFieldAsync in interface AmazonCloudSearchAsync
Parameters:
updateDefaultSearchFieldRequest - Container for the necessary parameters to execute the UpdateDefaultSearchField operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the UpdateDefaultSearchField service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

updateDefaultSearchFieldAsync

public Future<UpdateDefaultSearchFieldResult> updateDefaultSearchFieldAsync(UpdateDefaultSearchFieldRequest updateDefaultSearchFieldRequest,
                                                                            AsyncHandler<UpdateDefaultSearchFieldRequest,UpdateDefaultSearchFieldResult> asyncHandler)
                                                                     throws AmazonServiceException,
                                                                            AmazonClientException

Configures the default search field for the search domain. The default search field is used when a search request does not specify which fields to search. By default, it is configured to include the contents of all of the domain's text fields.

Specified by:
updateDefaultSearchFieldAsync in interface AmazonCloudSearchAsync
Parameters:
updateDefaultSearchFieldRequest - Container for the necessary parameters to execute the UpdateDefaultSearchField operation on AmazonCloudSearch.
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 UpdateDefaultSearchField service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

deleteRankExpressionAsync

public Future<DeleteRankExpressionResult> deleteRankExpressionAsync(DeleteRankExpressionRequest deleteRankExpressionRequest)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Removes a RankExpression from the search domain.

Specified by:
deleteRankExpressionAsync in interface AmazonCloudSearchAsync
Parameters:
deleteRankExpressionRequest - Container for the necessary parameters to execute the DeleteRankExpression operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the DeleteRankExpression service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

deleteRankExpressionAsync

public Future<DeleteRankExpressionResult> deleteRankExpressionAsync(DeleteRankExpressionRequest deleteRankExpressionRequest,
                                                                    AsyncHandler<DeleteRankExpressionRequest,DeleteRankExpressionResult> asyncHandler)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Removes a RankExpression from the search domain.

Specified by:
deleteRankExpressionAsync in interface AmazonCloudSearchAsync
Parameters:
deleteRankExpressionRequest - Container for the necessary parameters to execute the DeleteRankExpression operation on AmazonCloudSearch.
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 DeleteRankExpression service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

describeRankExpressionsAsync

public Future<DescribeRankExpressionsResult> describeRankExpressionsAsync(DescribeRankExpressionsRequest describeRankExpressionsRequest)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Gets the rank expressions configured for the search domain. Can be limited to specific rank expressions by name. Shows all rank expressions by default.

Specified by:
describeRankExpressionsAsync in interface AmazonCloudSearchAsync
Parameters:
describeRankExpressionsRequest - Container for the necessary parameters to execute the DescribeRankExpressions operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the DescribeRankExpressions service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

describeRankExpressionsAsync

public Future<DescribeRankExpressionsResult> describeRankExpressionsAsync(DescribeRankExpressionsRequest describeRankExpressionsRequest,
                                                                          AsyncHandler<DescribeRankExpressionsRequest,DescribeRankExpressionsResult> asyncHandler)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Gets the rank expressions configured for the search domain. Can be limited to specific rank expressions by name. Shows all rank expressions by default.

Specified by:
describeRankExpressionsAsync in interface AmazonCloudSearchAsync
Parameters:
describeRankExpressionsRequest - Container for the necessary parameters to execute the DescribeRankExpressions operation on AmazonCloudSearch.
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 DescribeRankExpressions service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

createDomainAsync

public Future<CreateDomainResult> createDomainAsync(CreateDomainRequest createDomainRequest)
                                             throws AmazonServiceException,
                                                    AmazonClientException

Creates a new search domain.

Specified by:
createDomainAsync in interface AmazonCloudSearchAsync
Parameters:
createDomainRequest - Container for the necessary parameters to execute the CreateDomain operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the CreateDomain service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

createDomainAsync

public Future<CreateDomainResult> createDomainAsync(CreateDomainRequest createDomainRequest,
                                                    AsyncHandler<CreateDomainRequest,CreateDomainResult> asyncHandler)
                                             throws AmazonServiceException,
                                                    AmazonClientException

Creates a new search domain.

Specified by:
createDomainAsync in interface AmazonCloudSearchAsync
Parameters:
createDomainRequest - Container for the necessary parameters to execute the CreateDomain operation on AmazonCloudSearch.
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 CreateDomain service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

updateServiceAccessPoliciesAsync

public Future<UpdateServiceAccessPoliciesResult> updateServiceAccessPoliciesAsync(UpdateServiceAccessPoliciesRequest updateServiceAccessPoliciesRequest)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Configures the policies that control access to the domain's document and search services. The maximum size of an access policy document is 100KB.

Specified by:
updateServiceAccessPoliciesAsync in interface AmazonCloudSearchAsync
Parameters:
updateServiceAccessPoliciesRequest - Container for the necessary parameters to execute the UpdateServiceAccessPolicies operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the UpdateServiceAccessPolicies service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

updateServiceAccessPoliciesAsync

public Future<UpdateServiceAccessPoliciesResult> updateServiceAccessPoliciesAsync(UpdateServiceAccessPoliciesRequest updateServiceAccessPoliciesRequest,
                                                                                  AsyncHandler<UpdateServiceAccessPoliciesRequest,UpdateServiceAccessPoliciesResult> asyncHandler)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Configures the policies that control access to the domain's document and search services. The maximum size of an access policy document is 100KB.

Specified by:
updateServiceAccessPoliciesAsync in interface AmazonCloudSearchAsync
Parameters:
updateServiceAccessPoliciesRequest - Container for the necessary parameters to execute the UpdateServiceAccessPolicies operation on AmazonCloudSearch.
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 UpdateServiceAccessPolicies service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

defineIndexFieldAsync

public Future<DefineIndexFieldResult> defineIndexFieldAsync(DefineIndexFieldRequest defineIndexFieldRequest)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Configures an IndexField for the search domain. Used to create new fields and modify existing ones. If the field exists, the new configuration replaces the old one. You can configure a maximum of 200 index fields.

Specified by:
defineIndexFieldAsync in interface AmazonCloudSearchAsync
Parameters:
defineIndexFieldRequest - Container for the necessary parameters to execute the DefineIndexField operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the DefineIndexField service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

defineIndexFieldAsync

public Future<DefineIndexFieldResult> defineIndexFieldAsync(DefineIndexFieldRequest defineIndexFieldRequest,
                                                            AsyncHandler<DefineIndexFieldRequest,DefineIndexFieldResult> asyncHandler)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Configures an IndexField for the search domain. Used to create new fields and modify existing ones. If the field exists, the new configuration replaces the old one. You can configure a maximum of 200 index fields.

Specified by:
defineIndexFieldAsync in interface AmazonCloudSearchAsync
Parameters:
defineIndexFieldRequest - Container for the necessary parameters to execute the DefineIndexField operation on AmazonCloudSearch.
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 DefineIndexField service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

defineRankExpressionAsync

public Future<DefineRankExpressionResult> defineRankExpressionAsync(DefineRankExpressionRequest defineRankExpressionRequest)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Configures a RankExpression for the search domain. Used to create new rank expressions and modify existing ones. If the expression exists, the new configuration replaces the old one. You can configure a maximum of 50 rank expressions.

Specified by:
defineRankExpressionAsync in interface AmazonCloudSearchAsync
Parameters:
defineRankExpressionRequest - Container for the necessary parameters to execute the DefineRankExpression operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the DefineRankExpression service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

defineRankExpressionAsync

public Future<DefineRankExpressionResult> defineRankExpressionAsync(DefineRankExpressionRequest defineRankExpressionRequest,
                                                                    AsyncHandler<DefineRankExpressionRequest,DefineRankExpressionResult> asyncHandler)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Configures a RankExpression for the search domain. Used to create new rank expressions and modify existing ones. If the expression exists, the new configuration replaces the old one. You can configure a maximum of 50 rank expressions.

Specified by:
defineRankExpressionAsync in interface AmazonCloudSearchAsync
Parameters:
defineRankExpressionRequest - Container for the necessary parameters to execute the DefineRankExpression operation on AmazonCloudSearch.
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 DefineRankExpression service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

describeSynonymOptionsAsync

public Future<DescribeSynonymOptionsResult> describeSynonymOptionsAsync(DescribeSynonymOptionsRequest describeSynonymOptionsRequest)
                                                                 throws AmazonServiceException,
                                                                        AmazonClientException

Gets the synonym dictionary configured for the search domain.

Specified by:
describeSynonymOptionsAsync in interface AmazonCloudSearchAsync
Parameters:
describeSynonymOptionsRequest - Container for the necessary parameters to execute the DescribeSynonymOptions operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the DescribeSynonymOptions service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

describeSynonymOptionsAsync

public Future<DescribeSynonymOptionsResult> describeSynonymOptionsAsync(DescribeSynonymOptionsRequest describeSynonymOptionsRequest,
                                                                        AsyncHandler<DescribeSynonymOptionsRequest,DescribeSynonymOptionsResult> asyncHandler)
                                                                 throws AmazonServiceException,
                                                                        AmazonClientException

Gets the synonym dictionary configured for the search domain.

Specified by:
describeSynonymOptionsAsync in interface AmazonCloudSearchAsync
Parameters:
describeSynonymOptionsRequest - Container for the necessary parameters to execute the DescribeSynonymOptions operation on AmazonCloudSearch.
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 DescribeSynonymOptions service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

describeStopwordOptionsAsync

public Future<DescribeStopwordOptionsResult> describeStopwordOptionsAsync(DescribeStopwordOptionsRequest describeStopwordOptionsRequest)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Gets the stopwords configured for the search domain.

Specified by:
describeStopwordOptionsAsync in interface AmazonCloudSearchAsync
Parameters:
describeStopwordOptionsRequest - Container for the necessary parameters to execute the DescribeStopwordOptions operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the DescribeStopwordOptions service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

describeStopwordOptionsAsync

public Future<DescribeStopwordOptionsResult> describeStopwordOptionsAsync(DescribeStopwordOptionsRequest describeStopwordOptionsRequest,
                                                                          AsyncHandler<DescribeStopwordOptionsRequest,DescribeStopwordOptionsResult> asyncHandler)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Gets the stopwords configured for the search domain.

Specified by:
describeStopwordOptionsAsync in interface AmazonCloudSearchAsync
Parameters:
describeStopwordOptionsRequest - Container for the necessary parameters to execute the DescribeStopwordOptions operation on AmazonCloudSearch.
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 DescribeStopwordOptions service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

deleteDomainAsync

public Future<DeleteDomainResult> deleteDomainAsync(DeleteDomainRequest deleteDomainRequest)
                                             throws AmazonServiceException,
                                                    AmazonClientException

Permanently deletes a search domain and all of its data.

Specified by:
deleteDomainAsync in interface AmazonCloudSearchAsync
Parameters:
deleteDomainRequest - Container for the necessary parameters to execute the DeleteDomain operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the DeleteDomain service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

deleteDomainAsync

public Future<DeleteDomainResult> deleteDomainAsync(DeleteDomainRequest deleteDomainRequest,
                                                    AsyncHandler<DeleteDomainRequest,DeleteDomainResult> asyncHandler)
                                             throws AmazonServiceException,
                                                    AmazonClientException

Permanently deletes a search domain and all of its data.

Specified by:
deleteDomainAsync in interface AmazonCloudSearchAsync
Parameters:
deleteDomainRequest - Container for the necessary parameters to execute the DeleteDomain operation on AmazonCloudSearch.
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 DeleteDomain service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

describeServiceAccessPoliciesAsync

public Future<DescribeServiceAccessPoliciesResult> describeServiceAccessPoliciesAsync(DescribeServiceAccessPoliciesRequest describeServiceAccessPoliciesRequest)
                                                                               throws AmazonServiceException,
                                                                                      AmazonClientException

Gets information about the resource-based policies that control access to the domain's document and search services.

Specified by:
describeServiceAccessPoliciesAsync in interface AmazonCloudSearchAsync
Parameters:
describeServiceAccessPoliciesRequest - Container for the necessary parameters to execute the DescribeServiceAccessPolicies operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the DescribeServiceAccessPolicies service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

describeServiceAccessPoliciesAsync

public Future<DescribeServiceAccessPoliciesResult> describeServiceAccessPoliciesAsync(DescribeServiceAccessPoliciesRequest describeServiceAccessPoliciesRequest,
                                                                                      AsyncHandler<DescribeServiceAccessPoliciesRequest,DescribeServiceAccessPoliciesResult> asyncHandler)
                                                                               throws AmazonServiceException,
                                                                                      AmazonClientException

Gets information about the resource-based policies that control access to the domain's document and search services.

Specified by:
describeServiceAccessPoliciesAsync in interface AmazonCloudSearchAsync
Parameters:
describeServiceAccessPoliciesRequest - Container for the necessary parameters to execute the DescribeServiceAccessPolicies operation on AmazonCloudSearch.
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 DescribeServiceAccessPolicies service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

describeDefaultSearchFieldAsync

public Future<DescribeDefaultSearchFieldResult> describeDefaultSearchFieldAsync(DescribeDefaultSearchFieldRequest describeDefaultSearchFieldRequest)
                                                                         throws AmazonServiceException,
                                                                                AmazonClientException

Gets the default search field configured for the search domain.

Specified by:
describeDefaultSearchFieldAsync in interface AmazonCloudSearchAsync
Parameters:
describeDefaultSearchFieldRequest - Container for the necessary parameters to execute the DescribeDefaultSearchField operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the DescribeDefaultSearchField service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

describeDefaultSearchFieldAsync

public Future<DescribeDefaultSearchFieldResult> describeDefaultSearchFieldAsync(DescribeDefaultSearchFieldRequest describeDefaultSearchFieldRequest,
                                                                                AsyncHandler<DescribeDefaultSearchFieldRequest,DescribeDefaultSearchFieldResult> asyncHandler)
                                                                         throws AmazonServiceException,
                                                                                AmazonClientException

Gets the default search field configured for the search domain.

Specified by:
describeDefaultSearchFieldAsync in interface AmazonCloudSearchAsync
Parameters:
describeDefaultSearchFieldRequest - Container for the necessary parameters to execute the DescribeDefaultSearchField operation on AmazonCloudSearch.
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 DescribeDefaultSearchField service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

updateStopwordOptionsAsync

public Future<UpdateStopwordOptionsResult> updateStopwordOptionsAsync(UpdateStopwordOptionsRequest updateStopwordOptionsRequest)
                                                               throws AmazonServiceException,
                                                                      AmazonClientException

Configures stopwords for the search domain. Stopwords are used during indexing and when processing search requests. The maximum size of the stopwords dictionary is 10KB.

Specified by:
updateStopwordOptionsAsync in interface AmazonCloudSearchAsync
Parameters:
updateStopwordOptionsRequest - Container for the necessary parameters to execute the UpdateStopwordOptions operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the UpdateStopwordOptions service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

updateStopwordOptionsAsync

public Future<UpdateStopwordOptionsResult> updateStopwordOptionsAsync(UpdateStopwordOptionsRequest updateStopwordOptionsRequest,
                                                                      AsyncHandler<UpdateStopwordOptionsRequest,UpdateStopwordOptionsResult> asyncHandler)
                                                               throws AmazonServiceException,
                                                                      AmazonClientException

Configures stopwords for the search domain. Stopwords are used during indexing and when processing search requests. The maximum size of the stopwords dictionary is 10KB.

Specified by:
updateStopwordOptionsAsync in interface AmazonCloudSearchAsync
Parameters:
updateStopwordOptionsRequest - Container for the necessary parameters to execute the UpdateStopwordOptions operation on AmazonCloudSearch.
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 UpdateStopwordOptions service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

updateSynonymOptionsAsync

public Future<UpdateSynonymOptionsResult> updateSynonymOptionsAsync(UpdateSynonymOptionsRequest updateSynonymOptionsRequest)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Configures a synonym dictionary for the search domain. The synonym dictionary is used during indexing to configure mappings for terms that occur in text fields. The maximum size of the synonym dictionary is 100KB.

Specified by:
updateSynonymOptionsAsync in interface AmazonCloudSearchAsync
Parameters:
updateSynonymOptionsRequest - Container for the necessary parameters to execute the UpdateSynonymOptions operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the UpdateSynonymOptions service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

updateSynonymOptionsAsync

public Future<UpdateSynonymOptionsResult> updateSynonymOptionsAsync(UpdateSynonymOptionsRequest updateSynonymOptionsRequest,
                                                                    AsyncHandler<UpdateSynonymOptionsRequest,UpdateSynonymOptionsResult> asyncHandler)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Configures a synonym dictionary for the search domain. The synonym dictionary is used during indexing to configure mappings for terms that occur in text fields. The maximum size of the synonym dictionary is 100KB.

Specified by:
updateSynonymOptionsAsync in interface AmazonCloudSearchAsync
Parameters:
updateSynonymOptionsRequest - Container for the necessary parameters to execute the UpdateSynonymOptions operation on AmazonCloudSearch.
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 UpdateSynonymOptions service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

updateStemmingOptionsAsync

public Future<UpdateStemmingOptionsResult> updateStemmingOptionsAsync(UpdateStemmingOptionsRequest updateStemmingOptionsRequest)
                                                               throws AmazonServiceException,
                                                                      AmazonClientException

Configures a stemming dictionary for the search domain. The stemming dictionary is used during indexing and when processing search requests. The maximum size of the stemming dictionary is 500KB.

Specified by:
updateStemmingOptionsAsync in interface AmazonCloudSearchAsync
Parameters:
updateStemmingOptionsRequest - Container for the necessary parameters to execute the UpdateStemmingOptions operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the UpdateStemmingOptions service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

updateStemmingOptionsAsync

public Future<UpdateStemmingOptionsResult> updateStemmingOptionsAsync(UpdateStemmingOptionsRequest updateStemmingOptionsRequest,
                                                                      AsyncHandler<UpdateStemmingOptionsRequest,UpdateStemmingOptionsResult> asyncHandler)
                                                               throws AmazonServiceException,
                                                                      AmazonClientException

Configures a stemming dictionary for the search domain. The stemming dictionary is used during indexing and when processing search requests. The maximum size of the stemming dictionary is 500KB.

Specified by:
updateStemmingOptionsAsync in interface AmazonCloudSearchAsync
Parameters:
updateStemmingOptionsRequest - Container for the necessary parameters to execute the UpdateStemmingOptions operation on AmazonCloudSearch.
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 UpdateStemmingOptions service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

describeStemmingOptionsAsync

public Future<DescribeStemmingOptionsResult> describeStemmingOptionsAsync(DescribeStemmingOptionsRequest describeStemmingOptionsRequest)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Gets the stemming dictionary configured for the search domain.

Specified by:
describeStemmingOptionsAsync in interface AmazonCloudSearchAsync
Parameters:
describeStemmingOptionsRequest - Container for the necessary parameters to execute the DescribeStemmingOptions operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the DescribeStemmingOptions service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

describeStemmingOptionsAsync

public Future<DescribeStemmingOptionsResult> describeStemmingOptionsAsync(DescribeStemmingOptionsRequest describeStemmingOptionsRequest,
                                                                          AsyncHandler<DescribeStemmingOptionsRequest,DescribeStemmingOptionsResult> asyncHandler)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Gets the stemming dictionary configured for the search domain.

Specified by:
describeStemmingOptionsAsync in interface AmazonCloudSearchAsync
Parameters:
describeStemmingOptionsRequest - Container for the necessary parameters to execute the DescribeStemmingOptions operation on AmazonCloudSearch.
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 DescribeStemmingOptions service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

describeDomainsAsync

public Future<DescribeDomainsResult> describeDomainsAsync(DescribeDomainsRequest describeDomainsRequest)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Gets information about the search domains owned by this account. Can be limited to specific domains. Shows all domains by default.

Specified by:
describeDomainsAsync in interface AmazonCloudSearchAsync
Parameters:
describeDomainsRequest - Container for the necessary parameters to execute the DescribeDomains operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the DescribeDomains service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

describeDomainsAsync

public Future<DescribeDomainsResult> describeDomainsAsync(DescribeDomainsRequest describeDomainsRequest,
                                                          AsyncHandler<DescribeDomainsRequest,DescribeDomainsResult> asyncHandler)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Gets information about the search domains owned by this account. Can be limited to specific domains. Shows all domains by default.

Specified by:
describeDomainsAsync in interface AmazonCloudSearchAsync
Parameters:
describeDomainsRequest - Container for the necessary parameters to execute the DescribeDomains operation on AmazonCloudSearch.
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 DescribeDomains service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

indexDocumentsAsync

public Future<IndexDocumentsResult> indexDocumentsAsync(IndexDocumentsRequest indexDocumentsRequest)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

Tells the search domain to start indexing its documents using the latest text processing options and IndexFields . This operation must be invoked to make options whose OptionStatus has OptionState of RequiresIndexDocuments visible in search results.

Specified by:
indexDocumentsAsync in interface AmazonCloudSearchAsync
Parameters:
indexDocumentsRequest - Container for the necessary parameters to execute the IndexDocuments operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the IndexDocuments service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

indexDocumentsAsync

public Future<IndexDocumentsResult> indexDocumentsAsync(IndexDocumentsRequest indexDocumentsRequest,
                                                        AsyncHandler<IndexDocumentsRequest,IndexDocumentsResult> asyncHandler)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

Tells the search domain to start indexing its documents using the latest text processing options and IndexFields . This operation must be invoked to make options whose OptionStatus has OptionState of RequiresIndexDocuments visible in search results.

Specified by:
indexDocumentsAsync in interface AmazonCloudSearchAsync
Parameters:
indexDocumentsRequest - Container for the necessary parameters to execute the IndexDocuments operation on AmazonCloudSearch.
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 IndexDocuments service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

describeIndexFieldsAsync

public Future<DescribeIndexFieldsResult> describeIndexFieldsAsync(DescribeIndexFieldsRequest describeIndexFieldsRequest)
                                                           throws AmazonServiceException,
                                                                  AmazonClientException

Gets information about the index fields configured for the search domain. Can be limited to specific fields by name. Shows all fields by default.

Specified by:
describeIndexFieldsAsync in interface AmazonCloudSearchAsync
Parameters:
describeIndexFieldsRequest - Container for the necessary parameters to execute the DescribeIndexFields operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the DescribeIndexFields service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

describeIndexFieldsAsync

public Future<DescribeIndexFieldsResult> describeIndexFieldsAsync(DescribeIndexFieldsRequest describeIndexFieldsRequest,
                                                                  AsyncHandler<DescribeIndexFieldsRequest,DescribeIndexFieldsResult> asyncHandler)
                                                           throws AmazonServiceException,
                                                                  AmazonClientException

Gets information about the index fields configured for the search domain. Can be limited to specific fields by name. Shows all fields by default.

Specified by:
describeIndexFieldsAsync in interface AmazonCloudSearchAsync
Parameters:
describeIndexFieldsRequest - Container for the necessary parameters to execute the DescribeIndexFields operation on AmazonCloudSearch.
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 DescribeIndexFields service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

deleteIndexFieldAsync

public Future<DeleteIndexFieldResult> deleteIndexFieldAsync(DeleteIndexFieldRequest deleteIndexFieldRequest)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Removes an IndexField from the search domain.

Specified by:
deleteIndexFieldAsync in interface AmazonCloudSearchAsync
Parameters:
deleteIndexFieldRequest - Container for the necessary parameters to execute the DeleteIndexField operation on AmazonCloudSearch.
Returns:
A Java Future object containing the response from the DeleteIndexField service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.

deleteIndexFieldAsync

public Future<DeleteIndexFieldResult> deleteIndexFieldAsync(DeleteIndexFieldRequest deleteIndexFieldRequest,
                                                            AsyncHandler<DeleteIndexFieldRequest,DeleteIndexFieldResult> asyncHandler)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Removes an IndexField from the search domain.

Specified by:
deleteIndexFieldAsync in interface AmazonCloudSearchAsync
Parameters:
deleteIndexFieldRequest - Container for the necessary parameters to execute the DeleteIndexField operation on AmazonCloudSearch.
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 DeleteIndexField service method, as returned by AmazonCloudSearch.
Throws:
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 AmazonCloudSearch indicating either a problem with the data in the request, or a server side issue.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.