| 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 |
Network.AWS.SSM.UpdatePatchBaseline
Description
Modifies an existing patch baseline. Fields not specified in the request are left unchanged.
- updatePatchBaseline :: Text -> UpdatePatchBaseline
- data UpdatePatchBaseline
- upbApprovalRules :: Lens' UpdatePatchBaseline (Maybe PatchRuleGroup)
- upbGlobalFilters :: Lens' UpdatePatchBaseline (Maybe PatchFilterGroup)
- upbApprovedPatchesComplianceLevel :: Lens' UpdatePatchBaseline (Maybe PatchComplianceLevel)
- upbApprovedPatches :: Lens' UpdatePatchBaseline [Text]
- upbRejectedPatches :: Lens' UpdatePatchBaseline [Text]
- upbName :: Lens' UpdatePatchBaseline (Maybe Text)
- upbDescription :: Lens' UpdatePatchBaseline (Maybe Text)
- upbBaselineId :: Lens' UpdatePatchBaseline Text
- updatePatchBaselineResponse :: Int -> UpdatePatchBaselineResponse
- data UpdatePatchBaselineResponse
- upbrsApprovalRules :: Lens' UpdatePatchBaselineResponse (Maybe PatchRuleGroup)
- upbrsOperatingSystem :: Lens' UpdatePatchBaselineResponse (Maybe OperatingSystem)
- upbrsGlobalFilters :: Lens' UpdatePatchBaselineResponse (Maybe PatchFilterGroup)
- upbrsApprovedPatchesComplianceLevel :: Lens' UpdatePatchBaselineResponse (Maybe PatchComplianceLevel)
- upbrsApprovedPatches :: Lens' UpdatePatchBaselineResponse [Text]
- upbrsRejectedPatches :: Lens' UpdatePatchBaselineResponse [Text]
- upbrsCreatedDate :: Lens' UpdatePatchBaselineResponse (Maybe UTCTime)
- upbrsName :: Lens' UpdatePatchBaselineResponse (Maybe Text)
- upbrsModifiedDate :: Lens' UpdatePatchBaselineResponse (Maybe UTCTime)
- upbrsDescription :: Lens' UpdatePatchBaselineResponse (Maybe Text)
- upbrsBaselineId :: Lens' UpdatePatchBaselineResponse (Maybe Text)
- upbrsResponseStatus :: Lens' UpdatePatchBaselineResponse Int
Creating a Request
Arguments
| :: Text | |
| -> UpdatePatchBaseline |
Creates a value of UpdatePatchBaseline with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
upbApprovalRules- A set of rules used to include patches in the baseline.upbGlobalFilters- A set of global filters used to exclude patches from the baseline.upbApprovedPatchesComplianceLevel- Assigns a new compliance severity level to an existing patch baseline.upbApprovedPatches- A list of explicitly approved patches for the baseline.upbRejectedPatches- A list of explicitly rejected patches for the baseline.upbName- The name of the patch baseline.upbDescription- A description of the patch baseline.upbBaselineId- The ID of the patch baseline to update.
data UpdatePatchBaseline Source #
See: updatePatchBaseline smart constructor.
Instances
Request Lenses
upbApprovalRules :: Lens' UpdatePatchBaseline (Maybe PatchRuleGroup) Source #
A set of rules used to include patches in the baseline.
upbGlobalFilters :: Lens' UpdatePatchBaseline (Maybe PatchFilterGroup) Source #
A set of global filters used to exclude patches from the baseline.
upbApprovedPatchesComplianceLevel :: Lens' UpdatePatchBaseline (Maybe PatchComplianceLevel) Source #
Assigns a new compliance severity level to an existing patch baseline.
upbApprovedPatches :: Lens' UpdatePatchBaseline [Text] Source #
A list of explicitly approved patches for the baseline.
upbRejectedPatches :: Lens' UpdatePatchBaseline [Text] Source #
A list of explicitly rejected patches for the baseline.
upbDescription :: Lens' UpdatePatchBaseline (Maybe Text) Source #
A description of the patch baseline.
upbBaselineId :: Lens' UpdatePatchBaseline Text Source #
The ID of the patch baseline to update.
Destructuring the Response
updatePatchBaselineResponse Source #
Arguments
| :: Int | |
| -> UpdatePatchBaselineResponse |
Creates a value of UpdatePatchBaselineResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
upbrsApprovalRules- A set of rules used to include patches in the baseline.upbrsOperatingSystem- The operating system rule used by the updated patch baseline.upbrsGlobalFilters- A set of global filters used to exclude patches from the baseline.upbrsApprovedPatchesComplianceLevel- The compliance severity level assigned to the patch baseline after the update completed.upbrsApprovedPatches- A list of explicitly approved patches for the baseline.upbrsRejectedPatches- A list of explicitly rejected patches for the baseline.upbrsCreatedDate- The date when the patch baseline was created.upbrsName- The name of the patch baseline.upbrsModifiedDate- The date when the patch baseline was last modified.upbrsDescription- A description of the Patch Baseline.upbrsBaselineId- The ID of the deleted patch baseline.upbrsResponseStatus- -- | The response status code.
data UpdatePatchBaselineResponse Source #
See: updatePatchBaselineResponse smart constructor.
Instances
Response Lenses
upbrsApprovalRules :: Lens' UpdatePatchBaselineResponse (Maybe PatchRuleGroup) Source #
A set of rules used to include patches in the baseline.
upbrsOperatingSystem :: Lens' UpdatePatchBaselineResponse (Maybe OperatingSystem) Source #
The operating system rule used by the updated patch baseline.
upbrsGlobalFilters :: Lens' UpdatePatchBaselineResponse (Maybe PatchFilterGroup) Source #
A set of global filters used to exclude patches from the baseline.
upbrsApprovedPatchesComplianceLevel :: Lens' UpdatePatchBaselineResponse (Maybe PatchComplianceLevel) Source #
The compliance severity level assigned to the patch baseline after the update completed.
upbrsApprovedPatches :: Lens' UpdatePatchBaselineResponse [Text] Source #
A list of explicitly approved patches for the baseline.
upbrsRejectedPatches :: Lens' UpdatePatchBaselineResponse [Text] Source #
A list of explicitly rejected patches for the baseline.
upbrsCreatedDate :: Lens' UpdatePatchBaselineResponse (Maybe UTCTime) Source #
The date when the patch baseline was created.
upbrsModifiedDate :: Lens' UpdatePatchBaselineResponse (Maybe UTCTime) Source #
The date when the patch baseline was last modified.
upbrsDescription :: Lens' UpdatePatchBaselineResponse (Maybe Text) Source #
A description of the Patch Baseline.
upbrsBaselineId :: Lens' UpdatePatchBaselineResponse (Maybe Text) Source #
The ID of the deleted patch baseline.
upbrsResponseStatus :: Lens' UpdatePatchBaselineResponse Int Source #
- - | The response status code.