iq:GetChatMessages

Read

iq:GetChatMessages is a Read access-level action in the iq service. Grants permission to read chat messages in a conversation

Resource types

ARNs that iq:GetChatMessages can be scoped to in an IAM policy.

arn:${Partition}:iq:${Region}::conversation/${ConversationId}
conversation

Condition keys

No condition keys are documented for this action.

Example IAM policy

A minimal policy that allows iq:GetChatMessages. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowIqGetChatMessages",
      "Effect": "Allow",
      "Action": "iq:GetChatMessages",
      "Resource": "*"
    }
  ]
}

Related actions in iq

View all iq actions →