#[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 ==.impl StructuralPartialEq for CreateThemeInput
Auto Trait Implementations§
impl Freeze for CreateThemeInput
impl RefUnwindSafe for CreateThemeInput
impl Send for CreateThemeInput
impl Sync for CreateThemeInput
impl Unpin for CreateThemeInput
impl UnwindSafe for CreateThemeInput
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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 more