Module Smaws_Client_ElastiCache.CreateServerlessCache

Creates a serverless cache.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `InvalidCredentialsException of Types.invalid_credentials_exception | `InvalidParameterCombinationException of Types.invalid_parameter_combination_exception | `InvalidParameterValueException of Types.invalid_parameter_value_exception | `InvalidServerlessCacheStateFault of Types.invalid_serverless_cache_state_fault | `InvalidUserGroupStateFault of Types.invalid_user_group_state_fault | `ServerlessCacheAlreadyExistsFault of Types.serverless_cache_already_exists_fault | `ServerlessCacheNotFoundFault of Types.serverless_cache_not_found_fault | `ServerlessCacheQuotaForCustomerExceededFault of Types.serverless_cache_quota_for_customer_exceeded_fault | `ServiceLinkedRoleNotFoundFault of Types.service_linked_role_not_found_fault | `TagQuotaPerResourceExceeded of Types.tag_quota_per_resource_exceeded | `UserGroupNotFoundFault of Types.user_group_not_found_fault ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_serverless_cache_request -> (Types.create_serverless_cache_response, [> Smaws_Lib.Protocols.AwsQuery.error | `InvalidCredentialsException of Types.invalid_credentials_exception | `InvalidParameterCombinationException of Types.invalid_parameter_combination_exception | `InvalidParameterValueException of Types.invalid_parameter_value_exception | `InvalidServerlessCacheStateFault of Types.invalid_serverless_cache_state_fault | `InvalidUserGroupStateFault of Types.invalid_user_group_state_fault | `ServerlessCacheAlreadyExistsFault of Types.serverless_cache_already_exists_fault | `ServerlessCacheNotFoundFault of Types.serverless_cache_not_found_fault | `ServerlessCacheQuotaForCustomerExceededFault of Types.serverless_cache_quota_for_customer_exceeded_fault | `ServiceLinkedRoleNotFoundFault of Types.service_linked_role_not_found_fault | `TagQuotaPerResourceExceeded of Types.tag_quota_per_resource_exceeded | `UserGroupNotFoundFault of Types.user_group_not_found_fault ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_serverless_cache_request -> (Types.create_serverless_cache_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `InvalidCredentialsException of Types.invalid_credentials_exception | `InvalidParameterCombinationException of Types.invalid_parameter_combination_exception | `InvalidParameterValueException of Types.invalid_parameter_value_exception | `InvalidServerlessCacheStateFault of Types.invalid_serverless_cache_state_fault | `InvalidUserGroupStateFault of Types.invalid_user_group_state_fault | `ServerlessCacheAlreadyExistsFault of Types.serverless_cache_already_exists_fault | `ServerlessCacheNotFoundFault of Types.serverless_cache_not_found_fault | `ServerlessCacheQuotaForCustomerExceededFault of Types.serverless_cache_quota_for_customer_exceeded_fault | `ServiceLinkedRoleNotFoundFault of Types.service_linked_role_not_found_fault | `TagQuotaPerResourceExceeded of Types.tag_quota_per_resource_exceeded | `UserGroupNotFoundFault of Types.user_group_not_found_fault ] * Smaws_Lib.Response.metadata) Stdlib.result