upgrade_elasticsearch_domain
async
¶
upgrade_elasticsearch_domain(
domain_name: DomainName,
target_version: ElasticsearchVersionString,
*,
config_overrides: Optional[AsyncElasticsearchServiceClientConfig] = None,
perform_check_only: Optional[Boolean] = None,
) -> UpgradeElasticsearchDomainResponse
Allows you to either upgrade your domain or perform an Upgrade eligibility check to a compatible Elasticsearch version.
Parameters:
-
target_version(ElasticsearchVersionString) –The version of Elasticsearch that you intend to upgrade the domain to.
-
perform_check_only(Optional[Boolean], default:None) –This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade.
Raises:
-
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.
-
ResourceAlreadyExistsException–An exception for creating a resource that already exists. Gives http status code of 400.
-
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.
-
UnknownServiceError–The service returned an error code this client does not model.