@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSOpenSearchServerless
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSOpenSearchServerless
instead.
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?
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
BatchGetCollectionResult |
batchGetCollection(BatchGetCollectionRequest batchGetCollectionRequest)
Returns attributes for one or more collections, including the collection endpoint and the OpenSearch Dashboards
endpoint.
|
BatchGetEffectiveLifecyclePolicyResult |
batchGetEffectiveLifecyclePolicy(BatchGetEffectiveLifecyclePolicyRequest batchGetEffectiveLifecyclePolicyRequest)
Returns a list of successful and failed retrievals for the OpenSearch Serverless indexes.
|
BatchGetLifecyclePolicyResult |
batchGetLifecyclePolicy(BatchGetLifecyclePolicyRequest batchGetLifecyclePolicyRequest)
Returns one or more configured OpenSearch Serverless lifecycle policies.
|
BatchGetVpcEndpointResult |
batchGetVpcEndpoint(BatchGetVpcEndpointRequest batchGetVpcEndpointRequest)
Returns attributes for one or more VPC endpoints associated with the current account.
|
CreateAccessPolicyResult |
createAccessPolicy(CreateAccessPolicyRequest createAccessPolicyRequest)
Creates a data access policy for OpenSearch Serverless.
|
CreateCollectionResult |
createCollection(CreateCollectionRequest createCollectionRequest)
Creates a new OpenSearch Serverless collection.
|
CreateLifecyclePolicyResult |
createLifecyclePolicy(CreateLifecyclePolicyRequest createLifecyclePolicyRequest)
Creates a lifecyle policy to be applied to OpenSearch Serverless indexes.
|
CreateSecurityConfigResult |
createSecurityConfig(CreateSecurityConfigRequest createSecurityConfigRequest)
Specifies a security configuration for OpenSearch Serverless.
|
CreateSecurityPolicyResult |
createSecurityPolicy(CreateSecurityPolicyRequest createSecurityPolicyRequest)
Creates a security policy to be used by one or more OpenSearch Serverless collections.
|
CreateVpcEndpointResult |
createVpcEndpoint(CreateVpcEndpointRequest createVpcEndpointRequest)
Creates an OpenSearch Serverless-managed interface VPC endpoint.
|
DeleteAccessPolicyResult |
deleteAccessPolicy(DeleteAccessPolicyRequest deleteAccessPolicyRequest)
Deletes an OpenSearch Serverless access policy.
|
DeleteCollectionResult |
deleteCollection(DeleteCollectionRequest deleteCollectionRequest)
Deletes an OpenSearch Serverless collection.
|
DeleteLifecyclePolicyResult |
deleteLifecyclePolicy(DeleteLifecyclePolicyRequest deleteLifecyclePolicyRequest)
Deletes an OpenSearch Serverless lifecycle policy.
|
DeleteSecurityConfigResult |
deleteSecurityConfig(DeleteSecurityConfigRequest deleteSecurityConfigRequest)
Deletes a security configuration for OpenSearch Serverless.
|
DeleteSecurityPolicyResult |
deleteSecurityPolicy(DeleteSecurityPolicyRequest deleteSecurityPolicyRequest)
Deletes an OpenSearch Serverless security policy.
|
DeleteVpcEndpointResult |
deleteVpcEndpoint(DeleteVpcEndpointRequest deleteVpcEndpointRequest)
Deletes an OpenSearch Serverless-managed interface endpoint.
|
GetAccessPolicyResult |
getAccessPolicy(GetAccessPolicyRequest getAccessPolicyRequest)
Returns an OpenSearch Serverless access policy.
|
GetAccountSettingsResult |
getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest)
Returns account-level settings related to OpenSearch Serverless.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetPoliciesStatsResult |
getPoliciesStats(GetPoliciesStatsRequest getPoliciesStatsRequest)
Returns statistical information about your OpenSearch Serverless access policies, security configurations, and
security policies.
|
GetSecurityConfigResult |
getSecurityConfig(GetSecurityConfigRequest getSecurityConfigRequest)
Returns information about an OpenSearch Serverless security configuration.
|
GetSecurityPolicyResult |
getSecurityPolicy(GetSecurityPolicyRequest getSecurityPolicyRequest)
Returns information about a configured OpenSearch Serverless security policy.
|
ListAccessPoliciesResult |
listAccessPolicies(ListAccessPoliciesRequest listAccessPoliciesRequest)
Returns information about a list of OpenSearch Serverless access policies.
|
ListCollectionsResult |
listCollections(ListCollectionsRequest listCollectionsRequest)
Lists all OpenSearch Serverless collections.
|
ListLifecyclePoliciesResult |
listLifecyclePolicies(ListLifecyclePoliciesRequest listLifecyclePoliciesRequest)
Returns a list of OpenSearch Serverless lifecycle policies.
|
ListSecurityConfigsResult |
listSecurityConfigs(ListSecurityConfigsRequest listSecurityConfigsRequest)
Returns information about configured OpenSearch Serverless security configurations.
|
ListSecurityPoliciesResult |
listSecurityPolicies(ListSecurityPoliciesRequest listSecurityPoliciesRequest)
Returns information about configured OpenSearch Serverless security policies.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns the tags for an OpenSearch Serverless resource.
|
ListVpcEndpointsResult |
listVpcEndpoints(ListVpcEndpointsRequest listVpcEndpointsRequest)
Returns the OpenSearch Serverless-managed interface VPC endpoints associated with the current account.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Associates tags with an OpenSearch Serverless resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Removes a tag or set of tags from an OpenSearch Serverless resource.
|
UpdateAccessPolicyResult |
updateAccessPolicy(UpdateAccessPolicyRequest updateAccessPolicyRequest)
Updates an OpenSearch Serverless access policy.
|
UpdateAccountSettingsResult |
updateAccountSettings(UpdateAccountSettingsRequest updateAccountSettingsRequest)
Update the OpenSearch Serverless settings for the current Amazon Web Services account.
|
UpdateCollectionResult |
updateCollection(UpdateCollectionRequest updateCollectionRequest)
Updates an OpenSearch Serverless collection.
|
UpdateLifecyclePolicyResult |
updateLifecyclePolicy(UpdateLifecyclePolicyRequest updateLifecyclePolicyRequest)
Updates an OpenSearch Serverless access policy.
|
UpdateSecurityConfigResult |
updateSecurityConfig(UpdateSecurityConfigRequest updateSecurityConfigRequest)
Updates a security configuration for OpenSearch Serverless.
|
UpdateSecurityPolicyResult |
updateSecurityPolicy(UpdateSecurityPolicyRequest updateSecurityPolicyRequest)
Updates an OpenSearch Serverless security policy.
|
UpdateVpcEndpointResult |
updateVpcEndpoint(UpdateVpcEndpointRequest updateVpcEndpointRequest)
Updates an OpenSearch Serverless-managed interface endpoint.
|
static final String ENDPOINT_PREFIX
BatchGetCollectionResult batchGetCollection(BatchGetCollectionRequest batchGetCollectionRequest)
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.
batchGetCollectionRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.BatchGetEffectiveLifecyclePolicyResult batchGetEffectiveLifecyclePolicy(BatchGetEffectiveLifecyclePolicyRequest batchGetEffectiveLifecyclePolicyRequest)
Returns a list of successful and failed retrievals for the OpenSearch Serverless indexes. For more information, see Viewing data lifecycle policies.
batchGetEffectiveLifecyclePolicyRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.BatchGetLifecyclePolicyResult batchGetLifecyclePolicy(BatchGetLifecyclePolicyRequest batchGetLifecyclePolicyRequest)
Returns one or more configured OpenSearch Serverless lifecycle policies. For more information, see Viewing data lifecycle policies.
batchGetLifecyclePolicyRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.BatchGetVpcEndpointResult batchGetVpcEndpoint(BatchGetVpcEndpointRequest batchGetVpcEndpointRequest)
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.
batchGetVpcEndpointRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.CreateAccessPolicyResult createAccessPolicy(CreateAccessPolicyRequest createAccessPolicyRequest)
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.
createAccessPolicyRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.ServiceQuotaExceededException
- Thrown when you attempt to create more resources than the service allows based on service quotas.CreateCollectionResult createCollection(CreateCollectionRequest createCollectionRequest)
Creates a new OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
createCollectionRequest
- OcuLimitExceededException
- Thrown when the collection you're attempting to create results in a number of search or indexing OCUs
that exceeds the account limit.InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.ServiceQuotaExceededException
- Thrown when you attempt to create more resources than the service allows based on service quotas.CreateLifecyclePolicyResult createLifecyclePolicy(CreateLifecyclePolicyRequest createLifecyclePolicyRequest)
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.
createLifecyclePolicyRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.ServiceQuotaExceededException
- Thrown when you attempt to create more resources than the service allows based on service quotas.CreateSecurityConfigResult createSecurityConfig(CreateSecurityConfigRequest createSecurityConfigRequest)
Specifies a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
createSecurityConfigRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.ServiceQuotaExceededException
- Thrown when you attempt to create more resources than the service allows based on service quotas.CreateSecurityPolicyResult createSecurityPolicy(CreateSecurityPolicyRequest createSecurityPolicyRequest)
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.
createSecurityPolicyRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.ServiceQuotaExceededException
- Thrown when you attempt to create more resources than the service allows based on service quotas.CreateVpcEndpointResult createVpcEndpoint(CreateVpcEndpointRequest createVpcEndpointRequest)
Creates an OpenSearch Serverless-managed interface VPC endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
createVpcEndpointRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.ServiceQuotaExceededException
- Thrown when you attempt to create more resources than the service allows based on service quotas.DeleteAccessPolicyResult deleteAccessPolicy(DeleteAccessPolicyRequest deleteAccessPolicyRequest)
Deletes an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.
deleteAccessPolicyRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ResourceNotFoundException
- Thrown when accessing or deleting a resource that does not exist.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.DeleteCollectionResult deleteCollection(DeleteCollectionRequest deleteCollectionRequest)
Deletes an OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
deleteCollectionRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ResourceNotFoundException
- Thrown when accessing or deleting a resource that does not exist.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.DeleteLifecyclePolicyResult deleteLifecyclePolicy(DeleteLifecyclePolicyRequest deleteLifecyclePolicyRequest)
Deletes an OpenSearch Serverless lifecycle policy. For more information, see Deleting data lifecycle policies.
deleteLifecyclePolicyRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ResourceNotFoundException
- Thrown when accessing or deleting a resource that does not exist.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.DeleteSecurityConfigResult deleteSecurityConfig(DeleteSecurityConfigRequest deleteSecurityConfigRequest)
Deletes a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
deleteSecurityConfigRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ResourceNotFoundException
- Thrown when accessing or deleting a resource that does not exist.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.DeleteSecurityPolicyResult deleteSecurityPolicy(DeleteSecurityPolicyRequest deleteSecurityPolicyRequest)
Deletes an OpenSearch Serverless security policy.
deleteSecurityPolicyRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ResourceNotFoundException
- Thrown when accessing or deleting a resource that does not exist.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.DeleteVpcEndpointResult deleteVpcEndpoint(DeleteVpcEndpointRequest deleteVpcEndpointRequest)
Deletes an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
deleteVpcEndpointRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ResourceNotFoundException
- Thrown when accessing or deleting a resource that does not exist.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.GetAccessPolicyResult getAccessPolicy(GetAccessPolicyRequest getAccessPolicyRequest)
Returns an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.
getAccessPolicyRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ResourceNotFoundException
- Thrown when accessing or deleting a resource that does not exist.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.GetAccountSettingsResult getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest)
Returns account-level settings related to OpenSearch Serverless.
getAccountSettingsRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.GetPoliciesStatsResult getPoliciesStats(GetPoliciesStatsRequest getPoliciesStatsRequest)
Returns statistical information about your OpenSearch Serverless access policies, security configurations, and security policies.
getPoliciesStatsRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.GetSecurityConfigResult getSecurityConfig(GetSecurityConfigRequest getSecurityConfigRequest)
Returns information about an OpenSearch Serverless security configuration. For more information, see SAML authentication for Amazon OpenSearch Serverless.
getSecurityConfigRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ResourceNotFoundException
- Thrown when accessing or deleting a resource that does not exist.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.GetSecurityPolicyResult getSecurityPolicy(GetSecurityPolicyRequest getSecurityPolicyRequest)
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.
getSecurityPolicyRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ResourceNotFoundException
- Thrown when accessing or deleting a resource that does not exist.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.ListAccessPoliciesResult listAccessPolicies(ListAccessPoliciesRequest listAccessPoliciesRequest)
Returns information about a list of OpenSearch Serverless access policies.
listAccessPoliciesRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.ListCollectionsResult listCollections(ListCollectionsRequest listCollectionsRequest)
Lists all OpenSearch Serverless collections. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
Make sure to include an empty request body {} if you don't include any collection filters in the request.
listCollectionsRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.ListLifecyclePoliciesResult listLifecyclePolicies(ListLifecyclePoliciesRequest listLifecyclePoliciesRequest)
Returns a list of OpenSearch Serverless lifecycle policies. For more information, see Viewing data lifecycle policies.
listLifecyclePoliciesRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.ListSecurityConfigsResult listSecurityConfigs(ListSecurityConfigsRequest listSecurityConfigsRequest)
Returns information about configured OpenSearch Serverless security configurations. For more information, see SAML authentication for Amazon OpenSearch Serverless.
listSecurityConfigsRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.ListSecurityPoliciesResult listSecurityPolicies(ListSecurityPoliciesRequest listSecurityPoliciesRequest)
Returns information about configured OpenSearch Serverless security policies.
listSecurityPoliciesRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns the tags for an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.
listTagsForResourceRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ResourceNotFoundException
- Thrown when accessing or deleting a resource that does not exist.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.ListVpcEndpointsResult listVpcEndpoints(ListVpcEndpointsRequest listVpcEndpointsRequest)
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.
listVpcEndpointsRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Associates tags with an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.
tagResourceRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ResourceNotFoundException
- Thrown when accessing or deleting a resource that does not exist.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.ServiceQuotaExceededException
- Thrown when you attempt to create more resources than the service allows based on service quotas.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Removes a tag or set of tags from an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.
untagResourceRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ResourceNotFoundException
- Thrown when accessing or deleting a resource that does not exist.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.UpdateAccessPolicyResult updateAccessPolicy(UpdateAccessPolicyRequest updateAccessPolicyRequest)
Updates an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.
updateAccessPolicyRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ResourceNotFoundException
- Thrown when accessing or deleting a resource that does not exist.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.UpdateAccountSettingsResult updateAccountSettings(UpdateAccountSettingsRequest updateAccountSettingsRequest)
Update the OpenSearch Serverless settings for the current Amazon Web Services account. For more information, see Managing capacity limits for Amazon OpenSearch Serverless.
updateAccountSettingsRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.UpdateCollectionResult updateCollection(UpdateCollectionRequest updateCollectionRequest)
Updates an OpenSearch Serverless collection.
updateCollectionRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.UpdateLifecyclePolicyResult updateLifecyclePolicy(UpdateLifecyclePolicyRequest updateLifecyclePolicyRequest)
Updates an OpenSearch Serverless access policy. For more information, see Updating data lifecycle policies.
updateLifecyclePolicyRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ResourceNotFoundException
- Thrown when accessing or deleting a resource that does not exist.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.ServiceQuotaExceededException
- Thrown when you attempt to create more resources than the service allows based on service quotas.UpdateSecurityConfigResult updateSecurityConfig(UpdateSecurityConfigRequest updateSecurityConfigRequest)
Updates a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
updateSecurityConfigRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ResourceNotFoundException
- Thrown when accessing or deleting a resource that does not exist.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.UpdateSecurityPolicyResult updateSecurityPolicy(UpdateSecurityPolicyRequest updateSecurityPolicyRequest)
Updates an OpenSearch Serverless security policy. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.
updateSecurityPolicyRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ResourceNotFoundException
- Thrown when accessing or deleting a resource that does not exist.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.ServiceQuotaExceededException
- Thrown when you attempt to create more resources than the service allows based on service quotas.UpdateVpcEndpointResult updateVpcEndpoint(UpdateVpcEndpointRequest updateVpcEndpointRequest)
Updates an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
updateVpcEndpointRequest
- InternalServerException
- Thrown when an error internal to the service occurs while processing a request.ConflictException
- When creating a resource, thrown when a resource with the same name already exists or is being created.
When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.ValidationException
- Thrown when the HTTP request contains invalid input or is missing required input.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.