generate_embed_url_for_registered_user_with_identity
async
¶
generate_embed_url_for_registered_user_with_identity(
aws_account_id: AwsAccountId,
experience_configuration: RegisteredUserEmbeddingExperienceConfiguration,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
session_lifetime_in_minutes: Optional[SessionLifetimeInMinutes] = None,
allowed_domains: Optional[StringList] = None,
) -> GenerateEmbedUrlForRegisteredUserWithIdentityResponse
Generates an embed URL that you can use to embed an Amazon Quick Sight experience in your website. This action can be used for any type of user that is registered in an Amazon Quick Sight account that uses IAM Identity Center for authentication. This API requires identity-enhanced IAM Role sessions for the authenticated user that the API call is being made for.
This API uses trusted identity propagation to ensure that an end user is authenticated and receives the embed URL that is specific to that user. The IAM Identity Center application that the user has logged into needs to have trusted Identity Propagation enabled for Amazon Quick Sight with the scope value set to quicksight:read. Before you use this action, make sure that you have configured the relevant Amazon Quick Sight resource and permissions.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services registered user.
-
session_lifetime_in_minutes(Optional[SessionLifetimeInMinutes], default:None) –The validity of the session in minutes.
-
allowed_domains(Optional[StringList], default:None) –A list of domains to be allowed to generate the embed URL.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
QuickSightUserNotFoundException–The user with the provided name isn't found. This error can happen in any operation that requires finding a user based on a provided user name, such as
DeleteUser,DescribeUser, and so on. -
ResourceNotFoundException–One or more resources can't be found.
-
SessionLifetimeInMinutesInvalidException–The number of minutes specified for the lifetime of a session isn't valid. The session lifetime must be 15-600 minutes.
-
ThrottlingException–Access is throttled.
-
UnsupportedPricingPlanException–This error indicates that you are calling an embedding operation in Amazon Quick Sight without the required pricing plan on your Amazon Web Services account. Before you can use embedding for anonymous users, a Quick Suite administrator needs to add capacity pricing to Quick Sight. You can do this on the Manage Quick Suite page.
After capacity pricing is added, you can use the
GetDashboardEmbedUrlAPI operation with the--identity-type ANONYMOUSoption. -
UnsupportedUserEditionException–This error indicates that you are calling an operation on an Amazon Quick Suite subscription where the edition doesn't include support for that operation. Amazon Quick Suite currently has Standard Edition and Enterprise Edition. Not every operation and capability is available in every edition.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/async_quick_sight.py
11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 | |