/AWS1/IF_DYN=>DESCRIBECONTINUOUSBACKUPS()¶
About DescribeContinuousBackups¶
Checks the status of continuous backups and point in time recovery on the specified
table. Continuous backups are ENABLED on all tables at table creation. If
point in time recovery is enabled, PointInTimeRecoveryStatus will be set to
ENABLED.
After continuous backups and point in time recovery are enabled, you can restore to
any point in time within EarliestRestorableDateTime and
LatestRestorableDateTime.
LatestRestorableDateTime is typically 5 minutes before the current time.
You can restore your table to any point in time in the last 35 days. You can set the
recovery period to any value between 1 and 35 days.
You can call DescribeContinuousBackups at a maximum rate of 10 times per
second.
Method Signature¶
METHODS /AWS1/IF_DYN~DESCRIBECONTINUOUSBACKUPS
IMPORTING
!IV_TABLENAME TYPE /AWS1/DYNTABLEARN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_dyndsccontbackupsout
RAISING
/AWS1/CX_DYNINTERNALSERVERERR
/AWS1/CX_DYNINVALIDENDPOINTEX
/AWS1/CX_DYNTABLENOTFOUNDEX
/AWS1/CX_DYNCLIENTEXC
/AWS1/CX_DYNSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_tablename TYPE /AWS1/DYNTABLEARN /AWS1/DYNTABLEARN¶
Name of the table for which the customer wants to check the continuous backups and point in time recovery settings.
You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_dyndsccontbackupsout /AWS1/CL_DYNDSCCONTBACKUPSOUT¶
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->describecontinuousbackups( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_continuousbackupsdescri = lo_result->get_continuousbackupsdesc( ).
IF lo_continuousbackupsdescri IS NOT INITIAL.
lv_continuousbackupsstatus = lo_continuousbackupsdescri->get_continuousbackupsstatus( ).
lo_pointintimerecoverydesc = lo_continuousbackupsdescri->get_pointintimerecoverydesc( ).
IF lo_pointintimerecoverydesc IS NOT INITIAL.
lv_pointintimerecoverystat = lo_pointintimerecoverydesc->get_pointintimerecstatus( ).
lv_recoveryperiodindays = lo_pointintimerecoverydesc->get_recoveryperiodindays( ).
lv_date = lo_pointintimerecoverydesc->get_earliestrestorabledate00( ).
lv_date = lo_pointintimerecoverydesc->get_latestrestorabledatetime( ).
ENDIF.
ENDIF.
ENDIF.