Values_1.CreateAccountSubscriptionResponseSourceCreates an Amazon Quick Sight account, or subscribes to Amazon Quick Sight Q. The Amazon Web Services Region for the account is derived from what is configured in the CLI or SDK. Before you use this operation, make sure that you can connect to an existing Amazon Web Services account. If you don't have an Amazon Web Services account, see Sign up for Amazon Web Services in the Amazon Quick Sight User Guide. The person who signs up for Amazon Quick Sight needs to have the correct Identity and Access Management (IAM) permissions. For more information, see IAM Policy Examples for Amazon Quick Sight in the Amazon Quick Sight User Guide. If your IAM policy includes both the Subscribe and CreateAccountSubscription actions, make sure that both actions are set to Allow. If either action is set to Deny, the Deny action prevails and your API call fails. You can't pass an existing IAM role to access other Amazon Web Services services using this API operation. To pass your existing IAM role to Amazon Quick Sight, see Passing IAM roles to Amazon Quick Sight in the Amazon Quick Sight User Guide. You can't set default resource access on the new account from the Amazon Quick Sight API. Instead, add default resource access from the Amazon Quick Sight console. For more information about setting default resource access to Amazon Web Services services, see Setting default resource access to Amazon Web Services services in the Amazon Quick Sight User Guide.
type nonrec t = {signupResponse : SignupResponse.t option;A SignupResponse object that returns information about a newly created Quick Sight account.
*)status : StatusCode.t option;The HTTP status of the request.
*)requestId : Values_0.String_.t option;The Amazon Web Services request ID for this operation.
*)}type nonrec error = [ | `AccessDeniedException of Values_0.AccessDeniedException.t| `ConflictException of ConflictException.t| `InternalFailureException of InternalFailureException.t| `InvalidParameterValueException of InvalidParameterValueException.t| `PreconditionNotMetException of PreconditionNotMetException.t| `ResourceExistsException of ResourceExistsException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of Values_0.AccessDeniedException.t
| `ConflictException of ConflictException.t
| `InternalFailureException of InternalFailureException.t
| `InvalidParameterValueException of InvalidParameterValueException.t
| `PreconditionNotMetException of PreconditionNotMetException.t
| `ResourceExistsException of ResourceExistsException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ResourceUnavailableException of ResourceUnavailableException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of Values_0.AccessDeniedException.t
| `ConflictException of ConflictException.t
| `InternalFailureException of InternalFailureException.t
| `InvalidParameterValueException of InvalidParameterValueException.t
| `PreconditionNotMetException of PreconditionNotMetException.t
| `ResourceExistsException of ResourceExistsException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ResourceUnavailableException of ResourceUnavailableException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Integer of StatusCode.t
| `String of Values_0.String_.t
| `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `String of Values_0.String_.t ])
list ])
list ]