@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonOpenSearch
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonOpenSearch
instead.
Use the Amazon OpenSearch Service configuration API to create, configure, and manage OpenSearch Service domains.
For sample code that uses the configuration API, see the Amazon OpenSearch Service Developer Guide . The guide also contains sample code for sending signed HTTP requests to the OpenSearch APIs. The endpoint for configuration service requests is Region specific: es.region.amazonaws.com. For example, es.us-east-1.amazonaws.com. For a current list of supported Regions and endpoints, see Amazon Web Services service endpoints.
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 |
---|---|
AcceptInboundConnectionResult |
acceptInboundConnection(AcceptInboundConnectionRequest acceptInboundConnectionRequest)
Allows the destination Amazon OpenSearch Service domain owner to accept an inbound cross-cluster search
connection request.
|
AddTagsResult |
addTags(AddTagsRequest addTagsRequest)
Attaches tags to an existing Amazon OpenSearch Service domain.
|
AssociatePackageResult |
associatePackage(AssociatePackageRequest associatePackageRequest)
Associates a package with an Amazon OpenSearch Service domain.
|
AuthorizeVpcEndpointAccessResult |
authorizeVpcEndpointAccess(AuthorizeVpcEndpointAccessRequest authorizeVpcEndpointAccessRequest)
Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
|
CancelServiceSoftwareUpdateResult |
cancelServiceSoftwareUpdate(CancelServiceSoftwareUpdateRequest cancelServiceSoftwareUpdateRequest)
Cancels a scheduled service software update for an Amazon OpenSearch Service domain.
|
CreateDomainResult |
createDomain(CreateDomainRequest createDomainRequest)
Creates an Amazon OpenSearch Service domain.
|
CreateOutboundConnectionResult |
createOutboundConnection(CreateOutboundConnectionRequest createOutboundConnectionRequest)
Creates a new cross-cluster search connection from a source Amazon OpenSearch Service domain to a destination
domain.
|
CreatePackageResult |
createPackage(CreatePackageRequest createPackageRequest)
Creates a package for use with Amazon OpenSearch Service domains.
|
CreateVpcEndpointResult |
createVpcEndpoint(CreateVpcEndpointRequest createVpcEndpointRequest)
Creates an Amazon OpenSearch Service-managed VPC endpoint.
|
DeleteDomainResult |
deleteDomain(DeleteDomainRequest deleteDomainRequest)
Deletes an Amazon OpenSearch Service domain and all of its data.
|
DeleteInboundConnectionResult |
deleteInboundConnection(DeleteInboundConnectionRequest deleteInboundConnectionRequest)
Allows the destination Amazon OpenSearch Service domain owner to delete an existing inbound cross-cluster search
connection.
|
DeleteOutboundConnectionResult |
deleteOutboundConnection(DeleteOutboundConnectionRequest deleteOutboundConnectionRequest)
Allows the source Amazon OpenSearch Service domain owner to delete an existing outbound cross-cluster search
connection.
|
DeletePackageResult |
deletePackage(DeletePackageRequest deletePackageRequest)
Deletes an Amazon OpenSearch Service package.
|
DeleteVpcEndpointResult |
deleteVpcEndpoint(DeleteVpcEndpointRequest deleteVpcEndpointRequest)
Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.
|
DescribeDomainResult |
describeDomain(DescribeDomainRequest describeDomainRequest)
Describes the domain configuration for the specified Amazon OpenSearch Service domain, including the domain ID,
domain service endpoint, and domain ARN.
|
DescribeDomainAutoTunesResult |
describeDomainAutoTunes(DescribeDomainAutoTunesRequest describeDomainAutoTunesRequest)
Returns the list of optimizations that Auto-Tune has made to an Amazon OpenSearch Service domain.
|
DescribeDomainChangeProgressResult |
describeDomainChangeProgress(DescribeDomainChangeProgressRequest describeDomainChangeProgressRequest)
Returns information about the current blue/green deployment happening on an Amazon OpenSearch Service domain.
|
DescribeDomainConfigResult |
describeDomainConfig(DescribeDomainConfigRequest describeDomainConfigRequest)
Returns the configuration of an Amazon OpenSearch Service domain.
|
DescribeDomainsResult |
describeDomains(DescribeDomainsRequest describeDomainsRequest)
Returns domain configuration information about the specified Amazon OpenSearch Service domains.
|
DescribeInboundConnectionsResult |
describeInboundConnections(DescribeInboundConnectionsRequest describeInboundConnectionsRequest)
Lists all the inbound cross-cluster search connections for a destination (remote) Amazon OpenSearch Service
domain.
|
DescribeInstanceTypeLimitsResult |
describeInstanceTypeLimits(DescribeInstanceTypeLimitsRequest describeInstanceTypeLimitsRequest)
Describes the instance count, storage, and master node limits for a given OpenSearch or Elasticsearch version and
instance type.
|
DescribeOutboundConnectionsResult |
describeOutboundConnections(DescribeOutboundConnectionsRequest describeOutboundConnectionsRequest)
Lists all the outbound cross-cluster connections for a local (source) Amazon OpenSearch Service domain.
|
DescribePackagesResult |
describePackages(DescribePackagesRequest describePackagesRequest)
Describes all packages available to OpenSearch Service.
|
DescribeReservedInstanceOfferingsResult |
describeReservedInstanceOfferings(DescribeReservedInstanceOfferingsRequest describeReservedInstanceOfferingsRequest)
Describes the available Amazon OpenSearch Service Reserved Instance offerings for a given Region.
|
DescribeReservedInstancesResult |
describeReservedInstances(DescribeReservedInstancesRequest describeReservedInstancesRequest)
Describes the Amazon OpenSearch Service instances that you have reserved in a given Region.
|
DescribeVpcEndpointsResult |
describeVpcEndpoints(DescribeVpcEndpointsRequest describeVpcEndpointsRequest)
Describes one or more Amazon OpenSearch Service-managed VPC endpoints.
|
DissociatePackageResult |
dissociatePackage(DissociatePackageRequest dissociatePackageRequest)
Removes a package from the specified Amazon OpenSearch Service domain.
|
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.
|
GetCompatibleVersionsResult |
getCompatibleVersions(GetCompatibleVersionsRequest getCompatibleVersionsRequest)
Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
|
GetPackageVersionHistoryResult |
getPackageVersionHistory(GetPackageVersionHistoryRequest getPackageVersionHistoryRequest)
Returns a list of Amazon OpenSearch Service package versions, along with their creation time and commit message.
|
GetUpgradeHistoryResult |
getUpgradeHistory(GetUpgradeHistoryRequest getUpgradeHistoryRequest)
Retrieves the complete history of the last 10 upgrades performed on an Amazon OpenSearch Service domain.
|
GetUpgradeStatusResult |
getUpgradeStatus(GetUpgradeStatusRequest getUpgradeStatusRequest)
Returns the most recent status of the last upgrade or upgrade eligibility check performed on an Amazon OpenSearch
Service domain.
|
ListDomainNamesResult |
listDomainNames(ListDomainNamesRequest listDomainNamesRequest)
Returns the names of all Amazon OpenSearch Service domains owned by the current user in the active Region.
|
ListDomainsForPackageResult |
listDomainsForPackage(ListDomainsForPackageRequest listDomainsForPackageRequest)
Lists all Amazon OpenSearch Service domains associated with a given package.
|
ListInstanceTypeDetailsResult |
listInstanceTypeDetails(ListInstanceTypeDetailsRequest listInstanceTypeDetailsRequest)
Lists all instance types and available features for a given OpenSearch or Elasticsearch version.
|
ListPackagesForDomainResult |
listPackagesForDomain(ListPackagesForDomainRequest listPackagesForDomainRequest)
Lists all packages associated with an Amazon OpenSearch Service domain.
|
ListTagsResult |
listTags(ListTagsRequest listTagsRequest)
Returns all resource tags for an Amazon OpenSearch Service domain.
|
ListVersionsResult |
listVersions(ListVersionsRequest listVersionsRequest)
Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.
|
ListVpcEndpointAccessResult |
listVpcEndpointAccess(ListVpcEndpointAccessRequest listVpcEndpointAccessRequest)
Retrieves information about each Amazon Web Services principal that is allowed to access a given Amazon
OpenSearch Service domain through the use of an interface VPC endpoint.
|
ListVpcEndpointsResult |
listVpcEndpoints(ListVpcEndpointsRequest listVpcEndpointsRequest)
Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current Amazon Web Services account and
Region.
|
ListVpcEndpointsForDomainResult |
listVpcEndpointsForDomain(ListVpcEndpointsForDomainRequest listVpcEndpointsForDomainRequest)
Retrieves all Amazon OpenSearch Service-managed VPC endpoints associated with a particular domain.
|
PurchaseReservedInstanceOfferingResult |
purchaseReservedInstanceOffering(PurchaseReservedInstanceOfferingRequest purchaseReservedInstanceOfferingRequest)
Allows you to purchase Amazon OpenSearch Service Reserved Instances.
|
RejectInboundConnectionResult |
rejectInboundConnection(RejectInboundConnectionRequest rejectInboundConnectionRequest)
Allows the remote Amazon OpenSearch Service domain owner to reject an inbound cross-cluster connection request.
|
RemoveTagsResult |
removeTags(RemoveTagsRequest removeTagsRequest)
Removes the specified set of tags from an Amazon OpenSearch Service domain.
|
RevokeVpcEndpointAccessResult |
revokeVpcEndpointAccess(RevokeVpcEndpointAccessRequest revokeVpcEndpointAccessRequest)
Revokes access to an Amazon OpenSearch Service domain that was provided through an interface VPC endpoint.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartServiceSoftwareUpdateResult |
startServiceSoftwareUpdate(StartServiceSoftwareUpdateRequest startServiceSoftwareUpdateRequest)
Schedules a service software update for an Amazon OpenSearch Service domain.
|
UpdateDomainConfigResult |
updateDomainConfig(UpdateDomainConfigRequest updateDomainConfigRequest)
Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.
|
UpdatePackageResult |
updatePackage(UpdatePackageRequest updatePackageRequest)
Updates a package for use with Amazon OpenSearch Service domains.
|
UpdateVpcEndpointResult |
updateVpcEndpoint(UpdateVpcEndpointRequest updateVpcEndpointRequest)
Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.
|
UpgradeDomainResult |
upgradeDomain(UpgradeDomainRequest upgradeDomainRequest)
Allows you to either upgrade your Amazon OpenSearch Service domain or perform an upgrade eligibility check to a
compatible version of OpenSearch or Elasticsearch.
|
static final String ENDPOINT_PREFIX
AcceptInboundConnectionResult acceptInboundConnection(AcceptInboundConnectionRequest acceptInboundConnectionRequest)
Allows the destination Amazon OpenSearch Service domain owner to accept an inbound cross-cluster search connection request. For more information, see Cross-cluster search for Amazon OpenSearch Service.
acceptInboundConnectionRequest
- Container for the parameters to the AcceptInboundConnection
operation.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.LimitExceededException
- An exception for trying to create more than allowed resources or sub-resources. Gives http status code of
409.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.AddTagsResult addTags(AddTagsRequest addTagsRequest)
Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a set of case-sensitive key-value pairs. An domain can have up to 10 tags. For more information, see Tagging Amazon OpenSearch Service domains.
addTagsRequest
- Container for the parameters to the AddTags
operation. Specifies the tags to attach to the
domain.BaseException
- An error occurred while processing the request.LimitExceededException
- An exception for trying to create more than allowed resources or sub-resources. Gives http status code of
409.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.AssociatePackageResult associatePackage(AssociatePackageRequest associatePackageRequest)
Associates a package with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service.
associatePackageRequest
- Container for the request parameters to the AssociatePackage
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.AccessDeniedException
- An error occurred because user does not have permissions to access the resource. Returns HTTP status code
403.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.ConflictException
- An error occurred because the client attempts to remove a resource that is currently in use. Returns HTTP
status code 409.AuthorizeVpcEndpointAccessResult authorizeVpcEndpointAccess(AuthorizeVpcEndpointAccessRequest authorizeVpcEndpointAccessRequest)
Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
authorizeVpcEndpointAccessRequest
- ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.LimitExceededException
- An exception for trying to create more than allowed resources or sub-resources. Gives http status code of
409.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.BaseException
- An error occurred while processing the request.CancelServiceSoftwareUpdateResult cancelServiceSoftwareUpdate(CancelServiceSoftwareUpdateRequest cancelServiceSoftwareUpdateRequest)
Cancels a scheduled service software update for an Amazon OpenSearch Service domain. You can only perform this
operation before the AutomatedUpdateDate
and when the domain's UpdateStatus
is
PENDING_UPDATE
. For more information, see Service
software updates in Amazon OpenSearch Service.
cancelServiceSoftwareUpdateRequest
- Container for the request parameters to cancel a service software update.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.CreateDomainResult createDomain(CreateDomainRequest createDomainRequest)
Creates an Amazon OpenSearch Service domain. For more information, see Creating and managing Amazon OpenSearch Service domains.
createDomainRequest
- BaseException
- An error occurred while processing the request.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.InvalidTypeException
- An exception for trying to create or access sub-resource that is either invalid or not supported. Gives
http status code of 409.LimitExceededException
- An exception for trying to create more than allowed resources or sub-resources. Gives http status code of
409.ResourceAlreadyExistsException
- An exception for creating a resource that already exists. Gives http status code of 400.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.CreateOutboundConnectionResult createOutboundConnection(CreateOutboundConnectionRequest createOutboundConnectionRequest)
Creates a new cross-cluster search connection from a source Amazon OpenSearch Service domain to a destination domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
createOutboundConnectionRequest
- Container for the parameters to the CreateOutboundConnection
operation.LimitExceededException
- An exception for trying to create more than allowed resources or sub-resources. Gives http status code of
409.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ResourceAlreadyExistsException
- An exception for creating a resource that already exists. Gives http status code of 400.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.CreatePackageResult createPackage(CreatePackageRequest createPackageRequest)
Creates a package for use with Amazon OpenSearch Service domains. For more information, see Custom packages for Amazon OpenSearch Service.
createPackageRequest
- Container for request parameters to the CreatePackage
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.LimitExceededException
- An exception for trying to create more than allowed resources or sub-resources. Gives http status code of
409.InvalidTypeException
- An exception for trying to create or access sub-resource that is either invalid or not supported. Gives
http status code of 409.ResourceAlreadyExistsException
- An exception for creating a resource that already exists. Gives http status code of 400.AccessDeniedException
- An error occurred because user does not have permissions to access the resource. Returns HTTP status code
403.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.CreateVpcEndpointResult createVpcEndpoint(CreateVpcEndpointRequest createVpcEndpointRequest)
Creates an Amazon OpenSearch Service-managed VPC endpoint.
createVpcEndpointRequest
- ConflictException
- An error occurred because the client attempts to remove a resource that is currently in use. Returns HTTP
status code 409.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.LimitExceededException
- An exception for trying to create more than allowed resources or sub-resources. Gives http status code of
409.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.BaseException
- An error occurred while processing the request.DeleteDomainResult deleteDomain(DeleteDomainRequest deleteDomainRequest)
Deletes an Amazon OpenSearch Service domain and all of its data. You can't recover a domain after you delete it.
deleteDomainRequest
- Container for the parameters to the DeleteDomain
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.DeleteInboundConnectionResult deleteInboundConnection(DeleteInboundConnectionRequest deleteInboundConnectionRequest)
Allows the destination Amazon OpenSearch Service domain owner to delete an existing inbound cross-cluster search connection. For more information, see Cross-cluster search for Amazon OpenSearch Service.
deleteInboundConnectionRequest
- Container for the parameters to the DeleteInboundConnection
operation.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.DeleteOutboundConnectionResult deleteOutboundConnection(DeleteOutboundConnectionRequest deleteOutboundConnectionRequest)
Allows the source Amazon OpenSearch Service domain owner to delete an existing outbound cross-cluster search connection. For more information, see Cross-cluster search for Amazon OpenSearch Service.
deleteOutboundConnectionRequest
- Container for the parameters to the DeleteOutboundConnection
operation.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.DeletePackageResult deletePackage(DeletePackageRequest deletePackageRequest)
Deletes an Amazon OpenSearch Service package. For more information, see Custom packages for Amazon OpenSearch Service.
deletePackageRequest
- Deletes a package from OpenSearch Service. The package can't be associated with any OpenSearch Service
domain.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.AccessDeniedException
- An error occurred because user does not have permissions to access the resource. Returns HTTP status code
403.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.ConflictException
- An error occurred because the client attempts to remove a resource that is currently in use. Returns HTTP
status code 409.DeleteVpcEndpointResult deleteVpcEndpoint(DeleteVpcEndpointRequest deleteVpcEndpointRequest)
Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.
deleteVpcEndpointRequest
- ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.BaseException
- An error occurred while processing the request.DescribeDomainResult describeDomain(DescribeDomainRequest describeDomainRequest)
Describes the domain configuration for the specified Amazon OpenSearch Service domain, including the domain ID, domain service endpoint, and domain ARN.
describeDomainRequest
- Container for the parameters to the DescribeDomain
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.DescribeDomainAutoTunesResult describeDomainAutoTunes(DescribeDomainAutoTunesRequest describeDomainAutoTunesRequest)
Returns the list of optimizations that Auto-Tune has made to an Amazon OpenSearch Service domain. For more information, see Auto-Tune for Amazon OpenSearch Service.
describeDomainAutoTunesRequest
- Container for the parameters to the DescribeDomainAutoTunes
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.DescribeDomainChangeProgressResult describeDomainChangeProgress(DescribeDomainChangeProgressRequest describeDomainChangeProgressRequest)
Returns information about the current blue/green deployment happening on an Amazon OpenSearch Service domain. For more information, see Making configuration changes in Amazon OpenSearch Service.
describeDomainChangeProgressRequest
- Container for the parameters to the DescribeDomainChangeProgress
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.DescribeDomainConfigResult describeDomainConfig(DescribeDomainConfigRequest describeDomainConfigRequest)
Returns the configuration of an Amazon OpenSearch Service domain.
describeDomainConfigRequest
- Container for the parameters to the DescribeDomainConfig
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.DescribeDomainsResult describeDomains(DescribeDomainsRequest describeDomainsRequest)
Returns domain configuration information about the specified Amazon OpenSearch Service domains.
describeDomainsRequest
- Container for the parameters to the DescribeDomains
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.DescribeInboundConnectionsResult describeInboundConnections(DescribeInboundConnectionsRequest describeInboundConnectionsRequest)
Lists all the inbound cross-cluster search connections for a destination (remote) Amazon OpenSearch Service domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
describeInboundConnectionsRequest
- Container for the parameters to the DescribeInboundConnections
operation.InvalidPaginationTokenException
- The request processing has failed because of invalid pagination token provided by customer. Returns an
HTTP status code of 400.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.DescribeInstanceTypeLimitsResult describeInstanceTypeLimits(DescribeInstanceTypeLimitsRequest describeInstanceTypeLimitsRequest)
Describes the instance count, storage, and master node limits for a given OpenSearch or Elasticsearch version and instance type.
describeInstanceTypeLimitsRequest
- Container for the parameters to the DescribeInstanceTypeLimits
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.InvalidTypeException
- An exception for trying to create or access sub-resource that is either invalid or not supported. Gives
http status code of 409.LimitExceededException
- An exception for trying to create more than allowed resources or sub-resources. Gives http status code of
409.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.DescribeOutboundConnectionsResult describeOutboundConnections(DescribeOutboundConnectionsRequest describeOutboundConnectionsRequest)
Lists all the outbound cross-cluster connections for a local (source) Amazon OpenSearch Service domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
describeOutboundConnectionsRequest
- Container for the parameters to the DescribeOutboundConnections
operation.InvalidPaginationTokenException
- The request processing has failed because of invalid pagination token provided by customer. Returns an
HTTP status code of 400.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.DescribePackagesResult describePackages(DescribePackagesRequest describePackagesRequest)
Describes all packages available to OpenSearch Service. For more information, see Custom packages for Amazon OpenSearch Service.
describePackagesRequest
- Container for the request parameters to the DescribePackage
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.AccessDeniedException
- An error occurred because user does not have permissions to access the resource. Returns HTTP status code
403.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.DescribeReservedInstanceOfferingsResult describeReservedInstanceOfferings(DescribeReservedInstanceOfferingsRequest describeReservedInstanceOfferingsRequest)
Describes the available Amazon OpenSearch Service Reserved Instance offerings for a given Region. For more information, see Reserved Instances in Amazon OpenSearch Service.
describeReservedInstanceOfferingsRequest
- Container for the request parameters to a DescribeReservedInstanceOfferings
operation.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.DescribeReservedInstancesResult describeReservedInstances(DescribeReservedInstancesRequest describeReservedInstancesRequest)
Describes the Amazon OpenSearch Service instances that you have reserved in a given Region. For more information, see Reserved Instances in Amazon OpenSearch Service.
describeReservedInstancesRequest
- Container for the request parameters to the DescribeReservedInstances
operation.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.DescribeVpcEndpointsResult describeVpcEndpoints(DescribeVpcEndpointsRequest describeVpcEndpointsRequest)
Describes one or more Amazon OpenSearch Service-managed VPC endpoints.
describeVpcEndpointsRequest
- ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.BaseException
- An error occurred while processing the request.DissociatePackageResult dissociatePackage(DissociatePackageRequest dissociatePackageRequest)
Removes a package from the specified Amazon OpenSearch Service domain. The package can't be in use with any OpenSearch index for the dissociation to succeed. The package is still available in OpenSearch Service for association later. For more information, see Custom packages for Amazon OpenSearch Service.
dissociatePackageRequest
- Container for the request parameters to the DissociatePackage
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.AccessDeniedException
- An error occurred because user does not have permissions to access the resource. Returns HTTP status code
403.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.ConflictException
- An error occurred because the client attempts to remove a resource that is currently in use. Returns HTTP
status code 409.GetCompatibleVersionsResult getCompatibleVersions(GetCompatibleVersionsRequest getCompatibleVersionsRequest)
Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
getCompatibleVersionsRequest
- Container for the request parameters to GetCompatibleVersions
operation.BaseException
- An error occurred while processing the request.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.GetPackageVersionHistoryResult getPackageVersionHistory(GetPackageVersionHistoryRequest getPackageVersionHistoryRequest)
Returns a list of Amazon OpenSearch Service package versions, along with their creation time and commit message. For more information, see Custom packages for Amazon OpenSearch Service.
getPackageVersionHistoryRequest
- Container for the request parameters to the GetPackageVersionHistory
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.AccessDeniedException
- An error occurred because user does not have permissions to access the resource. Returns HTTP status code
403.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.GetUpgradeHistoryResult getUpgradeHistory(GetUpgradeHistoryRequest getUpgradeHistoryRequest)
Retrieves the complete history of the last 10 upgrades performed on an Amazon OpenSearch Service domain.
getUpgradeHistoryRequest
- Container for the request parameters to the GetUpgradeHistory
operation.BaseException
- An error occurred while processing the request.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.GetUpgradeStatusResult getUpgradeStatus(GetUpgradeStatusRequest getUpgradeStatusRequest)
Returns the most recent status of the last upgrade or upgrade eligibility check performed on an Amazon OpenSearch Service domain.
getUpgradeStatusRequest
- Container for the request parameters to the GetUpgradeStatus
operation.BaseException
- An error occurred while processing the request.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ListDomainNamesResult listDomainNames(ListDomainNamesRequest listDomainNamesRequest)
Returns the names of all Amazon OpenSearch Service domains owned by the current user in the active Region.
listDomainNamesRequest
- Container for the parameters to the ListDomainNames
operation.BaseException
- An error occurred while processing the request.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.ListDomainsForPackageResult listDomainsForPackage(ListDomainsForPackageRequest listDomainsForPackageRequest)
Lists all Amazon OpenSearch Service domains associated with a given package. For more information, see Custom packages for Amazon OpenSearch Service.
listDomainsForPackageRequest
- Container for the request parameters to the ListDomainsForPackage
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.AccessDeniedException
- An error occurred because user does not have permissions to access the resource. Returns HTTP status code
403.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.ListInstanceTypeDetailsResult listInstanceTypeDetails(ListInstanceTypeDetailsRequest listInstanceTypeDetailsRequest)
Lists all instance types and available features for a given OpenSearch or Elasticsearch version.
listInstanceTypeDetailsRequest
- BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.ListPackagesForDomainResult listPackagesForDomain(ListPackagesForDomainRequest listPackagesForDomainRequest)
Lists all packages associated with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service.
listPackagesForDomainRequest
- Container for the request parameters to the ListPackagesForDomain
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.AccessDeniedException
- An error occurred because user does not have permissions to access the resource. Returns HTTP status code
403.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.ListTagsResult listTags(ListTagsRequest listTagsRequest)
Returns all resource tags for an Amazon OpenSearch Service domain. For more information, see Tagging Amazon OpenSearch Service domains.
listTagsRequest
- Container for the parameters to the ListTags
operation.BaseException
- An error occurred while processing the request.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ListVersionsResult listVersions(ListVersionsRequest listVersionsRequest)
Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.
listVersionsRequest
- Container for the request parameters to the ListVersions
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.ListVpcEndpointAccessResult listVpcEndpointAccess(ListVpcEndpointAccessRequest listVpcEndpointAccessRequest)
Retrieves information about each Amazon Web Services principal that is allowed to access a given Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
listVpcEndpointAccessRequest
- ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.BaseException
- An error occurred while processing the request.ListVpcEndpointsResult listVpcEndpoints(ListVpcEndpointsRequest listVpcEndpointsRequest)
Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current Amazon Web Services account and Region.
listVpcEndpointsRequest
- InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.BaseException
- An error occurred while processing the request.ListVpcEndpointsForDomainResult listVpcEndpointsForDomain(ListVpcEndpointsForDomainRequest listVpcEndpointsForDomainRequest)
Retrieves all Amazon OpenSearch Service-managed VPC endpoints associated with a particular domain.
listVpcEndpointsForDomainRequest
- InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.BaseException
- An error occurred while processing the request.PurchaseReservedInstanceOfferingResult purchaseReservedInstanceOffering(PurchaseReservedInstanceOfferingRequest purchaseReservedInstanceOfferingRequest)
Allows you to purchase Amazon OpenSearch Service Reserved Instances.
purchaseReservedInstanceOfferingRequest
- Container for request parameters to the PurchaseReservedInstanceOffering
operation.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.ResourceAlreadyExistsException
- An exception for creating a resource that already exists. Gives http status code of 400.LimitExceededException
- An exception for trying to create more than allowed resources or sub-resources. Gives http status code of
409.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.RejectInboundConnectionResult rejectInboundConnection(RejectInboundConnectionRequest rejectInboundConnectionRequest)
Allows the remote Amazon OpenSearch Service domain owner to reject an inbound cross-cluster connection request.
rejectInboundConnectionRequest
- Container for the request parameters to the RejectInboundConnection
operation.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.RemoveTagsResult removeTags(RemoveTagsRequest removeTagsRequest)
Removes the specified set of tags from an Amazon OpenSearch Service domain. For more information, see Tagging Amazon OpenSearch Service domains.
removeTagsRequest
- Container for the request parameters to the RemoveTags
operation.BaseException
- An error occurred while processing the request.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.RevokeVpcEndpointAccessResult revokeVpcEndpointAccess(RevokeVpcEndpointAccessRequest revokeVpcEndpointAccessRequest)
Revokes access to an Amazon OpenSearch Service domain that was provided through an interface VPC endpoint.
revokeVpcEndpointAccessRequest
- ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.BaseException
- An error occurred while processing the request.StartServiceSoftwareUpdateResult startServiceSoftwareUpdate(StartServiceSoftwareUpdateRequest startServiceSoftwareUpdateRequest)
Schedules a service software update for an Amazon OpenSearch Service domain. For more information, see Service software updates in Amazon OpenSearch Service.
startServiceSoftwareUpdateRequest
- Container for the request parameters to the StartServiceSoftwareUpdate
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.UpdateDomainConfigResult updateDomainConfig(UpdateDomainConfigRequest updateDomainConfigRequest)
Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.
updateDomainConfigRequest
- Container for the request parameters to the UpdateDomain
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.InvalidTypeException
- An exception for trying to create or access sub-resource that is either invalid or not supported. Gives
http status code of 409.LimitExceededException
- An exception for trying to create more than allowed resources or sub-resources. Gives http status code of
409.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.UpdatePackageResult updatePackage(UpdatePackageRequest updatePackageRequest)
Updates a package for use with Amazon OpenSearch Service domains. For more information, see Custom packages for Amazon OpenSearch Service.
updatePackageRequest
- Container for request parameters to the UpdatePackage
operation.BaseException
- An error occurred while processing the request.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.LimitExceededException
- An exception for trying to create more than allowed resources or sub-resources. Gives http status code of
409.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.AccessDeniedException
- An error occurred because user does not have permissions to access the resource. Returns HTTP status code
403.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.UpdateVpcEndpointResult updateVpcEndpoint(UpdateVpcEndpointRequest updateVpcEndpointRequest)
Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.
updateVpcEndpointRequest
- ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.ConflictException
- An error occurred because the client attempts to remove a resource that is currently in use. Returns HTTP
status code 409.BaseException
- An error occurred while processing the request.UpgradeDomainResult upgradeDomain(UpgradeDomainRequest upgradeDomainRequest)
Allows you to either upgrade your Amazon OpenSearch Service domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch.
upgradeDomainRequest
- Container for the request parameters to the UpgradeDomain
operation.BaseException
- An error occurred while processing the request.ResourceNotFoundException
- An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.ResourceAlreadyExistsException
- An exception for creating a resource that already exists. Gives http status code of 400.DisabledOperationException
- An error occured because the client wanted to access a not supported operation. Gives http status code of
409.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.InternalException
- The request processing has failed because of an unknown error, exception or failure (the failure is
internal to the service) . Gives http status code of 500.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.