@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_METRIC
ENDPOINT_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, withTimeOffset
public 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 AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
createCollectionRequest
- OcuLimitExceededException
- OCU Limit Exceeded for service limitsInternalServerException
- 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 AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.public DeleteCollectionResult deleteCollection(DeleteCollectionRequest request)
Deletes an OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
deleteCollection
in interface AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.public DeleteSecurityPolicyResult deleteSecurityPolicy(DeleteSecurityPolicyRequest request)
Deletes an OpenSearch Serverless security policy.
deleteSecurityPolicy
in interface AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.public GetAccountSettingsResult getAccountSettings(GetAccountSettingsRequest request)
Returns account-level settings related to OpenSearch Serverless.
getAccountSettings
in interface AWSOpenSearchServerless
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.public GetPoliciesStatsResult getPoliciesStats(GetPoliciesStatsRequest request)
Returns statistical information about your OpenSearch Serverless access policies, security configurations, and security policies.
getPoliciesStats
in interface AWSOpenSearchServerless
getPoliciesStatsRequest
- 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 AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.public ListAccessPoliciesResult listAccessPolicies(ListAccessPoliciesRequest request)
Returns information about a list of OpenSearch Serverless access policies.
listAccessPolicies
in interface AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.public ListSecurityPoliciesResult listSecurityPolicies(ListSecurityPoliciesRequest request)
Returns information about configured OpenSearch Serverless security policies.
listSecurityPolicies
in interface AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.public TagResourceResult tagResource(TagResourceRequest request)
Associates tags with an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.
tagResource
in interface AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.public UpdateCollectionResult updateCollection(UpdateCollectionRequest request)
Updates an OpenSearch Serverless collection.
updateCollection
in interface AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
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.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 AWSOpenSearchServerless
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSOpenSearchServerless
shutdown
in class AmazonWebServiceClient