Class: AWS.QuickSight
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.QuickSight
- Identifier:
- quicksight
- API Version:
- 2018-04-01
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
Amazon QuickSight is a fully managed, serverless, cloud business intelligence service that makes it easy to extend data and insights to every user in your organization. This API interface reference contains documentation for a programming interface that you can use to manage Amazon QuickSight.
Sending a Request Using QuickSight
var quicksight = new AWS.QuickSight();
quicksight.createGroup(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the QuickSight object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var quicksight = new AWS.QuickSight({apiVersion: '2018-04-01'});
You can also set the API version globally in AWS.config.apiVersions
using
the quicksight service identifier:
AWS.config.apiVersions = {
quicksight: '2018-04-01',
// other service API versions
};
var quicksight = new AWS.QuickSight();
Constructor Summary
-
new AWS.QuickSight(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary
-
createGroup(params = {}, callback) ⇒ AWS.Request
Creates an Amazon QuickSight group.
-
createGroupMembership(params = {}, callback) ⇒ AWS.Request
Adds an Amazon QuickSight user to an Amazon QuickSight group.
-
deleteGroup(params = {}, callback) ⇒ AWS.Request
Removes a user group from Amazon QuickSight.
-
deleteGroupMembership(params = {}, callback) ⇒ AWS.Request
Removes a user from a group so that the user is no longer a member of the group.
-
deleteUser(params = {}, callback) ⇒ AWS.Request
Deletes the Amazon QuickSight user that is associated with the identity of the AWS Identity and Access Management (IAM) user or role that's making the call.
-
deleteUserByPrincipalId(params = {}, callback) ⇒ AWS.Request
Deletes a user after locating the user by its principal ID.
-
describeGroup(params = {}, callback) ⇒ AWS.Request
Returns an Amazon QuickSight group's description and Amazon Resource Name (ARN).
-
describeUser(params = {}, callback) ⇒ AWS.Request
Returns information about a user, given the user name.
-
getDashboardEmbedUrl(params = {}, callback) ⇒ AWS.Request
Generates a server-side embeddable URL and authorization code.
-
listGroupMemberships(params = {}, callback) ⇒ AWS.Request
Lists member users in a group.
-
listGroups(params = {}, callback) ⇒ AWS.Request
Lists all user groups in Amazon QuickSight.
-
listUserGroups(params = {}, callback) ⇒ AWS.Request
Lists the Amazon QuickSight groups that an Amazon QuickSight user is a member of.
-
listUsers(params = {}, callback) ⇒ AWS.Request
Returns a list of all of the Amazon QuickSight users belonging to this account.
-
registerUser(params = {}, callback) ⇒ AWS.Request
Creates an Amazon QuickSight user, whose identity is associated with the AWS Identity and Access Management (IAM) identity or role specified in the request.
-
updateGroup(params = {}, callback) ⇒ AWS.Request
Changes a group description.
-
updateUser(params = {}, callback) ⇒ AWS.Request
Updates an Amazon QuickSight user.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
Property Details
Method Details
createGroup(params = {}, callback) ⇒ AWS.Request
Creates an Amazon QuickSight group.
The permissions resource is arn:aws:quicksight:us-east-1:<relevant-aws-account-id>:group/default/<group-name>
.
The response is a group object.
CLI Sample:
aws quicksight create-group --aws-account-id=111122223333 --namespace=default --group-name="Sales-Management" --description="Sales Management - Forecasting"
createGroupMembership(params = {}, callback) ⇒ AWS.Request
Adds an Amazon QuickSight user to an Amazon QuickSight group.
The permissions resource is arn:aws:quicksight:us-east-1:<aws-account-id>:group/default/<group-name>
.
The condition resource is the user name.
The condition key is quicksight:UserName
.
The response is the group member object.
CLI Sample:
aws quicksight create-group-membership --aws-account-id=111122223333 --namespace=default --group-name=Sales --member-name=Pat
deleteGroup(params = {}, callback) ⇒ AWS.Request
Removes a user group from Amazon QuickSight.
The permissions resource is arn:aws:quicksight:us-east-1:<aws-account-id>:group/default/<group-name>
.
CLI Sample:
aws quicksight delete-group --aws-account-id=111122223333 --namespace=default --group-name=Sales-Management
deleteGroupMembership(params = {}, callback) ⇒ AWS.Request
Removes a user from a group so that the user is no longer a member of the group.
The permissions resource is arn:aws:quicksight:us-east-1:<aws-account-id>:group/default/<group-name>
.
The condition resource is the user name.
The condition key is quicksight:UserName
.
CLI Sample:
aws quicksight delete-group-membership --aws-account-id=111122223333 --namespace=default --group-name=Sales-Management --member-name=Charlie
deleteUser(params = {}, callback) ⇒ AWS.Request
Deletes the Amazon QuickSight user that is associated with the identity of the AWS Identity and Access Management (IAM) user or role that's making the call. The IAM user isn't deleted as a result of this call.
The permission resource is arn:aws:quicksight:us-east-1:<aws-account-id>:user/default/<user-name>
.
CLI Sample:
aws quicksight delete-user --aws-account-id=111122223333 --namespace=default --user-name=Pat
deleteUserByPrincipalId(params = {}, callback) ⇒ AWS.Request
Deletes a user after locating the user by its principal ID.
describeGroup(params = {}, callback) ⇒ AWS.Request
Returns an Amazon QuickSight group's description and Amazon Resource Name (ARN).
The permissions resource is arn:aws:quicksight:us-east-1:<relevant-aws-account-id>:group/default/<group-name>
.
The response is the group object.
CLI Sample:
aws quicksight describe-group --aws-account-id=11112222333 --namespace=default --group-name=Sales
describeUser(params = {}, callback) ⇒ AWS.Request
Returns information about a user, given the user name.
The permission resource is arn:aws:quicksight:us-east-1:<aws-account-id>:user/default/<user-name>
.
The response is a user object that contains the user's Amazon Resource Name (ARN), AWS Identity and Access Management (IAM) role, and email address.
CLI Sample:
aws quicksight describe-user --aws-account-id=111122223333 --namespace=default --user-name=Pat
getDashboardEmbedUrl(params = {}, callback) ⇒ AWS.Request
Generates a server-side embeddable URL and authorization code. Before this can work properly, first you need to configure the dashboards and user permissions. For more information, see Embedding Amazon QuickSight Dashboards.
Currently, you can use GetDashboardEmbedURL
only from the server, not from the user’s browser.
CLI Sample:
Assume the role with permissions enabled for actions: quickSight:RegisterUser
and quicksight:GetDashboardEmbedURL
. You can use assume-role, assume-role-with-web-identity, or assume-role-with-saml.
aws sts assume-role --role-arn "arn:aws:iam::111122223333:role/embedding_quicksight_dashboard_role" --role-session-name embeddingsession
If the user does not exist in QuickSight, register the user:
aws quicksight register-user --aws-account-id 111122223333 --namespace default --identity-type IAM --iam-arn "arn:aws:iam::111122223333:role/embedding_quicksight_dashboard_role" --user-role READER --session-name "embeddingsession" --email user123@example.com --region us-east-1
Get the URL for the embedded dashboard
aws quicksight get-dashboard-embed-url --aws-account-id 111122223333 --dashboard-id 1a1ac2b2-3fc3-4b44-5e5d-c6db6778df89 --identity-type IAM
listGroupMemberships(params = {}, callback) ⇒ AWS.Request
Lists member users in a group.
The permissions resource is arn:aws:quicksight:us-east-1:<aws-account-id>:group/default/<group-name>
.
The response is a list of group member objects.
CLI Sample:
aws quicksight list-group-memberships --aws-account-id=111122223333 --namespace=default
listGroups(params = {}, callback) ⇒ AWS.Request
Lists all user groups in Amazon QuickSight.
The permissions resource is arn:aws:quicksight:us-east-1:<aws-account-id>:group/default/*
.
The response is a list of group objects.
CLI Sample:
aws quicksight list-groups --aws-account-id=111122223333 --namespace=default
listUserGroups(params = {}, callback) ⇒ AWS.Request
Lists the Amazon QuickSight groups that an Amazon QuickSight user is a member of.
The permission resource is arn:aws:quicksight:us-east-1:<aws-account-id>:user/default/<user-name>
.
The response is a one or more group objects.
CLI Sample:
aws quicksight list-user-groups --user-name=Pat --aws-account-id=111122223333 --namespace=default --region=us-east-1
listUsers(params = {}, callback) ⇒ AWS.Request
Returns a list of all of the Amazon QuickSight users belonging to this account.
The permission resource is arn:aws:quicksight:us-east-1:<aws-account-id>:user/default/*
.
The response is a list of user objects, containing each user's Amazon Resource Name (ARN), AWS Identity and Access Management (IAM) role, and email address.
CLI Sample:
aws quicksight list-users --aws-account-id=111122223333 --namespace=default
registerUser(params = {}, callback) ⇒ AWS.Request
Creates an Amazon QuickSight user, whose identity is associated with the AWS Identity and Access Management (IAM) identity or role specified in the request.
The permission resource is arn:aws:quicksight:us-east-1:<aws-account-id>:user/default/<user-name>
.
The condition resource is the Amazon Resource Name (ARN) for the IAM user or role, and the session name.
The condition keys are quicksight:IamArn
and quicksight:SessionName
.
CLI Sample:
aws quicksight register-user --aws-account-id=111122223333 --namespace=default --email=pat@example.com --identity-type=IAM --user-role=AUTHOR --iam-arn=arn:aws:iam::111122223333:user/Pat
updateGroup(params = {}, callback) ⇒ AWS.Request
Changes a group description.
The permissions resource is arn:aws:quicksight:us-east-1:<aws-account-id>:group/default/<group-name>
.
The response is a group object.
CLI Sample:
aws quicksight update-group --aws-account-id=111122223333 --namespace=default --group-name=Sales --description="Sales BI Dashboards"
updateUser(params = {}, callback) ⇒ AWS.Request
Updates an Amazon QuickSight user.
The permission resource is arn:aws:quicksight:us-east-1:<aws-account-id>:user/default/<user-name>
.
The response is a user object that contains the user's Amazon QuickSight user name, email address, active or inactive status in Amazon QuickSight, Amazon QuickSight role, and Amazon Resource Name (ARN).
CLI Sample:
aws quicksight update-user --user-name=Pat --role=ADMIN --email=new_address@amazon.com --aws-account-id=111122223333 --namespace=default --region=us-east-1