Skip to content

/AWS1/CL_QST=>DESCRIBETOPICREFRESHSCHEDULE()

About DescribeTopicRefreshSchedule

Deletes a topic refresh schedule.

Method Signature

IMPORTING

Required arguments:

iv_awsaccountid TYPE /AWS1/QSTAWSACCOUNTID /AWS1/QSTAWSACCOUNTID

The Amazon Web Services account ID.

iv_topicid TYPE /AWS1/QSTTOPICID /AWS1/QSTTOPICID

The ID of the topic that contains the refresh schedule that you want to describe. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

iv_datasetid TYPE /AWS1/QSTSTRING /AWS1/QSTSTRING

The ID of the dataset.

RETURNING

oo_output TYPE REF TO /aws1/cl_qstdsctpcrefreshsch01 /AWS1/CL_QSTDSCTPCREFRESHSCH01

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_qst~describetopicrefreshschedule(
  iv_awsaccountid = |string|
  iv_datasetid = |string|
  iv_topicid = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_topicid = lo_result->get_topicid( ).
  lv_arn = lo_result->get_topicarn( ).
  lv_arn = lo_result->get_datasetarn( ).
  lo_topicrefreshschedule = lo_result->get_refreshschedule( ).
  IF lo_topicrefreshschedule IS NOT INITIAL.
    lv_nullableboolean = lo_topicrefreshschedule->get_isenabled( ).
    lv_boolean = lo_topicrefreshschedule->get_basedonspiceschedule( ).
    lv_timestamp = lo_topicrefreshschedule->get_startingat( ).
    lv_limitedstring = lo_topicrefreshschedule->get_timezone( ).
    lv_limitedstring = lo_topicrefreshschedule->get_repeatat( ).
    lv_topicscheduletype = lo_topicrefreshschedule->get_topicscheduletype( ).
  ENDIF.
  lv_statuscode = lo_result->get_status( ).
  lv_string = lo_result->get_requestid( ).
ENDIF.