/AWS1/IF_STG=>UPDATEFILESYSTEMASSOCIATION()¶
About UpdateFileSystemAssociation¶
Updates a file system association. This operation is only supported in the FSx File Gateways.
Method Signature¶
METHODS /AWS1/IF_STG~UPDATEFILESYSTEMASSOCIATION
IMPORTING
!IV_FILESYSTEMASSOCIATIONARN TYPE /AWS1/STGFILESYSTEMASSOCIATI00 OPTIONAL
!IV_USERNAME TYPE /AWS1/STGDOMAINUSERNAME OPTIONAL
!IV_PASSWORD TYPE /AWS1/STGDOMAINUSERPASSWORD OPTIONAL
!IV_AUDITDESTINATIONARN TYPE /AWS1/STGAUDITDESTINATIONARN OPTIONAL
!IO_CACHEATTRIBUTES TYPE REF TO /AWS1/CL_STGCACHEATTRIBUTES OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_stgupfilesystemasso01
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 that you want to update.
Optional arguments:¶
iv_username TYPE /AWS1/STGDOMAINUSERNAME /AWS1/STGDOMAINUSERNAME¶
The user name of the user credential that has permission to access the root share D$ of the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin user group.
iv_password TYPE /AWS1/STGDOMAINUSERPASSWORD /AWS1/STGDOMAINUSERPASSWORD¶
The password of the user credential.
iv_auditdestinationarn TYPE /AWS1/STGAUDITDESTINATIONARN /AWS1/STGAUDITDESTINATIONARN¶
The Amazon Resource Name (ARN) of the storage used for the audit logs.
io_cacheattributes TYPE REF TO /AWS1/CL_STGCACHEATTRIBUTES /AWS1/CL_STGCACHEATTRIBUTES¶
CacheAttributes
RETURNING¶
oo_output TYPE REF TO /aws1/cl_stgupfilesystemasso01 /AWS1/CL_STGUPFILESYSTEMASSO01¶
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->updatefilesystemassociation(
io_cacheattributes = new /aws1/cl_stgcacheattributes( 123 )
iv_auditdestinationarn = |string|
iv_filesystemassociationarn = |string|
iv_password = |string|
iv_username = |string|
).
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.