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 |
Creates a patch baseline.
Synopsis
- createPatchBaseline :: Text -> CreatePatchBaseline
- data CreatePatchBaseline
- cpbApprovalRules :: Lens' CreatePatchBaseline (Maybe PatchRuleGroup)
- cpbClientToken :: Lens' CreatePatchBaseline (Maybe Text)
- cpbOperatingSystem :: Lens' CreatePatchBaseline (Maybe OperatingSystem)
- cpbGlobalFilters :: Lens' CreatePatchBaseline (Maybe PatchFilterGroup)
- cpbApprovedPatchesComplianceLevel :: Lens' CreatePatchBaseline (Maybe PatchComplianceLevel)
- cpbApprovedPatches :: Lens' CreatePatchBaseline [Text]
- cpbApprovedPatchesEnableNonSecurity :: Lens' CreatePatchBaseline (Maybe Bool)
- cpbRejectedPatches :: Lens' CreatePatchBaseline [Text]
- cpbSources :: Lens' CreatePatchBaseline [PatchSource]
- cpbDescription :: Lens' CreatePatchBaseline (Maybe Text)
- cpbName :: Lens' CreatePatchBaseline Text
- createPatchBaselineResponse :: Int -> CreatePatchBaselineResponse
- data CreatePatchBaselineResponse
- cpbrsBaselineId :: Lens' CreatePatchBaselineResponse (Maybe Text)
- cpbrsResponseStatus :: Lens' CreatePatchBaselineResponse Int
Creating a Request
Creates a value of CreatePatchBaseline
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpbApprovalRules
- A set of rules used to include patches in the baseline.cpbClientToken
- User-provided idempotency token.cpbOperatingSystem
- Defines the operating system the patch baseline applies to. The Default value is WINDOWS.cpbGlobalFilters
- A set of global filters used to exclude patches from the baseline.cpbApprovedPatchesComplianceLevel
- Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. The default value is UNSPECIFIED.cpbApprovedPatches
- 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 .cpbApprovedPatchesEnableNonSecurity
- 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.cpbRejectedPatches
- 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 .cpbSources
- Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances only.cpbDescription
- A description of the patch baseline.cpbName
- The name of the patch baseline.
data CreatePatchBaseline Source #
See: createPatchBaseline
smart constructor.
Instances
Request Lenses
cpbApprovalRules :: Lens' CreatePatchBaseline (Maybe PatchRuleGroup) Source #
A set of rules used to include patches in the baseline.
cpbClientToken :: Lens' CreatePatchBaseline (Maybe Text) Source #
User-provided idempotency token.
cpbOperatingSystem :: Lens' CreatePatchBaseline (Maybe OperatingSystem) Source #
Defines the operating system the patch baseline applies to. The Default value is WINDOWS.
cpbGlobalFilters :: Lens' CreatePatchBaseline (Maybe PatchFilterGroup) Source #
A set of global filters used to exclude patches from the baseline.
cpbApprovedPatchesComplianceLevel :: Lens' CreatePatchBaseline (Maybe PatchComplianceLevel) Source #
Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. The default value is UNSPECIFIED.
cpbApprovedPatches :: Lens' CreatePatchBaseline [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 .
cpbApprovedPatchesEnableNonSecurity :: Lens' CreatePatchBaseline (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.
cpbRejectedPatches :: Lens' CreatePatchBaseline [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 .
cpbSources :: Lens' CreatePatchBaseline [PatchSource] Source #
Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances only.
cpbDescription :: Lens' CreatePatchBaseline (Maybe Text) Source #
A description of the patch baseline.
Destructuring the Response
createPatchBaselineResponse Source #
Creates a value of CreatePatchBaselineResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpbrsBaselineId
- The ID of the created patch baseline.cpbrsResponseStatus
- -- | The response status code.
data CreatePatchBaselineResponse Source #
See: createPatchBaselineResponse
smart constructor.
Instances
Response Lenses
cpbrsBaselineId :: Lens' CreatePatchBaselineResponse (Maybe Text) Source #
The ID of the created patch baseline.
cpbrsResponseStatus :: Lens' CreatePatchBaselineResponse Int Source #
- - | The response status code.