Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DescribePatchProperties = DescribePatchProperties' {}
- newDescribePatchProperties :: OperatingSystem -> PatchProperty -> DescribePatchProperties
- describePatchProperties_patchSet :: Lens' DescribePatchProperties (Maybe PatchSet)
- describePatchProperties_nextToken :: Lens' DescribePatchProperties (Maybe Text)
- describePatchProperties_maxResults :: Lens' DescribePatchProperties (Maybe Natural)
- describePatchProperties_operatingSystem :: Lens' DescribePatchProperties OperatingSystem
- describePatchProperties_property :: Lens' DescribePatchProperties PatchProperty
- data DescribePatchPropertiesResponse = DescribePatchPropertiesResponse' {
- nextToken :: Maybe Text
- properties :: Maybe [HashMap Text Text]
- httpStatus :: Int
- newDescribePatchPropertiesResponse :: Int -> DescribePatchPropertiesResponse
- describePatchPropertiesResponse_nextToken :: Lens' DescribePatchPropertiesResponse (Maybe Text)
- describePatchPropertiesResponse_properties :: Lens' DescribePatchPropertiesResponse (Maybe [HashMap Text Text])
- describePatchPropertiesResponse_httpStatus :: Lens' DescribePatchPropertiesResponse Int
Creating a Request
data DescribePatchProperties Source #
See: newDescribePatchProperties
smart constructor.
DescribePatchProperties' | |
|
Instances
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.
DescribePatchPropertiesResponse' | |
|
Instances
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.
describePatchPropertiesResponse_httpStatus :: Lens' DescribePatchPropertiesResponse Int Source #
The response's http status code.