IoT / Client / list_job_templates

list_job_templates#

IoT.Client.list_job_templates(**kwargs)#

Returns a list of job templates.

Requires permission to access the ListJobTemplates action.

See also: AWS API Documentation

Request Syntax

response = client.list_job_templates(
    maxResults=123,
    nextToken='string'
)
Parameters:
  • maxResults (integer) – The maximum number of results to return in the list.

  • nextToken (string) – The token to use to return the next set of results in the list.

Return type:

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

  • IoT.Client.exceptions.InvalidRequestException

  • IoT.Client.exceptions.ThrottlingException

  • IoT.Client.exceptions.InternalFailureException