:doc:`IoT <../../iot>` / Client / describe_provisioning_template_version

**************************************
describe_provisioning_template_version
**************************************



.. py:method:: IoT.Client.describe_provisioning_template_version(**kwargs)

  

  Returns information about a provisioning template version.

   

  Requires permission to access the `DescribeProvisioningTemplateVersion <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions>`__ action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeProvisioningTemplateVersion>`_  


  **Request Syntax**
  ::

    response = client.describe_provisioning_template_version(
        templateName='string',
        versionId=123
    )
    
  :type templateName: string
  :param templateName: **[REQUIRED]** 

    The template name.

    

  
  :type versionId: integer
  :param versionId: **[REQUIRED]** 

    The provisioning template version ID.

    

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

    
    ::

      {
          'versionId': 123,
          'creationDate': datetime(2015, 1, 1),
          'templateBody': 'string',
          'isDefaultVersion': True|False
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **versionId** *(integer) --* 

        The provisioning template version ID.

        
      

      - **creationDate** *(datetime) --* 

        The date when the provisioning template version was created.

        
      

      - **templateBody** *(string) --* 

        The JSON formatted contents of the provisioning template version.

        
      

      - **isDefaultVersion** *(boolean) --* 

        True if the provisioning template version is the default version.

        
  
  **Exceptions**
  
  *   :py:class:`IoT.Client.exceptions.InternalFailureException`

  
  *   :py:class:`IoT.Client.exceptions.InvalidRequestException`

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

  
  *   :py:class:`IoT.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`IoT.Client.exceptions.UnauthorizedException`

  