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 |
Gets a list of past alerts in a model monitoring schedule.
This operation returns paginated results.
Synopsis
- data ListMonitoringAlertHistory = ListMonitoringAlertHistory' {
- creationTimeAfter :: Maybe POSIX
- creationTimeBefore :: Maybe POSIX
- maxResults :: Maybe Natural
- monitoringAlertName :: Maybe Text
- monitoringScheduleName :: Maybe Text
- nextToken :: Maybe Text
- sortBy :: Maybe MonitoringAlertHistorySortKey
- sortOrder :: Maybe SortOrder
- statusEquals :: Maybe MonitoringAlertStatus
- newListMonitoringAlertHistory :: ListMonitoringAlertHistory
- listMonitoringAlertHistory_creationTimeAfter :: Lens' ListMonitoringAlertHistory (Maybe UTCTime)
- listMonitoringAlertHistory_creationTimeBefore :: Lens' ListMonitoringAlertHistory (Maybe UTCTime)
- listMonitoringAlertHistory_maxResults :: Lens' ListMonitoringAlertHistory (Maybe Natural)
- listMonitoringAlertHistory_monitoringAlertName :: Lens' ListMonitoringAlertHistory (Maybe Text)
- listMonitoringAlertHistory_monitoringScheduleName :: Lens' ListMonitoringAlertHistory (Maybe Text)
- listMonitoringAlertHistory_nextToken :: Lens' ListMonitoringAlertHistory (Maybe Text)
- listMonitoringAlertHistory_sortBy :: Lens' ListMonitoringAlertHistory (Maybe MonitoringAlertHistorySortKey)
- listMonitoringAlertHistory_sortOrder :: Lens' ListMonitoringAlertHistory (Maybe SortOrder)
- listMonitoringAlertHistory_statusEquals :: Lens' ListMonitoringAlertHistory (Maybe MonitoringAlertStatus)
- data ListMonitoringAlertHistoryResponse = ListMonitoringAlertHistoryResponse' {}
- newListMonitoringAlertHistoryResponse :: Int -> ListMonitoringAlertHistoryResponse
- listMonitoringAlertHistoryResponse_monitoringAlertHistory :: Lens' ListMonitoringAlertHistoryResponse (Maybe [MonitoringAlertHistorySummary])
- listMonitoringAlertHistoryResponse_nextToken :: Lens' ListMonitoringAlertHistoryResponse (Maybe Text)
- listMonitoringAlertHistoryResponse_httpStatus :: Lens' ListMonitoringAlertHistoryResponse Int
Creating a Request
data ListMonitoringAlertHistory Source #
See: newListMonitoringAlertHistory
smart constructor.
ListMonitoringAlertHistory' | |
|
Instances
newListMonitoringAlertHistory :: ListMonitoringAlertHistory Source #
Create a value of ListMonitoringAlertHistory
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:creationTimeAfter:ListMonitoringAlertHistory'
, listMonitoringAlertHistory_creationTimeAfter
- A filter that returns only alerts created on or after the specified
time.
$sel:creationTimeBefore:ListMonitoringAlertHistory'
, listMonitoringAlertHistory_creationTimeBefore
- A filter that returns only alerts created on or before the specified
time.
$sel:maxResults:ListMonitoringAlertHistory'
, listMonitoringAlertHistory_maxResults
- The maximum number of results to display. The default is 100.
ListMonitoringAlertHistory
, listMonitoringAlertHistory_monitoringAlertName
- The name of a monitoring alert.
ListMonitoringAlertHistory
, listMonitoringAlertHistory_monitoringScheduleName
- The name of a monitoring schedule.
ListMonitoringAlertHistory
, listMonitoringAlertHistory_nextToken
- If the result of the previous ListMonitoringAlertHistory
request was
truncated, the response includes a NextToken
. To retrieve the next set
of alerts in the history, use the token in the next request.
$sel:sortBy:ListMonitoringAlertHistory'
, listMonitoringAlertHistory_sortBy
- The field used to sort results. The default is CreationTime
.
$sel:sortOrder:ListMonitoringAlertHistory'
, listMonitoringAlertHistory_sortOrder
- The sort order, whether Ascending
or Descending
, of the alert
history. The default is Descending
.
$sel:statusEquals:ListMonitoringAlertHistory'
, listMonitoringAlertHistory_statusEquals
- A filter that retrieves only alerts with a specific status.
Request Lenses
listMonitoringAlertHistory_creationTimeAfter :: Lens' ListMonitoringAlertHistory (Maybe UTCTime) Source #
A filter that returns only alerts created on or after the specified time.
listMonitoringAlertHistory_creationTimeBefore :: Lens' ListMonitoringAlertHistory (Maybe UTCTime) Source #
A filter that returns only alerts created on or before the specified time.
listMonitoringAlertHistory_maxResults :: Lens' ListMonitoringAlertHistory (Maybe Natural) Source #
The maximum number of results to display. The default is 100.
listMonitoringAlertHistory_monitoringAlertName :: Lens' ListMonitoringAlertHistory (Maybe Text) Source #
The name of a monitoring alert.
listMonitoringAlertHistory_monitoringScheduleName :: Lens' ListMonitoringAlertHistory (Maybe Text) Source #
The name of a monitoring schedule.
listMonitoringAlertHistory_nextToken :: Lens' ListMonitoringAlertHistory (Maybe Text) Source #
If the result of the previous ListMonitoringAlertHistory
request was
truncated, the response includes a NextToken
. To retrieve the next set
of alerts in the history, use the token in the next request.
listMonitoringAlertHistory_sortBy :: Lens' ListMonitoringAlertHistory (Maybe MonitoringAlertHistorySortKey) Source #
The field used to sort results. The default is CreationTime
.
listMonitoringAlertHistory_sortOrder :: Lens' ListMonitoringAlertHistory (Maybe SortOrder) Source #
The sort order, whether Ascending
or Descending
, of the alert
history. The default is Descending
.
listMonitoringAlertHistory_statusEquals :: Lens' ListMonitoringAlertHistory (Maybe MonitoringAlertStatus) Source #
A filter that retrieves only alerts with a specific status.
Destructuring the Response
data ListMonitoringAlertHistoryResponse Source #
See: newListMonitoringAlertHistoryResponse
smart constructor.
ListMonitoringAlertHistoryResponse' | |
|
Instances
newListMonitoringAlertHistoryResponse Source #
Create a value of ListMonitoringAlertHistoryResponse
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:monitoringAlertHistory:ListMonitoringAlertHistoryResponse'
, listMonitoringAlertHistoryResponse_monitoringAlertHistory
- An alert history for a model monitoring schedule.
ListMonitoringAlertHistory
, listMonitoringAlertHistoryResponse_nextToken
- If the response is truncated, SageMaker returns this token. To retrieve
the next set of alerts, use it in the subsequent request.
$sel:httpStatus:ListMonitoringAlertHistoryResponse'
, listMonitoringAlertHistoryResponse_httpStatus
- The response's http status code.
Response Lenses
listMonitoringAlertHistoryResponse_monitoringAlertHistory :: Lens' ListMonitoringAlertHistoryResponse (Maybe [MonitoringAlertHistorySummary]) Source #
An alert history for a model monitoring schedule.
listMonitoringAlertHistoryResponse_nextToken :: Lens' ListMonitoringAlertHistoryResponse (Maybe Text) Source #
If the response is truncated, SageMaker returns this token. To retrieve the next set of alerts, use it in the subsequent request.
listMonitoringAlertHistoryResponse_httpStatus :: Lens' ListMonitoringAlertHistoryResponse Int Source #
The response's http status code.