get_model_import_job¶
Operation¶
get_model_import_job
¶
get_model_import_job(request: GetModelImportJobInput | GetModelImportJobInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetModelImportJobInputDict]) -> 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 |
|---|---|---|---|
request
|
GetModelImportJobInput | GetModelImportJobInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[GetModelImportJobInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
GetModelImportJobOutput
|
An instance of |
get_model_import_job
async
¶
get_model_import_job(request: GetModelImportJobInput | GetModelImportJobInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetModelImportJobInputDict]) -> 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 |
|---|---|---|---|
request
|
GetModelImportJobInput | GetModelImportJobInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[GetModelImportJobInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
GetModelImportJobOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
Output¶
GetModelImportJobOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for GetModelImportJobOutput structure.
Attributes¶
creation_time
class-attribute
instance-attribute
¶
creation_time: datetime | None = ...
The time the resource was created.
end_time
class-attribute
instance-attribute
¶
end_time: datetime | None = ...
Time that the resource transitioned to terminal state.
failure_message
class-attribute
instance-attribute
¶
failure_message: str | None = ...
Information about why the import job failed.
imported_model_arn
class-attribute
instance-attribute
¶
imported_model_arn: str | 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 = ...
The imported model is encrypted at rest using this key.
imported_model_name
class-attribute
instance-attribute
¶
imported_model_name: str | None = ...
The name of the imported model.
job_arn
class-attribute
instance-attribute
¶
job_arn: str | None = ...
The Amazon Resource Name (ARN) of the import job.
job_name
class-attribute
instance-attribute
¶
job_name: str | None = ...
The name of the import job.
last_modified_time
class-attribute
instance-attribute
¶
last_modified_time: datetime | None = ...
Time the resource was last modified.
model_data_source
class-attribute
instance-attribute
¶
model_data_source: ModelDataSource | None = ...
The data source for the imported model.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.
role_arn
class-attribute
instance-attribute
¶
role_arn: str | None = ...
The Amazon Resource Name (ARN) of the IAM role associated with this job.