Skip to content

BotImportSpecification

Source code in docs_src/capo_lex_models_v2/types/bot_import_specification.py
class BotImportSpecification(TypedDict, closed=True):
    bot_name: "capo_lex_models_v2.types.name.Name"
    """<p>The name that Amazon Lex should use for the bot.</p>"""
    role_arn: "capo_lex_models_v2.types.role_arn.RoleArn"
    """<p>The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.</p>"""
    data_privacy: "capo_lex_models_v2.types.data_privacy.DataPrivacy"
    error_log_settings: NotRequired[
        "capo_lex_models_v2.types.error_log_settings.ErrorLogSettings"
    ]
    """<p>Allows you to configure destinations where error logs will be published during the bot import process.</p>"""
    idle_session_ttl_in_seconds: NotRequired[
        "capo_lex_models_v2.types.session_ttl.SessionTTL"
    ]
    """<p>The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot. </p> <p>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.</p> <p>You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.</p>"""
    bot_tags: NotRequired["capo_lex_models_v2.types.tag_map.TagMap"]
    """<p>A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the <code>UpdateBot</code> operation to update tags. To update tags, use the <code>TagResource</code> operation.</p>"""
    test_bot_alias_tags: NotRequired["capo_lex_models_v2.types.tag_map.TagMap"]
    """<p>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 <code>UpdateAlias</code> operation to update tags. To update tags on the test alias, use the <code>TagResource</code> operation.</p>"""

bot_name instance-attribute

bot_name: Name

The name that Amazon Lex should use for the bot.

bot_tags instance-attribute

bot_tags: NotRequired[TagMap]

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.

data_privacy instance-attribute

data_privacy: DataPrivacy

error_log_settings instance-attribute

error_log_settings: NotRequired[ErrorLogSettings]

Allows you to configure destinations where error logs will be published during the bot import process.

idle_session_ttl_in_seconds instance-attribute

idle_session_ttl_in_seconds: NotRequired[SessionTTL]

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.

role_arn instance-attribute

role_arn: RoleArn

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

test_bot_alias_tags instance-attribute

test_bot_alias_tags: NotRequired[TagMap]

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.