Skip to content

Bedrock  >  Operations  >  get_model_copy_job

get_model_copy_job

Operation

get_model_copy_job async

get_model_copy_job(input: GetModelCopyJobInput, plugins: list[Plugin] | None = None) -> GetModelCopyJobOutput

Retrieves information about a model copy job. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.

Parameters:

Name Type Description Default
input GetModelCopyJobInput

An instance of GetModelCopyJobInput.

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
GetModelCopyJobOutput

An instance of GetModelCopyJobOutput.

Input

GetModelCopyJobInput dataclass

Dataclass for GetModelCopyJobInput structure.

Attributes

job_arn class-attribute instance-attribute
job_arn: str | None = None

The Amazon Resource Name (ARN) of the model copy job.

Output

GetModelCopyJobOutput dataclass

Dataclass for GetModelCopyJobOutput structure.

Attributes

creation_time instance-attribute
creation_time: datetime

The time at which the model copy job was created.

failure_message class-attribute instance-attribute
failure_message: str | None = None

An error message for why the model copy job failed.

job_arn instance-attribute
job_arn: str

The Amazon Resource Name (ARN) of the model copy job.

source_account_id instance-attribute
source_account_id: str

The unique identifier of the account that the model being copied originated from.

source_model_arn instance-attribute
source_model_arn: str

The Amazon Resource Name (ARN) of the original model being copied.

source_model_name class-attribute instance-attribute
source_model_name: str | None = None

The name of the original model being copied.

status instance-attribute

The status of the model copy job.

target_model_arn instance-attribute
target_model_arn: str

The Amazon Resource Name (ARN) of the copied model.

target_model_kms_key_arn class-attribute instance-attribute
target_model_kms_key_arn: str | None = None

The Amazon Resource Name (ARN) of the KMS key encrypting the copied model.

target_model_name class-attribute instance-attribute
target_model_name: str | None = None

The name of the copied model.

target_model_tags class-attribute instance-attribute
target_model_tags: list[Tag] | None = None

The tags associated with the copied model.