#[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
impl StructuralPartialEq for UpdateKeyDescriptionInput
Auto Trait Implementations§
impl Freeze for UpdateKeyDescriptionInput
impl RefUnwindSafe for UpdateKeyDescriptionInput
impl Send for UpdateKeyDescriptionInput
impl Sync for UpdateKeyDescriptionInput
impl Unpin for UpdateKeyDescriptionInput
impl UnwindSafe for UpdateKeyDescriptionInput
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