| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.CloudWatch.GetDashboard
Description
Displays the details of the dashboard that you specify.
To copy an existing dashboard, use GetDashboard , and then use the data returned within DashboardBody as the template for the new dashboard when you call PutDashboard to create the copy.
Synopsis
- getDashboard :: Text -> GetDashboard
- data GetDashboard
- gdDashboardName :: Lens' GetDashboard Text
- getDashboardResponse :: Int -> GetDashboardResponse
- data GetDashboardResponse
- gdrsDashboardName :: Lens' GetDashboardResponse (Maybe Text)
- gdrsDashboardBody :: Lens' GetDashboardResponse (Maybe Text)
- gdrsDashboardARN :: Lens' GetDashboardResponse (Maybe Text)
- gdrsResponseStatus :: Lens' GetDashboardResponse Int
Creating a Request
Arguments
| :: Text | |
| -> GetDashboard |
Creates a value of GetDashboard with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdDashboardName- The name of the dashboard to be described.
data GetDashboard Source #
See: getDashboard smart constructor.
Instances
Request Lenses
gdDashboardName :: Lens' GetDashboard Text Source #
The name of the dashboard to be described.
Destructuring the Response
Arguments
| :: Int | |
| -> GetDashboardResponse |
Creates a value of GetDashboardResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdrsDashboardName- The name of the dashboard.gdrsDashboardBody- The detailed information about the dashboard, including what widgets are included and their location on the dashboard. For more information about theDashboardBodysyntax, see 'CloudWatch-Dashboard-Body-Structure' .gdrsDashboardARN- The Amazon Resource Name (ARN) of the dashboard.gdrsResponseStatus- -- | The response status code.
data GetDashboardResponse Source #
See: getDashboardResponse smart constructor.
Instances
Response Lenses
gdrsDashboardName :: Lens' GetDashboardResponse (Maybe Text) Source #
The name of the dashboard.
gdrsDashboardBody :: Lens' GetDashboardResponse (Maybe Text) Source #
The detailed information about the dashboard, including what widgets are included and their location on the dashboard. For more information about the DashboardBody syntax, see 'CloudWatch-Dashboard-Body-Structure' .
gdrsDashboardARN :: Lens' GetDashboardResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the dashboard.
gdrsResponseStatus :: Lens' GetDashboardResponse Int Source #
- - | The response status code.