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