Smaws_Client_ElastiCache.ModifyReplicationGroupShardConfigurationModifies a replication group's shards (node groups) by allowing you to add shards, remove shards, or rebalance the keyspaces among existing shards.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `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
| `ReplicationGroupNotFoundFault of Types.replication_group_not_found_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.modify_replication_group_shard_configuration_message ->
(Types.modify_replication_group_shard_configuration_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `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
| `ReplicationGroupNotFoundFault of Types.replication_group_not_found_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.modify_replication_group_shard_configuration_message ->
(Types.modify_replication_group_shard_configuration_result
Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `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
| `ReplicationGroupNotFoundFault of Types.replication_group_not_found_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result