#[non_exhaustive]pub struct UpdateKeyDescriptionInput {
pub key_id: Option<String>,
pub description: 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>
Updates the description of the specified KMS key.
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
.
description: Option<String>
New description for the KMS key.
Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
Implementations§
source§impl UpdateKeyDescriptionInput
impl UpdateKeyDescriptionInput
sourcepub fn key_id(&self) -> Option<&str>
pub fn key_id(&self) -> Option<&str>
Updates the description of the specified KMS key.
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
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
New description for the KMS key.
Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
source§impl UpdateKeyDescriptionInput
impl UpdateKeyDescriptionInput
sourcepub fn builder() -> UpdateKeyDescriptionInputBuilder
pub fn builder() -> UpdateKeyDescriptionInputBuilder
Creates a new builder-style object to manufacture UpdateKeyDescriptionInput
.
Trait Implementations§
source§impl Clone for UpdateKeyDescriptionInput
impl Clone for UpdateKeyDescriptionInput
source§fn clone(&self) -> UpdateKeyDescriptionInput
fn clone(&self) -> UpdateKeyDescriptionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateKeyDescriptionInput
impl Debug for UpdateKeyDescriptionInput
source§impl PartialEq for UpdateKeyDescriptionInput
impl PartialEq for UpdateKeyDescriptionInput
source§fn eq(&self, other: &UpdateKeyDescriptionInput) -> bool
fn eq(&self, other: &UpdateKeyDescriptionInput) -> bool
self
and other
values to be equal, and is used
by ==
.