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.UpdateBotRecommendation

Description

Updates an existing bot recommendation request.

Synopsis

Creating a Request

data UpdateBotRecommendation Source #

See: newUpdateBotRecommendation smart constructor.

Constructors

UpdateBotRecommendation' 

Fields

  • botId :: Text

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

  • botVersion :: Text

    The version of the bot containing the bot recommendation to be updated.

  • localeId :: Text

    The identifier of the language and locale of the bot recommendation to update. 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 updated.

  • encryptionSetting :: EncryptionSetting

    The object representing the passwords that will be used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.

Instances

Instances details
ToJSON UpdateBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotRecommendation

ToHeaders UpdateBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotRecommendation

ToPath UpdateBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotRecommendation

ToQuery UpdateBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotRecommendation

AWSRequest UpdateBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotRecommendation

Generic UpdateBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotRecommendation

Associated Types

type Rep UpdateBotRecommendation :: Type -> Type #

Show UpdateBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotRecommendation

NFData UpdateBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotRecommendation

Methods

rnf :: UpdateBotRecommendation -> () #

Eq UpdateBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotRecommendation

Hashable UpdateBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotRecommendation

type AWSResponse UpdateBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotRecommendation

type Rep UpdateBotRecommendation Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotRecommendation

type Rep UpdateBotRecommendation = D1 ('MetaData "UpdateBotRecommendation" "Amazonka.LexV2Models.UpdateBotRecommendation" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "UpdateBotRecommendation'" '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) :*: S1 ('MetaSel ('Just "encryptionSetting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EncryptionSetting)))))

newUpdateBotRecommendation Source #

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

UpdateBotRecommendation, updateBotRecommendation_botId - The unique identifier of the bot containing the bot recommendation to be updated.

UpdateBotRecommendation, updateBotRecommendation_botVersion - The version of the bot containing the bot recommendation to be updated.

UpdateBotRecommendation, updateBotRecommendation_localeId - The identifier of the language and locale of the bot recommendation to update. The string must match one of the supported locales. For more information, see Supported languages

UpdateBotRecommendation, updateBotRecommendation_botRecommendationId - The unique identifier of the bot recommendation to be updated.

UpdateBotRecommendation, updateBotRecommendation_encryptionSetting - The object representing the passwords that will be used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.

Request Lenses

updateBotRecommendation_botId :: Lens' UpdateBotRecommendation Text Source #

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

updateBotRecommendation_botVersion :: Lens' UpdateBotRecommendation Text Source #

The version of the bot containing the bot recommendation to be updated.

updateBotRecommendation_localeId :: Lens' UpdateBotRecommendation Text Source #

The identifier of the language and locale of the bot recommendation to update. The string must match one of the supported locales. For more information, see Supported languages

updateBotRecommendation_botRecommendationId :: Lens' UpdateBotRecommendation Text Source #

The unique identifier of the bot recommendation to be updated.

updateBotRecommendation_encryptionSetting :: Lens' UpdateBotRecommendation EncryptionSetting Source #

The object representing the passwords that will be used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.

Destructuring the Response

data UpdateBotRecommendationResponse Source #

See: newUpdateBotRecommendationResponse smart constructor.

Constructors

UpdateBotRecommendationResponse' 

Fields

Instances

Instances details
Generic UpdateBotRecommendationResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotRecommendation

Associated Types

type Rep UpdateBotRecommendationResponse :: Type -> Type #

Show UpdateBotRecommendationResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotRecommendation

NFData UpdateBotRecommendationResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotRecommendation

Eq UpdateBotRecommendationResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotRecommendation

type Rep UpdateBotRecommendationResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotRecommendation

type Rep UpdateBotRecommendationResponse = D1 ('MetaData "UpdateBotRecommendationResponse" "Amazonka.LexV2Models.UpdateBotRecommendation" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "UpdateBotRecommendationResponse'" '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 "creationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "encryptionSetting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionSetting)) :*: S1 ('MetaSel ('Just "lastUpdatedDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "localeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "transcriptSourceSetting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TranscriptSourceSetting)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newUpdateBotRecommendationResponse Source #

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

UpdateBotRecommendation, updateBotRecommendationResponse_botId - The unique identifier of the bot containing the bot recommendation that has been updated.

UpdateBotRecommendation, updateBotRecommendationResponse_botRecommendationId - The unique identifier of the bot recommendation to be updated.

UpdateBotRecommendationResponse, updateBotRecommendationResponse_botRecommendationStatus - The status of the bot recommendation.

If the status is Failed, then the reasons for the failure are listed in the failureReasons field.

UpdateBotRecommendation, updateBotRecommendationResponse_botVersion - The version of the bot containing the bot recommendation that has been updated.

UpdateBotRecommendationResponse, updateBotRecommendationResponse_creationDateTime - A timestamp of the date and time that the bot recommendation was created.

UpdateBotRecommendation, updateBotRecommendationResponse_encryptionSetting - The object representing the passwords that were used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.

UpdateBotRecommendationResponse, updateBotRecommendationResponse_lastUpdatedDateTime - A timestamp of the date and time that the bot recommendation was last updated.

UpdateBotRecommendation, updateBotRecommendationResponse_localeId - The identifier of the language and locale of the bot recommendation to update. The string must match one of the supported locales. For more information, see Supported languages

$sel:transcriptSourceSetting:UpdateBotRecommendationResponse', updateBotRecommendationResponse_transcriptSourceSetting - The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.

$sel:httpStatus:UpdateBotRecommendationResponse', updateBotRecommendationResponse_httpStatus - The response's http status code.

Response Lenses

updateBotRecommendationResponse_botId :: Lens' UpdateBotRecommendationResponse (Maybe Text) Source #

The unique identifier of the bot containing the bot recommendation that has been updated.

updateBotRecommendationResponse_botRecommendationId :: Lens' UpdateBotRecommendationResponse (Maybe Text) Source #

The unique identifier of the bot recommendation to be updated.

updateBotRecommendationResponse_botRecommendationStatus :: Lens' UpdateBotRecommendationResponse (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.

updateBotRecommendationResponse_botVersion :: Lens' UpdateBotRecommendationResponse (Maybe Text) Source #

The version of the bot containing the bot recommendation that has been updated.

updateBotRecommendationResponse_creationDateTime :: Lens' UpdateBotRecommendationResponse (Maybe UTCTime) Source #

A timestamp of the date and time that the bot recommendation was created.

updateBotRecommendationResponse_encryptionSetting :: Lens' UpdateBotRecommendationResponse (Maybe EncryptionSetting) Source #

The object representing the passwords that were used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.

updateBotRecommendationResponse_lastUpdatedDateTime :: Lens' UpdateBotRecommendationResponse (Maybe UTCTime) Source #

A timestamp of the date and time that the bot recommendation was last updated.

updateBotRecommendationResponse_localeId :: Lens' UpdateBotRecommendationResponse (Maybe Text) Source #

The identifier of the language and locale of the bot recommendation to update. The string must match one of the supported locales. For more information, see Supported languages

updateBotRecommendationResponse_transcriptSourceSetting :: Lens' UpdateBotRecommendationResponse (Maybe TranscriptSourceSetting) Source #

The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.