#[non_exhaustive]pub struct UpdateDataSecurityConfig {
pub model_kms_key_id: Option<String>,
pub volume_kms_key_id: Option<String>,
pub vpc_config: Option<VpcConfig>,
}
Expand description
Data security configuration.
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.model_kms_key_id: Option<String>
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:
-
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab"
-
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
volume_kms_key_id: Option<String>
ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
vpc_config: Option<VpcConfig>
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. For more information, see Amazon VPC.
Implementations§
source§impl UpdateDataSecurityConfig
impl UpdateDataSecurityConfig
sourcepub fn model_kms_key_id(&self) -> Option<&str>
pub fn model_kms_key_id(&self) -> Option<&str>
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:
-
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab"
-
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
sourcepub fn volume_kms_key_id(&self) -> Option<&str>
pub fn volume_kms_key_id(&self) -> Option<&str>
ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
sourcepub fn vpc_config(&self) -> Option<&VpcConfig>
pub fn vpc_config(&self) -> Option<&VpcConfig>
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. For more information, see Amazon VPC.
source§impl UpdateDataSecurityConfig
impl UpdateDataSecurityConfig
sourcepub fn builder() -> UpdateDataSecurityConfigBuilder
pub fn builder() -> UpdateDataSecurityConfigBuilder
Creates a new builder-style object to manufacture UpdateDataSecurityConfig
.
Trait Implementations§
source§impl Clone for UpdateDataSecurityConfig
impl Clone for UpdateDataSecurityConfig
source§fn clone(&self) -> UpdateDataSecurityConfig
fn clone(&self) -> UpdateDataSecurityConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateDataSecurityConfig
impl Debug for UpdateDataSecurityConfig
source§impl PartialEq for UpdateDataSecurityConfig
impl PartialEq for UpdateDataSecurityConfig
source§fn eq(&self, other: &UpdateDataSecurityConfig) -> bool
fn eq(&self, other: &UpdateDataSecurityConfig) -> bool
self
and other
values to be equal, and is used
by ==
.