Class: Aws::Rekognition::Types::CopyProjectVersionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destination_project_arnString

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

Returns:

  • (String)


808
809
810
811
812
813
814
815
816
817
818
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 808

class CopyProjectVersionRequest < Struct.new(
  :source_project_arn,
  :source_project_version_arn,
  :destination_project_arn,
  :version_name,
  :output_config,
  :tags,
  :kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_idString

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.

Returns:

  • (String)


808
809
810
811
812
813
814
815
816
817
818
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 808

class CopyProjectVersionRequest < Struct.new(
  :source_project_arn,
  :source_project_version_arn,
  :destination_project_arn,
  :version_name,
  :output_config,
  :tags,
  :kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#output_configTypes::OutputConfig

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

Returns:



808
809
810
811
812
813
814
815
816
817
818
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 808

class CopyProjectVersionRequest < Struct.new(
  :source_project_arn,
  :source_project_version_arn,
  :destination_project_arn,
  :version_name,
  :output_config,
  :tags,
  :kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#source_project_arnString

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

Returns:

  • (String)


808
809
810
811
812
813
814
815
816
817
818
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 808

class CopyProjectVersionRequest < Struct.new(
  :source_project_arn,
  :source_project_version_arn,
  :destination_project_arn,
  :version_name,
  :output_config,
  :tags,
  :kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#source_project_version_arnString

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

Returns:

  • (String)


808
809
810
811
812
813
814
815
816
817
818
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 808

class CopyProjectVersionRequest < Struct.new(
  :source_project_arn,
  :source_project_version_arn,
  :destination_project_arn,
  :version_name,
  :output_config,
  :tags,
  :kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

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

Returns:

  • (Hash<String,String>)


808
809
810
811
812
813
814
815
816
817
818
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 808

class CopyProjectVersionRequest < Struct.new(
  :source_project_arn,
  :source_project_version_arn,
  :destination_project_arn,
  :version_name,
  :output_config,
  :tags,
  :kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#version_nameString

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

Returns:

  • (String)


808
809
810
811
812
813
814
815
816
817
818
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 808

class CopyProjectVersionRequest < Struct.new(
  :source_project_arn,
  :source_project_version_arn,
  :destination_project_arn,
  :version_name,
  :output_config,
  :tags,
  :kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end