#[non_exhaustive]pub struct GetKeyRotationStatusInput {
pub key_id: Option<String>,
}
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>
Gets the rotation status for the specified KMS key.
Specify the key ID or key ARN of the KMS key. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN.
For example:
-
Key ID:
1234abcd-12ab-34cd-56ef-1234567890ab
-
Key ARN:
arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys
or DescribeKey
.
Implementations§
source§impl GetKeyRotationStatusInput
impl GetKeyRotationStatusInput
sourcepub fn key_id(&self) -> Option<&str>
pub fn key_id(&self) -> Option<&str>
Gets the rotation status for the specified KMS key.
Specify the key ID or key ARN of the KMS key. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN.
For example:
-
Key ID:
1234abcd-12ab-34cd-56ef-1234567890ab
-
Key ARN:
arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys
or DescribeKey
.
source§impl GetKeyRotationStatusInput
impl GetKeyRotationStatusInput
sourcepub fn builder() -> GetKeyRotationStatusInputBuilder
pub fn builder() -> GetKeyRotationStatusInputBuilder
Creates a new builder-style object to manufacture GetKeyRotationStatusInput
.
Trait Implementations§
source§impl Clone for GetKeyRotationStatusInput
impl Clone for GetKeyRotationStatusInput
source§fn clone(&self) -> GetKeyRotationStatusInput
fn clone(&self) -> GetKeyRotationStatusInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetKeyRotationStatusInput
impl Debug for GetKeyRotationStatusInput
source§impl PartialEq for GetKeyRotationStatusInput
impl PartialEq for GetKeyRotationStatusInput
source§fn eq(&self, other: &GetKeyRotationStatusInput) -> bool
fn eq(&self, other: &GetKeyRotationStatusInput) -> bool
self
and other
values to be equal, and is used
by ==
.