upgrade_elasticsearch_domain
¶
upgrade_elasticsearch_domain(
domain_name: DomainName,
target_version: ElasticsearchVersionString,
*,
config_overrides: Optional[ElasticsearchServiceClientConfig] = 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/elasticsearch_service.py
3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 | |