OpenSearchServiceServerless#
Client#
- class OpenSearchServiceServerless.Client#
A low-level client representing OpenSearch Service Serverless
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?
client = session.create_client('opensearchserverless')
These are the available methods:
- batch_get_collection
- batch_get_effective_lifecycle_policy
- batch_get_lifecycle_policy
- batch_get_vpc_endpoint
- can_paginate
- close
- create_access_policy
- create_collection
- create_lifecycle_policy
- create_security_config
- create_security_policy
- create_vpc_endpoint
- delete_access_policy
- delete_collection
- delete_lifecycle_policy
- delete_security_config
- delete_security_policy
- delete_vpc_endpoint
- get_access_policy
- get_account_settings
- get_paginator
- get_policies_stats
- get_security_config
- get_security_policy
- get_waiter
- list_access_policies
- list_collections
- list_lifecycle_policies
- list_security_configs
- list_security_policies
- list_tags_for_resource
- list_vpc_endpoints
- tag_resource
- untag_resource
- update_access_policy
- update_account_settings
- update_collection
- update_lifecycle_policy
- update_security_config
- update_security_policy
- update_vpc_endpoint
Client Exceptions#
Client exceptions are available on a client instance via the exceptions
property. For more detailed instructions and examples on the exact usage of client exceptions, see the error handling user guide.
The available client exceptions are: