| 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.IoTEvents.ListAlarmModels
Description
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_maxResults :: Lens' ListAlarmModels (Maybe Natural)
- listAlarmModels_nextToken :: Lens' ListAlarmModels (Maybe Text)
- data ListAlarmModelsResponse = ListAlarmModelsResponse' {}
- newListAlarmModelsResponse :: Int -> ListAlarmModelsResponse
- listAlarmModelsResponse_alarmModelSummaries :: Lens' ListAlarmModelsResponse (Maybe [AlarmModelSummary])
- listAlarmModelsResponse_nextToken :: Lens' ListAlarmModelsResponse (Maybe Text)
- listAlarmModelsResponse_httpStatus :: Lens' ListAlarmModelsResponse Int
Creating a Request
data ListAlarmModels Source #
See: newListAlarmModels smart constructor.
Constructors
| ListAlarmModels' | |
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:maxResults:ListAlarmModels', listAlarmModels_maxResults - The maximum number of results to be returned per request.
ListAlarmModels, listAlarmModels_nextToken - The token that you can use to return the next set of results.
Request Lenses
listAlarmModels_maxResults :: Lens' ListAlarmModels (Maybe Natural) Source #
The maximum number of results to be returned per request.
listAlarmModels_nextToken :: Lens' ListAlarmModels (Maybe Text) Source #
The token that you can use to return the next set of results.
Destructuring the Response
data ListAlarmModelsResponse Source #
See: newListAlarmModelsResponse smart constructor.
Constructors
| ListAlarmModelsResponse' | |
Fields
| |
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:alarmModelSummaries:ListAlarmModelsResponse', listAlarmModelsResponse_alarmModelSummaries - A list that summarizes each alarm model.
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:httpStatus:ListAlarmModelsResponse', listAlarmModelsResponse_httpStatus - The response's http status code.
Response Lenses
listAlarmModelsResponse_alarmModelSummaries :: Lens' ListAlarmModelsResponse (Maybe [AlarmModelSummary]) Source #
A list that summarizes each alarm model.
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_httpStatus :: Lens' ListAlarmModelsResponse Int Source #
The response's http status code.