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 |
Returns list of all monitoring schedules.
This operation returns paginated results.
Synopsis
- data ListMonitoringSchedules = ListMonitoringSchedules' {
- nameContains :: Maybe Text
- endpointName :: Maybe Text
- lastModifiedTimeBefore :: Maybe POSIX
- creationTimeAfter :: Maybe POSIX
- nextToken :: Maybe Text
- sortOrder :: Maybe SortOrder
- lastModifiedTimeAfter :: Maybe POSIX
- creationTimeBefore :: Maybe POSIX
- statusEquals :: Maybe ScheduleStatus
- monitoringTypeEquals :: Maybe MonitoringType
- maxResults :: Maybe Natural
- sortBy :: Maybe MonitoringScheduleSortKey
- monitoringJobDefinitionName :: Maybe Text
- newListMonitoringSchedules :: ListMonitoringSchedules
- listMonitoringSchedules_nameContains :: Lens' ListMonitoringSchedules (Maybe Text)
- listMonitoringSchedules_endpointName :: Lens' ListMonitoringSchedules (Maybe Text)
- listMonitoringSchedules_lastModifiedTimeBefore :: Lens' ListMonitoringSchedules (Maybe UTCTime)
- listMonitoringSchedules_creationTimeAfter :: Lens' ListMonitoringSchedules (Maybe UTCTime)
- listMonitoringSchedules_nextToken :: Lens' ListMonitoringSchedules (Maybe Text)
- listMonitoringSchedules_sortOrder :: Lens' ListMonitoringSchedules (Maybe SortOrder)
- listMonitoringSchedules_lastModifiedTimeAfter :: Lens' ListMonitoringSchedules (Maybe UTCTime)
- listMonitoringSchedules_creationTimeBefore :: Lens' ListMonitoringSchedules (Maybe UTCTime)
- listMonitoringSchedules_statusEquals :: Lens' ListMonitoringSchedules (Maybe ScheduleStatus)
- listMonitoringSchedules_monitoringTypeEquals :: Lens' ListMonitoringSchedules (Maybe MonitoringType)
- listMonitoringSchedules_maxResults :: Lens' ListMonitoringSchedules (Maybe Natural)
- listMonitoringSchedules_sortBy :: Lens' ListMonitoringSchedules (Maybe MonitoringScheduleSortKey)
- listMonitoringSchedules_monitoringJobDefinitionName :: Lens' ListMonitoringSchedules (Maybe Text)
- data ListMonitoringSchedulesResponse = ListMonitoringSchedulesResponse' {}
- newListMonitoringSchedulesResponse :: Int -> ListMonitoringSchedulesResponse
- listMonitoringSchedulesResponse_nextToken :: Lens' ListMonitoringSchedulesResponse (Maybe Text)
- listMonitoringSchedulesResponse_httpStatus :: Lens' ListMonitoringSchedulesResponse Int
- listMonitoringSchedulesResponse_monitoringScheduleSummaries :: Lens' ListMonitoringSchedulesResponse [MonitoringScheduleSummary]
Creating a Request
data ListMonitoringSchedules Source #
See: newListMonitoringSchedules
smart constructor.
ListMonitoringSchedules' | |
|
Instances
newListMonitoringSchedules :: ListMonitoringSchedules Source #
Create a value of ListMonitoringSchedules
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:nameContains:ListMonitoringSchedules'
, listMonitoringSchedules_nameContains
- Filter for monitoring schedules whose name contains a specified string.
$sel:endpointName:ListMonitoringSchedules'
, listMonitoringSchedules_endpointName
- Name of a specific endpoint to fetch schedules for.
$sel:lastModifiedTimeBefore:ListMonitoringSchedules'
, listMonitoringSchedules_lastModifiedTimeBefore
- A filter that returns only monitoring schedules modified before a
specified time.
$sel:creationTimeAfter:ListMonitoringSchedules'
, listMonitoringSchedules_creationTimeAfter
- A filter that returns only monitoring schedules created after a
specified time.
$sel:nextToken:ListMonitoringSchedules'
, listMonitoringSchedules_nextToken
- The token returned if the response is truncated. To retrieve the next
set of job executions, use it in the next request.
$sel:sortOrder:ListMonitoringSchedules'
, listMonitoringSchedules_sortOrder
- Whether to sort the results in Ascending
or Descending
order. The
default is Descending
.
$sel:lastModifiedTimeAfter:ListMonitoringSchedules'
, listMonitoringSchedules_lastModifiedTimeAfter
- A filter that returns only monitoring schedules modified after a
specified time.
$sel:creationTimeBefore:ListMonitoringSchedules'
, listMonitoringSchedules_creationTimeBefore
- A filter that returns only monitoring schedules created before a
specified time.
$sel:statusEquals:ListMonitoringSchedules'
, listMonitoringSchedules_statusEquals
- A filter that returns only monitoring schedules modified before a
specified time.
$sel:monitoringTypeEquals:ListMonitoringSchedules'
, listMonitoringSchedules_monitoringTypeEquals
- A filter that returns only the monitoring schedules for the specified
monitoring type.
$sel:maxResults:ListMonitoringSchedules'
, listMonitoringSchedules_maxResults
- The maximum number of jobs to return in the response. The default value
is 10.
$sel:sortBy:ListMonitoringSchedules'
, listMonitoringSchedules_sortBy
- Whether to sort results by Status
, CreationTime
, ScheduledTime
field. The default is CreationTime
.
$sel:monitoringJobDefinitionName:ListMonitoringSchedules'
, listMonitoringSchedules_monitoringJobDefinitionName
- Gets a list of the monitoring schedules for the specified monitoring job
definition.
Request Lenses
listMonitoringSchedules_nameContains :: Lens' ListMonitoringSchedules (Maybe Text) Source #
Filter for monitoring schedules whose name contains a specified string.
listMonitoringSchedules_endpointName :: Lens' ListMonitoringSchedules (Maybe Text) Source #
Name of a specific endpoint to fetch schedules for.
listMonitoringSchedules_lastModifiedTimeBefore :: Lens' ListMonitoringSchedules (Maybe UTCTime) Source #
A filter that returns only monitoring schedules modified before a specified time.
listMonitoringSchedules_creationTimeAfter :: Lens' ListMonitoringSchedules (Maybe UTCTime) Source #
A filter that returns only monitoring schedules created after a specified time.
listMonitoringSchedules_nextToken :: Lens' ListMonitoringSchedules (Maybe Text) Source #
The token returned if the response is truncated. To retrieve the next set of job executions, use it in the next request.
listMonitoringSchedules_sortOrder :: Lens' ListMonitoringSchedules (Maybe SortOrder) Source #
Whether to sort the results in Ascending
or Descending
order. The
default is Descending
.
listMonitoringSchedules_lastModifiedTimeAfter :: Lens' ListMonitoringSchedules (Maybe UTCTime) Source #
A filter that returns only monitoring schedules modified after a specified time.
listMonitoringSchedules_creationTimeBefore :: Lens' ListMonitoringSchedules (Maybe UTCTime) Source #
A filter that returns only monitoring schedules created before a specified time.
listMonitoringSchedules_statusEquals :: Lens' ListMonitoringSchedules (Maybe ScheduleStatus) Source #
A filter that returns only monitoring schedules modified before a specified time.
listMonitoringSchedules_monitoringTypeEquals :: Lens' ListMonitoringSchedules (Maybe MonitoringType) Source #
A filter that returns only the monitoring schedules for the specified monitoring type.
listMonitoringSchedules_maxResults :: Lens' ListMonitoringSchedules (Maybe Natural) Source #
The maximum number of jobs to return in the response. The default value is 10.
listMonitoringSchedules_sortBy :: Lens' ListMonitoringSchedules (Maybe MonitoringScheduleSortKey) Source #
Whether to sort results by Status
, CreationTime
, ScheduledTime
field. The default is CreationTime
.
listMonitoringSchedules_monitoringJobDefinitionName :: Lens' ListMonitoringSchedules (Maybe Text) Source #
Gets a list of the monitoring schedules for the specified monitoring job definition.
Destructuring the Response
data ListMonitoringSchedulesResponse Source #
See: newListMonitoringSchedulesResponse
smart constructor.
ListMonitoringSchedulesResponse' | |
|
Instances
newListMonitoringSchedulesResponse Source #
Create a value of ListMonitoringSchedulesResponse
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:ListMonitoringSchedules'
, listMonitoringSchedulesResponse_nextToken
- If the response is truncated, Amazon SageMaker returns this token. To
retrieve the next set of jobs, use it in the subsequent request.
$sel:httpStatus:ListMonitoringSchedulesResponse'
, listMonitoringSchedulesResponse_httpStatus
- The response's http status code.
$sel:monitoringScheduleSummaries:ListMonitoringSchedulesResponse'
, listMonitoringSchedulesResponse_monitoringScheduleSummaries
- A JSON array in which each element is a summary for a monitoring
schedule.
Response Lenses
listMonitoringSchedulesResponse_nextToken :: Lens' ListMonitoringSchedulesResponse (Maybe Text) Source #
If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of jobs, use it in the subsequent request.
listMonitoringSchedulesResponse_httpStatus :: Lens' ListMonitoringSchedulesResponse Int Source #
The response's http status code.
listMonitoringSchedulesResponse_monitoringScheduleSummaries :: Lens' ListMonitoringSchedulesResponse [MonitoringScheduleSummary] Source #
A JSON array in which each element is a summary for a monitoring schedule.