{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.SSM.Types.Patch
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.SSM.Types.Patch where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

-- | Represents metadata about a patch.
--
-- /See:/ 'newPatch' smart constructor.
data Patch = Patch'
  { -- | The Advisory ID of the patch. For example, @RHSA-2020:3779@. Applies to
    -- Linux-based managed nodes only.
    Patch -> Maybe [Text]
advisoryIds :: Prelude.Maybe [Prelude.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 managed nodes only.
    Patch -> Maybe Text
arch :: Prelude.Maybe Prelude.Text,
    -- | The Bugzilla ID of the patch. For example, @1600646@. Applies to
    -- Linux-based managed nodes only.
    Patch -> Maybe [Text]
bugzillaIds :: Prelude.Maybe [Prelude.Text],
    -- | The Common Vulnerabilities and Exposures (CVE) ID of the patch. For
    -- example, @CVE-2011-3192@. Applies to Linux-based managed nodes only.
    Patch -> Maybe [Text]
cVEIds :: Prelude.Maybe [Prelude.Text],
    -- | The classification of the patch. For example, @SecurityUpdates@,
    -- @Updates@, or @CriticalUpdates@.
    Patch -> Maybe Text
classification :: Prelude.Maybe Prelude.Text,
    -- | The URL where more information can be obtained about the patch.
    Patch -> Maybe Text
contentUrl :: Prelude.Maybe Prelude.Text,
    -- | The description of the patch.
    Patch -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
    -- | 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 managed nodes only.
    Patch -> Maybe Int
epoch :: Prelude.Maybe Prelude.Int,
    -- | The ID of the patch. Applies to Windows patches only.
    --
    -- This ID isn\'t the same as the Microsoft Knowledge Base ID.
    Patch -> Maybe Text
id :: Prelude.Maybe Prelude.Text,
    -- | The Microsoft Knowledge Base ID of the patch. Applies to Windows patches
    -- only.
    Patch -> Maybe Text
kbNumber :: Prelude.Maybe Prelude.Text,
    -- | The language of the patch if it\'s language-specific.
    Patch -> Maybe Text
language :: Prelude.Maybe Prelude.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.
    Patch -> Maybe Text
msrcNumber :: Prelude.Maybe Prelude.Text,
    -- | The severity of the patch, such as @Critical@, @Important@, or
    -- @Moderate@. Applies to Windows patches only.
    Patch -> Maybe Text
msrcSeverity :: Prelude.Maybe Prelude.Text,
    -- | The name of the patch. Applies to Linux-based managed nodes only.
    Patch -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
    -- | The specific product the patch is applicable for. For example,
    -- @WindowsServer2016@ or @AmazonLinux2018.03@.
    Patch -> Maybe Text
product :: Prelude.Maybe Prelude.Text,
    -- | The product family the patch is applicable for. For example, @Windows@
    -- or @Amazon Linux 2@.
    Patch -> Maybe Text
productFamily :: Prelude.Maybe Prelude.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 managed nodes only.
    Patch -> Maybe Text
release :: Prelude.Maybe Prelude.Text,
    -- | The date the patch was released.
    Patch -> Maybe POSIX
releaseDate :: Prelude.Maybe Data.POSIX,
    -- | 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 managed nodes only.
    Patch -> Maybe Text
repository :: Prelude.Maybe Prelude.Text,
    -- | The severity level of the patch. For example, @CRITICAL@ or @MODERATE@.
    Patch -> Maybe Text
severity :: Prelude.Maybe Prelude.Text,
    -- | The title of the patch.
    Patch -> Maybe Text
title :: Prelude.Maybe Prelude.Text,
    -- | The name of the vendor providing the patch.
    Patch -> Maybe Text
vendor :: Prelude.Maybe Prelude.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 managed nodes only.
    Patch -> Maybe Text
version :: Prelude.Maybe Prelude.Text
  }
  deriving (Patch -> Patch -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Patch -> Patch -> Bool
$c/= :: Patch -> Patch -> Bool
== :: Patch -> Patch -> Bool
$c== :: Patch -> Patch -> Bool
Prelude.Eq, ReadPrec [Patch]
ReadPrec Patch
Int -> ReadS Patch
ReadS [Patch]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Patch]
$creadListPrec :: ReadPrec [Patch]
readPrec :: ReadPrec Patch
$creadPrec :: ReadPrec Patch
readList :: ReadS [Patch]
$creadList :: ReadS [Patch]
readsPrec :: Int -> ReadS Patch
$creadsPrec :: Int -> ReadS Patch
Prelude.Read, Int -> Patch -> ShowS
[Patch] -> ShowS
Patch -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Patch] -> ShowS
$cshowList :: [Patch] -> ShowS
show :: Patch -> String
$cshow :: Patch -> String
showsPrec :: Int -> Patch -> ShowS
$cshowsPrec :: Int -> Patch -> ShowS
Prelude.Show, forall x. Rep Patch x -> Patch
forall x. Patch -> Rep Patch x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Patch x -> Patch
$cfrom :: forall x. Patch -> Rep Patch x
Prelude.Generic)

-- |
-- Create a value of 'Patch' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'advisoryIds', 'patch_advisoryIds' - The Advisory ID of the patch. For example, @RHSA-2020:3779@. Applies to
-- Linux-based managed nodes only.
--
-- 'arch', '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 managed nodes only.
--
-- 'bugzillaIds', 'patch_bugzillaIds' - The Bugzilla ID of the patch. For example, @1600646@. Applies to
-- Linux-based managed nodes only.
--
-- 'cVEIds', 'patch_cVEIds' - The Common Vulnerabilities and Exposures (CVE) ID of the patch. For
-- example, @CVE-2011-3192@. Applies to Linux-based managed nodes only.
--
-- 'classification', 'patch_classification' - The classification of the patch. For example, @SecurityUpdates@,
-- @Updates@, or @CriticalUpdates@.
--
-- 'contentUrl', 'patch_contentUrl' - The URL where more information can be obtained about the patch.
--
-- 'description', 'patch_description' - The description of the patch.
--
-- 'epoch', '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 managed nodes only.
--
-- 'id', 'patch_id' - The ID of the patch. Applies to Windows patches only.
--
-- This ID isn\'t the same as the Microsoft Knowledge Base ID.
--
-- 'kbNumber', 'patch_kbNumber' - The Microsoft Knowledge Base ID of the patch. Applies to Windows patches
-- only.
--
-- 'language', 'patch_language' - The language of the patch if it\'s language-specific.
--
-- 'msrcNumber', '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.
--
-- 'msrcSeverity', 'patch_msrcSeverity' - The severity of the patch, such as @Critical@, @Important@, or
-- @Moderate@. Applies to Windows patches only.
--
-- 'name', 'patch_name' - The name of the patch. Applies to Linux-based managed nodes only.
--
-- 'product', 'patch_product' - The specific product the patch is applicable for. For example,
-- @WindowsServer2016@ or @AmazonLinux2018.03@.
--
-- 'productFamily', 'patch_productFamily' - The product family the patch is applicable for. For example, @Windows@
-- or @Amazon Linux 2@.
--
-- 'release', '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 managed nodes only.
--
-- 'releaseDate', 'patch_releaseDate' - The date the patch was released.
--
-- 'repository', '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 managed nodes only.
--
-- 'severity', 'patch_severity' - The severity level of the patch. For example, @CRITICAL@ or @MODERATE@.
--
-- 'title', 'patch_title' - The title of the patch.
--
-- 'vendor', 'patch_vendor' - The name of the vendor providing the patch.
--
-- 'version', '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 managed nodes only.
newPatch ::
  Patch
newPatch :: Patch
newPatch =
  Patch'
    { $sel:advisoryIds:Patch' :: Maybe [Text]
advisoryIds = forall a. Maybe a
Prelude.Nothing,
      $sel:arch:Patch' :: Maybe Text
arch = forall a. Maybe a
Prelude.Nothing,
      $sel:bugzillaIds:Patch' :: Maybe [Text]
bugzillaIds = forall a. Maybe a
Prelude.Nothing,
      $sel:cVEIds:Patch' :: Maybe [Text]
cVEIds = forall a. Maybe a
Prelude.Nothing,
      $sel:classification:Patch' :: Maybe Text
classification = forall a. Maybe a
Prelude.Nothing,
      $sel:contentUrl:Patch' :: Maybe Text
contentUrl = forall a. Maybe a
Prelude.Nothing,
      $sel:description:Patch' :: Maybe Text
description = forall a. Maybe a
Prelude.Nothing,
      $sel:epoch:Patch' :: Maybe Int
epoch = forall a. Maybe a
Prelude.Nothing,
      $sel:id:Patch' :: Maybe Text
id = forall a. Maybe a
Prelude.Nothing,
      $sel:kbNumber:Patch' :: Maybe Text
kbNumber = forall a. Maybe a
Prelude.Nothing,
      $sel:language:Patch' :: Maybe Text
language = forall a. Maybe a
Prelude.Nothing,
      $sel:msrcNumber:Patch' :: Maybe Text
msrcNumber = forall a. Maybe a
Prelude.Nothing,
      $sel:msrcSeverity:Patch' :: Maybe Text
msrcSeverity = forall a. Maybe a
Prelude.Nothing,
      $sel:name:Patch' :: Maybe Text
name = forall a. Maybe a
Prelude.Nothing,
      $sel:product:Patch' :: Maybe Text
product = forall a. Maybe a
Prelude.Nothing,
      $sel:productFamily:Patch' :: Maybe Text
productFamily = forall a. Maybe a
Prelude.Nothing,
      $sel:release:Patch' :: Maybe Text
release = forall a. Maybe a
Prelude.Nothing,
      $sel:releaseDate:Patch' :: Maybe POSIX
releaseDate = forall a. Maybe a
Prelude.Nothing,
      $sel:repository:Patch' :: Maybe Text
repository = forall a. Maybe a
Prelude.Nothing,
      $sel:severity:Patch' :: Maybe Text
severity = forall a. Maybe a
Prelude.Nothing,
      $sel:title:Patch' :: Maybe Text
title = forall a. Maybe a
Prelude.Nothing,
      $sel:vendor:Patch' :: Maybe Text
vendor = forall a. Maybe a
Prelude.Nothing,
      $sel:version:Patch' :: Maybe Text
version = forall a. Maybe a
Prelude.Nothing
    }

-- | The Advisory ID of the patch. For example, @RHSA-2020:3779@. Applies to
-- Linux-based managed nodes only.
patch_advisoryIds :: Lens.Lens' Patch (Prelude.Maybe [Prelude.Text])
patch_advisoryIds :: Lens' Patch (Maybe [Text])
patch_advisoryIds = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe [Text]
advisoryIds :: Maybe [Text]
$sel:advisoryIds:Patch' :: Patch -> Maybe [Text]
advisoryIds} -> Maybe [Text]
advisoryIds) (\s :: Patch
s@Patch' {} Maybe [Text]
a -> Patch
s {$sel:advisoryIds:Patch' :: Maybe [Text]
advisoryIds = Maybe [Text]
a} :: Patch) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | 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 managed nodes only.
patch_arch :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_arch :: Lens' Patch (Maybe Text)
patch_arch = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
arch :: Maybe Text
$sel:arch:Patch' :: Patch -> Maybe Text
arch} -> Maybe Text
arch) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:arch:Patch' :: Maybe Text
arch = Maybe Text
a} :: Patch)

-- | The Bugzilla ID of the patch. For example, @1600646@. Applies to
-- Linux-based managed nodes only.
patch_bugzillaIds :: Lens.Lens' Patch (Prelude.Maybe [Prelude.Text])
patch_bugzillaIds :: Lens' Patch (Maybe [Text])
patch_bugzillaIds = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe [Text]
bugzillaIds :: Maybe [Text]
$sel:bugzillaIds:Patch' :: Patch -> Maybe [Text]
bugzillaIds} -> Maybe [Text]
bugzillaIds) (\s :: Patch
s@Patch' {} Maybe [Text]
a -> Patch
s {$sel:bugzillaIds:Patch' :: Maybe [Text]
bugzillaIds = Maybe [Text]
a} :: Patch) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The Common Vulnerabilities and Exposures (CVE) ID of the patch. For
-- example, @CVE-2011-3192@. Applies to Linux-based managed nodes only.
patch_cVEIds :: Lens.Lens' Patch (Prelude.Maybe [Prelude.Text])
patch_cVEIds :: Lens' Patch (Maybe [Text])
patch_cVEIds = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe [Text]
cVEIds :: Maybe [Text]
$sel:cVEIds:Patch' :: Patch -> Maybe [Text]
cVEIds} -> Maybe [Text]
cVEIds) (\s :: Patch
s@Patch' {} Maybe [Text]
a -> Patch
s {$sel:cVEIds:Patch' :: Maybe [Text]
cVEIds = Maybe [Text]
a} :: Patch) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The classification of the patch. For example, @SecurityUpdates@,
-- @Updates@, or @CriticalUpdates@.
patch_classification :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_classification :: Lens' Patch (Maybe Text)
patch_classification = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
classification :: Maybe Text
$sel:classification:Patch' :: Patch -> Maybe Text
classification} -> Maybe Text
classification) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:classification:Patch' :: Maybe Text
classification = Maybe Text
a} :: Patch)

-- | The URL where more information can be obtained about the patch.
patch_contentUrl :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_contentUrl :: Lens' Patch (Maybe Text)
patch_contentUrl = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
contentUrl :: Maybe Text
$sel:contentUrl:Patch' :: Patch -> Maybe Text
contentUrl} -> Maybe Text
contentUrl) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:contentUrl:Patch' :: Maybe Text
contentUrl = Maybe Text
a} :: Patch)

-- | The description of the patch.
patch_description :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_description :: Lens' Patch (Maybe Text)
patch_description = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
description :: Maybe Text
$sel:description:Patch' :: Patch -> Maybe Text
description} -> Maybe Text
description) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:description:Patch' :: Maybe Text
description = Maybe Text
a} :: Patch)

-- | 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 managed nodes only.
patch_epoch :: Lens.Lens' Patch (Prelude.Maybe Prelude.Int)
patch_epoch :: Lens' Patch (Maybe Int)
patch_epoch = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Int
epoch :: Maybe Int
$sel:epoch:Patch' :: Patch -> Maybe Int
epoch} -> Maybe Int
epoch) (\s :: Patch
s@Patch' {} Maybe Int
a -> Patch
s {$sel:epoch:Patch' :: Maybe Int
epoch = Maybe Int
a} :: Patch)

-- | The ID of the patch. Applies to Windows patches only.
--
-- This ID isn\'t the same as the Microsoft Knowledge Base ID.
patch_id :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_id :: Lens' Patch (Maybe Text)
patch_id = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
id :: Maybe Text
$sel:id:Patch' :: Patch -> Maybe Text
id} -> Maybe Text
id) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:id:Patch' :: Maybe Text
id = Maybe Text
a} :: Patch)

-- | The Microsoft Knowledge Base ID of the patch. Applies to Windows patches
-- only.
patch_kbNumber :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_kbNumber :: Lens' Patch (Maybe Text)
patch_kbNumber = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
kbNumber :: Maybe Text
$sel:kbNumber:Patch' :: Patch -> Maybe Text
kbNumber} -> Maybe Text
kbNumber) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:kbNumber:Patch' :: Maybe Text
kbNumber = Maybe Text
a} :: Patch)

-- | The language of the patch if it\'s language-specific.
patch_language :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_language :: Lens' Patch (Maybe Text)
patch_language = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
language :: Maybe Text
$sel:language:Patch' :: Patch -> Maybe Text
language} -> Maybe Text
language) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:language:Patch' :: Maybe Text
language = Maybe Text
a} :: Patch)

-- | 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_msrcNumber :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_msrcNumber :: Lens' Patch (Maybe Text)
patch_msrcNumber = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
msrcNumber :: Maybe Text
$sel:msrcNumber:Patch' :: Patch -> Maybe Text
msrcNumber} -> Maybe Text
msrcNumber) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:msrcNumber:Patch' :: Maybe Text
msrcNumber = Maybe Text
a} :: Patch)

-- | The severity of the patch, such as @Critical@, @Important@, or
-- @Moderate@. Applies to Windows patches only.
patch_msrcSeverity :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_msrcSeverity :: Lens' Patch (Maybe Text)
patch_msrcSeverity = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
msrcSeverity :: Maybe Text
$sel:msrcSeverity:Patch' :: Patch -> Maybe Text
msrcSeverity} -> Maybe Text
msrcSeverity) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:msrcSeverity:Patch' :: Maybe Text
msrcSeverity = Maybe Text
a} :: Patch)

-- | The name of the patch. Applies to Linux-based managed nodes only.
patch_name :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_name :: Lens' Patch (Maybe Text)
patch_name = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
name :: Maybe Text
$sel:name:Patch' :: Patch -> Maybe Text
name} -> Maybe Text
name) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:name:Patch' :: Maybe Text
name = Maybe Text
a} :: Patch)

-- | The specific product the patch is applicable for. For example,
-- @WindowsServer2016@ or @AmazonLinux2018.03@.
patch_product :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_product :: Lens' Patch (Maybe Text)
patch_product = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
product :: Maybe Text
$sel:product:Patch' :: Patch -> Maybe Text
product} -> Maybe Text
product) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:product:Patch' :: Maybe Text
product = Maybe Text
a} :: Patch)

-- | The product family the patch is applicable for. For example, @Windows@
-- or @Amazon Linux 2@.
patch_productFamily :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_productFamily :: Lens' Patch (Maybe Text)
patch_productFamily = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
productFamily :: Maybe Text
$sel:productFamily:Patch' :: Patch -> Maybe Text
productFamily} -> Maybe Text
productFamily) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:productFamily:Patch' :: Maybe Text
productFamily = Maybe Text
a} :: Patch)

-- | 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 managed nodes only.
patch_release :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_release :: Lens' Patch (Maybe Text)
patch_release = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
release :: Maybe Text
$sel:release:Patch' :: Patch -> Maybe Text
release} -> Maybe Text
release) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:release:Patch' :: Maybe Text
release = Maybe Text
a} :: Patch)

-- | The date the patch was released.
patch_releaseDate :: Lens.Lens' Patch (Prelude.Maybe Prelude.UTCTime)
patch_releaseDate :: Lens' Patch (Maybe UTCTime)
patch_releaseDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe POSIX
releaseDate :: Maybe POSIX
$sel:releaseDate:Patch' :: Patch -> Maybe POSIX
releaseDate} -> Maybe POSIX
releaseDate) (\s :: Patch
s@Patch' {} Maybe POSIX
a -> Patch
s {$sel:releaseDate:Patch' :: Maybe POSIX
releaseDate = Maybe POSIX
a} :: Patch) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | 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 managed nodes only.
patch_repository :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_repository :: Lens' Patch (Maybe Text)
patch_repository = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
repository :: Maybe Text
$sel:repository:Patch' :: Patch -> Maybe Text
repository} -> Maybe Text
repository) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:repository:Patch' :: Maybe Text
repository = Maybe Text
a} :: Patch)

-- | The severity level of the patch. For example, @CRITICAL@ or @MODERATE@.
patch_severity :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_severity :: Lens' Patch (Maybe Text)
patch_severity = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
severity :: Maybe Text
$sel:severity:Patch' :: Patch -> Maybe Text
severity} -> Maybe Text
severity) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:severity:Patch' :: Maybe Text
severity = Maybe Text
a} :: Patch)

-- | The title of the patch.
patch_title :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_title :: Lens' Patch (Maybe Text)
patch_title = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
title :: Maybe Text
$sel:title:Patch' :: Patch -> Maybe Text
title} -> Maybe Text
title) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:title:Patch' :: Maybe Text
title = Maybe Text
a} :: Patch)

-- | The name of the vendor providing the patch.
patch_vendor :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_vendor :: Lens' Patch (Maybe Text)
patch_vendor = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
vendor :: Maybe Text
$sel:vendor:Patch' :: Patch -> Maybe Text
vendor} -> Maybe Text
vendor) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:vendor:Patch' :: Maybe Text
vendor = Maybe Text
a} :: Patch)

-- | 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 managed nodes only.
patch_version :: Lens.Lens' Patch (Prelude.Maybe Prelude.Text)
patch_version :: Lens' Patch (Maybe Text)
patch_version = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Patch' {Maybe Text
version :: Maybe Text
$sel:version:Patch' :: Patch -> Maybe Text
version} -> Maybe Text
version) (\s :: Patch
s@Patch' {} Maybe Text
a -> Patch
s {$sel:version:Patch' :: Maybe Text
version = Maybe Text
a} :: Patch)

instance Data.FromJSON Patch where
  parseJSON :: Value -> Parser Patch
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"Patch"
      ( \Object
x ->
          Maybe [Text]
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Patch
Patch'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"AdvisoryIds" forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty)
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Arch")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"BugzillaIds" forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty)
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"CVEIds" forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty)
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Classification")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ContentUrl")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Description")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Epoch")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Id")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"KbNumber")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Language")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"MsrcNumber")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"MsrcSeverity")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Name")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Product")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ProductFamily")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Release")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ReleaseDate")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Repository")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Severity")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Title")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Vendor")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Version")
      )

instance Prelude.Hashable Patch where
  hashWithSalt :: Int -> Patch -> Int
hashWithSalt Int
_salt Patch' {Maybe Int
Maybe [Text]
Maybe Text
Maybe POSIX
version :: Maybe Text
vendor :: Maybe Text
title :: Maybe Text
severity :: Maybe Text
repository :: Maybe Text
releaseDate :: Maybe POSIX
release :: Maybe Text
productFamily :: Maybe Text
product :: Maybe Text
name :: Maybe Text
msrcSeverity :: Maybe Text
msrcNumber :: Maybe Text
language :: Maybe Text
kbNumber :: Maybe Text
id :: Maybe Text
epoch :: Maybe Int
description :: Maybe Text
contentUrl :: Maybe Text
classification :: Maybe Text
cVEIds :: Maybe [Text]
bugzillaIds :: Maybe [Text]
arch :: Maybe Text
advisoryIds :: Maybe [Text]
$sel:version:Patch' :: Patch -> Maybe Text
$sel:vendor:Patch' :: Patch -> Maybe Text
$sel:title:Patch' :: Patch -> Maybe Text
$sel:severity:Patch' :: Patch -> Maybe Text
$sel:repository:Patch' :: Patch -> Maybe Text
$sel:releaseDate:Patch' :: Patch -> Maybe POSIX
$sel:release:Patch' :: Patch -> Maybe Text
$sel:productFamily:Patch' :: Patch -> Maybe Text
$sel:product:Patch' :: Patch -> Maybe Text
$sel:name:Patch' :: Patch -> Maybe Text
$sel:msrcSeverity:Patch' :: Patch -> Maybe Text
$sel:msrcNumber:Patch' :: Patch -> Maybe Text
$sel:language:Patch' :: Patch -> Maybe Text
$sel:kbNumber:Patch' :: Patch -> Maybe Text
$sel:id:Patch' :: Patch -> Maybe Text
$sel:epoch:Patch' :: Patch -> Maybe Int
$sel:description:Patch' :: Patch -> Maybe Text
$sel:contentUrl:Patch' :: Patch -> Maybe Text
$sel:classification:Patch' :: Patch -> Maybe Text
$sel:cVEIds:Patch' :: Patch -> Maybe [Text]
$sel:bugzillaIds:Patch' :: Patch -> Maybe [Text]
$sel:arch:Patch' :: Patch -> Maybe Text
$sel:advisoryIds:Patch' :: Patch -> Maybe [Text]
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
advisoryIds
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
arch
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
bugzillaIds
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
cVEIds
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
classification
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
contentUrl
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
description
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
epoch
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
id
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
kbNumber
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
language
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
msrcNumber
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
msrcSeverity
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
name
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
product
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
productFamily
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
release
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
releaseDate
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
repository
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
severity
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
title
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
vendor
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
version

instance Prelude.NFData Patch where
  rnf :: Patch -> ()
rnf Patch' {Maybe Int
Maybe [Text]
Maybe Text
Maybe POSIX
version :: Maybe Text
vendor :: Maybe Text
title :: Maybe Text
severity :: Maybe Text
repository :: Maybe Text
releaseDate :: Maybe POSIX
release :: Maybe Text
productFamily :: Maybe Text
product :: Maybe Text
name :: Maybe Text
msrcSeverity :: Maybe Text
msrcNumber :: Maybe Text
language :: Maybe Text
kbNumber :: Maybe Text
id :: Maybe Text
epoch :: Maybe Int
description :: Maybe Text
contentUrl :: Maybe Text
classification :: Maybe Text
cVEIds :: Maybe [Text]
bugzillaIds :: Maybe [Text]
arch :: Maybe Text
advisoryIds :: Maybe [Text]
$sel:version:Patch' :: Patch -> Maybe Text
$sel:vendor:Patch' :: Patch -> Maybe Text
$sel:title:Patch' :: Patch -> Maybe Text
$sel:severity:Patch' :: Patch -> Maybe Text
$sel:repository:Patch' :: Patch -> Maybe Text
$sel:releaseDate:Patch' :: Patch -> Maybe POSIX
$sel:release:Patch' :: Patch -> Maybe Text
$sel:productFamily:Patch' :: Patch -> Maybe Text
$sel:product:Patch' :: Patch -> Maybe Text
$sel:name:Patch' :: Patch -> Maybe Text
$sel:msrcSeverity:Patch' :: Patch -> Maybe Text
$sel:msrcNumber:Patch' :: Patch -> Maybe Text
$sel:language:Patch' :: Patch -> Maybe Text
$sel:kbNumber:Patch' :: Patch -> Maybe Text
$sel:id:Patch' :: Patch -> Maybe Text
$sel:epoch:Patch' :: Patch -> Maybe Int
$sel:description:Patch' :: Patch -> Maybe Text
$sel:contentUrl:Patch' :: Patch -> Maybe Text
$sel:classification:Patch' :: Patch -> Maybe Text
$sel:cVEIds:Patch' :: Patch -> Maybe [Text]
$sel:bugzillaIds:Patch' :: Patch -> Maybe [Text]
$sel:arch:Patch' :: Patch -> Maybe Text
$sel:advisoryIds:Patch' :: Patch -> Maybe [Text]
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
advisoryIds
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
arch
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
bugzillaIds
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
cVEIds
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
classification
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
contentUrl
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
description
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
epoch
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
id
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
kbNumber
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
language
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
msrcNumber
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
msrcSeverity
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
name
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
product
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
productFamily
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
release
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
releaseDate
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
repository
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
severity
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
title
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
vendor
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
version