Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates the published version of a dashboard.
Synopsis
- data UpdateDashboardPublishedVersion = UpdateDashboardPublishedVersion' {}
- newUpdateDashboardPublishedVersion :: Text -> Text -> Natural -> UpdateDashboardPublishedVersion
- updateDashboardPublishedVersion_awsAccountId :: Lens' UpdateDashboardPublishedVersion Text
- updateDashboardPublishedVersion_dashboardId :: Lens' UpdateDashboardPublishedVersion Text
- updateDashboardPublishedVersion_versionNumber :: Lens' UpdateDashboardPublishedVersion Natural
- data UpdateDashboardPublishedVersionResponse = UpdateDashboardPublishedVersionResponse' {}
- newUpdateDashboardPublishedVersionResponse :: Int -> UpdateDashboardPublishedVersionResponse
- updateDashboardPublishedVersionResponse_requestId :: Lens' UpdateDashboardPublishedVersionResponse (Maybe Text)
- updateDashboardPublishedVersionResponse_dashboardId :: Lens' UpdateDashboardPublishedVersionResponse (Maybe Text)
- updateDashboardPublishedVersionResponse_dashboardArn :: Lens' UpdateDashboardPublishedVersionResponse (Maybe Text)
- updateDashboardPublishedVersionResponse_status :: Lens' UpdateDashboardPublishedVersionResponse Int
Creating a Request
data UpdateDashboardPublishedVersion Source #
See: newUpdateDashboardPublishedVersion
smart constructor.
UpdateDashboardPublishedVersion' | |
|
Instances
newUpdateDashboardPublishedVersion Source #
:: Text | |
-> Text | |
-> Natural | |
-> UpdateDashboardPublishedVersion |
Create a value of UpdateDashboardPublishedVersion
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:awsAccountId:UpdateDashboardPublishedVersion'
, updateDashboardPublishedVersion_awsAccountId
- The ID of the Amazon Web Services account that contains the dashboard
that you're updating.
$sel:dashboardId:UpdateDashboardPublishedVersion'
, updateDashboardPublishedVersion_dashboardId
- The ID for the dashboard.
$sel:versionNumber:UpdateDashboardPublishedVersion'
, updateDashboardPublishedVersion_versionNumber
- The version number of the dashboard.
Request Lenses
updateDashboardPublishedVersion_awsAccountId :: Lens' UpdateDashboardPublishedVersion Text Source #
The ID of the Amazon Web Services account that contains the dashboard that you're updating.
updateDashboardPublishedVersion_dashboardId :: Lens' UpdateDashboardPublishedVersion Text Source #
The ID for the dashboard.
updateDashboardPublishedVersion_versionNumber :: Lens' UpdateDashboardPublishedVersion Natural Source #
The version number of the dashboard.
Destructuring the Response
data UpdateDashboardPublishedVersionResponse Source #
See: newUpdateDashboardPublishedVersionResponse
smart constructor.
Instances
newUpdateDashboardPublishedVersionResponse Source #
Create a value of UpdateDashboardPublishedVersionResponse
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:requestId:UpdateDashboardPublishedVersionResponse'
, updateDashboardPublishedVersionResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:dashboardId:UpdateDashboardPublishedVersion'
, updateDashboardPublishedVersionResponse_dashboardId
- The ID for the dashboard.
$sel:dashboardArn:UpdateDashboardPublishedVersionResponse'
, updateDashboardPublishedVersionResponse_dashboardArn
- The Amazon Resource Name (ARN) of the dashboard.
$sel:status:UpdateDashboardPublishedVersionResponse'
, updateDashboardPublishedVersionResponse_status
- The HTTP status of the request.
Response Lenses
updateDashboardPublishedVersionResponse_requestId :: Lens' UpdateDashboardPublishedVersionResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
updateDashboardPublishedVersionResponse_dashboardId :: Lens' UpdateDashboardPublishedVersionResponse (Maybe Text) Source #
The ID for the dashboard.
updateDashboardPublishedVersionResponse_dashboardArn :: Lens' UpdateDashboardPublishedVersionResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the dashboard.
updateDashboardPublishedVersionResponse_status :: Lens' UpdateDashboardPublishedVersionResponse Int Source #
The HTTP status of the request.