amazonka-lexv2-models-2.0: Amazon Lex Model Building V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LexV2Models.StopBotRecommendation

Description

Stop an already running Bot Recommendation request.

Synopsis

Creating a Request

data StopBotRecommendation Source #

See: newStopBotRecommendation smart constructor.

Constructors

StopBotRecommendation' 

Fields

  • botId :: Text

    The unique identifier of the bot containing the bot recommendation to be stopped.

  • botVersion :: Text

    The version of the bot containing the bot recommendation.

  • localeId :: Text

    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

  • botRecommendationId :: Text

    The unique identifier of the bot recommendation to be stopped.

Instances

Instances details
ToJSON StopBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

ToHeaders StopBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

ToPath StopBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

ToQuery StopBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

AWSRequest StopBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

Associated Types

type AWSResponse StopBotRecommendation #

Generic StopBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

Associated Types

type Rep StopBotRecommendation :: Type -> Type #

Read StopBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

Show StopBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

NFData StopBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

Methods

rnf :: StopBotRecommendation -> () #

Eq StopBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

Hashable StopBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

type AWSResponse StopBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

type Rep StopBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

type Rep StopBotRecommendation = D1 ('MetaData "StopBotRecommendation" "Amazonka.LexV2Models.StopBotRecommendation" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "StopBotRecommendation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "botId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "botVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "localeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "botRecommendationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newStopBotRecommendation Source #

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

Instances details
Generic StopBotRecommendationResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

Associated Types

type Rep StopBotRecommendationResponse :: Type -> Type #

Read StopBotRecommendationResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

Show StopBotRecommendationResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

NFData StopBotRecommendationResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

Eq StopBotRecommendationResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

type Rep StopBotRecommendationResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.StopBotRecommendation

type Rep StopBotRecommendationResponse = D1 ('MetaData "StopBotRecommendationResponse" "Amazonka.LexV2Models.StopBotRecommendation" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "StopBotRecommendationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "botId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "botRecommendationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "botRecommendationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BotRecommendationStatus)))) :*: (S1 ('MetaSel ('Just "botVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "localeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

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