#[non_exhaustive]pub struct GetKeyRotationStatusOutput {
pub key_rotation_enabled: bool,
pub key_id: Option<String>,
pub rotation_period_in_days: Option<i32>,
pub next_rotation_date: Option<DateTime>,
pub on_demand_rotation_start_date: Option<DateTime>,
/* 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_rotation_enabled: bool
A Boolean value that specifies whether key rotation is enabled.
key_id: Option<String>
Identifies the specified symmetric encryption KMS key.
rotation_period_in_days: Option<i32>
The number of days between each automatic rotation. The default value is 365 days.
next_rotation_date: Option<DateTime>
The next date that KMS will automatically rotate the key material.
on_demand_rotation_start_date: Option<DateTime>
Identifies the date and time that an in progress on-demand rotation was initiated.
The KMS API follows an eventual consistency model due to the distributed nature of the system. As a result, there might be a slight delay between initiating on-demand key rotation and the rotation's completion. Once the on-demand rotation is complete, use ListKeyRotations
to view the details of the on-demand rotation.
Implementations§
Source§impl GetKeyRotationStatusOutput
impl GetKeyRotationStatusOutput
Sourcepub fn key_rotation_enabled(&self) -> bool
pub fn key_rotation_enabled(&self) -> bool
A Boolean value that specifies whether key rotation is enabled.
Sourcepub fn rotation_period_in_days(&self) -> Option<i32>
pub fn rotation_period_in_days(&self) -> Option<i32>
The number of days between each automatic rotation. The default value is 365 days.
Sourcepub fn next_rotation_date(&self) -> Option<&DateTime>
pub fn next_rotation_date(&self) -> Option<&DateTime>
The next date that KMS will automatically rotate the key material.
Sourcepub fn on_demand_rotation_start_date(&self) -> Option<&DateTime>
pub fn on_demand_rotation_start_date(&self) -> Option<&DateTime>
Identifies the date and time that an in progress on-demand rotation was initiated.
The KMS API follows an eventual consistency model due to the distributed nature of the system. As a result, there might be a slight delay between initiating on-demand key rotation and the rotation's completion. Once the on-demand rotation is complete, use ListKeyRotations
to view the details of the on-demand rotation.
Source§impl GetKeyRotationStatusOutput
impl GetKeyRotationStatusOutput
Sourcepub fn builder() -> GetKeyRotationStatusOutputBuilder
pub fn builder() -> GetKeyRotationStatusOutputBuilder
Creates a new builder-style object to manufacture GetKeyRotationStatusOutput
.
Trait Implementations§
Source§impl Clone for GetKeyRotationStatusOutput
impl Clone for GetKeyRotationStatusOutput
Source§fn clone(&self) -> GetKeyRotationStatusOutput
fn clone(&self) -> GetKeyRotationStatusOutput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GetKeyRotationStatusOutput
impl Debug for GetKeyRotationStatusOutput
Source§impl RequestId for GetKeyRotationStatusOutput
impl RequestId for GetKeyRotationStatusOutput
Source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetKeyRotationStatusOutput
Auto Trait Implementations§
impl Freeze for GetKeyRotationStatusOutput
impl RefUnwindSafe for GetKeyRotationStatusOutput
impl Send for GetKeyRotationStatusOutput
impl Sync for GetKeyRotationStatusOutput
impl Unpin for GetKeyRotationStatusOutput
impl UnwindSafe for GetKeyRotationStatusOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more