---
title: "PUT /instance/{InstanceId}/lex-bot"
method: PUT
path: "/instance/{InstanceId}/lex-bot"
---

# PUT /instance/{InstanceId}/lex-bot

`PUT /instance/{InstanceId}/lex-bot`

This API is in preview release for Amazon Connect and is subject to change.

Allows the specified Amazon Connect instance to access the specified Amazon Lex V1 bot. This API only supports the association of Amazon Lex V1 bots.

## Path parameters

- `InstanceId` string, required

## Request body

- object
  - `LexBot` object, required — Configuration information of an Amazon Lex bot.
    - `Name` string — The name of the Amazon Lex bot.
    - `LexRegion` string — The Amazon Web Services Region where the Amazon Lex bot was created.

## Response `200`

Success

## Other responses

- `480` — ResourceNotFoundException
- `481` — ResourceConflictException
- `482` — InternalServiceException
- `483` — InvalidRequestException
- `484` — InvalidParameterException
- `485` — ServiceQuotaExceededException
- `486` — ThrottlingException

---

[API](https://skmtc.net/aws/apis/connect.md) · [All operations](https://skmtc.net/aws/apis/connect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/connect/versions/fbcf0a4faed2/schema)
