aws_sdk_quicksight/client/
describe_account_subscription.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 [`DescribeAccountSubscription`](crate::operation::describe_account_subscription::builders::DescribeAccountSubscriptionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    /// - On success, responds with [`DescribeAccountSubscriptionOutput`](crate::operation::describe_account_subscription::DescribeAccountSubscriptionOutput) with field(s):
8    ///   - [`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>
9    ///   - [`status(i32)`](crate::operation::describe_account_subscription::DescribeAccountSubscriptionOutput::status): <p>The HTTP status of the request.</p>
10    ///   - [`request_id(Option<String>)`](crate::operation::describe_account_subscription::DescribeAccountSubscriptionOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
11    /// - On failure, responds with [`SdkError<DescribeAccountSubscriptionError>`](crate::operation::describe_account_subscription::DescribeAccountSubscriptionError)
12    pub fn describe_account_subscription(
13        &self,
14    ) -> crate::operation::describe_account_subscription::builders::DescribeAccountSubscriptionFluentBuilder {
15        crate::operation::describe_account_subscription::builders::DescribeAccountSubscriptionFluentBuilder::new(self.handle.clone())
16    }
17}