Skip to content

/AWS1/CL_STG=>DELETEFILESHARE()

About DeleteFileShare

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

Method Signature

IMPORTING

Required arguments:

IV_FILESHAREARN TYPE /AWS1/STGFILESHAREARN /AWS1/STGFILESHAREARN

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

Optional arguments:

IV_FORCEDELETE TYPE /AWS1/STGBOOLEAN2 /AWS1/STGBOOLEAN2

If this value is set to true, 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 FORCE_DELETING status.

Valid Values: true | false

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_STGDELETEFILESHAREOUT /AWS1/CL_STGDELETEFILESHAREOUT