Modifies an existing patch baseline. Fields not specified in the request are left unchanged.
See https://www.paws-r-sdk.com/docs/ssm_update_patch_baseline/ for full documentation.
ssm_update_patch_baseline(
BaselineId,
Name = NULL,
GlobalFilters = NULL,
ApprovalRules = NULL,
ApprovedPatches = NULL,
ApprovedPatchesComplianceLevel = NULL,
ApprovedPatchesEnableNonSecurity = NULL,
RejectedPatches = NULL,
RejectedPatchesAction = NULL,
Description = NULL,
Sources = NULL,
Replace = NULL
)
[required] The ID of the patch baseline to update.
The name of the patch baseline.
A set of global filters used to include patches in the baseline.
The GlobalFilters
parameter can be configured only by using the CLI or
an Amazon Web Services SDK. It can't be configured from the Patch
Manager console, and its value isn't displayed in the console.
A set of rules used to include patches in the baseline.
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
Assigns a new compliance severity level to an existing patch baseline.
Indicates whether the list of approved patches includes non-security
updates that should be applied to the managed nodes. The default value
is false
. Applies to Linux managed nodes only.
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
The action for Patch Manager to take on patches included in the
RejectedPackages
list.
ALLOW_AS_DEPENDENCY
Linux and macOS: A package in the rejected patches list is installed
only if it is a dependency of another package. It is considered
compliant with the patch baseline, and its status is reported as
INSTALLED_OTHER
. This is the default action if no option is specified.
Windows Server: Windows Server doesn't support the concept of
package dependencies. If a package in the rejected patches list and
already installed on the node, its status is reported as
INSTALLED_OTHER
. Any package not already installed on the node is
skipped. This is the default action if no option is specified.
BLOCK
All OSs: Packages in the rejected patches list, and packages that
include them as dependencies, aren't installed by Patch Manager under
any circumstances. If a package was installed before it was added to the
rejected patches list, or is installed outside of Patch Manager
afterward, it's considered noncompliant with the patch baseline and its
status is reported as INSTALLED_REJECTED
.
A description of the patch baseline.
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
If True, then all fields that are required by the
create_patch_baseline
operation are also
required for this API request. Optional fields that aren't specified are
set to null.