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

Description

Updates the configuration of an existing bot alias.

Synopsis

Creating a Request

data UpdateBotAlias Source #

See: newUpdateBotAlias smart constructor.

Constructors

UpdateBotAlias' 

Fields

Instances

Instances details
ToJSON UpdateBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

ToHeaders UpdateBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

ToPath UpdateBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

ToQuery UpdateBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

AWSRequest UpdateBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

Associated Types

type AWSResponse UpdateBotAlias #

Generic UpdateBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

Associated Types

type Rep UpdateBotAlias :: Type -> Type #

Read UpdateBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

Show UpdateBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

NFData UpdateBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

Methods

rnf :: UpdateBotAlias -> () #

Eq UpdateBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

Hashable UpdateBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

type AWSResponse UpdateBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

type Rep UpdateBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

newUpdateBotAlias Source #

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

UpdateBotAlias, updateBotAlias_botAliasLocaleSettings - The new Lambda functions to use in each locale for the bot alias.

UpdateBotAlias, updateBotAlias_botVersion - The new bot version to assign to the bot alias.

UpdateBotAlias, updateBotAlias_conversationLogSettings - The new settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.

UpdateBotAlias, updateBotAlias_description - The new description to assign to the bot alias.

UpdateBotAlias, updateBotAlias_sentimentAnalysisSettings - Undocumented member.

UpdateBotAlias, updateBotAlias_botAliasId - The unique identifier of the bot alias.

UpdateBotAlias, updateBotAlias_botAliasName - The new name to assign to the bot alias.

UpdateBotAlias, updateBotAlias_botId - The identifier of the bot with the updated alias.

Request Lenses

updateBotAlias_botAliasLocaleSettings :: Lens' UpdateBotAlias (Maybe (HashMap Text BotAliasLocaleSettings)) Source #

The new Lambda functions to use in each locale for the bot alias.

updateBotAlias_botVersion :: Lens' UpdateBotAlias (Maybe Text) Source #

The new bot version to assign to the bot alias.

updateBotAlias_conversationLogSettings :: Lens' UpdateBotAlias (Maybe ConversationLogSettings) Source #

The new settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.

updateBotAlias_description :: Lens' UpdateBotAlias (Maybe Text) Source #

The new description to assign to the bot alias.

updateBotAlias_botAliasId :: Lens' UpdateBotAlias Text Source #

The unique identifier of the bot alias.

updateBotAlias_botAliasName :: Lens' UpdateBotAlias Text Source #

The new name to assign to the bot alias.

updateBotAlias_botId :: Lens' UpdateBotAlias Text Source #

The identifier of the bot with the updated alias.

Destructuring the Response

data UpdateBotAliasResponse Source #

See: newUpdateBotAliasResponse smart constructor.

Constructors

UpdateBotAliasResponse' 

Fields

Instances

Instances details
Generic UpdateBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

Associated Types

type Rep UpdateBotAliasResponse :: Type -> Type #

Read UpdateBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

Show UpdateBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

NFData UpdateBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

Methods

rnf :: UpdateBotAliasResponse -> () #

Eq UpdateBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

type Rep UpdateBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateBotAlias

type Rep UpdateBotAliasResponse = D1 ('MetaData "UpdateBotAliasResponse" "Amazonka.LexV2Models.UpdateBotAlias" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "UpdateBotAliasResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "botAliasId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "botAliasLocaleSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text BotAliasLocaleSettings))) :*: S1 ('MetaSel ('Just "botAliasName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "botAliasStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BotAliasStatus)) :*: (S1 ('MetaSel ('Just "botId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "botVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "conversationLogSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConversationLogSettings)) :*: (S1 ('MetaSel ('Just "creationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "lastUpdatedDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "sentimentAnalysisSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SentimentAnalysisSettings)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newUpdateBotAliasResponse Source #

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

UpdateBotAlias, updateBotAliasResponse_botAliasId - The identifier of the updated bot alias.

UpdateBotAlias, updateBotAliasResponse_botAliasLocaleSettings - The updated Lambda functions to use in each locale for the bot alias.

UpdateBotAlias, updateBotAliasResponse_botAliasName - The updated name of the bot alias.

UpdateBotAliasResponse, updateBotAliasResponse_botAliasStatus - The current status of the bot alias. When the status is Available the alias is ready for use.

UpdateBotAlias, updateBotAliasResponse_botId - The identifier of the bot with the updated alias.

UpdateBotAlias, updateBotAliasResponse_botVersion - The updated version of the bot that the alias points to.

UpdateBotAlias, updateBotAliasResponse_conversationLogSettings - The updated settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.

UpdateBotAliasResponse, updateBotAliasResponse_creationDateTime - A timestamp of the date and time that the bot was created.

UpdateBotAlias, updateBotAliasResponse_description - The updated description of the bot alias.

UpdateBotAliasResponse, updateBotAliasResponse_lastUpdatedDateTime - A timestamp of the date and time that the bot was last updated.

UpdateBotAlias, updateBotAliasResponse_sentimentAnalysisSettings - Undocumented member.

$sel:httpStatus:UpdateBotAliasResponse', updateBotAliasResponse_httpStatus - The response's http status code.

Response Lenses

updateBotAliasResponse_botAliasId :: Lens' UpdateBotAliasResponse (Maybe Text) Source #

The identifier of the updated bot alias.

updateBotAliasResponse_botAliasLocaleSettings :: Lens' UpdateBotAliasResponse (Maybe (HashMap Text BotAliasLocaleSettings)) Source #

The updated Lambda functions to use in each locale for the bot alias.

updateBotAliasResponse_botAliasStatus :: Lens' UpdateBotAliasResponse (Maybe BotAliasStatus) Source #

The current status of the bot alias. When the status is Available the alias is ready for use.

updateBotAliasResponse_botId :: Lens' UpdateBotAliasResponse (Maybe Text) Source #

The identifier of the bot with the updated alias.

updateBotAliasResponse_botVersion :: Lens' UpdateBotAliasResponse (Maybe Text) Source #

The updated version of the bot that the alias points to.

updateBotAliasResponse_conversationLogSettings :: Lens' UpdateBotAliasResponse (Maybe ConversationLogSettings) Source #

The updated settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.

updateBotAliasResponse_creationDateTime :: Lens' UpdateBotAliasResponse (Maybe UTCTime) Source #

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

updateBotAliasResponse_description :: Lens' UpdateBotAliasResponse (Maybe Text) Source #

The updated description of the bot alias.

updateBotAliasResponse_lastUpdatedDateTime :: Lens' UpdateBotAliasResponse (Maybe UTCTime) Source #

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