QuickSight / Client / describe_account_subscription

describe_account_subscription

QuickSight.Client.describe_account_subscription(**kwargs)

Use the DescribeAccountSubscription operation to receive a description of an QuickSight account’s subscription. A successful API call returns an AccountInfo object that includes an account’s name, subscription status, authentication type, edition, and notification email address.

See also: AWS API Documentation

Request Syntax

response = client.describe_account_subscription(
    AwsAccountId='string'
)
Parameters:

AwsAccountId (string) –

[REQUIRED]

The Amazon Web Services account ID associated with your QuickSight account.

Return type:

dict

Returns:

Response Syntax

{
    'AccountInfo': {
        'AccountName': 'string',
        'Edition': 'STANDARD'|'ENTERPRISE'|'ENTERPRISE_AND_Q',
        'NotificationEmail': 'string',
        'AuthenticationType': 'string',
        'AccountSubscriptionStatus': 'string',
        'IAMIdentityCenterInstanceArn': 'string'
    },
    'Status': 123,
    'RequestId': 'string'
}

Response Structure

  • (dict) –

    • AccountInfo (dict) –

      A structure that contains the following elements:

      • Your QuickSight account name.

      • The edition of QuickSight that your account is using.

      • The notification email address that is associated with the QuickSight account.

      • The authentication type of the QuickSight account.

      • The status of the QuickSight account’s subscription.

      • AccountName (string) –

        The account name that you provided for the QuickSight subscription in your Amazon Web Services account. You create this name when you sign up for QuickSight. It’s unique over all of Amazon Web Services, and it appears only when users sign in.

      • Edition (string) –

        The edition of your QuickSight account.

      • NotificationEmail (string) –

        The email address that will be used for QuickSight to send notifications regarding your Amazon Web Services account or QuickSight subscription.

      • AuthenticationType (string) –

        The way that your QuickSight account is authenticated.

      • AccountSubscriptionStatus (string) –

        The status of your account subscription.

      • IAMIdentityCenterInstanceArn (string) –

        The Amazon Resource Name (ARN) for the IAM Identity Center instance.

    • Status (integer) –

      The HTTP status of the request.

    • RequestId (string) –

      The Amazon Web Services request ID for this operation.

Exceptions

  • QuickSight.Client.exceptions.AccessDeniedException

  • QuickSight.Client.exceptions.InvalidParameterValueException

  • QuickSight.Client.exceptions.ResourceNotFoundException

  • QuickSight.Client.exceptions.ThrottlingException

  • QuickSight.Client.exceptions.InternalFailureException

  • QuickSight.Client.exceptions.ResourceUnavailableException