Skip to content

/AWS1/CL_BDK=>CREATEMODELCOPYJOB()

About CreateModelCopyJob

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.

Method Signature

IMPORTING

Required arguments:

IV_SOURCEMODELARN TYPE /AWS1/BDKMODELARN /AWS1/BDKMODELARN

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

IV_TARGETMODELNAME TYPE /AWS1/BDKCUSTOMMODELNAME /AWS1/BDKCUSTOMMODELNAME

A name for the copied model.

Optional arguments:

IV_MODELKMSKEYID TYPE /AWS1/BDKKMSKEYID /AWS1/BDKKMSKEYID

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

IT_TARGETMODELTAGS TYPE /AWS1/CL_BDKTAG=>TT_TAGLIST TT_TAGLIST

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

IV_CLIENTREQUESTTOKEN TYPE /AWS1/BDKIDEMPOTENCYTOKEN /AWS1/BDKIDEMPOTENCYTOKEN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_BDKCREMODELCOPYJOBRSP /AWS1/CL_BDKCREMODELCOPYJOBRSP