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