/AWS1/IF_PPT=>DELETESMSCHANNEL()¶
About DeleteSmsChannel¶
Disables the SMS channel for an application and deletes any existing settings for the channel.
Method Signature¶
METHODS /AWS1/IF_PPT~DELETESMSCHANNEL
  IMPORTING
    !IV_APPLICATIONID TYPE /AWS1/PPT__STRING OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_pptdelsmschannelrsp
  RAISING
    /AWS1/CX_PPTBADREQUESTEX
    /AWS1/CX_PPTFORBIDDENEXCEPTION
    /AWS1/CX_PPTINTERNALSERVERER00
    /AWS1/CX_PPTMETHODNOTALLOWEDEX
    /AWS1/CX_PPTNOTFOUNDEXCEPTION
    /AWS1/CX_PPTPAYLOADTOOLARGEEX
    /AWS1/CX_PPTTOOMANYREQUESTSEX
    /AWS1/CX_PPTCLIENTEXC
    /AWS1/CX_PPTSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_applicationid TYPE /AWS1/PPT__STRING /AWS1/PPT__STRING¶
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_pptdelsmschannelrsp /AWS1/CL_PPTDELSMSCHANNELRSP¶
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->deletesmschannel( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lo_smschannelresponse = lo_result->get_smschannelresponse( ).
  IF lo_smschannelresponse IS NOT INITIAL.
    lv___string = lo_smschannelresponse->get_applicationid( ).
    lv___string = lo_smschannelresponse->get_creationdate( ).
    lv___boolean = lo_smschannelresponse->get_enabled( ).
    lv___boolean = lo_smschannelresponse->get_hascredential( ).
    lv___string = lo_smschannelresponse->get_id( ).
    lv___boolean = lo_smschannelresponse->get_isarchived( ).
    lv___string = lo_smschannelresponse->get_lastmodifiedby( ).
    lv___string = lo_smschannelresponse->get_lastmodifieddate( ).
    lv___string = lo_smschannelresponse->get_platform( ).
    lv___integer = lo_smschannelresponse->get_promotionalmsgspersec( ).
    lv___string = lo_smschannelresponse->get_senderid( ).
    lv___string = lo_smschannelresponse->get_shortcode( ).
    lv___integer = lo_smschannelresponse->get_transactionalmsgspersec( ).
    lv___integer = lo_smschannelresponse->get_version( ).
  ENDIF.
ENDIF.