Skip to content

GetImportResponse

Source code in docs_src/capo_lex_model_building_service/types/get_import_response.py
class GetImportResponse(TypedDict, closed=True):
    name: NotRequired["capo_lex_model_building_service.types.name.Name"]
    """<p>The name given to the import job.</p>"""
    resource_type: NotRequired[
        "capo_lex_model_building_service.types.resource_type.ResourceType"
    ]
    """<p>The type of resource imported.</p>"""
    merge_strategy: NotRequired[
        "capo_lex_model_building_service.types.merge_strategy.MergeStrategy"
    ]
    """<p>The action taken when there was a conflict between an existing resource and a resource in the import file.</p>"""
    import_id: NotRequired["capo_lex_model_building_service.types.string.String"]
    """<p>The identifier for the specific import job.</p>"""
    import_status: NotRequired[
        "capo_lex_model_building_service.types.import_status.ImportStatus"
    ]
    """<p>The status of the import job. If the status is <code>FAILED</code>, you can get the reason for the failure from the <code>failureReason</code> field.</p>"""
    failure_reason: NotRequired[
        "capo_lex_model_building_service.types.string_list.StringList"
    ]
    """<p>A string that describes why an import job failed to complete.</p>"""
    created_date: NotRequired[
        "capo_lex_model_building_service.types.timestamp.Timestamp"
    ]
    """<p>A timestamp for the date and time that the import job was created.</p>"""

created_date instance-attribute

created_date: NotRequired[Timestamp]

A timestamp for the date and time that the import job was created.

failure_reason instance-attribute

failure_reason: NotRequired[StringList]

A string that describes why an import job failed to complete.

import_id instance-attribute

import_id: NotRequired[String]

The identifier for the specific import job.

import_status instance-attribute

import_status: NotRequired[ImportStatus]

The status of the import job. If the status is FAILED, you can get the reason for the failure from the failureReason field.

merge_strategy instance-attribute

merge_strategy: NotRequired[MergeStrategy]

The action taken when there was a conflict between an existing resource and a resource in the import file.

name instance-attribute

name: NotRequired[Name]

The name given to the import job.

resource_type instance-attribute

resource_type: NotRequired[ResourceType]

The type of resource imported.