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.Types.SentimentAnalysisSettings

Description

 
Synopsis

Documentation

data SentimentAnalysisSettings Source #

Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.

See: newSentimentAnalysisSettings smart constructor.

Constructors

SentimentAnalysisSettings' 

Fields

  • detectSentiment :: Bool

    Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.

Instances

Instances details
FromJSON SentimentAnalysisSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SentimentAnalysisSettings

ToJSON SentimentAnalysisSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SentimentAnalysisSettings

Generic SentimentAnalysisSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SentimentAnalysisSettings

Associated Types

type Rep SentimentAnalysisSettings :: Type -> Type #

Read SentimentAnalysisSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SentimentAnalysisSettings

Show SentimentAnalysisSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SentimentAnalysisSettings

NFData SentimentAnalysisSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SentimentAnalysisSettings

Eq SentimentAnalysisSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SentimentAnalysisSettings

Hashable SentimentAnalysisSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SentimentAnalysisSettings

type Rep SentimentAnalysisSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SentimentAnalysisSettings

type Rep SentimentAnalysisSettings = D1 ('MetaData "SentimentAnalysisSettings" "Amazonka.LexV2Models.Types.SentimentAnalysisSettings" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "SentimentAnalysisSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "detectSentiment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newSentimentAnalysisSettings Source #

Create a value of SentimentAnalysisSettings 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:

$sel:detectSentiment:SentimentAnalysisSettings', sentimentAnalysisSettings_detectSentiment - Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.

sentimentAnalysisSettings_detectSentiment :: Lens' SentimentAnalysisSettings Bool Source #

Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.