Skip to content

ImportModelVersionRequest

Source code in docs_src/capo_lookoutequipment/types/import_model_version_request.py
class ImportModelVersionRequest(TypedDict, closed=True):
    source_model_version_arn: (
        "capo_lookoutequipment.types.model_version_arn.ModelVersionArn"
    )
    """<p>The Amazon Resource Name (ARN) of the model version to import.</p>"""
    model_name: NotRequired["capo_lookoutequipment.types.model_name.ModelName"]
    """<p>The name for the machine learning model to be created. If the model already exists, Amazon Lookout for Equipment creates a new version. If you do not specify this field, it is filled with the name of the source model.</p>"""
    dataset_name: "capo_lookoutequipment.types.dataset_identifier.DatasetIdentifier"
    """<p>The name of the dataset for the machine learning model being imported. </p>"""
    labels_input_configuration: NotRequired[
        "capo_lookoutequipment.types.labels_input_configuration.LabelsInputConfiguration"
    ]
    client_token: "capo_lookoutequipment.types.idempotence_token.IdempotenceToken"
    """<p>A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one. </p>"""
    role_arn: NotRequired["capo_lookoutequipment.types.iam_role_arn.IamRoleArn"]
    """<p>The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the machine learning model. </p>"""
    server_side_kms_key_id: NotRequired[
        "capo_lookoutequipment.types.name_or_arn.NameOrArn"
    ]
    """<p>Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment. </p>"""
    tags: NotRequired["capo_lookoutequipment.types.tag_list.TagList"]
    """<p>The tags associated with the machine learning model to be created. </p>"""
    inference_data_import_strategy: NotRequired[
        "capo_lookoutequipment.types.inference_data_import_strategy.InferenceDataImportStrategy"
    ]
    """<p>Indicates how to import the accumulated inference data when a model version is imported. The possible values are as follows:</p> <ul> <li> <p>NO_IMPORT – Don't import the data.</p> </li> <li> <p>ADD_WHEN_EMPTY – Only import the data from the source model if there is no existing data in the target model.</p> </li> <li> <p>OVERWRITE – Import the data from the source model and overwrite the existing data in the target model.</p> </li> </ul>"""

client_token instance-attribute

client_token: IdempotenceToken

A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.

dataset_name instance-attribute

dataset_name: DatasetIdentifier

The name of the dataset for the machine learning model being imported.

inference_data_import_strategy instance-attribute

inference_data_import_strategy: NotRequired[InferenceDataImportStrategy]

Indicates how to import the accumulated inference data when a model version is imported. The possible values are as follows:

  • NO_IMPORT – Don't import the data.

  • ADD_WHEN_EMPTY – Only import the data from the source model if there is no existing data in the target model.

  • OVERWRITE – Import the data from the source model and overwrite the existing data in the target model.

labels_input_configuration instance-attribute

labels_input_configuration: NotRequired[LabelsInputConfiguration]

model_name instance-attribute

model_name: NotRequired[ModelName]

The name for the machine learning model to be created. If the model already exists, Amazon Lookout for Equipment creates a new version. If you do not specify this field, it is filled with the name of the source model.

role_arn instance-attribute

role_arn: NotRequired[IamRoleArn]

The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the machine learning model.

server_side_kms_key_id instance-attribute

server_side_kms_key_id: NotRequired[NameOrArn]

Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.

source_model_version_arn instance-attribute

source_model_version_arn: ModelVersionArn

The Amazon Resource Name (ARN) of the model version to import.

tags instance-attribute

tags: NotRequired[TagList]

The tags associated with the machine learning model to be created.