/AWS1/CL_FSX=>DESCRS3ACCPOINTATTACHMENTS()
¶
About DescribeS3AccessPointAttachments¶
Describes one or more S3 access points attached to Amazon FSx volumes.
The requester requires the following permission to perform this action:
-
fsx:DescribeS3AccessPointAttachments
Method Signature¶
IMPORTING¶
Optional arguments:¶
it_names
TYPE /AWS1/CL_FSXS3ACCPTATTACHMEN00=>TT_S3ACCPOINTATTACHMENTNAMES
TT_S3ACCPOINTATTACHMENTNAMES
¶
The names of the S3 access point attachments whose descriptions you want to retrieve.
it_filters
TYPE /AWS1/CL_FSXS3ACCPTATTACHMEN01=>TT_S3ACCPOINTATTACHMENTSFILTS
TT_S3ACCPOINTATTACHMENTSFILTS
¶
Enter a filter Name and Values pair to view a select set of S3 access point attachments.
iv_maxresults
TYPE /AWS1/FSXMAXRESULTS
/AWS1/FSXMAXRESULTS
¶
MaxResults
iv_nexttoken
TYPE /AWS1/FSXNEXTTOKEN
/AWS1/FSXNEXTTOKEN
¶
NextToken
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_fsxdscs3accptattach01
/AWS1/CL_FSXDSCS3ACCPTATTACH01
¶
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->/aws1/if_fsx~descrs3accpointattachments(
it_filters = VALUE /aws1/cl_fsxs3accptattachmen01=>tt_s3accpointattachmentsfilts(
(
new /aws1/cl_fsxs3accptattachmen01(
it_values = VALUE /aws1/cl_fsxs3accptattachmen02=>tt_s3accptattachmentsfiltvals(
( new /aws1/cl_fsxs3accptattachmen02( |string| ) )
)
iv_name = |string|
)
)
)
it_names = VALUE /aws1/cl_fsxs3accptattachmen00=>tt_s3accpointattachmentnames(
( new /aws1/cl_fsxs3accptattachmen00( |string| ) )
)
iv_maxresults = 123
iv_nexttoken = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
LOOP AT lo_result->get_s3accesspointattachments( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_s3accesspointattachment = lo_row_1->get_lifecycle( ).
lo_lifecycletransitionreas = lo_row_1->get_lifecycletransreason( ).
IF lo_lifecycletransitionreas IS NOT INITIAL.
lv_errormessage = lo_lifecycletransitionreas->get_message( ).
ENDIF.
lv_creationtime = lo_row_1->get_creationtime( ).
lv_s3accesspointattachment_1 = lo_row_1->get_name( ).
lv_s3accesspointattachment_2 = lo_row_1->get_type( ).
lo_s3accesspointopenzfscon = lo_row_1->get_openzfsconfiguration( ).
IF lo_s3accesspointopenzfscon IS NOT INITIAL.
lv_volumeid = lo_s3accesspointopenzfscon->get_volumeid( ).
lo_openzfsfilesystemidenti = lo_s3accesspointopenzfscon->get_filesystemidentity( ).
IF lo_openzfsfilesystemidenti IS NOT INITIAL.
lv_openzfsfilesystemuserty = lo_openzfsfilesystemidenti->get_type( ).
lo_openzfsposixfilesystemu = lo_openzfsfilesystemidenti->get_posixuser( ).
IF lo_openzfsposixfilesystemu IS NOT INITIAL.
lv_filesystemuid = lo_openzfsposixfilesystemu->get_uid( ).
lv_filesystemgid = lo_openzfsposixfilesystemu->get_gid( ).
LOOP AT lo_openzfsposixfilesystemu->get_secondarygids( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_filesystemgid = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ENDIF.
lo_s3accesspoint = lo_row_1->get_s3accesspoint( ).
IF lo_s3accesspoint IS NOT INITIAL.
lv_generalarn = lo_s3accesspoint->get_resourcearn( ).
lv_s3accesspointalias = lo_s3accesspoint->get_alias( ).
lo_s3accesspointvpcconfigu = lo_s3accesspoint->get_vpcconfiguration( ).
IF lo_s3accesspointvpcconfigu IS NOT INITIAL.
lv_vpcid = lo_s3accesspointvpcconfigu->get_vpcid( ).
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
lv_nexttoken = lo_result->get_nexttoken( ).
ENDIF.