:doc:`Proton <../../proton>` / Client / list_service_templates

**********************
list_service_templates
**********************



.. py:method:: Proton.Client.list_service_templates(**kwargs)

  

  List service templates with detail data.

  

  .. danger::

        This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.


  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceTemplates>`_  


  **Request Syntax**
  ::

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

    The maximum number of service templates to list.

    

  
  :type nextToken: string
  :param nextToken: 

    A token that indicates the location of the next service template in the array of service templates, after the list of service templates previously requested.

    

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

    
    ::

      {
          'nextToken': 'string',
          'templates': [
              {
                  'arn': 'string',
                  'createdAt': datetime(2015, 1, 1),
                  'description': 'string',
                  'displayName': 'string',
                  'lastModifiedAt': datetime(2015, 1, 1),
                  'name': 'string',
                  'pipelineProvisioning': 'CUSTOMER_MANAGED',
                  'recommendedVersion': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        A token that indicates the location of the next service template in the array of service templates, after the current requested list of service templates.

        
      

      - **templates** *(list) --* 

        An array of service templates with detail data.

        
        

        - *(dict) --* 

          Summary data of an Proton service template resource.

          
          

          - **arn** *(string) --* 

            The Amazon Resource Name (ARN) of the service template.

            
          

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

            The time when the service template was created.

            
          

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

            A description of the service template.

            
          

          - **displayName** *(string) --* 

            The service template name as displayed in the developer interface.

            
          

          - **lastModifiedAt** *(datetime) --* 

            The time when the service template was last modified.

            
          

          - **name** *(string) --* 

            The name of the service template.

            
          

          - **pipelineProvisioning** *(string) --* 

            If ``pipelineProvisioning`` is ``true``, a service pipeline is included in the service template, otherwise a service pipeline *isn't* included in the service template.

            
          

          - **recommendedVersion** *(string) --* 

            The recommended version of the service template.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`Proton.Client.exceptions.ValidationException`

  
  *   :py:class:`Proton.Client.exceptions.AccessDeniedException`

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

  
  *   :py:class:`Proton.Client.exceptions.InternalServerException`

  