#[non_exhaustive]pub struct UpdateTemplateInput {
pub aws_account_id: Option<String>,
pub template_id: Option<String>,
pub source_entity: Option<TemplateSourceEntity>,
pub version_description: Option<String>,
pub name: Option<String>,
pub definition: Option<TemplateVersionDefinition>,
pub validation_strategy: Option<ValidationStrategy>,
}
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 that contains the template that you're updating.
template_id: Option<String>
The ID for the template.
source_entity: Option<TemplateSourceEntity>
The entity that you are using as a source when you update the template. In SourceEntity
, you specify the type of object you're using as source: SourceTemplate
for a template or SourceAnalysis
for an analysis. Both of these require an Amazon Resource Name (ARN). For SourceTemplate
, specify the ARN of the source template. For SourceAnalysis
, specify the ARN of the source analysis. The SourceTemplate
ARN can contain any Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services Region;.
Use the DataSetReferences
entity within SourceTemplate
or SourceAnalysis
to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.
version_description: Option<String>
A description of the current template version that is being updated. Every time you call UpdateTemplate
, you create a new version of the template. Each version of the template maintains a description of the version in the VersionDescription
field.
name: Option<String>
The name for the template.
definition: Option<TemplateVersionDefinition>
The definition of a template.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
validation_strategy: Option<ValidationStrategy>
The option to relax the validation needed to update a template with definition objects. This skips the validation step for specific errors.
Implementations§
source§impl UpdateTemplateInput
impl UpdateTemplateInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that contains the template that you're updating.
sourcepub fn template_id(&self) -> Option<&str>
pub fn template_id(&self) -> Option<&str>
The ID for the template.
sourcepub fn source_entity(&self) -> Option<&TemplateSourceEntity>
pub fn source_entity(&self) -> Option<&TemplateSourceEntity>
The entity that you are using as a source when you update the template. In SourceEntity
, you specify the type of object you're using as source: SourceTemplate
for a template or SourceAnalysis
for an analysis. Both of these require an Amazon Resource Name (ARN). For SourceTemplate
, specify the ARN of the source template. For SourceAnalysis
, specify the ARN of the source analysis. The SourceTemplate
ARN can contain any Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services Region;.
Use the DataSetReferences
entity within SourceTemplate
or SourceAnalysis
to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.
sourcepub fn version_description(&self) -> Option<&str>
pub fn version_description(&self) -> Option<&str>
A description of the current template version that is being updated. Every time you call UpdateTemplate
, you create a new version of the template. Each version of the template maintains a description of the version in the VersionDescription
field.
sourcepub fn definition(&self) -> Option<&TemplateVersionDefinition>
pub fn definition(&self) -> Option<&TemplateVersionDefinition>
The definition of a template.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
sourcepub fn validation_strategy(&self) -> Option<&ValidationStrategy>
pub fn validation_strategy(&self) -> Option<&ValidationStrategy>
The option to relax the validation needed to update a template with definition objects. This skips the validation step for specific errors.
source§impl UpdateTemplateInput
impl UpdateTemplateInput
sourcepub fn builder() -> UpdateTemplateInputBuilder
pub fn builder() -> UpdateTemplateInputBuilder
Creates a new builder-style object to manufacture UpdateTemplateInput
.
Trait Implementations§
source§impl Clone for UpdateTemplateInput
impl Clone for UpdateTemplateInput
source§fn clone(&self) -> UpdateTemplateInput
fn clone(&self) -> UpdateTemplateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateTemplateInput
impl Debug for UpdateTemplateInput
source§impl PartialEq for UpdateTemplateInput
impl PartialEq for UpdateTemplateInput
source§fn eq(&self, other: &UpdateTemplateInput) -> bool
fn eq(&self, other: &UpdateTemplateInput) -> bool
self
and other
values to be equal, and is used
by ==
.