Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

list_managed_job_templates

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