Smaws_Client_FSx.DeleteFileCacheDeletes an Amazon File Cache resource. After deletion, the cache no longer exists, and its data is gone.
The DeleteFileCache operation returns while the cache has the DELETING status. You can check the cache deletion status by calling the DescribeFileCaches operation, which returns a list of caches in your account. If you pass the cache ID for a deleted cache, the DescribeFileCaches operation returns a FileCacheNotFound error.
The data in a deleted cache is also deleted and can't be recovered by any means.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `BadRequest of Types.bad_request
| `FileCacheNotFound of Types.file_cache_not_found
| `IncompatibleParameterError of Types.incompatible_parameter_error
| `InternalServerError of Types.internal_server_error
| `ServiceLimitExceeded of Types.service_limit_exceeded ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_file_cache_request ->
(Types.delete_file_cache_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `BadRequest of Types.bad_request
| `FileCacheNotFound of Types.file_cache_not_found
| `IncompatibleParameterError of Types.incompatible_parameter_error
| `InternalServerError of Types.internal_server_error
| `ServiceLimitExceeded of Types.service_limit_exceeded ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_file_cache_request ->
(Types.delete_file_cache_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `BadRequest of Types.bad_request
| `FileCacheNotFound of Types.file_cache_not_found
| `IncompatibleParameterError of Types.incompatible_parameter_error
| `InternalServerError of Types.internal_server_error
| `ServiceLimitExceeded of Types.service_limit_exceeded ]
* Smaws_Lib.Response.metadata)
Stdlib.result