

# Actions, resources, and condition keys for Amazon Lex
<a name="list_amazonlex"></a>

Amazon Lex (service prefix: `lex`) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:
+ Learn how to [configure this service](https://docs.aws.amazon.com/lex/latest/dg/).
+ View a list of the [API operations available for this service](https://docs.aws.amazon.com/lex/latest/dg/API_Reference.html).
+ Learn how to secure this service and its resources by [using IAM](https://docs.aws.amazon.com/lex/latest/dg/access_permissions.html) permission policies.

**Topics**
+ [Actions defined by Amazon Lex](#amazonlex-actions-as-permissions)
+ [Resource types defined by Amazon Lex](#amazonlex-resources-for-iam-policies)
+ [Condition keys for Amazon Lex](#amazonlex-policy-keys)

## Actions defined by Amazon Lex
<a name="amazonlex-actions-as-permissions"></a>

You can specify the following actions in the `Action` element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

The **Access level** column of the Actions table describes how the action is classified (List, Read, Permissions management, or Tagging). This classification can help you understand the level of access that an action grants when you use it in a policy. For more information about access levels, see [Access levels in policy summaries](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_understand-policy-summary-access-level-summaries.html).

The **Resource types** column of the Actions table indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("\*") to which the policy applies in the `Resource` element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. If the action has one or more required resources, the caller must have permission to use the action with those resources. Required resources are indicated in the table with an asterisk (\*). If you limit resource access with the `Resource` element in an IAM policy, you must include an ARN or pattern for each required resource type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one of the optional resource types.

The **Condition keys** column of the Actions table includes keys that you can specify in a policy statement's `Condition` element. For more information on the condition keys that are associated with resources for the service, see the **Condition keys** column of the Resource types table.

The **Dependent actions** column of the Actions table shows additional permissions that may be required to successfully call an action. These permissions may be needed in addition to the permission for the action itself. When an action specifies dependent actions, those dependencies may apply to additional resources defined for that action, not only the first resource listed in the table.

**Note**  
Resource condition keys are listed in the [Resource types](#amazonlex-resources-for-iam-policies) table. You can find a link to the resource type that applies to an action in the **Resource types (\*required)** column of the Actions table. The resource type in the Resource types table includes the **Condition keys** column, which are the resource condition keys that apply to an action in the Actions table.

For details about the columns in the following table, see [Actions table](reference_policies_actions-resources-contextkeys.html#actions_table).


****  


- **  [https://docs.aws.amazon.com/lex/latest/dg/API_CreateBotVersion.html](https://docs.aws.amazon.com/lex/latest/dg/API_CreateBotVersion.html) **
  - **Description:** Creates a new version based on the $LATEST version of the specified bot
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-botversion](#amazonlex-botversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_CreateIntentVersion.html](https://docs.aws.amazon.com/lex/latest/dg/API_CreateIntentVersion.html) **
  - **Description:** Creates a new version based on the $LATEST version of the specified intent
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-intentversion](#amazonlex-intentversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_CreateSlotTypeVersion.html](https://docs.aws.amazon.com/lex/latest/dg/API_CreateSlotTypeVersion.html) **
  - **Description:** Creates a new version based on the $LATEST version of the specified slot type
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-slottypeversion](#amazonlex-slottypeversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_DeleteBot.html](https://docs.aws.amazon.com/lex/latest/dg/API_DeleteBot.html) **
  - **Description:** Deletes all versions of a bot
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-botversion](#amazonlex-botversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_DeleteBotAlias.html](https://docs.aws.amazon.com/lex/latest/dg/API_DeleteBotAlias.html) **
  - **Description:** Deletes an alias for a specific bot
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-botalias](#amazonlex-botalias) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_DeleteBotChannelAssociation.html](https://docs.aws.amazon.com/lex/latest/dg/API_DeleteBotChannelAssociation.html) **
  - **Description:** Deletes the association between a Amazon Lex bot alias and a messaging platform
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-channel](#amazonlex-channel) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_DeleteBotVersion.html](https://docs.aws.amazon.com/lex/latest/dg/API_DeleteBotVersion.html) **
  - **Description:** Deletes a specific version of a bot
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-botversion](#amazonlex-botversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_DeleteIntent.html](https://docs.aws.amazon.com/lex/latest/dg/API_DeleteIntent.html) **
  - **Description:** Deletes all versions of an intent
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-intentversion](#amazonlex-intentversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_DeleteIntentVersion.html](https://docs.aws.amazon.com/lex/latest/dg/API_DeleteIntentVersion.html) **
  - **Description:** Deletes a specific version of an intent
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-intentversion](#amazonlex-intentversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_runtime_DeleteSession.html](https://docs.aws.amazon.com/lex/latest/dg/API_runtime_DeleteSession.html) **
  - **Description:** Removes session information for a specified bot, alias, and user ID
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-botalias](#amazonlex-botalias)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#amazonlex-botversion](#amazonlex-botversion)  / **Condition keys:**  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_DeleteSlotType.html](https://docs.aws.amazon.com/lex/latest/dg/API_DeleteSlotType.html) **
  - **Description:** Deletes all versions of a slot type
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-slottypeversion](#amazonlex-slottypeversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_DeleteSlotTypeVersion.html](https://docs.aws.amazon.com/lex/latest/dg/API_DeleteSlotTypeVersion.html) **
  - **Description:** Deletes a specific version of a slot type
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-slottypeversion](#amazonlex-slottypeversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_DeleteUtterances.html](https://docs.aws.amazon.com/lex/latest/dg/API_DeleteUtterances.html) **
  - **Description:** Deletes the information Amazon Lex maintains for utterances on a specific bot and userId
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-botversion](#amazonlex-botversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetBot.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetBot.html) **
  - **Description:** Returns information for a specific bot. In addition to the bot name, the bot version or alias is required
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonlex-botalias](#amazonlex-botalias)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#amazonlex-botversion](#amazonlex-botversion)  / **Condition keys:**  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetBotAlias.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetBotAlias.html) **
  - **Description:** Returns information about a Amazon Lex bot alias
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonlex-botalias](#amazonlex-botalias) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetBotAliases.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetBotAliases.html) **
  - **Description:** Returns a list of aliases for a given Amazon Lex bot
  - **Access level:** List
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetBotChannelAssociation.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetBotChannelAssociation.html) **
  - **Description:** Returns information about the association between a Amazon Lex bot and a messaging platform
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonlex-channel](#amazonlex-channel) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetBotChannelAssociations.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetBotChannelAssociations.html) **
  - **Description:** Returns a list of all of the channels associated with a single bot
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonlex-channel](#amazonlex-channel) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetBotVersions.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetBotVersions.html) **
  - **Description:** Returns information for all versions of a specific bot
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonlex-botversion](#amazonlex-botversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetBots.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetBots.html) **
  - **Description:** Returns information for the $LATEST version of all bots, subject to filters provided by the client
  - **Access level:** List
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetBuiltinIntent.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetBuiltinIntent.html) **
  - **Description:** Returns information about a built-in intent
  - **Access level:** Read
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetBuiltinIntents.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetBuiltinIntents.html) **
  - **Description:** Gets a list of built-in intents that meet the specified criteria
  - **Access level:** Read
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetBuiltinSlotTypes.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetBuiltinSlotTypes.html) **
  - **Description:** Gets a list of built-in slot types that meet the specified criteria
  - **Access level:** Read
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetExport.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetExport.html) **
  - **Description:** Exports Amazon Lex Resource in a requested format
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonlex-botversion](#amazonlex-botversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetImport.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetImport.html) **
  - **Description:** Gets information about an import job started with StartImport
  - **Access level:** Read
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetIntent.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetIntent.html) **
  - **Description:** Returns information for a specific intent. In addition to the intent name, you must also specify the intent version
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonlex-intentversion](#amazonlex-intentversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetIntentVersions.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetIntentVersions.html) **
  - **Description:** Returns information for all versions of a specific intent
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonlex-intentversion](#amazonlex-intentversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetIntents.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetIntents.html) **
  - **Description:** Returns information for the $LATEST version of all intents, subject to filters provided by the client
  - **Access level:** List
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetMigration.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetMigration.html) **
  - **Description:** Grants permission to view an ongoing or completed migration
  - **Access level:** Read
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetMigrations.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetMigrations.html) **
  - **Description:** Grants permission to view list of migrations from Amazon Lex v1 to Amazon Lex v2
  - **Access level:** List
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_runtime_GetSession.html](https://docs.aws.amazon.com/lex/latest/dg/API_runtime_GetSession.html) **
  - **Description:** Returns session information for a specified bot, alias, and user ID
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonlex-botalias](#amazonlex-botalias)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#amazonlex-botversion](#amazonlex-botversion)  / **Condition keys:**  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetSlotType.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetSlotType.html) **
  - **Description:** Returns information about a specific version of a slot type. In addition to specifying the slot type name, you must also specify the slot type version
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonlex-slottypeversion](#amazonlex-slottypeversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetSlotTypeVersions.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetSlotTypeVersions.html) **
  - **Description:** Returns information for all versions of a specific slot type
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonlex-slottypeversion](#amazonlex-slottypeversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetSlotTypes.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetSlotTypes.html) **
  - **Description:** Returns information for the $LATEST version of all slot types, subject to filters provided by the client
  - **Access level:** List
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_GetUtterancesView.html](https://docs.aws.amazon.com/lex/latest/dg/API_GetUtterancesView.html) **
  - **Description:** Returns a view of aggregate utterance data for versions of a bot for a recent time period
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonlex-botversion](#amazonlex-botversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_ListTagsForResource.html](https://docs.aws.amazon.com/lex/latest/dg/API_ListTagsForResource.html) **
  - **Description:** Lists tags for a Lex resource
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonlex-bot](#amazonlex-bot)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#amazonlex-botalias](#amazonlex-botalias)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#amazonlex-channel](#amazonlex-channel)  / **Condition keys:**  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html](https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html) **
  - **Description:** Sends user input (text or speech) to Amazon Lex
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-botalias](#amazonlex-botalias)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#amazonlex-botversion](#amazonlex-botversion)  / **Condition keys:**  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html](https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html) **
  - **Description:** Sends user input (text-only) to Amazon Lex
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-botalias](#amazonlex-botalias)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#amazonlex-botversion](#amazonlex-botversion)  / **Condition keys:**  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html) **
  - **Description:** Creates or updates the $LATEST version of a Amazon Lex conversational bot
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-botversion](#amazonlex-botversion)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonlex-aws_TagKeys](#amazonlex-aws_TagKeys) <br /> [#amazonlex-aws_RequestTag___TagKey_](#amazonlex-aws_RequestTag___TagKey_)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_PutBotAlias.html](https://docs.aws.amazon.com/lex/latest/dg/API_PutBotAlias.html) **
  - **Description:** Creates or updates an alias for the specific bot
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-botalias](#amazonlex-botalias)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonlex-aws_TagKeys](#amazonlex-aws_TagKeys) <br /> [#amazonlex-aws_RequestTag___TagKey_](#amazonlex-aws_RequestTag___TagKey_)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_PutIntent.html](https://docs.aws.amazon.com/lex/latest/dg/API_PutIntent.html) **
  - **Description:** Creates or updates the $LATEST version of an intent
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-intentversion](#amazonlex-intentversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PutSession.html](https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PutSession.html) **
  - **Description:** Creates a new session or modifies an existing session with an Amazon Lex bot
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-botalias](#amazonlex-botalias)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#amazonlex-botversion](#amazonlex-botversion)  / **Condition keys:**  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_PutSlotType.html](https://docs.aws.amazon.com/lex/latest/dg/API_PutSlotType.html) **
  - **Description:** Creates or updates the $LATEST version of a slot type
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-slottypeversion](#amazonlex-slottypeversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_StartImport.html](https://docs.aws.amazon.com/lex/latest/dg/API_StartImport.html) **
  - **Description:** Starts a job to import a resource to Amazon Lex
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_StartMigration.html](https://docs.aws.amazon.com/lex/latest/dg/API_StartMigration.html) **
  - **Description:** Grants permission to migrate a bot from Amazon Lex v1 to Amazon Lex v2
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonlex-botversion](#amazonlex-botversion) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_TagResource.html](https://docs.aws.amazon.com/lex/latest/dg/API_TagResource.html) **
  - **Description:** Adds or overwrites tags to a Lex resource
  - **Access level:** Tagging
  - **Resource types (\*required):**  [#amazonlex-bot](#amazonlex-bot)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#amazonlex-botalias](#amazonlex-botalias)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#amazonlex-channel](#amazonlex-channel)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonlex-aws_TagKeys](#amazonlex-aws_TagKeys) <br /> [#amazonlex-aws_RequestTag___TagKey_](#amazonlex-aws_RequestTag___TagKey_)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/lex/latest/dg/API_UntagResource.html](https://docs.aws.amazon.com/lex/latest/dg/API_UntagResource.html) **
  - **Description:** Removes tags from a Lex resource
  - **Access level:** Tagging
  - **Resource types (\*required):**  [#amazonlex-bot](#amazonlex-bot)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#amazonlex-botalias](#amazonlex-botalias)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#amazonlex-channel](#amazonlex-channel)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonlex-aws_TagKeys](#amazonlex-aws_TagKeys) <br /> [#amazonlex-aws_RequestTag___TagKey_](#amazonlex-aws_RequestTag___TagKey_)  / **Dependent actions:** 



## Resource types defined by Amazon Lex
<a name="amazonlex-resources-for-iam-policies"></a>

The following resource types are defined by this service and can be used in the `Resource` element of IAM permission policy statements. Each action in the [Actions table](#amazonlex-actions-as-permissions) identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the Resource types table. For details about the columns in the following table, see [Resource types table](reference_policies_actions-resources-contextkeys.html#resources_table).


****  

| Resource types | ARN | Condition keys | 
| --- | --- | --- | 
|   [https://docs.aws.amazon.com/lex/latest/dg/API_BotMetadata.html](https://docs.aws.amazon.com/lex/latest/dg/API_BotMetadata.html)  |  arn:${Partition}:lex:${Region}:${Account}:bot:${BotName}  |  [#amazonlex-aws_ResourceTag___TagKey_](#amazonlex-aws_ResourceTag___TagKey_)  | 
|   [https://docs.aws.amazon.com/lex/latest/dg/API_BotMetadata.html](https://docs.aws.amazon.com/lex/latest/dg/API_BotMetadata.html)  |  arn:${Partition}:lex:${Region}:${Account}:bot:${BotName}:${BotVersion}  |  [#amazonlex-aws_ResourceTag___TagKey_](#amazonlex-aws_ResourceTag___TagKey_)  | 
|   [https://docs.aws.amazon.com/lex/latest/dg/API_BotAliasMetadata.html](https://docs.aws.amazon.com/lex/latest/dg/API_BotAliasMetadata.html)  |  arn:${Partition}:lex:${Region}:${Account}:bot:${BotName}:${BotAlias}  |  [#amazonlex-aws_ResourceTag___TagKey_](#amazonlex-aws_ResourceTag___TagKey_)  | 
|   [https://docs.aws.amazon.com/lex/latest/dg/API_BotChannelAssociation.html](https://docs.aws.amazon.com/lex/latest/dg/API_BotChannelAssociation.html)  |  arn:${Partition}:lex:${Region}:${Account}:bot-channel:${BotName}:${BotAlias}:${ChannelName}  |  [#amazonlex-aws_ResourceTag___TagKey_](#amazonlex-aws_ResourceTag___TagKey_)  | 
|   [https://docs.aws.amazon.com/lex/latest/dg/API_Intent.html](https://docs.aws.amazon.com/lex/latest/dg/API_Intent.html)  |  arn:${Partition}:lex:${Region}:${Account}:intent:${IntentName}:${IntentVersion}  |  | 
|   [https://docs.aws.amazon.com/lex/latest/dg/API_SlotTypeMetadata.html](https://docs.aws.amazon.com/lex/latest/dg/API_SlotTypeMetadata.html)  |  arn:${Partition}:lex:${Region}:${Account}:slottype:${SlotName}:${SlotVersion}  |  | 

## Condition keys for Amazon Lex
<a name="amazonlex-policy-keys"></a>

Amazon Lex defines the following condition keys that can be used in the `Condition` element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see [Condition keys table](reference_policies_actions-resources-contextkeys.html#context_keys_table).

To view the global condition keys that are available to all services, see [AWS global condition context keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html).


****  

| Condition keys | Description | Type | 
| --- | --- | --- | 
|   [https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag)  | Filters access based on the tags in the request | String | 
|   [https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag)  | Filters access by the tags attached to a Lex resource | String | 
|   [https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys)  | Filters access based on the set of tag keys in the request | ArrayOfString | 
|   [https://docs.aws.amazon.com/lex/latest/dg/security_iam_service-with-iam.html](https://docs.aws.amazon.com/lex/latest/dg/security_iam_service-with-iam.html)  | Enables you to control access based on the intents included in the request | ArrayOfString | 
|   [https://docs.aws.amazon.com/lex/latest/dg/security_iam_service-with-iam.html](https://docs.aws.amazon.com/lex/latest/dg/security_iam_service-with-iam.html)  | Enables you to control access based on the slot types included in the request | ArrayOfString | 
|   [https://docs.aws.amazon.com/lex/latest/dg/security_iam_service-with-iam.html](https://docs.aws.amazon.com/lex/latest/dg/security_iam_service-with-iam.html)  | Enables you to control access based on the channel type included in the request | String | 