getPolicy

inline suspend fun IotClient.getPolicy(crossinline block: GetPolicyRequest.Builder.() -> Unit): GetPolicyResponse

Gets information about the specified policy with the policy document of the default version.

Requires permission to access the GetPolicy action.