Skip to content

CreateModelCopyJobRequest

Source code in docs_src/capo_bedrock/types/create_model_copy_job_request.py
class CreateModelCopyJobRequest(TypedDict, closed=True):
    source_model_arn: "capo_bedrock.types.model_arn.ModelArn"
    """<p>The Amazon Resource Name (ARN) of the model to be copied.</p>"""
    target_model_name: "capo_bedrock.types.custom_model_name.CustomModelName"
    """<p>A name for the copied model.</p>"""
    model_kms_key_id: NotRequired["capo_bedrock.types.kms_key_id.KmsKeyId"]
    """<p>The ARN of the KMS key that you use to encrypt the model copy.</p>"""
    target_model_tags: NotRequired["capo_bedrock.types.tag_list.TagList"]
    """<p>Tags to associate with the target model. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html">Tag resources</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>"""
    client_request_token: NotRequired[
        "capo_bedrock.types.idempotency_token.IdempotencyToken"
    ]
    """<p>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 <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>"""

client_request_token instance-attribute

client_request_token: NotRequired[IdempotencyToken]

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 instance-attribute

model_kms_key_id: NotRequired[KmsKeyId]

The ARN of the KMS key that you use to encrypt the model copy.

source_model_arn instance-attribute

source_model_arn: ModelArn

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

target_model_name instance-attribute

target_model_name: CustomModelName

A name for the copied model.

target_model_tags instance-attribute

target_model_tags: NotRequired[TagList]

Tags to associate with the target model. For more information, see Tag resources in the Amazon Bedrock User Guide.