---
title: "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/stopbotrecommendation"
method: PUT
path: "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/stopbotrecommendation"
---

# PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/stopbotrecommendation

`PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/stopbotrecommendation`

Stop an already running Bot Recommendation request.

## Path parameters

- `botId` string, required
- `botVersion` string, required
- `localeId` string, required
- `botRecommendationId` string, required

## Response `202`

Success

- StopBotRecommendationResponse
  - `botId` string — The unique identifier of the bot containing the bot recommendation that is being stopped.
  - `botVersion` string — The version of the bot containing the recommendation that is being stopped.
  - `localeId` string — The identifier of the language and locale of the bot response to stop. The string must match one of the supported locales. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
  - `botRecommendationStatus` 'Processing' | 'Deleting' | 'Deleted' | 'Downloading' | 'Updating' | 'Available' | 'Failed' | 'Stopping' | 'Stopped' — The status of the bot recommendation. If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
  - `botRecommendationId` string — The unique identifier of the bot recommendation that is being stopped.

## Other responses

- `480` — ThrottlingException
- `481` — ServiceQuotaExceededException
- `482` — ValidationException
- `483` — ResourceNotFoundException
- `484` — ConflictException
- `485` — PreconditionFailedException
- `486` — ConflictException
- `487` — InternalServerException

---

[API](https://skmtc.net/aws/apis/models-lex-v2.md) · [All operations](https://skmtc.net/aws/apis/models-lex-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/models-lex-v2/revisions/4ee1a1257ae7/schema)
