create_model_import_job¶
Operation¶
create_model_import_job
async
¶
create_model_import_job(input: CreateModelImportJobInput, plugins: list[Plugin] | None = None) -> CreateModelImportJobOutput
Creates a model import job to import model that you have customized in other environments, such as Amazon SageMaker. For more information, see Import a customized model
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreateModelImportJobInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
CreateModelImportJobOutput
|
An instance of |
Input¶
CreateModelImportJobInput
dataclass
¶
Dataclass for CreateModelImportJobInput structure.
Attributes¶
client_request_token
class-attribute
instance-attribute
¶
client_request_token: str | None = None
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
imported_model_kms_key_id
class-attribute
instance-attribute
¶
imported_model_kms_key_id: str | None = None
The imported model is encrypted at rest using this key.
imported_model_name
class-attribute
instance-attribute
¶
imported_model_name: str | None = None
The name of the imported model.
imported_model_tags
class-attribute
instance-attribute
¶
imported_model_tags: list[Tag] | None = None
Tags to attach to the imported model.
job_name
class-attribute
instance-attribute
¶
job_name: str | None = None
The name of the import job.
job_tags
class-attribute
instance-attribute
¶
job_tags: list[Tag] | None = None
Tags to attach to this import job.
model_data_source
class-attribute
instance-attribute
¶
model_data_source: ModelDataSource | None = None
The data source for the imported model.
role_arn
class-attribute
instance-attribute
¶
role_arn: str | None = None
The Amazon Resource Name (ARN) of the model import job.