Class: AWS.OpenSearchServerless
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.OpenSearchServerless
- Identifier:
- opensearchserverless
- API Version:
- 2021-11-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 Serverless API to create, configure, and manage OpenSearch Serverless collections and security policies.
OpenSearch Serverless is an on-demand, pre-provisioned serverless configuration for Amazon OpenSearch Service. OpenSearch Serverless removes the operational complexities of provisioning, configuring, and tuning your OpenSearch clusters. It enables you to easily search and analyze petabytes of data without having to worry about the underlying infrastructure and data management.
To learn more about OpenSearch Serverless, see What is Amazon OpenSearch Serverless?
Sending a Request Using OpenSearchServerless
var opensearchserverless = new AWS.OpenSearchServerless();
opensearchserverless.batchGetCollection(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 OpenSearchServerless object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var opensearchserverless = new AWS.OpenSearchServerless({apiVersion: '2021-11-01'});
You can also set the API version globally in AWS.config.apiVersions
using
the opensearchserverless service identifier:
AWS.config.apiVersions = {
opensearchserverless: '2021-11-01',
// other service API versions
};
var opensearchserverless = new AWS.OpenSearchServerless();
Constructor Summary collapse
-
new AWS.OpenSearchServerless(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
-
batchGetCollection(params = {}, callback) ⇒ AWS.Request
Returns attributes for one or more collections, including the collection endpoint and the OpenSearch Dashboards endpoint.
-
batchGetEffectiveLifecyclePolicy(params = {}, callback) ⇒ AWS.Request
Returns a list of successful and failed retrievals for the OpenSearch Serverless indexes.
-
batchGetLifecyclePolicy(params = {}, callback) ⇒ AWS.Request
Returns one or more configured OpenSearch Serverless lifecycle policies.
-
batchGetVpcEndpoint(params = {}, callback) ⇒ AWS.Request
Returns attributes for one or more VPC endpoints associated with the current account.
-
createAccessPolicy(params = {}, callback) ⇒ AWS.Request
Creates a data access policy for OpenSearch Serverless.
-
createCollection(params = {}, callback) ⇒ AWS.Request
Creates a new OpenSearch Serverless collection.
-
createLifecyclePolicy(params = {}, callback) ⇒ AWS.Request
Creates a lifecyle policy to be applied to OpenSearch Serverless indexes.
-
createSecurityConfig(params = {}, callback) ⇒ AWS.Request
Specifies a security configuration for OpenSearch Serverless.
-
createSecurityPolicy(params = {}, callback) ⇒ AWS.Request
Creates a security policy to be used by one or more OpenSearch Serverless collections.
-
createVpcEndpoint(params = {}, callback) ⇒ AWS.Request
Creates an OpenSearch Serverless-managed interface VPC endpoint.
-
deleteAccessPolicy(params = {}, callback) ⇒ AWS.Request
Deletes an OpenSearch Serverless access policy.
-
deleteCollection(params = {}, callback) ⇒ AWS.Request
Deletes an OpenSearch Serverless collection.
-
deleteLifecyclePolicy(params = {}, callback) ⇒ AWS.Request
Deletes an OpenSearch Serverless lifecycle policy.
-
deleteSecurityConfig(params = {}, callback) ⇒ AWS.Request
Deletes a security configuration for OpenSearch Serverless.
-
deleteSecurityPolicy(params = {}, callback) ⇒ AWS.Request
Deletes an OpenSearch Serverless security policy.
.
-
deleteVpcEndpoint(params = {}, callback) ⇒ AWS.Request
Deletes an OpenSearch Serverless-managed interface endpoint.
-
getAccessPolicy(params = {}, callback) ⇒ AWS.Request
Returns an OpenSearch Serverless access policy.
-
getAccountSettings(params = {}, callback) ⇒ AWS.Request
Returns account-level settings related to OpenSearch Serverless.
.
-
getPoliciesStats(params = {}, callback) ⇒ AWS.Request
Returns statistical information about your OpenSearch Serverless access policies, security configurations, and security policies.
.
-
getSecurityConfig(params = {}, callback) ⇒ AWS.Request
Returns information about an OpenSearch Serverless security configuration.
-
getSecurityPolicy(params = {}, callback) ⇒ AWS.Request
Returns information about a configured OpenSearch Serverless security policy.
-
listAccessPolicies(params = {}, callback) ⇒ AWS.Request
Returns information about a list of OpenSearch Serverless access policies.
.
-
listCollections(params = {}, callback) ⇒ AWS.Request
Lists all OpenSearch Serverless collections.
-
listLifecyclePolicies(params = {}, callback) ⇒ AWS.Request
Returns a list of OpenSearch Serverless lifecycle policies.
-
listSecurityConfigs(params = {}, callback) ⇒ AWS.Request
Returns information about configured OpenSearch Serverless security configurations.
-
listSecurityPolicies(params = {}, callback) ⇒ AWS.Request
Returns information about configured OpenSearch Serverless security policies.
.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Returns the tags for an OpenSearch Serverless resource.
-
listVpcEndpoints(params = {}, callback) ⇒ AWS.Request
Returns the OpenSearch Serverless-managed interface VPC endpoints associated with the current account.
-
tagResource(params = {}, callback) ⇒ AWS.Request
Associates tags with an OpenSearch Serverless resource.
-
untagResource(params = {}, callback) ⇒ AWS.Request
Removes a tag or set of tags from an OpenSearch Serverless resource.
-
updateAccessPolicy(params = {}, callback) ⇒ AWS.Request
Updates an OpenSearch Serverless access policy.
-
updateAccountSettings(params = {}, callback) ⇒ AWS.Request
Update the OpenSearch Serverless settings for the current Amazon Web Services account.
-
updateCollection(params = {}, callback) ⇒ AWS.Request
Updates an OpenSearch Serverless collection.
.
-
updateLifecyclePolicy(params = {}, callback) ⇒ AWS.Request
Updates an OpenSearch Serverless access policy.
-
updateSecurityConfig(params = {}, callback) ⇒ AWS.Request
Updates a security configuration for OpenSearch Serverless.
-
updateSecurityPolicy(params = {}, callback) ⇒ AWS.Request
Updates an OpenSearch Serverless security policy.
-
updateVpcEndpoint(params = {}, callback) ⇒ AWS.Request
Updates an OpenSearch Serverless-managed interface endpoint.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.OpenSearchServerless(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
batchGetCollection(params = {}, callback) ⇒ AWS.Request
Returns attributes for one or more collections, including the collection endpoint and the OpenSearch Dashboards endpoint. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
batchGetEffectiveLifecyclePolicy(params = {}, callback) ⇒ AWS.Request
Returns a list of successful and failed retrievals for the OpenSearch Serverless indexes. For more information, see Viewing data lifecycle policies.
batchGetLifecyclePolicy(params = {}, callback) ⇒ AWS.Request
Returns one or more configured OpenSearch Serverless lifecycle policies. For more information, see Viewing data lifecycle policies.
batchGetVpcEndpoint(params = {}, callback) ⇒ AWS.Request
Returns attributes for one or more VPC endpoints associated with the current account. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
createAccessPolicy(params = {}, callback) ⇒ AWS.Request
Creates a data access policy for OpenSearch Serverless. Access policies limit access to collections and the resources within them, and allow a user to access that data irrespective of the access mechanism or network source. For more information, see Data access control for Amazon OpenSearch Serverless.
createCollection(params = {}, callback) ⇒ AWS.Request
Creates a new OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
createLifecyclePolicy(params = {}, callback) ⇒ AWS.Request
Creates a lifecyle policy to be applied to OpenSearch Serverless indexes. Lifecycle policies define the number of days or hours to retain the data on an OpenSearch Serverless index. For more information, see Creating data lifecycle policies.
createSecurityConfig(params = {}, callback) ⇒ AWS.Request
Specifies a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
createSecurityPolicy(params = {}, callback) ⇒ AWS.Request
Creates a security policy to be used by one or more OpenSearch Serverless collections. Security policies provide access to a collection and its OpenSearch Dashboards endpoint from public networks or specific VPC endpoints. They also allow you to secure a collection with a KMS encryption key. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.
createVpcEndpoint(params = {}, callback) ⇒ AWS.Request
Creates an OpenSearch Serverless-managed interface VPC endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
deleteAccessPolicy(params = {}, callback) ⇒ AWS.Request
Deletes an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.
deleteCollection(params = {}, callback) ⇒ AWS.Request
Deletes an OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
deleteLifecyclePolicy(params = {}, callback) ⇒ AWS.Request
Deletes an OpenSearch Serverless lifecycle policy. For more information, see Deleting data lifecycle policies.
deleteSecurityConfig(params = {}, callback) ⇒ AWS.Request
Deletes a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
deleteSecurityPolicy(params = {}, callback) ⇒ AWS.Request
Deletes an OpenSearch Serverless security policy.
deleteVpcEndpoint(params = {}, callback) ⇒ AWS.Request
Deletes an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
getAccessPolicy(params = {}, callback) ⇒ AWS.Request
Returns an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.
getAccountSettings(params = {}, callback) ⇒ AWS.Request
Returns account-level settings related to OpenSearch Serverless.
getPoliciesStats(params = {}, callback) ⇒ AWS.Request
Returns statistical information about your OpenSearch Serverless access policies, security configurations, and security policies.
getSecurityConfig(params = {}, callback) ⇒ AWS.Request
Returns information about an OpenSearch Serverless security configuration. For more information, see SAML authentication for Amazon OpenSearch Serverless.
getSecurityPolicy(params = {}, callback) ⇒ AWS.Request
Returns information about a configured OpenSearch Serverless security policy. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.
listAccessPolicies(params = {}, callback) ⇒ AWS.Request
Returns information about a list of OpenSearch Serverless access policies.
listCollections(params = {}, callback) ⇒ AWS.Request
Lists all OpenSearch Serverless collections. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
listLifecyclePolicies(params = {}, callback) ⇒ AWS.Request
Returns a list of OpenSearch Serverless lifecycle policies. For more information, see Viewing data lifecycle policies.
listSecurityConfigs(params = {}, callback) ⇒ AWS.Request
Returns information about configured OpenSearch Serverless security configurations. For more information, see SAML authentication for Amazon OpenSearch Serverless.
listSecurityPolicies(params = {}, callback) ⇒ AWS.Request
Returns information about configured OpenSearch Serverless security policies.
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Returns the tags for an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.
listVpcEndpoints(params = {}, callback) ⇒ AWS.Request
Returns the OpenSearch Serverless-managed interface VPC endpoints associated with the current account. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
tagResource(params = {}, callback) ⇒ AWS.Request
Associates tags with an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.
untagResource(params = {}, callback) ⇒ AWS.Request
Removes a tag or set of tags from an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.
updateAccessPolicy(params = {}, callback) ⇒ AWS.Request
Updates an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.
updateAccountSettings(params = {}, callback) ⇒ AWS.Request
Update the OpenSearch Serverless settings for the current Amazon Web Services account. For more information, see Managing capacity limits for Amazon OpenSearch Serverless.
updateLifecyclePolicy(params = {}, callback) ⇒ AWS.Request
Updates an OpenSearch Serverless access policy. For more information, see Updating data lifecycle policies.
updateSecurityConfig(params = {}, callback) ⇒ AWS.Request
Updates a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
updateSecurityPolicy(params = {}, callback) ⇒ AWS.Request
Updates an OpenSearch Serverless security policy. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.
updateVpcEndpoint(params = {}, callback) ⇒ AWS.Request
Updates an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.