Skip to content

Commit 81e0b38

Browse files
author
AWS
committed
Amazon QuickSight Update: Support for embedding without user registration. New enum EmbeddingIdentityType. A potential breaking change. Affects code that refers IdentityType enum type directly instead of literal string value.
1 parent 501a811 commit 81e0b38

File tree

2 files changed

+52
-4
lines changed

2 files changed

+52
-4
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": "Support for embedding without user registration. New enum EmbeddingIdentityType. A potential breaking change. Affects code that refers IdentityType enum type directly instead of literal string value."
6+
}

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

Lines changed: 46 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,7 @@
977977
{"shape":"IdentityTypeNotSupportedException"},
978978
{"shape":"SessionLifetimeInMinutesInvalidException"},
979979
{"shape":"UnsupportedUserEditionException"},
980+
{"shape":"UnsupportedPricingPlanException"},
980981
{"shape":"InternalFailureException"}
981982
],
982983
"documentation":"<p>Generates a session URL and authorization code that you can use to embed an Amazon QuickSight read-only dashboard in your web server code. Before you use this command, make sure that you have configured the dashboards and permissions. </p> <p>Currently, you can use <code>GetDashboardEmbedURL</code> only from the server, not from the user's browser. The following rules apply to the combination of URL and authorization code:</p> <ul> <li> <p>They must be used together.</p> </li> <li> <p>They can be used one time only.</p> </li> <li> <p>They are valid for 5 minutes after you run this command.</p> </li> <li> <p>The resulting user session is valid for 10 hours.</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/quicksight/latest/user/embedding-dashboards.html\">Embedding Amazon QuickSight</a> in the <i>Amazon QuickSight User Guide</i> .</p>"
@@ -1931,6 +1932,12 @@
19311932
},
19321933
"documentation":"<p>Ad hoc (one-time) filtering option.</p>"
19331934
},
1935+
"AdditionalDashboardIdList":{
1936+
"type":"list",
1937+
"member":{"shape":"RestrictiveResourceId"},
1938+
"max":20,
1939+
"min":1
1940+
},
19341941
"AliasName":{
19351942
"type":"string",
19361943
"max":2048,
@@ -3983,7 +3990,7 @@
39833990
},
39843991
"ColumnLevelPermissionRulesApplied":{
39853992
"shape":"Boolean",
3986-
"documentation":"<p>Indicates if the dataset has column level permission configured. </p>"
3993+
"documentation":"<p>Indicates if the dataset has column level permission configured.</p>"
39873994
}
39883995
},
39893996
"documentation":"<p>Dataset summary.</p>"
@@ -5938,6 +5945,14 @@
59385945
"ENTERPRISE"
59395946
]
59405947
},
5948+
"EmbeddingIdentityType":{
5949+
"type":"string",
5950+
"enum":[
5951+
"IAM",
5952+
"QUICKSIGHT",
5953+
"ANONYMOUS"
5954+
]
5955+
},
59415956
"EmbeddingUrl":{
59425957
"type":"string",
59435958
"sensitive":true
@@ -6076,7 +6091,7 @@
60766091
"locationName":"DashboardId"
60776092
},
60786093
"IdentityType":{
6079-
"shape":"IdentityType",
6094+
"shape":"EmbeddingIdentityType",
60806095
"documentation":"<p>The authentication method that the user uses to sign in.</p>",
60816096
"location":"querystring",
60826097
"locationName":"creds-type"
@@ -6110,8 +6125,21 @@
61106125
"documentation":"<p>The Amazon QuickSight user's Amazon Resource Name (ARN), for use with <code>QUICKSIGHT</code> identity type. You can use this for any Amazon QuickSight users in your account (readers, authors, or admins) authenticated as one of the following:</p> <ul> <li> <p>Active Directory (AD) users or group members</p> </li> <li> <p>Invited nonfederated users</p> </li> <li> <p>IAM users and IAM role-based sessions authenticated through Federated Single Sign-On using SAML, OpenID Connect, or IAM federation.</p> </li> </ul> <p>Omit this parameter for users in the third group – IAM users and IAM role-based sessions.</p>",
61116126
"location":"querystring",
61126127
"locationName":"user-arn"
6128+
},
6129+
"Namespace":{
6130+
"shape":"Namespace",
6131+
"documentation":"<p>The QuickSight namespace that contains the dashboard IDs in this request. If you're not using a custom namespace, set this to \"<code>default</code>\".</p>",
6132+
"location":"querystring",
6133+
"locationName":"namespace"
6134+
},
6135+
"AdditionalDashboardIds":{
6136+
"shape":"AdditionalDashboardIdList",
6137+
"documentation":"<p>A list of one or more dashboard ids that you want to add to a session that includes anonymous authorizations. <code>IdentityType</code> must be set to ANONYMOUS for this to work, because other other identity types authenticate as QuickSight users. For example, if you set \"<code>--dashboard-id dash_id1 --dashboard-id dash_id2 dash_id3 identity-type ANONYMOUS</code>\", the session can access all three dashboards. </p>",
6138+
"location":"querystring",
6139+
"locationName":"additional-dashboard-ids"
61136140
}
6114-
}
6141+
},
6142+
"documentation":"<p>Parameter input for the <code>GetDashboardEmbedUrl</code> operation.</p>"
61156143
},
61166144
"GetDashboardEmbedUrlResponse":{
61176145
"type":"structure",
@@ -6129,7 +6157,8 @@
61296157
"shape":"String",
61306158
"documentation":"<p>The AWS request ID for this operation.</p>"
61316159
}
6132-
}
6160+
},
6161+
"documentation":"<p>Output returned from the <code>GetDashboardEmbedUrl</code> operation.</p>"
61336162
},
61346163
"GetSessionEmbedUrlRequest":{
61356164
"type":"structure",
@@ -9619,6 +9648,19 @@
96199648
},
96209649
"documentation":"<p>The theme colors that apply to UI and to charts, excluding data colors. The colors description is a hexadecimal color code that consists of six alphanumerical characters, prefixed with <code>#</code>, for example #37BFF5. For more information, see <a href=\"https://docs.aws.amazon.com/quicksight/latest/user/themes-in-quicksight.html\">Using Themes in Amazon QuickSight</a> in the <i>Amazon QuickSight User Guide.</i> </p>"
96219650
},
9651+
"UnsupportedPricingPlanException":{
9652+
"type":"structure",
9653+
"members":{
9654+
"Message":{"shape":"String"},
9655+
"RequestId":{
9656+
"shape":"String",
9657+
"documentation":"<p>The AWS request ID for this request.</p>"
9658+
}
9659+
},
9660+
"documentation":"<p>This error indicates that you are calling an embedding operation in Amazon QuickSight without the required pricing plan on your AWS account. Before you can use anonymous embedding, a QuickSight administrator needs to add capacity pricing to QuickSight. You can do this on the <b>Manage QuickSight</b> page. </p> <p>After capacity pricing is added, you can enable anonymous embedding by using the <code> <a>GetDashboardEmbedUrl</a> </code> API operation with the <code>--identity-type ANONYMOUS</code> option.</p>",
9661+
"error":{"httpStatusCode":403},
9662+
"exception":true
9663+
},
96229664
"UnsupportedUserEditionException":{
96239665
"type":"structure",
96249666
"members":{

0 commit comments

Comments
 (0)