list_managed_job_templates

IoT.Client.list_managed_job_templates(**kwargs)

Returns a list of managed job templates.

See also: AWS API Documentation

Request Syntax

response = client.list_managed_job_templates(
    templateName='string',
    maxResults=123,
    nextToken='string'
)
Parameters
  • templateName (string) -- An optional parameter for template name. If specified, only the versions of the managed job templates that have the specified template name will be returned.
  • maxResults (integer) -- Maximum number of entries that can be returned.
  • nextToken (string) -- The token to retrieve the next set of results.
Return type

dict

Returns

Response Syntax

{
    'managedJobTemplates': [
        {
            'templateArn': 'string',
            'templateName': 'string',
            'description': 'string',
            'environments': [
                'string',
            ],
            'templateVersion': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • managedJobTemplates (list) --

      A list of managed job templates that are returned.

      • (dict) --

        An object that contains information about the managed template.

        • templateArn (string) --

          The Amazon Resource Name (ARN) for a managed template.

        • templateName (string) --

          The unique Name for a managed template.

        • description (string) --

          The description for a managed template.

        • environments (list) --

          A list of environments that are supported with the managed job template.

          • (string) --
        • templateVersion (string) --

          The version for a managed template.

    • nextToken (string) --

      The token to retrieve the next set of results.

Exceptions

  • IoT.Client.exceptions.InvalidRequestException
  • IoT.Client.exceptions.ResourceNotFoundException
  • IoT.Client.exceptions.ThrottlingException
  • IoT.Client.exceptions.InternalServerException