rekognition_copy_project_version: Copies a version of an Amazon Rekognition Custom Labels model...

View source: R/rekognition_operations.R

rekognition_copy_project_versionR Documentation

Copies a version of an Amazon Rekognition Custom Labels model from a source project to a destination project

Description

Copies a version of an Amazon Rekognition Custom Labels model from a source project to a destination project. The source and destination projects can be in different AWS accounts but must be in the same AWS Region. You can't copy a model to another AWS service.

See https://www.paws-r-sdk.com/docs/rekognition_copy_project_version/ for full documentation.

Usage

rekognition_copy_project_version(
  SourceProjectArn,
  SourceProjectVersionArn,
  DestinationProjectArn,
  VersionName,
  OutputConfig,
  Tags = NULL,
  KmsKeyId = NULL
)

Arguments

SourceProjectArn

[required] The ARN of the source project in the trusting AWS account.

SourceProjectVersionArn

[required] The ARN of the model version in the source project that you want to copy to a destination project.

DestinationProjectArn

[required] The ARN of the project in the trusted AWS account that you want to copy the model version to.

VersionName

[required] A name for the version of the model that's copied to the destination project.

OutputConfig

[required] The S3 bucket and folder location where the training output for the source model version is placed.

Tags

The key-value tags to assign to the model version.

KmsKeyId

The identifier for your AWS Key Management Service key (AWS KMS key). You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key, or an alias ARN. The key is used to encrypt training results and manifest files written to the output Amazon S3 bucket (OutputConfig).

If you choose to use your own KMS key, you need the following permissions on the KMS key.

  • kms:CreateGrant

  • kms:DescribeKey

  • kms:GenerateDataKey

  • kms:Decrypt

If you don't specify a value for KmsKeyId, images copied into the service are encrypted using a key that AWS owns and manages.


paws.machine.learning documentation built on Sept. 12, 2023, 1:14 a.m.