Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Updates a dashboard in an Amazon Web Services account.
Updating a Dashboard creates a new dashboard version but does not
immediately publish the new version. You can update the published
version of a dashboard by using the
UpdateDashboardPublishedVersion
API operation.
Synopsis
- data UpdateDashboard = UpdateDashboard' {}
- newUpdateDashboard :: Text -> Text -> Text -> UpdateDashboard
- updateDashboard_dashboardPublishOptions :: Lens' UpdateDashboard (Maybe DashboardPublishOptions)
- updateDashboard_definition :: Lens' UpdateDashboard (Maybe DashboardVersionDefinition)
- updateDashboard_parameters :: Lens' UpdateDashboard (Maybe Parameters)
- updateDashboard_sourceEntity :: Lens' UpdateDashboard (Maybe DashboardSourceEntity)
- updateDashboard_themeArn :: Lens' UpdateDashboard (Maybe Text)
- updateDashboard_versionDescription :: Lens' UpdateDashboard (Maybe Text)
- updateDashboard_awsAccountId :: Lens' UpdateDashboard Text
- updateDashboard_dashboardId :: Lens' UpdateDashboard Text
- updateDashboard_name :: Lens' UpdateDashboard Text
- data UpdateDashboardResponse = UpdateDashboardResponse' {
- arn :: Maybe Text
- creationStatus :: Maybe ResourceStatus
- dashboardId :: Maybe Text
- requestId :: Maybe Text
- status :: Maybe Int
- versionArn :: Maybe Text
- httpStatus :: Int
- newUpdateDashboardResponse :: Int -> UpdateDashboardResponse
- updateDashboardResponse_arn :: Lens' UpdateDashboardResponse (Maybe Text)
- updateDashboardResponse_creationStatus :: Lens' UpdateDashboardResponse (Maybe ResourceStatus)
- updateDashboardResponse_dashboardId :: Lens' UpdateDashboardResponse (Maybe Text)
- updateDashboardResponse_requestId :: Lens' UpdateDashboardResponse (Maybe Text)
- updateDashboardResponse_status :: Lens' UpdateDashboardResponse (Maybe Int)
- updateDashboardResponse_versionArn :: Lens' UpdateDashboardResponse (Maybe Text)
- updateDashboardResponse_httpStatus :: Lens' UpdateDashboardResponse Int
Creating a Request
data UpdateDashboard Source #
See: newUpdateDashboard
smart constructor.
UpdateDashboard' | |
|
Instances
Create a value of UpdateDashboard
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dashboardPublishOptions:UpdateDashboard'
, updateDashboard_dashboardPublishOptions
- Options for publishing the dashboard when you create it:
AvailabilityStatus
forAdHocFilteringOption
- This status can be eitherENABLED
orDISABLED
. 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 isENABLED
by default.AvailabilityStatus
forExportToCSVOption
- This status can be eitherENABLED
orDISABLED
. The visual option to export data to .CSV format isn't enabled when this is set toDISABLED
. This option isENABLED
by default.VisibilityState
forSheetControlsOption
- This visibility state can be eitherCOLLAPSED
orEXPANDED
. This option isCOLLAPSED
by default.
$sel:definition:UpdateDashboard'
, updateDashboard_definition
- The definition of a dashboard.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
$sel:parameters:UpdateDashboard'
, updateDashboard_parameters
- A structure that contains the parameters of the dashboard. These are
parameter overrides for a dashboard. A dashboard can have any type of
parameters, and some parameters might accept multiple values.
$sel:sourceEntity:UpdateDashboard'
, updateDashboard_sourceEntity
- The entity that you are using as a source when you update the dashboard.
In SourceEntity
, you specify the type of object you're using as
source. You can only update a dashboard from a template, so you use a
SourceTemplate
entity. If you need to update 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 SourceTemplate
ARN 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.
UpdateDashboard
, updateDashboard_themeArn
- 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 was originally associated with the entity. The theme ARN must exist
in the same Amazon Web Services account where you create the dashboard.
$sel:versionDescription:UpdateDashboard'
, updateDashboard_versionDescription
- A description for the first version of the dashboard being created.
UpdateDashboard
, updateDashboard_awsAccountId
- The ID of the Amazon Web Services account that contains the dashboard
that you're updating.
UpdateDashboard
, updateDashboard_dashboardId
- The ID for the dashboard.
UpdateDashboard
, updateDashboard_name
- The display name of the dashboard.
Request Lenses
updateDashboard_dashboardPublishOptions :: Lens' UpdateDashboard (Maybe DashboardPublishOptions) Source #
Options for publishing the dashboard when you create it:
AvailabilityStatus
forAdHocFilteringOption
- This status can be eitherENABLED
orDISABLED
. 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 isENABLED
by default.AvailabilityStatus
forExportToCSVOption
- This status can be eitherENABLED
orDISABLED
. The visual option to export data to .CSV format isn't enabled when this is set toDISABLED
. This option isENABLED
by default.VisibilityState
forSheetControlsOption
- This visibility state can be eitherCOLLAPSED
orEXPANDED
. This option isCOLLAPSED
by default.
updateDashboard_definition :: Lens' UpdateDashboard (Maybe DashboardVersionDefinition) Source #
The definition of a dashboard.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
updateDashboard_parameters :: Lens' UpdateDashboard (Maybe Parameters) Source #
A structure that contains the parameters of the dashboard. These are parameter overrides for a dashboard. A dashboard can have any type of parameters, and some parameters might accept multiple values.
updateDashboard_sourceEntity :: Lens' UpdateDashboard (Maybe DashboardSourceEntity) Source #
The entity that you are using as a source when you update the dashboard.
In SourceEntity
, you specify the type of object you're using as
source. You can only update a dashboard from a template, so you use a
SourceTemplate
entity. If you need to update 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 SourceTemplate
ARN 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.
updateDashboard_themeArn :: Lens' UpdateDashboard (Maybe Text) Source #
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 was originally associated with the entity. The theme ARN must exist in the same Amazon Web Services account where you create the dashboard.
updateDashboard_versionDescription :: Lens' UpdateDashboard (Maybe Text) Source #
A description for the first version of the dashboard being created.
updateDashboard_awsAccountId :: Lens' UpdateDashboard Text Source #
The ID of the Amazon Web Services account that contains the dashboard that you're updating.
updateDashboard_dashboardId :: Lens' UpdateDashboard Text Source #
The ID for the dashboard.
updateDashboard_name :: Lens' UpdateDashboard Text Source #
The display name of the dashboard.
Destructuring the Response
data UpdateDashboardResponse Source #
See: newUpdateDashboardResponse
smart constructor.
UpdateDashboardResponse' | |
|
Instances
newUpdateDashboardResponse Source #
Create a value of UpdateDashboardResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateDashboardResponse
, updateDashboardResponse_arn
- The Amazon Resource Name (ARN) of the resource.
UpdateDashboardResponse
, updateDashboardResponse_creationStatus
- The creation status of the request.
UpdateDashboard
, updateDashboardResponse_dashboardId
- The ID for the dashboard.
$sel:requestId:UpdateDashboardResponse'
, updateDashboardResponse_requestId
- The Amazon Web Services request ID for this operation.
UpdateDashboardResponse
, updateDashboardResponse_status
- The HTTP status of the request.
$sel:versionArn:UpdateDashboardResponse'
, updateDashboardResponse_versionArn
- The ARN of the dashboard, including the version number.
$sel:httpStatus:UpdateDashboardResponse'
, updateDashboardResponse_httpStatus
- The response's http status code.
Response Lenses
updateDashboardResponse_arn :: Lens' UpdateDashboardResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the resource.
updateDashboardResponse_creationStatus :: Lens' UpdateDashboardResponse (Maybe ResourceStatus) Source #
The creation status of the request.
updateDashboardResponse_dashboardId :: Lens' UpdateDashboardResponse (Maybe Text) Source #
The ID for the dashboard.
updateDashboardResponse_requestId :: Lens' UpdateDashboardResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
updateDashboardResponse_status :: Lens' UpdateDashboardResponse (Maybe Int) Source #
The HTTP status of the request.
updateDashboardResponse_versionArn :: Lens' UpdateDashboardResponse (Maybe Text) Source #
The ARN of the dashboard, including the version number.
updateDashboardResponse_httpStatus :: Lens' UpdateDashboardResponse Int Source #
The response's http status code.