You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(client-quicksight): This release allows customers to programmatically create QuickSight accounts with Enterprise and Enterprise + Q editions. It also releases allowlisting domains for embedding QuickSight dashboards at runtime through the embedding APIs.
@@ -582,11 +592,10 @@ export class QuickSight extends QuickSightClient {
582
592
}
583
593
584
594
/**
585
-
* <p>Creates Amazon QuickSight customizations the current Amazon Web Services Region. Currently, you can
586
-
* add a custom default theme by using the <code>CreateAccountCustomization</code> or
587
-
* <code>UpdateAccountCustomization</code> API operation. To further customize
588
-
* Amazon QuickSight by removing Amazon QuickSight sample assets and videos for all new users, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/customizing-quicksight.html">Customizing Amazon QuickSight</a> in the <i>Amazon QuickSight User
589
-
* Guide.</i>
595
+
* <p>Creates Amazon QuickSight customizations for the current Amazon Web Services Region. Currently, you can add a custom default theme by using the
596
+
* <code>CreateAccountCustomization</code> or <code>UpdateAccountCustomization</code>
597
+
* API operation. To further customize Amazon QuickSight by removing Amazon QuickSight
598
+
* sample assets and videos for all new users, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/customizing-quicksight.html">Customizing Amazon QuickSight</a> in the <i>Amazon QuickSight User Guide.</i>
590
599
* </p>
591
600
* <p>You can create customizations for your Amazon Web Services account or, if you specify a namespace, for
592
601
* a QuickSight namespace instead. Customizations that apply to a namespace always override
@@ -636,6 +645,65 @@ export class QuickSight extends QuickSightClient {
636
645
}
637
646
}
638
647
648
+
/**
649
+
* <p>Creates an Amazon QuickSight account, or subscribes to Amazon QuickSight Q.</p>
650
+
*
651
+
* <p>The Amazon Web Services Region for the account is derived from what is configured in the
652
+
* CLI or SDK. This operation isn't supported in the US East (Ohio) Region, South America (Sao Paulo) Region, or Asia
653
+
* Pacific (Singapore) Region. </p>
654
+
*
655
+
* <p>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 <a href="https://docs.aws.amazon.com/quicksight/latest/user/setting-up-aws-sign-up.html">Sign
656
+
* up for Amazon Web Services</a> in the <i>Amazon QuickSight User
657
+
* Guide</i>. The person who signs up for Amazon QuickSight needs to have the
658
+
* correct Identity and Access Management (IAM) permissions. For more information,
659
+
* see <a href="https://docs.aws.amazon.com/quicksight/latest/user/iam-policy-examples.html">IAM Policy Examples for Amazon QuickSight</a> in the
660
+
* <i>Amazon QuickSight User Guide</i>.</p>
661
+
*
662
+
* <p>If your IAM policy includes both the <code>Subscribe</code> and
663
+
* <code>CreateAccountSubscription</code> actions, make sure that both actions are set
664
+
* to <code>Allow</code>. If either action is set to <code>Deny</code>, the
665
+
* <code>Deny</code> action prevails and your API call fails.</p>
666
+
*
667
+
* <p>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
668
+
* Amazon QuickSight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/security_iam_service-with-iam.html#security-create-iam-role">Passing IAM roles to Amazon QuickSight</a> in the
669
+
* <i>Amazon QuickSight User Guide</i>.</p>
670
+
*
671
+
* <p>You can't set default resource access on the new account from the Amazon QuickSight
672
+
* API. Instead, add default resource access from the Amazon QuickSight console. For more
673
+
* information about setting default resource access to Amazon Web Services services, see
if(typeofoptionsOrCb!=="object")thrownewError(`Expect http options but get ${typeofoptionsOrCb}`);
701
+
this.send(command,optionsOrCb||{},cb);
702
+
}else{
703
+
returnthis.send(command,optionsOrCb);
704
+
}
705
+
}
706
+
639
707
/**
640
708
* <p>Creates an analysis in Amazon QuickSight.</p>
641
709
*/
@@ -1804,6 +1872,38 @@ export class QuickSight extends QuickSightClient {
1804
1872
}
1805
1873
}
1806
1874
1875
+
/**
1876
+
* <p>Use the DescribeAccountSubscription operation to receive a description of a Amazon QuickSight account's subscription. A successful API call returns an <code>AccountInfo</code> object that includes an account's name, subscription status, authentication type, edition, and notification email address.</p>
if(typeofoptionsOrCb!=="object")thrownewError(`Expect http options but get ${typeofoptionsOrCb}`);
1901
+
this.send(command,optionsOrCb||{},cb);
1902
+
}else{
1903
+
returnthis.send(command,optionsOrCb);
1904
+
}
1905
+
}
1906
+
1807
1907
/**
1808
1908
* <p>Provides a summary of the metadata for an analysis.</p>
1809
1909
*/
@@ -2580,11 +2680,9 @@ export class QuickSight extends QuickSightClient {
2580
2680
* <p>It contains a temporary bearer token. It is valid for 5 minutes after it is generated. Once redeemed within this period, it cannot be re-used again.</p>
2581
2681
* </li>
2582
2682
* <li>
2583
-
* <p>The URL validity period should not be confused with the actual session lifetime
2584
-
* that can be customized using the <code>
2683
+
* <p>The URL validity period should not be confused with the actual session lifetime that can be customized using the <code>
* <p>The resulting user session is valid for 15 minutes (minimum) to 10 hours (maximum). The default session duration is 10 hours. </p>
2685
+
* </code> parameter. The resulting user session is valid for 15 minutes (minimum) to 10 hours (maximum). The default session duration is 10 hours.</p>
2588
2686
* </li>
2589
2687
* <li>
2590
2688
* <p>You are charged only when the URL is used or there is interaction with Amazon QuickSight.</p>
@@ -2624,7 +2722,8 @@ export class QuickSight extends QuickSightClient {
2624
2722
}
2625
2723
2626
2724
/**
2627
-
* <p>Generates an embed URL that you can use to embed an Amazon QuickSight experience in your website. This action can be used for any type of user registered in an Amazon QuickSight account. Before you use this action, make sure that you have configured the relevant Amazon QuickSight resource and permissions.</p>
2725
+
* <p>Generates an embed URL that you can use to embed an Amazon QuickSight experience in your website. This action can be used for any type of user registered in an Amazon QuickSight account.
2726
+
* Before you use this action, make sure that you have configured the relevant Amazon QuickSight resource and permissions.</p>
2628
2727
* <p>The following rules apply to the generated URL:</p>
2629
2728
* <ul>
2630
2729
* <li>
@@ -2675,12 +2774,8 @@ export class QuickSight extends QuickSightClient {
2675
2774
}
2676
2775
2677
2776
/**
2678
-
* <p>Generates a session URL and authorization code that you can use to embed an Amazon
2679
-
* Amazon QuickSight read-only dashboard in your web server code. Before you use this command,
2680
-
* make sure that you have configured the dashboards and permissions. </p>
2681
-
* <p>Currently, you can use <code>GetDashboardEmbedURL</code> only from the server, not
2682
-
* from the user's browser. The following rules apply to the combination of URL and
2683
-
* authorization code:</p>
2777
+
* <p>Generates a temporary session URL and authorization code that you can use to embed an Amazon QuickSight read-only dashboard in your website or application. Before you use this command, make sure that you have configured the dashboards and permissions. </p>
2778
+
* <p>Currently, you can use <code>GetDashboardEmbedURL</code> only from the server, not from the user's browser. The following rules apply to the generated URL:</p>
2684
2779
* <ul>
2685
2780
* <li>
2686
2781
* <p>They must be used together.</p>
@@ -2692,7 +2787,7 @@ export class QuickSight extends QuickSightClient {
2692
2787
* <p>They are valid for 5 minutes after you run this command.</p>
2693
2788
* </li>
2694
2789
* <li>
2695
-
* <p>The resulting user session is valid for 10 hours.</p>
2790
+
* <p>The resulting user session is valid for 15 minutes (default) up to 10 hours (maximum). You can use the optional <code>SessionLifetimeInMinutes</code> parameter to customi session duration.</p>
2696
2791
* </li>
2697
2792
* </ul>
2698
2793
* <p>For more information, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics-deprecated.html">Embedding Analytics Using GetDashboardEmbedUrl</a> in the <i>Amazon QuickSight User
@@ -3735,8 +3830,7 @@ export class QuickSight extends QuickSightClient {
3735
3830
}
3736
3831
3737
3832
/**
3738
-
* <p>Updates Amazon QuickSight customizations the current Amazon Web Services Region. Currently, the only
3739
-
* customization you can use is a theme.</p>
3833
+
* <p>Updates Amazon QuickSight customizations for the current Amazon Web Services Region. Currently, the only customization that you can use is a theme.</p>
3740
3834
* <p>You can use customizations for your Amazon Web Services account or, if you specify a namespace, for a
3741
3835
* Amazon QuickSight namespace instead. Customizations that apply to a namespace override
3742
3836
* customizations that apply to an Amazon Web Services account. To find out which customizations apply, use
@@ -4254,9 +4348,15 @@ export class QuickSight extends QuickSightClient {
4254
4348
}
4255
4349
4256
4350
/**
4257
-
* <p>Use the UpdatePublicSharingSettings operation to enable or disable the public sharing settings of an Amazon QuickSight dashboard.</p>
4258
-
* <p>To use this operation, enable session capacity pricing on your Amazon QuickSight account.</p>
4259
-
* <p>Before you can enable public sharing on your account, you need to allow public sharing permissions to an administrative user in the IAM console. For more information on using IAM with Amazon QuickSight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/security_iam_service-with-iam.html">Using Amazon QuickSight with IAM</a>.</p>
4351
+
* <p>Use the <code>UpdatePublicSharingSettings</code> operation to turn on or turn off the
4352
+
* public sharing settings of an Amazon QuickSight dashboard.</p>
4353
+
* <p>To use this operation, turn on session capacity pricing for your Amazon QuickSight
4354
+
* account.</p>
4355
+
* <p>Before you can turn on public sharing on your account, make sure to give public sharing
4356
+
* permissions to an administrative user in the Identity and Access Management (IAM)
4357
+
* console. For more information on using IAM with Amazon QuickSight, see
4358
+
* <a href="https://docs.aws.amazon.com/quicksight/latest/user/security_iam_service-with-iam.html">Using Amazon QuickSight with IAM</a> in the <i>Amazon QuickSight
* <p>Creates Amazon QuickSight customizations the current Amazon Web Services Region. Currently, you can
27
-
* add a custom default theme by using the <code>CreateAccountCustomization</code> or
28
-
* <code>UpdateAccountCustomization</code> API operation. To further customize
29
-
* Amazon QuickSight by removing Amazon QuickSight sample assets and videos for all new users, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/customizing-quicksight.html">Customizing Amazon QuickSight</a> in the <i>Amazon QuickSight User
30
-
* Guide.</i>
26
+
* <p>Creates Amazon QuickSight customizations for the current Amazon Web Services Region. Currently, you can add a custom default theme by using the
27
+
* <code>CreateAccountCustomization</code> or <code>UpdateAccountCustomization</code>
28
+
* API operation. To further customize Amazon QuickSight by removing Amazon QuickSight
29
+
* sample assets and videos for all new users, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/customizing-quicksight.html">Customizing Amazon QuickSight</a> in the <i>Amazon QuickSight User Guide.</i>
31
30
* </p>
32
31
* <p>You can create customizations for your Amazon Web Services account or, if you specify a namespace, for
33
32
* a QuickSight namespace instead. Customizations that apply to a namespace always override
0 commit comments