/AWS1/IF_RSH=>DESCRIBESNAPSHOTSCHEDULES()¶
About DescribeSnapshotSchedules¶
Returns a list of snapshot schedules.
Method Signature¶
METHODS /AWS1/IF_RSH~DESCRIBESNAPSHOTSCHEDULES
  IMPORTING
    !IV_CLUSTERIDENTIFIER TYPE /AWS1/RSHSTRING OPTIONAL
    !IV_SCHEDULEIDENTIFIER TYPE /AWS1/RSHSTRING OPTIONAL
    !IT_TAGKEYS TYPE /AWS1/CL_RSHTAGKEYLIST_W=>TT_TAGKEYLIST OPTIONAL
    !IT_TAGVALUES TYPE /AWS1/CL_RSHTAGVALUELIST_W=>TT_TAGVALUELIST OPTIONAL
    !IV_MARKER TYPE /AWS1/RSHSTRING OPTIONAL
    !IV_MAXRECORDS TYPE /AWS1/RSHINTEGEROPTIONAL OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_rshdscsnapschsoutmsg
  RAISING
    /AWS1/CX_RSHCLIENTEXC
    /AWS1/CX_RSHSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_clusteridentifier TYPE /AWS1/RSHSTRING /AWS1/RSHSTRING¶
The unique identifier for the cluster whose snapshot schedules you want to view.
iv_scheduleidentifier TYPE /AWS1/RSHSTRING /AWS1/RSHSTRING¶
A unique identifier for a snapshot schedule.
it_tagkeys TYPE /AWS1/CL_RSHTAGKEYLIST_W=>TT_TAGKEYLIST TT_TAGKEYLIST¶
The key value for a snapshot schedule tag.
it_tagvalues TYPE /AWS1/CL_RSHTAGVALUELIST_W=>TT_TAGVALUELIST TT_TAGVALUELIST¶
The value corresponding to the key of the snapshot schedule tag.
iv_marker TYPE /AWS1/RSHSTRING /AWS1/RSHSTRING¶
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
markerparameter and retrying the command. If themarkerfield is empty, all response records have been retrieved for the request.
iv_maxrecords TYPE /AWS1/RSHINTEGEROPTIONAL /AWS1/RSHINTEGEROPTIONAL¶
The maximum number or response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecordsvalue, a value is returned in amarkerfield of the response. You can retrieve the next set of records by retrying the command with the returnedmarkervalue.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_rshdscsnapschsoutmsg /AWS1/CL_RSHDSCSNAPSCHSOUTMSG¶
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->describesnapshotschedules(
  it_tagkeys = VALUE /aws1/cl_rshtagkeylist_w=>tt_tagkeylist(
    ( new /aws1/cl_rshtagkeylist_w( |string| ) )
  )
  it_tagvalues = VALUE /aws1/cl_rshtagvaluelist_w=>tt_tagvaluelist(
    ( new /aws1/cl_rshtagvaluelist_w( |string| ) )
  )
  iv_clusteridentifier = |string|
  iv_marker = |string|
  iv_maxrecords = 123
  iv_scheduleidentifier = |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_snapshotschedules( ) into lo_row.
    lo_row_1 = lo_row.
    IF lo_row_1 IS NOT INITIAL.
      LOOP AT lo_row_1->get_scheduledefinitions( ) into lo_row_2.
        lo_row_3 = lo_row_2.
        IF lo_row_3 IS NOT INITIAL.
          lv_string = lo_row_3->get_value( ).
        ENDIF.
      ENDLOOP.
      lv_string = lo_row_1->get_scheduleidentifier( ).
      lv_string = lo_row_1->get_scheduledescription( ).
      LOOP AT lo_row_1->get_tags( ) into lo_row_4.
        lo_row_5 = lo_row_4.
        IF lo_row_5 IS NOT INITIAL.
          lv_string = lo_row_5->get_key( ).
          lv_string = lo_row_5->get_value( ).
        ENDIF.
      ENDLOOP.
      LOOP AT lo_row_1->get_nextinvocations( ) into lo_row_6.
        lo_row_7 = lo_row_6.
        IF lo_row_7 IS NOT INITIAL.
          lv_tstamp = lo_row_7->get_value( ).
        ENDIF.
      ENDLOOP.
      lv_integeroptional = lo_row_1->get_associatedclustercount( ).
      LOOP AT lo_row_1->get_associatedclusters( ) into lo_row_8.
        lo_row_9 = lo_row_8.
        IF lo_row_9 IS NOT INITIAL.
          lv_string = lo_row_9->get_clusteridentifier( ).
          lv_schedulestate = lo_row_9->get_scheduleassociationstate( ).
        ENDIF.
      ENDLOOP.
    ENDIF.
  ENDLOOP.
  lv_string = lo_result->get_marker( ).
ENDIF.