Skip to content

/AWS1/CL_STG=>DISASSOCIATEFILESYSTEM()

About DisassociateFileSystem

Disassociates an Amazon FSx file system from the specified gateway. After the disassociation process finishes, the gateway can no longer access the Amazon FSx file system. This operation is only supported in the FSx File Gateway type.

Method Signature

IMPORTING

Required arguments:

IV_FILESYSTEMASSOCIATIONARN TYPE /AWS1/STGFILESYSTEMASSOCIATI00 /AWS1/STGFILESYSTEMASSOCIATI00

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

Optional arguments:

IV_FORCEDELETE TYPE /AWS1/STGBOOLEAN2 /AWS1/STGBOOLEAN2

If this value is set to true, the operation disassociates an Amazon FSx file system immediately. It ends all data uploads to the file system, and the file system association enters the FORCE_DELETING status. If this value is set to false, the Amazon FSx file system does not disassociate until all data is uploaded.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_STGDISASCFILESYSTEM01 /AWS1/CL_STGDISASCFILESYSTEM01