CreateDashboardRequest

public struct CreateDashboardRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The ID of the AWS account where you want to create the dashboard.

    Declaration

    Swift

    public let awsAccountId: String
  • The ID for the dashboard, also added to the IAM policy.

    Declaration

    Swift

    public let dashboardId: String
  • Options for publishing the dashboard when you create it: AvailabilityStatus for AdHocFilteringOption - This status can be either ENABLED or DISABLED. When this is set to DISABLED, QuickSight disables the left filter pane on the published dashboard, which can be used for ad hoc (one-time) filtering. This option is ENABLED by default. AvailabilityStatus for ExportToCSVOption - This status can be either ENABLED or DISABLED. The visual option to export data to .CSV format isn’t enabled when this is set to DISABLED. This option is ENABLED by default. VisibilityState for SheetControlsOption - This visibility state can be either COLLAPSED or EXPANDED. This option is COLLAPSED by default.

    Declaration

    Swift

    public let dashboardPublishOptions: DashboardPublishOptions?
  • The display name of the dashboard.

    Declaration

    Swift

    public let name: String
  • 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.

    Declaration

    Swift

    public let parameters: Parameters?
  • 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.

    Declaration

    Swift

    public let permissions: [ResourcePermission]?
  • 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 AWS Account and any QuickSight-supported AWS 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.

    Declaration

    Swift

    public let sourceEntity: DashboardSourceEntity
  • Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.

    Declaration

    Swift

    public let tags: [Tag]?
  • 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 AWS account where you create the dashboard.

    Declaration

    Swift

    public let themeArn: String?
  • A description for the first version of the dashboard being created.

    Declaration

    Swift

    public let versionDescription: String?
  • Undocumented

    Declaration

    Swift

    public init(awsAccountId: String, dashboardId: String, dashboardPublishOptions: DashboardPublishOptions? = nil, name: String, parameters: Parameters? = nil, permissions: [ResourcePermission]? = nil, sourceEntity: DashboardSourceEntity, tags: [Tag]? = nil, themeArn: String? = nil, versionDescription: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws