| 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 | 
Amazonka.Scheduler.ListScheduleGroups
Description
Returns a paginated list of your schedule groups.
This operation returns paginated results.
Synopsis
- data ListScheduleGroups = ListScheduleGroups' {
- maxResults :: Maybe Natural
 - namePrefix :: Maybe Text
 - nextToken :: Maybe Text
 
 - newListScheduleGroups :: ListScheduleGroups
 - listScheduleGroups_maxResults :: Lens' ListScheduleGroups (Maybe Natural)
 - listScheduleGroups_namePrefix :: Lens' ListScheduleGroups (Maybe Text)
 - listScheduleGroups_nextToken :: Lens' ListScheduleGroups (Maybe Text)
 - data ListScheduleGroupsResponse = ListScheduleGroupsResponse' {}
 - newListScheduleGroupsResponse :: Int -> ListScheduleGroupsResponse
 - listScheduleGroupsResponse_nextToken :: Lens' ListScheduleGroupsResponse (Maybe Text)
 - listScheduleGroupsResponse_httpStatus :: Lens' ListScheduleGroupsResponse Int
 - listScheduleGroupsResponse_scheduleGroups :: Lens' ListScheduleGroupsResponse [ScheduleGroupSummary]
 
Creating a Request
data ListScheduleGroups Source #
See: newListScheduleGroups smart constructor.
Constructors
| ListScheduleGroups' | |
Fields 
  | |
Instances
newListScheduleGroups :: ListScheduleGroups Source #
Create a value of ListScheduleGroups 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:ListScheduleGroups', listScheduleGroups_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:ListScheduleGroups', listScheduleGroups_namePrefix - The name prefix that you can use to return a filtered list of your
 schedule groups.
ListScheduleGroups, listScheduleGroups_nextToken - The token returned by a previous call to retrieve the next set of
 results.
Request Lenses
listScheduleGroups_maxResults :: Lens' ListScheduleGroups (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.
listScheduleGroups_namePrefix :: Lens' ListScheduleGroups (Maybe Text) Source #
The name prefix that you can use to return a filtered list of your schedule groups.
listScheduleGroups_nextToken :: Lens' ListScheduleGroups (Maybe Text) Source #
The token returned by a previous call to retrieve the next set of results.
Destructuring the Response
data ListScheduleGroupsResponse Source #
See: newListScheduleGroupsResponse smart constructor.
Constructors
| ListScheduleGroupsResponse' | |
Fields 
  | |
Instances
newListScheduleGroupsResponse Source #
Create a value of ListScheduleGroupsResponse 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:
ListScheduleGroups, listScheduleGroupsResponse_nextToken - Indicates whether there are additional results to retrieve. If the value
 is null, there are no more results.
$sel:httpStatus:ListScheduleGroupsResponse', listScheduleGroupsResponse_httpStatus - The response's http status code.
$sel:scheduleGroups:ListScheduleGroupsResponse', listScheduleGroupsResponse_scheduleGroups - The schedule groups that match the specified criteria.
Response Lenses
listScheduleGroupsResponse_nextToken :: Lens' ListScheduleGroupsResponse (Maybe Text) Source #
Indicates whether there are additional results to retrieve. If the value is null, there are no more results.
listScheduleGroupsResponse_httpStatus :: Lens' ListScheduleGroupsResponse Int Source #
The response's http status code.
listScheduleGroupsResponse_scheduleGroups :: Lens' ListScheduleGroupsResponse [ScheduleGroupSummary] Source #
The schedule groups that match the specified criteria.