create_model_copy_job¶
Operation¶
create_model_copy_job
async
¶
create_model_copy_job(input: CreateModelCopyJobInput, plugins: list[Plugin] | None = None) -> CreateModelCopyJobOutput
Copies a model to another region so that it can be used there. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreateModelCopyJobInput
|
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 |
|---|---|
CreateModelCopyJobOutput
|
An instance of |
Input¶
CreateModelCopyJobInput
dataclass
¶
Dataclass for CreateModelCopyJobInput 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.
model_kms_key_id
class-attribute
instance-attribute
¶
model_kms_key_id: str | None = None
The ARN of the KMS key that you use to encrypt the model copy.
source_model_arn
class-attribute
instance-attribute
¶
source_model_arn: str | None = None
The Amazon Resource Name (ARN) of the model to be copied.
target_model_name
class-attribute
instance-attribute
¶
target_model_name: str | None = None
A name for the copied model.
target_model_tags
class-attribute
instance-attribute
¶
target_model_tags: list[Tag] | None = None
Tags to associate with the target model. For more information, see Tag resources in the Amazon Bedrock User Guide.