[ aws . quicksight ]
Creates an Amazon QuickSight account, or subscribes to Amazon QuickSight Q.
The Amazon Web Services Region for the account is derived from what is configured in the CLI or SDK. This operation isn’t supported in the US East (Ohio) Region, South America (Sao Paulo) Region, or Asia Pacific (Singapore) Region.
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 QuickSight User Guide . The person who signs up for Amazon QuickSight needs to have the correct Identity and Access Management (IAM) permissions. For more information, see IAM Policy Examples for Amazon QuickSight in the Amazon QuickSight 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 QuickSight, see Passing IAM roles to Amazon QuickSight in the Amazon QuickSight User Guide .
You can’t set default resource access on the new account from the Amazon QuickSight API. Instead, add default resource access from the Amazon QuickSight 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 QuickSight User Guide .
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
create-account-subscription
--edition <value>
--authentication-method <value>
--aws-account-id <value>
--account-name <value>
--notification-email <value>
[--active-directory-name <value>]
[--realm <value>]
[--directory-id <value>]
[--admin-group <value>]
[--author-group <value>]
[--reader-group <value>]
[--first-name <value>]
[--last-name <value>]
[--email-address <value>]
[--contact-number <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
--edition
(string)
The edition of Amazon QuickSight that you want your account to have. Currently, you can choose from
ENTERPRISE
orENTERPRISE_AND_Q
.If you choose
ENTERPRISE_AND_Q
, the following parameters are required:
FirstName
LastName
EmailAddress
ContactNumber
Possible values:
STANDARD
ENTERPRISE
ENTERPRISE_AND_Q
--authentication-method
(string)
The method that you want to use to authenticate your Amazon QuickSight account. Currently, the valid values for this parameter are
IAM_AND_QUICKSIGHT
,IAM_ONLY
, andACTIVE_DIRECTORY
.If you choose
ACTIVE_DIRECTORY
, provide anActiveDirectoryName
and anAdminGroup
associated with your Active Directory.Possible values:
IAM_AND_QUICKSIGHT
IAM_ONLY
ACTIVE_DIRECTORY
--aws-account-id
(string)
The Amazon Web Services account ID of the account that you’re using to create your Amazon QuickSight account.
--account-name
(string)
The name of your Amazon QuickSight account. This name is unique over all of Amazon Web Services, and it appears only when users sign in. You can’t change
AccountName
value after the Amazon QuickSight account is created.
--notification-email
(string)
The email address that you want Amazon QuickSight to send notifications to regarding your Amazon QuickSight account or Amazon QuickSight subscription.
--active-directory-name
(string)
The name of your Active Directory. This field is required if
ACTIVE_DIRECTORY
is the selected authentication method of the new Amazon QuickSight account.
--realm
(string)
The realm of the Active Directory that is associated with your Amazon QuickSight account. This field is required if
ACTIVE_DIRECTORY
is the selected authentication method of the new Amazon QuickSight account.
--directory-id
(string)
The ID of the Active Directory that is associated with your Amazon QuickSight account.
--admin-group
(list)
The admin group associated with your Active Directory. This field is required if
ACTIVE_DIRECTORY
is the selected authentication method of the new Amazon QuickSight account. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.(string)
Syntax:
"string" "string" ...
--author-group
(list)
The author group associated with your Active Directory. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.
(string)
Syntax:
"string" "string" ...
--reader-group
(list)
The reader group associated with your Active Direcrtory. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide .
(string)
Syntax:
"string" "string" ...
--first-name
(string)
The first name of the author of the Amazon QuickSight account to use for future communications. This field is required if
ENTERPPRISE_AND_Q
is the selected edition of the new Amazon QuickSight account.
--last-name
(string)
The last name of the author of the Amazon QuickSight account to use for future communications. This field is required if
ENTERPPRISE_AND_Q
is the selected edition of the new Amazon QuickSight account.
--email-address
(string)
The email address of the author of the Amazon QuickSight account to use for future communications. This field is required if
ENTERPPRISE_AND_Q
is the selected edition of the new Amazon QuickSight account.
--contact-number
(string)
A 10-digit phone number for the author of the Amazon QuickSight account to use for future communications. This field is required if
ENTERPPRISE_AND_Q
is the selected edition of the new Amazon QuickSight account.
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
See ‘aws help’ for descriptions of global parameters.
SignupResponse -> (structure)
A
SignupResponse
object that returns information about a newly created Amazon QuickSight account.IAMUser -> (boolean)
A Boolean that is
TRUE
if the Amazon QuickSight uses IAM as an authentication method.userLoginName -> (string)
The user login name for your Amazon QuickSight account.
accountName -> (string)
The name of your Amazon QuickSight account.
directoryType -> (string)
The type of Active Directory that is being used to authenticate the Amazon QuickSight account. Valid values are
SIMPLE_AD
,AD_CONNECTOR
, andMICROSOFT_AD
.
Status -> (integer)
The HTTP status of the request.
RequestId -> (string)
The Amazon Web Services request ID for this operation.