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 |
Lists the DataBrew schedules that are defined.
This operation returns paginated results.
Synopsis
- data ListSchedules = ListSchedules' {}
- newListSchedules :: ListSchedules
- listSchedules_jobName :: Lens' ListSchedules (Maybe Text)
- listSchedules_nextToken :: Lens' ListSchedules (Maybe Text)
- listSchedules_maxResults :: Lens' ListSchedules (Maybe Natural)
- data ListSchedulesResponse = ListSchedulesResponse' {}
- newListSchedulesResponse :: Int -> ListSchedulesResponse
- listSchedulesResponse_nextToken :: Lens' ListSchedulesResponse (Maybe Text)
- listSchedulesResponse_httpStatus :: Lens' ListSchedulesResponse Int
- listSchedulesResponse_schedules :: Lens' ListSchedulesResponse [Schedule]
Creating a Request
data ListSchedules Source #
See: newListSchedules
smart constructor.
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:
$sel:jobName:ListSchedules'
, listSchedules_jobName
- The name of the job that these schedules apply to.
$sel:nextToken:ListSchedules'
, listSchedules_nextToken
- The token returned by a previous call to retrieve the next set of
results.
$sel:maxResults:ListSchedules'
, listSchedules_maxResults
- The maximum number of results to return in this request.
Request Lenses
listSchedules_jobName :: Lens' ListSchedules (Maybe Text) Source #
The name of the job that these schedules apply to.
listSchedules_nextToken :: Lens' ListSchedules (Maybe Text) Source #
The token returned by a previous call to retrieve the next set of results.
listSchedules_maxResults :: Lens' ListSchedules (Maybe Natural) Source #
The maximum number of results to return in this request.
Destructuring the Response
data ListSchedulesResponse Source #
See: newListSchedulesResponse
smart constructor.
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:
$sel:nextToken:ListSchedules'
, listSchedulesResponse_nextToken
- A token that you can use in a subsequent call to retrieve the next set
of results.
$sel:httpStatus:ListSchedulesResponse'
, listSchedulesResponse_httpStatus
- The response's http status code.
$sel:schedules:ListSchedulesResponse'
, listSchedulesResponse_schedules
- A list of schedules that are defined.
Response Lenses
listSchedulesResponse_nextToken :: Lens' ListSchedulesResponse (Maybe Text) Source #
A token that you can use in a subsequent call to retrieve the next set of results.
listSchedulesResponse_httpStatus :: Lens' ListSchedulesResponse Int Source #
The response's http status code.
listSchedulesResponse_schedules :: Lens' ListSchedulesResponse [Schedule] Source #
A list of schedules that are defined.