/AWS1/IF_KN2=>DELAPPLICATIONCLOUDWATCHLO00()¶
About DeleteApplicationCloudWatchLoggingOption¶
Deletes an Amazon CloudWatch log stream from an SQL-based Kinesis Data Analytics application.
Method Signature¶
METHODS /AWS1/IF_KN2~DELAPPLICATIONCLOUDWATCHLO00
IMPORTING
!IV_APPLICATIONNAME TYPE /AWS1/KN2APPLICATIONNAME OPTIONAL
!IV_CURRENTAPPLICATIONVRSID TYPE /AWS1/KN2APPLICATIONVERSIONID OPTIONAL
!IV_CLOUDWATCHLOGGINGOPTIONID TYPE /AWS1/KN2ID OPTIONAL
!IV_CONDITIONALTOKEN TYPE /AWS1/KN2CONDITIONALTOKEN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_kn2delapplicationcl01
RAISING
/AWS1/CX_KN2CONCURRENTMODEX
/AWS1/CX_KN2INVAPPLICATIONCO00
/AWS1/CX_KN2INVALIDARGUMENTEX
/AWS1/CX_KN2INVALIDREQUESTEX
/AWS1/CX_KN2RESOURCEINUSEEX
/AWS1/CX_KN2RESOURCENOTFOUNDEX
/AWS1/CX_KN2CLIENTEXC
/AWS1/CX_KN2SERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_applicationname TYPE /AWS1/KN2APPLICATIONNAME /AWS1/KN2APPLICATIONNAME¶
The application name.
iv_cloudwatchloggingoptionid TYPE /AWS1/KN2ID /AWS1/KN2ID¶
The
CloudWatchLoggingOptionIdof the Amazon CloudWatch logging option to delete. You can get theCloudWatchLoggingOptionIdby using the DescribeApplication operation.
Optional arguments:¶
iv_currentapplicationvrsid TYPE /AWS1/KN2APPLICATIONVERSIONID /AWS1/KN2APPLICATIONVERSIONID¶
The version ID of the application. You must provide the
CurrentApplicationVersionIdor theConditionalToken. You can retrieve the application version ID using DescribeApplication. For better concurrency support, use theConditionalTokenparameter instead ofCurrentApplicationVersionId.
iv_conditionaltoken TYPE /AWS1/KN2CONDITIONALTOKEN /AWS1/KN2CONDITIONALTOKEN¶
A value you use to implement strong concurrency for application updates. You must provide the
CurrentApplicationVersionIdor theConditionalToken. You get the application's currentConditionalTokenusing DescribeApplication. For better concurrency support, use theConditionalTokenparameter instead ofCurrentApplicationVersionId.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_kn2delapplicationcl01 /AWS1/CL_KN2DELAPPLICATIONCL01¶
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->delapplicationcloudwatchlo00(
iv_applicationname = |string|
iv_cloudwatchloggingoptionid = |string|
iv_conditionaltoken = |string|
iv_currentapplicationvrsid = 123
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_resourcearn = lo_result->get_applicationarn( ).
lv_applicationversionid = lo_result->get_applicationversionid( ).
LOOP AT lo_result->get_cloudwatchlogoptiondescs( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_id = lo_row_1->get_cloudwatchlogoptionid( ).
lv_logstreamarn = lo_row_1->get_logstreamarn( ).
lv_rolearn = lo_row_1->get_rolearn( ).
ENDIF.
ENDLOOP.
lv_operationid = lo_result->get_operationid( ).
ENDIF.