#[non_exhaustive]pub struct GenerateEmbedUrlForAnonymousUserInput { /* private fields */ }Implementations§
source§impl GenerateEmbedUrlForAnonymousUserInput
impl GenerateEmbedUrlForAnonymousUserInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GenerateEmbedUrlForAnonymousUser, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GenerateEmbedUrlForAnonymousUser, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GenerateEmbedUrlForAnonymousUser>
Examples found in repository?
8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GenerateEmbedUrlForAnonymousUser,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GenerateEmbedUrlForAnonymousUserError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::GenerateEmbedUrlForAnonymousUserOutput,
aws_smithy_http::result::SdkError<crate::error::GenerateEmbedUrlForAnonymousUserError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GenerateEmbedUrlForAnonymousUserInput.
source§impl GenerateEmbedUrlForAnonymousUserInput
impl GenerateEmbedUrlForAnonymousUserInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID for the Amazon Web Services account that contains the dashboard that you're embedding.
sourcepub fn session_lifetime_in_minutes(&self) -> Option<i64>
pub fn session_lifetime_in_minutes(&self) -> Option<i64>
How many minutes the session is valid. The session lifetime must be in [15-600] minutes range.
sourcepub fn namespace(&self) -> Option<&str>
pub fn namespace(&self) -> Option<&str>
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.
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 Tagsin the Amazon QuickSight User Guide.
The Amazon Resource Names (ARNs) 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
) -> Option<&AnonymousUserEmbeddingExperienceConfiguration>
pub fn experience_configuration(
&self
) -> Option<&AnonymousUserEmbeddingExperienceConfiguration>
The configuration of the experience that you are embedding.
sourcepub fn allowed_domains(&self) -> Option<&[String]>
pub fn allowed_domains(&self) -> Option<&[String]>
The domains that you want to add to the allow list for access to the generated URL that is then embedded. This optional parameter overrides the static domains that are configured in the Manage QuickSight menu in the Amazon QuickSight console. Instead, it allows only the domains that you include in this parameter. You can list up to three domains or subdomains in each API call.
To include all subdomains under a specific domain to the allow list, use *. For example, https://*.sapp.amazon.com includes all subdomains under https://sapp.amazon.com.
Trait Implementations§
source§impl Clone for GenerateEmbedUrlForAnonymousUserInput
impl Clone for GenerateEmbedUrlForAnonymousUserInput
source§fn clone(&self) -> GenerateEmbedUrlForAnonymousUserInput
fn clone(&self) -> GenerateEmbedUrlForAnonymousUserInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more