#[non_exhaustive]pub struct UpdateDatabaseInput {
pub database_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.database_name: Option<String>The name of the database.
kms_key_id: Option<String>The identifier of the new KMS key (KmsKeyId) to be used to encrypt the data stored in the database. If the KmsKeyId currently registered with the database is the same as the KmsKeyId in the request, there will not be any update.
You can specify the KmsKeyId using any of the following:
-
Key ID:
1234abcd-12ab-34cd-56ef-1234567890ab -
Key ARN:
arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab -
Alias name:
alias/ExampleAlias -
Alias ARN:
arn:aws:kms:us-east-1:111122223333:alias/ExampleAlias
Implementations§
source§impl UpdateDatabaseInput
impl UpdateDatabaseInput
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the database.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The identifier of the new KMS key (KmsKeyId) to be used to encrypt the data stored in the database. If the KmsKeyId currently registered with the database is the same as the KmsKeyId in the request, there will not be any update.
You can specify the KmsKeyId using any of the following:
-
Key ID:
1234abcd-12ab-34cd-56ef-1234567890ab -
Key ARN:
arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab -
Alias name:
alias/ExampleAlias -
Alias ARN:
arn:aws:kms:us-east-1:111122223333:alias/ExampleAlias
source§impl UpdateDatabaseInput
impl UpdateDatabaseInput
sourcepub fn builder() -> UpdateDatabaseInputBuilder
pub fn builder() -> UpdateDatabaseInputBuilder
Creates a new builder-style object to manufacture UpdateDatabaseInput.
Trait Implementations§
source§impl Clone for UpdateDatabaseInput
impl Clone for UpdateDatabaseInput
source§fn clone(&self) -> UpdateDatabaseInput
fn clone(&self) -> UpdateDatabaseInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateDatabaseInput
impl Debug for UpdateDatabaseInput
source§impl PartialEq for UpdateDatabaseInput
impl PartialEq for UpdateDatabaseInput
impl StructuralPartialEq for UpdateDatabaseInput
Auto Trait Implementations§
impl Freeze for UpdateDatabaseInput
impl RefUnwindSafe for UpdateDatabaseInput
impl Send for UpdateDatabaseInput
impl Sync for UpdateDatabaseInput
impl Unpin for UpdateDatabaseInput
impl UnwindSafe for UpdateDatabaseInput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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