1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateKeyRegistration`](crate::operation::update_key_registration::builders::UpdateKeyRegistrationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::update_key_registration::builders::UpdateKeyRegistrationFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::update_key_registration::builders::UpdateKeyRegistrationFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the customer managed key registration that you want to update.</p><br>
    ///   - [`key_registration(RegisteredCustomerManagedKey)`](crate::operation::update_key_registration::builders::UpdateKeyRegistrationFluentBuilder::key_registration) / [`set_key_registration(Option<Vec::<RegisteredCustomerManagedKey>>)`](crate::operation::update_key_registration::builders::UpdateKeyRegistrationFluentBuilder::set_key_registration):<br>required: **true**<br><p>A list of <code>RegisteredCustomerManagedKey</code> objects to be updated to the Amazon QuickSight account.</p><br>
    /// - On success, responds with [`UpdateKeyRegistrationOutput`](crate::operation::update_key_registration::UpdateKeyRegistrationOutput) with field(s):
    ///   - [`failed_key_registration(Option<Vec::<FailedKeyRegistrationEntry>>)`](crate::operation::update_key_registration::UpdateKeyRegistrationOutput::failed_key_registration): <p>A list of all customer managed key registrations that failed to update.</p>
    ///   - [`successful_key_registration(Option<Vec::<SuccessfulKeyRegistrationEntry>>)`](crate::operation::update_key_registration::UpdateKeyRegistrationOutput::successful_key_registration): <p>A list of all customer managed key registrations that were successfully updated.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::update_key_registration::UpdateKeyRegistrationOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    /// - On failure, responds with [`SdkError<UpdateKeyRegistrationError>`](crate::operation::update_key_registration::UpdateKeyRegistrationError)
    pub fn update_key_registration(&self) -> crate::operation::update_key_registration::builders::UpdateKeyRegistrationFluentBuilder {
        crate::operation::update_key_registration::builders::UpdateKeyRegistrationFluentBuilder::new(self.handle.clone())
    }
}