Smaws_Client_ElastiCache.ModifyServerlessCacheThis API modifies the attributes of 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
| `ServerlessCacheNotFoundFault of Types.serverless_cache_not_found_fault
| `ServiceLinkedRoleNotFoundFault of
Types.service_linked_role_not_found_fault
| `UserGroupNotFoundFault of Types.user_group_not_found_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.modify_serverless_cache_request ->
(Types.modify_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
| `ServerlessCacheNotFoundFault of Types.serverless_cache_not_found_fault
| `ServiceLinkedRoleNotFoundFault of
Types.service_linked_role_not_found_fault
| `UserGroupNotFoundFault of Types.user_group_not_found_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.modify_serverless_cache_request ->
(Types.modify_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
| `ServerlessCacheNotFoundFault of Types.serverless_cache_not_found_fault
| `ServiceLinkedRoleNotFoundFault of
Types.service_linked_role_not_found_fault
| `UserGroupNotFoundFault of Types.user_group_not_found_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result