Evict Files Failing Upload
storagegateway_evict_files_failing_upload | R Documentation |
Starts a process that cleans the specified file share's cache of file entries that are failing upload to Amazon S3¶
Description¶
Starts a process that cleans the specified file share's cache of file entries that are failing upload to Amazon S3. This API operation reports success if the request is received with valid arguments, and there are no other cache clean operations currently in-progress for the specified file share. After a successful request, the cache clean operation occurs asynchronously and reports progress using CloudWatch logs and notifications.
If ForceRemove
is set to True
, the cache clean operation will delete
file data from the gateway which might otherwise be recoverable. We
recommend using this operation only after all other methods to clear
files failing upload have been exhausted, and if your business need
outweighs the potential data loss.
Usage¶
storagegateway_evict_files_failing_upload(FileShareARN, ForceRemove)
Arguments¶
FileShareARN |
[required] The Amazon Resource Name (ARN) of the file share for which you want to start the cache clean operation. |
ForceRemove |
Specifies whether cache entries with full or partial file data currently stored on the gateway will be forcibly removed by the cache clean operation. Valid arguments:
|
Value¶
A list with the following syntax:
list(
NotificationId = "string"
)
Request syntax¶
svc$evict_files_failing_upload(
FileShareARN = "string",
ForceRemove = TRUE|FALSE
)