#[non_exhaustive]pub struct DisableKeyRotationInput {
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>
Identifies a symmetric encryption KMS key. You cannot enable or disable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store.
Specify the key ID or key ARN of the KMS key.
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 DisableKeyRotationInput
impl DisableKeyRotationInput
sourcepub fn key_id(&self) -> Option<&str>
pub fn key_id(&self) -> Option<&str>
Identifies a symmetric encryption KMS key. You cannot enable or disable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store.
Specify the key ID or key ARN of the KMS key.
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 DisableKeyRotationInput
impl DisableKeyRotationInput
sourcepub fn builder() -> DisableKeyRotationInputBuilder
pub fn builder() -> DisableKeyRotationInputBuilder
Creates a new builder-style object to manufacture DisableKeyRotationInput
.
Trait Implementations§
source§impl Clone for DisableKeyRotationInput
impl Clone for DisableKeyRotationInput
source§fn clone(&self) -> DisableKeyRotationInput
fn clone(&self) -> DisableKeyRotationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DisableKeyRotationInput
impl Debug for DisableKeyRotationInput
source§impl PartialEq for DisableKeyRotationInput
impl PartialEq for DisableKeyRotationInput
source§fn eq(&self, other: &DisableKeyRotationInput) -> bool
fn eq(&self, other: &DisableKeyRotationInput) -> bool
self
and other
values to be equal, and is used
by ==
.