SSM.Client.
describe_patch_properties
(**kwargs)¶Lists the properties of available patches organized by product, product family, classification, severity, and other properties of available patches. You can use the reported properties in the filters you specify in requests for operations such as CreatePatchBaseline, UpdatePatchBaseline, DescribeAvailablePatches, and DescribePatchBaselines.
The following section lists the properties that can be used in filters for each major operating system type:
AMAZON_LINUX
Valid properties: PRODUCT
| CLASSIFICATION
| SEVERITY
AMAZON_LINUX_2
Valid properties: PRODUCT
| CLASSIFICATION
| SEVERITY
CENTOS
Valid properties: PRODUCT
| CLASSIFICATION
| SEVERITY
DEBIAN
Valid properties: PRODUCT
| PRIORITY
MACOS
Valid properties: PRODUCT
| CLASSIFICATION
ORACLE_LINUX
Valid properties: PRODUCT
| CLASSIFICATION
| SEVERITY
REDHAT_ENTERPRISE_LINUX
Valid properties: PRODUCT
| CLASSIFICATION
| SEVERITY
SUSE
Valid properties: PRODUCT
| CLASSIFICATION
| SEVERITY
UBUNTU
Valid properties: PRODUCT
| PRIORITY
WINDOWS
Valid properties: PRODUCT
| PRODUCT_FAMILY
| CLASSIFICATION
| MSRC_SEVERITY
See also: AWS API Documentation
Request Syntax
response = client.describe_patch_properties(
OperatingSystem='WINDOWS'|'AMAZON_LINUX'|'AMAZON_LINUX_2'|'AMAZON_LINUX_2022'|'UBUNTU'|'REDHAT_ENTERPRISE_LINUX'|'SUSE'|'CENTOS'|'ORACLE_LINUX'|'DEBIAN'|'MACOS'|'RASPBIAN'|'ROCKY_LINUX',
Property='PRODUCT'|'PRODUCT_FAMILY'|'CLASSIFICATION'|'MSRC_SEVERITY'|'PRIORITY'|'SEVERITY',
PatchSet='OS'|'APPLICATION',
MaxResults=123,
NextToken='string'
)
[REQUIRED]
The operating system type for which to list patches.
[REQUIRED]
The patch property for which you want to view patch details.
dict
Response Syntax
{
'Properties': [
{
'string': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Properties (list) --
A list of the properties for patches matching the filter request parameters.
NextToken (string) --
The token for the next set of items to return. (You use this token in the next call.)
Exceptions
SSM.Client.exceptions.InternalServerError