Struct aws_sdk_kms::operation::disable_key::DisableKeyInput
source · #[non_exhaustive]pub struct DisableKeyInput {
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 to disable.
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 DisableKeyInput
impl DisableKeyInput
sourcepub fn key_id(&self) -> Option<&str>
pub fn key_id(&self) -> Option<&str>
Identifies the KMS key to disable.
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 DisableKeyInput
impl DisableKeyInput
sourcepub fn builder() -> DisableKeyInputBuilder
pub fn builder() -> DisableKeyInputBuilder
Creates a new builder-style object to manufacture DisableKeyInput
.
Trait Implementations§
source§impl Clone for DisableKeyInput
impl Clone for DisableKeyInput
source§fn clone(&self) -> DisableKeyInput
fn clone(&self) -> DisableKeyInput
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 DisableKeyInput
impl Debug for DisableKeyInput
source§impl PartialEq for DisableKeyInput
impl PartialEq for DisableKeyInput
source§fn eq(&self, other: &DisableKeyInput) -> bool
fn eq(&self, other: &DisableKeyInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DisableKeyInput
Auto Trait Implementations§
impl Freeze for DisableKeyInput
impl RefUnwindSafe for DisableKeyInput
impl Send for DisableKeyInput
impl Sync for DisableKeyInput
impl Unpin for DisableKeyInput
impl UnwindSafe for DisableKeyInput
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.