Struct aws_sdk_quicksight::input::GetSessionEmbedUrlInput
source · #[non_exhaustive]pub struct GetSessionEmbedUrlInput { /* private fields */ }Implementations§
source§impl GetSessionEmbedUrlInput
impl GetSessionEmbedUrlInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetSessionEmbedUrl, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetSessionEmbedUrl, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetSessionEmbedUrl>
Examples found in repository?
9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetSessionEmbedUrl,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetSessionEmbedUrlError>,
> {
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::GetSessionEmbedUrlOutput,
aws_smithy_http::result::SdkError<crate::error::GetSessionEmbedUrlError>,
> {
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 GetSessionEmbedUrlInput.
source§impl GetSessionEmbedUrlInput
impl GetSessionEmbedUrlInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID for the Amazon Web Services account associated with your Amazon QuickSight subscription.
sourcepub fn entry_point(&self) -> Option<&str>
pub fn entry_point(&self) -> Option<&str>
The URL you use to access the embedded session. The entry point URL is constrained to the following paths:
-
/start -
/start/analyses -
/start/dashboards -
/start/favorites -
/dashboards/DashboardId- whereDashboardIdis the actual ID key from the Amazon QuickSight console URL of the dashboard -
/analyses/AnalysisId- whereAnalysisIdis the actual ID key from the Amazon QuickSight console URL of the analysis
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 15-600 minutes.
sourcepub fn user_arn(&self) -> Option<&str>
pub fn user_arn(&self) -> Option<&str>
The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT identity type. You can use this for any type of Amazon QuickSight users in your account (readers, authors, or admins). They need to be authenticated as one of the following:
-
Active Directory (AD) users or group members
-
Invited nonfederated users
-
Identity and Access Management (IAM) users and IAM role-based sessions authenticated through Federated Single Sign-On using SAML, OpenID Connect, or IAM federation
Omit this parameter for users in the third group, IAM users and IAM role-based sessions.
Trait Implementations§
source§impl Clone for GetSessionEmbedUrlInput
impl Clone for GetSessionEmbedUrlInput
source§fn clone(&self) -> GetSessionEmbedUrlInput
fn clone(&self) -> GetSessionEmbedUrlInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more