:doc:`SSM <../../ssm>` / Client / get_default_patch_baseline

**************************
get_default_patch_baseline
**************************



.. py:method:: SSM.Client.get_default_patch_baseline(**kwargs)

  

  Retrieves the default patch baseline. Amazon Web Services Systems Manager supports creating multiple default patch baselines. For example, you can create a default patch baseline for each operating system.

   

  If you don't specify an operating system value, the default patch baseline for Windows is returned.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline>`_  


  **Request Syntax**
  ::

    response = client.get_default_patch_baseline(
        OperatingSystem='WINDOWS'|'AMAZON_LINUX'|'AMAZON_LINUX_2'|'AMAZON_LINUX_2022'|'UBUNTU'|'REDHAT_ENTERPRISE_LINUX'|'SUSE'|'CENTOS'|'ORACLE_LINUX'|'DEBIAN'|'MACOS'|'RASPBIAN'|'ROCKY_LINUX'|'ALMA_LINUX'|'AMAZON_LINUX_2023'
    )
    
  :type OperatingSystem: string
  :param OperatingSystem: 

    Returns the default patch baseline for the specified operating system.

    

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

    
    ::

      {
          'BaselineId': 'string',
          'OperatingSystem': 'WINDOWS'|'AMAZON_LINUX'|'AMAZON_LINUX_2'|'AMAZON_LINUX_2022'|'UBUNTU'|'REDHAT_ENTERPRISE_LINUX'|'SUSE'|'CENTOS'|'ORACLE_LINUX'|'DEBIAN'|'MACOS'|'RASPBIAN'|'ROCKY_LINUX'|'ALMA_LINUX'|'AMAZON_LINUX_2023'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **BaselineId** *(string) --* 

        The ID of the default patch baseline.

        
      

      - **OperatingSystem** *(string) --* 

        The operating system for the returned patch baseline.

        
  
  **Exceptions**
  
  *   :py:class:`SSM.Client.exceptions.InternalServerError`

  