v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141381,185842.7 KB

Retrieves information about a patch baseline.

post/#X-Amz-Target=AmazonSSM.GetPatchBaseline

Headers

X-Amz-Target'AmazonSSM.GetPatchBaseline' required

Request body

BaselineIdstring required
<p>The ID of the patch baseline to retrieve.</p> <note> <p>To retrieve information about an Amazon Web Services managed patch baseline, specify the full Amazon Resource Name (ARN) of the baseline. For example, for the baseline <code>AWS-AmazonLinuxDefaultPatchBaseline</code>, specify <code>arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0e392de35e7c563b7</code> instead of <code>pb-0e392de35e7c563b7</code>.</p> </note>

Response

Success

BaselineIdstring

The ID of the retrieved patch baseline.

Namestring

The name of the 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'

Returns the operating system specified for the patch baseline.

ApprovedPatchesPatchId[]

A list of explicitly approved patches for the baseline.

ApprovedPatchesComplianceLevel'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW' | 'INFORMATIONAL' | 'UNSPECIFIED'

Returns the specified compliance severity level for approved patches in the patch baseline.

ApprovedPatchesEnableNonSecurityboolean

Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value is <code>false</code>. Applies to Linux managed nodes only.

RejectedPatchesPatchId[]

A list of explicitly rejected patches for the baseline.

RejectedPatchesAction'ALLOW_AS_DEPENDENCY' | 'BLOCK'

The action specified to take on patches included in the <code>RejectedPatches</code> list. A patch can be allowed only if it is a dependency of another package, or blocked entirely along with packages that include it as a dependency.

PatchGroupsPatchGroup[]

Patch groups included in the patch baseline.

CreatedDatestring date-time

The date the patch baseline was created.

ModifiedDatestring date-time

The date the patch baseline was last modified.

Descriptionstring

A description of the patch baseline.