v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1441397379.2 KB

Deletes 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.

post/#X-Amz-Target=AWSSimbaAPIService_v20180301.DeleteFileCache

Headers

X-Amz-Target'AWSSimbaAPIService_v20180301.DeleteFileCache' required

Request body

FileCacheIdstring required

The ID of the cache that's being deleted.

ClientRequestTokenstring

(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

Response

Success

FileCacheIdstring

The ID of the cache that's being deleted.

Lifecycle'AVAILABLE' | 'CREATING' | 'DELETING' | 'UPDATING' | 'FAILED'

The cache lifecycle for the deletion request. If the <code>DeleteFileCache</code> operation is successful, this status is <code>DELETING</code>.