Module Values_2.DescribeAccountSubscriptionResponseSource

Use the DescribeAccountSubscription operation to receive a description of an Quick Sight 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.

Sourcetype nonrec t = {
  1. accountInfo : Values_0.AccountInfo.t option;
    (*

    A structure that contains the following elements: Your Quick Sight account name. The edition of Quick Sight that your account is using. The notification email address that is associated with the Amazon Quick Sight account. The authentication type of the Quick Sight account. The status of the Quick Sight account's subscription.

    *)
  2. status : Values_1.StatusCode.t option;
    (*

    The HTTP status of the request.

    *)
  3. requestId : Values_0.String_.t option;
    (*

    The Amazon Web Services request ID for this operation.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of Values_0.AccessDeniedException.t
  2. | `InternalFailureException of Values_1.InternalFailureException.t
  3. | `InvalidParameterValueException of Values_1.InvalidParameterValueException.t
  4. | `ResourceNotFoundException of Values_1.ResourceNotFoundException.t
  5. | `ResourceUnavailableException of Values_1.ResourceUnavailableException.t
  6. | `ThrottlingException of Values_1.ThrottlingException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?accountInfo:??? -> ?status:??? -> ?requestId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of Values_0.AccessDeniedException.t | `InternalFailureException of Values_1.InternalFailureException.t | `InvalidParameterValueException of Values_1.InvalidParameterValueException.t | `ResourceNotFoundException of Values_1.ResourceNotFoundException.t | `ResourceUnavailableException of Values_1.ResourceUnavailableException.t | `ThrottlingException of Values_1.ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of Values_0.AccessDeniedException.t | `InternalFailureException of Values_1.InternalFailureException.t | `InvalidParameterValueException of Values_1.InvalidParameterValueException.t | `ResourceNotFoundException of Values_1.ResourceNotFoundException.t | `ResourceUnavailableException of Values_1.ResourceUnavailableException.t | `ThrottlingException of Values_1.ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Values_1.StatusCode.t | `String of Values_0.String_.t | `Structure of (string * [> `Enum of string | `String of string ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t