SSM / Client / get_default_patch_baseline
get_default_patch_baseline#
- 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 - 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' ) - Parameters:
- OperatingSystem (string) – Returns the default patch baseline for the specified operating system. 
- Return type:
- 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- SSM.Client.exceptions.InternalServerError