{-# 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.KinesisAnalyticsV2.Types.ZeppelinApplicationConfigurationUpdate
-- 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)
module Amazonka.KinesisAnalyticsV2.Types.ZeppelinApplicationConfigurationUpdate where

import qualified Amazonka.Core as Core
import Amazonka.KinesisAnalyticsV2.Types.CatalogConfigurationUpdate
import Amazonka.KinesisAnalyticsV2.Types.CustomArtifactConfiguration
import Amazonka.KinesisAnalyticsV2.Types.DeployAsApplicationConfigurationUpdate
import Amazonka.KinesisAnalyticsV2.Types.ZeppelinMonitoringConfigurationUpdate
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude

-- | Updates to the configuration of Kinesis Data Analytics Studio notebook.
--
-- /See:/ 'newZeppelinApplicationConfigurationUpdate' smart constructor.
data ZeppelinApplicationConfigurationUpdate = ZeppelinApplicationConfigurationUpdate'
  { -- | Updates to the customer artifacts. Custom artifacts are dependency JAR
    -- files and user-defined functions (UDF).
    ZeppelinApplicationConfigurationUpdate
-> Maybe [CustomArtifactConfiguration]
customArtifactsConfigurationUpdate :: Prelude.Maybe [CustomArtifactConfiguration],
    -- | Updates to the configuration of the Amazon Glue Data Catalog that is
    -- associated with the Kinesis Data Analytics Studio notebook.
    ZeppelinApplicationConfigurationUpdate
-> Maybe CatalogConfigurationUpdate
catalogConfigurationUpdate :: Prelude.Maybe CatalogConfigurationUpdate,
    ZeppelinApplicationConfigurationUpdate
-> Maybe DeployAsApplicationConfigurationUpdate
deployAsApplicationConfigurationUpdate :: Prelude.Maybe DeployAsApplicationConfigurationUpdate,
    -- | Updates to the monitoring configuration of a Kinesis Data Analytics
    -- Studio notebook.
    ZeppelinApplicationConfigurationUpdate
-> Maybe ZeppelinMonitoringConfigurationUpdate
monitoringConfigurationUpdate :: Prelude.Maybe ZeppelinMonitoringConfigurationUpdate
  }
  deriving (ZeppelinApplicationConfigurationUpdate
-> ZeppelinApplicationConfigurationUpdate -> Bool
(ZeppelinApplicationConfigurationUpdate
 -> ZeppelinApplicationConfigurationUpdate -> Bool)
-> (ZeppelinApplicationConfigurationUpdate
    -> ZeppelinApplicationConfigurationUpdate -> Bool)
-> Eq ZeppelinApplicationConfigurationUpdate
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ZeppelinApplicationConfigurationUpdate
-> ZeppelinApplicationConfigurationUpdate -> Bool
$c/= :: ZeppelinApplicationConfigurationUpdate
-> ZeppelinApplicationConfigurationUpdate -> Bool
== :: ZeppelinApplicationConfigurationUpdate
-> ZeppelinApplicationConfigurationUpdate -> Bool
$c== :: ZeppelinApplicationConfigurationUpdate
-> ZeppelinApplicationConfigurationUpdate -> Bool
Prelude.Eq, ReadPrec [ZeppelinApplicationConfigurationUpdate]
ReadPrec ZeppelinApplicationConfigurationUpdate
Int -> ReadS ZeppelinApplicationConfigurationUpdate
ReadS [ZeppelinApplicationConfigurationUpdate]
(Int -> ReadS ZeppelinApplicationConfigurationUpdate)
-> ReadS [ZeppelinApplicationConfigurationUpdate]
-> ReadPrec ZeppelinApplicationConfigurationUpdate
-> ReadPrec [ZeppelinApplicationConfigurationUpdate]
-> Read ZeppelinApplicationConfigurationUpdate
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ZeppelinApplicationConfigurationUpdate]
$creadListPrec :: ReadPrec [ZeppelinApplicationConfigurationUpdate]
readPrec :: ReadPrec ZeppelinApplicationConfigurationUpdate
$creadPrec :: ReadPrec ZeppelinApplicationConfigurationUpdate
readList :: ReadS [ZeppelinApplicationConfigurationUpdate]
$creadList :: ReadS [ZeppelinApplicationConfigurationUpdate]
readsPrec :: Int -> ReadS ZeppelinApplicationConfigurationUpdate
$creadsPrec :: Int -> ReadS ZeppelinApplicationConfigurationUpdate
Prelude.Read, Int -> ZeppelinApplicationConfigurationUpdate -> ShowS
[ZeppelinApplicationConfigurationUpdate] -> ShowS
ZeppelinApplicationConfigurationUpdate -> String
(Int -> ZeppelinApplicationConfigurationUpdate -> ShowS)
-> (ZeppelinApplicationConfigurationUpdate -> String)
-> ([ZeppelinApplicationConfigurationUpdate] -> ShowS)
-> Show ZeppelinApplicationConfigurationUpdate
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ZeppelinApplicationConfigurationUpdate] -> ShowS
$cshowList :: [ZeppelinApplicationConfigurationUpdate] -> ShowS
show :: ZeppelinApplicationConfigurationUpdate -> String
$cshow :: ZeppelinApplicationConfigurationUpdate -> String
showsPrec :: Int -> ZeppelinApplicationConfigurationUpdate -> ShowS
$cshowsPrec :: Int -> ZeppelinApplicationConfigurationUpdate -> ShowS
Prelude.Show, (forall x.
 ZeppelinApplicationConfigurationUpdate
 -> Rep ZeppelinApplicationConfigurationUpdate x)
-> (forall x.
    Rep ZeppelinApplicationConfigurationUpdate x
    -> ZeppelinApplicationConfigurationUpdate)
-> Generic ZeppelinApplicationConfigurationUpdate
forall x.
Rep ZeppelinApplicationConfigurationUpdate x
-> ZeppelinApplicationConfigurationUpdate
forall x.
ZeppelinApplicationConfigurationUpdate
-> Rep ZeppelinApplicationConfigurationUpdate x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ZeppelinApplicationConfigurationUpdate x
-> ZeppelinApplicationConfigurationUpdate
$cfrom :: forall x.
ZeppelinApplicationConfigurationUpdate
-> Rep ZeppelinApplicationConfigurationUpdate x
Prelude.Generic)

-- |
-- Create a value of 'ZeppelinApplicationConfigurationUpdate' 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:
--
-- 'customArtifactsConfigurationUpdate', 'zeppelinApplicationConfigurationUpdate_customArtifactsConfigurationUpdate' - Updates to the customer artifacts. Custom artifacts are dependency JAR
-- files and user-defined functions (UDF).
--
-- 'catalogConfigurationUpdate', 'zeppelinApplicationConfigurationUpdate_catalogConfigurationUpdate' - Updates to the configuration of the Amazon Glue Data Catalog that is
-- associated with the Kinesis Data Analytics Studio notebook.
--
-- 'deployAsApplicationConfigurationUpdate', 'zeppelinApplicationConfigurationUpdate_deployAsApplicationConfigurationUpdate' - Undocumented member.
--
-- 'monitoringConfigurationUpdate', 'zeppelinApplicationConfigurationUpdate_monitoringConfigurationUpdate' - Updates to the monitoring configuration of a Kinesis Data Analytics
-- Studio notebook.
newZeppelinApplicationConfigurationUpdate ::
  ZeppelinApplicationConfigurationUpdate
newZeppelinApplicationConfigurationUpdate :: ZeppelinApplicationConfigurationUpdate
newZeppelinApplicationConfigurationUpdate =
  ZeppelinApplicationConfigurationUpdate' :: Maybe [CustomArtifactConfiguration]
-> Maybe CatalogConfigurationUpdate
-> Maybe DeployAsApplicationConfigurationUpdate
-> Maybe ZeppelinMonitoringConfigurationUpdate
-> ZeppelinApplicationConfigurationUpdate
ZeppelinApplicationConfigurationUpdate'
    { $sel:customArtifactsConfigurationUpdate:ZeppelinApplicationConfigurationUpdate' :: Maybe [CustomArtifactConfiguration]
customArtifactsConfigurationUpdate =
        Maybe [CustomArtifactConfiguration]
forall a. Maybe a
Prelude.Nothing,
      $sel:catalogConfigurationUpdate:ZeppelinApplicationConfigurationUpdate' :: Maybe CatalogConfigurationUpdate
catalogConfigurationUpdate =
        Maybe CatalogConfigurationUpdate
forall a. Maybe a
Prelude.Nothing,
      $sel:deployAsApplicationConfigurationUpdate:ZeppelinApplicationConfigurationUpdate' :: Maybe DeployAsApplicationConfigurationUpdate
deployAsApplicationConfigurationUpdate =
        Maybe DeployAsApplicationConfigurationUpdate
forall a. Maybe a
Prelude.Nothing,
      $sel:monitoringConfigurationUpdate:ZeppelinApplicationConfigurationUpdate' :: Maybe ZeppelinMonitoringConfigurationUpdate
monitoringConfigurationUpdate =
        Maybe ZeppelinMonitoringConfigurationUpdate
forall a. Maybe a
Prelude.Nothing
    }

-- | Updates to the customer artifacts. Custom artifacts are dependency JAR
-- files and user-defined functions (UDF).
zeppelinApplicationConfigurationUpdate_customArtifactsConfigurationUpdate :: Lens.Lens' ZeppelinApplicationConfigurationUpdate (Prelude.Maybe [CustomArtifactConfiguration])
zeppelinApplicationConfigurationUpdate_customArtifactsConfigurationUpdate :: (Maybe [CustomArtifactConfiguration]
 -> f (Maybe [CustomArtifactConfiguration]))
-> ZeppelinApplicationConfigurationUpdate
-> f ZeppelinApplicationConfigurationUpdate
zeppelinApplicationConfigurationUpdate_customArtifactsConfigurationUpdate = (ZeppelinApplicationConfigurationUpdate
 -> Maybe [CustomArtifactConfiguration])
-> (ZeppelinApplicationConfigurationUpdate
    -> Maybe [CustomArtifactConfiguration]
    -> ZeppelinApplicationConfigurationUpdate)
-> Lens
     ZeppelinApplicationConfigurationUpdate
     ZeppelinApplicationConfigurationUpdate
     (Maybe [CustomArtifactConfiguration])
     (Maybe [CustomArtifactConfiguration])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ZeppelinApplicationConfigurationUpdate' {Maybe [CustomArtifactConfiguration]
customArtifactsConfigurationUpdate :: Maybe [CustomArtifactConfiguration]
$sel:customArtifactsConfigurationUpdate:ZeppelinApplicationConfigurationUpdate' :: ZeppelinApplicationConfigurationUpdate
-> Maybe [CustomArtifactConfiguration]
customArtifactsConfigurationUpdate} -> Maybe [CustomArtifactConfiguration]
customArtifactsConfigurationUpdate) (\s :: ZeppelinApplicationConfigurationUpdate
s@ZeppelinApplicationConfigurationUpdate' {} Maybe [CustomArtifactConfiguration]
a -> ZeppelinApplicationConfigurationUpdate
s {$sel:customArtifactsConfigurationUpdate:ZeppelinApplicationConfigurationUpdate' :: Maybe [CustomArtifactConfiguration]
customArtifactsConfigurationUpdate = Maybe [CustomArtifactConfiguration]
a} :: ZeppelinApplicationConfigurationUpdate) ((Maybe [CustomArtifactConfiguration]
  -> f (Maybe [CustomArtifactConfiguration]))
 -> ZeppelinApplicationConfigurationUpdate
 -> f ZeppelinApplicationConfigurationUpdate)
-> ((Maybe [CustomArtifactConfiguration]
     -> f (Maybe [CustomArtifactConfiguration]))
    -> Maybe [CustomArtifactConfiguration]
    -> f (Maybe [CustomArtifactConfiguration]))
-> (Maybe [CustomArtifactConfiguration]
    -> f (Maybe [CustomArtifactConfiguration]))
-> ZeppelinApplicationConfigurationUpdate
-> f ZeppelinApplicationConfigurationUpdate
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [CustomArtifactConfiguration]
  [CustomArtifactConfiguration]
  [CustomArtifactConfiguration]
  [CustomArtifactConfiguration]
-> Iso
     (Maybe [CustomArtifactConfiguration])
     (Maybe [CustomArtifactConfiguration])
     (Maybe [CustomArtifactConfiguration])
     (Maybe [CustomArtifactConfiguration])
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 AnIso
  [CustomArtifactConfiguration]
  [CustomArtifactConfiguration]
  [CustomArtifactConfiguration]
  [CustomArtifactConfiguration]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | Updates to the configuration of the Amazon Glue Data Catalog that is
-- associated with the Kinesis Data Analytics Studio notebook.
zeppelinApplicationConfigurationUpdate_catalogConfigurationUpdate :: Lens.Lens' ZeppelinApplicationConfigurationUpdate (Prelude.Maybe CatalogConfigurationUpdate)
zeppelinApplicationConfigurationUpdate_catalogConfigurationUpdate :: (Maybe CatalogConfigurationUpdate
 -> f (Maybe CatalogConfigurationUpdate))
-> ZeppelinApplicationConfigurationUpdate
-> f ZeppelinApplicationConfigurationUpdate
zeppelinApplicationConfigurationUpdate_catalogConfigurationUpdate = (ZeppelinApplicationConfigurationUpdate
 -> Maybe CatalogConfigurationUpdate)
-> (ZeppelinApplicationConfigurationUpdate
    -> Maybe CatalogConfigurationUpdate
    -> ZeppelinApplicationConfigurationUpdate)
-> Lens
     ZeppelinApplicationConfigurationUpdate
     ZeppelinApplicationConfigurationUpdate
     (Maybe CatalogConfigurationUpdate)
     (Maybe CatalogConfigurationUpdate)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ZeppelinApplicationConfigurationUpdate' {Maybe CatalogConfigurationUpdate
catalogConfigurationUpdate :: Maybe CatalogConfigurationUpdate
$sel:catalogConfigurationUpdate:ZeppelinApplicationConfigurationUpdate' :: ZeppelinApplicationConfigurationUpdate
-> Maybe CatalogConfigurationUpdate
catalogConfigurationUpdate} -> Maybe CatalogConfigurationUpdate
catalogConfigurationUpdate) (\s :: ZeppelinApplicationConfigurationUpdate
s@ZeppelinApplicationConfigurationUpdate' {} Maybe CatalogConfigurationUpdate
a -> ZeppelinApplicationConfigurationUpdate
s {$sel:catalogConfigurationUpdate:ZeppelinApplicationConfigurationUpdate' :: Maybe CatalogConfigurationUpdate
catalogConfigurationUpdate = Maybe CatalogConfigurationUpdate
a} :: ZeppelinApplicationConfigurationUpdate)

-- | Undocumented member.
zeppelinApplicationConfigurationUpdate_deployAsApplicationConfigurationUpdate :: Lens.Lens' ZeppelinApplicationConfigurationUpdate (Prelude.Maybe DeployAsApplicationConfigurationUpdate)
zeppelinApplicationConfigurationUpdate_deployAsApplicationConfigurationUpdate :: (Maybe DeployAsApplicationConfigurationUpdate
 -> f (Maybe DeployAsApplicationConfigurationUpdate))
-> ZeppelinApplicationConfigurationUpdate
-> f ZeppelinApplicationConfigurationUpdate
zeppelinApplicationConfigurationUpdate_deployAsApplicationConfigurationUpdate = (ZeppelinApplicationConfigurationUpdate
 -> Maybe DeployAsApplicationConfigurationUpdate)
-> (ZeppelinApplicationConfigurationUpdate
    -> Maybe DeployAsApplicationConfigurationUpdate
    -> ZeppelinApplicationConfigurationUpdate)
-> Lens
     ZeppelinApplicationConfigurationUpdate
     ZeppelinApplicationConfigurationUpdate
     (Maybe DeployAsApplicationConfigurationUpdate)
     (Maybe DeployAsApplicationConfigurationUpdate)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ZeppelinApplicationConfigurationUpdate' {Maybe DeployAsApplicationConfigurationUpdate
deployAsApplicationConfigurationUpdate :: Maybe DeployAsApplicationConfigurationUpdate
$sel:deployAsApplicationConfigurationUpdate:ZeppelinApplicationConfigurationUpdate' :: ZeppelinApplicationConfigurationUpdate
-> Maybe DeployAsApplicationConfigurationUpdate
deployAsApplicationConfigurationUpdate} -> Maybe DeployAsApplicationConfigurationUpdate
deployAsApplicationConfigurationUpdate) (\s :: ZeppelinApplicationConfigurationUpdate
s@ZeppelinApplicationConfigurationUpdate' {} Maybe DeployAsApplicationConfigurationUpdate
a -> ZeppelinApplicationConfigurationUpdate
s {$sel:deployAsApplicationConfigurationUpdate:ZeppelinApplicationConfigurationUpdate' :: Maybe DeployAsApplicationConfigurationUpdate
deployAsApplicationConfigurationUpdate = Maybe DeployAsApplicationConfigurationUpdate
a} :: ZeppelinApplicationConfigurationUpdate)

-- | Updates to the monitoring configuration of a Kinesis Data Analytics
-- Studio notebook.
zeppelinApplicationConfigurationUpdate_monitoringConfigurationUpdate :: Lens.Lens' ZeppelinApplicationConfigurationUpdate (Prelude.Maybe ZeppelinMonitoringConfigurationUpdate)
zeppelinApplicationConfigurationUpdate_monitoringConfigurationUpdate :: (Maybe ZeppelinMonitoringConfigurationUpdate
 -> f (Maybe ZeppelinMonitoringConfigurationUpdate))
-> ZeppelinApplicationConfigurationUpdate
-> f ZeppelinApplicationConfigurationUpdate
zeppelinApplicationConfigurationUpdate_monitoringConfigurationUpdate = (ZeppelinApplicationConfigurationUpdate
 -> Maybe ZeppelinMonitoringConfigurationUpdate)
-> (ZeppelinApplicationConfigurationUpdate
    -> Maybe ZeppelinMonitoringConfigurationUpdate
    -> ZeppelinApplicationConfigurationUpdate)
-> Lens
     ZeppelinApplicationConfigurationUpdate
     ZeppelinApplicationConfigurationUpdate
     (Maybe ZeppelinMonitoringConfigurationUpdate)
     (Maybe ZeppelinMonitoringConfigurationUpdate)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ZeppelinApplicationConfigurationUpdate' {Maybe ZeppelinMonitoringConfigurationUpdate
monitoringConfigurationUpdate :: Maybe ZeppelinMonitoringConfigurationUpdate
$sel:monitoringConfigurationUpdate:ZeppelinApplicationConfigurationUpdate' :: ZeppelinApplicationConfigurationUpdate
-> Maybe ZeppelinMonitoringConfigurationUpdate
monitoringConfigurationUpdate} -> Maybe ZeppelinMonitoringConfigurationUpdate
monitoringConfigurationUpdate) (\s :: ZeppelinApplicationConfigurationUpdate
s@ZeppelinApplicationConfigurationUpdate' {} Maybe ZeppelinMonitoringConfigurationUpdate
a -> ZeppelinApplicationConfigurationUpdate
s {$sel:monitoringConfigurationUpdate:ZeppelinApplicationConfigurationUpdate' :: Maybe ZeppelinMonitoringConfigurationUpdate
monitoringConfigurationUpdate = Maybe ZeppelinMonitoringConfigurationUpdate
a} :: ZeppelinApplicationConfigurationUpdate)

instance
  Prelude.Hashable
    ZeppelinApplicationConfigurationUpdate

instance
  Prelude.NFData
    ZeppelinApplicationConfigurationUpdate

instance
  Core.ToJSON
    ZeppelinApplicationConfigurationUpdate
  where
  toJSON :: ZeppelinApplicationConfigurationUpdate -> Value
toJSON ZeppelinApplicationConfigurationUpdate' {Maybe [CustomArtifactConfiguration]
Maybe CatalogConfigurationUpdate
Maybe DeployAsApplicationConfigurationUpdate
Maybe ZeppelinMonitoringConfigurationUpdate
monitoringConfigurationUpdate :: Maybe ZeppelinMonitoringConfigurationUpdate
deployAsApplicationConfigurationUpdate :: Maybe DeployAsApplicationConfigurationUpdate
catalogConfigurationUpdate :: Maybe CatalogConfigurationUpdate
customArtifactsConfigurationUpdate :: Maybe [CustomArtifactConfiguration]
$sel:monitoringConfigurationUpdate:ZeppelinApplicationConfigurationUpdate' :: ZeppelinApplicationConfigurationUpdate
-> Maybe ZeppelinMonitoringConfigurationUpdate
$sel:deployAsApplicationConfigurationUpdate:ZeppelinApplicationConfigurationUpdate' :: ZeppelinApplicationConfigurationUpdate
-> Maybe DeployAsApplicationConfigurationUpdate
$sel:catalogConfigurationUpdate:ZeppelinApplicationConfigurationUpdate' :: ZeppelinApplicationConfigurationUpdate
-> Maybe CatalogConfigurationUpdate
$sel:customArtifactsConfigurationUpdate:ZeppelinApplicationConfigurationUpdate' :: ZeppelinApplicationConfigurationUpdate
-> Maybe [CustomArtifactConfiguration]
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Text
"CustomArtifactsConfigurationUpdate" Text -> [CustomArtifactConfiguration] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
              ([CustomArtifactConfiguration] -> Pair)
-> Maybe [CustomArtifactConfiguration] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [CustomArtifactConfiguration]
customArtifactsConfigurationUpdate,
            (Text
"CatalogConfigurationUpdate" Text -> CatalogConfigurationUpdate -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
              (CatalogConfigurationUpdate -> Pair)
-> Maybe CatalogConfigurationUpdate -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CatalogConfigurationUpdate
catalogConfigurationUpdate,
            (Text
"DeployAsApplicationConfigurationUpdate" Text -> DeployAsApplicationConfigurationUpdate -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
              (DeployAsApplicationConfigurationUpdate -> Pair)
-> Maybe DeployAsApplicationConfigurationUpdate -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DeployAsApplicationConfigurationUpdate
deployAsApplicationConfigurationUpdate,
            (Text
"MonitoringConfigurationUpdate" Text -> ZeppelinMonitoringConfigurationUpdate -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
              (ZeppelinMonitoringConfigurationUpdate -> Pair)
-> Maybe ZeppelinMonitoringConfigurationUpdate -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ZeppelinMonitoringConfigurationUpdate
monitoringConfigurationUpdate
          ]
      )