Class: AWS.OpenSearch
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.OpenSearch
- Identifier:
- opensearch
- API Version:
- 2021-01-01
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
Use the Amazon OpenSearch Service configuration API to create, configure, and manage OpenSearch Service domains. The endpoint for configuration service requests is Region specific: es.region.amazonaws.com. For example, es.us-east-1.amazonaws.com. For a current list of supported Regions and endpoints, see Amazon Web Services service endpoints.
Sending a Request Using OpenSearch
var opensearch = new AWS.OpenSearch();
opensearch.acceptInboundConnection(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 OpenSearch object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var opensearch = new AWS.OpenSearch({apiVersion: '2021-01-01'});
You can also set the API version globally in AWS.config.apiVersions using
the opensearch service identifier:
AWS.config.apiVersions = {
opensearch: '2021-01-01',
// other service API versions
};
var opensearch = new AWS.OpenSearch();
Constructor Summary collapse
-
new AWS.OpenSearch(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
acceptInboundConnection(params = {}, callback) ⇒ AWS.Request
Allows the destination Amazon OpenSearch Service domain owner to accept an inbound cross-cluster search connection request.
-
addDataSource(params = {}, callback) ⇒ AWS.Request
Creates a new direct-query data source to the specified domain.
-
addTags(params = {}, callback) ⇒ AWS.Request
Attaches tags to an existing Amazon OpenSearch Service domain.
-
associatePackage(params = {}, callback) ⇒ AWS.Request
Associates a package with an Amazon OpenSearch Service domain.
-
authorizeVpcEndpointAccess(params = {}, callback) ⇒ AWS.Request
Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
.
-
cancelDomainConfigChange(params = {}, callback) ⇒ AWS.Request
Cancels a pending configuration change on an Amazon OpenSearch Service domain.
.
-
cancelServiceSoftwareUpdate(params = {}, callback) ⇒ AWS.Request
Cancels a scheduled service software update for an Amazon OpenSearch Service domain.
-
createDomain(params = {}, callback) ⇒ AWS.Request
Creates an Amazon OpenSearch Service domain.
-
createOutboundConnection(params = {}, callback) ⇒ AWS.Request
Creates a new cross-cluster search connection from a source Amazon OpenSearch Service domain to a destination domain.
-
createPackage(params = {}, callback) ⇒ AWS.Request
Creates a package for use with Amazon OpenSearch Service domains.
-
createVpcEndpoint(params = {}, callback) ⇒ AWS.Request
Creates an Amazon OpenSearch Service-managed VPC endpoint.
.
-
deleteDataSource(params = {}, callback) ⇒ AWS.Request
Deletes a direct-query data source.
-
deleteDomain(params = {}, callback) ⇒ AWS.Request
Deletes an Amazon OpenSearch Service domain and all of its data.
-
deleteInboundConnection(params = {}, callback) ⇒ AWS.Request
Allows the destination Amazon OpenSearch Service domain owner to delete an existing inbound cross-cluster search connection.
-
deleteOutboundConnection(params = {}, callback) ⇒ AWS.Request
Allows the source Amazon OpenSearch Service domain owner to delete an existing outbound cross-cluster search connection.
-
deletePackage(params = {}, callback) ⇒ AWS.Request
Deletes an Amazon OpenSearch Service package.
-
deleteVpcEndpoint(params = {}, callback) ⇒ AWS.Request
Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.
.
-
describeDomain(params = {}, callback) ⇒ AWS.Request
Describes the domain configuration for the specified Amazon OpenSearch Service domain, including the domain ID, domain service endpoint, and domain ARN.
.
-
describeDomainAutoTunes(params = {}, callback) ⇒ AWS.Request
Returns the list of optimizations that Auto-Tune has made to an Amazon OpenSearch Service domain.
-
describeDomainChangeProgress(params = {}, callback) ⇒ AWS.Request
Returns information about the current blue/green deployment happening on an Amazon OpenSearch Service domain.
-
describeDomainConfig(params = {}, callback) ⇒ AWS.Request
Returns the configuration of an Amazon OpenSearch Service domain.
.
-
describeDomainHealth(params = {}, callback) ⇒ AWS.Request
Returns information about domain and node health, the standby Availability Zone, number of nodes per Availability Zone, and shard count per node.
.
-
describeDomainNodes(params = {}, callback) ⇒ AWS.Request
Returns information about domain and nodes, including data nodes, master nodes, ultrawarm nodes, Availability Zone(s), standby nodes, node configurations, and node states.
.
-
describeDomains(params = {}, callback) ⇒ AWS.Request
Returns domain configuration information about the specified Amazon OpenSearch Service domains.
.
-
describeDryRunProgress(params = {}, callback) ⇒ AWS.Request
Describes the progress of a pre-update dry run analysis on an Amazon OpenSearch Service domain.
-
describeInboundConnections(params = {}, callback) ⇒ AWS.Request
Lists all the inbound cross-cluster search connections for a destination (remote) Amazon OpenSearch Service domain.
-
describeInstanceTypeLimits(params = {}, callback) ⇒ AWS.Request
Describes the instance count, storage, and master node limits for a given OpenSearch or Elasticsearch version and instance type.
.
-
describeOutboundConnections(params = {}, callback) ⇒ AWS.Request
Lists all the outbound cross-cluster connections for a local (source) Amazon OpenSearch Service domain.
-
describePackages(params = {}, callback) ⇒ AWS.Request
Describes all packages available to OpenSearch Service.
-
describeReservedInstanceOfferings(params = {}, callback) ⇒ AWS.Request
Describes the available Amazon OpenSearch Service Reserved Instance offerings for a given Region.
-
describeReservedInstances(params = {}, callback) ⇒ AWS.Request
Describes the Amazon OpenSearch Service instances that you have reserved in a given Region.
-
describeVpcEndpoints(params = {}, callback) ⇒ AWS.Request
Describes one or more Amazon OpenSearch Service-managed VPC endpoints.
.
-
dissociatePackage(params = {}, callback) ⇒ AWS.Request
Removes a package from the specified Amazon OpenSearch Service domain.
-
getCompatibleVersions(params = {}, callback) ⇒ AWS.Request
Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
.
-
getDataSource(params = {}, callback) ⇒ AWS.Request
Retrieves information about a direct query data source.
.
-
getDomainMaintenanceStatus(params = {}, callback) ⇒ AWS.Request
The status of the maintenance action.
.
-
getPackageVersionHistory(params = {}, callback) ⇒ AWS.Request
Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the package is a zip plugin package).
-
getUpgradeHistory(params = {}, callback) ⇒ AWS.Request
Retrieves the complete history of the last 10 upgrades performed on an Amazon OpenSearch Service domain.
.
-
getUpgradeStatus(params = {}, callback) ⇒ AWS.Request
Returns the most recent status of the last upgrade or upgrade eligibility check performed on an Amazon OpenSearch Service domain.
.
-
listDataSources(params = {}, callback) ⇒ AWS.Request
Lists direct-query data sources for a specific domain.
-
listDomainMaintenances(params = {}, callback) ⇒ AWS.Request
A list of maintenance actions for the domain.
.
-
listDomainNames(params = {}, callback) ⇒ AWS.Request
Returns the names of all Amazon OpenSearch Service domains owned by the current user in the active Region.
.
-
listDomainsForPackage(params = {}, callback) ⇒ AWS.Request
Lists all Amazon OpenSearch Service domains associated with a given package.
-
listInstanceTypeDetails(params = {}, callback) ⇒ AWS.Request
Lists all instance types and available features for a given OpenSearch or Elasticsearch version.
.
-
listPackagesForDomain(params = {}, callback) ⇒ AWS.Request
Lists all packages associated with an Amazon OpenSearch Service domain.
-
listScheduledActions(params = {}, callback) ⇒ AWS.Request
Retrieves a list of configuration changes that are scheduled for a domain.
-
listTags(params = {}, callback) ⇒ AWS.Request
Returns all resource tags for an Amazon OpenSearch Service domain.
-
listVersions(params = {}, callback) ⇒ AWS.Request
Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.
.
-
listVpcEndpointAccess(params = {}, callback) ⇒ AWS.Request
Retrieves information about each Amazon Web Services principal that is allowed to access a given Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
.
-
listVpcEndpoints(params = {}, callback) ⇒ AWS.Request
Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current Amazon Web Services account and Region.
.
-
listVpcEndpointsForDomain(params = {}, callback) ⇒ AWS.Request
Retrieves all Amazon OpenSearch Service-managed VPC endpoints associated with a particular domain.
.
-
purchaseReservedInstanceOffering(params = {}, callback) ⇒ AWS.Request
Allows you to purchase Amazon OpenSearch Service Reserved Instances.
.
-
rejectInboundConnection(params = {}, callback) ⇒ AWS.Request
Allows the remote Amazon OpenSearch Service domain owner to reject an inbound cross-cluster connection request.
.
-
removeTags(params = {}, callback) ⇒ AWS.Request
Removes the specified set of tags from an Amazon OpenSearch Service domain.
-
revokeVpcEndpointAccess(params = {}, callback) ⇒ AWS.Request
Revokes access to an Amazon OpenSearch Service domain that was provided through an interface VPC endpoint.
.
-
startDomainMaintenance(params = {}, callback) ⇒ AWS.Request
Starts the node maintenance process on the data node.
-
startServiceSoftwareUpdate(params = {}, callback) ⇒ AWS.Request
Schedules a service software update for an Amazon OpenSearch Service domain.
-
updateDataSource(params = {}, callback) ⇒ AWS.Request
Updates a direct-query data source.
-
updateDomainConfig(params = {}, callback) ⇒ AWS.Request
Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.
.
-
updatePackage(params = {}, callback) ⇒ AWS.Request
Updates a package for use with Amazon OpenSearch Service domains.
-
updateScheduledAction(params = {}, callback) ⇒ AWS.Request
Reschedules a planned domain configuration change for a later time.
-
updateVpcEndpoint(params = {}, callback) ⇒ AWS.Request
Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.
.
-
upgradeDomain(params = {}, callback) ⇒ AWS.Request
Allows you to either upgrade your Amazon OpenSearch Service domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch.
.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.OpenSearch(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
acceptInboundConnection(params = {}, callback) ⇒ AWS.Request
Allows the destination Amazon OpenSearch Service domain owner to accept an inbound cross-cluster search connection request. For more information, see Cross-cluster search for Amazon OpenSearch Service.
addDataSource(params = {}, callback) ⇒ AWS.Request
Creates a new direct-query data source to the specified domain. For more information, see Creating Amazon OpenSearch Service data source integrations with Amazon S3.
addTags(params = {}, callback) ⇒ AWS.Request
Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a set of case-sensitive key-value pairs. A domain can have up to 10 tags. For more information, see Tagging Amazon OpenSearch Service domains.
associatePackage(params = {}, callback) ⇒ AWS.Request
Associates a package with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service.
authorizeVpcEndpointAccess(params = {}, callback) ⇒ AWS.Request
Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
cancelDomainConfigChange(params = {}, callback) ⇒ AWS.Request
Cancels a pending configuration change on an Amazon OpenSearch Service domain.
cancelServiceSoftwareUpdate(params = {}, callback) ⇒ AWS.Request
Cancels a scheduled service software update for an Amazon OpenSearch Service domain. You can only perform this operation before the AutomatedUpdateDate and when the domain's UpdateStatus is PENDING_UPDATE. For more information, see Service software updates in Amazon OpenSearch Service.
createDomain(params = {}, callback) ⇒ AWS.Request
Creates an Amazon OpenSearch Service domain. For more information, see Creating and managing Amazon OpenSearch Service domains.
createOutboundConnection(params = {}, callback) ⇒ AWS.Request
Creates a new cross-cluster search connection from a source Amazon OpenSearch Service domain to a destination domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
createPackage(params = {}, callback) ⇒ AWS.Request
Creates a package for use with Amazon OpenSearch Service domains. For more information, see Custom packages for Amazon OpenSearch Service.