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 [`DescribeAccountSubscription`](crate::operation::describe_account_subscription::builders::DescribeAccountSubscriptionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::describe_account_subscription::builders::DescribeAccountSubscriptionFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::describe_account_subscription::builders::DescribeAccountSubscriptionFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The Amazon Web Services account ID associated with your Amazon QuickSight account.</p><br>
    /// - On success, responds with [`DescribeAccountSubscriptionOutput`](crate::operation::describe_account_subscription::DescribeAccountSubscriptionOutput) with field(s):
    ///   - [`account_info(Option<AccountInfo>)`](crate::operation::describe_account_subscription::DescribeAccountSubscriptionOutput::account_info): <p>A structure that contains the following elements:</p> <ul>  <li>   <p>Your Amazon QuickSight account name.</p></li>  <li>   <p>The edition of Amazon QuickSight that your account is using.</p></li>  <li>   <p>The notification email address that is associated with the Amazon QuickSight account.</p></li>  <li>   <p>The authentication type of the Amazon QuickSight account.</p></li>  <li>   <p>The status of the Amazon QuickSight account's subscription.</p></li> </ul>
    ///   - [`status(i32)`](crate::operation::describe_account_subscription::DescribeAccountSubscriptionOutput::status): <p>The HTTP status of the request.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::describe_account_subscription::DescribeAccountSubscriptionOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    /// - On failure, responds with [`SdkError<DescribeAccountSubscriptionError>`](crate::operation::describe_account_subscription::DescribeAccountSubscriptionError)
    pub fn describe_account_subscription(
        &self,
    ) -> crate::operation::describe_account_subscription::builders::DescribeAccountSubscriptionFluentBuilder {
        crate::operation::describe_account_subscription::builders::DescribeAccountSubscriptionFluentBuilder::new(self.handle.clone())
    }
}