#[non_exhaustive]pub struct ScheduleKeyDeletionOutput {
pub key_id: Option<String>,
pub deletion_date: Option<DateTime>,
pub key_state: Option<KeyState>,
pub pending_window_in_days: Option<i32>,
/* private fields */
}
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.key_id: Option<String>
The Amazon Resource Name (key ARN) of the KMS key whose deletion is scheduled.
deletion_date: Option<DateTime>
The date and time after which KMS deletes the KMS key.
If the KMS key is a multi-Region primary key with replica keys, this field does not appear. The deletion date for the primary key isn't known until its last replica key is deleted.
key_state: Option<KeyState>
The current status of the KMS key.
For more information about how key state affects the use of a KMS key, see Key states of KMS keys in the Key Management Service Developer Guide.
pending_window_in_days: Option<i32>
The waiting period before the KMS key is deleted.
If the KMS key is a multi-Region primary key with replicas, the waiting period begins when the last of its replica keys is deleted. Otherwise, the waiting period begins immediately.
Implementations§
source§impl ScheduleKeyDeletionOutput
impl ScheduleKeyDeletionOutput
sourcepub fn key_id(&self) -> Option<&str>
pub fn key_id(&self) -> Option<&str>
The Amazon Resource Name (key ARN) of the KMS key whose deletion is scheduled.
sourcepub fn deletion_date(&self) -> Option<&DateTime>
pub fn deletion_date(&self) -> Option<&DateTime>
The date and time after which KMS deletes the KMS key.
If the KMS key is a multi-Region primary key with replica keys, this field does not appear. The deletion date for the primary key isn't known until its last replica key is deleted.
sourcepub fn key_state(&self) -> Option<&KeyState>
pub fn key_state(&self) -> Option<&KeyState>
The current status of the KMS key.
For more information about how key state affects the use of a KMS key, see Key states of KMS keys in the Key Management Service Developer Guide.
sourcepub fn pending_window_in_days(&self) -> Option<i32>
pub fn pending_window_in_days(&self) -> Option<i32>
The waiting period before the KMS key is deleted.
If the KMS key is a multi-Region primary key with replicas, the waiting period begins when the last of its replica keys is deleted. Otherwise, the waiting period begins immediately.
source§impl ScheduleKeyDeletionOutput
impl ScheduleKeyDeletionOutput
sourcepub fn builder() -> ScheduleKeyDeletionOutputBuilder
pub fn builder() -> ScheduleKeyDeletionOutputBuilder
Creates a new builder-style object to manufacture ScheduleKeyDeletionOutput
.
Trait Implementations§
source§impl Clone for ScheduleKeyDeletionOutput
impl Clone for ScheduleKeyDeletionOutput
source§fn clone(&self) -> ScheduleKeyDeletionOutput
fn clone(&self) -> ScheduleKeyDeletionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ScheduleKeyDeletionOutput
impl Debug for ScheduleKeyDeletionOutput
source§impl PartialEq for ScheduleKeyDeletionOutput
impl PartialEq for ScheduleKeyDeletionOutput
source§fn eq(&self, other: &ScheduleKeyDeletionOutput) -> bool
fn eq(&self, other: &ScheduleKeyDeletionOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ScheduleKeyDeletionOutput
impl RequestId for ScheduleKeyDeletionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.