Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Retrieves information about a patch baseline.
- getPatchBaseline :: Text -> GetPatchBaseline
- data GetPatchBaseline
- gpbBaselineId :: Lens' GetPatchBaseline Text
- getPatchBaselineResponse :: Int -> GetPatchBaselineResponse
- data GetPatchBaselineResponse
- gpbrsApprovalRules :: Lens' GetPatchBaselineResponse (Maybe PatchRuleGroup)
- gpbrsOperatingSystem :: Lens' GetPatchBaselineResponse (Maybe OperatingSystem)
- gpbrsGlobalFilters :: Lens' GetPatchBaselineResponse (Maybe PatchFilterGroup)
- gpbrsApprovedPatchesComplianceLevel :: Lens' GetPatchBaselineResponse (Maybe PatchComplianceLevel)
- gpbrsApprovedPatches :: Lens' GetPatchBaselineResponse [Text]
- gpbrsRejectedPatches :: Lens' GetPatchBaselineResponse [Text]
- gpbrsCreatedDate :: Lens' GetPatchBaselineResponse (Maybe UTCTime)
- gpbrsName :: Lens' GetPatchBaselineResponse (Maybe Text)
- gpbrsPatchGroups :: Lens' GetPatchBaselineResponse [Text]
- gpbrsModifiedDate :: Lens' GetPatchBaselineResponse (Maybe UTCTime)
- gpbrsDescription :: Lens' GetPatchBaselineResponse (Maybe Text)
- gpbrsBaselineId :: Lens' GetPatchBaselineResponse (Maybe Text)
- gpbrsResponseStatus :: Lens' GetPatchBaselineResponse Int
Creating a Request
Creates a value of GetPatchBaseline
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gpbBaselineId
- The ID of the patch baseline to retrieve.
data GetPatchBaseline Source #
See: getPatchBaseline
smart constructor.
Request Lenses
gpbBaselineId :: Lens' GetPatchBaseline Text Source #
The ID of the patch baseline to retrieve.
Destructuring the Response
getPatchBaselineResponse Source #
Creates a value of GetPatchBaselineResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gpbrsApprovalRules
- A set of rules used to include patches in the baseline.gpbrsOperatingSystem
- Returns the operating system specified for the patch baseline.gpbrsGlobalFilters
- A set of global filters used to exclude patches from the baseline.gpbrsApprovedPatchesComplianceLevel
- Returns the specified compliance severity level for approved patches in the patch baseline.gpbrsApprovedPatches
- A list of explicitly approved patches for the baseline.gpbrsRejectedPatches
- A list of explicitly rejected patches for the baseline.gpbrsCreatedDate
- The date the patch baseline was created.gpbrsName
- The name of the patch baseline.gpbrsPatchGroups
- Patch groups included in the patch baseline.gpbrsModifiedDate
- The date the patch baseline was last modified.gpbrsDescription
- A description of the patch baseline.gpbrsBaselineId
- The ID of the retrieved patch baseline.gpbrsResponseStatus
- -- | The response status code.
data GetPatchBaselineResponse Source #
See: getPatchBaselineResponse
smart constructor.
Response Lenses
gpbrsApprovalRules :: Lens' GetPatchBaselineResponse (Maybe PatchRuleGroup) Source #
A set of rules used to include patches in the baseline.
gpbrsOperatingSystem :: Lens' GetPatchBaselineResponse (Maybe OperatingSystem) Source #
Returns the operating system specified for the patch baseline.
gpbrsGlobalFilters :: Lens' GetPatchBaselineResponse (Maybe PatchFilterGroup) Source #
A set of global filters used to exclude patches from the baseline.
gpbrsApprovedPatchesComplianceLevel :: Lens' GetPatchBaselineResponse (Maybe PatchComplianceLevel) Source #
Returns the specified compliance severity level for approved patches in the patch baseline.
gpbrsApprovedPatches :: Lens' GetPatchBaselineResponse [Text] Source #
A list of explicitly approved patches for the baseline.
gpbrsRejectedPatches :: Lens' GetPatchBaselineResponse [Text] Source #
A list of explicitly rejected patches for the baseline.
gpbrsCreatedDate :: Lens' GetPatchBaselineResponse (Maybe UTCTime) Source #
The date the patch baseline was created.
gpbrsPatchGroups :: Lens' GetPatchBaselineResponse [Text] Source #
Patch groups included in the patch baseline.
gpbrsModifiedDate :: Lens' GetPatchBaselineResponse (Maybe UTCTime) Source #
The date the patch baseline was last modified.
gpbrsDescription :: Lens' GetPatchBaselineResponse (Maybe Text) Source #
A description of the patch baseline.
gpbrsBaselineId :: Lens' GetPatchBaselineResponse (Maybe Text) Source #
The ID of the retrieved patch baseline.
gpbrsResponseStatus :: Lens' GetPatchBaselineResponse Int Source #
- - | The response status code.