@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSElasticsearch
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSElasticsearch
instead.
Use the Amazon Elasticsearch configuration API to create, configure, and manage Elasticsearch domains.
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 Regions and 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 |
---|---|
AddTagsResult |
addTags(AddTagsRequest addTagsRequest)
Attaches tags to an existing Elasticsearch domain.
|
CancelElasticsearchServiceSoftwareUpdateResult |
cancelElasticsearchServiceSoftwareUpdate(CancelElasticsearchServiceSoftwareUpdateRequest cancelElasticsearchServiceSoftwareUpdateRequest)
Cancels a scheduled service software update for an Amazon ES domain.
|
CreateElasticsearchDomainResult |
createElasticsearchDomain(CreateElasticsearchDomainRequest createElasticsearchDomainRequest)
Creates a new Elasticsearch domain.
|
DeleteElasticsearchDomainResult |
deleteElasticsearchDomain(DeleteElasticsearchDomainRequest deleteElasticsearchDomainRequest)
Permanently deletes the specified Elasticsearch domain and all of its data.
|
DeleteElasticsearchServiceRoleResult |
deleteElasticsearchServiceRole(DeleteElasticsearchServiceRoleRequest deleteElasticsearchServiceRoleRequest)
Deletes the service-linked role that Elasticsearch Service uses to manage and maintain VPC domains.
|
DescribeElasticsearchDomainResult |
describeElasticsearchDomain(DescribeElasticsearchDomainRequest describeElasticsearchDomainRequest)
Returns domain configuration information about the specified Elasticsearch domain, including the domain ID,
domain endpoint, and domain ARN.
|
DescribeElasticsearchDomainConfigResult |
describeElasticsearchDomainConfig(DescribeElasticsearchDomainConfigRequest describeElasticsearchDomainConfigRequest)
Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation
date, update version, and update date for cluster options.
|
DescribeElasticsearchDomainsResult |
describeElasticsearchDomains(DescribeElasticsearchDomainsRequest describeElasticsearchDomainsRequest)
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID,
domain endpoint, and domain ARN.
|
DescribeElasticsearchInstanceTypeLimitsResult |
describeElasticsearchInstanceTypeLimits(DescribeElasticsearchInstanceTypeLimitsRequest describeElasticsearchInstanceTypeLimitsRequest)
Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion.
|
DescribeReservedElasticsearchInstanceOfferingsResult |
describeReservedElasticsearchInstanceOfferings(DescribeReservedElasticsearchInstanceOfferingsRequest describeReservedElasticsearchInstanceOfferingsRequest)
Lists available reserved Elasticsearch instance offerings.
|
DescribeReservedElasticsearchInstancesResult |
describeReservedElasticsearchInstances(DescribeReservedElasticsearchInstancesRequest describeReservedElasticsearchInstancesRequest)
Returns information about reserved Elasticsearch instances for this account.
|
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.
|
GetCompatibleElasticsearchVersionsResult |
getCompatibleElasticsearchVersions(GetCompatibleElasticsearchVersionsRequest getCompatibleElasticsearchVersionsRequest)
Returns a list of upgrade compatible Elastisearch versions.
|
GetUpgradeHistoryResult |
getUpgradeHistory(GetUpgradeHistoryRequest getUpgradeHistoryRequest)
Retrieves the complete history of the last 10 upgrades that were performed on the domain.
|
GetUpgradeStatusResult |
getUpgradeStatus(GetUpgradeStatusRequest getUpgradeStatusRequest)
Retrieves the latest status of the last upgrade or upgrade eligibility check that was performed on the domain.
|
ListDomainNamesResult |
listDomainNames(ListDomainNamesRequest listDomainNamesRequest)
Returns the name of all Elasticsearch domains owned by the current user's account.
|
ListElasticsearchInstanceTypesResult |
listElasticsearchInstanceTypes(ListElasticsearchInstanceTypesRequest listElasticsearchInstanceTypesRequest)
List all Elasticsearch instance types that are supported for given ElasticsearchVersion
|
ListElasticsearchVersionsResult |
listElasticsearchVersions(ListElasticsearchVersionsRequest listElasticsearchVersionsRequest)
List all supported Elasticsearch versions
|
ListTagsResult |
listTags(ListTagsRequest listTagsRequest)
Returns all tags for the given Elasticsearch domain.
|
PurchaseReservedElasticsearchInstanceOfferingResult |
purchaseReservedElasticsearchInstanceOffering(PurchaseReservedElasticsearchInstanceOfferingRequest purchaseReservedElasticsearchInstanceOfferingRequest)
Allows you to purchase reserved Elasticsearch instances.
|
RemoveTagsResult |
removeTags(RemoveTagsRequest removeTagsRequest)
Removes the specified set of tags from the specified Elasticsearch domain.
|
void |
setEndpoint(String endpoint)
Deprecated.
use
AwsClientBuilder#setEndpointConfiguration(AwsClientBuilder.EndpointConfiguration) for
example:
builder.setEndpointConfiguration(new EndpointConfiguration(endpoint, signingRegion)); |
void |
setRegion(Region region)
Deprecated.
use
AwsClientBuilder#setRegion(String) |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartElasticsearchServiceSoftwareUpdateResult |
startElasticsearchServiceSoftwareUpdate(StartElasticsearchServiceSoftwareUpdateRequest startElasticsearchServiceSoftwareUpdateRequest)
Schedules a service software update for an Amazon ES domain.
|
UpdateElasticsearchDomainConfigResult |
updateElasticsearchDomainConfig(UpdateElasticsearchDomainConfigRequest updateElasticsearchDomainConfigRequest)
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type
and the number of instances.
|
UpgradeElasticsearchDomainResult |
upgradeElasticsearchDomain(UpgradeElasticsearchDomainRequest upgradeElasticsearchDomainRequest)
Allows you to either upgrade your domain or perform an Upgrade eligibility check to a compatible Elasticsearch
version.
|
static final String ENDPOINT_PREFIX
@Deprecated void setEndpoint(String endpoint)
AwsClientBuilder#setEndpointConfiguration(AwsClientBuilder.EndpointConfiguration)
for
example:
builder.setEndpointConfiguration(new EndpointConfiguration(endpoint, signingRegion));
Callers can pass in just the endpoint (ex: "es.us-east-1.amazonaws.com") or a full URL, including the protocol
(ex: "https://es.us-east-1.amazonaws.com"). If the protocol is not specified here, the default protocol from this
client's ClientConfiguration
will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/java-dg-region-selection.html#region-selection- choose-endpoint
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
endpoint
- The endpoint (ex: "es.us-east-1.amazonaws.com") or a full URL, including the protocol (ex:
"https://es.us-east-1.amazonaws.com") of the region specific AWS endpoint this client will communicate
with.@Deprecated void setRegion(Region region)
AwsClientBuilder#setRegion(String)
setEndpoint(String)
, sets the regional endpoint for this client's
service calls. Callers can use this method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol. To use http instead, specify it in the
ClientConfiguration
supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
region
- The region this client will communicate with. See Region.getRegion(com.amazonaws.regions.Regions)
for accessing a given region. Must not be null and must be a region where the service is available.Region.getRegion(com.amazonaws.regions.Regions)
,
Region.createClient(Class, com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration)
,
Region.isServiceSupported(String)
AddTagsResult addTags(AddTagsRequest addTagsRequest)
Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information.
addTagsRequest
- Container for the parameters to the AddTags
operation. Specify the tags that you want
to attach to the Elasticsearch 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.CancelElasticsearchServiceSoftwareUpdateResult cancelElasticsearchServiceSoftwareUpdate(CancelElasticsearchServiceSoftwareUpdateRequest cancelElasticsearchServiceSoftwareUpdateRequest)
Cancels a scheduled service software update for an Amazon ES domain. You can only perform this operation before
the AutomatedUpdateDate
and when the UpdateStatus
is in the PENDING_UPDATE
state.
cancelElasticsearchServiceSoftwareUpdateRequest
- Container for the parameters to the CancelElasticsearchServiceSoftwareUpdate
operation. Specifies the name of the Elasticsearch domain that you wish to cancel a service software
update on.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.CreateElasticsearchDomainResult createElasticsearchDomain(CreateElasticsearchDomainRequest createElasticsearchDomainRequest)
Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
createElasticsearchDomainRequest
- 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.DeleteElasticsearchDomainResult deleteElasticsearchDomain(DeleteElasticsearchDomainRequest deleteElasticsearchDomainRequest)
Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.
deleteElasticsearchDomainRequest
- Container for the parameters to the DeleteElasticsearchDomain
operation. Specifies the
name of the Elasticsearch domain that you want to delete.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.DeleteElasticsearchServiceRoleResult deleteElasticsearchServiceRole(DeleteElasticsearchServiceRoleRequest deleteElasticsearchServiceRoleRequest)
Deletes the service-linked role that Elasticsearch Service uses to manage and maintain VPC domains. Role deletion will fail if any existing VPC domains use the role. You must delete any such Elasticsearch domains before deleting the role. See Deleting Elasticsearch Service Role in VPC Endpoints for Amazon Elasticsearch Service Domains.
deleteElasticsearchServiceRoleRequest
- 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.DescribeElasticsearchDomainResult describeElasticsearchDomain(DescribeElasticsearchDomainRequest describeElasticsearchDomainRequest)
Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.
describeElasticsearchDomainRequest
- Container for the parameters to the DescribeElasticsearchDomain
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.DescribeElasticsearchDomainConfigResult describeElasticsearchDomainConfig(DescribeElasticsearchDomainConfigRequest describeElasticsearchDomainConfigRequest)
Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.
describeElasticsearchDomainConfigRequest
- Container for the parameters to the DescribeElasticsearchDomainConfig
operation. Specifies
the domain name for which you want configuration information.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.DescribeElasticsearchDomainsResult describeElasticsearchDomains(DescribeElasticsearchDomainsRequest describeElasticsearchDomainsRequest)
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.
describeElasticsearchDomainsRequest
- Container for the parameters to the DescribeElasticsearchDomains
operation. By
default, the API returns the status of all Elasticsearch domains.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.DescribeElasticsearchInstanceTypeLimitsResult describeElasticsearchInstanceTypeLimits(DescribeElasticsearchInstanceTypeLimitsRequest describeElasticsearchInstanceTypeLimitsRequest)
Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion. When modifying existing Domain,
specify the DomainName
to know what Limits are supported for modifying.
describeElasticsearchInstanceTypeLimitsRequest
- Container for the parameters to DescribeElasticsearchInstanceTypeLimits
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.DescribeReservedElasticsearchInstanceOfferingsResult describeReservedElasticsearchInstanceOfferings(DescribeReservedElasticsearchInstanceOfferingsRequest describeReservedElasticsearchInstanceOfferingsRequest)
Lists available reserved Elasticsearch instance offerings.
describeReservedElasticsearchInstanceOfferingsRequest
- Container for parameters to DescribeReservedElasticsearchInstanceOfferings
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.DescribeReservedElasticsearchInstancesResult describeReservedElasticsearchInstances(DescribeReservedElasticsearchInstancesRequest describeReservedElasticsearchInstancesRequest)
Returns information about reserved Elasticsearch instances for this account.
describeReservedElasticsearchInstancesRequest
- Container for parameters to DescribeReservedElasticsearchInstances
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.GetCompatibleElasticsearchVersionsResult getCompatibleElasticsearchVersions(GetCompatibleElasticsearchVersionsRequest getCompatibleElasticsearchVersionsRequest)
Returns a list of upgrade compatible Elastisearch versions. You can optionally pass a
DomainName
to get all upgrade compatible Elasticsearch versions for that specific domain.
getCompatibleElasticsearchVersionsRequest
- Container for request parameters to GetCompatibleElasticsearchVersions
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.GetUpgradeHistoryResult getUpgradeHistory(GetUpgradeHistoryRequest getUpgradeHistoryRequest)
Retrieves the complete history of the last 10 upgrades that were performed on the domain.
getUpgradeHistoryRequest
- Container for request parameters to 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)
Retrieves the latest status of the last upgrade or upgrade eligibility check that was performed on the domain.
getUpgradeStatusRequest
- Container for request parameters to 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 name of all Elasticsearch domains owned by the current user's account.
listDomainNamesRequest
- BaseException
- An error occurred while processing the request.ValidationException
- An exception for missing / invalid input fields. Gives http status code of 400.ListElasticsearchInstanceTypesResult listElasticsearchInstanceTypes(ListElasticsearchInstanceTypesRequest listElasticsearchInstanceTypesRequest)
List all Elasticsearch instance types that are supported for given ElasticsearchVersion
listElasticsearchInstanceTypesRequest
- Container for the parameters to the ListElasticsearchInstanceTypes
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.ListElasticsearchVersionsResult listElasticsearchVersions(ListElasticsearchVersionsRequest listElasticsearchVersionsRequest)
List all supported Elasticsearch versions
listElasticsearchVersionsRequest
- Container for the parameters to the ListElasticsearchVersions
operation.
Use MaxResults
to control the maximum number of results to retrieve in a single
call.
Use NextToken
in response to retrieve more results. If the received response does
not contain a NextToken, then there are no more results to retrieve.
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.ListTagsResult listTags(ListTagsRequest listTagsRequest)
Returns all tags for the given Elasticsearch domain.
listTagsRequest
- Container for the parameters to the ListTags
operation. Specify the ARN
for the Elasticsearch domain to which the tags are attached that you want to view are attached.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.PurchaseReservedElasticsearchInstanceOfferingResult purchaseReservedElasticsearchInstanceOffering(PurchaseReservedElasticsearchInstanceOfferingRequest purchaseReservedElasticsearchInstanceOfferingRequest)
Allows you to purchase reserved Elasticsearch instances.
purchaseReservedElasticsearchInstanceOfferingRequest
- Container for parameters to PurchaseReservedElasticsearchInstanceOffering
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.RemoveTagsResult removeTags(RemoveTagsRequest removeTagsRequest)
Removes the specified set of tags from the specified Elasticsearch domain.
removeTagsRequest
- Container for the parameters to the RemoveTags
operation. Specify the ARN
for the Elasticsearch domain from which you want to remove the specified TagKey
.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.StartElasticsearchServiceSoftwareUpdateResult startElasticsearchServiceSoftwareUpdate(StartElasticsearchServiceSoftwareUpdateRequest startElasticsearchServiceSoftwareUpdateRequest)
Schedules a service software update for an Amazon ES domain.
startElasticsearchServiceSoftwareUpdateRequest
- Container for the parameters to the StartElasticsearchServiceSoftwareUpdate
operation.
Specifies the name of the Elasticsearch domain that you wish to schedule a service software update on.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.UpdateElasticsearchDomainConfigResult updateElasticsearchDomainConfig(UpdateElasticsearchDomainConfigRequest updateElasticsearchDomainConfigRequest)
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
updateElasticsearchDomainConfigRequest
- Container for the parameters to the UpdateElasticsearchDomain
operation. Specifies the
type and number of instances in the domain cluster.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.UpgradeElasticsearchDomainResult upgradeElasticsearchDomain(UpgradeElasticsearchDomainRequest upgradeElasticsearchDomainRequest)
Allows you to either upgrade your domain or perform an Upgrade eligibility check to a compatible Elasticsearch version.
upgradeElasticsearchDomainRequest
- Container for request parameters to UpgradeElasticsearchDomain
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.Copyright © 2019. All rights reserved.