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 |
Returns a paginated list of your EventBridge Scheduler schedules.
This operation returns paginated results.
Synopsis
- data ListSchedules = ListSchedules' {
- groupName :: Maybe Text
- maxResults :: Maybe Natural
- namePrefix :: Maybe Text
- nextToken :: Maybe Text
- state :: Maybe ScheduleState
- newListSchedules :: ListSchedules
- listSchedules_groupName :: Lens' ListSchedules (Maybe Text)
- listSchedules_maxResults :: Lens' ListSchedules (Maybe Natural)
- listSchedules_namePrefix :: Lens' ListSchedules (Maybe Text)
- listSchedules_nextToken :: Lens' ListSchedules (Maybe Text)
- listSchedules_state :: Lens' ListSchedules (Maybe ScheduleState)
- data ListSchedulesResponse = ListSchedulesResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- schedules :: [ScheduleSummary]
- newListSchedulesResponse :: Int -> ListSchedulesResponse
- listSchedulesResponse_nextToken :: Lens' ListSchedulesResponse (Maybe Text)
- listSchedulesResponse_httpStatus :: Lens' ListSchedulesResponse Int
- listSchedulesResponse_schedules :: Lens' ListSchedulesResponse [ScheduleSummary]
Creating a Request
data ListSchedules Source #
See: newListSchedules
smart constructor.
ListSchedules' | |
|
Instances
newListSchedules :: ListSchedules Source #
Create a value of ListSchedules
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:
ListSchedules
, listSchedules_groupName
- If specified, only lists the schedules whose associated schedule group
matches the given filter.
$sel:maxResults:ListSchedules'
, listSchedules_maxResults
- If specified, limits the number of results returned by this operation.
The operation also returns a NextToken
which you can use in a
subsequent operation to retrieve the next set of results.
$sel:namePrefix:ListSchedules'
, listSchedules_namePrefix
- Schedule name prefix to return the filtered list of resources.
ListSchedules
, listSchedules_nextToken
- The token returned by a previous call to retrieve the next set of
results.
ListSchedules
, listSchedules_state
- If specified, only lists the schedules whose current state matches the
given filter.
Request Lenses
listSchedules_groupName :: Lens' ListSchedules (Maybe Text) Source #
If specified, only lists the schedules whose associated schedule group matches the given filter.
listSchedules_maxResults :: Lens' ListSchedules (Maybe Natural) Source #
If specified, limits the number of results returned by this operation.
The operation also returns a NextToken
which you can use in a
subsequent operation to retrieve the next set of results.
listSchedules_namePrefix :: Lens' ListSchedules (Maybe Text) Source #
Schedule name prefix to return the filtered list of resources.
listSchedules_nextToken :: Lens' ListSchedules (Maybe Text) Source #
The token returned by a previous call to retrieve the next set of results.
listSchedules_state :: Lens' ListSchedules (Maybe ScheduleState) Source #
If specified, only lists the schedules whose current state matches the given filter.
Destructuring the Response
data ListSchedulesResponse Source #
See: newListSchedulesResponse
smart constructor.
ListSchedulesResponse' | |
|
Instances
newListSchedulesResponse Source #
Create a value of ListSchedulesResponse
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:
ListSchedules
, listSchedulesResponse_nextToken
- Indicates whether there are additional results to retrieve. If the value
is null, there are no more results.
$sel:httpStatus:ListSchedulesResponse'
, listSchedulesResponse_httpStatus
- The response's http status code.
$sel:schedules:ListSchedulesResponse'
, listSchedulesResponse_schedules
- The schedules that match the specified criteria.
Response Lenses
listSchedulesResponse_nextToken :: Lens' ListSchedulesResponse (Maybe Text) Source #
Indicates whether there are additional results to retrieve. If the value is null, there are no more results.
listSchedulesResponse_httpStatus :: Lens' ListSchedulesResponse Int Source #
The response's http status code.
listSchedulesResponse_schedules :: Lens' ListSchedulesResponse [ScheduleSummary] Source #
The schedules that match the specified criteria.