#[non_exhaustive]pub struct CopyProjectVersionInput {
pub source_project_arn: Option<String>,
pub source_project_version_arn: Option<String>,
pub destination_project_arn: Option<String>,
pub version_name: Option<String>,
pub output_config: Option<OutputConfig>,
pub tags: Option<HashMap<String, String>>,
pub kms_key_id: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.source_project_arn: Option<String>The ARN of the source project in the trusting AWS account.
source_project_version_arn: Option<String>The ARN of the model version in the source project that you want to copy to a destination project.
destination_project_arn: Option<String>The ARN of the project in the trusted AWS account that you want to copy the model version to.
version_name: Option<String>A name for the version of the model that's copied to the destination project.
output_config: Option<OutputConfig>The S3 bucket and folder location where the training output for the source model version is placed.
The key-value tags to assign to the model version.
kms_key_id: Option<String>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.
Implementations§
source§impl CopyProjectVersionInput
impl CopyProjectVersionInput
sourcepub fn source_project_arn(&self) -> Option<&str>
pub fn source_project_arn(&self) -> Option<&str>
The ARN of the source project in the trusting AWS account.
sourcepub fn source_project_version_arn(&self) -> Option<&str>
pub fn source_project_version_arn(&self) -> Option<&str>
The ARN of the model version in the source project that you want to copy to a destination project.
sourcepub fn destination_project_arn(&self) -> Option<&str>
pub fn destination_project_arn(&self) -> Option<&str>
The ARN of the project in the trusted AWS account that you want to copy the model version to.
sourcepub fn version_name(&self) -> Option<&str>
pub fn version_name(&self) -> Option<&str>
A name for the version of the model that's copied to the destination project.
sourcepub fn output_config(&self) -> Option<&OutputConfig>
pub fn output_config(&self) -> Option<&OutputConfig>
The S3 bucket and folder location where the training output for the source model version is placed.
The key-value tags to assign to the model version.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
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.
source§impl CopyProjectVersionInput
impl CopyProjectVersionInput
sourcepub fn builder() -> CopyProjectVersionInputBuilder
pub fn builder() -> CopyProjectVersionInputBuilder
Creates a new builder-style object to manufacture CopyProjectVersionInput.
Trait Implementations§
source§impl Clone for CopyProjectVersionInput
impl Clone for CopyProjectVersionInput
source§fn clone(&self) -> CopyProjectVersionInput
fn clone(&self) -> CopyProjectVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CopyProjectVersionInput
impl Debug for CopyProjectVersionInput
source§impl PartialEq for CopyProjectVersionInput
impl PartialEq for CopyProjectVersionInput
source§fn eq(&self, other: &CopyProjectVersionInput) -> bool
fn eq(&self, other: &CopyProjectVersionInput) -> bool
self and other values to be equal, and is used
by ==.