Struct aws_sdk_forecast::model::EncryptionConfig
source · #[non_exhaustive]pub struct EncryptionConfig { /* private fields */ }Expand description
An AWS Key Management Service (KMS) key and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key. You can specify this optional object in the CreateDataset and CreatePredictor requests.
Implementations§
source§impl EncryptionConfig
impl EncryptionConfig
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The ARN of the IAM role that Amazon Forecast can assume to access the AWS KMS key.
Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your account, you get an InvalidInputException error.
sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the KMS key.
source§impl EncryptionConfig
impl EncryptionConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EncryptionConfig.
Trait Implementations§
source§impl Clone for EncryptionConfig
impl Clone for EncryptionConfig
source§fn clone(&self) -> EncryptionConfig
fn clone(&self) -> EncryptionConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for EncryptionConfig
impl Debug for EncryptionConfig
source§impl PartialEq<EncryptionConfig> for EncryptionConfig
impl PartialEq<EncryptionConfig> for EncryptionConfig
source§fn eq(&self, other: &EncryptionConfig) -> bool
fn eq(&self, other: &EncryptionConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.