Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Retrieves information about a patch baseline.
Synopsis
- data GetPatchBaseline = GetPatchBaseline' {
- baselineId :: Text
- newGetPatchBaseline :: Text -> GetPatchBaseline
- getPatchBaseline_baselineId :: Lens' GetPatchBaseline Text
- data GetPatchBaselineResponse = GetPatchBaselineResponse' {
- approvalRules :: Maybe PatchRuleGroup
- approvedPatches :: Maybe [Text]
- approvedPatchesComplianceLevel :: Maybe PatchComplianceLevel
- approvedPatchesEnableNonSecurity :: Maybe Bool
- baselineId :: Maybe Text
- createdDate :: Maybe POSIX
- description :: Maybe Text
- globalFilters :: Maybe PatchFilterGroup
- modifiedDate :: Maybe POSIX
- name :: Maybe Text
- operatingSystem :: Maybe OperatingSystem
- patchGroups :: Maybe [Text]
- rejectedPatches :: Maybe [Text]
- rejectedPatchesAction :: Maybe PatchAction
- sources :: Maybe [PatchSource]
- httpStatus :: Int
- newGetPatchBaselineResponse :: Int -> GetPatchBaselineResponse
- getPatchBaselineResponse_approvalRules :: Lens' GetPatchBaselineResponse (Maybe PatchRuleGroup)
- getPatchBaselineResponse_approvedPatches :: Lens' GetPatchBaselineResponse (Maybe [Text])
- getPatchBaselineResponse_approvedPatchesComplianceLevel :: Lens' GetPatchBaselineResponse (Maybe PatchComplianceLevel)
- getPatchBaselineResponse_approvedPatchesEnableNonSecurity :: Lens' GetPatchBaselineResponse (Maybe Bool)
- getPatchBaselineResponse_baselineId :: Lens' GetPatchBaselineResponse (Maybe Text)
- getPatchBaselineResponse_createdDate :: Lens' GetPatchBaselineResponse (Maybe UTCTime)
- getPatchBaselineResponse_description :: Lens' GetPatchBaselineResponse (Maybe Text)
- getPatchBaselineResponse_globalFilters :: Lens' GetPatchBaselineResponse (Maybe PatchFilterGroup)
- getPatchBaselineResponse_modifiedDate :: Lens' GetPatchBaselineResponse (Maybe UTCTime)
- getPatchBaselineResponse_name :: Lens' GetPatchBaselineResponse (Maybe Text)
- getPatchBaselineResponse_operatingSystem :: Lens' GetPatchBaselineResponse (Maybe OperatingSystem)
- getPatchBaselineResponse_patchGroups :: Lens' GetPatchBaselineResponse (Maybe [Text])
- getPatchBaselineResponse_rejectedPatches :: Lens' GetPatchBaselineResponse (Maybe [Text])
- getPatchBaselineResponse_rejectedPatchesAction :: Lens' GetPatchBaselineResponse (Maybe PatchAction)
- getPatchBaselineResponse_sources :: Lens' GetPatchBaselineResponse (Maybe [PatchSource])
- getPatchBaselineResponse_httpStatus :: Lens' GetPatchBaselineResponse Int
Creating a Request
data GetPatchBaseline Source #
See: newGetPatchBaseline
smart constructor.
GetPatchBaseline' | |
|
Instances
Create a value of GetPatchBaseline
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetPatchBaseline
, getPatchBaseline_baselineId
- The ID of the patch baseline to retrieve.
To retrieve information about an Amazon Web Services managed patch
baseline, specify the full Amazon Resource Name (ARN) of the baseline.
For example, for the baseline AWS-AmazonLinuxDefaultPatchBaseline
,
specify
arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0e392de35e7c563b7
instead of pb-0e392de35e7c563b7
.
Request Lenses
getPatchBaseline_baselineId :: Lens' GetPatchBaseline Text Source #
The ID of the patch baseline to retrieve.
To retrieve information about an Amazon Web Services managed patch
baseline, specify the full Amazon Resource Name (ARN) of the baseline.
For example, for the baseline AWS-AmazonLinuxDefaultPatchBaseline
,
specify
arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0e392de35e7c563b7
instead of pb-0e392de35e7c563b7
.
Destructuring the Response
data GetPatchBaselineResponse Source #
See: newGetPatchBaselineResponse
smart constructor.
GetPatchBaselineResponse' | |
|
Instances
newGetPatchBaselineResponse Source #
Create a value of GetPatchBaselineResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetPatchBaselineResponse
, getPatchBaselineResponse_approvalRules
- A set of rules used to include patches in the baseline.
GetPatchBaselineResponse
, getPatchBaselineResponse_approvedPatches
- A list of explicitly approved patches for the baseline.
GetPatchBaselineResponse
, getPatchBaselineResponse_approvedPatchesComplianceLevel
- Returns the specified compliance severity level for approved patches in
the patch baseline.
GetPatchBaselineResponse
, getPatchBaselineResponse_approvedPatchesEnableNonSecurity
- Indicates whether the list of approved patches includes non-security
updates that should be applied to the managed nodes. The default value
is false
. Applies to Linux managed nodes only.
GetPatchBaseline
, getPatchBaselineResponse_baselineId
- The ID of the retrieved patch baseline.
GetPatchBaselineResponse
, getPatchBaselineResponse_createdDate
- The date the patch baseline was created.
GetPatchBaselineResponse
, getPatchBaselineResponse_description
- A description of the patch baseline.
GetPatchBaselineResponse
, getPatchBaselineResponse_globalFilters
- A set of global filters used to exclude patches from the baseline.
$sel:modifiedDate:GetPatchBaselineResponse'
, getPatchBaselineResponse_modifiedDate
- The date the patch baseline was last modified.
GetPatchBaselineResponse
, getPatchBaselineResponse_name
- The name of the patch baseline.
GetPatchBaselineResponse
, getPatchBaselineResponse_operatingSystem
- Returns the operating system specified for the patch baseline.
$sel:patchGroups:GetPatchBaselineResponse'
, getPatchBaselineResponse_patchGroups
- Patch groups included in the patch baseline.
GetPatchBaselineResponse
, getPatchBaselineResponse_rejectedPatches
- A list of explicitly rejected patches for the baseline.
GetPatchBaselineResponse
, getPatchBaselineResponse_rejectedPatchesAction
- The action specified to take on patches included in the
RejectedPatches
list. A patch can be allowed only if it is a
dependency of another package, or blocked entirely along with packages
that include it as a dependency.
GetPatchBaselineResponse
, getPatchBaselineResponse_sources
- Information about the patches to use to update the managed nodes,
including target operating systems and source repositories. Applies to
Linux managed nodes only.
$sel:httpStatus:GetPatchBaselineResponse'
, getPatchBaselineResponse_httpStatus
- The response's http status code.
Response Lenses
getPatchBaselineResponse_approvalRules :: Lens' GetPatchBaselineResponse (Maybe PatchRuleGroup) Source #
A set of rules used to include patches in the baseline.
getPatchBaselineResponse_approvedPatches :: Lens' GetPatchBaselineResponse (Maybe [Text]) Source #
A list of explicitly approved patches for the baseline.
getPatchBaselineResponse_approvedPatchesComplianceLevel :: Lens' GetPatchBaselineResponse (Maybe PatchComplianceLevel) Source #
Returns the specified compliance severity level for approved patches in the patch baseline.
getPatchBaselineResponse_approvedPatchesEnableNonSecurity :: Lens' GetPatchBaselineResponse (Maybe Bool) Source #
Indicates whether the list of approved patches includes non-security
updates that should be applied to the managed nodes. The default value
is false
. Applies to Linux managed nodes only.
getPatchBaselineResponse_baselineId :: Lens' GetPatchBaselineResponse (Maybe Text) Source #
The ID of the retrieved patch baseline.
getPatchBaselineResponse_createdDate :: Lens' GetPatchBaselineResponse (Maybe UTCTime) Source #
The date the patch baseline was created.
getPatchBaselineResponse_description :: Lens' GetPatchBaselineResponse (Maybe Text) Source #
A description of the patch baseline.
getPatchBaselineResponse_globalFilters :: Lens' GetPatchBaselineResponse (Maybe PatchFilterGroup) Source #
A set of global filters used to exclude patches from the baseline.
getPatchBaselineResponse_modifiedDate :: Lens' GetPatchBaselineResponse (Maybe UTCTime) Source #
The date the patch baseline was last modified.
getPatchBaselineResponse_name :: Lens' GetPatchBaselineResponse (Maybe Text) Source #
The name of the patch baseline.
getPatchBaselineResponse_operatingSystem :: Lens' GetPatchBaselineResponse (Maybe OperatingSystem) Source #
Returns the operating system specified for the patch baseline.
getPatchBaselineResponse_patchGroups :: Lens' GetPatchBaselineResponse (Maybe [Text]) Source #
Patch groups included in the patch baseline.
getPatchBaselineResponse_rejectedPatches :: Lens' GetPatchBaselineResponse (Maybe [Text]) Source #
A list of explicitly rejected patches for the baseline.
getPatchBaselineResponse_rejectedPatchesAction :: Lens' GetPatchBaselineResponse (Maybe PatchAction) Source #
The action specified to take on patches included in the
RejectedPatches
list. A patch can be allowed only if it is a
dependency of another package, or blocked entirely along with packages
that include it as a dependency.
getPatchBaselineResponse_sources :: Lens' GetPatchBaselineResponse (Maybe [PatchSource]) Source #
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
getPatchBaselineResponse_httpStatus :: Lens' GetPatchBaselineResponse Int Source #
The response's http status code.