:doc:`GlueDataBrew <../../databrew>` / Client / list_schedules

**************
list_schedules
**************



.. py:method:: GlueDataBrew.Client.list_schedules(**kwargs)

  

  Lists the DataBrew schedules that are defined.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListSchedules>`_  


  **Request Syntax**
  ::

    response = client.list_schedules(
        JobName='string',
        MaxResults=123,
        NextToken='string'
    )
    
  :type JobName: string
  :param JobName: 

    The name of the job that these schedules apply to.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return in this request.

    

  
  :type NextToken: string
  :param NextToken: 

    The token returned by a previous call to retrieve the next set of results.

    

  
  
  :rtype: 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 <https://docs.aws.amazon.com/databrew/latest/dg/jobs.cron.html>`__ 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**
  
  *   :py:class:`GlueDataBrew.Client.exceptions.ValidationException`

  