#[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<UpdateDatabaseInput> for UpdateDatabaseInput
impl PartialEq<UpdateDatabaseInput> for UpdateDatabaseInput
source§fn eq(&self, other: &UpdateDatabaseInput) -> bool
fn eq(&self, other: &UpdateDatabaseInput) -> bool
self
and other
values to be equal, and is used
by ==
.