#[non_exhaustive]pub struct CreateThemeInput {
pub aws_account_id: Option<String>,
pub theme_id: Option<String>,
pub name: Option<String>,
pub base_theme_id: Option<String>,
pub version_description: Option<String>,
pub configuration: Option<ThemeConfiguration>,
pub permissions: Option<Vec<ResourcePermission>>,
pub tags: Option<Vec<Tag>>,
}
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.aws_account_id: Option<String>
The ID of the Amazon Web Services account where you want to store the new theme.
theme_id: Option<String>
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.
name: Option<String>
A display name for the theme.
base_theme_id: Option<String>
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.
version_description: Option<String>
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.
configuration: Option<ThemeConfiguration>
The theme configuration, which contains the theme display properties.
permissions: Option<Vec<ResourcePermission>>
A valid grouping of resource permissions to apply to the new theme.
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
Implementations§
source§impl CreateThemeInput
impl CreateThemeInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account where you want to store the new theme.
sourcepub fn theme_id(&self) -> Option<&str>
pub fn theme_id(&self) -> Option<&str>
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) -> Option<&str>
pub fn base_theme_id(&self) -> Option<&str>
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) -> Option<&str>
pub fn version_description(&self) -> Option<&str>
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) -> Option<&ThemeConfiguration>
pub fn configuration(&self) -> Option<&ThemeConfiguration>
The theme configuration, which contains the theme display properties.
sourcepub fn permissions(&self) -> &[ResourcePermission]
pub fn permissions(&self) -> &[ResourcePermission]
A valid grouping of resource permissions to apply to the new theme.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .permissions.is_none()
.
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateThemeInput
impl CreateThemeInput
sourcepub fn builder() -> CreateThemeInputBuilder
pub fn builder() -> CreateThemeInputBuilder
Creates a new builder-style object to manufacture CreateThemeInput
.
Trait Implementations§
source§impl Clone for CreateThemeInput
impl Clone for CreateThemeInput
source§fn clone(&self) -> CreateThemeInput
fn clone(&self) -> CreateThemeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateThemeInput
impl Debug for CreateThemeInput
source§impl PartialEq for CreateThemeInput
impl PartialEq for CreateThemeInput
source§fn eq(&self, other: &CreateThemeInput) -> bool
fn eq(&self, other: &CreateThemeInput) -> bool
self
and other
values to be equal, and is used
by ==
.