listPolicyPrincipals
inline suspend fun IotClient.listPolicyPrincipals(crossinline block: ListPolicyPrincipalsRequest.Builder.() -> Unit): ListPolicyPrincipalsResponse
Deprecated
No longer recommended for use. See AWS API documentation for more details.
Lists the principals associated with the specified policy.
Note: This action is deprecated and works as expected for backward compatibility, but we won't add enhancements. Use ListTargetsForPolicy instead.
Requires permission to access the ListPolicyPrincipals action.