libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.GetPatchBaseline

Description

Retrieves information about a patch baseline.

Synopsis

Creating a Request

data GetPatchBaseline Source #

See: newGetPatchBaseline smart constructor.

Constructors

GetPatchBaseline' 

Fields

  • baselineId :: Text

    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.

Instances

Instances details
Eq GetPatchBaseline Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

Read GetPatchBaseline Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

Show GetPatchBaseline Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

Generic GetPatchBaseline Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

Associated Types

type Rep GetPatchBaseline :: Type -> Type #

NFData GetPatchBaseline Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

Methods

rnf :: GetPatchBaseline -> () #

Hashable GetPatchBaseline Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

ToJSON GetPatchBaseline Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

AWSRequest GetPatchBaseline Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

Associated Types

type AWSResponse GetPatchBaseline #

ToHeaders GetPatchBaseline Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

ToPath GetPatchBaseline Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

ToQuery GetPatchBaseline Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

type Rep GetPatchBaseline Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

type Rep GetPatchBaseline = D1 ('MetaData "GetPatchBaseline" "Amazonka.SSM.GetPatchBaseline" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "GetPatchBaseline'" 'PrefixI 'True) (S1 ('MetaSel ('Just "baselineId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetPatchBaseline Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

newGetPatchBaseline Source #

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.

Constructors

GetPatchBaselineResponse' 

Fields

Instances

Instances details
Eq GetPatchBaselineResponse Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

Show GetPatchBaselineResponse Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

Generic GetPatchBaselineResponse Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

Associated Types

type Rep GetPatchBaselineResponse :: Type -> Type #

NFData GetPatchBaselineResponse Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

type Rep GetPatchBaselineResponse Source # 
Instance details

Defined in Amazonka.SSM.GetPatchBaseline

type Rep GetPatchBaselineResponse = D1 ('MetaData "GetPatchBaselineResponse" "Amazonka.SSM.GetPatchBaseline" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "GetPatchBaselineResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "approvalRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PatchRuleGroup)) :*: S1 ('MetaSel ('Just "operatingSystem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OperatingSystem))) :*: (S1 ('MetaSel ('Just "globalFilters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PatchFilterGroup)) :*: S1 ('MetaSel ('Just "approvedPatchesComplianceLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PatchComplianceLevel)))) :*: ((S1 ('MetaSel ('Just "rejectedPatchesAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PatchAction)) :*: S1 ('MetaSel ('Just "approvedPatches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "approvedPatchesEnableNonSecurity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "rejectedPatches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))) :*: (((S1 ('MetaSel ('Just "sources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchSource])) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "patchGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "modifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "baselineId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

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_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.