create_multi_region_cluster
async
¶
create_multi_region_cluster(
multi_region_cluster_name_suffix: String,
node_type: String,
*,
config_overrides: Optional[AsyncMemoryDBClientConfig] = None,
description: Optional[String] = None,
engine: Optional[String] = None,
engine_version: Optional[String] = None,
multi_region_parameter_group_name: Optional[String] = None,
num_shards: Optional[IntegerOptional] = None,
tls_enabled: Optional[BooleanOptional] = None,
tags: Optional[TagList] = None,
) -> CreateMultiRegionClusterResponse
Creates a new multi-Region cluster.
Parameters:
-
multi_region_cluster_name_suffix(String) –A suffix to be added to the Multi-Region cluster name. Amazon MemoryDB automatically applies a prefix to the Multi-Region cluster Name when it is created. Each Amazon Region has its own prefix. For instance, a Multi-Region cluster Name created in the US-West-1 region will begin with "virxk", along with the suffix name you provide. The suffix guarantees uniqueness of the Multi-Region cluster name across multiple regions.
-
description(Optional[String], default:None) –A description for the multi-Region cluster.
-
engine(Optional[String], default:None) –The name of the engine to be used for the multi-Region cluster.
-
engine_version(Optional[String], default:None) –The version of the engine to be used for the multi-Region cluster.
-
node_type(String) –The node type to be used for the multi-Region cluster.
-
multi_region_parameter_group_name(Optional[String], default:None) –The name of the multi-Region parameter group to be associated with the cluster.
-
num_shards(Optional[IntegerOptional], default:None) –The number of shards for the multi-Region cluster.
-
tls_enabled(Optional[BooleanOptional], default:None) –Whether to enable TLS encryption for the multi-Region cluster.
-
tags(Optional[TagList], default:None) –A list of tags to be applied to the multi-Region cluster.
Raises:
-
ClusterQuotaForCustomerExceededFault–The request cannot be processed because it would exceed the maximum number of clusters allowed for this customer.
-
InvalidParameterCombinationException–The specified parameter combination is not valid.
-
InvalidParameterValueException–The specified parameter value is not valid.
-
MultiRegionClusterAlreadyExistsFault–A multi-Region cluster with the specified name already exists.
-
MultiRegionParameterGroupNotFoundFault–The specified multi-Region parameter group does not exist.
-
TagQuotaPerResourceExceeded–The request cannot be processed because it would exceed the maximum number of tags allowed per resource.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_memorydb/_services/async_memory_db.py
705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 | |