Skip to content

Commit be6ad36

Browse files
author
AWS
committed
Amazon QuickSight Update: Added a new optional property DashboardVisual under ExperienceConfiguration parameter of GenerateEmbedUrlForAnonymousUser and GenerateEmbedUrlForRegisteredUser API operations. This supports embedding of specific visuals in QuickSight dashboards.
1 parent 200cc9f commit be6ad36

File tree

2 files changed

+62
-3
lines changed

2 files changed

+62
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon QuickSight",
4+
"contributor": "",
5+
"description": "Added a new optional property DashboardVisual under ExperienceConfiguration parameter of GenerateEmbedUrlForAnonymousUser and GenerateEmbedUrlForRegisteredUser API operations. This supports embedding of specific visuals in QuickSight dashboards."
6+
}

services/quicksight/src/main/resources/codegen-resources/service-2.json

Lines changed: 56 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@
11861186
{"shape":"UnsupportedPricingPlanException"},
11871187
{"shape":"InternalFailureException"}
11881188
],
1189-
"documentation":"<p>Generates an embed URL that you can use to embed an Amazon QuickSight dashboard in your website, without having to register any reader users. Before you use this action, make sure that you have configured the dashboards and permissions.</p> <p>The following rules apply to the generated URL:</p> <ul> <li> <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> </li> <li> <p>The URL validity period should not be confused with the actual session lifetime that can be customized using the <code> <a href=\"https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForAnonymousUser.html#QS-GenerateEmbedUrlForAnonymousUser-request-SessionLifetimeInMinutes\">SessionLifetimeInMinutes</a> </code> parameter. The resulting user session is valid for 15 minutes (minimum) to 10 hours (maximum). The default session duration is 10 hours.</p> </li> <li> <p>You are charged only when the URL is used or there is interaction with Amazon QuickSight.</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html\">Embedded Analytics</a> in the <i>Amazon QuickSight User Guide</i>.</p> <p>For more information about the high-level steps for embedding and for an interactive demo of the ways you can customize embedding, visit the <a href=\"https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html\">Amazon QuickSight Developer Portal</a>.</p>"
1189+
"documentation":"<p>Generates an embed URL that you can use to embed an Amazon QuickSight dashboard or visual in your website, without having to register any reader users. Before you use this action, make sure that you have configured the dashboards and permissions.</p> <p>The following rules apply to the generated URL:</p> <ul> <li> <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> </li> <li> <p>The URL validity period should not be confused with the actual session lifetime that can be customized using the <code> <a href=\"https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForAnonymousUser.html#QS-GenerateEmbedUrlForAnonymousUser-request-SessionLifetimeInMinutes\">SessionLifetimeInMinutes</a> </code> parameter. The resulting user session is valid for 15 minutes (minimum) to 10 hours (maximum). The default session duration is 10 hours.</p> </li> <li> <p>You are charged only when the URL is used or there is interaction with Amazon QuickSight.</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html\">Embedded Analytics</a> in the <i>Amazon QuickSight User Guide</i>.</p> <p>For more information about the high-level steps for embedding and for an interactive demo of the ways you can customize embedding, visit the <a href=\"https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html\">Amazon QuickSight Developer Portal</a>.</p>"
11901190
},
11911191
"GenerateEmbedUrlForRegisteredUser":{
11921192
"name":"GenerateEmbedUrlForRegisteredUser",
@@ -2591,12 +2591,27 @@
25912591
},
25922592
"documentation":"<p>Information about the dashboard that you want to embed.</p>"
25932593
},
2594+
"AnonymousUserDashboardVisualEmbeddingConfiguration":{
2595+
"type":"structure",
2596+
"required":["InitialDashboardVisualId"],
2597+
"members":{
2598+
"InitialDashboardVisualId":{
2599+
"shape":"DashboardVisualId",
2600+
"documentation":"<p>The visual ID for the visual that you want the user to see. This ID is included in the output URL. When the URL in response is accessed, Amazon QuickSight renders this visual.</p> <p>The Amazon Resource Name (ARN) of the dashboard that the visual belongs to must be included in the <code>AuthorizedResourceArns</code> parameter. Otherwise, the request will fail with <code>InvalidParameterValueException</code>.</p>"
2601+
}
2602+
},
2603+
"documentation":"<p>The experience that you are embedding. You can use this object to generate a url that embeds a visual into your application.</p>"
2604+
},
25942605
"AnonymousUserEmbeddingExperienceConfiguration":{
25952606
"type":"structure",
25962607
"members":{
25972608
"Dashboard":{
25982609
"shape":"AnonymousUserDashboardEmbeddingConfiguration",
25992610
"documentation":"<p>The type of embedding experience. In this case, Amazon QuickSight dashboards.</p>"
2611+
},
2612+
"DashboardVisual":{
2613+
"shape":"AnonymousUserDashboardVisualEmbeddingConfiguration",
2614+
"documentation":"<p>The type of embedding experience. In this case, Amazon QuickSight visuals.</p>"
26002615
}
26012616
},
26022617
"documentation":"<p>The type of experience you want to embed. For anonymous users, you can embed Amazon QuickSight dashboards.</p>"
@@ -4525,6 +4540,29 @@
45254540
"member":{"shape":"DashboardVersionSummary"},
45264541
"max":100
45274542
},
4543+
"DashboardVisualId":{
4544+
"type":"structure",
4545+
"required":[
4546+
"DashboardId",
4547+
"SheetId",
4548+
"VisualId"
4549+
],
4550+
"members":{
4551+
"DashboardId":{
4552+
"shape":"RestrictiveResourceId",
4553+
"documentation":"<p>The ID of the dashboard that has the visual that you want to embed. The <code>DashboardId</code> can be found in the <code>IDs for developers</code> section of the <code>Embed visual</code> pane of the visual's on-visual menu of the Amazon QuickSight console. You can also get the <code>DashboardId</code> with a <code>ListDashboards</code> API operation.</p>"
4554+
},
4555+
"SheetId":{
4556+
"shape":"RestrictiveResourceId",
4557+
"documentation":"<p>The ID of the sheet that the has visual that you want to embed. The <code>SheetId</code> can be found in the <code>IDs for developers</code> section of the <code>Embed visual</code> pane of the visual's on-visual menu of the Amazon QuickSight console.</p>"
4558+
},
4559+
"VisualId":{
4560+
"shape":"RestrictiveResourceId",
4561+
"documentation":"<p>The ID of the visual that you want to embed. The <code>VisualID</code> can be found in the <code>IDs for developers</code> section of the <code>Embed visual</code> pane of the visual's on-visual menu of the Amazon QuickSight console.</p>"
4562+
}
4563+
},
4564+
"documentation":"<p>A structure that contains the following elements:</p> <ul> <li> <p>The <code>DashboardId</code> of the dashboard that has the visual that you want to embed.</p> </li> <li> <p>The <code>SheetId</code> of the sheet that has the visual that you want to embed.</p> </li> <li> <p>The <code>VisualId</code> of the visual that you want to embed.</p> </li> </ul> <p>The <code>DashboardId</code>, <code>SheetId</code>, and <code>VisualId</code> can be found in the <code>IDs for developers</code> section of the <code>Embed visual</code> pane of the visual's on-visual menu of the Amazon QuickSight console. You can also get the <code>DashboardId</code> with a <code>ListDashboards</code> API operation.</p>"
4565+
},
45284566
"DataColorPalette":{
45294567
"type":"structure",
45304568
"members":{
@@ -7403,7 +7441,7 @@
74037441
},
74047442
"ExperienceConfiguration":{
74057443
"shape":"RegisteredUserEmbeddingExperienceConfiguration",
7406-
"documentation":"<p>The experience you are embedding. For registered users, you can embed Amazon QuickSight dashboards or the entire Amazon QuickSight console.</p>"
7444+
"documentation":"<p>The experience you are embedding. For registered users, you can embed Amazon QuickSight dashboards, Amazon QuickSight visuals, the Amazon QuickSight Q search bar, or the entire Amazon QuickSight console.</p>"
74077445
},
74087446
"AllowedDomains":{
74097447
"shape":"StringList",
@@ -7421,7 +7459,7 @@
74217459
"members":{
74227460
"EmbedUrl":{
74237461
"shape":"EmbeddingUrl",
7424-
"documentation":"<p>The embed URL for the Amazon QuickSight dashboard or console.</p>"
7462+
"documentation":"<p>The embed URL for the Amazon QuickSight dashboard, visual, Q search bar, or console.</p>"
74257463
},
74267464
"Status":{
74277465
"shape":"StatusCode",
@@ -9980,6 +10018,17 @@
998010018
},
998110019
"documentation":"<p>Information about the dashboard you want to embed.</p>"
998210020
},
10021+
"RegisteredUserDashboardVisualEmbeddingConfiguration":{
10022+
"type":"structure",
10023+
"required":["InitialDashboardVisualId"],
10024+
"members":{
10025+
"InitialDashboardVisualId":{
10026+
"shape":"DashboardVisualId",
10027+
"documentation":"<p>The visual ID for the visual that you want the user to embed. This ID is included in the output URL. When the URL in response is accessed, Amazon QuickSight renders this visual.</p> <p>The Amazon Resource Name (ARN) of the dashboard that the visual belongs to must be included in the <code>AuthorizedResourceArns</code> parameter. Otherwise, the request will fail with <code>InvalidParameterValueException</code>.</p>"
10028+
}
10029+
},
10030+
"documentation":"<p>The experience that you are embedding. You can use this object to generate a url that embeds a visual into your application.</p>"
10031+
},
998310032
"RegisteredUserEmbeddingExperienceConfiguration":{
998410033
"type":"structure",
998510034
"members":{
@@ -9994,6 +10043,10 @@
999410043
"QSearchBar":{
999510044
"shape":"RegisteredUserQSearchBarEmbeddingConfiguration",
999610045
"documentation":"<p>The configuration details for embedding the Q search bar.</p> <p>For more information about embedding the Q search bar, see <a href=\"https://docs.aws.amazon.com/quicksight/latest/user/embedding-overview.html\">Embedding Overview</a> in the <i>Amazon QuickSight User Guide</i>.</p>"
10046+
},
10047+
"DashboardVisual":{
10048+
"shape":"RegisteredUserDashboardVisualEmbeddingConfiguration",
10049+
"documentation":"<p>The type of embedding experience. In this case, Amazon QuickSight visuals.</p>"
999710050
}
999810051
},
999910052
"documentation":"<p>The type of experience you want to embed. For registered users, you can embed Amazon QuickSight dashboards or the Amazon QuickSight console.</p> <note> <p>Exactly one of the experience configurations is required. You can choose <code>Dashboard</code> or <code>QuickSightConsole</code>. You cannot choose more than one experience configuration.</p> </note>"

0 commit comments

Comments
 (0)