UNPKG

@opensearch-project/opensearch

Version:

The official OpenSearch client for Node.js

50 lines (43 loc) 1.85 kB
/* * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * */ /* * This file was generated from the OpenSearch API Spec. Do NOT edit it * manually. If you want to make changes, either update the spec or * modify the API generator. */ 'use strict'; /** @namespace API-Sm */ function SmApi(bindObj) { this.createPolicy = require('./createPolicy').bind(bindObj); this.deletePolicy = require('./deletePolicy').bind(bindObj); this.explainPolicy = require('./explainPolicy').bind(bindObj); this.getPolicies = require('./getPolicies').bind(bindObj); this.getPolicy = require('./getPolicy').bind(bindObj); this.startPolicy = require('./startPolicy').bind(bindObj); this.stopPolicy = require('./stopPolicy').bind(bindObj); this.updatePolicy = require('./updatePolicy').bind(bindObj); // Deprecated: Use createPolicy instead. this.create_policy = require('./createPolicy').bind(bindObj); // Deprecated: Use deletePolicy instead. this.delete_policy = require('./deletePolicy').bind(bindObj); // Deprecated: Use explainPolicy instead. this.explain_policy = require('./explainPolicy').bind(bindObj); // Deprecated: Use getPolicies instead. this.get_policies = require('./getPolicies').bind(bindObj); // Deprecated: Use getPolicy instead. this.get_policy = require('./getPolicy').bind(bindObj); // Deprecated: Use startPolicy instead. this.start_policy = require('./startPolicy').bind(bindObj); // Deprecated: Use stopPolicy instead. this.stop_policy = require('./stopPolicy').bind(bindObj); // Deprecated: Use updatePolicy instead. this.update_policy = require('./updatePolicy').bind(bindObj); } module.exports = SmApi;