GlueDataBrew / Client / list_schedules
list_schedules#
- GlueDataBrew.Client.list_schedules(**kwargs)#
Lists the DataBrew schedules that are defined.
See also: AWS API Documentation
Request Syntax
response = client.list_schedules( JobName='string', MaxResults=123, NextToken='string' )
- Parameters:
JobName (string) – The name of the job that these schedules apply to.
MaxResults (integer) – The maximum number of results to return in this request.
NextToken (string) – The token returned by a previous call to retrieve the next set of results.
- Return type:
dict
- Returns:
Response Syntax
{ 'Schedules': [ { 'AccountId': 'string', 'CreatedBy': 'string', 'CreateDate': datetime(2015, 1, 1), 'JobNames': [ 'string', ], 'LastModifiedBy': 'string', 'LastModifiedDate': datetime(2015, 1, 1), 'ResourceArn': 'string', 'CronExpression': 'string', 'Tags': { 'string': 'string' }, 'Name': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
Schedules (list) –
A list of schedules that are defined.
(dict) –
Represents one or more dates and times when a job is to run.
AccountId (string) –
The ID of the Amazon Web Services account that owns the schedule.
CreatedBy (string) –
The Amazon Resource Name (ARN) of the user who created the schedule.
CreateDate (datetime) –
The date and time that the schedule was created.
JobNames (list) –
A list of jobs to be run, according to the schedule.
(string) –
LastModifiedBy (string) –
The Amazon Resource Name (ARN) of the user who last modified the schedule.
LastModifiedDate (datetime) –
The date and time when the schedule was last modified.
ResourceArn (string) –
The Amazon Resource Name (ARN) of the schedule.
CronExpression (string) –
The dates and times when the job is to run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.
Tags (dict) –
Metadata tags that have been applied to the schedule.
(string) –
(string) –
Name (string) –
The name of the schedule.
NextToken (string) –
A token that you can use in a subsequent call to retrieve the next set of results.
Exceptions
GlueDataBrew.Client.exceptions.ValidationException