{-# 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.ECRPublic.Types.RepositoryCatalogDataInput
-- 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.ECRPublic.Types.RepositoryCatalogDataInput 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

-- | An object containing the catalog data for a repository. This data is
-- publicly visible in the Amazon ECR Public Gallery.
--
-- /See:/ 'newRepositoryCatalogDataInput' smart constructor.
data RepositoryCatalogDataInput = RepositoryCatalogDataInput'
  { -- | A detailed description of the contents of the repository. It is publicly
    -- visible in the Amazon ECR Public Gallery. The text must be in markdown
    -- format.
    RepositoryCatalogDataInput -> Maybe Text
aboutText :: Prelude.Maybe Prelude.Text,
    -- | The system architecture that the images in the repository are compatible
    -- with. On the Amazon ECR Public Gallery, the following supported
    -- architectures will appear as badges on the repository and are used as
    -- search filters.
    --
    -- -   @Linux@
    --
    -- -   @Windows@
    --
    -- If an unsupported tag is added to your repository catalog data, it will
    -- be associated with the repository and can be retrieved using the API but
    -- will not be discoverable in the Amazon ECR Public Gallery.
    RepositoryCatalogDataInput -> Maybe [Text]
architectures :: Prelude.Maybe [Prelude.Text],
    -- | A short description of the contents of the repository. This text appears
    -- in both the image details and also when searching for repositories on
    -- the Amazon ECR Public Gallery.
    RepositoryCatalogDataInput -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
    -- | The base64-encoded repository logo payload.
    --
    -- The repository logo is only publicly visible in the Amazon ECR Public
    -- Gallery for verified accounts.
    RepositoryCatalogDataInput -> Maybe Base64
logoImageBlob :: Prelude.Maybe Data.Base64,
    -- | The operating systems that the images in the repository are compatible
    -- with. On the Amazon ECR Public Gallery, the following supported
    -- operating systems will appear as badges on the repository and are used
    -- as search filters.
    --
    -- -   @ARM@
    --
    -- -   @ARM 64@
    --
    -- -   @x86@
    --
    -- -   @x86-64@
    --
    -- If an unsupported tag is added to your repository catalog data, it will
    -- be associated with the repository and can be retrieved using the API but
    -- will not be discoverable in the Amazon ECR Public Gallery.
    RepositoryCatalogDataInput -> Maybe [Text]
operatingSystems :: Prelude.Maybe [Prelude.Text],
    -- | Detailed information on how to use the contents of the repository. It is
    -- publicly visible in the Amazon ECR Public Gallery. The usage text
    -- provides context, support information, and additional usage details for
    -- users of the repository. The text must be in markdown format.
    RepositoryCatalogDataInput -> Maybe Text
usageText :: Prelude.Maybe Prelude.Text
  }
  deriving (RepositoryCatalogDataInput -> RepositoryCatalogDataInput -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RepositoryCatalogDataInput -> RepositoryCatalogDataInput -> Bool
$c/= :: RepositoryCatalogDataInput -> RepositoryCatalogDataInput -> Bool
== :: RepositoryCatalogDataInput -> RepositoryCatalogDataInput -> Bool
$c== :: RepositoryCatalogDataInput -> RepositoryCatalogDataInput -> Bool
Prelude.Eq, ReadPrec [RepositoryCatalogDataInput]
ReadPrec RepositoryCatalogDataInput
Int -> ReadS RepositoryCatalogDataInput
ReadS [RepositoryCatalogDataInput]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RepositoryCatalogDataInput]
$creadListPrec :: ReadPrec [RepositoryCatalogDataInput]
readPrec :: ReadPrec RepositoryCatalogDataInput
$creadPrec :: ReadPrec RepositoryCatalogDataInput
readList :: ReadS [RepositoryCatalogDataInput]
$creadList :: ReadS [RepositoryCatalogDataInput]
readsPrec :: Int -> ReadS RepositoryCatalogDataInput
$creadsPrec :: Int -> ReadS RepositoryCatalogDataInput
Prelude.Read, Int -> RepositoryCatalogDataInput -> ShowS
[RepositoryCatalogDataInput] -> ShowS
RepositoryCatalogDataInput -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RepositoryCatalogDataInput] -> ShowS
$cshowList :: [RepositoryCatalogDataInput] -> ShowS
show :: RepositoryCatalogDataInput -> String
$cshow :: RepositoryCatalogDataInput -> String
showsPrec :: Int -> RepositoryCatalogDataInput -> ShowS
$cshowsPrec :: Int -> RepositoryCatalogDataInput -> ShowS
Prelude.Show, forall x.
Rep RepositoryCatalogDataInput x -> RepositoryCatalogDataInput
forall x.
RepositoryCatalogDataInput -> Rep RepositoryCatalogDataInput x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep RepositoryCatalogDataInput x -> RepositoryCatalogDataInput
$cfrom :: forall x.
RepositoryCatalogDataInput -> Rep RepositoryCatalogDataInput x
Prelude.Generic)

-- |
-- Create a value of 'RepositoryCatalogDataInput' 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:
--
-- 'aboutText', 'repositoryCatalogDataInput_aboutText' - A detailed description of the contents of the repository. It is publicly
-- visible in the Amazon ECR Public Gallery. The text must be in markdown
-- format.
--
-- 'architectures', 'repositoryCatalogDataInput_architectures' - The system architecture that the images in the repository are compatible
-- with. On the Amazon ECR Public Gallery, the following supported
-- architectures will appear as badges on the repository and are used as
-- search filters.
--
-- -   @Linux@
--
-- -   @Windows@
--
-- If an unsupported tag is added to your repository catalog data, it will
-- be associated with the repository and can be retrieved using the API but
-- will not be discoverable in the Amazon ECR Public Gallery.
--
-- 'description', 'repositoryCatalogDataInput_description' - A short description of the contents of the repository. This text appears
-- in both the image details and also when searching for repositories on
-- the Amazon ECR Public Gallery.
--
-- 'logoImageBlob', 'repositoryCatalogDataInput_logoImageBlob' - The base64-encoded repository logo payload.
--
-- The repository logo is only publicly visible in the Amazon ECR Public
-- Gallery for verified accounts.--
-- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data.
-- -- The underlying isomorphism will encode to Base64 representation during
-- -- serialisation, and decode from Base64 representation during deserialisation.
-- -- This 'Lens' accepts and returns only raw unencoded data.
--
-- 'operatingSystems', 'repositoryCatalogDataInput_operatingSystems' - The operating systems that the images in the repository are compatible
-- with. On the Amazon ECR Public Gallery, the following supported
-- operating systems will appear as badges on the repository and are used
-- as search filters.
--
-- -   @ARM@
--
-- -   @ARM 64@
--
-- -   @x86@
--
-- -   @x86-64@
--
-- If an unsupported tag is added to your repository catalog data, it will
-- be associated with the repository and can be retrieved using the API but
-- will not be discoverable in the Amazon ECR Public Gallery.
--
-- 'usageText', 'repositoryCatalogDataInput_usageText' - Detailed information on how to use the contents of the repository. It is
-- publicly visible in the Amazon ECR Public Gallery. The usage text
-- provides context, support information, and additional usage details for
-- users of the repository. The text must be in markdown format.
newRepositoryCatalogDataInput ::
  RepositoryCatalogDataInput
newRepositoryCatalogDataInput :: RepositoryCatalogDataInput
newRepositoryCatalogDataInput =
  RepositoryCatalogDataInput'
    { $sel:aboutText:RepositoryCatalogDataInput' :: Maybe Text
aboutText =
        forall a. Maybe a
Prelude.Nothing,
      $sel:architectures:RepositoryCatalogDataInput' :: Maybe [Text]
architectures = forall a. Maybe a
Prelude.Nothing,
      $sel:description:RepositoryCatalogDataInput' :: Maybe Text
description = forall a. Maybe a
Prelude.Nothing,
      $sel:logoImageBlob:RepositoryCatalogDataInput' :: Maybe Base64
logoImageBlob = forall a. Maybe a
Prelude.Nothing,
      $sel:operatingSystems:RepositoryCatalogDataInput' :: Maybe [Text]
operatingSystems = forall a. Maybe a
Prelude.Nothing,
      $sel:usageText:RepositoryCatalogDataInput' :: Maybe Text
usageText = forall a. Maybe a
Prelude.Nothing
    }

-- | A detailed description of the contents of the repository. It is publicly
-- visible in the Amazon ECR Public Gallery. The text must be in markdown
-- format.
repositoryCatalogDataInput_aboutText :: Lens.Lens' RepositoryCatalogDataInput (Prelude.Maybe Prelude.Text)
repositoryCatalogDataInput_aboutText :: Lens' RepositoryCatalogDataInput (Maybe Text)
repositoryCatalogDataInput_aboutText = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RepositoryCatalogDataInput' {Maybe Text
aboutText :: Maybe Text
$sel:aboutText:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe Text
aboutText} -> Maybe Text
aboutText) (\s :: RepositoryCatalogDataInput
s@RepositoryCatalogDataInput' {} Maybe Text
a -> RepositoryCatalogDataInput
s {$sel:aboutText:RepositoryCatalogDataInput' :: Maybe Text
aboutText = Maybe Text
a} :: RepositoryCatalogDataInput)

-- | The system architecture that the images in the repository are compatible
-- with. On the Amazon ECR Public Gallery, the following supported
-- architectures will appear as badges on the repository and are used as
-- search filters.
--
-- -   @Linux@
--
-- -   @Windows@
--
-- If an unsupported tag is added to your repository catalog data, it will
-- be associated with the repository and can be retrieved using the API but
-- will not be discoverable in the Amazon ECR Public Gallery.
repositoryCatalogDataInput_architectures :: Lens.Lens' RepositoryCatalogDataInput (Prelude.Maybe [Prelude.Text])
repositoryCatalogDataInput_architectures :: Lens' RepositoryCatalogDataInput (Maybe [Text])
repositoryCatalogDataInput_architectures = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RepositoryCatalogDataInput' {Maybe [Text]
architectures :: Maybe [Text]
$sel:architectures:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe [Text]
architectures} -> Maybe [Text]
architectures) (\s :: RepositoryCatalogDataInput
s@RepositoryCatalogDataInput' {} Maybe [Text]
a -> RepositoryCatalogDataInput
s {$sel:architectures:RepositoryCatalogDataInput' :: Maybe [Text]
architectures = Maybe [Text]
a} :: RepositoryCatalogDataInput) 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

-- | A short description of the contents of the repository. This text appears
-- in both the image details and also when searching for repositories on
-- the Amazon ECR Public Gallery.
repositoryCatalogDataInput_description :: Lens.Lens' RepositoryCatalogDataInput (Prelude.Maybe Prelude.Text)
repositoryCatalogDataInput_description :: Lens' RepositoryCatalogDataInput (Maybe Text)
repositoryCatalogDataInput_description = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RepositoryCatalogDataInput' {Maybe Text
description :: Maybe Text
$sel:description:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe Text
description} -> Maybe Text
description) (\s :: RepositoryCatalogDataInput
s@RepositoryCatalogDataInput' {} Maybe Text
a -> RepositoryCatalogDataInput
s {$sel:description:RepositoryCatalogDataInput' :: Maybe Text
description = Maybe Text
a} :: RepositoryCatalogDataInput)

-- | The base64-encoded repository logo payload.
--
-- The repository logo is only publicly visible in the Amazon ECR Public
-- Gallery for verified accounts.--
-- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data.
-- -- The underlying isomorphism will encode to Base64 representation during
-- -- serialisation, and decode from Base64 representation during deserialisation.
-- -- This 'Lens' accepts and returns only raw unencoded data.
repositoryCatalogDataInput_logoImageBlob :: Lens.Lens' RepositoryCatalogDataInput (Prelude.Maybe Prelude.ByteString)
repositoryCatalogDataInput_logoImageBlob :: Lens' RepositoryCatalogDataInput (Maybe ByteString)
repositoryCatalogDataInput_logoImageBlob = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RepositoryCatalogDataInput' {Maybe Base64
logoImageBlob :: Maybe Base64
$sel:logoImageBlob:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe Base64
logoImageBlob} -> Maybe Base64
logoImageBlob) (\s :: RepositoryCatalogDataInput
s@RepositoryCatalogDataInput' {} Maybe Base64
a -> RepositoryCatalogDataInput
s {$sel:logoImageBlob:RepositoryCatalogDataInput' :: Maybe Base64
logoImageBlob = Maybe Base64
a} :: RepositoryCatalogDataInput) 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 Iso' Base64 ByteString
Data._Base64

-- | The operating systems that the images in the repository are compatible
-- with. On the Amazon ECR Public Gallery, the following supported
-- operating systems will appear as badges on the repository and are used
-- as search filters.
--
-- -   @ARM@
--
-- -   @ARM 64@
--
-- -   @x86@
--
-- -   @x86-64@
--
-- If an unsupported tag is added to your repository catalog data, it will
-- be associated with the repository and can be retrieved using the API but
-- will not be discoverable in the Amazon ECR Public Gallery.
repositoryCatalogDataInput_operatingSystems :: Lens.Lens' RepositoryCatalogDataInput (Prelude.Maybe [Prelude.Text])
repositoryCatalogDataInput_operatingSystems :: Lens' RepositoryCatalogDataInput (Maybe [Text])
repositoryCatalogDataInput_operatingSystems = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RepositoryCatalogDataInput' {Maybe [Text]
operatingSystems :: Maybe [Text]
$sel:operatingSystems:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe [Text]
operatingSystems} -> Maybe [Text]
operatingSystems) (\s :: RepositoryCatalogDataInput
s@RepositoryCatalogDataInput' {} Maybe [Text]
a -> RepositoryCatalogDataInput
s {$sel:operatingSystems:RepositoryCatalogDataInput' :: Maybe [Text]
operatingSystems = Maybe [Text]
a} :: RepositoryCatalogDataInput) 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

-- | Detailed information on how to use the contents of the repository. It is
-- publicly visible in the Amazon ECR Public Gallery. The usage text
-- provides context, support information, and additional usage details for
-- users of the repository. The text must be in markdown format.
repositoryCatalogDataInput_usageText :: Lens.Lens' RepositoryCatalogDataInput (Prelude.Maybe Prelude.Text)
repositoryCatalogDataInput_usageText :: Lens' RepositoryCatalogDataInput (Maybe Text)
repositoryCatalogDataInput_usageText = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RepositoryCatalogDataInput' {Maybe Text
usageText :: Maybe Text
$sel:usageText:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe Text
usageText} -> Maybe Text
usageText) (\s :: RepositoryCatalogDataInput
s@RepositoryCatalogDataInput' {} Maybe Text
a -> RepositoryCatalogDataInput
s {$sel:usageText:RepositoryCatalogDataInput' :: Maybe Text
usageText = Maybe Text
a} :: RepositoryCatalogDataInput)

instance Prelude.Hashable RepositoryCatalogDataInput where
  hashWithSalt :: Int -> RepositoryCatalogDataInput -> Int
hashWithSalt Int
_salt RepositoryCatalogDataInput' {Maybe [Text]
Maybe Text
Maybe Base64
usageText :: Maybe Text
operatingSystems :: Maybe [Text]
logoImageBlob :: Maybe Base64
description :: Maybe Text
architectures :: Maybe [Text]
aboutText :: Maybe Text
$sel:usageText:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe Text
$sel:operatingSystems:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe [Text]
$sel:logoImageBlob:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe Base64
$sel:description:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe Text
$sel:architectures:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe [Text]
$sel:aboutText:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
aboutText
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
architectures
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
description
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Base64
logoImageBlob
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
operatingSystems
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
usageText

instance Prelude.NFData RepositoryCatalogDataInput where
  rnf :: RepositoryCatalogDataInput -> ()
rnf RepositoryCatalogDataInput' {Maybe [Text]
Maybe Text
Maybe Base64
usageText :: Maybe Text
operatingSystems :: Maybe [Text]
logoImageBlob :: Maybe Base64
description :: Maybe Text
architectures :: Maybe [Text]
aboutText :: Maybe Text
$sel:usageText:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe Text
$sel:operatingSystems:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe [Text]
$sel:logoImageBlob:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe Base64
$sel:description:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe Text
$sel:architectures:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe [Text]
$sel:aboutText:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
aboutText
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
architectures
      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 Base64
logoImageBlob
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
operatingSystems
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
usageText

instance Data.ToJSON RepositoryCatalogDataInput where
  toJSON :: RepositoryCatalogDataInput -> Value
toJSON RepositoryCatalogDataInput' {Maybe [Text]
Maybe Text
Maybe Base64
usageText :: Maybe Text
operatingSystems :: Maybe [Text]
logoImageBlob :: Maybe Base64
description :: Maybe Text
architectures :: Maybe [Text]
aboutText :: Maybe Text
$sel:usageText:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe Text
$sel:operatingSystems:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe [Text]
$sel:logoImageBlob:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe Base64
$sel:description:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe Text
$sel:architectures:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe [Text]
$sel:aboutText:RepositoryCatalogDataInput' :: RepositoryCatalogDataInput -> Maybe Text
..} =
    [Pair] -> Value
Data.object
      ( forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Key
"aboutText" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
aboutText,
            (Key
"architectures" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
architectures,
            (Key
"description" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
description,
            (Key
"logoImageBlob" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Base64
logoImageBlob,
            (Key
"operatingSystems" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
              forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
operatingSystems,
            (Key
"usageText" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
usageText
          ]
      )