/AWS1/IF_CHP=>GETSPEAKERSEARCHTASK()¶
About GetSpeakerSearchTask¶
Retrieves the details of the specified speaker search task.
Method Signature¶
METHODS /AWS1/IF_CHP~GETSPEAKERSEARCHTASK
IMPORTING
!IV_IDENTIFIER TYPE /AWS1/CHPNONEMPTYSTRING OPTIONAL
!IV_SPEAKERSEARCHTASKID TYPE /AWS1/CHPGUIDSTRING OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_chpgetspeakersrchts01
RAISING
/AWS1/CX_CHPBADREQUESTEX
/AWS1/CX_CHPFORBIDDENEXCEPTION
/AWS1/CX_CHPNOTFOUNDEXCEPTION
/AWS1/CX_CHPSERVICEFAILUREEX
/AWS1/CX_CHPSERVICEUNAVAILEX
/AWS1/CX_CHPTHROTTLEDCLIENTEX
/AWS1/CX_CHPUNAUTHDCLIENTEX
/AWS1/CX_CHPCLIENTEXC
/AWS1/CX_CHPSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_identifier TYPE /AWS1/CHPNONEMPTYSTRING /AWS1/CHPNONEMPTYSTRING¶
The unique identifier of the resource to be updated. Valid values include the ID and ARN of the media insights pipeline.
iv_speakersearchtaskid TYPE /AWS1/CHPGUIDSTRING /AWS1/CHPGUIDSTRING¶
The ID of the speaker search task.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_chpgetspeakersrchts01 /AWS1/CL_CHPGETSPEAKERSRCHTS01¶
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->getspeakersearchtask(
iv_identifier = |string|
iv_speakersearchtaskid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_speakersearchtask = lo_result->get_speakersearchtask( ).
IF lo_speakersearchtask IS NOT INITIAL.
lv_guidstring = lo_speakersearchtask->get_speakersearchtaskid( ).
lv_mediapipelinetaskstatus = lo_speakersearchtask->get_speakersearchtaskstatus( ).
lv_iso8601timestamp = lo_speakersearchtask->get_createdtimestamp( ).
lv_iso8601timestamp = lo_speakersearchtask->get_updatedtimestamp( ).
ENDIF.
ENDIF.