Module Smaws_Client_ElastiCache.DecreaseReplicaCount

Dynamically decreases 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 | `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 | `ServiceLinkedRoleNotFoundFault of Types.service_linked_role_not_found_fault ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.decrease_replica_count_message -> (Types.decrease_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 | `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 | `ServiceLinkedRoleNotFoundFault of Types.service_linked_role_not_found_fault ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.decrease_replica_count_message -> (Types.decrease_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 | `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 | `ServiceLinkedRoleNotFoundFault of Types.service_linked_role_not_found_fault ] * Smaws_Lib.Response.metadata) Stdlib.result