aws_sdk_quicksight/client/describe_key_registration.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DescribeKeyRegistration`](crate::operation::describe_key_registration::builders::DescribeKeyRegistrationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`DescribeKeyRegistrationOutput`](crate::operation::describe_key_registration::DescribeKeyRegistrationOutput) with field(s):
9 /// - [`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>
10 /// - [`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>
11 /// - [`request_id(Option<String>)`](crate::operation::describe_key_registration::DescribeKeyRegistrationOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
12 /// - [`status(i32)`](crate::operation::describe_key_registration::DescribeKeyRegistrationOutput::status): <p>The HTTP status of the request.</p>
13 /// - On failure, responds with [`SdkError<DescribeKeyRegistrationError>`](crate::operation::describe_key_registration::DescribeKeyRegistrationError)
14 pub fn describe_key_registration(&self) -> crate::operation::describe_key_registration::builders::DescribeKeyRegistrationFluentBuilder {
15 crate::operation::describe_key_registration::builders::DescribeKeyRegistrationFluentBuilder::new(self.handle.clone())
16 }
17}