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 |
Lists the alarm models that you created. The operation returns only the metadata associated with each alarm model.
Synopsis
- data ListAlarmModels = ListAlarmModels' {}
- newListAlarmModels :: ListAlarmModels
- listAlarmModels_nextToken :: Lens' ListAlarmModels (Maybe Text)
- listAlarmModels_maxResults :: Lens' ListAlarmModels (Maybe Natural)
- data ListAlarmModelsResponse = ListAlarmModelsResponse' {}
- newListAlarmModelsResponse :: Int -> ListAlarmModelsResponse
- listAlarmModelsResponse_nextToken :: Lens' ListAlarmModelsResponse (Maybe Text)
- listAlarmModelsResponse_alarmModelSummaries :: Lens' ListAlarmModelsResponse (Maybe [AlarmModelSummary])
- listAlarmModelsResponse_httpStatus :: Lens' ListAlarmModelsResponse Int
Creating a Request
data ListAlarmModels Source #
See: newListAlarmModels
smart constructor.
Instances
newListAlarmModels :: ListAlarmModels Source #
Create a value of ListAlarmModels
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:nextToken:ListAlarmModels'
, listAlarmModels_nextToken
- The token that you can use to return the next set of results.
$sel:maxResults:ListAlarmModels'
, listAlarmModels_maxResults
- The maximum number of results to be returned per request.
Request Lenses
listAlarmModels_nextToken :: Lens' ListAlarmModels (Maybe Text) Source #
The token that you can use to return the next set of results.
listAlarmModels_maxResults :: Lens' ListAlarmModels (Maybe Natural) Source #
The maximum number of results to be returned per request.
Destructuring the Response
data ListAlarmModelsResponse Source #
See: newListAlarmModelsResponse
smart constructor.
ListAlarmModelsResponse' | |
|
Instances
newListAlarmModelsResponse Source #
Create a value of ListAlarmModelsResponse
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:nextToken:ListAlarmModels'
, listAlarmModelsResponse_nextToken
- The token that you can use to return the next set of results, or null
if there are no more results.
$sel:alarmModelSummaries:ListAlarmModelsResponse'
, listAlarmModelsResponse_alarmModelSummaries
- A list that summarizes each alarm model.
$sel:httpStatus:ListAlarmModelsResponse'
, listAlarmModelsResponse_httpStatus
- The response's http status code.
Response Lenses
listAlarmModelsResponse_nextToken :: Lens' ListAlarmModelsResponse (Maybe Text) Source #
The token that you can use to return the next set of results, or null
if there are no more results.
listAlarmModelsResponse_alarmModelSummaries :: Lens' ListAlarmModelsResponse (Maybe [AlarmModelSummary]) Source #
A list that summarizes each alarm model.
listAlarmModelsResponse_httpStatus :: Lens' ListAlarmModelsResponse Int Source #
The response's http status code.