Module Smaws_Client_ElastiCache.CreateCacheCluster

Creates a cluster. All nodes in the cluster run the same protocol-compliant cache engine software, either Memcached, Valkey or Redis OSS.

This operation is not supported for Valkey or Redis OSS (cluster mode enabled) clusters.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `CacheClusterAlreadyExistsFault of Types.cache_cluster_already_exists_fault | `CacheParameterGroupNotFoundFault of Types.cache_parameter_group_not_found_fault | `CacheSecurityGroupNotFoundFault of Types.cache_security_group_not_found_fault | `CacheSubnetGroupNotFoundFault of Types.cache_subnet_group_not_found_fault | `ClusterQuotaForCustomerExceededFault of Types.cluster_quota_for_customer_exceeded_fault | `InsufficientCacheClusterCapacityFault of Types.insufficient_cache_cluster_capacity_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 | `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 | `TagQuotaPerResourceExceeded of Types.tag_quota_per_resource_exceeded ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_cache_cluster_message -> (Types.create_cache_cluster_result, [> Smaws_Lib.Protocols.AwsQuery.error | `CacheClusterAlreadyExistsFault of Types.cache_cluster_already_exists_fault | `CacheParameterGroupNotFoundFault of Types.cache_parameter_group_not_found_fault | `CacheSecurityGroupNotFoundFault of Types.cache_security_group_not_found_fault | `CacheSubnetGroupNotFoundFault of Types.cache_subnet_group_not_found_fault | `ClusterQuotaForCustomerExceededFault of Types.cluster_quota_for_customer_exceeded_fault | `InsufficientCacheClusterCapacityFault of Types.insufficient_cache_cluster_capacity_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 | `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 | `TagQuotaPerResourceExceeded of Types.tag_quota_per_resource_exceeded ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_cache_cluster_message -> (Types.create_cache_cluster_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `CacheClusterAlreadyExistsFault of Types.cache_cluster_already_exists_fault | `CacheParameterGroupNotFoundFault of Types.cache_parameter_group_not_found_fault | `CacheSecurityGroupNotFoundFault of Types.cache_security_group_not_found_fault | `CacheSubnetGroupNotFoundFault of Types.cache_subnet_group_not_found_fault | `ClusterQuotaForCustomerExceededFault of Types.cluster_quota_for_customer_exceeded_fault | `InsufficientCacheClusterCapacityFault of Types.insufficient_cache_cluster_capacity_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 | `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 | `TagQuotaPerResourceExceeded of Types.tag_quota_per_resource_exceeded ] * Smaws_Lib.Response.metadata) Stdlib.result