// Modifies the cluster configuration of the specified Elasticsearch domain,
// setting as setting the instance type and the number of instances.
Modifies the cluster configuration of the specified Elasticsearch domain,
setting as setting the instance type and the number of instances.
// Modifies the cluster configuration of the specified Elasticsearch domain // setting as setting the instance type and the number of instances .
func (c *Client) UpdateElasticsearchDomainConfig(ctx context.Context, params *UpdateElasticsearchDomainConfigInput, optFns ...func(*Options)) (*UpdateElasticsearchDomainConfigOutput, error) {
	if params == nil {
		params = &UpdateElasticsearchDomainConfigInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "UpdateElasticsearchDomainConfig", params, optFns, addOperationUpdateElasticsearchDomainConfigMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*UpdateElasticsearchDomainConfigOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) UpdateElasticsearchDomainConfig ( ctx context . Context , params * UpdateElasticsearchDomainConfigInput , optFns ... func ( * Options ) ) ( * UpdateElasticsearchDomainConfigOutput , error ) { if params == nil { params = & UpdateElasticsearchDomainConfigInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationUpdateElasticsearchDomainConfigMiddlewares ) if err != nil { return nil , err } out := result . ( * UpdateElasticsearchDomainConfigOutput ) out . ResultMetadata = metadata return out , nil }
Modifies the cluster configuration of the specified Elasticsearch domain,
setting as setting the instance type and the number of instances.
Modifies the cluster configuration of the specified Elasticsearch domain setting as setting the instance type and the number of instances .