AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Implementation for accessing CloudSearch 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonServiceClient
    Amazon.CloudSearch.AmazonCloudSearchClient

Namespace: Amazon.CloudSearch
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class AmazonCloudSearchClient : AmazonServiceClient
         IAmazonCloudSearch, IDisposable

The AmazonCloudSearchClient type exposes the following members

Constructors

NameDescription
Public Method AmazonCloudSearchClient() Constructs AmazonCloudSearchClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
             
Public Method AmazonCloudSearchClient(RegionEndpoint) Constructs AmazonCloudSearchClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
             
Public Method AmazonCloudSearchClient(AmazonCloudSearchConfig) Constructs AmazonCloudSearchClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
             
Public Method AmazonCloudSearchClient(AWSCredentials) Constructs AmazonCloudSearchClient with AWS Credentials
Public Method AmazonCloudSearchClient(AWSCredentials, RegionEndpoint) Constructs AmazonCloudSearchClient with AWS Credentials
Public Method AmazonCloudSearchClient(AWSCredentials, AmazonCloudSearchConfig) Constructs AmazonCloudSearchClient with AWS Credentials and an AmazonCloudSearchClient Configuration object.
Public Method AmazonCloudSearchClient(string, string) Constructs AmazonCloudSearchClient with AWS Access Key ID and AWS Secret Key
Public Method AmazonCloudSearchClient(string, string, RegionEndpoint) Constructs AmazonCloudSearchClient with AWS Access Key ID and AWS Secret Key
Public Method AmazonCloudSearchClient(string, string, AmazonCloudSearchConfig) Constructs AmazonCloudSearchClient with AWS Access Key ID, AWS Secret Key and an AmazonCloudSearchClient Configuration object.
Public Method AmazonCloudSearchClient(string, string, string) Constructs AmazonCloudSearchClient with AWS Access Key ID and AWS Secret Key
Public Method AmazonCloudSearchClient(string, string, string, RegionEndpoint) Constructs AmazonCloudSearchClient with AWS Access Key ID and AWS Secret Key
Public Method AmazonCloudSearchClient(string, string, string, AmazonCloudSearchConfig) Constructs AmazonCloudSearchClient with AWS Access Key ID, AWS Secret Key and an AmazonCloudSearchClient Configuration object.

Methods

NameDescription
Public Method BeginBuildSuggesters(BuildSuggestersRequest, AsyncCallback, object) Initiates the asynchronous execution of the BuildSuggesters operation.
Public Method BeginCreateDomain(CreateDomainRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateDomain operation.
Public Method BeginDefineAnalysisScheme(DefineAnalysisSchemeRequest, AsyncCallback, object) Initiates the asynchronous execution of the DefineAnalysisScheme operation.
Public Method BeginDefineExpression(DefineExpressionRequest, AsyncCallback, object) Initiates the asynchronous execution of the DefineExpression operation.
Public Method BeginDefineIndexField(DefineIndexFieldRequest, AsyncCallback, object) Initiates the asynchronous execution of the DefineIndexField operation.
Public Method BeginDefineSuggester(DefineSuggesterRequest, AsyncCallback, object) Initiates the asynchronous execution of the DefineSuggester operation.
Public Method BeginDeleteAnalysisScheme(DeleteAnalysisSchemeRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteAnalysisScheme operation.
Public Method BeginDeleteDomain(DeleteDomainRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteDomain operation.
Public Method BeginDeleteExpression(DeleteExpressionRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteExpression operation.
Public Method BeginDeleteIndexField(DeleteIndexFieldRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteIndexField operation.
Public Method BeginDeleteSuggester(DeleteSuggesterRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteSuggester operation.
Public Method BeginDescribeAnalysisSchemes(DescribeAnalysisSchemesRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeAnalysisSchemes operation.
Public Method BeginDescribeAvailabilityOptions(DescribeAvailabilityOptionsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeAvailabilityOptions operation.
Public Method BeginDescribeDomains(DescribeDomainsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeDomains operation.
Public Method BeginDescribeExpressions(DescribeExpressionsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeExpressions operation.
Public Method BeginDescribeIndexFields(DescribeIndexFieldsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeIndexFields operation.
Public Method BeginDescribeScalingParameters(DescribeScalingParametersRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeScalingParameters operation.
Public Method BeginDescribeServiceAccessPolicies(DescribeServiceAccessPoliciesRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeServiceAccessPolicies operation.
Public Method BeginDescribeSuggesters(DescribeSuggestersRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeSuggesters operation.
Public Method BeginIndexDocuments(IndexDocumentsRequest, AsyncCallback, object) Initiates the asynchronous execution of the IndexDocuments operation.
Public Method BeginListDomainNames(ListDomainNamesRequest, AsyncCallback, object) Initiates the asynchronous execution of the ListDomainNames operation.
Public Method BeginUpdateAvailabilityOptions(UpdateAvailabilityOptionsRequest, AsyncCallback, object) Initiates the asynchronous execution of the UpdateAvailabilityOptions operation.
Public Method BeginUpdateScalingParameters(UpdateScalingParametersRequest, AsyncCallback, object) Initiates the asynchronous execution of the UpdateScalingParameters operation.
Public Method BeginUpdateServiceAccessPolicies(UpdateServiceAccessPoliciesRequest, AsyncCallback, object) Initiates the asynchronous execution of the UpdateServiceAccessPolicies operation.
Public Method BuildSuggesters(BuildSuggestersRequest) Indexes the search suggestions. For more information, see Configuring Suggesters in the Amazon CloudSearch Developer Guide.
Public Method CreateDomain(CreateDomainRequest) Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide.
Public Method DefineAnalysisScheme(DefineAnalysisSchemeRequest) Configures an analysis scheme that can be applied to a text or text-array field to define language-specific text processing options. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide.
Public Method DefineExpression(DefineExpressionRequest) 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.
Public Method DefineIndexField(DefineIndexFieldRequest) 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.
Public Method DefineSuggester(DefineSuggesterRequest) 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.
Public Method DeleteAnalysisScheme(DeleteAnalysisSchemeRequest) Deletes an analysis scheme. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide.
Public Method DeleteDomain(DeleteDomainRequest) 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.
Public Method DeleteExpression(DeleteExpressionRequest) Removes an Expression from the search domain. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.
Public Method DeleteIndexField(DeleteIndexFieldRequest) Removes an IndexField from the search domain. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide.
Public Method DeleteSuggester(DeleteSuggesterRequest) Deletes a suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.
Public Method DescribeAnalysisSchemes(DescribeAnalysisSchemesRequest) 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.
Public Method DescribeAvailabilityOptions(DescribeAvailabilityOptionsRequest) 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.
Public Method DescribeDomains() Gets information about the search domains owned by this account. Can be limited to specific domains. Shows all domains by default. To get the number of searchable documents in a domain, use the console or submit a matchall request to your domain's search endpoint: q=matchall&amp;q.parser=structured&amp;size=0. For more information, see Getting Information about a Search Domain in the Amazon CloudSearch Developer Guide.
Public Method DescribeDomains(DescribeDomainsRequest) Gets information about the search domains owned by this account. Can be limited to specific domains. Shows all domains by default. To get the number of searchable documents in a domain, use the console or submit a matchall request to your domain's search endpoint: q=matchall&amp;q.parser=structured&amp;size=0. For more information, see Getting Information about a Search Domain in the Amazon CloudSearch Developer Guide.
Public Method DescribeExpressions(DescribeExpressionsRequest) 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.
Public Method DescribeIndexFields(DescribeIndexFieldsRequest) 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.
Public Method DescribeScalingParameters(DescribeScalingParametersRequest) 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.
Public Method DescribeServiceAccessPolicies(DescribeServiceAccessPoliciesRequest) 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.
Public Method DescribeSuggesters(DescribeSuggestersRequest) 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.
Public Method Dispose() Inherited from Amazon.Runtime.AmazonServiceClient.
Public Method EndBuildSuggesters(IAsyncResult) Finishes the asynchronous execution of the BuildSuggesters operation.
Public Method EndCreateDomain(IAsyncResult) Finishes the asynchronous execution of the CreateDomain operation.
Public Method EndDefineAnalysisScheme(IAsyncResult) Finishes the asynchronous execution of the DefineAnalysisScheme operation.
Public Method EndDefineExpression(IAsyncResult) Finishes the asynchronous execution of the DefineExpression operation.
Public Method EndDefineIndexField(IAsyncResult) Finishes the asynchronous execution of the DefineIndexField operation.
Public Method EndDefineSuggester(IAsyncResult) Finishes the asynchronous execution of the DefineSuggester operation.
Public Method EndDeleteAnalysisScheme(IAsyncResult) Finishes the asynchronous execution of the DeleteAnalysisScheme operation.
Public Method EndDeleteDomain(IAsyncResult) Finishes the asynchronous execution of the DeleteDomain operation.
Public Method EndDeleteExpression(IAsyncResult) Finishes the asynchronous execution of the DeleteExpression operation.
Public Method EndDeleteIndexField(IAsyncResult) Finishes the asynchronous execution of the DeleteIndexField operation.
Public Method EndDeleteSuggester(IAsyncResult) Finishes the asynchronous execution of the DeleteSuggester operation.
Public Method EndDescribeAnalysisSchemes(IAsyncResult) Finishes the asynchronous execution of the DescribeAnalysisSchemes operation.
Public Method EndDescribeAvailabilityOptions(IAsyncResult) Finishes the asynchronous execution of the DescribeAvailabilityOptions operation.
Public Method EndDescribeDomains(IAsyncResult) Finishes the asynchronous execution of the DescribeDomains operation.
Public Method EndDescribeExpressions(IAsyncResult) Finishes the asynchronous execution of the DescribeExpressions operation.
Public Method EndDescribeIndexFields(IAsyncResult) Finishes the asynchronous execution of the DescribeIndexFields operation.
Public Method EndDescribeScalingParameters(IAsyncResult) Finishes the asynchronous execution of the DescribeScalingParameters operation.
Public Method EndDescribeServiceAccessPolicies(IAsyncResult) Finishes the asynchronous execution of the DescribeServiceAccessPolicies operation.
Public Method EndDescribeSuggesters(IAsyncResult) Finishes the asynchronous execution of the DescribeSuggesters operation.
Public Method EndIndexDocuments(IAsyncResult) Finishes the asynchronous execution of the IndexDocuments operation.
Public Method EndListDomainNames(IAsyncResult) Finishes the asynchronous execution of the ListDomainNames operation.
Public Method EndUpdateAvailabilityOptions(IAsyncResult) Finishes the asynchronous execution of the UpdateAvailabilityOptions operation.
Public Method EndUpdateScalingParameters(IAsyncResult) Finishes the asynchronous execution of the UpdateScalingParameters operation.
Public Method EndUpdateServiceAccessPolicies(IAsyncResult) Finishes the asynchronous execution of the UpdateServiceAccessPolicies operation.
Public Method IndexDocuments(IndexDocumentsRequest) 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.
Public Method ListDomainNames() Lists all search domains owned by an account.
Public Method ListDomainNames(ListDomainNamesRequest) Lists all search domains owned by an account.
Public Method UpdateAvailabilityOptions(UpdateAvailabilityOptionsRequest) 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.
Public Method UpdateScalingParameters(UpdateScalingParametersRequest) 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.
Public Method UpdateServiceAccessPolicies(UpdateServiceAccessPoliciesRequest) 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.

Events

NameDescription
Event AfterResponseEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event BeforeRequestEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event ExceptionEvent Inherited from Amazon.Runtime.AmazonServiceClient.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8