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 |
Creates a patch baseline.
- 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]
- cpbRejectedPatches :: Lens' CreatePatchBaseline [Text]
- 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. Supported operating systems include WINDOWS, AMAZON_LINUX, UBUNTU and REDHAT_ENTERPRISE_LINUX. 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. Valid compliance severity levels include the following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED. The default value is UNSPECIFIED.cpbApprovedPatches
- A list of explicitly approved patches for the baseline.cpbRejectedPatches
- A list of explicitly rejected patches for the baseline.cpbDescription
- A description of the patch baseline.cpbName
- The name of the patch baseline.
data CreatePatchBaseline Source #
See: createPatchBaseline
smart constructor.
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. Supported operating systems include WINDOWS, AMAZON_LINUX, UBUNTU and REDHAT_ENTERPRISE_LINUX. 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. Valid compliance severity levels include the following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED. The default value is UNSPECIFIED.
cpbApprovedPatches :: Lens' CreatePatchBaseline [Text] Source #
A list of explicitly approved patches for the baseline.
cpbRejectedPatches :: Lens' CreatePatchBaseline [Text] Source #
A list of explicitly rejected patches for the baseline.
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.
Response Lenses
cpbrsBaselineId :: Lens' CreatePatchBaselineResponse (Maybe Text) Source #
The ID of the created patch baseline.
cpbrsResponseStatus :: Lens' CreatePatchBaselineResponse Int Source #
- - | The response status code.