:doc:`CloudFormation <../../cloudformation>` / Client / set_type_default_version

************************
set_type_default_version
************************



.. py:method:: CloudFormation.Client.set_type_default_version(**kwargs)

  

  Specify the default version of an extension. The default version of an extension will be used in CloudFormation operations.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetTypeDefaultVersion>`_  


  **Request Syntax**
  ::

    response = client.set_type_default_version(
        Arn='string',
        Type='RESOURCE'|'MODULE'|'HOOK',
        TypeName='string',
        VersionId='string'
    )
    
  :type Arn: string
  :param Arn: 

    The Amazon Resource Name (ARN) of the extension for which you want version summary information.

     

    Conditional: You must specify either ``TypeName`` and ``Type``, or ``Arn``.

    

  
  :type Type: string
  :param Type: 

    The kind of extension.

     

    Conditional: You must specify either ``TypeName`` and ``Type``, or ``Arn``.

    

  
  :type TypeName: string
  :param TypeName: 

    The name of the extension.

     

    Conditional: You must specify either ``TypeName`` and ``Type``, or ``Arn``.

    

  
  :type VersionId: string
  :param VersionId: 

    The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`CloudFormation.Client.exceptions.CFNRegistryException`

  
  *   :py:class:`CloudFormation.Client.exceptions.TypeNotFoundException`

  