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

************************
get_environment_template
************************



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

  

  Get detailed data for an environment template.

  

  .. 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/GetEnvironmentTemplate>`_  


  **Request Syntax**
  ::

    response = client.get_environment_template(
        name='string'
    )
    
  :type name: string
  :param name: **[REQUIRED]** 

    The name of the environment template that you want to get the detailed data for.

    

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

    
    ::

      {
          'environmentTemplate': {
              'arn': 'string',
              'createdAt': datetime(2015, 1, 1),
              'description': 'string',
              'displayName': 'string',
              'encryptionKey': 'string',
              'lastModifiedAt': datetime(2015, 1, 1),
              'name': 'string',
              'provisioning': 'CUSTOMER_MANAGED',
              'recommendedVersion': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **environmentTemplate** *(dict) --* 

        The detailed data of the requested environment template.

        
        

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

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

          
        

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

          The time when the environment template was created.

          
        

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

          A description of the environment template.

          
        

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

          The name of the environment template as displayed in the developer interface.

          
        

        - **encryptionKey** *(string) --* 

          The customer provided encryption key for the environment template.

          
        

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

          The time when the environment template was last modified.

          
        

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

          The name of the environment template.

          
        

        - **provisioning** *(string) --* 

          When included, indicates that the environment template is for customer provisioned and managed infrastructure.

          
        

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

          The ID of the recommended version of the environment 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.ResourceNotFoundException`

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

  