/* * Copyright 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. */ /* * Do not modify this file. This file is generated from the cloudsearch-2013-01-01.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.CloudSearch.Model; using Amazon.CloudSearch.Model.Internal.MarshallTransformations; using Amazon.CloudSearch.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.CloudSearch { /// /// 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. /// /// public partial class AmazonCloudSearchClient : AmazonServiceClient, IAmazonCloudSearch { private static IServiceMetadata serviceMetadata = new AmazonCloudSearchMetadata(); #region Constructors /// /// 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 AmazonCloudSearchClient() : base(FallbackCredentialsFactory.GetCredentials(), new 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> /// /// /// /// The region to connect. public AmazonCloudSearchClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonCloudSearchConfig{RegionEndpoint = region}) { } /// /// 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> /// /// /// /// The AmazonCloudSearchClient Configuration Object public AmazonCloudSearchClient(AmazonCloudSearchConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonCloudSearchClient with AWS Credentials /// /// AWS Credentials public AmazonCloudSearchClient(AWSCredentials credentials) : this(credentials, new AmazonCloudSearchConfig()) { } /// /// Constructs AmazonCloudSearchClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonCloudSearchClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonCloudSearchConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCloudSearchClient with AWS Credentials and an /// AmazonCloudSearchClient Configuration object. /// /// AWS Credentials /// The AmazonCloudSearchClient Configuration Object public AmazonCloudSearchClient(AWSCredentials credentials, AmazonCloudSearchConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonCloudSearchClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonCloudSearchClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonCloudSearchConfig()) { } /// /// Constructs AmazonCloudSearchClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonCloudSearchClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonCloudSearchConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonCloudSearchClient with AWS Access Key ID, AWS Secret Key and an /// AmazonCloudSearchClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonCloudSearchClient Configuration Object public AmazonCloudSearchClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonCloudSearchConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonCloudSearchClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonCloudSearchClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCloudSearchConfig()) { } /// /// Constructs AmazonCloudSearchClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonCloudSearchClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCloudSearchConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCloudSearchClient with AWS Access Key ID, AWS Secret Key and an /// AmazonCloudSearchClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonCloudSearchClient Configuration Object public AmazonCloudSearchClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCloudSearchConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonCloudSearchEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region BuildSuggesters /// /// Indexes the search suggestions. For more information, see Configuring /// Suggesters in the Amazon CloudSearch Developer Guide. /// /// Container for the necessary parameters to execute the BuildSuggesters service method. /// /// The response from the BuildSuggesters service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// /// The request was rejected because it has invalid parameters. /// /// REST API Reference for BuildSuggesters Operation public virtual BuildSuggestersResponse BuildSuggesters(BuildSuggestersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BuildSuggestersRequestMarshaller.Instance; options.ResponseUnmarshaller = BuildSuggestersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BuildSuggesters operation. /// /// /// Container for the necessary parameters to execute the BuildSuggesters operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBuildSuggesters /// operation. /// REST API Reference for BuildSuggesters Operation public virtual IAsyncResult BeginBuildSuggesters(BuildSuggestersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BuildSuggestersRequestMarshaller.Instance; options.ResponseUnmarshaller = BuildSuggestersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BuildSuggesters operation. /// /// /// The IAsyncResult returned by the call to BeginBuildSuggesters. /// /// Returns a BuildSuggestersResult from CloudSearch. /// REST API Reference for BuildSuggesters Operation public virtual BuildSuggestersResponse EndBuildSuggesters(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateDomain /// /// Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer /// Guide. /// /// Container for the necessary parameters to execute the CreateDomain service method. /// /// The response from the CreateDomain service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because a resource limit has already been met. /// /// /// The request was rejected because it attempted to create a resource that already exists. /// /// /// The request was rejected because it has invalid parameters. /// /// REST API Reference for CreateDomain Operation public virtual CreateDomainResponse CreateDomain(CreateDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDomain operation. /// /// /// Container for the necessary parameters to execute the CreateDomain operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDomain /// operation. /// REST API Reference for CreateDomain Operation public virtual IAsyncResult BeginCreateDomain(CreateDomainRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDomainResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDomain operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDomain. /// /// Returns a CreateDomainResult from CloudSearch. /// REST API Reference for CreateDomain Operation public virtual CreateDomainResponse EndCreateDomain(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DefineAnalysisScheme /// /// 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. /// /// Container for the necessary parameters to execute the DefineAnalysisScheme service method. /// /// The response from the DefineAnalysisScheme service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it specified an invalid type definition. /// /// /// The request was rejected because a resource limit has already been met. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// /// The request was rejected because it has invalid parameters. /// /// REST API Reference for DefineAnalysisScheme Operation public virtual DefineAnalysisSchemeResponse DefineAnalysisScheme(DefineAnalysisSchemeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DefineAnalysisSchemeRequestMarshaller.Instance; options.ResponseUnmarshaller = DefineAnalysisSchemeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DefineAnalysisScheme operation. /// /// /// Container for the necessary parameters to execute the DefineAnalysisScheme operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDefineAnalysisScheme /// operation. /// REST API Reference for DefineAnalysisScheme Operation public virtual IAsyncResult BeginDefineAnalysisScheme(DefineAnalysisSchemeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DefineAnalysisSchemeRequestMarshaller.Instance; options.ResponseUnmarshaller = DefineAnalysisSchemeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DefineAnalysisScheme operation. /// /// /// The IAsyncResult returned by the call to BeginDefineAnalysisScheme. /// /// Returns a DefineAnalysisSchemeResult from CloudSearch. /// REST API Reference for DefineAnalysisScheme Operation public virtual DefineAnalysisSchemeResponse EndDefineAnalysisScheme(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DefineExpression /// /// 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. /// /// Container for the necessary parameters to execute the DefineExpression service method. /// /// The response from the DefineExpression service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it specified an invalid type definition. /// /// /// The request was rejected because a resource limit has already been met. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// /// The request was rejected because it has invalid parameters. /// /// REST API Reference for DefineExpression Operation public virtual DefineExpressionResponse DefineExpression(DefineExpressionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DefineExpressionRequestMarshaller.Instance; options.ResponseUnmarshaller = DefineExpressionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DefineExpression operation. /// /// /// Container for the necessary parameters to execute the DefineExpression operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDefineExpression /// operation. /// REST API Reference for DefineExpression Operation public virtual IAsyncResult BeginDefineExpression(DefineExpressionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DefineExpressionRequestMarshaller.Instance; options.ResponseUnmarshaller = DefineExpressionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DefineExpression operation. /// /// /// The IAsyncResult returned by the call to BeginDefineExpression. /// /// Returns a DefineExpressionResult from CloudSearch. /// REST API Reference for DefineExpression Operation public virtual DefineExpressionResponse EndDefineExpression(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DefineIndexField /// /// 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. /// /// Container for the necessary parameters to execute the DefineIndexField service method. /// /// The response from the DefineIndexField service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it specified an invalid type definition. /// /// /// The request was rejected because a resource limit has already been met. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// /// The request was rejected because it has invalid parameters. /// /// REST API Reference for DefineIndexField Operation public virtual DefineIndexFieldResponse DefineIndexField(DefineIndexFieldRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DefineIndexFieldRequestMarshaller.Instance; options.ResponseUnmarshaller = DefineIndexFieldResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DefineIndexField operation. /// /// /// Container for the necessary parameters to execute the DefineIndexField operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDefineIndexField /// operation. /// REST API Reference for DefineIndexField Operation public virtual IAsyncResult BeginDefineIndexField(DefineIndexFieldRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DefineIndexFieldRequestMarshaller.Instance; options.ResponseUnmarshaller = DefineIndexFieldResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DefineIndexField operation. /// /// /// The IAsyncResult returned by the call to BeginDefineIndexField. /// /// Returns a DefineIndexFieldResult from CloudSearch. /// REST API Reference for DefineIndexField Operation public virtual DefineIndexFieldResponse EndDefineIndexField(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DefineSuggester /// /// 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. /// /// Container for the necessary parameters to execute the DefineSuggester service method. /// /// The response from the DefineSuggester service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it specified an invalid type definition. /// /// /// The request was rejected because a resource limit has already been met. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// /// The request was rejected because it has invalid parameters. /// /// REST API Reference for DefineSuggester Operation public virtual DefineSuggesterResponse DefineSuggester(DefineSuggesterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DefineSuggesterRequestMarshaller.Instance; options.ResponseUnmarshaller = DefineSuggesterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DefineSuggester operation. /// /// /// Container for the necessary parameters to execute the DefineSuggester operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDefineSuggester /// operation. /// REST API Reference for DefineSuggester Operation public virtual IAsyncResult BeginDefineSuggester(DefineSuggesterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DefineSuggesterRequestMarshaller.Instance; options.ResponseUnmarshaller = DefineSuggesterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DefineSuggester operation. /// /// /// The IAsyncResult returned by the call to BeginDefineSuggester. /// /// Returns a DefineSuggesterResult from CloudSearch. /// REST API Reference for DefineSuggester Operation public virtual DefineSuggesterResponse EndDefineSuggester(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteAnalysisScheme /// /// Deletes an analysis scheme. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer /// Guide. /// /// Container for the necessary parameters to execute the DeleteAnalysisScheme service method. /// /// The response from the DeleteAnalysisScheme service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it specified an invalid type definition. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// /// The request was rejected because it has invalid parameters. /// /// REST API Reference for DeleteAnalysisScheme Operation public virtual DeleteAnalysisSchemeResponse DeleteAnalysisScheme(DeleteAnalysisSchemeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAnalysisSchemeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAnalysisSchemeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteAnalysisScheme operation. /// /// /// Container for the necessary parameters to execute the DeleteAnalysisScheme operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAnalysisScheme /// operation. /// REST API Reference for DeleteAnalysisScheme Operation public virtual IAsyncResult BeginDeleteAnalysisScheme(DeleteAnalysisSchemeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAnalysisSchemeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAnalysisSchemeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteAnalysisScheme operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAnalysisScheme. /// /// Returns a DeleteAnalysisSchemeResult from CloudSearch. /// REST API Reference for DeleteAnalysisScheme Operation public virtual DeleteAnalysisSchemeResponse EndDeleteAnalysisScheme(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteDomain /// /// 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. /// /// Container for the necessary parameters to execute the DeleteDomain service method. /// /// The response from the DeleteDomain service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// REST API Reference for DeleteDomain Operation public virtual DeleteDomainResponse DeleteDomain(DeleteDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteDomain operation. /// /// /// Container for the necessary parameters to execute the DeleteDomain operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDomain /// operation. /// REST API Reference for DeleteDomain Operation public virtual IAsyncResult BeginDeleteDomain(DeleteDomainRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDomainResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteDomain operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDomain. /// /// Returns a DeleteDomainResult from CloudSearch. /// REST API Reference for DeleteDomain Operation public virtual DeleteDomainResponse EndDeleteDomain(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteExpression /// /// Removes an Expression from the search domain. For more information, /// see Configuring Expressions in the Amazon CloudSearch Developer /// Guide. /// /// Container for the necessary parameters to execute the DeleteExpression service method. /// /// The response from the DeleteExpression service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it specified an invalid type definition. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// /// The request was rejected because it has invalid parameters. /// /// REST API Reference for DeleteExpression Operation public virtual DeleteExpressionResponse DeleteExpression(DeleteExpressionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteExpressionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteExpressionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteExpression operation. /// /// /// Container for the necessary parameters to execute the DeleteExpression operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteExpression /// operation. /// REST API Reference for DeleteExpression Operation public virtual IAsyncResult BeginDeleteExpression(DeleteExpressionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteExpressionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteExpressionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteExpression operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteExpression. /// /// Returns a DeleteExpressionResult from CloudSearch. /// REST API Reference for DeleteExpression Operation public virtual DeleteExpressionResponse EndDeleteExpression(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteIndexField /// /// Removes an IndexField from the search domain. For more information, /// see Configuring Index Fields in the Amazon CloudSearch Developer /// Guide. /// /// Container for the necessary parameters to execute the DeleteIndexField service method. /// /// The response from the DeleteIndexField service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it specified an invalid type definition. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// /// The request was rejected because it has invalid parameters. /// /// REST API Reference for DeleteIndexField Operation public virtual DeleteIndexFieldResponse DeleteIndexField(DeleteIndexFieldRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIndexFieldRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIndexFieldResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteIndexField operation. /// /// /// Container for the necessary parameters to execute the DeleteIndexField operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteIndexField /// operation. /// REST API Reference for DeleteIndexField Operation public virtual IAsyncResult BeginDeleteIndexField(DeleteIndexFieldRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIndexFieldRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIndexFieldResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteIndexField operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteIndexField. /// /// Returns a DeleteIndexFieldResult from CloudSearch. /// REST API Reference for DeleteIndexField Operation public virtual DeleteIndexFieldResponse EndDeleteIndexField(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteSuggester /// /// Deletes a suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer /// Guide. /// /// Container for the necessary parameters to execute the DeleteSuggester service method. /// /// The response from the DeleteSuggester service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it specified an invalid type definition. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// /// The request was rejected because it has invalid parameters. /// /// REST API Reference for DeleteSuggester Operation public virtual DeleteSuggesterResponse DeleteSuggester(DeleteSuggesterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSuggesterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSuggesterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteSuggester operation. /// /// /// Container for the necessary parameters to execute the DeleteSuggester operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSuggester /// operation. /// REST API Reference for DeleteSuggester Operation public virtual IAsyncResult BeginDeleteSuggester(DeleteSuggesterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSuggesterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSuggesterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSuggester operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSuggester. /// /// Returns a DeleteSuggesterResult from CloudSearch. /// REST API Reference for DeleteSuggester Operation public virtual DeleteSuggesterResponse EndDeleteSuggester(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeAnalysisSchemes /// /// 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. /// /// Container for the necessary parameters to execute the DescribeAnalysisSchemes service method. /// /// The response from the DescribeAnalysisSchemes service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// REST API Reference for DescribeAnalysisSchemes Operation public virtual DescribeAnalysisSchemesResponse DescribeAnalysisSchemes(DescribeAnalysisSchemesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAnalysisSchemesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAnalysisSchemesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeAnalysisSchemes operation. /// /// /// Container for the necessary parameters to execute the DescribeAnalysisSchemes operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAnalysisSchemes /// operation. /// REST API Reference for DescribeAnalysisSchemes Operation public virtual IAsyncResult BeginDescribeAnalysisSchemes(DescribeAnalysisSchemesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAnalysisSchemesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAnalysisSchemesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeAnalysisSchemes operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAnalysisSchemes. /// /// Returns a DescribeAnalysisSchemesResult from CloudSearch. /// REST API Reference for DescribeAnalysisSchemes Operation public virtual DescribeAnalysisSchemesResponse EndDescribeAnalysisSchemes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeAvailabilityOptions /// /// 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. /// /// Container for the necessary parameters to execute the DescribeAvailabilityOptions service method. /// /// The response from the DescribeAvailabilityOptions service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// The request was rejected because it attempted an operation which is not enabled. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it specified an invalid type definition. /// /// /// The request was rejected because a resource limit has already been met. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// REST API Reference for DescribeAvailabilityOptions Operation public virtual DescribeAvailabilityOptionsResponse DescribeAvailabilityOptions(DescribeAvailabilityOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAvailabilityOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAvailabilityOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeAvailabilityOptions operation. /// /// /// Container for the necessary parameters to execute the DescribeAvailabilityOptions operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAvailabilityOptions /// operation. /// REST API Reference for DescribeAvailabilityOptions Operation public virtual IAsyncResult BeginDescribeAvailabilityOptions(DescribeAvailabilityOptionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAvailabilityOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAvailabilityOptionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeAvailabilityOptions operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAvailabilityOptions. /// /// Returns a DescribeAvailabilityOptionsResult from CloudSearch. /// REST API Reference for DescribeAvailabilityOptions Operation public virtual DescribeAvailabilityOptionsResponse EndDescribeAvailabilityOptions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeDomainEndpointOptions /// /// Returns the domain's endpoint options, specifically whether all requests to the domain /// must arrive over HTTPS. For more information, see Configuring Domain Endpoint Options in the Amazon CloudSearch /// Developer Guide. /// /// Container for the necessary parameters to execute the DescribeDomainEndpointOptions service method. /// /// The response from the DescribeDomainEndpointOptions service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// The request was rejected because it attempted an operation which is not enabled. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because a resource limit has already been met. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// REST API Reference for DescribeDomainEndpointOptions Operation public virtual DescribeDomainEndpointOptionsResponse DescribeDomainEndpointOptions(DescribeDomainEndpointOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDomainEndpointOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDomainEndpointOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeDomainEndpointOptions operation. /// /// /// Container for the necessary parameters to execute the DescribeDomainEndpointOptions operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDomainEndpointOptions /// operation. /// REST API Reference for DescribeDomainEndpointOptions Operation public virtual IAsyncResult BeginDescribeDomainEndpointOptions(DescribeDomainEndpointOptionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDomainEndpointOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDomainEndpointOptionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDomainEndpointOptions operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDomainEndpointOptions. /// /// Returns a DescribeDomainEndpointOptionsResult from CloudSearch. /// REST API Reference for DescribeDomainEndpointOptions Operation public virtual DescribeDomainEndpointOptionsResponse EndDescribeDomainEndpointOptions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region 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. /// /// /// The response from the DescribeDomains service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// REST API Reference for DescribeDomains Operation public virtual DescribeDomainsResponse DescribeDomains() { return DescribeDomains(new 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. /// /// Container for the necessary parameters to execute the DescribeDomains service method. /// /// The response from the DescribeDomains service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// REST API Reference for DescribeDomains Operation public virtual DescribeDomainsResponse DescribeDomains(DescribeDomainsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDomainsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDomainsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeDomains operation. /// /// /// Container for the necessary parameters to execute the DescribeDomains operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDomains /// operation. /// REST API Reference for DescribeDomains Operation public virtual IAsyncResult BeginDescribeDomains(DescribeDomainsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDomainsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDomainsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDomains operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDomains. /// /// Returns a DescribeDomainsResult from CloudSearch. /// REST API Reference for DescribeDomains Operation public virtual DescribeDomainsResponse EndDescribeDomains(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeExpressions /// /// 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. /// /// Container for the necessary parameters to execute the DescribeExpressions service method. /// /// The response from the DescribeExpressions service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// REST API Reference for DescribeExpressions Operation public virtual DescribeExpressionsResponse DescribeExpressions(DescribeExpressionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeExpressionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeExpressionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeExpressions operation. /// /// /// Container for the necessary parameters to execute the DescribeExpressions operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeExpressions /// operation. /// REST API Reference for DescribeExpressions Operation public virtual IAsyncResult BeginDescribeExpressions(DescribeExpressionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeExpressionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeExpressionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeExpressions operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeExpressions. /// /// Returns a DescribeExpressionsResult from CloudSearch. /// REST API Reference for DescribeExpressions Operation public virtual DescribeExpressionsResponse EndDescribeExpressions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeIndexFields /// /// 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. /// /// Container for the necessary parameters to execute the DescribeIndexFields service method. /// /// The response from the DescribeIndexFields service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// REST API Reference for DescribeIndexFields Operation public virtual DescribeIndexFieldsResponse DescribeIndexFields(DescribeIndexFieldsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIndexFieldsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIndexFieldsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeIndexFields operation. /// /// /// Container for the necessary parameters to execute the DescribeIndexFields operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeIndexFields /// operation. /// REST API Reference for DescribeIndexFields Operation public virtual IAsyncResult BeginDescribeIndexFields(DescribeIndexFieldsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIndexFieldsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIndexFieldsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeIndexFields operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeIndexFields. /// /// Returns a DescribeIndexFieldsResult from CloudSearch. /// REST API Reference for DescribeIndexFields Operation public virtual DescribeIndexFieldsResponse EndDescribeIndexFields(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeScalingParameters /// /// 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. /// /// Container for the necessary parameters to execute the DescribeScalingParameters service method. /// /// The response from the DescribeScalingParameters service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// REST API Reference for DescribeScalingParameters Operation public virtual DescribeScalingParametersResponse DescribeScalingParameters(DescribeScalingParametersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeScalingParametersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeScalingParametersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeScalingParameters operation. /// /// /// Container for the necessary parameters to execute the DescribeScalingParameters operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeScalingParameters /// operation. /// REST API Reference for DescribeScalingParameters Operation public virtual IAsyncResult BeginDescribeScalingParameters(DescribeScalingParametersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeScalingParametersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeScalingParametersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeScalingParameters operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeScalingParameters. /// /// Returns a DescribeScalingParametersResult from CloudSearch. /// REST API Reference for DescribeScalingParameters Operation public virtual DescribeScalingParametersResponse EndDescribeScalingParameters(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeServiceAccessPolicies /// /// 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. /// /// Container for the necessary parameters to execute the DescribeServiceAccessPolicies service method. /// /// The response from the DescribeServiceAccessPolicies service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// REST API Reference for DescribeServiceAccessPolicies Operation public virtual DescribeServiceAccessPoliciesResponse DescribeServiceAccessPolicies(DescribeServiceAccessPoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeServiceAccessPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeServiceAccessPoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeServiceAccessPolicies operation. /// /// /// Container for the necessary parameters to execute the DescribeServiceAccessPolicies operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeServiceAccessPolicies /// operation. /// REST API Reference for DescribeServiceAccessPolicies Operation public virtual IAsyncResult BeginDescribeServiceAccessPolicies(DescribeServiceAccessPoliciesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeServiceAccessPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeServiceAccessPoliciesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeServiceAccessPolicies operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeServiceAccessPolicies. /// /// Returns a DescribeServiceAccessPoliciesResult from CloudSearch. /// REST API Reference for DescribeServiceAccessPolicies Operation public virtual DescribeServiceAccessPoliciesResponse EndDescribeServiceAccessPolicies(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeSuggesters /// /// 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. /// /// Container for the necessary parameters to execute the DescribeSuggesters service method. /// /// The response from the DescribeSuggesters service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// REST API Reference for DescribeSuggesters Operation public virtual DescribeSuggestersResponse DescribeSuggesters(DescribeSuggestersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSuggestersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSuggestersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeSuggesters operation. /// /// /// Container for the necessary parameters to execute the DescribeSuggesters operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeSuggesters /// operation. /// REST API Reference for DescribeSuggesters Operation public virtual IAsyncResult BeginDescribeSuggesters(DescribeSuggestersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSuggestersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSuggestersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeSuggesters operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeSuggesters. /// /// Returns a DescribeSuggestersResult from CloudSearch. /// REST API Reference for DescribeSuggesters Operation public virtual DescribeSuggestersResponse EndDescribeSuggesters(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region IndexDocuments /// /// 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. /// /// Container for the necessary parameters to execute the IndexDocuments service method. /// /// The response from the IndexDocuments service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// /// The request was rejected because it has invalid parameters. /// /// REST API Reference for IndexDocuments Operation public virtual IndexDocumentsResponse IndexDocuments(IndexDocumentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = IndexDocumentsRequestMarshaller.Instance; options.ResponseUnmarshaller = IndexDocumentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the IndexDocuments operation. /// /// /// Container for the necessary parameters to execute the IndexDocuments operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndIndexDocuments /// operation. /// REST API Reference for IndexDocuments Operation public virtual IAsyncResult BeginIndexDocuments(IndexDocumentsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = IndexDocumentsRequestMarshaller.Instance; options.ResponseUnmarshaller = IndexDocumentsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the IndexDocuments operation. /// /// /// The IAsyncResult returned by the call to BeginIndexDocuments. /// /// Returns a IndexDocumentsResult from CloudSearch. /// REST API Reference for IndexDocuments Operation public virtual IndexDocumentsResponse EndIndexDocuments(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDomainNames /// /// Lists all search domains owned by an account. /// /// /// The response from the ListDomainNames service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// REST API Reference for ListDomainNames Operation public virtual ListDomainNamesResponse ListDomainNames() { return ListDomainNames(new ListDomainNamesRequest()); } /// /// Lists all search domains owned by an account. /// /// Container for the necessary parameters to execute the ListDomainNames service method. /// /// The response from the ListDomainNames service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// REST API Reference for ListDomainNames Operation public virtual ListDomainNamesResponse ListDomainNames(ListDomainNamesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDomainNamesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDomainNamesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDomainNames operation. /// /// /// Container for the necessary parameters to execute the ListDomainNames operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDomainNames /// operation. /// REST API Reference for ListDomainNames Operation public virtual IAsyncResult BeginListDomainNames(ListDomainNamesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDomainNamesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDomainNamesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDomainNames operation. /// /// /// The IAsyncResult returned by the call to BeginListDomainNames. /// /// Returns a ListDomainNamesResult from CloudSearch. /// REST API Reference for ListDomainNames Operation public virtual ListDomainNamesResponse EndListDomainNames(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateAvailabilityOptions /// /// 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. /// /// Container for the necessary parameters to execute the UpdateAvailabilityOptions service method. /// /// The response from the UpdateAvailabilityOptions service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// The request was rejected because it attempted an operation which is not enabled. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it specified an invalid type definition. /// /// /// The request was rejected because a resource limit has already been met. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// /// The request was rejected because it has invalid parameters. /// /// REST API Reference for UpdateAvailabilityOptions Operation public virtual UpdateAvailabilityOptionsResponse UpdateAvailabilityOptions(UpdateAvailabilityOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAvailabilityOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAvailabilityOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateAvailabilityOptions operation. /// /// /// Container for the necessary parameters to execute the UpdateAvailabilityOptions operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateAvailabilityOptions /// operation. /// REST API Reference for UpdateAvailabilityOptions Operation public virtual IAsyncResult BeginUpdateAvailabilityOptions(UpdateAvailabilityOptionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAvailabilityOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAvailabilityOptionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateAvailabilityOptions operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateAvailabilityOptions. /// /// Returns a UpdateAvailabilityOptionsResult from CloudSearch. /// REST API Reference for UpdateAvailabilityOptions Operation public virtual UpdateAvailabilityOptionsResponse EndUpdateAvailabilityOptions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateDomainEndpointOptions /// /// Updates the domain's endpoint options, specifically whether all requests to the domain /// must arrive over HTTPS. For more information, see Configuring Domain Endpoint Options in the Amazon CloudSearch /// Developer Guide. /// /// Container for the necessary parameters to execute the UpdateDomainEndpointOptions service method. /// /// The response from the UpdateDomainEndpointOptions service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// The request was rejected because it attempted an operation which is not enabled. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it specified an invalid type definition. /// /// /// The request was rejected because a resource limit has already been met. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// /// The request was rejected because it has invalid parameters. /// /// REST API Reference for UpdateDomainEndpointOptions Operation public virtual UpdateDomainEndpointOptionsResponse UpdateDomainEndpointOptions(UpdateDomainEndpointOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDomainEndpointOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDomainEndpointOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateDomainEndpointOptions operation. /// /// /// Container for the necessary parameters to execute the UpdateDomainEndpointOptions operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDomainEndpointOptions /// operation. /// REST API Reference for UpdateDomainEndpointOptions Operation public virtual IAsyncResult BeginUpdateDomainEndpointOptions(UpdateDomainEndpointOptionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDomainEndpointOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDomainEndpointOptionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateDomainEndpointOptions operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateDomainEndpointOptions. /// /// Returns a UpdateDomainEndpointOptionsResult from CloudSearch. /// REST API Reference for UpdateDomainEndpointOptions Operation public virtual UpdateDomainEndpointOptionsResponse EndUpdateDomainEndpointOptions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateScalingParameters /// /// 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. /// /// Container for the necessary parameters to execute the UpdateScalingParameters service method. /// /// The response from the UpdateScalingParameters service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it specified an invalid type definition. /// /// /// The request was rejected because a resource limit has already been met. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// /// The request was rejected because it has invalid parameters. /// /// REST API Reference for UpdateScalingParameters Operation public virtual UpdateScalingParametersResponse UpdateScalingParameters(UpdateScalingParametersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateScalingParametersRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateScalingParametersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateScalingParameters operation. /// /// /// Container for the necessary parameters to execute the UpdateScalingParameters operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateScalingParameters /// operation. /// REST API Reference for UpdateScalingParameters Operation public virtual IAsyncResult BeginUpdateScalingParameters(UpdateScalingParametersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateScalingParametersRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateScalingParametersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateScalingParameters operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateScalingParameters. /// /// Returns a UpdateScalingParametersResult from CloudSearch. /// REST API Reference for UpdateScalingParameters Operation public virtual UpdateScalingParametersResponse EndUpdateScalingParameters(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateServiceAccessPolicies /// /// 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. /// /// Container for the necessary parameters to execute the UpdateServiceAccessPolicies service method. /// /// The response from the UpdateServiceAccessPolicies service method, as returned by CloudSearch. /// /// An error occurred while processing the request. /// /// /// An internal error occurred while processing the request. If this problem persists, /// report an issue from the Service /// Health Dashboard. /// /// /// The request was rejected because it specified an invalid type definition. /// /// /// The request was rejected because a resource limit has already been met. /// /// /// The request was rejected because it attempted to reference a resource that does not /// exist. /// /// /// The request was rejected because it has invalid parameters. /// /// REST API Reference for UpdateServiceAccessPolicies Operation public virtual UpdateServiceAccessPoliciesResponse UpdateServiceAccessPolicies(UpdateServiceAccessPoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateServiceAccessPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateServiceAccessPoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateServiceAccessPolicies operation. /// /// /// Container for the necessary parameters to execute the UpdateServiceAccessPolicies operation on AmazonCloudSearchClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateServiceAccessPolicies /// operation. /// REST API Reference for UpdateServiceAccessPolicies Operation public virtual IAsyncResult BeginUpdateServiceAccessPolicies(UpdateServiceAccessPoliciesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateServiceAccessPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateServiceAccessPoliciesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateServiceAccessPolicies operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateServiceAccessPolicies. /// /// Returns a UpdateServiceAccessPoliciesResult from CloudSearch. /// REST API Reference for UpdateServiceAccessPolicies Operation public virtual UpdateServiceAccessPoliciesResponse EndUpdateServiceAccessPolicies(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }