/AWS1/IF_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¶
METHODS /AWS1/IF_STG~DISASSOCIATEFILESYSTEM
IMPORTING
!IV_FILESYSTEMASSOCIATIONARN TYPE /AWS1/STGFILESYSTEMASSOCIATI00 OPTIONAL
!IV_FORCEDELETE TYPE /AWS1/STGBOOLEAN2 OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_stgdisascfilesystem01
RAISING
/AWS1/CX_STGINTERNALSERVERERR
/AWS1/CX_STGINVALIDGWREQUESTEX
/AWS1/CX_STGCLIENTEXC
/AWS1/CX_STGSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
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_DELETINGstatus. 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¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->disassociatefilesystem(
iv_filesystemassociationarn = |string|
iv_forcedelete = ABAP_TRUE
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_filesystemassociationar = lo_result->get_filesystemassociationarn( ).
ENDIF.