update_multi_region_cluster
¶
update_multi_region_cluster(
multi_region_cluster_name: String,
*,
config_overrides: Optional[MemoryDBClientConfig] = None,
node_type: Optional[String] = None,
description: Optional[String] = None,
engine_version: Optional[String] = None,
shard_configuration: Optional[ShardConfigurationRequest] = None,
multi_region_parameter_group_name: Optional[String] = None,
update_strategy: Optional[UpdateStrategy] = None,
) -> UpdateMultiRegionClusterResponse
Updates the configuration of an existing multi-Region cluster.
Parameters:
-
multi_region_cluster_name(String) –The name of the multi-Region cluster to be updated.
-
node_type(Optional[String], default:None) –The new node type to be used for the multi-Region cluster.
-
description(Optional[String], default:None) –A new description for the multi-Region cluster.
-
engine_version(Optional[String], default:None) –The new engine version to be used for the multi-Region cluster.
-
multi_region_parameter_group_name(Optional[String], default:None) –The new multi-Region parameter group to be associated with the cluster.
-
update_strategy(Optional[UpdateStrategy], default:None) –The strategy to use for the update operation. Supported values are "coordinated" or "uncoordinated".
Raises:
-
InvalidMultiRegionClusterStateFault–The requested operation cannot be performed on the multi-Region cluster in its current state.
-
InvalidParameterCombinationException–The specified parameter combination is not valid.
-
InvalidParameterValueException–The specified parameter value is not valid.
-
MultiRegionClusterNotFoundFault–The specified multi-Region cluster does not exist.
-
MultiRegionParameterGroupNotFoundFault–The specified multi-Region parameter group does not exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_memorydb/_services/memory_db.py
3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 | |