|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceClient
com.amazonaws.services.cloudsearch.AmazonCloudSearchClient
com.amazonaws.services.cloudsearch.AmazonCloudSearchAsyncClient
public class AmazonCloudSearchAsyncClient
Asynchronous client for accessing AmazonCloudSearch. All asynchronous calls made using this client are non-blocking. Callers could either process the result and handle the exceptions in the worker thread by providing a callback handler when making the call, or use the returned Future object to check the result of the call in the calling thread. Amazon CloudSearch Configuration Service
You use the Configuration Service to create, configure, and manage search domains. Amazon CloudSearch configuration requests are submitted to
cloudsearch.us-east-1.amazonaws.com
using the AWS Query protocol.
Constructor Summary | |
---|---|
AmazonCloudSearchAsyncClient()
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch. |
|
AmazonCloudSearchAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials. |
|
AmazonCloudSearchAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials, executor service, and client configuration options. |
|
AmazonCloudSearchAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials and executor service. |
|
AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials provider. |
|
AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials provider and client configuration options. |
|
AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials provider, executor service, and client configuration options. |
|
AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch using the specified AWS account credentials provider and executor service. |
|
AmazonCloudSearchAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AmazonCloudSearch. |
Methods inherited from class com.amazonaws.AmazonWebServiceClient |
---|
addRequestHandler, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setRegion, setTimeOffset, withTimeOffset |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AmazonCloudSearchAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProvider
public AmazonCloudSearchAsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling how this
client connects to AmazonCloudSearch
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProvider
public AmazonCloudSearchAsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AmazonCloudSearchAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will
be executed.public AmazonCloudSearchAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).executorService
- The executor service by which all asynchronous requests will
be executed.public AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will
be executed.public AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).public AmazonCloudSearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).executorService
- The executor service by which all asynchronous requests will
be executed.Method Detail |
---|
public ExecutorService getExecutorService()
public void shutdown()
shutdown
in interface AmazonCloudSearch
shutdown
in class AmazonWebServiceClient
public Future<UpdateDefaultSearchFieldResult> updateDefaultSearchFieldAsync(UpdateDefaultSearchFieldRequest updateDefaultSearchFieldRequest) throws AmazonServiceException, AmazonClientException
Configures the default search field for the search domain. The default search field is used when a search request does not specify which fields to search. By default, it is configured to include the contents of all of the domain's text fields.
updateDefaultSearchFieldAsync
in interface AmazonCloudSearchAsync
updateDefaultSearchFieldRequest
- Container for the necessary
parameters to execute the UpdateDefaultSearchField operation on
AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateDefaultSearchFieldResult> updateDefaultSearchFieldAsync(UpdateDefaultSearchFieldRequest updateDefaultSearchFieldRequest, AsyncHandler<UpdateDefaultSearchFieldRequest,UpdateDefaultSearchFieldResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Configures the default search field for the search domain. The default search field is used when a search request does not specify which fields to search. By default, it is configured to include the contents of all of the domain's text fields.
updateDefaultSearchFieldAsync
in interface AmazonCloudSearchAsync
updateDefaultSearchFieldRequest
- Container for the necessary
parameters to execute the UpdateDefaultSearchField operation on
AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteRankExpressionResult> deleteRankExpressionAsync(DeleteRankExpressionRequest deleteRankExpressionRequest) throws AmazonServiceException, AmazonClientException
Removes a RankExpression
from the search domain.
deleteRankExpressionAsync
in interface AmazonCloudSearchAsync
deleteRankExpressionRequest
- Container for the necessary
parameters to execute the DeleteRankExpression operation on
AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteRankExpressionResult> deleteRankExpressionAsync(DeleteRankExpressionRequest deleteRankExpressionRequest, AsyncHandler<DeleteRankExpressionRequest,DeleteRankExpressionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Removes a RankExpression
from the search domain.
deleteRankExpressionAsync
in interface AmazonCloudSearchAsync
deleteRankExpressionRequest
- Container for the necessary
parameters to execute the DeleteRankExpression operation on
AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeRankExpressionsResult> describeRankExpressionsAsync(DescribeRankExpressionsRequest describeRankExpressionsRequest) throws AmazonServiceException, AmazonClientException
Gets the rank expressions configured for the search domain. Can be limited to specific rank expressions by name. Shows all rank expressions by default.
describeRankExpressionsAsync
in interface AmazonCloudSearchAsync
describeRankExpressionsRequest
- Container for the necessary
parameters to execute the DescribeRankExpressions operation on
AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeRankExpressionsResult> describeRankExpressionsAsync(DescribeRankExpressionsRequest describeRankExpressionsRequest, AsyncHandler<DescribeRankExpressionsRequest,DescribeRankExpressionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets the rank expressions configured for the search domain. Can be limited to specific rank expressions by name. Shows all rank expressions by default.
describeRankExpressionsAsync
in interface AmazonCloudSearchAsync
describeRankExpressionsRequest
- Container for the necessary
parameters to execute the DescribeRankExpressions operation on
AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDomainResult> createDomainAsync(CreateDomainRequest createDomainRequest) throws AmazonServiceException, AmazonClientException
Creates a new search domain.
createDomainAsync
in interface AmazonCloudSearchAsync
createDomainRequest
- Container for the necessary parameters to
execute the CreateDomain operation on AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDomainResult> createDomainAsync(CreateDomainRequest createDomainRequest, AsyncHandler<CreateDomainRequest,CreateDomainResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new search domain.
createDomainAsync
in interface AmazonCloudSearchAsync
createDomainRequest
- Container for the necessary parameters to
execute the CreateDomain operation on AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateServiceAccessPoliciesResult> updateServiceAccessPoliciesAsync(UpdateServiceAccessPoliciesRequest updateServiceAccessPoliciesRequest) throws AmazonServiceException, AmazonClientException
Configures the policies that control access to the domain's document and search services. The maximum size of an access policy document is 100KB.
updateServiceAccessPoliciesAsync
in interface AmazonCloudSearchAsync
updateServiceAccessPoliciesRequest
- Container for the necessary
parameters to execute the UpdateServiceAccessPolicies operation on
AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateServiceAccessPoliciesResult> updateServiceAccessPoliciesAsync(UpdateServiceAccessPoliciesRequest updateServiceAccessPoliciesRequest, AsyncHandler<UpdateServiceAccessPoliciesRequest,UpdateServiceAccessPoliciesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Configures the policies that control access to the domain's document and search services. The maximum size of an access policy document is 100KB.
updateServiceAccessPoliciesAsync
in interface AmazonCloudSearchAsync
updateServiceAccessPoliciesRequest
- Container for the necessary
parameters to execute the UpdateServiceAccessPolicies operation on
AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DefineIndexFieldResult> defineIndexFieldAsync(DefineIndexFieldRequest defineIndexFieldRequest) throws AmazonServiceException, AmazonClientException
Configures an IndexField
for the search domain. Used to
create new fields and modify existing ones. If the field exists, the
new configuration replaces the old one. You can configure a maximum of
200 index fields.
defineIndexFieldAsync
in interface AmazonCloudSearchAsync
defineIndexFieldRequest
- Container for the necessary parameters
to execute the DefineIndexField operation on AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DefineIndexFieldResult> defineIndexFieldAsync(DefineIndexFieldRequest defineIndexFieldRequest, AsyncHandler<DefineIndexFieldRequest,DefineIndexFieldResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Configures an IndexField
for the search domain. Used to
create new fields and modify existing ones. If the field exists, the
new configuration replaces the old one. You can configure a maximum of
200 index fields.
defineIndexFieldAsync
in interface AmazonCloudSearchAsync
defineIndexFieldRequest
- Container for the necessary parameters
to execute the DefineIndexField operation on AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DefineRankExpressionResult> defineRankExpressionAsync(DefineRankExpressionRequest defineRankExpressionRequest) throws AmazonServiceException, AmazonClientException
Configures a RankExpression
for the search domain. Used
to create new rank expressions and modify existing ones. If the
expression exists, the new configuration replaces the old one. You can
configure a maximum of 50 rank expressions.
defineRankExpressionAsync
in interface AmazonCloudSearchAsync
defineRankExpressionRequest
- Container for the necessary
parameters to execute the DefineRankExpression operation on
AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DefineRankExpressionResult> defineRankExpressionAsync(DefineRankExpressionRequest defineRankExpressionRequest, AsyncHandler<DefineRankExpressionRequest,DefineRankExpressionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Configures a RankExpression
for the search domain. Used
to create new rank expressions and modify existing ones. If the
expression exists, the new configuration replaces the old one. You can
configure a maximum of 50 rank expressions.
defineRankExpressionAsync
in interface AmazonCloudSearchAsync
defineRankExpressionRequest
- Container for the necessary
parameters to execute the DefineRankExpression operation on
AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSynonymOptionsResult> describeSynonymOptionsAsync(DescribeSynonymOptionsRequest describeSynonymOptionsRequest) throws AmazonServiceException, AmazonClientException
Gets the synonym dictionary configured for the search domain.
describeSynonymOptionsAsync
in interface AmazonCloudSearchAsync
describeSynonymOptionsRequest
- Container for the necessary
parameters to execute the DescribeSynonymOptions operation on
AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSynonymOptionsResult> describeSynonymOptionsAsync(DescribeSynonymOptionsRequest describeSynonymOptionsRequest, AsyncHandler<DescribeSynonymOptionsRequest,DescribeSynonymOptionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets the synonym dictionary configured for the search domain.
describeSynonymOptionsAsync
in interface AmazonCloudSearchAsync
describeSynonymOptionsRequest
- Container for the necessary
parameters to execute the DescribeSynonymOptions operation on
AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeStopwordOptionsResult> describeStopwordOptionsAsync(DescribeStopwordOptionsRequest describeStopwordOptionsRequest) throws AmazonServiceException, AmazonClientException
Gets the stopwords configured for the search domain.
describeStopwordOptionsAsync
in interface AmazonCloudSearchAsync
describeStopwordOptionsRequest
- Container for the necessary
parameters to execute the DescribeStopwordOptions operation on
AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeStopwordOptionsResult> describeStopwordOptionsAsync(DescribeStopwordOptionsRequest describeStopwordOptionsRequest, AsyncHandler<DescribeStopwordOptionsRequest,DescribeStopwordOptionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets the stopwords configured for the search domain.
describeStopwordOptionsAsync
in interface AmazonCloudSearchAsync
describeStopwordOptionsRequest
- Container for the necessary
parameters to execute the DescribeStopwordOptions operation on
AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteDomainResult> deleteDomainAsync(DeleteDomainRequest deleteDomainRequest) throws AmazonServiceException, AmazonClientException
Permanently deletes a search domain and all of its data.
deleteDomainAsync
in interface AmazonCloudSearchAsync
deleteDomainRequest
- Container for the necessary parameters to
execute the DeleteDomain operation on AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteDomainResult> deleteDomainAsync(DeleteDomainRequest deleteDomainRequest, AsyncHandler<DeleteDomainRequest,DeleteDomainResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Permanently deletes a search domain and all of its data.
deleteDomainAsync
in interface AmazonCloudSearchAsync
deleteDomainRequest
- Container for the necessary parameters to
execute the DeleteDomain operation on AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeServiceAccessPoliciesResult> describeServiceAccessPoliciesAsync(DescribeServiceAccessPoliciesRequest describeServiceAccessPoliciesRequest) throws AmazonServiceException, AmazonClientException
Gets information about the resource-based policies that control access to the domain's document and search services.
describeServiceAccessPoliciesAsync
in interface AmazonCloudSearchAsync
describeServiceAccessPoliciesRequest
- Container for the
necessary parameters to execute the DescribeServiceAccessPolicies
operation on AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeServiceAccessPoliciesResult> describeServiceAccessPoliciesAsync(DescribeServiceAccessPoliciesRequest describeServiceAccessPoliciesRequest, AsyncHandler<DescribeServiceAccessPoliciesRequest,DescribeServiceAccessPoliciesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about the resource-based policies that control access to the domain's document and search services.
describeServiceAccessPoliciesAsync
in interface AmazonCloudSearchAsync
describeServiceAccessPoliciesRequest
- Container for the
necessary parameters to execute the DescribeServiceAccessPolicies
operation on AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeDefaultSearchFieldResult> describeDefaultSearchFieldAsync(DescribeDefaultSearchFieldRequest describeDefaultSearchFieldRequest) throws AmazonServiceException, AmazonClientException
Gets the default search field configured for the search domain.
describeDefaultSearchFieldAsync
in interface AmazonCloudSearchAsync
describeDefaultSearchFieldRequest
- Container for the necessary
parameters to execute the DescribeDefaultSearchField operation on
AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeDefaultSearchFieldResult> describeDefaultSearchFieldAsync(DescribeDefaultSearchFieldRequest describeDefaultSearchFieldRequest, AsyncHandler<DescribeDefaultSearchFieldRequest,DescribeDefaultSearchFieldResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets the default search field configured for the search domain.
describeDefaultSearchFieldAsync
in interface AmazonCloudSearchAsync
describeDefaultSearchFieldRequest
- Container for the necessary
parameters to execute the DescribeDefaultSearchField operation on
AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateStopwordOptionsResult> updateStopwordOptionsAsync(UpdateStopwordOptionsRequest updateStopwordOptionsRequest) throws AmazonServiceException, AmazonClientException
Configures stopwords for the search domain. Stopwords are used during indexing and when processing search requests. The maximum size of the stopwords dictionary is 10KB.
updateStopwordOptionsAsync
in interface AmazonCloudSearchAsync
updateStopwordOptionsRequest
- Container for the necessary
parameters to execute the UpdateStopwordOptions operation on
AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateStopwordOptionsResult> updateStopwordOptionsAsync(UpdateStopwordOptionsRequest updateStopwordOptionsRequest, AsyncHandler<UpdateStopwordOptionsRequest,UpdateStopwordOptionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Configures stopwords for the search domain. Stopwords are used during indexing and when processing search requests. The maximum size of the stopwords dictionary is 10KB.
updateStopwordOptionsAsync
in interface AmazonCloudSearchAsync
updateStopwordOptionsRequest
- Container for the necessary
parameters to execute the UpdateStopwordOptions operation on
AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateSynonymOptionsResult> updateSynonymOptionsAsync(UpdateSynonymOptionsRequest updateSynonymOptionsRequest) throws AmazonServiceException, AmazonClientException
Configures a synonym dictionary for the search domain. The synonym dictionary is used during indexing to configure mappings for terms that occur in text fields. The maximum size of the synonym dictionary is 100KB.
updateSynonymOptionsAsync
in interface AmazonCloudSearchAsync
updateSynonymOptionsRequest
- Container for the necessary
parameters to execute the UpdateSynonymOptions operation on
AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateSynonymOptionsResult> updateSynonymOptionsAsync(UpdateSynonymOptionsRequest updateSynonymOptionsRequest, AsyncHandler<UpdateSynonymOptionsRequest,UpdateSynonymOptionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Configures a synonym dictionary for the search domain. The synonym dictionary is used during indexing to configure mappings for terms that occur in text fields. The maximum size of the synonym dictionary is 100KB.
updateSynonymOptionsAsync
in interface AmazonCloudSearchAsync
updateSynonymOptionsRequest
- Container for the necessary
parameters to execute the UpdateSynonymOptions operation on
AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateStemmingOptionsResult> updateStemmingOptionsAsync(UpdateStemmingOptionsRequest updateStemmingOptionsRequest) throws AmazonServiceException, AmazonClientException
Configures a stemming dictionary for the search domain. The stemming dictionary is used during indexing and when processing search requests. The maximum size of the stemming dictionary is 500KB.
updateStemmingOptionsAsync
in interface AmazonCloudSearchAsync
updateStemmingOptionsRequest
- Container for the necessary
parameters to execute the UpdateStemmingOptions operation on
AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateStemmingOptionsResult> updateStemmingOptionsAsync(UpdateStemmingOptionsRequest updateStemmingOptionsRequest, AsyncHandler<UpdateStemmingOptionsRequest,UpdateStemmingOptionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Configures a stemming dictionary for the search domain. The stemming dictionary is used during indexing and when processing search requests. The maximum size of the stemming dictionary is 500KB.
updateStemmingOptionsAsync
in interface AmazonCloudSearchAsync
updateStemmingOptionsRequest
- Container for the necessary
parameters to execute the UpdateStemmingOptions operation on
AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeStemmingOptionsResult> describeStemmingOptionsAsync(DescribeStemmingOptionsRequest describeStemmingOptionsRequest) throws AmazonServiceException, AmazonClientException
Gets the stemming dictionary configured for the search domain.
describeStemmingOptionsAsync
in interface AmazonCloudSearchAsync
describeStemmingOptionsRequest
- Container for the necessary
parameters to execute the DescribeStemmingOptions operation on
AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeStemmingOptionsResult> describeStemmingOptionsAsync(DescribeStemmingOptionsRequest describeStemmingOptionsRequest, AsyncHandler<DescribeStemmingOptionsRequest,DescribeStemmingOptionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets the stemming dictionary configured for the search domain.
describeStemmingOptionsAsync
in interface AmazonCloudSearchAsync
describeStemmingOptionsRequest
- Container for the necessary
parameters to execute the DescribeStemmingOptions operation on
AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.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.
describeDomainsAsync
in interface AmazonCloudSearchAsync
describeDomainsRequest
- Container for the necessary parameters
to execute the DescribeDomains operation on AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.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.
describeDomainsAsync
in interface AmazonCloudSearchAsync
describeDomainsRequest
- Container for the necessary parameters
to execute the DescribeDomains operation on AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<IndexDocumentsResult> indexDocumentsAsync(IndexDocumentsRequest indexDocumentsRequest) throws AmazonServiceException, AmazonClientException
Tells the search domain to start indexing its documents using the
latest text processing options and IndexFields
. This
operation must be invoked to make options whose OptionStatus has
OptionState
of RequiresIndexDocuments
visible in search results.
indexDocumentsAsync
in interface AmazonCloudSearchAsync
indexDocumentsRequest
- Container for the necessary parameters to
execute the IndexDocuments operation on AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<IndexDocumentsResult> indexDocumentsAsync(IndexDocumentsRequest indexDocumentsRequest, AsyncHandler<IndexDocumentsRequest,IndexDocumentsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Tells the search domain to start indexing its documents using the
latest text processing options and IndexFields
. This
operation must be invoked to make options whose OptionStatus has
OptionState
of RequiresIndexDocuments
visible in search results.
indexDocumentsAsync
in interface AmazonCloudSearchAsync
indexDocumentsRequest
- Container for the necessary parameters to
execute the IndexDocuments operation on AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeIndexFieldsResult> describeIndexFieldsAsync(DescribeIndexFieldsRequest describeIndexFieldsRequest) throws AmazonServiceException, AmazonClientException
Gets information about the index fields configured for the search domain. Can be limited to specific fields by name. Shows all fields by default.
describeIndexFieldsAsync
in interface AmazonCloudSearchAsync
describeIndexFieldsRequest
- Container for the necessary
parameters to execute the DescribeIndexFields operation on
AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeIndexFieldsResult> describeIndexFieldsAsync(DescribeIndexFieldsRequest describeIndexFieldsRequest, AsyncHandler<DescribeIndexFieldsRequest,DescribeIndexFieldsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets information about the index fields configured for the search domain. Can be limited to specific fields by name. Shows all fields by default.
describeIndexFieldsAsync
in interface AmazonCloudSearchAsync
describeIndexFieldsRequest
- Container for the necessary
parameters to execute the DescribeIndexFields operation on
AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteIndexFieldResult> deleteIndexFieldAsync(DeleteIndexFieldRequest deleteIndexFieldRequest) throws AmazonServiceException, AmazonClientException
Removes an IndexField
from the search domain.
deleteIndexFieldAsync
in interface AmazonCloudSearchAsync
deleteIndexFieldRequest
- Container for the necessary parameters
to execute the DeleteIndexField operation on AmazonCloudSearch.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteIndexFieldResult> deleteIndexFieldAsync(DeleteIndexFieldRequest deleteIndexFieldRequest, AsyncHandler<DeleteIndexFieldRequest,DeleteIndexFieldResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Removes an IndexField
from the search domain.
deleteIndexFieldAsync
in interface AmazonCloudSearchAsync
deleteIndexFieldRequest
- Container for the necessary parameters
to execute the DeleteIndexField operation on AmazonCloudSearch.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudSearch indicating
either a problem with the data in the request, or a server side issue.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |