Skip to content

Create Model Copy Job

bedrock_create_model_copy_job R Documentation

Copies a model to another region so that it can be used there

Description

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.

Usage

bedrock_create_model_copy_job(sourceModelArn, targetModelName,
  modelKmsKeyId, targetModelTags, clientRequestToken)

Arguments

sourceModelArn

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

targetModelName

[required] A name for the copied model.

modelKmsKeyId

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

targetModelTags

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

clientRequestToken

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.

Value

A list with the following syntax:

list(
  jobArn = "string"
)

Request syntax

svc$create_model_copy_job(
  sourceModelArn = "string",
  targetModelName = "string",
  modelKmsKeyId = "string",
  targetModelTags = list(
    list(
      key = "string",
      value = "string"
    )
  ),
  clientRequestToken = "string"
)