// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateRepositoryEncryptionKey`](crate::operation::update_repository_encryption_key::builders::UpdateRepositoryEncryptionKeyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`repository_name(impl Into<String>)`](crate::operation::update_repository_encryption_key::builders::UpdateRepositoryEncryptionKeyFluentBuilder::repository_name) / [`set_repository_name(Option<String>)`](crate::operation::update_repository_encryption_key::builders::UpdateRepositoryEncryptionKeyFluentBuilder::set_repository_name):<br>required: **true**<br><p>The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository.</p><br>
/// - [`kms_key_id(impl Into<String>)`](crate::operation::update_repository_encryption_key::builders::UpdateRepositoryEncryptionKeyFluentBuilder::kms_key_id) / [`set_kms_key_id(Option<String>)`](crate::operation::update_repository_encryption_key::builders::UpdateRepositoryEncryptionKeyFluentBuilder::set_kms_key_id):<br>required: **true**<br><p>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 <a href="https://docs.aws.amazon.com/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId">KeyId</a> in the Decrypt API description in the <i>Key Management Service API Reference</i>.</p><br>
/// - On success, responds with [`UpdateRepositoryEncryptionKeyOutput`](crate::operation::update_repository_encryption_key::UpdateRepositoryEncryptionKeyOutput) with field(s):
/// - [`repository_id(Option<String>)`](crate::operation::update_repository_encryption_key::UpdateRepositoryEncryptionKeyOutput::repository_id): <p>The ID of the repository.</p>
/// - [`kms_key_id(Option<String>)`](crate::operation::update_repository_encryption_key::UpdateRepositoryEncryptionKeyOutput::kms_key_id): <p>The ID of the encryption key.</p>
/// - [`original_kms_key_id(Option<String>)`](crate::operation::update_repository_encryption_key::UpdateRepositoryEncryptionKeyOutput::original_kms_key_id): <p>The ID of the encryption key formerly used to encrypt and decrypt the repository.</p>
/// - On failure, responds with [`SdkError<UpdateRepositoryEncryptionKeyError>`](crate::operation::update_repository_encryption_key::UpdateRepositoryEncryptionKeyError)
pub fn update_repository_encryption_key(
&self,
) -> crate::operation::update_repository_encryption_key::builders::UpdateRepositoryEncryptionKeyFluentBuilder {
crate::operation::update_repository_encryption_key::builders::UpdateRepositoryEncryptionKeyFluentBuilder::new(self.handle.clone())
}
}