Skip to content

Lists all patch groups that have been registered with patch baselines

Description

Lists all patch groups that have been registered with patch baselines.

Usage

ssm_describe_patch_groups(MaxResults, Filters, NextToken)

Arguments

  • MaxResults

    The maximum number of patch groups to return (per page).

  • Filters

    Each element in the array is a structure containing a key-value pair.

    Supported keys for describe_patch_groups include the following:

    • NAME_PREFIX

      Sample values: AWS- | My-. - OPERATING_SYSTEM

      Sample values: AMAZON_LINUX | SUSE | WINDOWS

  • NextToken

    The token for the next set of items to return. (You received this token from a previous call.)

Value

A list with the following syntax:

list(
  Mappings = list(
    list(
      PatchGroup = "string",
      BaselineIdentity = list(
        BaselineId = "string",
        BaselineName = "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",
        BaselineDescription = "string",
        DefaultBaseline = TRUE|FALSE
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_patch_groups(
  MaxResults = 123,
  Filters = list(
    list(
      Key = "string",
      Values = list(
        "string"
      )
    )
  ),
  NextToken = "string"
)