pub struct GenerateEmbedUrlForRegisteredUser<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to GenerateEmbedUrlForRegisteredUser.
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.
The following rules apply to the generated URL:
-
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.
-
The URL validity period should not be confused with the actual session lifetime that can be customized using the
SessionLifetimeInMinutesparameter.The resulting user session is valid for 15 minutes (default) to 10 hours (maximum).
-
You are charged only when the URL is used or there is interaction with Amazon QuickSight.
For more information, see Embedded Analytics in the Amazon QuickSight User Guide.
For more information about the high-level steps for embedding and for an interactive demo of the ways you can customize embedding, visit the Amazon QuickSight Developer Portal.
Implementations
impl<C, M, R> GenerateEmbedUrlForRegisteredUser<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GenerateEmbedUrlForRegisteredUser<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GenerateEmbedUrlForRegisteredUserOutput, SdkError<GenerateEmbedUrlForRegisteredUserError>> where
R::Policy: SmithyRetryPolicy<GenerateEmbedUrlForRegisteredUserInputOperationOutputAlias, GenerateEmbedUrlForRegisteredUserOutput, GenerateEmbedUrlForRegisteredUserError, GenerateEmbedUrlForRegisteredUserInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GenerateEmbedUrlForRegisteredUserOutput, SdkError<GenerateEmbedUrlForRegisteredUserError>> where
R::Policy: SmithyRetryPolicy<GenerateEmbedUrlForRegisteredUserInputOperationOutputAlias, GenerateEmbedUrlForRegisteredUserOutput, GenerateEmbedUrlForRegisteredUserError, GenerateEmbedUrlForRegisteredUserInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The ID for the Amazon Web Services account that contains the dashboard that you're embedding.
The ID for the Amazon Web Services account that contains the dashboard that you're embedding.
How many minutes the session is valid. The session lifetime must be in [15-600] minutes range.
How many minutes the session is valid. The session lifetime must be in [15-600] minutes range.
The Amazon Resource Name for the registered user.
The Amazon Resource Name for the registered user.
pub fn experience_configuration(
self,
input: RegisteredUserEmbeddingExperienceConfiguration
) -> Self
pub fn experience_configuration(
self,
input: RegisteredUserEmbeddingExperienceConfiguration
) -> Self
The experience you are embedding. For registered users, you can embed Amazon QuickSight dashboards or the entire Amazon QuickSight console.
pub fn set_experience_configuration(
self,
input: Option<RegisteredUserEmbeddingExperienceConfiguration>
) -> Self
pub fn set_experience_configuration(
self,
input: Option<RegisteredUserEmbeddingExperienceConfiguration>
) -> Self
The experience you are embedding. For registered users, you can embed Amazon QuickSight dashboards or the entire Amazon QuickSight console.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GenerateEmbedUrlForRegisteredUser<C, M, R>
impl<C, M, R> Send for GenerateEmbedUrlForRegisteredUser<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GenerateEmbedUrlForRegisteredUser<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GenerateEmbedUrlForRegisteredUser<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GenerateEmbedUrlForRegisteredUser<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more