get_patch_baseline_for_patch_group

SSM.Client.get_patch_baseline_for_patch_group(**kwargs)

Retrieves the patch baseline that should be used for the specified patch group.

See also: AWS API Documentation

Request Syntax

response = client.get_patch_baseline_for_patch_group(
    PatchGroup='string',
    OperatingSystem='WINDOWS'|'AMAZON_LINUX'|'AMAZON_LINUX_2'|'AMAZON_LINUX_2022'|'UBUNTU'|'REDHAT_ENTERPRISE_LINUX'|'SUSE'|'CENTOS'|'ORACLE_LINUX'|'DEBIAN'|'MACOS'|'RASPBIAN'|'ROCKY_LINUX'
)
Parameters
  • PatchGroup (string) --

    [REQUIRED]

    The name of the patch group whose patch baseline should be retrieved.

  • OperatingSystem (string) -- Returns the operating system rule specified for patch groups using the patch baseline.
Return type

dict

Returns

Response Syntax

{
    'BaselineId': 'string',
    'PatchGroup': 'string',
    'OperatingSystem': 'WINDOWS'|'AMAZON_LINUX'|'AMAZON_LINUX_2'|'AMAZON_LINUX_2022'|'UBUNTU'|'REDHAT_ENTERPRISE_LINUX'|'SUSE'|'CENTOS'|'ORACLE_LINUX'|'DEBIAN'|'MACOS'|'RASPBIAN'|'ROCKY_LINUX'
}

Response Structure

  • (dict) --

    • BaselineId (string) --

      The ID of the patch baseline that should be used for the patch group.

    • PatchGroup (string) --

      The name of the patch group.

    • OperatingSystem (string) --

      The operating system rule specified for patch groups using the patch baseline.

Exceptions

  • SSM.Client.exceptions.InternalServerError