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
sourceimpl 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.
sourceimpl EncryptionConfig
impl EncryptionConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EncryptionConfig.
Trait Implementations
sourceimpl Clone for EncryptionConfig
impl Clone for EncryptionConfig
sourcefn clone(&self) -> EncryptionConfig
fn clone(&self) -> EncryptionConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for EncryptionConfig
impl Debug for EncryptionConfig
sourceimpl PartialEq<EncryptionConfig> for EncryptionConfig
impl PartialEq<EncryptionConfig> for EncryptionConfig
sourcefn eq(&self, other: &EncryptionConfig) -> bool
fn eq(&self, other: &EncryptionConfig) -> bool
impl StructuralPartialEq for EncryptionConfig
Auto Trait Implementations
impl RefUnwindSafe for EncryptionConfig
impl Send for EncryptionConfig
impl Sync for EncryptionConfig
impl Unpin for EncryptionConfig
impl UnwindSafe for EncryptionConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more