| 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 |
Amazonka.Rum.ListAppMonitors
Description
Returns a list of the Amazon CloudWatch RUM app monitors in the account.
This operation returns paginated results.
Synopsis
- data ListAppMonitors = ListAppMonitors' {}
- newListAppMonitors :: ListAppMonitors
- listAppMonitors_maxResults :: Lens' ListAppMonitors (Maybe Natural)
- listAppMonitors_nextToken :: Lens' ListAppMonitors (Maybe Text)
- data ListAppMonitorsResponse = ListAppMonitorsResponse' {}
- newListAppMonitorsResponse :: Int -> ListAppMonitorsResponse
- listAppMonitorsResponse_appMonitorSummaries :: Lens' ListAppMonitorsResponse (Maybe [AppMonitorSummary])
- listAppMonitorsResponse_nextToken :: Lens' ListAppMonitorsResponse (Maybe Text)
- listAppMonitorsResponse_httpStatus :: Lens' ListAppMonitorsResponse Int
Creating a Request
data ListAppMonitors Source #
See: newListAppMonitors smart constructor.
Constructors
| ListAppMonitors' | |
Instances
newListAppMonitors :: ListAppMonitors Source #
Create a value of ListAppMonitors 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:maxResults:ListAppMonitors', listAppMonitors_maxResults - The maximum number of results to return in one operation. The default is
50. The maximum that you can specify is 100.
ListAppMonitors, listAppMonitors_nextToken - Use the token returned by the previous operation to request the next
page of results.
Request Lenses
listAppMonitors_maxResults :: Lens' ListAppMonitors (Maybe Natural) Source #
The maximum number of results to return in one operation. The default is 50. The maximum that you can specify is 100.
listAppMonitors_nextToken :: Lens' ListAppMonitors (Maybe Text) Source #
Use the token returned by the previous operation to request the next page of results.
Destructuring the Response
data ListAppMonitorsResponse Source #
See: newListAppMonitorsResponse smart constructor.
Constructors
| ListAppMonitorsResponse' | |
Fields
| |
Instances
newListAppMonitorsResponse Source #
Create a value of ListAppMonitorsResponse 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:appMonitorSummaries:ListAppMonitorsResponse', listAppMonitorsResponse_appMonitorSummaries - An array of structures that contain information about the returned app
monitors.
ListAppMonitors, listAppMonitorsResponse_nextToken - A token that you can use in a subsequent operation to retrieve the next
set of results.
$sel:httpStatus:ListAppMonitorsResponse', listAppMonitorsResponse_httpStatus - The response's http status code.
Response Lenses
listAppMonitorsResponse_appMonitorSummaries :: Lens' ListAppMonitorsResponse (Maybe [AppMonitorSummary]) Source #
An array of structures that contain information about the returned app monitors.
listAppMonitorsResponse_nextToken :: Lens' ListAppMonitorsResponse (Maybe Text) Source #
A token that you can use in a subsequent operation to retrieve the next set of results.
listAppMonitorsResponse_httpStatus :: Lens' ListAppMonitorsResponse Int Source #
The response's http status code.