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.Types.Patch

Description

 
Synopsis

Documentation

data Patch Source #

Represents metadata about a patch.

See: newPatch smart constructor.

Constructors

Patch' 

Fields

  • bugzillaIds :: Maybe [Text]

    The Bugzilla ID of the patch. For example, 1600646. Applies to Linux-based instances only.

  • vendor :: Maybe Text

    The name of the vendor providing the patch.

  • msrcSeverity :: Maybe Text

    The severity of the patch, such as Critical, Important, or Moderate. Applies to Windows patches only.

  • repository :: Maybe Text

    The source patch repository for the operating system and version, such as trusty-security for Ubuntu Server 14.04 LTE and focal-security for Ubuntu Server 20.04 LTE. Applies to Linux-based instances only.

  • productFamily :: Maybe Text

    The product family the patch is applicable for. For example, Windows or Amazon Linux 2.

  • severity :: Maybe Text

    The severity level of the patch. For example, CRITICAL or MODERATE.

  • advisoryIds :: Maybe [Text]

    The Advisory ID of the patch. For example, RHSA-2020:3779. Applies to Linux-based instances only.

  • cVEIds :: Maybe [Text]

    The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example, CVE-2011-3192. Applies to Linux-based instances only.

  • classification :: Maybe Text

    The classification of the patch. For example, SecurityUpdates, Updates, or CriticalUpdates.

  • release :: Maybe Text

    The particular release of a patch. For example, in pkg-example-EE-20180914-2.2.amzn1.noarch, the release is 2.amaz1. Applies to Linux-based instances only.

  • msrcNumber :: Maybe Text

    The ID of the Microsoft Security Response Center (MSRC) bulletin the patch is related to. For example, MS14-045. Applies to Windows patches only.

  • name :: Maybe Text

    The name of the patch. Applies to Linux-based instances only.

  • version :: Maybe Text

    The version number of the patch. For example, in example-pkg-1.710.10-2.7.abcd.x86_64, the version number is indicated by -1. Applies to Linux-based instances only.

  • language :: Maybe Text

    The language of the patch if it's language-specific.

  • kbNumber :: Maybe Text

    The Microsoft Knowledge Base ID of the patch. Applies to Windows patches only.

  • contentUrl :: Maybe Text

    The URL where more information can be obtained about the patch.

  • id :: Maybe Text

    The ID of the patch. Applies to Windows patches only.

    This ID isn't the same as the Microsoft Knowledge Base ID.

  • releaseDate :: Maybe POSIX

    The date the patch was released.

  • title :: Maybe Text

    The title of the patch.

  • arch :: Maybe Text

    The architecture of the patch. For example, in example-pkg-0.710.10-2.7.abcd.x86_64, the architecture is indicated by x86_64. Applies to Linux-based instances only.

  • product :: Maybe Text

    The specific product the patch is applicable for. For example, WindowsServer2016 or AmazonLinux2018.03.

  • description :: Maybe Text

    The description of the patch.

  • epoch :: Maybe Int

    The epoch of the patch. For example in pkg-example-EE-20180914-2.2.amzn1.noarch, the epoch value is 20180914-2. Applies to Linux-based instances only.

Instances

Instances details
Eq Patch Source # 
Instance details

Defined in Amazonka.SSM.Types.Patch

Methods

(==) :: Patch -> Patch -> Bool #

(/=) :: Patch -> Patch -> Bool #

Read Patch Source # 
Instance details

Defined in Amazonka.SSM.Types.Patch

Show Patch Source # 
Instance details

Defined in Amazonka.SSM.Types.Patch

Methods

showsPrec :: Int -> Patch -> ShowS #

show :: Patch -> String #

showList :: [Patch] -> ShowS #

Generic Patch Source # 
Instance details

Defined in Amazonka.SSM.Types.Patch

Associated Types

type Rep Patch :: Type -> Type #

Methods

from :: Patch -> Rep Patch x #

to :: Rep Patch x -> Patch #

NFData Patch Source # 
Instance details

Defined in Amazonka.SSM.Types.Patch

Methods

rnf :: Patch -> () #

Hashable Patch Source # 
Instance details

Defined in Amazonka.SSM.Types.Patch

Methods

hashWithSalt :: Int -> Patch -> Int #

hash :: Patch -> Int #

FromJSON Patch Source # 
Instance details

Defined in Amazonka.SSM.Types.Patch

type Rep Patch Source # 
Instance details

Defined in Amazonka.SSM.Types.Patch

type Rep Patch = D1 ('MetaData "Patch" "Amazonka.SSM.Types.Patch" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "Patch'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "bugzillaIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "vendor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "msrcSeverity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "repository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "productFamily") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "severity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "advisoryIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "cVEIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "classification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "release") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "msrcNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "kbNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "contentUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "releaseDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "product") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "epoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))))

newPatch :: Patch Source #

Create a value of Patch 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:bugzillaIds:Patch', patch_bugzillaIds - The Bugzilla ID of the patch. For example, 1600646. Applies to Linux-based instances only.

$sel:vendor:Patch', patch_vendor - The name of the vendor providing the patch.

$sel:msrcSeverity:Patch', patch_msrcSeverity - The severity of the patch, such as Critical, Important, or Moderate. Applies to Windows patches only.

$sel:repository:Patch', patch_repository - The source patch repository for the operating system and version, such as trusty-security for Ubuntu Server 14.04 LTE and focal-security for Ubuntu Server 20.04 LTE. Applies to Linux-based instances only.

$sel:productFamily:Patch', patch_productFamily - The product family the patch is applicable for. For example, Windows or Amazon Linux 2.

$sel:severity:Patch', patch_severity - The severity level of the patch. For example, CRITICAL or MODERATE.

$sel:advisoryIds:Patch', patch_advisoryIds - The Advisory ID of the patch. For example, RHSA-2020:3779. Applies to Linux-based instances only.

$sel:cVEIds:Patch', patch_cVEIds - The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example, CVE-2011-3192. Applies to Linux-based instances only.

$sel:classification:Patch', patch_classification - The classification of the patch. For example, SecurityUpdates, Updates, or CriticalUpdates.

$sel:release:Patch', patch_release - The particular release of a patch. For example, in pkg-example-EE-20180914-2.2.amzn1.noarch, the release is 2.amaz1. Applies to Linux-based instances only.

$sel:msrcNumber:Patch', patch_msrcNumber - The ID of the Microsoft Security Response Center (MSRC) bulletin the patch is related to. For example, MS14-045. Applies to Windows patches only.

$sel:name:Patch', patch_name - The name of the patch. Applies to Linux-based instances only.

$sel:version:Patch', patch_version - The version number of the patch. For example, in example-pkg-1.710.10-2.7.abcd.x86_64, the version number is indicated by -1. Applies to Linux-based instances only.

$sel:language:Patch', patch_language - The language of the patch if it's language-specific.

$sel:kbNumber:Patch', patch_kbNumber - The Microsoft Knowledge Base ID of the patch. Applies to Windows patches only.

$sel:contentUrl:Patch', patch_contentUrl - The URL where more information can be obtained about the patch.

$sel:id:Patch', patch_id - The ID of the patch. Applies to Windows patches only.

This ID isn't the same as the Microsoft Knowledge Base ID.

$sel:releaseDate:Patch', patch_releaseDate - The date the patch was released.

$sel:title:Patch', patch_title - The title of the patch.

$sel:arch:Patch', patch_arch - The architecture of the patch. For example, in example-pkg-0.710.10-2.7.abcd.x86_64, the architecture is indicated by x86_64. Applies to Linux-based instances only.

$sel:product:Patch', patch_product - The specific product the patch is applicable for. For example, WindowsServer2016 or AmazonLinux2018.03.

$sel:description:Patch', patch_description - The description of the patch.

$sel:epoch:Patch', patch_epoch - The epoch of the patch. For example in pkg-example-EE-20180914-2.2.amzn1.noarch, the epoch value is 20180914-2. Applies to Linux-based instances only.

patch_bugzillaIds :: Lens' Patch (Maybe [Text]) Source #

The Bugzilla ID of the patch. For example, 1600646. Applies to Linux-based instances only.

patch_vendor :: Lens' Patch (Maybe Text) Source #

The name of the vendor providing the patch.

patch_msrcSeverity :: Lens' Patch (Maybe Text) Source #

The severity of the patch, such as Critical, Important, or Moderate. Applies to Windows patches only.

patch_repository :: Lens' Patch (Maybe Text) Source #

The source patch repository for the operating system and version, such as trusty-security for Ubuntu Server 14.04 LTE and focal-security for Ubuntu Server 20.04 LTE. Applies to Linux-based instances only.

patch_productFamily :: Lens' Patch (Maybe Text) Source #

The product family the patch is applicable for. For example, Windows or Amazon Linux 2.

patch_severity :: Lens' Patch (Maybe Text) Source #

The severity level of the patch. For example, CRITICAL or MODERATE.

patch_advisoryIds :: Lens' Patch (Maybe [Text]) Source #

The Advisory ID of the patch. For example, RHSA-2020:3779. Applies to Linux-based instances only.

patch_cVEIds :: Lens' Patch (Maybe [Text]) Source #

The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example, CVE-2011-3192. Applies to Linux-based instances only.

patch_classification :: Lens' Patch (Maybe Text) Source #

The classification of the patch. For example, SecurityUpdates, Updates, or CriticalUpdates.

patch_release :: Lens' Patch (Maybe Text) Source #

The particular release of a patch. For example, in pkg-example-EE-20180914-2.2.amzn1.noarch, the release is 2.amaz1. Applies to Linux-based instances only.

patch_msrcNumber :: Lens' Patch (Maybe Text) Source #

The ID of the Microsoft Security Response Center (MSRC) bulletin the patch is related to. For example, MS14-045. Applies to Windows patches only.

patch_name :: Lens' Patch (Maybe Text) Source #

The name of the patch. Applies to Linux-based instances only.

patch_version :: Lens' Patch (Maybe Text) Source #

The version number of the patch. For example, in example-pkg-1.710.10-2.7.abcd.x86_64, the version number is indicated by -1. Applies to Linux-based instances only.

patch_language :: Lens' Patch (Maybe Text) Source #

The language of the patch if it's language-specific.

patch_kbNumber :: Lens' Patch (Maybe Text) Source #

The Microsoft Knowledge Base ID of the patch. Applies to Windows patches only.

patch_contentUrl :: Lens' Patch (Maybe Text) Source #

The URL where more information can be obtained about the patch.

patch_id :: Lens' Patch (Maybe Text) Source #

The ID of the patch. Applies to Windows patches only.

This ID isn't the same as the Microsoft Knowledge Base ID.

patch_releaseDate :: Lens' Patch (Maybe UTCTime) Source #

The date the patch was released.

patch_title :: Lens' Patch (Maybe Text) Source #

The title of the patch.

patch_arch :: Lens' Patch (Maybe Text) Source #

The architecture of the patch. For example, in example-pkg-0.710.10-2.7.abcd.x86_64, the architecture is indicated by x86_64. Applies to Linux-based instances only.

patch_product :: Lens' Patch (Maybe Text) Source #

The specific product the patch is applicable for. For example, WindowsServer2016 or AmazonLinux2018.03.

patch_description :: Lens' Patch (Maybe Text) Source #

The description of the patch.

patch_epoch :: Lens' Patch (Maybe Int) Source #

The epoch of the patch. For example in pkg-example-EE-20180914-2.2.amzn1.noarch, the epoch value is 20180914-2. Applies to Linux-based instances only.