Struct aws_sdk_quicksight::input::CreateDashboardInput
source · [−]#[non_exhaustive]pub struct CreateDashboardInput {
pub aws_account_id: Option<String>,
pub dashboard_id: Option<String>,
pub name: Option<String>,
pub parameters: Option<Parameters>,
pub permissions: Option<Vec<ResourcePermission>>,
pub source_entity: Option<DashboardSourceEntity>,
pub tags: Option<Vec<Tag>>,
pub version_description: Option<String>,
pub dashboard_publish_options: Option<DashboardPublishOptions>,
pub theme_arn: Option<String>,
}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 create the dashboard.
dashboard_id: Option<String>The ID for the dashboard, also added to the IAM policy.
name: Option<String>The display name of the dashboard.
parameters: Option<Parameters>The parameters for the creation of the dashboard, which you want to use to override the default settings. A dashboard can have any type of parameters, and some parameters might accept multiple values.
permissions: Option<Vec<ResourcePermission>>A structure that contains the permissions of the dashboard. You can use this structure for granting permissions by providing a list of IAM action information for each principal ARN.
To specify no permissions, omit the permissions list.
source_entity: Option<DashboardSourceEntity>The entity that you are using as a source when you create the dashboard. In SourceEntity, you specify the type of object you're using as source. You can only create a dashboard from a template, so you use a SourceTemplate entity. If you need to create a dashboard from an analysis, first convert the analysis to a template by using the CreateTemplate API operation. For SourceTemplate, specify the Amazon Resource Name (ARN) of the source template. The SourceTemplateARN can contain any Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services Region.
Use the DataSetReferences entity within SourceTemplate to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.
Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.
version_description: Option<String>A description for the first version of the dashboard being created.
dashboard_publish_options: Option<DashboardPublishOptions>Options for publishing the dashboard when you create it:
-
AvailabilityStatusforAdHocFilteringOption- This status can be eitherENABLEDorDISABLED. When this is set toDISABLED, Amazon QuickSight disables the left filter pane on the published dashboard, which can be used for ad hoc (one-time) filtering. This option isENABLEDby default. -
AvailabilityStatusforExportToCSVOption- This status can be eitherENABLEDorDISABLED. The visual option to export data to .CSV format isn't enabled when this is set toDISABLED. This option isENABLEDby default. -
VisibilityStateforSheetControlsOption- This visibility state can be eitherCOLLAPSEDorEXPANDED. This option isCOLLAPSEDby default.
theme_arn: Option<String>The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. If you add a value for this field, it overrides the value that is used in the source entity. The theme ARN must exist in the same Amazon Web Services account where you create the dashboard.
Implementations
sourceimpl CreateDashboardInput
impl CreateDashboardInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDashboard, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDashboard, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateDashboard>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateDashboardInput
sourceimpl CreateDashboardInput
impl CreateDashboardInput
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 create the dashboard.
sourcepub fn dashboard_id(&self) -> Option<&str>
pub fn dashboard_id(&self) -> Option<&str>
The ID for the dashboard, also added to the IAM policy.
sourcepub fn parameters(&self) -> Option<&Parameters>
pub fn parameters(&self) -> Option<&Parameters>
The parameters for the creation of the dashboard, which you want to use to override the default settings. A dashboard can have any type of parameters, and some parameters might accept multiple values.
sourcepub fn permissions(&self) -> Option<&[ResourcePermission]>
pub fn permissions(&self) -> Option<&[ResourcePermission]>
A structure that contains the permissions of the dashboard. You can use this structure for granting permissions by providing a list of IAM action information for each principal ARN.
To specify no permissions, omit the permissions list.
sourcepub fn source_entity(&self) -> Option<&DashboardSourceEntity>
pub fn source_entity(&self) -> Option<&DashboardSourceEntity>
The entity that you are using as a source when you create the dashboard. In SourceEntity, you specify the type of object you're using as source. You can only create a dashboard from a template, so you use a SourceTemplate entity. If you need to create a dashboard from an analysis, first convert the analysis to a template by using the CreateTemplate API operation. For SourceTemplate, specify the Amazon Resource Name (ARN) of the source template. The SourceTemplateARN can contain any Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services Region.
Use the DataSetReferences entity within SourceTemplate to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.
Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.
sourcepub fn version_description(&self) -> Option<&str>
pub fn version_description(&self) -> Option<&str>
A description for the first version of the dashboard being created.
sourcepub fn dashboard_publish_options(&self) -> Option<&DashboardPublishOptions>
pub fn dashboard_publish_options(&self) -> Option<&DashboardPublishOptions>
Options for publishing the dashboard when you create it:
-
AvailabilityStatusforAdHocFilteringOption- This status can be eitherENABLEDorDISABLED. When this is set toDISABLED, Amazon QuickSight disables the left filter pane on the published dashboard, which can be used for ad hoc (one-time) filtering. This option isENABLEDby default. -
AvailabilityStatusforExportToCSVOption- This status can be eitherENABLEDorDISABLED. The visual option to export data to .CSV format isn't enabled when this is set toDISABLED. This option isENABLEDby default. -
VisibilityStateforSheetControlsOption- This visibility state can be eitherCOLLAPSEDorEXPANDED. This option isCOLLAPSEDby default.
sourcepub fn theme_arn(&self) -> Option<&str>
pub fn theme_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. If you add a value for this field, it overrides the value that is used in the source entity. The theme ARN must exist in the same Amazon Web Services account where you create the dashboard.
Trait Implementations
sourceimpl Clone for CreateDashboardInput
impl Clone for CreateDashboardInput
sourcefn clone(&self) -> CreateDashboardInput
fn clone(&self) -> CreateDashboardInput
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
sourceimpl Debug for CreateDashboardInput
impl Debug for CreateDashboardInput
sourceimpl PartialEq<CreateDashboardInput> for CreateDashboardInput
impl PartialEq<CreateDashboardInput> for CreateDashboardInput
sourcefn eq(&self, other: &CreateDashboardInput) -> bool
fn eq(&self, other: &CreateDashboardInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateDashboardInput) -> bool
fn ne(&self, other: &CreateDashboardInput) -> bool
This method tests for !=.
impl StructuralPartialEq for CreateDashboardInput
Auto Trait Implementations
impl RefUnwindSafe for CreateDashboardInput
impl Send for CreateDashboardInput
impl Sync for CreateDashboardInput
impl Unpin for CreateDashboardInput
impl UnwindSafe for CreateDashboardInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
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