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 |
Amazonka.SSM.DescribeEffectivePatchesForPatchBaseline
Description
Retrieves the current effective patches (the patch and the approval state) for the specified patch baseline. Applies to patch baselines for Windows only.
This operation returns paginated results.
Synopsis
- data DescribeEffectivePatchesForPatchBaseline = DescribeEffectivePatchesForPatchBaseline' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- baselineId :: Text
- newDescribeEffectivePatchesForPatchBaseline :: Text -> DescribeEffectivePatchesForPatchBaseline
- describeEffectivePatchesForPatchBaseline_nextToken :: Lens' DescribeEffectivePatchesForPatchBaseline (Maybe Text)
- describeEffectivePatchesForPatchBaseline_maxResults :: Lens' DescribeEffectivePatchesForPatchBaseline (Maybe Natural)
- describeEffectivePatchesForPatchBaseline_baselineId :: Lens' DescribeEffectivePatchesForPatchBaseline Text
- data DescribeEffectivePatchesForPatchBaselineResponse = DescribeEffectivePatchesForPatchBaselineResponse' {}
- newDescribeEffectivePatchesForPatchBaselineResponse :: Int -> DescribeEffectivePatchesForPatchBaselineResponse
- describeEffectivePatchesForPatchBaselineResponse_effectivePatches :: Lens' DescribeEffectivePatchesForPatchBaselineResponse (Maybe [EffectivePatch])
- describeEffectivePatchesForPatchBaselineResponse_nextToken :: Lens' DescribeEffectivePatchesForPatchBaselineResponse (Maybe Text)
- describeEffectivePatchesForPatchBaselineResponse_httpStatus :: Lens' DescribeEffectivePatchesForPatchBaselineResponse Int
Creating a Request
data DescribeEffectivePatchesForPatchBaseline Source #
See: newDescribeEffectivePatchesForPatchBaseline
smart constructor.
Constructors
DescribeEffectivePatchesForPatchBaseline' | |
Fields
|
Instances
newDescribeEffectivePatchesForPatchBaseline Source #
Arguments
:: Text | |
-> DescribeEffectivePatchesForPatchBaseline |
Create a value of DescribeEffectivePatchesForPatchBaseline
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:DescribeEffectivePatchesForPatchBaseline'
, describeEffectivePatchesForPatchBaseline_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxResults:DescribeEffectivePatchesForPatchBaseline'
, describeEffectivePatchesForPatchBaseline_maxResults
- The maximum number of patches to return (per page).
$sel:baselineId:DescribeEffectivePatchesForPatchBaseline'
, describeEffectivePatchesForPatchBaseline_baselineId
- The ID of the patch baseline to retrieve the effective patches for.
Request Lenses
describeEffectivePatchesForPatchBaseline_nextToken :: Lens' DescribeEffectivePatchesForPatchBaseline (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeEffectivePatchesForPatchBaseline_maxResults :: Lens' DescribeEffectivePatchesForPatchBaseline (Maybe Natural) Source #
The maximum number of patches to return (per page).
describeEffectivePatchesForPatchBaseline_baselineId :: Lens' DescribeEffectivePatchesForPatchBaseline Text Source #
The ID of the patch baseline to retrieve the effective patches for.
Destructuring the Response
data DescribeEffectivePatchesForPatchBaselineResponse Source #
See: newDescribeEffectivePatchesForPatchBaselineResponse
smart constructor.
Constructors
DescribeEffectivePatchesForPatchBaselineResponse' | |
Fields
|
Instances
newDescribeEffectivePatchesForPatchBaselineResponse Source #
Arguments
:: Int |
|
-> DescribeEffectivePatchesForPatchBaselineResponse |
Create a value of DescribeEffectivePatchesForPatchBaselineResponse
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:effectivePatches:DescribeEffectivePatchesForPatchBaselineResponse'
, describeEffectivePatchesForPatchBaselineResponse_effectivePatches
- An array of patches and patch status.
$sel:nextToken:DescribeEffectivePatchesForPatchBaseline'
, describeEffectivePatchesForPatchBaselineResponse_nextToken
- The token to use when requesting the next set of items. If there are no
additional items to return, the string is empty.
$sel:httpStatus:DescribeEffectivePatchesForPatchBaselineResponse'
, describeEffectivePatchesForPatchBaselineResponse_httpStatus
- The response's http status code.
Response Lenses
describeEffectivePatchesForPatchBaselineResponse_effectivePatches :: Lens' DescribeEffectivePatchesForPatchBaselineResponse (Maybe [EffectivePatch]) Source #
An array of patches and patch status.
describeEffectivePatchesForPatchBaselineResponse_nextToken :: Lens' DescribeEffectivePatchesForPatchBaselineResponse (Maybe Text) Source #
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
describeEffectivePatchesForPatchBaselineResponse_httpStatus :: Lens' DescribeEffectivePatchesForPatchBaselineResponse Int Source #
The response's http status code.