// Permanently deletes the specified Elasticsearch domain and all of its data. Once
// a domain is deleted, it cannot be recovered.
Permanently deletes the specified Elasticsearch domain and all of its data. Once
a domain is deleted, it cannot be recovered.
// Permanently deletes the specified Elasticsearch domain and all of its data . Once // a domain is deleted it cannot be recovered .
func (c *Client) DeleteElasticsearchDomain(ctx context.Context, params *DeleteElasticsearchDomainInput, optFns ...func(*Options)) (*DeleteElasticsearchDomainOutput, error) {
	if params == nil {
		params = &DeleteElasticsearchDomainInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DeleteElasticsearchDomain", params, optFns, addOperationDeleteElasticsearchDomainMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DeleteElasticsearchDomainOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DeleteElasticsearchDomain ( ctx context . Context , params * DeleteElasticsearchDomainInput , optFns ... func ( * Options ) ) ( * DeleteElasticsearchDomainOutput , error ) { if params == nil { params = & DeleteElasticsearchDomainInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDeleteElasticsearchDomainMiddlewares ) if err != nil { return nil , err } out := result . ( * DeleteElasticsearchDomainOutput ) out . ResultMetadata = metadata return out , nil }
Permanently deletes the specified Elasticsearch domain and all of its data.
Permanently deletes the specified Elasticsearch domain and all of its data .