#[non_exhaustive]pub struct CancelKeyDeletionInput {
pub key_id: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.key_id: Option<String>
Identifies the KMS key whose deletion is being canceled.
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 CancelKeyDeletionInput
impl CancelKeyDeletionInput
sourcepub fn key_id(&self) -> Option<&str>
pub fn key_id(&self) -> Option<&str>
Identifies the KMS key whose deletion is being canceled.
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 CancelKeyDeletionInput
impl CancelKeyDeletionInput
sourcepub fn builder() -> CancelKeyDeletionInputBuilder
pub fn builder() -> CancelKeyDeletionInputBuilder
Creates a new builder-style object to manufacture CancelKeyDeletionInput
.
Trait Implementations§
source§impl Clone for CancelKeyDeletionInput
impl Clone for CancelKeyDeletionInput
source§fn clone(&self) -> CancelKeyDeletionInput
fn clone(&self) -> CancelKeyDeletionInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CancelKeyDeletionInput
impl Debug for CancelKeyDeletionInput
source§impl PartialEq for CancelKeyDeletionInput
impl PartialEq for CancelKeyDeletionInput
source§fn eq(&self, other: &CancelKeyDeletionInput) -> bool
fn eq(&self, other: &CancelKeyDeletionInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CancelKeyDeletionInput
Auto Trait Implementations§
impl Freeze for CancelKeyDeletionInput
impl RefUnwindSafe for CancelKeyDeletionInput
impl Send for CancelKeyDeletionInput
impl Sync for CancelKeyDeletionInput
impl Unpin for CancelKeyDeletionInput
impl UnwindSafe for CancelKeyDeletionInput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.