Smaws_Client_ElastiCache.IncreaseReplicaCountDynamically increases the number of replicas in a Valkey or Redis OSS (cluster mode disabled) replication group or the number of replica nodes in one or more node groups (shards) of a Valkey or Redis OSS (cluster mode enabled) replication group. This operation is performed with no cluster down time.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `ClusterQuotaForCustomerExceededFault of
Types.cluster_quota_for_customer_exceeded_fault
| `InsufficientCacheClusterCapacityFault of
Types.insufficient_cache_cluster_capacity_fault
| `InvalidCacheClusterStateFault of Types.invalid_cache_cluster_state_fault
| `InvalidKMSKeyFault of Types.invalid_kms_key_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of Types.invalid_parameter_value_exception
| `InvalidReplicationGroupStateFault of
Types.invalid_replication_group_state_fault
| `InvalidVPCNetworkStateFault of Types.invalid_vpc_network_state_fault
| `NodeGroupsPerReplicationGroupQuotaExceededFault of
Types.node_groups_per_replication_group_quota_exceeded_fault
| `NodeQuotaForCustomerExceededFault of
Types.node_quota_for_customer_exceeded_fault
| `NoOperationFault of Types.no_operation_fault
| `ReplicationGroupNotFoundFault of Types.replication_group_not_found_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.increase_replica_count_message ->
(Types.increase_replica_count_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ClusterQuotaForCustomerExceededFault of
Types.cluster_quota_for_customer_exceeded_fault
| `InsufficientCacheClusterCapacityFault of
Types.insufficient_cache_cluster_capacity_fault
| `InvalidCacheClusterStateFault of Types.invalid_cache_cluster_state_fault
| `InvalidKMSKeyFault of Types.invalid_kms_key_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `InvalidReplicationGroupStateFault of
Types.invalid_replication_group_state_fault
| `InvalidVPCNetworkStateFault of Types.invalid_vpc_network_state_fault
| `NodeGroupsPerReplicationGroupQuotaExceededFault of
Types.node_groups_per_replication_group_quota_exceeded_fault
| `NodeQuotaForCustomerExceededFault of
Types.node_quota_for_customer_exceeded_fault
| `NoOperationFault of Types.no_operation_fault
| `ReplicationGroupNotFoundFault of Types.replication_group_not_found_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.increase_replica_count_message ->
(Types.increase_replica_count_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ClusterQuotaForCustomerExceededFault of
Types.cluster_quota_for_customer_exceeded_fault
| `InsufficientCacheClusterCapacityFault of
Types.insufficient_cache_cluster_capacity_fault
| `InvalidCacheClusterStateFault of Types.invalid_cache_cluster_state_fault
| `InvalidKMSKeyFault of Types.invalid_kms_key_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `InvalidReplicationGroupStateFault of
Types.invalid_replication_group_state_fault
| `InvalidVPCNetworkStateFault of Types.invalid_vpc_network_state_fault
| `NodeGroupsPerReplicationGroupQuotaExceededFault of
Types.node_groups_per_replication_group_quota_exceeded_fault
| `NodeQuotaForCustomerExceededFault of
Types.node_quota_for_customer_exceeded_fault
| `NoOperationFault of Types.no_operation_fault
| `ReplicationGroupNotFoundFault of Types.replication_group_not_found_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result