AWS.OSIS — AWS SDK for JavaScript (original) (raw)

We recommend that you migrate to AWS SDK for JavaScript v3. For dates, additional details, and information on how to migrate, please refer to the linked announcement.

Class: AWS.OSIS

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Service Description

Use the Amazon OpenSearch Ingestion API to create and manage ingestion pipelines. OpenSearch Ingestion is a fully managed data collector that delivers real-time log and trace data to OpenSearch Service domains. For more information, see Getting data into your cluster using OpenSearch Ingestion.

Sending a Request Using OSIS

var osis = new AWS.OSIS();
osis.createPipeline(params, function (err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Locking the API Version

In order to ensure that the OSIS object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var osis = new AWS.OSIS({apiVersion: '2022-01-01'});

You can also set the API version globally in AWS.config.apiVersions using the osis service identifier:

AWS.config.apiVersions = {
  osis: '2022-01-01',
  // other service API versions
};

var osis = new AWS.OSIS();

Constructor Summarycollapse

Property Summarycollapse

Properties inherited from AWS.Service

apiVersions

Method Summarycollapse

Methods inherited from AWS.Service

makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService

Constructor Details

new AWS.OSIS(options = {}) ⇒ Object

Constructs a service object. This object has one method for each API operation.

Property Details

endpointAWS.Endpoint

Returns an Endpoint object representing the endpoint URL for service requests.

Method Details

createPipeline(params = {}, callback) ⇒ AWS.Request

deletePipeline(params = {}, callback) ⇒ AWS.Request

getPipeline(params = {}, callback) ⇒ AWS.Request

Retrieves information about an OpenSearch Ingestion pipeline.

getPipelineBlueprint(params = {}, callback) ⇒ AWS.Request

Retrieves information about a specific blueprint for OpenSearch Ingestion. Blueprints are templates for the configuration needed for a CreatePipeline request. For more information, see Using blueprints to create a pipeline.

getPipelineChangeProgress(params = {}, callback) ⇒ AWS.Request

Returns progress information for the current change happening on an OpenSearch Ingestion pipeline. Currently, this operation only returns information when a pipeline is being created.

For more information, see Tracking the status of pipeline creation.

listPipelineBlueprints(params = {}, callback) ⇒ AWS.Request

listPipelines(params = {}, callback) ⇒ AWS.Request

listTagsForResource(params = {}, callback) ⇒ AWS.Request

startPipeline(params = {}, callback) ⇒ AWS.Request

untagResource(params = {}, callback) ⇒ AWS.Request

updatePipeline(params = {}, callback) ⇒ AWS.Request

validatePipeline(params = {}, callback) ⇒ AWS.Request