/AWS1/IF_STG=>LISTFILESYSTEMASSOCIATIONS()¶
About ListFileSystemAssociations¶
Gets a list of FileSystemAssociationSummary objects. Each object contains a
summary of a file system association. This operation is only supported for FSx File
Gateways.
Method Signature¶
METHODS /AWS1/IF_STG~LISTFILESYSTEMASSOCIATIONS
IMPORTING
!IV_GATEWAYARN TYPE /AWS1/STGGATEWAYARN OPTIONAL
!IV_LIMIT TYPE /AWS1/STGPOSITIVEINTOBJECT OPTIONAL
!IV_MARKER TYPE /AWS1/STGMARKER OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_stglstfilesystemass01
RAISING
/AWS1/CX_STGINTERNALSERVERERR
/AWS1/CX_STGINVALIDGWREQUESTEX
/AWS1/CX_STGCLIENTEXC
/AWS1/CX_STGSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_gatewayarn TYPE /AWS1/STGGATEWAYARN /AWS1/STGGATEWAYARN¶
GatewayARN
iv_limit TYPE /AWS1/STGPOSITIVEINTOBJECT /AWS1/STGPOSITIVEINTOBJECT¶
The maximum number of file system associations to return in the response. If present,
Limitmust be an integer with a value greater than zero. Optional.
iv_marker TYPE /AWS1/STGMARKER /AWS1/STGMARKER¶
Opaque pagination token returned from a previous
ListFileSystemAssociationsoperation. If present,Markerspecifies where to continue the list from after a previous call toListFileSystemAssociations. Optional.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_stglstfilesystemass01 /AWS1/CL_STGLSTFILESYSTEMASS01¶
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->listfilesystemassociations(
iv_gatewayarn = |string|
iv_limit = 123
iv_marker = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_marker = lo_result->get_marker( ).
lv_marker = lo_result->get_nextmarker( ).
LOOP AT lo_result->get_filesystemassociations01( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_filesystemassociationid = lo_row_1->get_filesystemassociationid( ).
lv_filesystemassociationar = lo_row_1->get_filesystemassociationarn( ).
lv_filesystemassociationst = lo_row_1->get_filesystemassociations00( ).
lv_gatewayarn = lo_row_1->get_gatewayarn( ).
ENDIF.
ENDLOOP.
ENDIF.