list_schedules
¶
list_schedules(
*,
config_overrides: Optional[SchedulerClientConfig] = None,
group_name: Optional[ScheduleGroupName] = None,
name_prefix: Optional[NamePrefix] = None,
state: Optional[ScheduleState] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListSchedulesOutput
Returns a paginated list of your EventBridge Scheduler schedules.
Parameters:
-
group_name(Optional[ScheduleGroupName], default:None) –If specified, only lists the schedules whose associated schedule group matches the given filter.
-
name_prefix(Optional[NamePrefix], default:None) –Schedule name prefix to return the filtered list of resources.
-
state(Optional[ScheduleState], default:None) –If specified, only lists the schedules whose current state matches the given filter.
-
next_token(Optional[NextToken], default:None) –The token returned by a previous call to retrieve the next set of results.
-
max_results(Optional[MaxResults], default:None) –If specified, limits the number of results returned by this operation. The operation also returns a
NextTokenwhich you can use in a subsequent operation to retrieve the next set of results.
Raises:
-
InternalServerException–Unexpected error encountered while processing the request.
-
ResourceNotFoundException–The request references a resource which does not exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.