Struct aws_sdk_quicksight::client::fluent_builders::CreateTheme
source · [−]pub struct CreateTheme { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateTheme
.
Creates a theme.
A theme is set of configuration options for color and layout. Themes apply to analyses and dashboards. For more information, see Using Themes in Amazon QuickSight in the Amazon QuickSight User Guide.
Implementations
sourceimpl CreateTheme
impl CreateTheme
sourcepub async fn send(self) -> Result<CreateThemeOutput, SdkError<CreateThemeError>>
pub async fn send(self) -> Result<CreateThemeOutput, SdkError<CreateThemeError>>
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, which can be set when configuring the client.
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account where you want to store the new theme.
sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account where you want to store the new theme.
sourcepub fn theme_id(self, input: impl Into<String>) -> Self
pub fn theme_id(self, input: impl Into<String>) -> Self
An ID for the theme that you want to create. The theme ID is unique per Amazon Web Services Region in each Amazon Web Services account.
sourcepub fn set_theme_id(self, input: Option<String>) -> Self
pub fn set_theme_id(self, input: Option<String>) -> Self
An ID for the theme that you want to create. The theme ID is unique per Amazon Web Services Region in each Amazon Web Services account.
sourcepub fn base_theme_id(self, input: impl Into<String>) -> Self
pub fn base_theme_id(self, input: impl Into<String>) -> Self
The ID of the theme that a custom theme will inherit from. All themes inherit from one of the starting themes defined by Amazon QuickSight. For a list of the starting themes, use ListThemes
or choose Themes from within an analysis.
sourcepub fn set_base_theme_id(self, input: Option<String>) -> Self
pub fn set_base_theme_id(self, input: Option<String>) -> Self
The ID of the theme that a custom theme will inherit from. All themes inherit from one of the starting themes defined by Amazon QuickSight. For a list of the starting themes, use ListThemes
or choose Themes from within an analysis.
sourcepub fn version_description(self, input: impl Into<String>) -> Self
pub fn version_description(self, input: impl Into<String>) -> Self
A description of the first version of the theme that you're creating. Every time UpdateTheme
is called, a new version is created. Each version of the theme has a description of the version in the VersionDescription
field.
sourcepub fn set_version_description(self, input: Option<String>) -> Self
pub fn set_version_description(self, input: Option<String>) -> Self
A description of the first version of the theme that you're creating. Every time UpdateTheme
is called, a new version is created. Each version of the theme has a description of the version in the VersionDescription
field.
sourcepub fn configuration(self, input: ThemeConfiguration) -> Self
pub fn configuration(self, input: ThemeConfiguration) -> Self
The theme configuration, which contains the theme display properties.
sourcepub fn set_configuration(self, input: Option<ThemeConfiguration>) -> Self
pub fn set_configuration(self, input: Option<ThemeConfiguration>) -> Self
The theme configuration, which contains the theme display properties.
sourcepub fn permissions(self, input: ResourcePermission) -> Self
pub fn permissions(self, input: ResourcePermission) -> Self
Appends an item to Permissions
.
To override the contents of this collection use set_permissions
.
A valid grouping of resource permissions to apply to the new theme.
sourcepub fn set_permissions(self, input: Option<Vec<ResourcePermission>>) -> Self
pub fn set_permissions(self, input: Option<Vec<ResourcePermission>>) -> Self
A valid grouping of resource permissions to apply to the new theme.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
Trait Implementations
sourceimpl Clone for CreateTheme
impl Clone for CreateTheme
sourcefn clone(&self) -> CreateTheme
fn clone(&self) -> CreateTheme
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for CreateTheme
impl Send for CreateTheme
impl Sync for CreateTheme
impl Unpin for CreateTheme
impl !UnwindSafe for CreateTheme
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more