increase_replication_factor
async
¶
increase_replication_factor(
cluster_name: String,
new_replication_factor: Integer,
*,
config_overrides: Optional[AsyncDAXClientConfig] = None,
availability_zones: Optional[AvailabilityZoneList] = None,
) -> IncreaseReplicationFactorResponse
Adds one or more nodes to a DAX cluster.
Parameters:
-
cluster_name(String) –The name of the DAX cluster that will receive additional nodes.
-
new_replication_factor(Integer) –The new number of nodes for the DAX cluster.
-
availability_zones(Optional[AvailabilityZoneList], default:None) –The Availability Zones (AZs) in which the cluster nodes will be created. All nodes belonging to the cluster are placed in these Availability Zones. Use this parameter if you want to distribute the nodes across multiple AZs.
Raises:
-
ClusterNotFoundFault–The requested cluster ID does not refer to an existing DAX cluster.
-
InsufficientClusterCapacityFault–There are not enough system resources to create the cluster you requested (or to resize an already-existing cluster).
-
InvalidClusterStateFault–The requested DAX cluster is not in the available state.
-
InvalidParameterCombinationException–Two or more incompatible parameters were specified.
-
InvalidParameterValueException–The value for a parameter is invalid.
-
InvalidVPCNetworkStateFault–The VPC network is in an invalid state.
-
NodeQuotaForClusterExceededFault–You have attempted to exceed the maximum number of nodes for a DAX cluster.
-
NodeQuotaForCustomerExceededFault–You have attempted to exceed the maximum number of nodes for your Amazon Web Services account.
-
ServiceLinkedRoleNotFoundFault–The specified service linked role (SLR) was not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_dax/_services/async_dax.py
1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 | |