pub struct GenerateEmbedUrlForAnonymousUser { /* private fields */ }
Expand description
Fluent builder constructing a request to GenerateEmbedUrlForAnonymousUser
.
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.
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 GenerateEmbedUrlForAnonymousUser
impl GenerateEmbedUrlForAnonymousUser
sourcepub async fn send(
self
) -> Result<GenerateEmbedUrlForAnonymousUserOutput, SdkError<GenerateEmbedUrlForAnonymousUserError>>
pub async fn send(
self
) -> Result<GenerateEmbedUrlForAnonymousUserOutput, SdkError<GenerateEmbedUrlForAnonymousUserError>>
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 namespace(self, input: impl Into<String>) -> Self
pub fn namespace(self, input: impl Into<String>) -> Self
The Amazon QuickSight namespace that the anonymous user virtually belongs to. If you are not using an Amazon QuickSight custom namespace, set this to default
.
sourcepub fn set_namespace(self, input: Option<String>) -> Self
pub fn set_namespace(self, input: Option<String>) -> Self
The Amazon QuickSight namespace that the anonymous user virtually belongs to. If you are not using an Amazon QuickSight custom namespace, set this to default
.
Appends an item to SessionTags
.
To override the contents of this collection use set_session_tags
.
The session tags used for row-level security. Before you use this parameter, make sure that you have configured the relevant datasets using the DataSet$RowLevelPermissionTagConfiguration
parameter so that session tags can be used to provide row-level security.
These are not the tags used for the Amazon Web Services resource tagging feature. For more information, see Using Row-Level Security (RLS) with Tags.
The session tags used for row-level security. Before you use this parameter, make sure that you have configured the relevant datasets using the DataSet$RowLevelPermissionTagConfiguration
parameter so that session tags can be used to provide row-level security.
These are not the tags used for the Amazon Web Services resource tagging feature. For more information, see Using Row-Level Security (RLS) with Tags.
Appends an item to AuthorizedResourceArns
.
To override the contents of this collection use set_authorized_resource_arns
.
The Amazon Resource Names for the Amazon QuickSight resources that the user is authorized to access during the lifetime of the session. If you choose Dashboard
embedding experience, pass the list of dashboard ARNs in the account that you want the user to be able to view. Currently, you can pass up to 25 dashboard ARNs in each API call.
The Amazon Resource Names for the Amazon QuickSight resources that the user is authorized to access during the lifetime of the session. If you choose Dashboard
embedding experience, pass the list of dashboard ARNs in the account that you want the user to be able to view. Currently, you can pass up to 25 dashboard ARNs in each API call.
sourcepub fn experience_configuration(
self,
input: AnonymousUserEmbeddingExperienceConfiguration
) -> Self
pub fn experience_configuration(
self,
input: AnonymousUserEmbeddingExperienceConfiguration
) -> Self
The configuration of the experience you are embedding.
sourcepub fn set_experience_configuration(
self,
input: Option<AnonymousUserEmbeddingExperienceConfiguration>
) -> Self
pub fn set_experience_configuration(
self,
input: Option<AnonymousUserEmbeddingExperienceConfiguration>
) -> Self
The configuration of the experience you are embedding.
Trait Implementations
sourceimpl Clone for GenerateEmbedUrlForAnonymousUser
impl Clone for GenerateEmbedUrlForAnonymousUser
sourcefn clone(&self) -> GenerateEmbedUrlForAnonymousUser
fn clone(&self) -> GenerateEmbedUrlForAnonymousUser
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 GenerateEmbedUrlForAnonymousUser
impl Send for GenerateEmbedUrlForAnonymousUser
impl Sync for GenerateEmbedUrlForAnonymousUser
impl Unpin for GenerateEmbedUrlForAnonymousUser
impl !UnwindSafe for GenerateEmbedUrlForAnonymousUser
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