/AWS1/IF_BUP=>DESCRIBEBACKUPACCESSPOINT()¶
About DescribeBackupAccessPoint¶
Returns metadata about a backup access point, including its status and the details of the underlying Amazon S3 access point.
After a backup access point reaches the AVAILABLE status, use this operation to retrieve the
Amazon S3 access point ARN and alias that you need to read the backup data.
Method Signature¶
METHODS /AWS1/IF_BUP~DESCRIBEBACKUPACCESSPOINT
IMPORTING
!IV_ACCESSPOINTARN TYPE /AWS1/BUPACCESSPOINTARN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_bupdescrbkupaccptrsp
RAISING
/AWS1/CX_BUPINVPARAMVALUEEX
/AWS1/CX_BUPINVALIDREQUESTEX
/AWS1/CX_BUPMISSINGPARAMVALEX
/AWS1/CX_BUPRESOURCENOTFOUNDEX
/AWS1/CX_BUPSERVICEUNAVAILEX
/AWS1/CX_BUPCLIENTEXC
/AWS1/CX_BUPSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_accesspointarn TYPE /AWS1/BUPACCESSPOINTARN /AWS1/BUPACCESSPOINTARN¶
The Amazon Resource Name (ARN) of the backup access point to describe.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_bupdescrbkupaccptrsp /AWS1/CL_BUPDESCRBKUPACCPTRSP¶
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->describebackupaccesspoint( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_accesspointarn = lo_result->get_accesspointarn( ).
LOOP AT lo_result->get_accesspointmetadata( ) into ls_row.
lv_key = ls_row-key.
lo_value = ls_row-value.
IF lo_value IS NOT INITIAL.
lv_accesspointmetadatamapv = lo_value->get_value( ).
ENDIF.
ENDLOOP.
lv_backupvaultarn = lo_result->get_backupvaultarn( ).
lv_backupvaultname = lo_result->get_backupvaultname( ).
lv_timestamp = lo_result->get_creationtime( ).
lv_accesspointname = lo_result->get_name( ).
lv_recoverypointarn = lo_result->get_recoverypointarn( ).
lv_resourcearn = lo_result->get_resourcearn( ).
lv_string = lo_result->get_resourcetype( ).
lv_accesspointstatus = lo_result->get_status( ).
lv_string = lo_result->get_statusmessage( ).
ENDIF.