ListScheduleGroups
Returns a paginated list of your schedule groups.
Request Syntax
GET /schedule-groups?MaxResults=MaxResults
&NamePrefix=NamePrefix
&NextToken=NextToken
HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- 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.Valid Range: Minimum value of 1. Maximum value of 100.
- NamePrefix
-
The name prefix that you can use to return a filtered list of your schedule groups.
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
^[0-9a-zA-Z-_.]+$
- NextToken
-
The token returned by a previous call to retrieve the next set of results.
Length Constraints: Minimum length of 1. Maximum length of 2048.
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"NextToken": "string",
"ScheduleGroups": [
{
"Arn": "string",
"CreationDate": number,
"LastModificationDate": number,
"Name": "string",
"State": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- NextToken
-
Indicates whether there are additional results to retrieve. If the value is null, there are no more results.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
- ScheduleGroups
-
The schedule groups that match the specified criteria.
Type: Array of ScheduleGroupSummary objects
Errors
For information about the errors that are common to all actions, see Common Errors.
- InternalServerException
-
Unexpected error encountered while processing the request.
HTTP Status Code: 500
- ThrottlingException
-
The request was denied due to request throttling.
HTTP Status Code: 429
- ValidationException
-
The input fails to satisfy the constraints specified by an AWS service.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: