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 |
Lists all the versions of an alarm model. The operation returns only the metadata associated with each alarm model version.
Synopsis
- data ListAlarmModelVersions = ListAlarmModelVersions' {}
- newListAlarmModelVersions :: Text -> ListAlarmModelVersions
- listAlarmModelVersions_maxResults :: Lens' ListAlarmModelVersions (Maybe Natural)
- listAlarmModelVersions_nextToken :: Lens' ListAlarmModelVersions (Maybe Text)
- listAlarmModelVersions_alarmModelName :: Lens' ListAlarmModelVersions Text
- data ListAlarmModelVersionsResponse = ListAlarmModelVersionsResponse' {}
- newListAlarmModelVersionsResponse :: Int -> ListAlarmModelVersionsResponse
- listAlarmModelVersionsResponse_alarmModelVersionSummaries :: Lens' ListAlarmModelVersionsResponse (Maybe [AlarmModelVersionSummary])
- listAlarmModelVersionsResponse_nextToken :: Lens' ListAlarmModelVersionsResponse (Maybe Text)
- listAlarmModelVersionsResponse_httpStatus :: Lens' ListAlarmModelVersionsResponse Int
Creating a Request
data ListAlarmModelVersions Source #
See: newListAlarmModelVersions
smart constructor.
ListAlarmModelVersions' | |
|
Instances
newListAlarmModelVersions Source #
Create a value of ListAlarmModelVersions
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:ListAlarmModelVersions'
, listAlarmModelVersions_maxResults
- The maximum number of results to be returned per request.
ListAlarmModelVersions
, listAlarmModelVersions_nextToken
- The token that you can use to return the next set of results.
ListAlarmModelVersions
, listAlarmModelVersions_alarmModelName
- The name of the alarm model.
Request Lenses
listAlarmModelVersions_maxResults :: Lens' ListAlarmModelVersions (Maybe Natural) Source #
The maximum number of results to be returned per request.
listAlarmModelVersions_nextToken :: Lens' ListAlarmModelVersions (Maybe Text) Source #
The token that you can use to return the next set of results.
listAlarmModelVersions_alarmModelName :: Lens' ListAlarmModelVersions Text Source #
The name of the alarm model.
Destructuring the Response
data ListAlarmModelVersionsResponse Source #
See: newListAlarmModelVersionsResponse
smart constructor.
ListAlarmModelVersionsResponse' | |
|
Instances
newListAlarmModelVersionsResponse Source #
Create a value of ListAlarmModelVersionsResponse
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:alarmModelVersionSummaries:ListAlarmModelVersionsResponse'
, listAlarmModelVersionsResponse_alarmModelVersionSummaries
- A list that summarizes each alarm model version.
ListAlarmModelVersions
, listAlarmModelVersionsResponse_nextToken
- The token that you can use to return the next set of results, or null
if there are no more results.
$sel:httpStatus:ListAlarmModelVersionsResponse'
, listAlarmModelVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listAlarmModelVersionsResponse_alarmModelVersionSummaries :: Lens' ListAlarmModelVersionsResponse (Maybe [AlarmModelVersionSummary]) Source #
A list that summarizes each alarm model version.
listAlarmModelVersionsResponse_nextToken :: Lens' ListAlarmModelVersionsResponse (Maybe Text) Source #
The token that you can use to return the next set of results, or null
if there are no more results.
listAlarmModelVersionsResponse_httpStatus :: Lens' ListAlarmModelVersionsResponse Int Source #
The response's http status code.