libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.DescribePatchProperties

Description

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

This operation returns paginated results.

Synopsis

Creating a Request

data DescribePatchProperties Source #

See: newDescribePatchProperties smart constructor.

Constructors

DescribePatchProperties' 

Fields

  • patchSet :: Maybe PatchSet

    Indicates whether to list patches for the Windows operating system or for applications released by Microsoft. Not applicable for the Linux or macOS operating systems.

  • nextToken :: Maybe Text

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

  • maxResults :: Maybe Natural

    The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

  • operatingSystem :: OperatingSystem

    The operating system type for which to list patches.

  • property :: PatchProperty

    The patch property for which you want to view patch details.

Instances

Instances details
Eq DescribePatchProperties Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

Read DescribePatchProperties Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

Show DescribePatchProperties Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

Generic DescribePatchProperties Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

Associated Types

type Rep DescribePatchProperties :: Type -> Type #

NFData DescribePatchProperties Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

Methods

rnf :: DescribePatchProperties -> () #

Hashable DescribePatchProperties Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

ToJSON DescribePatchProperties Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

AWSPager DescribePatchProperties Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

AWSRequest DescribePatchProperties Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

ToHeaders DescribePatchProperties Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

ToPath DescribePatchProperties Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

ToQuery DescribePatchProperties Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

type Rep DescribePatchProperties Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

type Rep DescribePatchProperties = D1 ('MetaData "DescribePatchProperties" "Amazonka.SSM.DescribePatchProperties" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "DescribePatchProperties'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "patchSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PatchSet)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "operatingSystem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OperatingSystem) :*: S1 ('MetaSel ('Just "property") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PatchProperty)))))
type AWSResponse DescribePatchProperties Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

newDescribePatchProperties Source #

Create a value of DescribePatchProperties with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:patchSet:DescribePatchProperties', describePatchProperties_patchSet - Indicates whether to list patches for the Windows operating system or for applications released by Microsoft. Not applicable for the Linux or macOS operating systems.

$sel:nextToken:DescribePatchProperties', describePatchProperties_nextToken - The token for the next set of items to return. (You received this token from a previous call.)

$sel:maxResults:DescribePatchProperties', describePatchProperties_maxResults - The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

$sel:operatingSystem:DescribePatchProperties', describePatchProperties_operatingSystem - The operating system type for which to list patches.

$sel:property:DescribePatchProperties', describePatchProperties_property - The patch property for which you want to view patch details.

Request Lenses

describePatchProperties_patchSet :: Lens' DescribePatchProperties (Maybe PatchSet) Source #

Indicates whether to list patches for the Windows operating system or for applications released by Microsoft. Not applicable for the Linux or macOS operating systems.

describePatchProperties_nextToken :: Lens' DescribePatchProperties (Maybe Text) Source #

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

describePatchProperties_maxResults :: Lens' DescribePatchProperties (Maybe Natural) Source #

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

describePatchProperties_operatingSystem :: Lens' DescribePatchProperties OperatingSystem Source #

The operating system type for which to list patches.

describePatchProperties_property :: Lens' DescribePatchProperties PatchProperty Source #

The patch property for which you want to view patch details.

Destructuring the Response

data DescribePatchPropertiesResponse Source #

See: newDescribePatchPropertiesResponse smart constructor.

Constructors

DescribePatchPropertiesResponse' 

Fields

Instances

Instances details
Eq DescribePatchPropertiesResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

Read DescribePatchPropertiesResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

Show DescribePatchPropertiesResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

Generic DescribePatchPropertiesResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

Associated Types

type Rep DescribePatchPropertiesResponse :: Type -> Type #

NFData DescribePatchPropertiesResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

type Rep DescribePatchPropertiesResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchProperties

type Rep DescribePatchPropertiesResponse = D1 ('MetaData "DescribePatchPropertiesResponse" "Amazonka.SSM.DescribePatchProperties" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "DescribePatchPropertiesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HashMap Text Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribePatchPropertiesResponse Source #

Create a value of DescribePatchPropertiesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:DescribePatchProperties', describePatchPropertiesResponse_nextToken - The token for the next set of items to return. (You use this token in the next call.)

$sel:properties:DescribePatchPropertiesResponse', describePatchPropertiesResponse_properties - A list of the properties for patches matching the filter request parameters.

$sel:httpStatus:DescribePatchPropertiesResponse', describePatchPropertiesResponse_httpStatus - The response's http status code.

Response Lenses

describePatchPropertiesResponse_nextToken :: Lens' DescribePatchPropertiesResponse (Maybe Text) Source #

The token for the next set of items to return. (You use this token in the next call.)

describePatchPropertiesResponse_properties :: Lens' DescribePatchPropertiesResponse (Maybe [HashMap Text Text]) Source #

A list of the properties for patches matching the filter request parameters.