Module Smaws_Client_ElastiCache.CreateServerlessCacheSnapshot

This API creates a copy of an entire ServerlessCache at a specific moment in time. Available for Valkey, Redis OSS and Serverless Memcached only.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `InvalidParameterCombinationException of Types.invalid_parameter_combination_exception | `InvalidParameterValueException of Types.invalid_parameter_value_exception | `InvalidServerlessCacheStateFault of Types.invalid_serverless_cache_state_fault | `ServerlessCacheNotFoundFault of Types.serverless_cache_not_found_fault | `ServerlessCacheSnapshotAlreadyExistsFault of Types.serverless_cache_snapshot_already_exists_fault | `ServerlessCacheSnapshotQuotaExceededFault of Types.serverless_cache_snapshot_quota_exceeded_fault | `ServiceLinkedRoleNotFoundFault of Types.service_linked_role_not_found_fault | `TagQuotaPerResourceExceeded of Types.tag_quota_per_resource_exceeded ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_serverless_cache_snapshot_request -> (Types.create_serverless_cache_snapshot_response, [> Smaws_Lib.Protocols.AwsQuery.error | `InvalidParameterCombinationException of Types.invalid_parameter_combination_exception | `InvalidParameterValueException of Types.invalid_parameter_value_exception | `InvalidServerlessCacheStateFault of Types.invalid_serverless_cache_state_fault | `ServerlessCacheNotFoundFault of Types.serverless_cache_not_found_fault | `ServerlessCacheSnapshotAlreadyExistsFault of Types.serverless_cache_snapshot_already_exists_fault | `ServerlessCacheSnapshotQuotaExceededFault of Types.serverless_cache_snapshot_quota_exceeded_fault | `ServiceLinkedRoleNotFoundFault of Types.service_linked_role_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_serverless_cache_snapshot_request -> (Types.create_serverless_cache_snapshot_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `InvalidParameterCombinationException of Types.invalid_parameter_combination_exception | `InvalidParameterValueException of Types.invalid_parameter_value_exception | `InvalidServerlessCacheStateFault of Types.invalid_serverless_cache_state_fault | `ServerlessCacheNotFoundFault of Types.serverless_cache_not_found_fault | `ServerlessCacheSnapshotAlreadyExistsFault of Types.serverless_cache_snapshot_already_exists_fault | `ServerlessCacheSnapshotQuotaExceededFault of Types.serverless_cache_snapshot_quota_exceeded_fault | `ServiceLinkedRoleNotFoundFault of Types.service_linked_role_not_found_fault | `TagQuotaPerResourceExceeded of Types.tag_quota_per_resource_exceeded ] * Smaws_Lib.Response.metadata) Stdlib.result