Skip to content

Delete File Cache

fsx_delete_file_cache R Documentation

Deletes an Amazon File Cache resource

Description

Deletes an Amazon File Cache resource. After deletion, the cache no longer exists, and its data is gone.

The delete_file_cache operation returns while the cache has the DELETING status. You can check the cache deletion status by calling the describe_file_caches operation, which returns a list of caches in your account. If you pass the cache ID for a deleted cache, the describe_file_caches operation returns a FileCacheNotFound error.

The data in a deleted cache is also deleted and can't be recovered by any means.

Usage

fsx_delete_file_cache(FileCacheId, ClientRequestToken)

Arguments

FileCacheId

[required] The ID of the cache that's being deleted.

ClientRequestToken

Value

A list with the following syntax:

list(
  FileCacheId = "string",
  Lifecycle = "AVAILABLE"|"CREATING"|"DELETING"|"UPDATING"|"FAILED"
)

Request syntax

svc$delete_file_cache(
  FileCacheId = "string",
  ClientRequestToken = "string"
)