Amazon.Elasticsearch.AmazonElasticsearchClient.CreateElasticsearchDomain C# (CSharp) Method

CreateElasticsearchDomain() public method

Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
/// An error occurred while processing the request. /// /// An error occured because the client wanted to access a not supported operation. Gives /// http status code of 409. /// /// The request processing has failed because of an unknown error, exception or failure /// (the failure is internal to the service) . Gives http status code of 500. /// /// An exception for trying to create or access sub-resource that is either invalid or /// not supported. Gives http status code of 409. /// /// An exception for trying to create more than allowed resources or sub-resources. Gives /// http status code of 409. /// /// An exception for creating a resource that already exists. Gives http status code of /// 400. /// /// An exception for missing / invalid input fields. Gives http status code of 400. ///
public CreateElasticsearchDomain ( CreateElasticsearchDomainRequest request ) : Amazon.Elasticsearch.Model.CreateElasticsearchDomainResponse
request Amazon.Elasticsearch.Model.CreateElasticsearchDomainRequest Container for the necessary parameters to execute the CreateElasticsearchDomain service method.
return Amazon.Elasticsearch.Model.CreateElasticsearchDomainResponse
        public CreateElasticsearchDomainResponse CreateElasticsearchDomain(CreateElasticsearchDomainRequest request)
        {
            var marshaller = new CreateElasticsearchDomainRequestMarshaller();
            var unmarshaller = CreateElasticsearchDomainResponseUnmarshaller.Instance;

            return Invoke<CreateElasticsearchDomainRequest,CreateElasticsearchDomainResponse>(request, marshaller, unmarshaller);
        }