Copyright | (c) 2013-2021 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 |
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
- operatingSystem :: Maybe OperatingSystem
- globalFilters :: Maybe PatchFilterGroup
- approvedPatchesComplianceLevel :: Maybe PatchComplianceLevel
- rejectedPatchesAction :: Maybe PatchAction
- approvedPatches :: Maybe [Text]
- approvedPatchesEnableNonSecurity :: Maybe Bool
- rejectedPatches :: Maybe [Text]
- sources :: Maybe [PatchSource]
- createdDate :: Maybe POSIX
- name :: Maybe Text
- patchGroups :: Maybe [Text]
- modifiedDate :: Maybe POSIX
- description :: Maybe Text
- baselineId :: Maybe Text
- httpStatus :: Int
- newGetPatchBaselineResponse :: Int -> GetPatchBaselineResponse
- getPatchBaselineResponse_approvalRules :: Lens' GetPatchBaselineResponse (Maybe PatchRuleGroup)
- getPatchBaselineResponse_operatingSystem :: Lens' GetPatchBaselineResponse (Maybe OperatingSystem)
- getPatchBaselineResponse_globalFilters :: Lens' GetPatchBaselineResponse (Maybe PatchFilterGroup)
- getPatchBaselineResponse_approvedPatchesComplianceLevel :: Lens' GetPatchBaselineResponse (Maybe PatchComplianceLevel)
- getPatchBaselineResponse_rejectedPatchesAction :: Lens' GetPatchBaselineResponse (Maybe PatchAction)
- getPatchBaselineResponse_approvedPatches :: Lens' GetPatchBaselineResponse (Maybe [Text])
- getPatchBaselineResponse_approvedPatchesEnableNonSecurity :: Lens' GetPatchBaselineResponse (Maybe Bool)
- getPatchBaselineResponse_rejectedPatches :: Lens' GetPatchBaselineResponse (Maybe [Text])
- getPatchBaselineResponse_sources :: Lens' GetPatchBaselineResponse (Maybe [PatchSource])
- getPatchBaselineResponse_createdDate :: Lens' GetPatchBaselineResponse (Maybe UTCTime)
- getPatchBaselineResponse_name :: Lens' GetPatchBaselineResponse (Maybe Text)
- getPatchBaselineResponse_patchGroups :: Lens' GetPatchBaselineResponse (Maybe [Text])
- getPatchBaselineResponse_modifiedDate :: Lens' GetPatchBaselineResponse (Maybe UTCTime)
- getPatchBaselineResponse_description :: Lens' GetPatchBaselineResponse (Maybe Text)
- getPatchBaselineResponse_baselineId :: Lens' GetPatchBaselineResponse (Maybe Text)
- 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:
$sel:baselineId: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:
$sel:approvalRules:GetPatchBaselineResponse'
, getPatchBaselineResponse_approvalRules
- A set of rules used to include patches in the baseline.
$sel:operatingSystem:GetPatchBaselineResponse'
, getPatchBaselineResponse_operatingSystem
- Returns the operating system specified for the patch baseline.
$sel:globalFilters:GetPatchBaselineResponse'
, getPatchBaselineResponse_globalFilters
- A set of global filters used to exclude patches from the baseline.
$sel:approvedPatchesComplianceLevel:GetPatchBaselineResponse'
, getPatchBaselineResponse_approvedPatchesComplianceLevel
- Returns the specified compliance severity level for approved patches in
the patch baseline.
$sel:rejectedPatchesAction: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.
$sel:approvedPatches:GetPatchBaselineResponse'
, getPatchBaselineResponse_approvedPatches
- A list of explicitly approved patches for the baseline.
$sel:approvedPatchesEnableNonSecurity:GetPatchBaselineResponse'
, getPatchBaselineResponse_approvedPatchesEnableNonSecurity
- 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.
$sel:rejectedPatches:GetPatchBaselineResponse'
, getPatchBaselineResponse_rejectedPatches
- A list of explicitly rejected patches for the baseline.
$sel:sources:GetPatchBaselineResponse'
, getPatchBaselineResponse_sources
- Information about the patches to use to update the instances, including
target operating systems and source repositories. Applies to Linux
instances only.
$sel:createdDate:GetPatchBaselineResponse'
, getPatchBaselineResponse_createdDate
- The date the patch baseline was created.
$sel:name:GetPatchBaselineResponse'
, getPatchBaselineResponse_name
- The name of the patch baseline.
$sel:patchGroups:GetPatchBaselineResponse'
, getPatchBaselineResponse_patchGroups
- Patch groups included in the patch baseline.
$sel:modifiedDate:GetPatchBaselineResponse'
, getPatchBaselineResponse_modifiedDate
- The date the patch baseline was last modified.
$sel:description:GetPatchBaselineResponse'
, getPatchBaselineResponse_description
- A description of the patch baseline.
$sel:baselineId:GetPatchBaseline'
, getPatchBaselineResponse_baselineId
- The ID of the retrieved patch baseline.
$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_operatingSystem :: Lens' GetPatchBaselineResponse (Maybe OperatingSystem) Source #
Returns the operating system specified for the patch baseline.
getPatchBaselineResponse_globalFilters :: Lens' GetPatchBaselineResponse (Maybe PatchFilterGroup) Source #
A set of global filters used to exclude patches from the baseline.
getPatchBaselineResponse_approvedPatchesComplianceLevel :: Lens' GetPatchBaselineResponse (Maybe PatchComplianceLevel) Source #
Returns the specified compliance severity level for approved patches in the patch 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_approvedPatches :: Lens' GetPatchBaselineResponse (Maybe [Text]) Source #
A list of explicitly approved patches for the 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 instances. The default value is
false
. Applies to Linux instances only.
getPatchBaselineResponse_rejectedPatches :: Lens' GetPatchBaselineResponse (Maybe [Text]) Source #
A list of explicitly rejected patches for the baseline.
getPatchBaselineResponse_sources :: Lens' GetPatchBaselineResponse (Maybe [PatchSource]) Source #
Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances only.
getPatchBaselineResponse_createdDate :: Lens' GetPatchBaselineResponse (Maybe UTCTime) Source #
The date the patch baseline was created.
getPatchBaselineResponse_name :: Lens' GetPatchBaselineResponse (Maybe Text) Source #
The name of the patch baseline.
getPatchBaselineResponse_patchGroups :: Lens' GetPatchBaselineResponse (Maybe [Text]) Source #
Patch groups included in the patch baseline.
getPatchBaselineResponse_modifiedDate :: Lens' GetPatchBaselineResponse (Maybe UTCTime) Source #
The date the patch baseline was last modified.
getPatchBaselineResponse_description :: Lens' GetPatchBaselineResponse (Maybe Text) Source #
A description of the patch baseline.
getPatchBaselineResponse_baselineId :: Lens' GetPatchBaselineResponse (Maybe Text) Source #
The ID of the retrieved patch baseline.
getPatchBaselineResponse_httpStatus :: Lens' GetPatchBaselineResponse Int Source #
The response's http status code.