Skip to content

StartImportRequest

Source code in docs_src/capo_lex_models_v2/types/start_import_request.py
class StartImportRequest(TypedDict, closed=True):
    import_id: "capo_lex_models_v2.types.id.Id"
    """<p>The unique identifier for the import. It is included in the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateUploadUrl.html">CreateUploadUrl</a> operation.</p>"""
    resource_specification: "capo_lex_models_v2.types.import_resource_specification.ImportResourceSpecification"
    """<p>Parameters for creating the bot, bot locale or custom vocabulary.</p>"""
    merge_strategy: "capo_lex_models_v2.types.merge_strategy.MergeStrategy"
    """<p>The strategy to use when there is a name conflict between the imported resource and an existing resource. When the merge strategy is <code>FailOnConflict</code> existing resources are not overwritten and the import fails.</p>"""
    file_password: NotRequired[
        "capo_lex_models_v2.types.import_export_file_password.ImportExportFilePassword"
    ]
    """<p>The password used to encrypt the zip archive that contains the resource definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex.</p>"""

file_password instance-attribute

file_password: NotRequired[ImportExportFilePassword]

The password used to encrypt the zip archive that contains the resource definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex.

import_id instance-attribute

import_id: Id

The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.

merge_strategy instance-attribute

merge_strategy: MergeStrategy

The strategy to use when there is a name conflict between the imported resource and an existing resource. When the merge strategy is FailOnConflict existing resources are not overwritten and the import fails.

resource_specification instance-attribute

resource_specification: ImportResourceSpecification

Parameters for creating the bot, bot locale or custom vocabulary.