/AWS1/IF_IOW=>UPDATEDESTINATION()¶
About UpdateDestination¶
Updates properties of a destination.
Method Signature¶
METHODS /AWS1/IF_IOW~UPDATEDESTINATION
IMPORTING
!IV_NAME TYPE /AWS1/IOWDESTINATIONNAME OPTIONAL
!IV_EXPRESSIONTYPE TYPE /AWS1/IOWEXPRESSIONTYPE OPTIONAL
!IV_EXPRESSION TYPE /AWS1/IOWEXPRESSION OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/IOWDESCRIPTION OPTIONAL
!IV_ROLEARN TYPE /AWS1/IOWROLEARN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_iowupdatedstresponse
RAISING
/AWS1/CX_IOWACCESSDENIEDEX
/AWS1/CX_IOWINTERNALSERVEREX
/AWS1/CX_IOWRESOURCENOTFOUNDEX
/AWS1/CX_IOWTHROTTLINGEX
/AWS1/CX_IOWVALIDATIONEX
/AWS1/CX_IOWCLIENTEXC
/AWS1/CX_IOWSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_name TYPE /AWS1/IOWDESTINATIONNAME /AWS1/IOWDESTINATIONNAME¶
The new name of the resource.
Optional arguments:¶
iv_expressiontype TYPE /AWS1/IOWEXPRESSIONTYPE /AWS1/IOWEXPRESSIONTYPE¶
The type of value in
Expression.
iv_expression TYPE /AWS1/IOWEXPRESSION /AWS1/IOWEXPRESSION¶
The new rule name or topic rule to send messages to.
iv_description TYPE /AWS1/IOWDESCRIPTION /AWS1/IOWDESCRIPTION¶
A new description of the resource.
iv_rolearn TYPE /AWS1/IOWROLEARN /AWS1/IOWROLEARN¶
The ARN of the IAM Role that authorizes the destination.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_iowupdatedstresponse /AWS1/CL_IOWUPDATEDSTRESPONSE¶
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->updatedestination(
iv_description = |string|
iv_expression = |string|
iv_expressiontype = |string|
iv_name = |string|
iv_rolearn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.