pub struct GenerateEmbedUrlForRegisteredUser { /* 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
SessionLifetimeInMinutes
parameter.The resulting user session is valid for 15 minutes (minimum) to 10 hours (maximum). The default session duration is 10 hours.
-
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
sourceimpl GenerateEmbedUrlForRegisteredUser
impl GenerateEmbedUrlForRegisteredUser
sourcepub async fn send(
self
) -> Result<GenerateEmbedUrlForRegisteredUserOutput, SdkError<GenerateEmbedUrlForRegisteredUserError>>
pub async fn send(
self
) -> Result<GenerateEmbedUrlForRegisteredUserOutput, SdkError<GenerateEmbedUrlForRegisteredUserError>>
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.
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The ID for the Amazon Web Services account that contains the dashboard that you're embedding.
sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The ID for the Amazon Web Services account that contains the dashboard that you're embedding.
sourcepub fn session_lifetime_in_minutes(self, input: i64) -> Self
pub fn session_lifetime_in_minutes(self, input: i64) -> Self
How many minutes the session is valid. The session lifetime must be in [15-600] minutes range.
sourcepub fn set_session_lifetime_in_minutes(self, input: Option<i64>) -> Self
pub fn set_session_lifetime_in_minutes(self, input: Option<i64>) -> Self
How many minutes the session is valid. The session lifetime must be in [15-600] minutes range.
sourcepub fn user_arn(self, input: impl Into<String>) -> Self
pub fn user_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name for the registered user.
sourcepub fn set_user_arn(self, input: Option<String>) -> Self
pub fn set_user_arn(self, input: Option<String>) -> Self
The Amazon Resource Name for the registered user.
sourcepub 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.
sourcepub 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
sourceimpl Clone for GenerateEmbedUrlForRegisteredUser
impl Clone for GenerateEmbedUrlForRegisteredUser
sourcefn clone(&self) -> GenerateEmbedUrlForRegisteredUser
fn clone(&self) -> GenerateEmbedUrlForRegisteredUser
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for GenerateEmbedUrlForRegisteredUser
impl Send for GenerateEmbedUrlForRegisteredUser
impl Sync for GenerateEmbedUrlForRegisteredUser
impl Unpin for GenerateEmbedUrlForRegisteredUser
impl !UnwindSafe for GenerateEmbedUrlForRegisteredUser
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more