| Copyright | (c) 2013-2018 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 |
Network.AWS.SSM.GetPatchBaseline
Description
Retrieves information about a patch baseline.
Synopsis
- 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]
- gpbrsApprovedPatchesEnableNonSecurity :: Lens' GetPatchBaselineResponse (Maybe Bool)
- gpbrsRejectedPatches :: Lens' GetPatchBaselineResponse [Text]
- gpbrsSources :: Lens' GetPatchBaselineResponse [PatchSource]
- 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
Arguments
| :: Text | |
| -> GetPatchBaseline |
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.
Instances
Request Lenses
gpbBaselineId :: Lens' GetPatchBaseline Text Source #
The ID of the patch baseline to retrieve.
Destructuring the Response
getPatchBaselineResponse Source #
Arguments
| :: Int | |
| -> GetPatchBaselineResponse |
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.gpbrsApprovedPatchesEnableNonSecurity- Indicates whether the list of approved patches includes non-security updates that should be applied to the instances. The default value isfalse. Applies to Linux instances only.gpbrsRejectedPatches- A list of explicitly rejected patches for the baseline.gpbrsSources- Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances only.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.
Instances
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.
gpbrsApprovedPatchesEnableNonSecurity :: Lens' GetPatchBaselineResponse (Maybe Bool) Source #
Indicates whether the list of approved patches includes non-security updates that should be applied to the instances. The default value is false. Applies to Linux instances only.
gpbrsRejectedPatches :: Lens' GetPatchBaselineResponse [Text] Source #
A list of explicitly rejected patches for the baseline.
gpbrsSources :: Lens' GetPatchBaselineResponse [PatchSource] Source #
Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances only.
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.