pub struct Builder { /* private fields */ }
Expand description

Implementations§

The ID for the Amazon Web Services account that contains the dashboard that you're embedding.

Examples found in repository?
src/client.rs (line 9329)
9328
9329
9330
9331
        pub fn aws_account_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.aws_account_id(input.into());
            self
        }

The ID for the Amazon Web Services account that contains the dashboard that you're embedding.

Examples found in repository?
src/client.rs (line 9337)
9333
9334
9335
9336
9337
9338
9339
        pub fn set_aws_account_id(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.inner = self.inner.set_aws_account_id(input);
            self
        }

The ID for the dashboard, also added to the Identity and Access Management (IAM) policy.

Examples found in repository?
src/client.rs (line 9342)
9341
9342
9343
9344
        pub fn dashboard_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.dashboard_id(input.into());
            self
        }

The ID for the dashboard, also added to the Identity and Access Management (IAM) policy.

Examples found in repository?
src/client.rs (line 9347)
9346
9347
9348
9349
        pub fn set_dashboard_id(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_dashboard_id(input);
            self
        }

The authentication method that the user uses to sign in.

Examples found in repository?
src/client.rs (line 9352)
9351
9352
9353
9354
        pub fn identity_type(mut self, input: crate::model::EmbeddingIdentityType) -> Self {
            self.inner = self.inner.identity_type(input);
            self
        }

The authentication method that the user uses to sign in.

Examples found in repository?
src/client.rs (line 9360)
9356
9357
9358
9359
9360
9361
9362
        pub fn set_identity_type(
            mut self,
            input: std::option::Option<crate::model::EmbeddingIdentityType>,
        ) -> Self {
            self.inner = self.inner.set_identity_type(input);
            self
        }

How many minutes the session is valid. The session lifetime must be 15-600 minutes.

Examples found in repository?
src/client.rs (line 9365)
9364
9365
9366
9367
        pub fn session_lifetime_in_minutes(mut self, input: i64) -> Self {
            self.inner = self.inner.session_lifetime_in_minutes(input);
            self
        }

How many minutes the session is valid. The session lifetime must be 15-600 minutes.

Examples found in repository?
src/client.rs (line 9370)
9369
9370
9371
9372
        pub fn set_session_lifetime_in_minutes(mut self, input: std::option::Option<i64>) -> Self {
            self.inner = self.inner.set_session_lifetime_in_minutes(input);
            self
        }

Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables the undo/redo button.

Examples found in repository?
src/client.rs (line 9375)
9374
9375
9376
9377
        pub fn undo_redo_disabled(mut self, input: bool) -> Self {
            self.inner = self.inner.undo_redo_disabled(input);
            self
        }

Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables the undo/redo button.

Examples found in repository?
src/client.rs (line 9380)
9379
9380
9381
9382
        pub fn set_undo_redo_disabled(mut self, input: std::option::Option<bool>) -> Self {
            self.inner = self.inner.set_undo_redo_disabled(input);
            self
        }

Remove the reset button on the embedded dashboard. The default is FALSE, which enables the reset button.

Examples found in repository?
src/client.rs (line 9385)
9384
9385
9386
9387
        pub fn reset_disabled(mut self, input: bool) -> Self {
            self.inner = self.inner.reset_disabled(input);
            self
        }

Remove the reset button on the embedded dashboard. The default is FALSE, which enables the reset button.

Examples found in repository?
src/client.rs (line 9390)
9389
9390
9391
9392
        pub fn set_reset_disabled(mut self, input: std::option::Option<bool>) -> Self {
            self.inner = self.inner.set_reset_disabled(input);
            self
        }

Adds persistence of state for the user session in an embedded dashboard. Persistence applies to the sheet and the parameter settings. These are control settings that the dashboard subscriber (Amazon QuickSight reader) chooses while viewing the dashboard. If this is set to TRUE, the settings are the same when the subscriber reopens the same dashboard URL. The state is stored in Amazon QuickSight, not in a browser cookie. If this is set to FALSE, the state of the user session is not persisted. The default is FALSE.

Examples found in repository?
src/client.rs (line 9395)
9394
9395
9396
9397
        pub fn state_persistence_enabled(mut self, input: bool) -> Self {
            self.inner = self.inner.state_persistence_enabled(input);
            self
        }

Adds persistence of state for the user session in an embedded dashboard. Persistence applies to the sheet and the parameter settings. These are control settings that the dashboard subscriber (Amazon QuickSight reader) chooses while viewing the dashboard. If this is set to TRUE, the settings are the same when the subscriber reopens the same dashboard URL. The state is stored in Amazon QuickSight, not in a browser cookie. If this is set to FALSE, the state of the user session is not persisted. The default is FALSE.

Examples found in repository?
src/client.rs (line 9400)
9399
9400
9401
9402
        pub fn set_state_persistence_enabled(mut self, input: std::option::Option<bool>) -> Self {
            self.inner = self.inner.set_state_persistence_enabled(input);
            self
        }

The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT identity type. You can use this for any Amazon QuickSight users in your account (readers, authors, or admins) authenticated as one of the following:

  • Active Directory (AD) users or group members

  • Invited nonfederated users

  • 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.

Examples found in repository?
src/client.rs (line 9411)
9410
9411
9412
9413
        pub fn user_arn(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.user_arn(input.into());
            self
        }

The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT identity type. You can use this for any Amazon QuickSight users in your account (readers, authors, or admins) authenticated as one of the following:

  • Active Directory (AD) users or group members

  • Invited nonfederated users

  • 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.

Examples found in repository?
src/client.rs (line 9422)
9421
9422
9423
9424
        pub fn set_user_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_user_arn(input);
            self
        }

The Amazon QuickSight namespace that contains the dashboard IDs in this request. If you're not using a custom namespace, set Namespace = default.

Examples found in repository?
src/client.rs (line 9427)
9426
9427
9428
9429
        pub fn namespace(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.namespace(input.into());
            self
        }

The Amazon QuickSight namespace that contains the dashboard IDs in this request. If you're not using a custom namespace, set Namespace = default.

Examples found in repository?
src/client.rs (line 9432)
9431
9432
9433
9434
        pub fn set_namespace(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_namespace(input);
            self
        }

Appends an item to additional_dashboard_ids.

To override the contents of this collection use set_additional_dashboard_ids.

A list of one or more dashboard IDs that you want anonymous users to have tempporary access to. Currently, the IdentityType parameter must be set to ANONYMOUS because other identity types authenticate as Amazon QuickSight or IAM users. For example, if you set "--dashboard-id dash_id1 --dashboard-id dash_id2 dash_id3 identity-type ANONYMOUS", the session can access all three dashboards.

Examples found in repository?
src/client.rs (line 9441)
9440
9441
9442
9443
        pub fn additional_dashboard_ids(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.additional_dashboard_ids(input.into());
            self
        }

A list of one or more dashboard IDs that you want anonymous users to have tempporary access to. Currently, the IdentityType parameter must be set to ANONYMOUS because other identity types authenticate as Amazon QuickSight or IAM users. For example, if you set "--dashboard-id dash_id1 --dashboard-id dash_id2 dash_id3 identity-type ANONYMOUS", the session can access all three dashboards.

Examples found in repository?
src/client.rs (line 9449)
9445
9446
9447
9448
9449
9450
9451
        pub fn set_additional_dashboard_ids(
            mut self,
            input: std::option::Option<std::vec::Vec<std::string::String>>,
        ) -> Self {
            self.inner = self.inner.set_additional_dashboard_ids(input);
            self
        }

Consumes the builder and constructs a GetDashboardEmbedUrlInput.

Examples found in repository?
src/client.rs (line 9296)
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
        pub async fn customize(
            self,
        ) -> std::result::Result<
            crate::operation::customize::CustomizableOperation<
                crate::operation::GetDashboardEmbedUrl,
                aws_http::retry::AwsResponseRetryClassifier,
            >,
            aws_smithy_http::result::SdkError<crate::error::GetDashboardEmbedUrlError>,
        > {
            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::GetDashboardEmbedUrlOutput,
            aws_smithy_http::result::SdkError<crate::error::GetDashboardEmbedUrlError>,
        > {
            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
        }

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more