Create Account Subscription
| quicksight_create_account_subscription | R Documentation |
Creates an Amazon QuickSight account, or subscribes to Amazon QuickSight Q¶
Description¶
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.
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
create_account_subscription 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.
Usage¶
quicksight_create_account_subscription(Edition, AuthenticationMethod,
AwsAccountId, AccountName, NotificationEmail, ActiveDirectoryName,
Realm, DirectoryId, AdminGroup, AuthorGroup, ReaderGroup, AdminProGroup,
AuthorProGroup, ReaderProGroup, FirstName, LastName, EmailAddress,
ContactNumber, IAMIdentityCenterInstanceArn)
Arguments¶
EditionThe edition of Amazon QuickSight that you want your account to have. Currently, you can choose from
ENTERPRISEorENTERPRISE_AND_Q.If you choose
ENTERPRISE_AND_Q, the following parameters are required:FirstNameLastNameEmailAddressContactNumber
AuthenticationMethod[required] The method that you want to use to authenticate your Amazon QuickSight account.
If you choose
ACTIVE_DIRECTORY, provide anActiveDirectoryNameand anAdminGroupassociated with your Active Directory.If you choose
IAM_IDENTITY_CENTER, provide anAdminGroupassociated with your IAM Identity Center account.AwsAccountId[required] The Amazon Web Services account ID of the account that you're using to create your Amazon QuickSight account.
AccountName[required] 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
AccountNamevalue after the Amazon QuickSight account is created.NotificationEmail[required] The email address that you want Amazon QuickSight to send notifications to regarding your Amazon QuickSight account or Amazon QuickSight subscription.
ActiveDirectoryNameThe name of your Active Directory. This field is required if
ACTIVE_DIRECTORYis the selected authentication method of the new Amazon QuickSight account.RealmThe realm of the Active Directory that is associated with your Amazon QuickSight account. This field is required if
ACTIVE_DIRECTORYis the selected authentication method of the new Amazon QuickSight account.DirectoryIdThe ID of the Active Directory that is associated with your Amazon QuickSight account.
AdminGroupThe admin group associated with your Active Directory or IAM Identity Center account. Either this field or the
AdminProGroupfield is required ifACTIVE_DIRECTORYorIAM_IDENTITY_CENTERis the selected authentication method of the new Amazon QuickSight account.For more information about using IAM Identity Center in Amazon QuickSight, see Using IAM Identity Center with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide. 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.
AuthorGroupThe author group associated with your Active Directory or IAM Identity Center account.
For more information about using IAM Identity Center in Amazon QuickSight, see Using IAM Identity Center with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide. 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.
ReaderGroupThe reader group associated with your Active Directory or IAM Identity Center account.
For more information about using IAM Identity Center in Amazon QuickSight, see Using IAM Identity Center with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide. 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.
AdminProGroupThe admin pro group associated with your Active Directory or IAM Identity Center account. Either this field or the
AdminGroupfield is required ifACTIVE_DIRECTORYorIAM_IDENTITY_CENTERis the selected authentication method of the new Amazon QuickSight account.For more information about using IAM Identity Center in Amazon QuickSight, see Using IAM Identity Center with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide. 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.
AuthorProGroupThe author pro group associated with your Active Directory or IAM Identity Center account.
For more information about using IAM Identity Center in Amazon QuickSight, see Using IAM Identity Center with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide. 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.
ReaderProGroupThe reader pro group associated with your Active Directory or IAM Identity Center account.
For more information about using IAM Identity Center in Amazon QuickSight, see Using IAM Identity Center with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide. 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.
FirstNameThe first name of the author of the Amazon QuickSight account to use for future communications. This field is required if
ENTERPPRISE_AND_Qis the selected edition of the new Amazon QuickSight account.LastNameThe last name of the author of the Amazon QuickSight account to use for future communications. This field is required if
ENTERPPRISE_AND_Qis the selected edition of the new Amazon QuickSight account.EmailAddressThe email address of the author of the Amazon QuickSight account to use for future communications. This field is required if
ENTERPPRISE_AND_Qis the selected edition of the new Amazon QuickSight account.ContactNumberA 10-digit phone number for the author of the Amazon QuickSight account to use for future communications. This field is required if
ENTERPPRISE_AND_Qis the selected edition of the new Amazon QuickSight account.IAMIdentityCenterInstanceArnThe Amazon Resource Name (ARN) for the IAM Identity Center instance.
Value¶
A list with the following syntax:
list(
SignupResponse = list(
IAMUser = TRUE|FALSE,
userLoginName = "string",
accountName = "string",
directoryType = "string"
),
Status = 123,
RequestId = "string"
)
Request syntax¶
svc$create_account_subscription(
Edition = "STANDARD"|"ENTERPRISE"|"ENTERPRISE_AND_Q",
AuthenticationMethod = "IAM_AND_QUICKSIGHT"|"IAM_ONLY"|"ACTIVE_DIRECTORY"|"IAM_IDENTITY_CENTER",
AwsAccountId = "string",
AccountName = "string",
NotificationEmail = "string",
ActiveDirectoryName = "string",
Realm = "string",
DirectoryId = "string",
AdminGroup = list(
"string"
),
AuthorGroup = list(
"string"
),
ReaderGroup = list(
"string"
),
AdminProGroup = list(
"string"
),
AuthorProGroup = list(
"string"
),
ReaderProGroup = list(
"string"
),
FirstName = "string",
LastName = "string",
EmailAddress = "string",
ContactNumber = "string",
IAMIdentityCenterInstanceArn = "string"
)