get_model_import_job¶
Operation¶
get_model_import_job
async
¶
get_model_import_job(input: GetModelImportJobInput, plugins: list[Plugin] | None = None) -> GetModelImportJobOutput
Retrieves the properties associated with import model job, including the status of the job. For more information, see Import a customized model in the Amazon Bedrock User Guide.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetModelImportJobInput
|
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 |
|---|---|
GetModelImportJobOutput
|
An instance of |
Input¶
GetModelImportJobInput
dataclass
¶
Output¶
GetModelImportJobOutput
dataclass
¶
Dataclass for GetModelImportJobOutput structure.
Attributes¶
creation_time
class-attribute
instance-attribute
¶
creation_time: datetime | None = None
The time the resource was created.
end_time
class-attribute
instance-attribute
¶
end_time: datetime | None = None
Time that the resource transitioned to terminal state.
failure_message
class-attribute
instance-attribute
¶
failure_message: str | None = None
Information about why the import job failed.
imported_model_arn
class-attribute
instance-attribute
¶
imported_model_arn: str | None = None
The Amazon Resource Name (ARN) of the imported model.
imported_model_kms_key_arn
class-attribute
instance-attribute
¶
imported_model_kms_key_arn: 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.
job_arn
class-attribute
instance-attribute
¶
job_arn: str | None = None
The Amazon Resource Name (ARN) of the import job.
job_name
class-attribute
instance-attribute
¶
job_name: str | None = None
The name of the import job.
last_modified_time
class-attribute
instance-attribute
¶
last_modified_time: datetime | None = None
Time the resource was last modified.
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 IAM role associated with this job.
status
class-attribute
instance-attribute
¶
status: ModelImportJobStatus | None = None
The status of the job. A successful job transitions from in-progress to completed when the imported model is ready to use. If the job failed, the failure message contains information about why the job failed.