1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeKeyRegistration`](crate::operation::describe_key_registration::builders::DescribeKeyRegistrationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::describe_key_registration::builders::DescribeKeyRegistrationFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::describe_key_registration::builders::DescribeKeyRegistrationFluentBuilder::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 describe.</p><br>
    ///   - [`default_key_only(bool)`](crate::operation::describe_key_registration::builders::DescribeKeyRegistrationFluentBuilder::default_key_only) / [`set_default_key_only(Option<bool>)`](crate::operation::describe_key_registration::builders::DescribeKeyRegistrationFluentBuilder::set_default_key_only):<br>required: **false**<br><p>Determines whether the request returns the default key only.</p><br>
    /// - On success, responds with [`DescribeKeyRegistrationOutput`](crate::operation::describe_key_registration::DescribeKeyRegistrationOutput) with field(s):
    ///   - [`aws_account_id(Option<String>)`](crate::operation::describe_key_registration::DescribeKeyRegistrationOutput::aws_account_id): <p>The ID of the Amazon Web Services account that contains the customer managed key registration specified in the request.</p>
    ///   - [`key_registration(Option<Vec::<RegisteredCustomerManagedKey>>)`](crate::operation::describe_key_registration::DescribeKeyRegistrationOutput::key_registration): <p>A list of <code>RegisteredCustomerManagedKey</code> objects in a Amazon QuickSight account.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::describe_key_registration::DescribeKeyRegistrationOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    ///   - [`status(i32)`](crate::operation::describe_key_registration::DescribeKeyRegistrationOutput::status): <p>The HTTP status of the request.</p>
    /// - On failure, responds with [`SdkError<DescribeKeyRegistrationError>`](crate::operation::describe_key_registration::DescribeKeyRegistrationError)
    pub fn describe_key_registration(&self) -> crate::operation::describe_key_registration::builders::DescribeKeyRegistrationFluentBuilder {
        crate::operation::describe_key_registration::builders::DescribeKeyRegistrationFluentBuilder::new(self.handle.clone())
    }
}