Skip to content

CopyProjectVersionRequest

Source code in docs_src/capo_rekognition/types/copy_project_version_request.py
class CopyProjectVersionRequest(TypedDict, closed=True):
    source_project_arn: "capo_rekognition.types.project_arn.ProjectArn"
    """<p>The ARN of the source project in the trusting AWS account.</p>"""
    source_project_version_arn: (
        "capo_rekognition.types.project_version_arn.ProjectVersionArn"
    )
    """<p>The ARN of the model version in the source project that you want to copy to a destination project.</p>"""
    destination_project_arn: "capo_rekognition.types.project_arn.ProjectArn"
    """<p>The ARN of the project in the trusted AWS account that you want to copy the model version to. </p>"""
    version_name: "capo_rekognition.types.version_name.VersionName"
    """<p>A name for the version of the model that's copied to the destination project.</p>"""
    output_config: "capo_rekognition.types.output_config.OutputConfig"
    """<p>The S3 bucket and folder location where the training output for the source model version is placed.</p>"""
    tags: NotRequired["capo_rekognition.types.tag_map.TagMap"]
    """<p>The key-value tags to assign to the model version. </p>"""
    kms_key_id: NotRequired["capo_rekognition.types.kms_key_id.KmsKeyId"]
    """<p>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 (<code>OutputConfig</code>).</p> <p>If you choose to use your own KMS key, you need the following permissions on the KMS key.</p> <ul> <li> <p>kms:CreateGrant</p> </li> <li> <p>kms:DescribeKey</p> </li> <li> <p>kms:GenerateDataKey</p> </li> <li> <p>kms:Decrypt</p> </li> </ul> <p>If you don't specify a value for <code>KmsKeyId</code>, images copied into the service are encrypted using a key that AWS owns and manages.</p>"""

destination_project_arn instance-attribute

destination_project_arn: ProjectArn

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

kms_key_id instance-attribute

kms_key_id: NotRequired[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.

output_config instance-attribute

output_config: OutputConfig

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

source_project_arn instance-attribute

source_project_arn: ProjectArn

The ARN of the source project in the trusting AWS account.

source_project_version_arn instance-attribute

source_project_version_arn: ProjectVersionArn

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

tags instance-attribute

tags: NotRequired[TagMap]

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

version_name instance-attribute

version_name: VersionName

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