getResourcePolicy
inline suspend fun CloudTrailClient.getResourcePolicy(crossinline block: GetResourcePolicyRequest.Builder.() -> Unit): GetResourcePolicyResponse
Retrieves the JSON text of the resource-based policy document attached to the CloudTrail event data store, dashboard, or channel.