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'
)
dict
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