v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1490380385.5 KB

Deletes a file share from an S3 File Gateway. This operation is only supported for S3 File Gateways.

post/#X-Amz-Target=StorageGateway_20130630.DeleteFileShare

Headers

X-Amz-Target'StorageGateway_20130630.DeleteFileShare' required

Request body

FileShareARNstring required

The Amazon Resource Name (ARN) of the file share to be deleted.

ForceDeleteboolean
<p>If this value is set to <code>true</code>, the operation deletes a file share immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is not deleted until all data is uploaded to Amazon Web Services. This process aborts the data upload process, and the file share enters the <code>FORCE_DELETING</code> status.</p> <p>Valid Values: <code>true</code> | <code>false</code> </p>

Response

Success

FileShareARNstring

The Amazon Resource Name (ARN) of the deleted file share.