/AWS1/IF_MDI=>DISASSOCIATEFEED()¶
About DisassociateFeed¶
Releases the resource (the source media) that is associated with this feed. The outputs in the feed become DISABLED.
Method Signature¶
METHODS /AWS1/IF_MDI~DISASSOCIATEFEED
IMPORTING
!IV_ID TYPE /AWS1/MDIFEEDID OPTIONAL
!IV_ASSOCIATEDRESOURCENAME TYPE /AWS1/MDIASSOCDRESOURCENAME OPTIONAL
!IV_DRYRUN TYPE /AWS1/MDIBOOLEAN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_mdidisassocfeedrsp
RAISING
/AWS1/CX_MDIACCESSDENIEDEX
/AWS1/CX_MDICONFLICTEXCEPTION
/AWS1/CX_MDIINTSERVERERROREX
/AWS1/CX_MDIRESOURCENOTFOUNDEX
/AWS1/CX_MDITOOMANYREQUESTEX
/AWS1/CX_MDIVLDTNEXCEPTION
/AWS1/CX_MDICLIENTEXC
/AWS1/CX_MDISERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_id TYPE /AWS1/MDIFEEDID /AWS1/MDIFEEDID¶
The ID of the feed where you want to release the resource.
iv_associatedresourcename TYPE /AWS1/MDIASSOCDRESOURCENAME /AWS1/MDIASSOCDRESOURCENAME¶
The name of the resource currently associated with the feed.
Optional arguments:¶
iv_dryrun TYPE /AWS1/MDIBOOLEAN /AWS1/MDIBOOLEAN¶
Set to true if you want to do a dry run of the disassociate action.
Elemental Inference will validate that the real request would succeed without actually making any changes. A dry run catches errors such as missing IAM permissions. If the dry run fails, the action returns a 4xx error code.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_mdidisassocfeedrsp /AWS1/CL_MDIDISASSOCFEEDRSP¶
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->disassociatefeed(
iv_associatedresourcename = |string|
iv_dryrun = ABAP_TRUE
iv_id = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_feedarn = lo_result->get_arn( ).
lv_feedid = lo_result->get_id( ).
ENDIF.