@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSOpenSearchServerlessClient extends AmazonWebServiceClient implements AWSOpenSearchServerless
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?
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
BatchGetCollectionResult |
batchGetCollection(BatchGetCollectionRequest request)
Returns attributes for one or more collections, including the collection endpoint and the OpenSearch Dashboards
endpoint.
|
BatchGetVpcEndpointResult |
batchGetVpcEndpoint(BatchGetVpcEndpointRequest request)
Returns attributes for one or more VPC endpoints associated with the current account.
|
static AWSOpenSearchServerlessClientBuilder |
builder() |
CreateAccessPolicyResult |
createAccessPolicy(CreateAccessPolicyRequest request)
Creates a data access policy for OpenSearch Serverless.
|
CreateCollectionResult |
createCollection(CreateCollectionRequest request)
Creates a new OpenSearch Serverless collection.
|
CreateSecurityConfigResult |
createSecurityConfig(CreateSecurityConfigRequest request)
Specifies a security configuration for OpenSearch Serverless.
|
CreateSecurityPolicyResult |
createSecurityPolicy(CreateSecurityPolicyRequest request)
Creates a security policy to be used by one or more OpenSearch Serverless collections.
|
CreateVpcEndpointResult |
createVpcEndpoint(CreateVpcEndpointRequest request)
Creates an OpenSearch Serverless-managed interface VPC endpoint.
|
DeleteAccessPolicyResult |
deleteAccessPolicy(DeleteAccessPolicyRequest request)
Deletes an OpenSearch Serverless access policy.
|
DeleteCollectionResult |
deleteCollection(DeleteCollectionRequest request)
Deletes an OpenSearch Serverless collection.
|
DeleteSecurityConfigResult |
deleteSecurityConfig(DeleteSecurityConfigRequest request)
Deletes a security configuration for OpenSearch Serverless.
|
DeleteSecurityPolicyResult |
deleteSecurityPolicy(DeleteSecurityPolicyRequest request)
Deletes an OpenSearch Serverless security policy.
|
DeleteVpcEndpointResult |
deleteVpcEndpoint(DeleteVpcEndpointRequest request)
Deletes an OpenSearch Serverless-managed interface endpoint.
|
GetAccessPolicyResult |
getAccessPolicy(GetAccessPolicyRequest request)
Returns an OpenSearch Serverless access policy.
|
GetAccountSettingsResult |
getAccountSettings(GetAccountSettingsRequest request)
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 request)
Returns statistical information about your OpenSearch Serverless access policies, security configurations, and
security policies.
|
GetSecurityConfigResult |
getSecurityConfig(GetSecurityConfigRequest request)
Returns information about an OpenSearch Serverless security configuration.
|
GetSecurityPolicyResult |
getSecurityPolicy(GetSecurityPolicyRequest request)
Returns information about a configured OpenSearch Serverless security policy.
|
ListAccessPoliciesResult |
listAccessPolicies(ListAccessPoliciesRequest request)
Returns information about a list of OpenSearch Serverless access policies.
|
ListCollectionsResult |
listCollections(ListCollectionsRequest request)
Lists all OpenSearch Serverless collections.
|
ListSecurityConfigsResult |
listSecurityConfigs(ListSecurityConfigsRequest request)
Returns information about configured OpenSearch Serverless security configurations.
|
ListSecurityPoliciesResult |
listSecurityPolicies(ListSecurityPoliciesRequest request)
Returns information about configured OpenSearch Serverless security policies.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Returns the tags for an OpenSearch Serverless resource.
|
ListVpcEndpointsResult |
listVpcEndpoints(ListVpcEndpointsRequest request)
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 request)
Associates tags with an OpenSearch Serverless resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes a tag or set of tags from an OpenSearch Serverless resource.
|
UpdateAccessPolicyResult |
updateAccessPolicy(UpdateAccessPolicyRequest request)
Updates an OpenSearch Serverless access policy.
|
UpdateAccountSettingsResult |
updateAccountSettings(UpdateAccountSettingsRequest request)
Update the OpenSearch Serverless settings for the current Amazon Web Services account.
|
UpdateCollectionResult |
updateCollection(UpdateCollectionRequest request)
Updates an OpenSearch Serverless collection.
|
UpdateSecurityConfigResult |
updateSecurityConfig(UpdateSecurityConfigRequest request)
Updates a security configuration for OpenSearch Serverless.
|
UpdateSecurityPolicyResult |
updateSecurityPolicy(UpdateSecurityPolicyRequest request)
Updates an OpenSearch Serverless security policy.
|
UpdateVpcEndpointResult |
updateVpcEndpoint(UpdateVpcEndpointRequest request)
Updates an OpenSearch Serverless-managed interface endpoint.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AWSOpenSearchServerlessClientBuilder builder()
public BatchGetCollectionResult batchGetCollection(BatchGetCollectionRequest 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.
batchGetCollection in interface AWSOpenSearchServerlessbatchGetCollectionRequest - 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.public BatchGetVpcEndpointResult batchGetVpcEndpoint(BatchGetVpcEndpointRequest 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.
batchGetVpcEndpoint in interface AWSOpenSearchServerlessbatchGetVpcEndpointRequest - 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.public CreateAccessPolicyResult createAccessPolicy(CreateAccessPolicyRequest 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.
createAccessPolicy in interface AWSOpenSearchServerlesscreateAccessPolicyRequest - 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.public CreateCollectionResult createCollection(CreateCollectionRequest request)
Creates a new OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
createCollection in interface AWSOpenSearchServerlesscreateCollectionRequest - 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.public CreateSecurityConfigResult createSecurityConfig(CreateSecurityConfigRequest request)
Specifies a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
createSecurityConfig in interface AWSOpenSearchServerlesscreateSecurityConfigRequest - 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.public CreateSecurityPolicyResult createSecurityPolicy(CreateSecurityPolicyRequest 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.
createSecurityPolicy in interface AWSOpenSearchServerlesscreateSecurityPolicyRequest - 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.public CreateVpcEndpointResult createVpcEndpoint(CreateVpcEndpointRequest request)
Creates an OpenSearch Serverless-managed interface VPC endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
createVpcEndpoint in interface AWSOpenSearchServerlesscreateVpcEndpointRequest - 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.public DeleteAccessPolicyResult deleteAccessPolicy(DeleteAccessPolicyRequest request)
Deletes an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.
deleteAccessPolicy in interface AWSOpenSearchServerlessdeleteAccessPolicyRequest - 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.public DeleteCollectionResult deleteCollection(DeleteCollectionRequest request)
Deletes an OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
deleteCollection in interface AWSOpenSearchServerlessdeleteCollectionRequest - 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.public DeleteSecurityConfigResult deleteSecurityConfig(DeleteSecurityConfigRequest request)
Deletes a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
deleteSecurityConfig in interface AWSOpenSearchServerlessdeleteSecurityConfigRequest - 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.public DeleteSecurityPolicyResult deleteSecurityPolicy(DeleteSecurityPolicyRequest request)
Deletes an OpenSearch Serverless security policy.
deleteSecurityPolicy in interface AWSOpenSearchServerlessdeleteSecurityPolicyRequest - 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.public DeleteVpcEndpointResult deleteVpcEndpoint(DeleteVpcEndpointRequest request)
Deletes an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
deleteVpcEndpoint in interface AWSOpenSearchServerlessdeleteVpcEndpointRequest - 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.public GetAccessPolicyResult getAccessPolicy(GetAccessPolicyRequest request)
Returns an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.
getAccessPolicy in interface AWSOpenSearchServerlessgetAccessPolicyRequest - 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.public GetAccountSettingsResult getAccountSettings(GetAccountSettingsRequest request)
Returns account-level settings related to OpenSearch Serverless.
getAccountSettings in interface AWSOpenSearchServerlessgetAccountSettingsRequest - 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.public GetPoliciesStatsResult getPoliciesStats(GetPoliciesStatsRequest request)
Returns statistical information about your OpenSearch Serverless access policies, security configurations, and security policies.
getPoliciesStats in interface AWSOpenSearchServerlessgetPoliciesStatsRequest - InternalServerException - Thrown when an error internal to the service occurs while processing a request.public GetSecurityConfigResult getSecurityConfig(GetSecurityConfigRequest request)
Returns information about an OpenSearch Serverless security configuration. For more information, see SAML authentication for Amazon OpenSearch Serverless.
getSecurityConfig in interface AWSOpenSearchServerlessgetSecurityConfigRequest - 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.public GetSecurityPolicyResult getSecurityPolicy(GetSecurityPolicyRequest 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.
getSecurityPolicy in interface AWSOpenSearchServerlessgetSecurityPolicyRequest - 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.public ListAccessPoliciesResult listAccessPolicies(ListAccessPoliciesRequest request)
Returns information about a list of OpenSearch Serverless access policies.
listAccessPolicies in interface AWSOpenSearchServerlesslistAccessPoliciesRequest - 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.public ListCollectionsResult listCollections(ListCollectionsRequest request)
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.
listCollections in interface AWSOpenSearchServerlesslistCollectionsRequest - 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.public ListSecurityConfigsResult listSecurityConfigs(ListSecurityConfigsRequest request)
Returns information about configured OpenSearch Serverless security configurations. For more information, see SAML authentication for Amazon OpenSearch Serverless.
listSecurityConfigs in interface AWSOpenSearchServerlesslistSecurityConfigsRequest - 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.public ListSecurityPoliciesResult listSecurityPolicies(ListSecurityPoliciesRequest request)
Returns information about configured OpenSearch Serverless security policies.
listSecurityPolicies in interface AWSOpenSearchServerlesslistSecurityPoliciesRequest - 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.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Returns the tags for an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.
listTagsForResource in interface AWSOpenSearchServerlesslistTagsForResourceRequest - 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.public ListVpcEndpointsResult listVpcEndpoints(ListVpcEndpointsRequest 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.
listVpcEndpoints in interface AWSOpenSearchServerlesslistVpcEndpointsRequest - 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.public TagResourceResult tagResource(TagResourceRequest request)
Associates tags with an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.
tagResource in interface AWSOpenSearchServerlesstagResourceRequest - 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.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes a tag or set of tags from an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.
untagResource in interface AWSOpenSearchServerlessuntagResourceRequest - 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.public UpdateAccessPolicyResult updateAccessPolicy(UpdateAccessPolicyRequest request)
Updates an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.
updateAccessPolicy in interface AWSOpenSearchServerlessupdateAccessPolicyRequest - 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.public UpdateAccountSettingsResult updateAccountSettings(UpdateAccountSettingsRequest request)
Update the OpenSearch Serverless settings for the current Amazon Web Services account. For more information, see Managing capacity limits for Amazon OpenSearch Serverless.
updateAccountSettings in interface AWSOpenSearchServerlessupdateAccountSettingsRequest - 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.public UpdateCollectionResult updateCollection(UpdateCollectionRequest request)
Updates an OpenSearch Serverless collection.
updateCollection in interface AWSOpenSearchServerlessupdateCollectionRequest - 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.public UpdateSecurityConfigResult updateSecurityConfig(UpdateSecurityConfigRequest request)
Updates a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
updateSecurityConfig in interface AWSOpenSearchServerlessupdateSecurityConfigRequest - 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.public UpdateSecurityPolicyResult updateSecurityPolicy(UpdateSecurityPolicyRequest 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.
updateSecurityPolicy in interface AWSOpenSearchServerlessupdateSecurityPolicyRequest - 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.public UpdateVpcEndpointResult updateVpcEndpoint(UpdateVpcEndpointRequest request)
Updates an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
updateVpcEndpoint in interface AWSOpenSearchServerlessupdateVpcEndpointRequest - 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.public 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 the request.
getCachedResponseMetadata in interface AWSOpenSearchServerlessrequest - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AWSOpenSearchServerlessshutdown in class AmazonWebServiceClient