Smaws_Client_ElastiCache.ModifyReplicationGroupModifies the settings for a replication group. This is limited to Valkey and Redis OSS 7 and above.
This operation is valid for Valkey or Redis OSS only.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `CacheClusterNotFoundFault of Types.cache_cluster_not_found_fault
| `CacheParameterGroupNotFoundFault of
Types.cache_parameter_group_not_found_fault
| `CacheSecurityGroupNotFoundFault of
Types.cache_security_group_not_found_fault
| `InsufficientCacheClusterCapacityFault of
Types.insufficient_cache_cluster_capacity_fault
| `InvalidCacheClusterStateFault of Types.invalid_cache_cluster_state_fault
| `InvalidCacheSecurityGroupStateFault of
Types.invalid_cache_security_group_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
| `InvalidUserGroupStateFault of Types.invalid_user_group_state_fault
| `InvalidVPCNetworkStateFault of Types.invalid_vpc_network_state_fault
| `NodeQuotaForClusterExceededFault of
Types.node_quota_for_cluster_exceeded_fault
| `NodeQuotaForCustomerExceededFault of
Types.node_quota_for_customer_exceeded_fault
| `ReplicationGroupNotFoundFault of Types.replication_group_not_found_fault
| `UserGroupNotFoundFault of Types.user_group_not_found_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.modify_replication_group_message ->
(Types.modify_replication_group_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `CacheClusterNotFoundFault of Types.cache_cluster_not_found_fault
| `CacheParameterGroupNotFoundFault of
Types.cache_parameter_group_not_found_fault
| `CacheSecurityGroupNotFoundFault of
Types.cache_security_group_not_found_fault
| `InsufficientCacheClusterCapacityFault of
Types.insufficient_cache_cluster_capacity_fault
| `InvalidCacheClusterStateFault of Types.invalid_cache_cluster_state_fault
| `InvalidCacheSecurityGroupStateFault of
Types.invalid_cache_security_group_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
| `InvalidUserGroupStateFault of Types.invalid_user_group_state_fault
| `InvalidVPCNetworkStateFault of Types.invalid_vpc_network_state_fault
| `NodeQuotaForClusterExceededFault of
Types.node_quota_for_cluster_exceeded_fault
| `NodeQuotaForCustomerExceededFault of
Types.node_quota_for_customer_exceeded_fault
| `ReplicationGroupNotFoundFault of Types.replication_group_not_found_fault
| `UserGroupNotFoundFault of Types.user_group_not_found_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.modify_replication_group_message ->
(Types.modify_replication_group_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `CacheClusterNotFoundFault of Types.cache_cluster_not_found_fault
| `CacheParameterGroupNotFoundFault of
Types.cache_parameter_group_not_found_fault
| `CacheSecurityGroupNotFoundFault of
Types.cache_security_group_not_found_fault
| `InsufficientCacheClusterCapacityFault of
Types.insufficient_cache_cluster_capacity_fault
| `InvalidCacheClusterStateFault of Types.invalid_cache_cluster_state_fault
| `InvalidCacheSecurityGroupStateFault of
Types.invalid_cache_security_group_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
| `InvalidUserGroupStateFault of Types.invalid_user_group_state_fault
| `InvalidVPCNetworkStateFault of Types.invalid_vpc_network_state_fault
| `NodeQuotaForClusterExceededFault of
Types.node_quota_for_cluster_exceeded_fault
| `NodeQuotaForCustomerExceededFault of
Types.node_quota_for_customer_exceeded_fault
| `ReplicationGroupNotFoundFault of Types.replication_group_not_found_fault
| `UserGroupNotFoundFault of Types.user_group_not_found_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result