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 |
Modifies an existing patch baseline. Fields not specified in the request are left unchanged.
Synopsis
- updatePatchBaseline :: Text -> UpdatePatchBaseline
- data UpdatePatchBaseline
- upbReplace :: Lens' UpdatePatchBaseline (Maybe Bool)
- upbApprovalRules :: Lens' UpdatePatchBaseline (Maybe PatchRuleGroup)
- upbGlobalFilters :: Lens' UpdatePatchBaseline (Maybe PatchFilterGroup)
- upbApprovedPatchesComplianceLevel :: Lens' UpdatePatchBaseline (Maybe PatchComplianceLevel)
- upbApprovedPatches :: Lens' UpdatePatchBaseline [Text]
- upbApprovedPatchesEnableNonSecurity :: Lens' UpdatePatchBaseline (Maybe Bool)
- upbRejectedPatches :: Lens' UpdatePatchBaseline [Text]
- upbSources :: Lens' UpdatePatchBaseline [PatchSource]
- 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]
- upbrsApprovedPatchesEnableNonSecurity :: Lens' UpdatePatchBaselineResponse (Maybe Bool)
- upbrsRejectedPatches :: Lens' UpdatePatchBaselineResponse [Text]
- upbrsSources :: Lens' UpdatePatchBaselineResponse [PatchSource]
- 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
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:
upbReplace
- If True, then all fields that are required by the CreatePatchBaseline action are also required for this API request. Optional fields that are not specified are set to null.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. For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide .upbApprovedPatchesEnableNonSecurity
- 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.upbRejectedPatches
- A list of explicitly rejected patches for the baseline. For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide .upbSources
- Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances only.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
upbReplace :: Lens' UpdatePatchBaseline (Maybe Bool) Source #
If True, then all fields that are required by the CreatePatchBaseline action are also required for this API request. Optional fields that are not specified are set to null.
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. For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide .
upbApprovedPatchesEnableNonSecurity :: Lens' UpdatePatchBaseline (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.
upbRejectedPatches :: Lens' UpdatePatchBaseline [Text] Source #
A list of explicitly rejected patches for the baseline. For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide .
upbSources :: Lens' UpdatePatchBaseline [PatchSource] Source #
Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances only.
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 #
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.upbrsApprovedPatchesEnableNonSecurity
- 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.upbrsRejectedPatches
- A list of explicitly rejected patches for the baseline.upbrsSources
- Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances only.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.
upbrsApprovedPatchesEnableNonSecurity :: Lens' UpdatePatchBaselineResponse (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.
upbrsRejectedPatches :: Lens' UpdatePatchBaselineResponse [Text] Source #
A list of explicitly rejected patches for the baseline.
upbrsSources :: Lens' UpdatePatchBaselineResponse [PatchSource] Source #
Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances only.
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.