Struct aws_sdk_codecommit::operation::update_repository_encryption_key::UpdateRepositoryEncryptionKeyInput
source · #[non_exhaustive]pub struct UpdateRepositoryEncryptionKeyInput {
pub repository_name: Option<String>,
pub kms_key_id: 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.repository_name: Option<String>
The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository.
kms_key_id: Option<String>
The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more information about acceptable values for keyID, see KeyId in the Decrypt API description in the Key Management Service API Reference.
Implementations§
source§impl UpdateRepositoryEncryptionKeyInput
impl UpdateRepositoryEncryptionKeyInput
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more information about acceptable values for keyID, see KeyId in the Decrypt API description in the Key Management Service API Reference.
source§impl UpdateRepositoryEncryptionKeyInput
impl UpdateRepositoryEncryptionKeyInput
sourcepub fn builder() -> UpdateRepositoryEncryptionKeyInputBuilder
pub fn builder() -> UpdateRepositoryEncryptionKeyInputBuilder
Creates a new builder-style object to manufacture UpdateRepositoryEncryptionKeyInput
.
Trait Implementations§
source§impl Clone for UpdateRepositoryEncryptionKeyInput
impl Clone for UpdateRepositoryEncryptionKeyInput
source§fn clone(&self) -> UpdateRepositoryEncryptionKeyInput
fn clone(&self) -> UpdateRepositoryEncryptionKeyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateRepositoryEncryptionKeyInput
impl PartialEq for UpdateRepositoryEncryptionKeyInput
source§fn eq(&self, other: &UpdateRepositoryEncryptionKeyInput) -> bool
fn eq(&self, other: &UpdateRepositoryEncryptionKeyInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateRepositoryEncryptionKeyInput
Auto Trait Implementations§
impl Freeze for UpdateRepositoryEncryptionKeyInput
impl RefUnwindSafe for UpdateRepositoryEncryptionKeyInput
impl Send for UpdateRepositoryEncryptionKeyInput
impl Sync for UpdateRepositoryEncryptionKeyInput
impl Unpin for UpdateRepositoryEncryptionKeyInput
impl UnwindSafe for UpdateRepositoryEncryptionKeyInput
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> 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