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

Description

 
Synopsis

Documentation

data BotImportSpecification Source #

Provides the bot parameters required for importing a bot.

See: newBotImportSpecification smart constructor.

Constructors

BotImportSpecification' 

Fields

  • botTags :: Maybe (HashMap Text Text)

    A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the UpdateBot operation to update tags. To update tags, use the TagResource operation.

  • idleSessionTTLInSeconds :: Maybe Natural

    The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.

    A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.

    You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.

  • testBotAliasTags :: Maybe (HashMap Text Text)

    A list of tags to add to the test alias for a bot. You can only add tags when you import a bot. You can't use the UpdateAlias operation to update tags. To update tags on the test alias, use the TagResource operation.

  • botName :: Text

    The name that Amazon Lex should use for the bot.

  • roleArn :: Text

    The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.

  • dataPrivacy :: DataPrivacy
     

Instances

Instances details
FromJSON BotImportSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.BotImportSpecification

ToJSON BotImportSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.BotImportSpecification

Generic BotImportSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.BotImportSpecification

Associated Types

type Rep BotImportSpecification :: Type -> Type #

Read BotImportSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.BotImportSpecification

Show BotImportSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.BotImportSpecification

NFData BotImportSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.BotImportSpecification

Methods

rnf :: BotImportSpecification -> () #

Eq BotImportSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.BotImportSpecification

Hashable BotImportSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.BotImportSpecification

type Rep BotImportSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.BotImportSpecification

type Rep BotImportSpecification = D1 ('MetaData "BotImportSpecification" "Amazonka.LexV2Models.Types.BotImportSpecification" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "BotImportSpecification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "botTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "idleSessionTTLInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "testBotAliasTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "botName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "dataPrivacy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DataPrivacy)))))

newBotImportSpecification Source #

Create a value of BotImportSpecification 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:botTags:BotImportSpecification', botImportSpecification_botTags - A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the UpdateBot operation to update tags. To update tags, use the TagResource operation.

$sel:idleSessionTTLInSeconds:BotImportSpecification', botImportSpecification_idleSessionTTLInSeconds - The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.

A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.

You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.

$sel:testBotAliasTags:BotImportSpecification', botImportSpecification_testBotAliasTags - A list of tags to add to the test alias for a bot. You can only add tags when you import a bot. You can't use the UpdateAlias operation to update tags. To update tags on the test alias, use the TagResource operation.

$sel:botName:BotImportSpecification', botImportSpecification_botName - The name that Amazon Lex should use for the bot.

$sel:roleArn:BotImportSpecification', botImportSpecification_roleArn - The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.

$sel:dataPrivacy:BotImportSpecification', botImportSpecification_dataPrivacy - Undocumented member.

botImportSpecification_botTags :: Lens' BotImportSpecification (Maybe (HashMap Text Text)) Source #

A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the UpdateBot operation to update tags. To update tags, use the TagResource operation.

botImportSpecification_idleSessionTTLInSeconds :: Lens' BotImportSpecification (Maybe Natural) Source #

The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.

A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.

You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.

botImportSpecification_testBotAliasTags :: Lens' BotImportSpecification (Maybe (HashMap Text Text)) Source #

A list of tags to add to the test alias for a bot. You can only add tags when you import a bot. You can't use the UpdateAlias operation to update tags. To update tags on the test alias, use the TagResource operation.

botImportSpecification_botName :: Lens' BotImportSpecification Text Source #

The name that Amazon Lex should use for the bot.

botImportSpecification_roleArn :: Lens' BotImportSpecification Text Source #

The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.