com.amazonaws.services.cloudsearchv2.AmazonCloudSearchAsync Maven / Gradle / Ivy
Show all versions of aws-java-sdk Show documentation
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.services.cloudsearchv2;
import java.util.concurrent.Future;
import com.amazonaws.AmazonClientException;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.AsyncHandler;
import com.amazonaws.services.cloudsearchv2.model.*;
/**
* Interface for accessing AmazonCloudSearchv2 asynchronously.
* Each asynchronous method will return a Java Future object, and users are also allowed
* to provide a callback handler.
* 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
* .
*
*/
public interface AmazonCloudSearchAsync extends AmazonCloudSearch {
/**
*
* 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 .
*
*
* @param describeAnalysisSchemesRequest Container for the necessary
* parameters to execute the DescribeAnalysisSchemes operation on
* AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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 .
*
*
* @param describeAnalysisSchemesRequest Container for the necessary
* parameters to execute the DescribeAnalysisSchemes operation on
* AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future describeAnalysisSchemesAsync(DescribeAnalysisSchemesRequest describeAnalysisSchemesRequest,
AsyncHandler asyncHandler)
throws AmazonServiceException, AmazonClientException;
/**
*
* Removes an IndexField
from the search domain. For more
* information, see
* Configuring Index Fields
* in the Amazon CloudSearch Developer Guide .
*
*
* @param deleteIndexFieldRequest Container for the necessary parameters
* to execute the DeleteIndexField operation on AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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 .
*
*
* @param deleteIndexFieldRequest Container for the necessary parameters
* to execute the DeleteIndexField operation on AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future deleteIndexFieldAsync(DeleteIndexFieldRequest deleteIndexFieldRequest,
AsyncHandler 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 .
*
*
* @param updateAvailabilityOptionsRequest Container for the necessary
* parameters to execute the UpdateAvailabilityOptions operation on
* AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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 .
*
*
* @param updateAvailabilityOptionsRequest Container for the necessary
* parameters to execute the UpdateAvailabilityOptions operation on
* AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future updateAvailabilityOptionsAsync(UpdateAvailabilityOptionsRequest updateAvailabilityOptionsRequest,
AsyncHandler 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 .
*
*
* @param describeIndexFieldsRequest Container for the necessary
* parameters to execute the DescribeIndexFields operation on
* AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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 .
*
*
* @param describeIndexFieldsRequest Container for the necessary
* parameters to execute the DescribeIndexFields operation on
* AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future describeIndexFieldsAsync(DescribeIndexFieldsRequest describeIndexFieldsRequest,
AsyncHandler 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 .
*
*
* @param defineExpressionRequest Container for the necessary parameters
* to execute the DefineExpression operation on AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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 .
*
*
* @param defineExpressionRequest Container for the necessary parameters
* to execute the DefineExpression operation on AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future defineExpressionAsync(DefineExpressionRequest defineExpressionRequest,
AsyncHandler 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
* .
*
*
* @param updateServiceAccessPoliciesRequest Container for the necessary
* parameters to execute the UpdateServiceAccessPolicies operation on
* AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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
* .
*
*
* @param updateServiceAccessPoliciesRequest Container for the necessary
* parameters to execute the UpdateServiceAccessPolicies operation on
* AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future updateServiceAccessPoliciesAsync(UpdateServiceAccessPoliciesRequest updateServiceAccessPoliciesRequest,
AsyncHandler 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 .
*
*
* @param defineSuggesterRequest Container for the necessary parameters
* to execute the DefineSuggester operation on AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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 .
*
*
* @param defineSuggesterRequest Container for the necessary parameters
* to execute the DefineSuggester operation on AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future defineSuggesterAsync(DefineSuggesterRequest defineSuggesterRequest,
AsyncHandler asyncHandler)
throws AmazonServiceException, AmazonClientException;
/**
*
* Deletes an analysis scheme. For more information, see
* Configuring Analysis Schemes
* in the Amazon CloudSearch Developer Guide .
*
*
* @param deleteAnalysisSchemeRequest Container for the necessary
* parameters to execute the DeleteAnalysisScheme operation on
* AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future deleteAnalysisSchemeAsync(DeleteAnalysisSchemeRequest deleteAnalysisSchemeRequest)
throws AmazonServiceException, AmazonClientException;
/**
*
* Deletes an analysis scheme. For more information, see
* Configuring Analysis Schemes
* in the Amazon CloudSearch Developer Guide .
*
*
* @param deleteAnalysisSchemeRequest Container for the necessary
* parameters to execute the DeleteAnalysisScheme operation on
* AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future deleteAnalysisSchemeAsync(DeleteAnalysisSchemeRequest deleteAnalysisSchemeRequest,
AsyncHandler 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
.
*
*
* @param indexDocumentsRequest Container for the necessary parameters to
* execute the IndexDocuments operation on AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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
.
*
*
* @param indexDocumentsRequest Container for the necessary parameters to
* execute the IndexDocuments operation on AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future indexDocumentsAsync(IndexDocumentsRequest indexDocumentsRequest,
AsyncHandler 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 .
*
*
* @param describeSuggestersRequest Container for the necessary
* parameters to execute the DescribeSuggesters operation on
* AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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 .
*
*
* @param describeSuggestersRequest Container for the necessary
* parameters to execute the DescribeSuggesters operation on
* AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future describeSuggestersAsync(DescribeSuggestersRequest describeSuggestersRequest,
AsyncHandler 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 .
*
*
* @param updateScalingParametersRequest Container for the necessary
* parameters to execute the UpdateScalingParameters operation on
* AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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 .
*
*
* @param updateScalingParametersRequest Container for the necessary
* parameters to execute the UpdateScalingParameters operation on
* AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future updateScalingParametersAsync(UpdateScalingParametersRequest updateScalingParametersRequest,
AsyncHandler asyncHandler)
throws AmazonServiceException, AmazonClientException;
/**
*
* Lists all search domains owned by an account.
*
*
* @param listDomainNamesRequest Container for the necessary parameters
* to execute the ListDomainNames operation on AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future listDomainNamesAsync(ListDomainNamesRequest listDomainNamesRequest)
throws AmazonServiceException, AmazonClientException;
/**
*
* Lists all search domains owned by an account.
*
*
* @param listDomainNamesRequest Container for the necessary parameters
* to execute the ListDomainNames operation on AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future listDomainNamesAsync(ListDomainNamesRequest listDomainNamesRequest,
AsyncHandler 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 .
*
*
* @param defineIndexFieldRequest Container for the necessary parameters
* to execute the DefineIndexField operation on AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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 .
*
*
* @param defineIndexFieldRequest Container for the necessary parameters
* to execute the DefineIndexField operation on AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future defineIndexFieldAsync(DefineIndexFieldRequest defineIndexFieldRequest,
AsyncHandler asyncHandler)
throws AmazonServiceException, AmazonClientException;
/**
*
* Creates a new search domain. For more information, see
* Creating a Search Domain
* in the Amazon CloudSearch Developer Guide .
*
*
* @param createDomainRequest Container for the necessary parameters to
* execute the CreateDomain operation on AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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 .
*
*
* @param createDomainRequest Container for the necessary parameters to
* execute the CreateDomain operation on AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future createDomainAsync(CreateDomainRequest createDomainRequest,
AsyncHandler asyncHandler)
throws AmazonServiceException, AmazonClientException;
/**
*
* Deletes a suggester. For more information, see
* Getting Search Suggestions
* in the Amazon CloudSearch Developer Guide .
*
*
* @param deleteSuggesterRequest Container for the necessary parameters
* to execute the DeleteSuggester operation on AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future deleteSuggesterAsync(DeleteSuggesterRequest deleteSuggesterRequest)
throws AmazonServiceException, AmazonClientException;
/**
*
* Deletes a suggester. For more information, see
* Getting Search Suggestions
* in the Amazon CloudSearch Developer Guide .
*
*
* @param deleteSuggesterRequest Container for the necessary parameters
* to execute the DeleteSuggester operation on AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future deleteSuggesterAsync(DeleteSuggesterRequest deleteSuggesterRequest,
AsyncHandler asyncHandler)
throws AmazonServiceException, AmazonClientException;
/**
*
* Removes an Expression
from the search domain. For more
* information, see
* Configuring Expressions
* in the Amazon CloudSearch Developer Guide .
*
*
* @param deleteExpressionRequest Container for the necessary parameters
* to execute the DeleteExpression operation on AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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 .
*
*
* @param deleteExpressionRequest Container for the necessary parameters
* to execute the DeleteExpression operation on AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future deleteExpressionAsync(DeleteExpressionRequest deleteExpressionRequest,
AsyncHandler 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 .
*
*
* @param describeAvailabilityOptionsRequest Container for the necessary
* parameters to execute the DescribeAvailabilityOptions operation on
* AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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 .
*
*
* @param describeAvailabilityOptionsRequest Container for the necessary
* parameters to execute the DescribeAvailabilityOptions operation on
* AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future describeAvailabilityOptionsAsync(DescribeAvailabilityOptionsRequest describeAvailabilityOptionsRequest,
AsyncHandler 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 .
*
*
* @param defineAnalysisSchemeRequest Container for the necessary
* parameters to execute the DefineAnalysisScheme operation on
* AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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 .
*
*
* @param defineAnalysisSchemeRequest Container for the necessary
* parameters to execute the DefineAnalysisScheme operation on
* AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future defineAnalysisSchemeAsync(DefineAnalysisSchemeRequest defineAnalysisSchemeRequest,
AsyncHandler asyncHandler)
throws AmazonServiceException, AmazonClientException;
/**
*
* Indexes the search suggestions.
*
*
* @param buildSuggestersRequest Container for the necessary parameters
* to execute the BuildSuggesters operation on AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future buildSuggestersAsync(BuildSuggestersRequest buildSuggestersRequest)
throws AmazonServiceException, AmazonClientException;
/**
*
* Indexes the search suggestions.
*
*
* @param buildSuggestersRequest Container for the necessary parameters
* to execute the BuildSuggesters operation on AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future buildSuggestersAsync(BuildSuggestersRequest buildSuggestersRequest,
AsyncHandler 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 .
*
*
* @param describeServiceAccessPoliciesRequest Container for the
* necessary parameters to execute the DescribeServiceAccessPolicies
* operation on AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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 .
*
*
* @param describeServiceAccessPoliciesRequest Container for the
* necessary parameters to execute the DescribeServiceAccessPolicies
* operation on AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future describeServiceAccessPoliciesAsync(DescribeServiceAccessPoliciesRequest describeServiceAccessPoliciesRequest,
AsyncHandler 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 .
*
*
* @param deleteDomainRequest Container for the necessary parameters to
* execute the DeleteDomain operation on AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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 .
*
*
* @param deleteDomainRequest Container for the necessary parameters to
* execute the DeleteDomain operation on AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future deleteDomainAsync(DeleteDomainRequest deleteDomainRequest,
AsyncHandler 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 .
*
*
* @param describeExpressionsRequest Container for the necessary
* parameters to execute the DescribeExpressions operation on
* AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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 .
*
*
* @param describeExpressionsRequest Container for the necessary
* parameters to execute the DescribeExpressions operation on
* AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future describeExpressionsAsync(DescribeExpressionsRequest describeExpressionsRequest,
AsyncHandler 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. For more
* information, see
* Getting Information about a Search Domain
* in the Amazon CloudSearch Developer Guide .
*
*
* @param describeDomainsRequest Container for the necessary parameters
* to execute the DescribeDomains operation on AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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. For more
* information, see
* Getting Information about a Search Domain
* in the Amazon CloudSearch Developer Guide .
*
*
* @param describeDomainsRequest Container for the necessary parameters
* to execute the DescribeDomains operation on AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future describeDomainsAsync(DescribeDomainsRequest describeDomainsRequest,
AsyncHandler 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 .
*
*
* @param describeScalingParametersRequest Container for the necessary
* parameters to execute the DescribeScalingParameters operation on
* AmazonCloudSearchv2.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future 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 .
*
*
* @param describeScalingParametersRequest Container for the necessary
* parameters to execute the DescribeScalingParameters operation on
* AmazonCloudSearchv2.
* @param 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.
*
* @return 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.
* @throws AmazonServiceException
* If an error response is returned by AmazonCloudSearchv2 indicating
* either a problem with the data in the request, or a server side issue.
*/
public Future describeScalingParametersAsync(DescribeScalingParametersRequest describeScalingParametersRequest,
AsyncHandler asyncHandler)
throws AmazonServiceException, AmazonClientException;
}