/AWS1/IF_IOW=>UPDATELOGLEVELSBYRESRCTYPES()¶
About UpdateLogLevelsByResourceTypes¶
Set default log level, or log levels by resource types. This can be for wireless device, wireless gateway, or FUOTA task log options, and is used to control the log messages that'll be displayed in CloudWatch.
Method Signature¶
METHODS /AWS1/IF_IOW~UPDATELOGLEVELSBYRESRCTYPES
IMPORTING
!IV_DEFAULTLOGLEVEL TYPE /AWS1/IOWLOGLEVEL OPTIONAL
!IT_FUOTATASKLOGOPTIONS TYPE /AWS1/CL_IOWFUOTATASKLOGOPTION=>TT_FUOTATASKLOGOPTIONLIST OPTIONAL
!IT_WIRELESSDEVICELOGOPTIONS TYPE /AWS1/CL_IOWWIRELESSDEVLOGOP00=>TT_WIRELESSDEVICELOGOPTIONLIST OPTIONAL
!IT_WIRELESSGATEWAYLOGOPTIONS TYPE /AWS1/CL_IOWWIRELESSGWLOGOPT00=>TT_WIRELESSGWLOGOPTIONLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_iowuploglevelsbyres01
RAISING
/AWS1/CX_IOWACCESSDENIEDEX
/AWS1/CX_IOWCONFLICTEXCEPTION
/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¶
Optional arguments:¶
iv_defaultloglevel TYPE /AWS1/IOWLOGLEVEL /AWS1/IOWLOGLEVEL¶
DefaultLogLevel
it_fuotatasklogoptions TYPE /AWS1/CL_IOWFUOTATASKLOGOPTION=>TT_FUOTATASKLOGOPTIONLIST TT_FUOTATASKLOGOPTIONLIST¶
FuotaTaskLogOptions
it_wirelessdevicelogoptions TYPE /AWS1/CL_IOWWIRELESSDEVLOGOP00=>TT_WIRELESSDEVICELOGOPTIONLIST TT_WIRELESSDEVICELOGOPTIONLIST¶
WirelessDeviceLogOptions
it_wirelessgatewaylogoptions TYPE /AWS1/CL_IOWWIRELESSGWLOGOPT00=>TT_WIRELESSGWLOGOPTIONLIST TT_WIRELESSGWLOGOPTIONLIST¶
WirelessGatewayLogOptions
RETURNING¶
oo_output TYPE REF TO /aws1/cl_iowuploglevelsbyres01 /AWS1/CL_IOWUPLOGLEVELSBYRES01¶
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->updateloglevelsbyresrctypes(
it_fuotatasklogoptions = VALUE /aws1/cl_iowfuotatasklogoption=>tt_fuotatasklogoptionlist(
(
new /aws1/cl_iowfuotatasklogoption(
it_events = VALUE /aws1/cl_iowfuotatskevtlogop00=>tt_fuotataskeventlogoptionlist(
(
new /aws1/cl_iowfuotatskevtlogop00(
iv_event = |string|
iv_loglevel = |string|
)
)
)
iv_loglevel = |string|
iv_type = |string|
)
)
)
it_wirelessdevicelogoptions = VALUE /aws1/cl_iowwirelessdevlogop00=>tt_wirelessdevicelogoptionlist(
(
new /aws1/cl_iowwirelessdevlogop00(
it_events = VALUE /aws1/cl_iowwirelessdevevtlo00=>tt_wirelessdevevtlogoptionlist(
(
new /aws1/cl_iowwirelessdevevtlo00(
iv_event = |string|
iv_loglevel = |string|
)
)
)
iv_loglevel = |string|
iv_type = |string|
)
)
)
it_wirelessgatewaylogoptions = VALUE /aws1/cl_iowwirelessgwlogopt00=>tt_wirelessgwlogoptionlist(
(
new /aws1/cl_iowwirelessgwlogopt00(
it_events = VALUE /aws1/cl_iowwirelessgwevtlog00=>tt_wirelessgwevtlogoptionlist(
(
new /aws1/cl_iowwirelessgwevtlog00(
iv_event = |string|
iv_loglevel = |string|
)
)
)
iv_loglevel = |string|
iv_type = |string|
)
)
)
iv_defaultloglevel = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.