Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Use the DescribeAccountSubscription operation to receive a description
of an Amazon 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.
Synopsis
- data DescribeAccountSubscription = DescribeAccountSubscription' {
- awsAccountId :: Text
- newDescribeAccountSubscription :: Text -> DescribeAccountSubscription
- describeAccountSubscription_awsAccountId :: Lens' DescribeAccountSubscription Text
- data DescribeAccountSubscriptionResponse = DescribeAccountSubscriptionResponse' {
- accountInfo :: Maybe AccountInfo
- requestId :: Maybe Text
- status :: Int
- newDescribeAccountSubscriptionResponse :: Int -> DescribeAccountSubscriptionResponse
- describeAccountSubscriptionResponse_accountInfo :: Lens' DescribeAccountSubscriptionResponse (Maybe AccountInfo)
- describeAccountSubscriptionResponse_requestId :: Lens' DescribeAccountSubscriptionResponse (Maybe Text)
- describeAccountSubscriptionResponse_status :: Lens' DescribeAccountSubscriptionResponse Int
Creating a Request
data DescribeAccountSubscription Source #
See: newDescribeAccountSubscription
smart constructor.
DescribeAccountSubscription' | |
|
Instances
newDescribeAccountSubscription Source #
Create a value of DescribeAccountSubscription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeAccountSubscription
, describeAccountSubscription_awsAccountId
- The Amazon Web Services account ID associated with your Amazon
QuickSight account.
Request Lenses
describeAccountSubscription_awsAccountId :: Lens' DescribeAccountSubscription Text Source #
The Amazon Web Services account ID associated with your Amazon QuickSight account.
Destructuring the Response
data DescribeAccountSubscriptionResponse Source #
See: newDescribeAccountSubscriptionResponse
smart constructor.
DescribeAccountSubscriptionResponse' | |
|
Instances
newDescribeAccountSubscriptionResponse Source #
Create a value of DescribeAccountSubscriptionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountInfo:DescribeAccountSubscriptionResponse'
, describeAccountSubscriptionResponse_accountInfo
- A structure that contains the following elements:
- Your Amazon QuickSight account name.
- The edition of Amazon QuickSight that your account is using.
- The notification email address that is associated with the Amazon QuickSight account.
- The authentication type of the Amazon QuickSight account.
- The status of the Amazon QuickSight account's subscription.
$sel:requestId:DescribeAccountSubscriptionResponse'
, describeAccountSubscriptionResponse_requestId
- The Amazon Web Services request ID for this operation.
DescribeAccountSubscriptionResponse
, describeAccountSubscriptionResponse_status
- The HTTP status of the request.
Response Lenses
describeAccountSubscriptionResponse_accountInfo :: Lens' DescribeAccountSubscriptionResponse (Maybe AccountInfo) Source #
A structure that contains the following elements:
- Your Amazon QuickSight account name.
- The edition of Amazon QuickSight that your account is using.
- The notification email address that is associated with the Amazon QuickSight account.
- The authentication type of the Amazon QuickSight account.
- The status of the Amazon QuickSight account's subscription.
describeAccountSubscriptionResponse_requestId :: Lens' DescribeAccountSubscriptionResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeAccountSubscriptionResponse_status :: Lens' DescribeAccountSubscriptionResponse Int Source #
The HTTP status of the request.