lex:GetIntent

Read

lex:GetIntent is a Read access-level action in the lex service. Returns information for a specific intent. In addition to the intent name, you must also specify the intent version

Resource types

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

arn:${Partition}:lex:${Region}:${Account}:intent:${IntentName}:${IntentVersion}
intent version

Condition keys

No condition keys are documented for this action.

Example IAM policy

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

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

Related actions in lex

View all lex actions →