Skip to content

get_model_copy_job

Operation

get_model_copy_job

get_model_copy_job(request: GetModelCopyJobInput | GetModelCopyJobInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetModelCopyJobInputDict]) -> 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
request GetModelCopyJobInput | GetModelCopyJobInputDict | 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[GetModelCopyJobInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetModelCopyJobOutput

An instance of GetModelCopyJobOutput.

get_model_copy_job async

get_model_copy_job(request: GetModelCopyJobInput | GetModelCopyJobInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetModelCopyJobInputDict]) -> 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
request GetModelCopyJobInput | GetModelCopyJobInputDict | 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[GetModelCopyJobInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetModelCopyJobOutput

An instance of GetModelCopyJobOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

GetModelCopyJobInputDict

Bases: TypedDict

Dictionary form of GetModelCopyJobInput.

Attributes

job_arn instance-attribute
job_arn: Required[str]

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

GetModelCopyJobInput dataclass

Bases: _SerdeShape

Dataclass for GetModelCopyJobInput structure.

Attributes

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

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

Output

GetModelCopyJobOutput dataclass

Bases: _SerdeShape

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 = ...

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.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

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.

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 = ...

The name of the original model being copied.

status instance-attribute
status: str

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 = ...

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 = ...

The name of the copied model.

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

The tags associated with the copied model.