Smaws_Client_MemoryDB.DeleteClusterDeletes a cluster. It also deletes all associated nodes and node endpoints.
CreateSnapshot permission is required to create a final snapshot. Without this permission, the API call will fail with an Access Denied exception.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ClusterNotFoundFault of Types.cluster_not_found_fault
| `InvalidClusterStateFault of Types.invalid_cluster_state_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of Types.invalid_parameter_value_exception
| `ServiceLinkedRoleNotFoundFault of
Types.service_linked_role_not_found_fault
| `SnapshotAlreadyExistsFault of Types.snapshot_already_exists_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_cluster_request ->
(Types.delete_cluster_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ClusterNotFoundFault of Types.cluster_not_found_fault
| `InvalidClusterStateFault of Types.invalid_cluster_state_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `ServiceLinkedRoleNotFoundFault of
Types.service_linked_role_not_found_fault
| `SnapshotAlreadyExistsFault of Types.snapshot_already_exists_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_cluster_request ->
(Types.delete_cluster_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ClusterNotFoundFault of Types.cluster_not_found_fault
| `InvalidClusterStateFault of Types.invalid_cluster_state_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `ServiceLinkedRoleNotFoundFault of
Types.service_linked_role_not_found_fault
| `SnapshotAlreadyExistsFault of Types.snapshot_already_exists_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result