com.amazonaws.services.cloudsearchv2
Class AmazonCloudSearchAsyncClient

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

public class AmazonCloudSearchAsyncClient
extends AmazonCloudSearchClient
implements AmazonCloudSearchAsync

Asynchronous client for accessing AmazonCloudSearchv2. 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 Amazon CloudSearch configuration service to create, configure, and manage search domains. Configuration service requests are submitted using the AWS Query protocol. AWS Query requests are HTTP or HTTPS requests submitted via HTTP GET or POST with a query parameter named Action.

The endpoint for configuration service requests is region-specific: cloudsearch. region .amazonaws.com. For example, cloudsearch.us-east-1.amazonaws.com. For a current list of supported regions and endpoints, see Regions and Endpoints .


Field Summary
 
Fields inherited from class com.amazonaws.services.cloudsearchv2.AmazonCloudSearchClient
exceptionUnmarshallers
 
Fields inherited from class com.amazonaws.AmazonWebServiceClient
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
 
Constructor Summary
AmazonCloudSearchAsyncClient()
          Constructs a new asynchronous client to invoke service methods on AmazonCloudSearchv2.
AmazonCloudSearchAsyncClient(AWSCredentials awsCredentials)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudSearchv2 using the specified AWS account credentials.
AmazonCloudSearchAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudSearchv2 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 AmazonCloudSearchv2 using the specified AWS account credentials and executor service.
AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudSearchv2 using the specified AWS account credentials provider.
AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudSearchv2 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 AmazonCloudSearchv2 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 AmazonCloudSearchv2 using the specified AWS account credentials provider and executor service.
AmazonCloudSearchAsyncClient(ClientConfiguration clientConfiguration)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudSearchv2.
 
Method Summary
 Future<BuildSuggestersResult> buildSuggestersAsync(BuildSuggestersRequest buildSuggestersRequest)
           Indexes the search suggestions.
 Future<BuildSuggestersResult> buildSuggestersAsync(BuildSuggestersRequest buildSuggestersRequest, AsyncHandler<BuildSuggestersRequest,BuildSuggestersResult> asyncHandler)
           Indexes the search suggestions.
 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<DefineAnalysisSchemeResult> defineAnalysisSchemeAsync(DefineAnalysisSchemeRequest defineAnalysisSchemeRequest)
           Configures an analysis scheme for a domain.
 Future<DefineAnalysisSchemeResult> defineAnalysisSchemeAsync(DefineAnalysisSchemeRequest defineAnalysisSchemeRequest, AsyncHandler<DefineAnalysisSchemeRequest,DefineAnalysisSchemeResult> asyncHandler)
           Configures an analysis scheme for a domain.
 Future<DefineExpressionResult> defineExpressionAsync(DefineExpressionRequest defineExpressionRequest)
           Configures an Expression for the search domain.
 Future<DefineExpressionResult> defineExpressionAsync(DefineExpressionRequest defineExpressionRequest, AsyncHandler<DefineExpressionRequest,DefineExpressionResult> asyncHandler)
           Configures an Expression for the 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<DefineSuggesterResult> defineSuggesterAsync(DefineSuggesterRequest defineSuggesterRequest)
           Configures a suggester for a domain.
 Future<DefineSuggesterResult> defineSuggesterAsync(DefineSuggesterRequest defineSuggesterRequest, AsyncHandler<DefineSuggesterRequest,DefineSuggesterResult> asyncHandler)
           Configures a suggester for a domain.
 Future<DeleteAnalysisSchemeResult> deleteAnalysisSchemeAsync(DeleteAnalysisSchemeRequest deleteAnalysisSchemeRequest)
           Deletes an analysis scheme.
 Future<DeleteAnalysisSchemeResult> deleteAnalysisSchemeAsync(DeleteAnalysisSchemeRequest deleteAnalysisSchemeRequest, AsyncHandler<DeleteAnalysisSchemeRequest,DeleteAnalysisSchemeResult> asyncHandler)
           Deletes an analysis scheme.
 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<DeleteExpressionResult> deleteExpressionAsync(DeleteExpressionRequest deleteExpressionRequest)
           Removes an Expression from the search domain.
 Future<DeleteExpressionResult> deleteExpressionAsync(DeleteExpressionRequest deleteExpressionRequest, AsyncHandler<DeleteExpressionRequest,DeleteExpressionResult> asyncHandler)
           Removes an Expression from the search domain.
 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<DeleteSuggesterResult> deleteSuggesterAsync(DeleteSuggesterRequest deleteSuggesterRequest)
           Deletes a suggester.
 Future<DeleteSuggesterResult> deleteSuggesterAsync(DeleteSuggesterRequest deleteSuggesterRequest, AsyncHandler<DeleteSuggesterRequest,DeleteSuggesterResult> asyncHandler)
           Deletes a suggester.
 Future<DescribeAnalysisSchemesResult> describeAnalysisSchemesAsync(DescribeAnalysisSchemesRequest describeAnalysisSchemesRequest)
           Gets the analysis schemes configured for a domain.
 Future<DescribeAnalysisSchemesResult> describeAnalysisSchemesAsync(DescribeAnalysisSchemesRequest describeAnalysisSchemesRequest, AsyncHandler<DescribeAnalysisSchemesRequest,DescribeAnalysisSchemesResult> asyncHandler)
           Gets the analysis schemes configured for a domain.
 Future<DescribeAvailabilityOptionsResult> describeAvailabilityOptionsAsync(DescribeAvailabilityOptionsRequest describeAvailabilityOptionsRequest)
           Gets the availability options configured for a domain.
 Future<DescribeAvailabilityOptionsResult> describeAvailabilityOptionsAsync(DescribeAvailabilityOptionsRequest describeAvailabilityOptionsRequest, AsyncHandler<DescribeAvailabilityOptionsRequest,DescribeAvailabilityOptionsResult> asyncHandler)
           Gets the availability options configured for a 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<DescribeExpressionsResult> describeExpressionsAsync(DescribeExpressionsRequest describeExpressionsRequest)
           Gets the expressions configured for the search domain.
 Future<DescribeExpressionsResult> describeExpressionsAsync(DescribeExpressionsRequest describeExpressionsRequest, AsyncHandler<DescribeExpressionsRequest,DescribeExpressionsResult> asyncHandler)
           Gets the expressions configured for the search domain.
 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<DescribeScalingParametersResult> describeScalingParametersAsync(DescribeScalingParametersRequest describeScalingParametersRequest)
           Gets the scaling parameters configured for a domain.
 Future<DescribeScalingParametersResult> describeScalingParametersAsync(DescribeScalingParametersRequest describeScalingParametersRequest, AsyncHandler<DescribeScalingParametersRequest,DescribeScalingParametersResult> asyncHandler)
           Gets the scaling parameters configured for a domain.
 Future<DescribeServiceAccessPoliciesResult> describeServiceAccessPoliciesAsync(DescribeServiceAccessPoliciesRequest describeServiceAccessPoliciesRequest)
           Gets information about the access policies that control access to the domain's document and search endpoints.
 Future<DescribeServiceAccessPoliciesResult> describeServiceAccessPoliciesAsync(DescribeServiceAccessPoliciesRequest describeServiceAccessPoliciesRequest, AsyncHandler<DescribeServiceAccessPoliciesRequest,DescribeServiceAccessPoliciesResult> asyncHandler)
           Gets information about the access policies that control access to the domain's document and search endpoints.
 Future<DescribeSuggestersResult> describeSuggestersAsync(DescribeSuggestersRequest describeSuggestersRequest)
           Gets the suggesters configured for a domain.
 Future<DescribeSuggestersResult> describeSuggestersAsync(DescribeSuggestersRequest describeSuggestersRequest, AsyncHandler<DescribeSuggestersRequest,DescribeSuggestersResult> asyncHandler)
           Gets the suggesters configured for a 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 indexing options.
 Future<IndexDocumentsResult> indexDocumentsAsync(IndexDocumentsRequest indexDocumentsRequest, AsyncHandler<IndexDocumentsRequest,IndexDocumentsResult> asyncHandler)
           Tells the search domain to start indexing its documents using the latest indexing options.
 Future<ListDomainNamesResult> listDomainNamesAsync(ListDomainNamesRequest listDomainNamesRequest)
           Lists all search domains owned by an account.
 Future<ListDomainNamesResult> listDomainNamesAsync(ListDomainNamesRequest listDomainNamesRequest, AsyncHandler<ListDomainNamesRequest,ListDomainNamesResult> asyncHandler)
           Lists all search domains owned by an account.
 void shutdown()
          Shuts down the client, releasing all managed resources.
 Future<UpdateAvailabilityOptionsResult> updateAvailabilityOptionsAsync(UpdateAvailabilityOptionsRequest updateAvailabilityOptionsRequest)
           Configures the availability options for a domain.
 Future<UpdateAvailabilityOptionsResult> updateAvailabilityOptionsAsync(UpdateAvailabilityOptionsRequest updateAvailabilityOptionsRequest, AsyncHandler<UpdateAvailabilityOptionsRequest,UpdateAvailabilityOptionsResult> asyncHandler)
           Configures the availability options for a domain.
 Future<UpdateScalingParametersResult> updateScalingParametersAsync(UpdateScalingParametersRequest updateScalingParametersRequest)
           Configures scaling parameters for a domain.
 Future<UpdateScalingParametersResult> updateScalingParametersAsync(UpdateScalingParametersRequest updateScalingParametersRequest, AsyncHandler<UpdateScalingParametersRequest,UpdateScalingParametersResult> asyncHandler)
           Configures scaling parameters for a domain.
 Future<UpdateServiceAccessPoliciesResult> updateServiceAccessPoliciesAsync(UpdateServiceAccessPoliciesRequest updateServiceAccessPoliciesRequest)
           Configures the access rules that control access to the domain's document and search endpoints.
 Future<UpdateServiceAccessPoliciesResult> updateServiceAccessPoliciesAsync(UpdateServiceAccessPoliciesRequest updateServiceAccessPoliciesRequest, AsyncHandler<UpdateServiceAccessPoliciesRequest,UpdateServiceAccessPoliciesResult> asyncHandler)
           Configures the access rules that control access to the domain's document and search endpoints.
 
Methods inherited from class com.amazonaws.services.cloudsearchv2.AmazonCloudSearchClient
buildSuggesters, createDomain, defineAnalysisScheme, defineExpression, defineIndexField, defineSuggester, deleteAnalysisScheme, deleteDomain, deleteExpression, deleteIndexField, deleteSuggester, describeAnalysisSchemes, describeAvailabilityOptions, describeDomains, describeDomains, describeExpressions, describeIndexFields, describeScalingParameters, describeServiceAccessPolicies, describeSuggesters, getCachedResponseMetadata, indexDocuments, listDomainNames, listDomainNames, updateAvailabilityOptions, updateScalingParameters, updateServiceAccessPolicies
 
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, addRequestHandler, configSigner, configSigner, convertToHttpRequest, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setConfiguration, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withTimeOffset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.amazonaws.services.cloudsearchv2.AmazonCloudSearch
buildSuggesters, createDomain, defineAnalysisScheme, defineExpression, defineIndexField, defineSuggester, deleteAnalysisScheme, deleteDomain, deleteExpression, deleteIndexField, deleteSuggester, describeAnalysisSchemes, describeAvailabilityOptions, describeDomains, describeDomains, describeExpressions, describeIndexFields, describeScalingParameters, describeServiceAccessPolicies, describeSuggesters, getCachedResponseMetadata, indexDocuments, listDomainNames, listDomainNames, setEndpoint, setRegion, updateAvailabilityOptions, updateScalingParameters, updateServiceAccessPolicies
 

Constructor Detail

AmazonCloudSearchAsyncClient

public AmazonCloudSearchAsyncClient()
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearchv2. 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:
DefaultAWSCredentialsProviderChain

AmazonCloudSearchAsyncClient

public AmazonCloudSearchAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearchv2. 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 AmazonCloudSearchv2 (ex: proxy settings, retry counts, etc.).
See Also:
DefaultAWSCredentialsProviderChain

AmazonCloudSearchAsyncClient

public AmazonCloudSearchAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearchv2 using the specified AWS account credentials. Default client settings will be used, and a fixed size 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 AmazonCloudSearchv2 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 AmazonCloudSearchv2 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 AmazonCloudSearchv2 using the specified AWS account credentials provider. Default client settings will be used, and a fixed size 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 AmazonCloudSearchv2 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 AmazonCloudSearchv2 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 AmazonCloudSearchv2 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() followed by getExecutorService().awaitTermination() prior to calling this method.

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

describeAnalysisSchemesAsync

public Future<DescribeAnalysisSchemesResult> describeAnalysisSchemesAsync(DescribeAnalysisSchemesRequest describeAnalysisSchemesRequest)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Gets the analysis schemes configured for a domain. An analysis scheme defines language-specific text processing options for a text field. Can be limited to specific analysis schemes by name. By default, shows all analysis schemes and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide .

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

describeAnalysisSchemesAsync

public Future<DescribeAnalysisSchemesResult> describeAnalysisSchemesAsync(DescribeAnalysisSchemesRequest describeAnalysisSchemesRequest,
                                                                          AsyncHandler<DescribeAnalysisSchemesRequest,DescribeAnalysisSchemesResult> asyncHandler)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Gets the analysis schemes configured for a domain. An analysis scheme defines language-specific text processing options for a text field. Can be limited to specific analysis schemes by name. By default, shows all analysis schemes and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide .

Specified by:
describeAnalysisSchemesAsync in interface AmazonCloudSearchAsync
Parameters:
describeAnalysisSchemesRequest - Container for the necessary parameters to execute the DescribeAnalysisSchemes operation on AmazonCloudSearchv2.
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 DescribeAnalysisSchemes service method, as returned by AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide .

Specified by:
deleteIndexFieldAsync in interface AmazonCloudSearchAsync
Parameters:
deleteIndexFieldRequest - Container for the necessary parameters to execute the DeleteIndexField operation on AmazonCloudSearchv2.
Returns:
A Java Future object containing the response from the DeleteIndexField service method, as returned by AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide .

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

updateAvailabilityOptionsAsync

public Future<UpdateAvailabilityOptionsResult> updateAvailabilityOptionsAsync(UpdateAvailabilityOptionsRequest updateAvailabilityOptionsRequest)
                                                                       throws AmazonServiceException,
                                                                              AmazonClientException

Configures the availability options for a domain. Enabling the Multi-AZ option expands an Amazon CloudSearch domain to an additional Availability Zone in the same Region to increase fault tolerance in the event of a service disruption. Changes to the Multi-AZ option can take about half an hour to become active. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide .

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

updateAvailabilityOptionsAsync

public Future<UpdateAvailabilityOptionsResult> updateAvailabilityOptionsAsync(UpdateAvailabilityOptionsRequest updateAvailabilityOptionsRequest,
                                                                              AsyncHandler<UpdateAvailabilityOptionsRequest,UpdateAvailabilityOptionsResult> asyncHandler)
                                                                       throws AmazonServiceException,
                                                                              AmazonClientException

Configures the availability options for a domain. Enabling the Multi-AZ option expands an Amazon CloudSearch domain to an additional Availability Zone in the same Region to increase fault tolerance in the event of a service disruption. Changes to the Multi-AZ option can take about half an hour to become active. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide .

Specified by:
updateAvailabilityOptionsAsync in interface AmazonCloudSearchAsync
Parameters:
updateAvailabilityOptionsRequest - Container for the necessary parameters to execute the UpdateAvailabilityOptions operation on AmazonCloudSearchv2.
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 UpdateAvailabilityOptions service method, as returned by AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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. By default, shows all fields and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Getting Domain Information in the Amazon CloudSearch Developer Guide .

Specified by:
describeIndexFieldsAsync in interface AmazonCloudSearchAsync
Parameters:
describeIndexFieldsRequest - Container for the necessary parameters to execute the DescribeIndexFields operation on AmazonCloudSearchv2.
Returns:
A Java Future object containing the response from the DescribeIndexFields service method, as returned by AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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. By default, shows all fields and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Getting Domain Information in the Amazon CloudSearch Developer Guide .

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

defineExpressionAsync

public Future<DefineExpressionResult> defineExpressionAsync(DefineExpressionRequest defineExpressionRequest)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Configures an Expression for the search domain. Used to create new expressions and modify existing ones. If the expression exists, the new configuration replaces the old one. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide .

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

defineExpressionAsync

public Future<DefineExpressionResult> defineExpressionAsync(DefineExpressionRequest defineExpressionRequest,
                                                            AsyncHandler<DefineExpressionRequest,DefineExpressionResult> asyncHandler)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Configures an Expression for the search domain. Used to create new expressions and modify existing ones. If the expression exists, the new configuration replaces the old one. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide .

Specified by:
defineExpressionAsync in interface AmazonCloudSearchAsync
Parameters:
defineExpressionRequest - Container for the necessary parameters to execute the DefineExpression operation on AmazonCloudSearchv2.
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 DefineExpression service method, as returned by AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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 access rules that control access to the domain's document and search endpoints. For more information, see Configuring Access for an Amazon CloudSearch Domain .

Specified by:
updateServiceAccessPoliciesAsync in interface AmazonCloudSearchAsync
Parameters:
updateServiceAccessPoliciesRequest - Container for the necessary parameters to execute the UpdateServiceAccessPolicies operation on AmazonCloudSearchv2.
Returns:
A Java Future object containing the response from the UpdateServiceAccessPolicies service method, as returned by AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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 access rules that control access to the domain's document and search endpoints. For more information, see Configuring Access for an Amazon CloudSearch Domain .

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

defineSuggesterAsync

public Future<DefineSuggesterResult> defineSuggesterAsync(DefineSuggesterRequest defineSuggesterRequest)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Configures a suggester for a domain. A suggester enables you to display possible matches before users finish typing their queries. When you configure a suggester, you must specify the name of the text field you want to search for possible matches and a unique name for the suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide .

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

defineSuggesterAsync

public Future<DefineSuggesterResult> defineSuggesterAsync(DefineSuggesterRequest defineSuggesterRequest,
                                                          AsyncHandler<DefineSuggesterRequest,DefineSuggesterResult> asyncHandler)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Configures a suggester for a domain. A suggester enables you to display possible matches before users finish typing their queries. When you configure a suggester, you must specify the name of the text field you want to search for possible matches and a unique name for the suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide .

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

deleteAnalysisSchemeAsync

public Future<DeleteAnalysisSchemeResult> deleteAnalysisSchemeAsync(DeleteAnalysisSchemeRequest deleteAnalysisSchemeRequest)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Deletes an analysis scheme. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide .

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

deleteAnalysisSchemeAsync

public Future<DeleteAnalysisSchemeResult> deleteAnalysisSchemeAsync(DeleteAnalysisSchemeRequest deleteAnalysisSchemeRequest,
                                                                    AsyncHandler<DeleteAnalysisSchemeRequest,DeleteAnalysisSchemeResult> asyncHandler)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Deletes an analysis scheme. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide .

Specified by:
deleteAnalysisSchemeAsync in interface AmazonCloudSearchAsync
Parameters:
deleteAnalysisSchemeRequest - Container for the necessary parameters to execute the DeleteAnalysisScheme operation on AmazonCloudSearchv2.
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 DeleteAnalysisScheme service method, as returned by AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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 indexing options. This operation must be invoked to activate options whose OptionStatus is RequiresIndexDocuments .

Specified by:
indexDocumentsAsync in interface AmazonCloudSearchAsync
Parameters:
indexDocumentsRequest - Container for the necessary parameters to execute the IndexDocuments operation on AmazonCloudSearchv2.
Returns:
A Java Future object containing the response from the IndexDocuments service method, as returned by AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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 indexing options. This operation must be invoked to activate options whose OptionStatus is RequiresIndexDocuments .

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

describeSuggestersAsync

public Future<DescribeSuggestersResult> describeSuggestersAsync(DescribeSuggestersRequest describeSuggestersRequest)
                                                         throws AmazonServiceException,
                                                                AmazonClientException

Gets the suggesters configured for a domain. A suggester enables you to display possible matches before users finish typing their queries. Can be limited to specific suggesters by name. By default, shows all suggesters and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide .

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

describeSuggestersAsync

public Future<DescribeSuggestersResult> describeSuggestersAsync(DescribeSuggestersRequest describeSuggestersRequest,
                                                                AsyncHandler<DescribeSuggestersRequest,DescribeSuggestersResult> asyncHandler)
                                                         throws AmazonServiceException,
                                                                AmazonClientException

Gets the suggesters configured for a domain. A suggester enables you to display possible matches before users finish typing their queries. Can be limited to specific suggesters by name. By default, shows all suggesters and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide .

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

updateScalingParametersAsync

public Future<UpdateScalingParametersResult> updateScalingParametersAsync(UpdateScalingParametersRequest updateScalingParametersRequest)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Configures scaling parameters for a domain. A domain's scaling parameters specify the desired search instance type and replication count. Amazon CloudSearch will still automatically scale your domain based on the volume of data and traffic, but not below the desired instance type and replication count. If the Multi-AZ option is enabled, these values control the resources used per Availability Zone. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide .

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

updateScalingParametersAsync

public Future<UpdateScalingParametersResult> updateScalingParametersAsync(UpdateScalingParametersRequest updateScalingParametersRequest,
                                                                          AsyncHandler<UpdateScalingParametersRequest,UpdateScalingParametersResult> asyncHandler)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Configures scaling parameters for a domain. A domain's scaling parameters specify the desired search instance type and replication count. Amazon CloudSearch will still automatically scale your domain based on the volume of data and traffic, but not below the desired instance type and replication count. If the Multi-AZ option is enabled, these values control the resources used per Availability Zone. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide .

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

listDomainNamesAsync

public Future<ListDomainNamesResult> listDomainNamesAsync(ListDomainNamesRequest listDomainNamesRequest)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Lists all search domains owned by an account.

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

listDomainNamesAsync

public Future<ListDomainNamesResult> listDomainNamesAsync(ListDomainNamesRequest listDomainNamesRequest,
                                                          AsyncHandler<ListDomainNamesRequest,ListDomainNamesResult> asyncHandler)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Lists all search domains owned by an account.

Specified by:
listDomainNamesAsync in interface AmazonCloudSearchAsync
Parameters:
listDomainNamesRequest - Container for the necessary parameters to execute the ListDomainNames operation on AmazonCloudSearchv2.
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 ListDomainNames service method, as returned by AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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. You must specify the name of the domain you are configuring and an index field configuration. The index field configuration specifies a unique name, the index field type, and the options you want to configure for the field. The options you can specify depend on the IndexFieldType . If the field exists, the new configuration replaces the old one. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide .

Specified by:
defineIndexFieldAsync in interface AmazonCloudSearchAsync
Parameters:
defineIndexFieldRequest - Container for the necessary parameters to execute the DefineIndexField operation on AmazonCloudSearchv2.
Returns:
A Java Future object containing the response from the DefineIndexField service method, as returned by AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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. You must specify the name of the domain you are configuring and an index field configuration. The index field configuration specifies a unique name, the index field type, and the options you want to configure for the field. The options you can specify depend on the IndexFieldType . If the field exists, the new configuration replaces the old one. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide .

Specified by:
defineIndexFieldAsync in interface AmazonCloudSearchAsync
Parameters:
defineIndexFieldRequest - Container for the necessary parameters to execute the DefineIndexField operation on AmazonCloudSearchv2.
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 AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide .

Specified by:
createDomainAsync in interface AmazonCloudSearchAsync
Parameters:
createDomainRequest - Container for the necessary parameters to execute the CreateDomain operation on AmazonCloudSearchv2.
Returns:
A Java Future object containing the response from the CreateDomain service method, as returned by AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide .

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

deleteSuggesterAsync

public Future<DeleteSuggesterResult> deleteSuggesterAsync(DeleteSuggesterRequest deleteSuggesterRequest)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Deletes a suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide .

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

deleteSuggesterAsync

public Future<DeleteSuggesterResult> deleteSuggesterAsync(DeleteSuggesterRequest deleteSuggesterRequest,
                                                          AsyncHandler<DeleteSuggesterRequest,DeleteSuggesterResult> asyncHandler)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Deletes a suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide .

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

deleteExpressionAsync

public Future<DeleteExpressionResult> deleteExpressionAsync(DeleteExpressionRequest deleteExpressionRequest)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Removes an Expression from the search domain. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide .

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

deleteExpressionAsync

public Future<DeleteExpressionResult> deleteExpressionAsync(DeleteExpressionRequest deleteExpressionRequest,
                                                            AsyncHandler<DeleteExpressionRequest,DeleteExpressionResult> asyncHandler)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Removes an Expression from the search domain. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide .

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

describeAvailabilityOptionsAsync

public Future<DescribeAvailabilityOptionsResult> describeAvailabilityOptionsAsync(DescribeAvailabilityOptionsRequest describeAvailabilityOptionsRequest)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Gets the availability options configured for a domain. By default, shows the configuration with any pending changes. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide .

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

describeAvailabilityOptionsAsync

public Future<DescribeAvailabilityOptionsResult> describeAvailabilityOptionsAsync(DescribeAvailabilityOptionsRequest describeAvailabilityOptionsRequest,
                                                                                  AsyncHandler<DescribeAvailabilityOptionsRequest,DescribeAvailabilityOptionsResult> asyncHandler)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Gets the availability options configured for a domain. By default, shows the configuration with any pending changes. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide .

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

defineAnalysisSchemeAsync

public Future<DefineAnalysisSchemeResult> defineAnalysisSchemeAsync(DefineAnalysisSchemeRequest defineAnalysisSchemeRequest)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Configures an analysis scheme for a domain. An analysis scheme defines language-specific text processing options for a text field. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide .

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

defineAnalysisSchemeAsync

public Future<DefineAnalysisSchemeResult> defineAnalysisSchemeAsync(DefineAnalysisSchemeRequest defineAnalysisSchemeRequest,
                                                                    AsyncHandler<DefineAnalysisSchemeRequest,DefineAnalysisSchemeResult> asyncHandler)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Configures an analysis scheme for a domain. An analysis scheme defines language-specific text processing options for a text field. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide .

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

buildSuggestersAsync

public Future<BuildSuggestersResult> buildSuggestersAsync(BuildSuggestersRequest buildSuggestersRequest)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Indexes the search suggestions.

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

buildSuggestersAsync

public Future<BuildSuggestersResult> buildSuggestersAsync(BuildSuggestersRequest buildSuggestersRequest,
                                                          AsyncHandler<BuildSuggestersRequest,BuildSuggestersResult> asyncHandler)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Indexes the search suggestions.

Specified by:
buildSuggestersAsync in interface AmazonCloudSearchAsync
Parameters:
buildSuggestersRequest - Container for the necessary parameters to execute the BuildSuggesters operation on AmazonCloudSearchv2.
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 BuildSuggesters service method, as returned by AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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 access policies that control access to the domain's document and search endpoints. By default, shows the configuration with any pending changes. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Access for a Search Domain in the Amazon CloudSearch Developer Guide .

Specified by:
describeServiceAccessPoliciesAsync in interface AmazonCloudSearchAsync
Parameters:
describeServiceAccessPoliciesRequest - Container for the necessary parameters to execute the DescribeServiceAccessPolicies operation on AmazonCloudSearchv2.
Returns:
A Java Future object containing the response from the DescribeServiceAccessPolicies service method, as returned by AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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 access policies that control access to the domain's document and search endpoints. By default, shows the configuration with any pending changes. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Access for a Search Domain in the Amazon CloudSearch Developer Guide .

Specified by:
describeServiceAccessPoliciesAsync in interface AmazonCloudSearchAsync
Parameters:
describeServiceAccessPoliciesRequest - Container for the necessary parameters to execute the DescribeServiceAccessPolicies operation on AmazonCloudSearchv2.
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 AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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. Once a domain has been deleted, it cannot be recovered. For more information, see Deleting a Search Domain in the Amazon CloudSearch Developer Guide .

Specified by:
deleteDomainAsync in interface AmazonCloudSearchAsync
Parameters:
deleteDomainRequest - Container for the necessary parameters to execute the DeleteDomain operation on AmazonCloudSearchv2.
Returns:
A Java Future object containing the response from the DeleteDomain service method, as returned by AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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. Once a domain has been deleted, it cannot be recovered. For more information, see Deleting a Search Domain in the Amazon CloudSearch Developer Guide .

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

describeExpressionsAsync

public Future<DescribeExpressionsResult> describeExpressionsAsync(DescribeExpressionsRequest describeExpressionsRequest)
                                                           throws AmazonServiceException,
                                                                  AmazonClientException

Gets the expressions configured for the search domain. Can be limited to specific expressions by name. By default, shows all expressions and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide .

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

describeExpressionsAsync

public Future<DescribeExpressionsResult> describeExpressionsAsync(DescribeExpressionsRequest describeExpressionsRequest,
                                                                  AsyncHandler<DescribeExpressionsRequest,DescribeExpressionsResult> asyncHandler)
                                                           throws AmazonServiceException,
                                                                  AmazonClientException

Gets the expressions configured for the search domain. Can be limited to specific expressions by name. By default, shows all expressions and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide .

Specified by:
describeExpressionsAsync in interface AmazonCloudSearchAsync
Parameters:
describeExpressionsRequest - Container for the necessary parameters to execute the DescribeExpressions operation on AmazonCloudSearchv2.
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 DescribeExpressions service method, as returned by AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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. To get the number of searchable documents in a domain, use the console or submit a matchall request to your domain's search endpoint: q=matchall&q.parser=structured&size=0. For more information, see Getting Information about a Search Domain in the Amazon CloudSearch Developer Guide.

Specified by:
describeDomainsAsync in interface AmazonCloudSearchAsync
Parameters:
describeDomainsRequest - Container for the necessary parameters to execute the DescribeDomains operation on AmazonCloudSearchv2.
Returns:
A Java Future object containing the response from the DescribeDomains service method, as returned by AmazonCloudSearchv2.
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 AmazonCloudSearchv2 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. To get the number of searchable documents in a domain, use the console or submit a matchall request to your domain's search endpoint: q=matchall&q.parser=structured&size=0. For more information, see Getting Information about a Search Domain in the Amazon CloudSearch Developer Guide.

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

describeScalingParametersAsync

public Future<DescribeScalingParametersResult> describeScalingParametersAsync(DescribeScalingParametersRequest describeScalingParametersRequest)
                                                                       throws AmazonServiceException,
                                                                              AmazonClientException

Gets the scaling parameters configured for a domain. A domain's scaling parameters specify the desired search instance type and replication count. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide .

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

describeScalingParametersAsync

public Future<DescribeScalingParametersResult> describeScalingParametersAsync(DescribeScalingParametersRequest describeScalingParametersRequest,
                                                                              AsyncHandler<DescribeScalingParametersRequest,DescribeScalingParametersResult> asyncHandler)
                                                                       throws AmazonServiceException,
                                                                              AmazonClientException

Gets the scaling parameters configured for a domain. A domain's scaling parameters specify the desired search instance type and replication count. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide .

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


Copyright © 2016. All rights reserved.