lex:GetUtterancesView

List

lex:GetUtterancesView is a List access-level action in the lex service. Returns a view of aggregate utterance data for versions of a bot for a recent time period

Resource types

ARNs that lex:GetUtterancesView can be scoped to in an IAM policy.

arn:${Partition}:lex:${Region}:${Account}:bot:${BotName}:${BotVersion}
bot version

Condition keys

Keys you can use in the Condition block of a policy that grants lex:GetUtterancesView.

aws:ResourceTag/${TagKey} String

Filters access by the tags attached to a Lex resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowLexGetUtterancesView",
      "Effect": "Allow",
      "Action": "lex:GetUtterancesView",
      "Resource": "*"
    }
  ]
}

Related actions in lex

View all lex actions →