list_schedule_groups
(**kwargs)¶Returns a paginated list of your schedule groups.
See also: AWS API Documentation
Request Syntax
response = client.list_schedule_groups(
MaxResults=123,
NamePrefix='string',
NextToken='string'
)
NextToken
which you can use in a subsequent operation to retrieve the next set of results.dict
Response Syntax
{
'NextToken': 'string',
'ScheduleGroups': [
{
'Arn': 'string',
'CreationDate': datetime(2015, 1, 1),
'LastModificationDate': datetime(2015, 1, 1),
'Name': 'string',
'State': 'ACTIVE'|'DELETING'
},
]
}
Response Structure
(dict) --
NextToken (string) --
Indicates whether there are additional results to retrieve. If the value is null, there are no more results.
ScheduleGroups (list) --
The schedule groups that match the specified criteria.
(dict) --
The details of a schedule group.
Arn (string) --
The Amazon Resource Name (ARN) of the schedule group.
CreationDate (datetime) --
The time at which the schedule group was created.
LastModificationDate (datetime) --
The time at which the schedule group was last modified.
Name (string) --
The name of the schedule group.
State (string) --
Specifies the state of the schedule group.
Exceptions
EventBridgeScheduler.Client.exceptions.ValidationException
EventBridgeScheduler.Client.exceptions.InternalServerException
EventBridgeScheduler.Client.exceptions.ThrottlingException