Skip to content

/AWS1/CL_IOT=>LISTSECPROFILESFORTARGET()

About ListSecurityProfilesForTarget

Lists the Device Defender security profiles attached to a target (thing group).

Requires permission to access the ListSecurityProfilesForTarget action.

Method Signature

IMPORTING

Required arguments:

IV_SECURITYPROFILETARGETARN TYPE /AWS1/IOTSECPROFILETARGETARN /AWS1/IOTSECPROFILETARGETARN

The ARN of the target (thing group) whose attached security profiles you want to get.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/IOTNEXTTOKEN /AWS1/IOTNEXTTOKEN

The token for the next set of results.

IV_MAXRESULTS TYPE /AWS1/IOTMAXRESULTS /AWS1/IOTMAXRESULTS

The maximum number of results to return at one time.

IV_RECURSIVE TYPE /AWS1/IOTRECURSIVE /AWS1/IOTRECURSIVE

If true, return child groups too.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOTLSTSECPFLSFORTGT01 /AWS1/CL_IOTLSTSECPFLSFORTGT01