/AWS1/IF_IOT=>DELETEAUDITSUPPRESSION()¶
About DeleteAuditSuppression¶
Deletes a Device Defender audit suppression.
Requires permission to access the DeleteAuditSuppression action.
Method Signature¶
METHODS /AWS1/IF_IOT~DELETEAUDITSUPPRESSION
IMPORTING
!IV_CHECKNAME TYPE /AWS1/IOTAUDITCHECKNAME OPTIONAL
!IO_RESOURCEIDENTIFIER TYPE REF TO /AWS1/CL_IOTRESOURCEIDENTIFIER OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_iotdelauditsupionrsp
RAISING
/AWS1/CX_IOTINTERNALFAILUREEX
/AWS1/CX_IOTINVALIDREQUESTEX
/AWS1/CX_IOTTHROTTLINGEX
/AWS1/CX_IOTCLIENTEXC
/AWS1/CX_IOTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_checkname TYPE /AWS1/IOTAUDITCHECKNAME /AWS1/IOTAUDITCHECKNAME¶
An audit check name. Checks must be enabled for your account. (Use
DescribeAccountAuditConfigurationto see the list of all checks, including those that are enabled or useUpdateAccountAuditConfigurationto select which checks are enabled.)
io_resourceidentifier TYPE REF TO /AWS1/CL_IOTRESOURCEIDENTIFIER /AWS1/CL_IOTRESOURCEIDENTIFIER¶
Information that identifies the noncompliant resource.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_iotdelauditsupionrsp /AWS1/CL_IOTDELAUDITSUPIONRSP¶
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->deleteauditsuppression(
io_resourceidentifier = new /aws1/cl_iotresourceidentifier(
io_issuercertidentifier = new /aws1/cl_iotissuercertid(
iv_issuercertificatesubject = |string|
iv_issuercertserialnumber = |string|
iv_issuerid = |string|
)
io_policyversionidentifier = new /aws1/cl_iotpolicyversionid(
iv_policyname = |string|
iv_policyversionid = |string|
)
iv_account = |string|
iv_cacertificateid = |string|
iv_clientid = |string|
iv_cognitoidentitypoolid = |string|
iv_devicecertificatearn = |string|
iv_devicecertificateid = |string|
iv_iamrolearn = |string|
iv_rolealiasarn = |string|
)
iv_checkname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.