Skip to content

/AWS1/CL_IOT=>GETEFFECTIVEPOLICIES()

About GetEffectivePolicies

Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the IoT device gateway.

Requires permission to access the GetEffectivePolicies action.

Method Signature

IMPORTING

Optional arguments:

IV_PRINCIPAL TYPE /AWS1/IOTPRINCIPAL /AWS1/IOTPRINCIPAL

The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).

IV_COGNITOIDENTITYPOOLID TYPE /AWS1/IOTCOGNITOIDENTITYPOOLID /AWS1/IOTCOGNITOIDENTITYPOOLID

The Cognito identity pool ID.

IV_THINGNAME TYPE /AWS1/IOTTHINGNAME /AWS1/IOTTHINGNAME

The thing name.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOTGETEFFECTIVEPOLRSP /AWS1/CL_IOTGETEFFECTIVEPOLRSP