#[non_exhaustive]pub struct RegisteredUserEmbeddingExperienceConfiguration {
pub dashboard: Option<RegisteredUserDashboardEmbeddingConfiguration>,
pub quick_sight_console: Option<RegisteredUserQuickSightConsoleEmbeddingConfiguration>,
pub q_search_bar: Option<RegisteredUserQSearchBarEmbeddingConfiguration>,
pub dashboard_visual: Option<RegisteredUserDashboardVisualEmbeddingConfiguration>,
pub generative_qn_a: Option<RegisteredUserGenerativeQnAEmbeddingConfiguration>,
pub quick_chat: Option<RegisteredUserQuickChatEmbeddingConfiguration>,
}Expand description
The type of experience you want to embed. For registered users, you can embed Quick dashboards or the Amazon Quick Sight console.
Exactly one of the experience configurations is required. You can choose Dashboard or QuickSightConsole. You cannot choose more than one experience configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.dashboard: Option<RegisteredUserDashboardEmbeddingConfiguration>The configuration details for providing a dashboard embedding experience.
quick_sight_console: Option<RegisteredUserQuickSightConsoleEmbeddingConfiguration>The configuration details for providing each Amazon Quick Sight console embedding experience. This can be used along with custom permissions to restrict access to certain features. For more information, see Customizing Access to the Amazon Quick Sight Console in the Amazon Quick User Guide.
Use GenerateEmbedUrlForRegisteredUser where you want to provide an authoring portal that allows users to create data sources, datasets, analyses, and dashboards. The users who accesses an embedded Amazon Quick Sight console needs to belong to the author or admin security cohort. If you want to restrict permissions to some of these features, add a custom permissions profile to the user with the UpdateUser API operation. Use the RegisterUser API operation to add a new user with a custom permission profile attached. For more information, see the following sections in the Amazon Quick 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 Quick Developer Portal.
q_search_bar: Option<RegisteredUserQSearchBarEmbeddingConfiguration>The configuration details for embedding the Q search bar.
For more information about embedding the Q search bar, see Embedding Overview in the Amazon Quick Sight User Guide.
dashboard_visual: Option<RegisteredUserDashboardVisualEmbeddingConfiguration>The type of embedding experience. In this case, Amazon Quick Sight visuals.
generative_qn_a: Option<RegisteredUserGenerativeQnAEmbeddingConfiguration>The configuration details for embedding the Generative Q&A experience.
For more information about embedding the Generative Q&A experience, see Embedding Overview in the Amazon Quick Sight User Guide.
quick_chat: Option<RegisteredUserQuickChatEmbeddingConfiguration>The configuration details for embedding the Quick chat agent.
Implementations§
Source§impl RegisteredUserEmbeddingExperienceConfiguration
impl RegisteredUserEmbeddingExperienceConfiguration
Sourcepub fn dashboard(
&self,
) -> Option<&RegisteredUserDashboardEmbeddingConfiguration>
pub fn dashboard( &self, ) -> Option<&RegisteredUserDashboardEmbeddingConfiguration>
The configuration details for providing a dashboard embedding experience.
Sourcepub fn quick_sight_console(
&self,
) -> Option<&RegisteredUserQuickSightConsoleEmbeddingConfiguration>
pub fn quick_sight_console( &self, ) -> Option<&RegisteredUserQuickSightConsoleEmbeddingConfiguration>
The configuration details for providing each Amazon Quick Sight console embedding experience. This can be used along with custom permissions to restrict access to certain features. For more information, see Customizing Access to the Amazon Quick Sight Console in the Amazon Quick User Guide.
Use GenerateEmbedUrlForRegisteredUser where you want to provide an authoring portal that allows users to create data sources, datasets, analyses, and dashboards. The users who accesses an embedded Amazon Quick Sight console needs to belong to the author or admin security cohort. If you want to restrict permissions to some of these features, add a custom permissions profile to the user with the UpdateUser API operation. Use the RegisterUser API operation to add a new user with a custom permission profile attached. For more information, see the following sections in the Amazon Quick 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 Quick Developer Portal.
Sourcepub fn q_search_bar(
&self,
) -> Option<&RegisteredUserQSearchBarEmbeddingConfiguration>
pub fn q_search_bar( &self, ) -> Option<&RegisteredUserQSearchBarEmbeddingConfiguration>
The configuration details for embedding the Q search bar.
For more information about embedding the Q search bar, see Embedding Overview in the Amazon Quick Sight User Guide.
Sourcepub fn dashboard_visual(
&self,
) -> Option<&RegisteredUserDashboardVisualEmbeddingConfiguration>
pub fn dashboard_visual( &self, ) -> Option<&RegisteredUserDashboardVisualEmbeddingConfiguration>
The type of embedding experience. In this case, Amazon Quick Sight visuals.
Sourcepub fn generative_qn_a(
&self,
) -> Option<&RegisteredUserGenerativeQnAEmbeddingConfiguration>
pub fn generative_qn_a( &self, ) -> Option<&RegisteredUserGenerativeQnAEmbeddingConfiguration>
The configuration details for embedding the Generative Q&A experience.
For more information about embedding the Generative Q&A experience, see Embedding Overview in the Amazon Quick Sight User Guide.
Sourcepub fn quick_chat(
&self,
) -> Option<&RegisteredUserQuickChatEmbeddingConfiguration>
pub fn quick_chat( &self, ) -> Option<&RegisteredUserQuickChatEmbeddingConfiguration>
The configuration details for embedding the Quick chat agent.
Source§impl RegisteredUserEmbeddingExperienceConfiguration
impl RegisteredUserEmbeddingExperienceConfiguration
Sourcepub fn builder() -> RegisteredUserEmbeddingExperienceConfigurationBuilder
pub fn builder() -> RegisteredUserEmbeddingExperienceConfigurationBuilder
Creates a new builder-style object to manufacture RegisteredUserEmbeddingExperienceConfiguration.
Trait Implementations§
Source§impl Clone for RegisteredUserEmbeddingExperienceConfiguration
impl Clone for RegisteredUserEmbeddingExperienceConfiguration
Source§fn clone(&self) -> RegisteredUserEmbeddingExperienceConfiguration
fn clone(&self) -> RegisteredUserEmbeddingExperienceConfiguration
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl PartialEq for RegisteredUserEmbeddingExperienceConfiguration
impl PartialEq for RegisteredUserEmbeddingExperienceConfiguration
Source§fn eq(&self, other: &RegisteredUserEmbeddingExperienceConfiguration) -> bool
fn eq(&self, other: &RegisteredUserEmbeddingExperienceConfiguration) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegisteredUserEmbeddingExperienceConfiguration
Auto Trait Implementations§
impl Freeze for RegisteredUserEmbeddingExperienceConfiguration
impl RefUnwindSafe for RegisteredUserEmbeddingExperienceConfiguration
impl Send for RegisteredUserEmbeddingExperienceConfiguration
impl Sync for RegisteredUserEmbeddingExperienceConfiguration
impl Unpin for RegisteredUserEmbeddingExperienceConfiguration
impl UnsafeUnpin for RegisteredUserEmbeddingExperienceConfiguration
impl UnwindSafe for RegisteredUserEmbeddingExperienceConfiguration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the foreground set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red() and
green(), which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg():
use yansi::{Paint, Color};
painted.fg(Color::White);Set foreground color to white using white().
use yansi::Paint;
painted.white();Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the background set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red() and
on_green(), which have the same functionality but
are pithier.
§Example
Set background color to red using fg():
use yansi::{Paint, Color};
painted.bg(Color::Red);Set background color to red using on_red().
use yansi::Paint;
painted.on_red();Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute value.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold() and
underline(), which have the same functionality
but are pithier.
§Example
Make text bold using attr():
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);Make text bold using using bold().
use yansi::Paint;
painted.bold();Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi Quirk value.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask() and
wrap(), which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk():
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);Enable wrapping using wrap().
use yansi::Paint;
painted.wrap();Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.
fn clear(&self) -> Painted<&T>
renamed to resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.
Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted only when both stdout and stderr are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);