Struct aws_sdk_iotfleetwise::operation::put_encryption_configuration::PutEncryptionConfigurationOutput
source · #[non_exhaustive]pub struct PutEncryptionConfigurationOutput {
pub kms_key_id: Option<String>,
pub encryption_status: EncryptionStatus,
pub encryption_type: EncryptionType,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.kms_key_id: Option<String>
The ID of the KMS key that is used for encryption.
encryption_status: EncryptionStatus
The encryption status.
encryption_type: EncryptionType
The type of encryption. Set to KMS_BASED_ENCRYPTION
to use an KMS key that you own and manage. Set to FLEETWISE_DEFAULT_ENCRYPTION
to use an Amazon Web Services managed key that is owned by the Amazon Web Services IoT FleetWise service account.
Implementations§
source§impl PutEncryptionConfigurationOutput
impl PutEncryptionConfigurationOutput
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The ID of the KMS key that is used for encryption.
sourcepub fn encryption_status(&self) -> &EncryptionStatus
pub fn encryption_status(&self) -> &EncryptionStatus
The encryption status.
sourcepub fn encryption_type(&self) -> &EncryptionType
pub fn encryption_type(&self) -> &EncryptionType
The type of encryption. Set to KMS_BASED_ENCRYPTION
to use an KMS key that you own and manage. Set to FLEETWISE_DEFAULT_ENCRYPTION
to use an Amazon Web Services managed key that is owned by the Amazon Web Services IoT FleetWise service account.
source§impl PutEncryptionConfigurationOutput
impl PutEncryptionConfigurationOutput
sourcepub fn builder() -> PutEncryptionConfigurationOutputBuilder
pub fn builder() -> PutEncryptionConfigurationOutputBuilder
Creates a new builder-style object to manufacture PutEncryptionConfigurationOutput
.
Trait Implementations§
source§impl Clone for PutEncryptionConfigurationOutput
impl Clone for PutEncryptionConfigurationOutput
source§fn clone(&self) -> PutEncryptionConfigurationOutput
fn clone(&self) -> PutEncryptionConfigurationOutput
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 PartialEq for PutEncryptionConfigurationOutput
impl PartialEq for PutEncryptionConfigurationOutput
source§fn eq(&self, other: &PutEncryptionConfigurationOutput) -> bool
fn eq(&self, other: &PutEncryptionConfigurationOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for PutEncryptionConfigurationOutput
impl RequestId for PutEncryptionConfigurationOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for PutEncryptionConfigurationOutput
Auto Trait Implementations§
impl RefUnwindSafe for PutEncryptionConfigurationOutput
impl Send for PutEncryptionConfigurationOutput
impl Sync for PutEncryptionConfigurationOutput
impl Unpin for PutEncryptionConfigurationOutput
impl UnwindSafe for PutEncryptionConfigurationOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.