:doc:`IoT <../../iot>` / Client / list_job_templates

******************
list_job_templates
******************



.. py:method:: IoT.Client.list_job_templates(**kwargs)

  

  Returns a list of job templates.

   

  Requires permission to access the `ListJobTemplates <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions>`__ action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListJobTemplates>`_  


  **Request Syntax**
  ::

    response = client.list_job_templates(
        maxResults=123,
        nextToken='string'
    )
    
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return in the list.

    

  
  :type nextToken: string
  :param nextToken: 

    The token to use to return the next set of results in the list.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'jobTemplates': [
              {
                  'jobTemplateArn': 'string',
                  'jobTemplateId': 'string',
                  'description': 'string',
                  'createdAt': datetime(2015, 1, 1)
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **jobTemplates** *(list) --* 

        A list of objects that contain information about the job templates.

        
        

        - *(dict) --* 

          An object that contains information about the job template.

          
          

          - **jobTemplateArn** *(string) --* 

            The ARN of the job template.

            
          

          - **jobTemplateId** *(string) --* 

            The unique identifier of the job template.

            
          

          - **description** *(string) --* 

            A description of the job template.

            
          

          - **createdAt** *(datetime) --* 

            The time, in seconds since the epoch, when the job template was created.

            
      
    
      

      - **nextToken** *(string) --* 

        The token for the next set of results, or **null** if there are no additional results.

        
  
  **Exceptions**
  
  *   :py:class:`IoT.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`IoT.Client.exceptions.ThrottlingException`

  
  *   :py:class:`IoT.Client.exceptions.InternalFailureException`

  