/*
* 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.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task BuildSuggestersAsync(BuildSuggestersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BuildSuggestersRequestMarshaller.Instance;
options.ResponseUnmarshaller = BuildSuggestersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateDomainAsync(CreateDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DefineAnalysisSchemeAsync(DefineAnalysisSchemeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DefineAnalysisSchemeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DefineAnalysisSchemeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DefineExpressionAsync(DefineExpressionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DefineExpressionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DefineExpressionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DefineIndexFieldAsync(DefineIndexFieldRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DefineIndexFieldRequestMarshaller.Instance;
options.ResponseUnmarshaller = DefineIndexFieldResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DefineSuggesterAsync(DefineSuggesterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DefineSuggesterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DefineSuggesterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteAnalysisSchemeAsync(DeleteAnalysisSchemeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAnalysisSchemeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAnalysisSchemeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteDomainAsync(DeleteDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteExpressionAsync(DeleteExpressionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExpressionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExpressionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteIndexFieldAsync(DeleteIndexFieldRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIndexFieldRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIndexFieldResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteSuggesterAsync(DeleteSuggesterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSuggesterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSuggesterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeAnalysisSchemesAsync(DescribeAnalysisSchemesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAnalysisSchemesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAnalysisSchemesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeAvailabilityOptionsAsync(DescribeAvailabilityOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAvailabilityOptionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAvailabilityOptionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeDomainEndpointOptionsAsync(DescribeDomainEndpointOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainEndpointOptionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainEndpointOptionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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&q.parser=structured&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&q.parser=structured&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);
}
///
/// Gets information about the search domains owned by this account. Can be limited to
/// specific domains. Shows all domains by default. To get the number of searchable documents
/// in a domain, use the console or submit a matchall
request to your domain's
/// search endpoint: q=matchall&q.parser=structured&size=0
.
/// For more information, see Getting Information about a Search Domain in the Amazon CloudSearch
/// Developer Guide.
///
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeDomainsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
return DescribeDomainsAsync(new DescribeDomainsRequest(), cancellationToken);
}
///
/// Gets information about the search domains owned by this account. Can be limited to
/// specific domains. Shows all domains by default. To get the number of searchable documents
/// in a domain, use the console or submit a matchall
request to your domain's
/// search endpoint: q=matchall&q.parser=structured&size=0
.
/// For more information, see Getting Information about a Search Domain in the Amazon CloudSearch
/// Developer Guide.
///
/// Container for the necessary parameters to execute the DescribeDomains service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeDomainsAsync(DescribeDomainsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeExpressionsAsync(DescribeExpressionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeExpressionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeExpressionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeIndexFieldsAsync(DescribeIndexFieldsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeIndexFieldsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeIndexFieldsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeScalingParametersAsync(DescribeScalingParametersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeScalingParametersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeScalingParametersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeServiceAccessPoliciesAsync(DescribeServiceAccessPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeServiceAccessPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeServiceAccessPoliciesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeSuggestersAsync(DescribeSuggestersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSuggestersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSuggestersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task IndexDocumentsAsync(IndexDocumentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = IndexDocumentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = IndexDocumentsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// Lists all search domains owned by an account.
///
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListDomainNamesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
return ListDomainNamesAsync(new ListDomainNamesRequest(), cancellationToken);
}
///
/// Lists all search domains owned by an account.
///
/// Container for the necessary parameters to execute the ListDomainNames service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListDomainNamesAsync(ListDomainNamesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainNamesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainNamesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateAvailabilityOptionsAsync(UpdateAvailabilityOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAvailabilityOptionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAvailabilityOptionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateDomainEndpointOptionsAsync(UpdateDomainEndpointOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainEndpointOptionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainEndpointOptionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateScalingParametersAsync(UpdateScalingParametersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateScalingParametersRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateScalingParametersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#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);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateServiceAccessPoliciesAsync(UpdateServiceAccessPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateServiceAccessPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateServiceAccessPoliciesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}