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 |
Retrieves the complete configuration information for one app monitor.
Synopsis
- data GetAppMonitor = GetAppMonitor' {}
- newGetAppMonitor :: Text -> GetAppMonitor
- getAppMonitor_name :: Lens' GetAppMonitor Text
- data GetAppMonitorResponse = GetAppMonitorResponse' {}
- newGetAppMonitorResponse :: Int -> GetAppMonitorResponse
- getAppMonitorResponse_appMonitor :: Lens' GetAppMonitorResponse (Maybe AppMonitor)
- getAppMonitorResponse_httpStatus :: Lens' GetAppMonitorResponse Int
Creating a Request
data GetAppMonitor Source #
See: newGetAppMonitor
smart constructor.
Instances
Create a value of GetAppMonitor
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:
GetAppMonitor
, getAppMonitor_name
- The app monitor to retrieve information for.
Request Lenses
getAppMonitor_name :: Lens' GetAppMonitor Text Source #
The app monitor to retrieve information for.
Destructuring the Response
data GetAppMonitorResponse Source #
See: newGetAppMonitorResponse
smart constructor.
GetAppMonitorResponse' | |
|
Instances
newGetAppMonitorResponse Source #
Create a value of GetAppMonitorResponse
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:appMonitor:GetAppMonitorResponse'
, getAppMonitorResponse_appMonitor
- A structure containing all the configuration information for the app
monitor.
$sel:httpStatus:GetAppMonitorResponse'
, getAppMonitorResponse_httpStatus
- The response's http status code.
Response Lenses
getAppMonitorResponse_appMonitor :: Lens' GetAppMonitorResponse (Maybe AppMonitor) Source #
A structure containing all the configuration information for the app monitor.
getAppMonitorResponse_httpStatus :: Lens' GetAppMonitorResponse Int Source #
The response's http status code.