Skip to content

/AWS1/CL_IOT=>LISTATTACHEDPOLICIES()

About ListAttachedPolicies

Lists the policies attached to the specified thing group.

Requires permission to access the ListAttachedPolicies action.

Method Signature

IMPORTING

Required arguments:

IV_TARGET TYPE /AWS1/IOTPOLICYTARGET /AWS1/IOTPOLICYTARGET

The group or principal for which the policies will be listed. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).

Optional arguments:

IV_RECURSIVE TYPE /AWS1/IOTRECURSIVE /AWS1/IOTRECURSIVE

When true, recursively list attached policies.

IV_MARKER TYPE /AWS1/IOTMARKER /AWS1/IOTMARKER

The token to retrieve the next set of results.

IV_PAGESIZE TYPE /AWS1/IOTPAGESIZE /AWS1/IOTPAGESIZE

The maximum number of results to be returned per request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOTLISTATTPOLRESPONSE /AWS1/CL_IOTLISTATTPOLRESPONSE