upgrade_elasticsearch_domain
async
¶
upgrade_elasticsearch_domain(
domain_name: DomainName,
target_version: ElasticsearchVersionString,
*,
config_overrides: Optional[AsyncElasticsearchServiceClientConfig] = None,
perform_check_only: Optional[Boolean] = None,
deployment_strategy_options: Optional[DeploymentStrategyOverrideOptions] = 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.
-
deployment_strategy_options(Optional[DeploymentStrategyOverrideOptions], default:None) –Overrides the deployment strategy for this upgrade. To run a cloned blue/green upgrade, set
DeploymentStrategytoClonedBlueGreen.
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.
Source code in docs_src/capo_elasticsearch_service/_services/async_elasticsearch_service.py
3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 | |