| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.LexV2Models.StopBotRecommendation
Description
Stop an already running Bot Recommendation request.
Synopsis
- data StopBotRecommendation = StopBotRecommendation' {
- botId :: Text
- botVersion :: Text
- localeId :: Text
- botRecommendationId :: Text
- newStopBotRecommendation :: Text -> Text -> Text -> Text -> StopBotRecommendation
- stopBotRecommendation_botId :: Lens' StopBotRecommendation Text
- stopBotRecommendation_botVersion :: Lens' StopBotRecommendation Text
- stopBotRecommendation_localeId :: Lens' StopBotRecommendation Text
- stopBotRecommendation_botRecommendationId :: Lens' StopBotRecommendation Text
- data StopBotRecommendationResponse = StopBotRecommendationResponse' {}
- newStopBotRecommendationResponse :: Int -> StopBotRecommendationResponse
- stopBotRecommendationResponse_botId :: Lens' StopBotRecommendationResponse (Maybe Text)
- stopBotRecommendationResponse_botRecommendationId :: Lens' StopBotRecommendationResponse (Maybe Text)
- stopBotRecommendationResponse_botRecommendationStatus :: Lens' StopBotRecommendationResponse (Maybe BotRecommendationStatus)
- stopBotRecommendationResponse_botVersion :: Lens' StopBotRecommendationResponse (Maybe Text)
- stopBotRecommendationResponse_localeId :: Lens' StopBotRecommendationResponse (Maybe Text)
- stopBotRecommendationResponse_httpStatus :: Lens' StopBotRecommendationResponse Int
Creating a Request
data StopBotRecommendation Source #
See: newStopBotRecommendation smart constructor.
Constructors
| StopBotRecommendation' | |
Fields
| |
Instances
newStopBotRecommendation Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> StopBotRecommendation |
Create a value of StopBotRecommendation with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
StopBotRecommendation, stopBotRecommendation_botId - The unique identifier of the bot containing the bot recommendation to be
stopped.
StopBotRecommendation, stopBotRecommendation_botVersion - The version of the bot containing the bot recommendation.
StopBotRecommendation, stopBotRecommendation_localeId - The identifier of the language and locale of the bot recommendation to
stop. The string must match one of the supported locales. For more
information, see
Supported languages
StopBotRecommendation, stopBotRecommendation_botRecommendationId - The unique identifier of the bot recommendation to be stopped.
Request Lenses
stopBotRecommendation_botId :: Lens' StopBotRecommendation Text Source #
The unique identifier of the bot containing the bot recommendation to be stopped.
stopBotRecommendation_botVersion :: Lens' StopBotRecommendation Text Source #
The version of the bot containing the bot recommendation.
stopBotRecommendation_localeId :: Lens' StopBotRecommendation Text Source #
The identifier of the language and locale of the bot recommendation to stop. The string must match one of the supported locales. For more information, see Supported languages
stopBotRecommendation_botRecommendationId :: Lens' StopBotRecommendation Text Source #
The unique identifier of the bot recommendation to be stopped.
Destructuring the Response
data StopBotRecommendationResponse Source #
See: newStopBotRecommendationResponse smart constructor.
Constructors
| StopBotRecommendationResponse' | |
Fields
| |
Instances
newStopBotRecommendationResponse Source #
Create a value of StopBotRecommendationResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
StopBotRecommendation, stopBotRecommendationResponse_botId - The unique identifier of the bot containing the bot recommendation that
is being stopped.
StopBotRecommendation, stopBotRecommendationResponse_botRecommendationId - The unique identifier of the bot recommendation that is being stopped.
StopBotRecommendationResponse, stopBotRecommendationResponse_botRecommendationStatus - The status of the bot recommendation. If the status is Failed, then the
reasons for the failure are listed in the failureReasons field.
StopBotRecommendation, stopBotRecommendationResponse_botVersion - The version of the bot containing the recommendation that is being
stopped.
StopBotRecommendation, stopBotRecommendationResponse_localeId - 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
Supported languages
$sel:httpStatus:StopBotRecommendationResponse', stopBotRecommendationResponse_httpStatus - The response's http status code.
Response Lenses
stopBotRecommendationResponse_botId :: Lens' StopBotRecommendationResponse (Maybe Text) Source #
The unique identifier of the bot containing the bot recommendation that is being stopped.
stopBotRecommendationResponse_botRecommendationId :: Lens' StopBotRecommendationResponse (Maybe Text) Source #
The unique identifier of the bot recommendation that is being stopped.
stopBotRecommendationResponse_botRecommendationStatus :: Lens' StopBotRecommendationResponse (Maybe BotRecommendationStatus) Source #
The status of the bot recommendation. If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
stopBotRecommendationResponse_botVersion :: Lens' StopBotRecommendationResponse (Maybe Text) Source #
The version of the bot containing the recommendation that is being stopped.
stopBotRecommendationResponse_localeId :: Lens' StopBotRecommendationResponse (Maybe Text) Source #
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 Supported languages
stopBotRecommendationResponse_httpStatus :: Lens' StopBotRecommendationResponse Int Source #
The response's http status code.