aws_sdk_quicksight/client/get_session_embed_url.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetSessionEmbedUrl`](crate::operation::get_session_embed_url::builders::GetSessionEmbedUrlFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`aws_account_id(impl Into<String>)`](crate::operation::get_session_embed_url::builders::GetSessionEmbedUrlFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::get_session_embed_url::builders::GetSessionEmbedUrlFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID for the Amazon Web Services account associated with your Amazon Quick Sight subscription.</p><br>
7 /// - [`entry_point(impl Into<String>)`](crate::operation::get_session_embed_url::builders::GetSessionEmbedUrlFluentBuilder::entry_point) / [`set_entry_point(Option<String>)`](crate::operation::get_session_embed_url::builders::GetSessionEmbedUrlFluentBuilder::set_entry_point):<br>required: **false**<br><p>The URL you use to access the embedded session. The entry point URL is constrained to the following paths:</p> <ul> <li> <p><code>/start</code></p></li> <li> <p><code>/start/analyses</code></p></li> <li> <p><code>/start/dashboards</code></p></li> <li> <p><code>/start/favorites</code></p></li> <li> <p><code>/dashboards/<i>DashboardId</i> </code> - where <code>DashboardId</code> is the actual ID key from the Amazon Quick Sight console URL of the dashboard</p></li> <li> <p><code>/analyses/<i>AnalysisId</i> </code> - where <code>AnalysisId</code> is the actual ID key from the Amazon Quick Sight console URL of the analysis</p></li> </ul><br>
8 /// - [`session_lifetime_in_minutes(i64)`](crate::operation::get_session_embed_url::builders::GetSessionEmbedUrlFluentBuilder::session_lifetime_in_minutes) / [`set_session_lifetime_in_minutes(Option<i64>)`](crate::operation::get_session_embed_url::builders::GetSessionEmbedUrlFluentBuilder::set_session_lifetime_in_minutes):<br>required: **false**<br><p>How many minutes the session is valid. The session lifetime must be 15-600 minutes.</p><br>
9 /// - [`user_arn(impl Into<String>)`](crate::operation::get_session_embed_url::builders::GetSessionEmbedUrlFluentBuilder::user_arn) / [`set_user_arn(Option<String>)`](crate::operation::get_session_embed_url::builders::GetSessionEmbedUrlFluentBuilder::set_user_arn):<br>required: **false**<br><p>The Amazon Quick Suite user's Amazon Resource Name (ARN), for use with <code>QUICKSIGHT</code> identity type. You can use this for any type of Amazon Quick Suite users in your account (readers, authors, or admins). They need to be authenticated as one of the following:</p> <ol> <li> <p>Active Directory (AD) users or group members</p></li> <li> <p>Invited nonfederated users</p></li> <li> <p>IAM users and IAM role-based sessions authenticated through Federated Single Sign-On using SAML, OpenID Connect, or IAM federation</p></li> </ol> <p>Omit this parameter for users in the third group, IAM users and IAM role-based sessions.</p><br>
10 /// - On success, responds with [`GetSessionEmbedUrlOutput`](crate::operation::get_session_embed_url::GetSessionEmbedUrlOutput) with field(s):
11 /// - [`embed_url(Option<String>)`](crate::operation::get_session_embed_url::GetSessionEmbedUrlOutput::embed_url): <p>A single-use URL that you can put into your server-side web page to embed your Quick Suite session. This URL is valid for 5 minutes. The API operation provides the URL with an <code>auth_code</code> value that enables one (and only one) sign-on to a user session that is valid for 10 hours.</p>
12 /// - [`status(i32)`](crate::operation::get_session_embed_url::GetSessionEmbedUrlOutput::status): <p>The HTTP status of the request.</p>
13 /// - [`request_id(Option<String>)`](crate::operation::get_session_embed_url::GetSessionEmbedUrlOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
14 /// - On failure, responds with [`SdkError<GetSessionEmbedUrlError>`](crate::operation::get_session_embed_url::GetSessionEmbedUrlError)
15 pub fn get_session_embed_url(&self) -> crate::operation::get_session_embed_url::builders::GetSessionEmbedUrlFluentBuilder {
16 crate::operation::get_session_embed_url::builders::GetSessionEmbedUrlFluentBuilder::new(self.handle.clone())
17 }
18}