{-# 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 #-}
module Amazonka.KinesisAnalyticsV2.Types.ApplicationConfigurationDescription where
import qualified Amazonka.Core as Core
import Amazonka.KinesisAnalyticsV2.Types.ApplicationCodeConfigurationDescription
import Amazonka.KinesisAnalyticsV2.Types.ApplicationSnapshotConfigurationDescription
import Amazonka.KinesisAnalyticsV2.Types.EnvironmentPropertyDescriptions
import Amazonka.KinesisAnalyticsV2.Types.FlinkApplicationConfigurationDescription
import Amazonka.KinesisAnalyticsV2.Types.RunConfigurationDescription
import Amazonka.KinesisAnalyticsV2.Types.SqlApplicationConfigurationDescription
import Amazonka.KinesisAnalyticsV2.Types.VpcConfigurationDescription
import Amazonka.KinesisAnalyticsV2.Types.ZeppelinApplicationConfigurationDescription
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data ApplicationConfigurationDescription = ApplicationConfigurationDescription'
{
ApplicationConfigurationDescription
-> Maybe ZeppelinApplicationConfigurationDescription
zeppelinApplicationConfigurationDescription :: Prelude.Maybe ZeppelinApplicationConfigurationDescription,
ApplicationConfigurationDescription
-> Maybe [VpcConfigurationDescription]
vpcConfigurationDescriptions :: Prelude.Maybe [VpcConfigurationDescription],
ApplicationConfigurationDescription
-> Maybe ApplicationCodeConfigurationDescription
applicationCodeConfigurationDescription :: Prelude.Maybe ApplicationCodeConfigurationDescription,
ApplicationConfigurationDescription
-> Maybe EnvironmentPropertyDescriptions
environmentPropertyDescriptions :: Prelude.Maybe EnvironmentPropertyDescriptions,
ApplicationConfigurationDescription
-> Maybe RunConfigurationDescription
runConfigurationDescription :: Prelude.Maybe RunConfigurationDescription,
ApplicationConfigurationDescription
-> Maybe SqlApplicationConfigurationDescription
sqlApplicationConfigurationDescription :: Prelude.Maybe SqlApplicationConfigurationDescription,
ApplicationConfigurationDescription
-> Maybe FlinkApplicationConfigurationDescription
flinkApplicationConfigurationDescription :: Prelude.Maybe FlinkApplicationConfigurationDescription,
ApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
applicationSnapshotConfigurationDescription :: Prelude.Maybe ApplicationSnapshotConfigurationDescription
}
deriving (ApplicationConfigurationDescription
-> ApplicationConfigurationDescription -> Bool
(ApplicationConfigurationDescription
-> ApplicationConfigurationDescription -> Bool)
-> (ApplicationConfigurationDescription
-> ApplicationConfigurationDescription -> Bool)
-> Eq ApplicationConfigurationDescription
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ApplicationConfigurationDescription
-> ApplicationConfigurationDescription -> Bool
$c/= :: ApplicationConfigurationDescription
-> ApplicationConfigurationDescription -> Bool
== :: ApplicationConfigurationDescription
-> ApplicationConfigurationDescription -> Bool
$c== :: ApplicationConfigurationDescription
-> ApplicationConfigurationDescription -> Bool
Prelude.Eq, ReadPrec [ApplicationConfigurationDescription]
ReadPrec ApplicationConfigurationDescription
Int -> ReadS ApplicationConfigurationDescription
ReadS [ApplicationConfigurationDescription]
(Int -> ReadS ApplicationConfigurationDescription)
-> ReadS [ApplicationConfigurationDescription]
-> ReadPrec ApplicationConfigurationDescription
-> ReadPrec [ApplicationConfigurationDescription]
-> Read ApplicationConfigurationDescription
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ApplicationConfigurationDescription]
$creadListPrec :: ReadPrec [ApplicationConfigurationDescription]
readPrec :: ReadPrec ApplicationConfigurationDescription
$creadPrec :: ReadPrec ApplicationConfigurationDescription
readList :: ReadS [ApplicationConfigurationDescription]
$creadList :: ReadS [ApplicationConfigurationDescription]
readsPrec :: Int -> ReadS ApplicationConfigurationDescription
$creadsPrec :: Int -> ReadS ApplicationConfigurationDescription
Prelude.Read, Int -> ApplicationConfigurationDescription -> ShowS
[ApplicationConfigurationDescription] -> ShowS
ApplicationConfigurationDescription -> String
(Int -> ApplicationConfigurationDescription -> ShowS)
-> (ApplicationConfigurationDescription -> String)
-> ([ApplicationConfigurationDescription] -> ShowS)
-> Show ApplicationConfigurationDescription
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ApplicationConfigurationDescription] -> ShowS
$cshowList :: [ApplicationConfigurationDescription] -> ShowS
show :: ApplicationConfigurationDescription -> String
$cshow :: ApplicationConfigurationDescription -> String
showsPrec :: Int -> ApplicationConfigurationDescription -> ShowS
$cshowsPrec :: Int -> ApplicationConfigurationDescription -> ShowS
Prelude.Show, (forall x.
ApplicationConfigurationDescription
-> Rep ApplicationConfigurationDescription x)
-> (forall x.
Rep ApplicationConfigurationDescription x
-> ApplicationConfigurationDescription)
-> Generic ApplicationConfigurationDescription
forall x.
Rep ApplicationConfigurationDescription x
-> ApplicationConfigurationDescription
forall x.
ApplicationConfigurationDescription
-> Rep ApplicationConfigurationDescription x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ApplicationConfigurationDescription x
-> ApplicationConfigurationDescription
$cfrom :: forall x.
ApplicationConfigurationDescription
-> Rep ApplicationConfigurationDescription x
Prelude.Generic)
newApplicationConfigurationDescription ::
ApplicationConfigurationDescription
newApplicationConfigurationDescription :: ApplicationConfigurationDescription
newApplicationConfigurationDescription =
ApplicationConfigurationDescription' :: Maybe ZeppelinApplicationConfigurationDescription
-> Maybe [VpcConfigurationDescription]
-> Maybe ApplicationCodeConfigurationDescription
-> Maybe EnvironmentPropertyDescriptions
-> Maybe RunConfigurationDescription
-> Maybe SqlApplicationConfigurationDescription
-> Maybe FlinkApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription
ApplicationConfigurationDescription'
{ $sel:zeppelinApplicationConfigurationDescription:ApplicationConfigurationDescription' :: Maybe ZeppelinApplicationConfigurationDescription
zeppelinApplicationConfigurationDescription =
Maybe ZeppelinApplicationConfigurationDescription
forall a. Maybe a
Prelude.Nothing,
$sel:vpcConfigurationDescriptions:ApplicationConfigurationDescription' :: Maybe [VpcConfigurationDescription]
vpcConfigurationDescriptions =
Maybe [VpcConfigurationDescription]
forall a. Maybe a
Prelude.Nothing,
$sel:applicationCodeConfigurationDescription:ApplicationConfigurationDescription' :: Maybe ApplicationCodeConfigurationDescription
applicationCodeConfigurationDescription =
Maybe ApplicationCodeConfigurationDescription
forall a. Maybe a
Prelude.Nothing,
$sel:environmentPropertyDescriptions:ApplicationConfigurationDescription' :: Maybe EnvironmentPropertyDescriptions
environmentPropertyDescriptions =
Maybe EnvironmentPropertyDescriptions
forall a. Maybe a
Prelude.Nothing,
$sel:runConfigurationDescription:ApplicationConfigurationDescription' :: Maybe RunConfigurationDescription
runConfigurationDescription =
Maybe RunConfigurationDescription
forall a. Maybe a
Prelude.Nothing,
$sel:sqlApplicationConfigurationDescription:ApplicationConfigurationDescription' :: Maybe SqlApplicationConfigurationDescription
sqlApplicationConfigurationDescription =
Maybe SqlApplicationConfigurationDescription
forall a. Maybe a
Prelude.Nothing,
$sel:flinkApplicationConfigurationDescription:ApplicationConfigurationDescription' :: Maybe FlinkApplicationConfigurationDescription
flinkApplicationConfigurationDescription =
Maybe FlinkApplicationConfigurationDescription
forall a. Maybe a
Prelude.Nothing,
$sel:applicationSnapshotConfigurationDescription:ApplicationConfigurationDescription' :: Maybe ApplicationSnapshotConfigurationDescription
applicationSnapshotConfigurationDescription =
Maybe ApplicationSnapshotConfigurationDescription
forall a. Maybe a
Prelude.Nothing
}
applicationConfigurationDescription_zeppelinApplicationConfigurationDescription :: Lens.Lens' ApplicationConfigurationDescription (Prelude.Maybe ZeppelinApplicationConfigurationDescription)
applicationConfigurationDescription_zeppelinApplicationConfigurationDescription :: (Maybe ZeppelinApplicationConfigurationDescription
-> f (Maybe ZeppelinApplicationConfigurationDescription))
-> ApplicationConfigurationDescription
-> f ApplicationConfigurationDescription
applicationConfigurationDescription_zeppelinApplicationConfigurationDescription = (ApplicationConfigurationDescription
-> Maybe ZeppelinApplicationConfigurationDescription)
-> (ApplicationConfigurationDescription
-> Maybe ZeppelinApplicationConfigurationDescription
-> ApplicationConfigurationDescription)
-> Lens
ApplicationConfigurationDescription
ApplicationConfigurationDescription
(Maybe ZeppelinApplicationConfigurationDescription)
(Maybe ZeppelinApplicationConfigurationDescription)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationConfigurationDescription' {Maybe ZeppelinApplicationConfigurationDescription
zeppelinApplicationConfigurationDescription :: Maybe ZeppelinApplicationConfigurationDescription
$sel:zeppelinApplicationConfigurationDescription:ApplicationConfigurationDescription' :: ApplicationConfigurationDescription
-> Maybe ZeppelinApplicationConfigurationDescription
zeppelinApplicationConfigurationDescription} -> Maybe ZeppelinApplicationConfigurationDescription
zeppelinApplicationConfigurationDescription) (\s :: ApplicationConfigurationDescription
s@ApplicationConfigurationDescription' {} Maybe ZeppelinApplicationConfigurationDescription
a -> ApplicationConfigurationDescription
s {$sel:zeppelinApplicationConfigurationDescription:ApplicationConfigurationDescription' :: Maybe ZeppelinApplicationConfigurationDescription
zeppelinApplicationConfigurationDescription = Maybe ZeppelinApplicationConfigurationDescription
a} :: ApplicationConfigurationDescription)
applicationConfigurationDescription_vpcConfigurationDescriptions :: Lens.Lens' ApplicationConfigurationDescription (Prelude.Maybe [VpcConfigurationDescription])
applicationConfigurationDescription_vpcConfigurationDescriptions :: (Maybe [VpcConfigurationDescription]
-> f (Maybe [VpcConfigurationDescription]))
-> ApplicationConfigurationDescription
-> f ApplicationConfigurationDescription
applicationConfigurationDescription_vpcConfigurationDescriptions = (ApplicationConfigurationDescription
-> Maybe [VpcConfigurationDescription])
-> (ApplicationConfigurationDescription
-> Maybe [VpcConfigurationDescription]
-> ApplicationConfigurationDescription)
-> Lens
ApplicationConfigurationDescription
ApplicationConfigurationDescription
(Maybe [VpcConfigurationDescription])
(Maybe [VpcConfigurationDescription])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationConfigurationDescription' {Maybe [VpcConfigurationDescription]
vpcConfigurationDescriptions :: Maybe [VpcConfigurationDescription]
$sel:vpcConfigurationDescriptions:ApplicationConfigurationDescription' :: ApplicationConfigurationDescription
-> Maybe [VpcConfigurationDescription]
vpcConfigurationDescriptions} -> Maybe [VpcConfigurationDescription]
vpcConfigurationDescriptions) (\s :: ApplicationConfigurationDescription
s@ApplicationConfigurationDescription' {} Maybe [VpcConfigurationDescription]
a -> ApplicationConfigurationDescription
s {$sel:vpcConfigurationDescriptions:ApplicationConfigurationDescription' :: Maybe [VpcConfigurationDescription]
vpcConfigurationDescriptions = Maybe [VpcConfigurationDescription]
a} :: ApplicationConfigurationDescription) ((Maybe [VpcConfigurationDescription]
-> f (Maybe [VpcConfigurationDescription]))
-> ApplicationConfigurationDescription
-> f ApplicationConfigurationDescription)
-> ((Maybe [VpcConfigurationDescription]
-> f (Maybe [VpcConfigurationDescription]))
-> Maybe [VpcConfigurationDescription]
-> f (Maybe [VpcConfigurationDescription]))
-> (Maybe [VpcConfigurationDescription]
-> f (Maybe [VpcConfigurationDescription]))
-> ApplicationConfigurationDescription
-> f ApplicationConfigurationDescription
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[VpcConfigurationDescription]
[VpcConfigurationDescription]
[VpcConfigurationDescription]
[VpcConfigurationDescription]
-> Iso
(Maybe [VpcConfigurationDescription])
(Maybe [VpcConfigurationDescription])
(Maybe [VpcConfigurationDescription])
(Maybe [VpcConfigurationDescription])
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
[VpcConfigurationDescription]
[VpcConfigurationDescription]
[VpcConfigurationDescription]
[VpcConfigurationDescription]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
applicationConfigurationDescription_applicationCodeConfigurationDescription :: Lens.Lens' ApplicationConfigurationDescription (Prelude.Maybe ApplicationCodeConfigurationDescription)
applicationConfigurationDescription_applicationCodeConfigurationDescription :: (Maybe ApplicationCodeConfigurationDescription
-> f (Maybe ApplicationCodeConfigurationDescription))
-> ApplicationConfigurationDescription
-> f ApplicationConfigurationDescription
applicationConfigurationDescription_applicationCodeConfigurationDescription = (ApplicationConfigurationDescription
-> Maybe ApplicationCodeConfigurationDescription)
-> (ApplicationConfigurationDescription
-> Maybe ApplicationCodeConfigurationDescription
-> ApplicationConfigurationDescription)
-> Lens
ApplicationConfigurationDescription
ApplicationConfigurationDescription
(Maybe ApplicationCodeConfigurationDescription)
(Maybe ApplicationCodeConfigurationDescription)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationConfigurationDescription' {Maybe ApplicationCodeConfigurationDescription
applicationCodeConfigurationDescription :: Maybe ApplicationCodeConfigurationDescription
$sel:applicationCodeConfigurationDescription:ApplicationConfigurationDescription' :: ApplicationConfigurationDescription
-> Maybe ApplicationCodeConfigurationDescription
applicationCodeConfigurationDescription} -> Maybe ApplicationCodeConfigurationDescription
applicationCodeConfigurationDescription) (\s :: ApplicationConfigurationDescription
s@ApplicationConfigurationDescription' {} Maybe ApplicationCodeConfigurationDescription
a -> ApplicationConfigurationDescription
s {$sel:applicationCodeConfigurationDescription:ApplicationConfigurationDescription' :: Maybe ApplicationCodeConfigurationDescription
applicationCodeConfigurationDescription = Maybe ApplicationCodeConfigurationDescription
a} :: ApplicationConfigurationDescription)
applicationConfigurationDescription_environmentPropertyDescriptions :: Lens.Lens' ApplicationConfigurationDescription (Prelude.Maybe EnvironmentPropertyDescriptions)
applicationConfigurationDescription_environmentPropertyDescriptions :: (Maybe EnvironmentPropertyDescriptions
-> f (Maybe EnvironmentPropertyDescriptions))
-> ApplicationConfigurationDescription
-> f ApplicationConfigurationDescription
applicationConfigurationDescription_environmentPropertyDescriptions = (ApplicationConfigurationDescription
-> Maybe EnvironmentPropertyDescriptions)
-> (ApplicationConfigurationDescription
-> Maybe EnvironmentPropertyDescriptions
-> ApplicationConfigurationDescription)
-> Lens
ApplicationConfigurationDescription
ApplicationConfigurationDescription
(Maybe EnvironmentPropertyDescriptions)
(Maybe EnvironmentPropertyDescriptions)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationConfigurationDescription' {Maybe EnvironmentPropertyDescriptions
environmentPropertyDescriptions :: Maybe EnvironmentPropertyDescriptions
$sel:environmentPropertyDescriptions:ApplicationConfigurationDescription' :: ApplicationConfigurationDescription
-> Maybe EnvironmentPropertyDescriptions
environmentPropertyDescriptions} -> Maybe EnvironmentPropertyDescriptions
environmentPropertyDescriptions) (\s :: ApplicationConfigurationDescription
s@ApplicationConfigurationDescription' {} Maybe EnvironmentPropertyDescriptions
a -> ApplicationConfigurationDescription
s {$sel:environmentPropertyDescriptions:ApplicationConfigurationDescription' :: Maybe EnvironmentPropertyDescriptions
environmentPropertyDescriptions = Maybe EnvironmentPropertyDescriptions
a} :: ApplicationConfigurationDescription)
applicationConfigurationDescription_runConfigurationDescription :: Lens.Lens' ApplicationConfigurationDescription (Prelude.Maybe RunConfigurationDescription)
applicationConfigurationDescription_runConfigurationDescription :: (Maybe RunConfigurationDescription
-> f (Maybe RunConfigurationDescription))
-> ApplicationConfigurationDescription
-> f ApplicationConfigurationDescription
applicationConfigurationDescription_runConfigurationDescription = (ApplicationConfigurationDescription
-> Maybe RunConfigurationDescription)
-> (ApplicationConfigurationDescription
-> Maybe RunConfigurationDescription
-> ApplicationConfigurationDescription)
-> Lens
ApplicationConfigurationDescription
ApplicationConfigurationDescription
(Maybe RunConfigurationDescription)
(Maybe RunConfigurationDescription)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationConfigurationDescription' {Maybe RunConfigurationDescription
runConfigurationDescription :: Maybe RunConfigurationDescription
$sel:runConfigurationDescription:ApplicationConfigurationDescription' :: ApplicationConfigurationDescription
-> Maybe RunConfigurationDescription
runConfigurationDescription} -> Maybe RunConfigurationDescription
runConfigurationDescription) (\s :: ApplicationConfigurationDescription
s@ApplicationConfigurationDescription' {} Maybe RunConfigurationDescription
a -> ApplicationConfigurationDescription
s {$sel:runConfigurationDescription:ApplicationConfigurationDescription' :: Maybe RunConfigurationDescription
runConfigurationDescription = Maybe RunConfigurationDescription
a} :: ApplicationConfigurationDescription)
applicationConfigurationDescription_sqlApplicationConfigurationDescription :: Lens.Lens' ApplicationConfigurationDescription (Prelude.Maybe SqlApplicationConfigurationDescription)
applicationConfigurationDescription_sqlApplicationConfigurationDescription :: (Maybe SqlApplicationConfigurationDescription
-> f (Maybe SqlApplicationConfigurationDescription))
-> ApplicationConfigurationDescription
-> f ApplicationConfigurationDescription
applicationConfigurationDescription_sqlApplicationConfigurationDescription = (ApplicationConfigurationDescription
-> Maybe SqlApplicationConfigurationDescription)
-> (ApplicationConfigurationDescription
-> Maybe SqlApplicationConfigurationDescription
-> ApplicationConfigurationDescription)
-> Lens
ApplicationConfigurationDescription
ApplicationConfigurationDescription
(Maybe SqlApplicationConfigurationDescription)
(Maybe SqlApplicationConfigurationDescription)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationConfigurationDescription' {Maybe SqlApplicationConfigurationDescription
sqlApplicationConfigurationDescription :: Maybe SqlApplicationConfigurationDescription
$sel:sqlApplicationConfigurationDescription:ApplicationConfigurationDescription' :: ApplicationConfigurationDescription
-> Maybe SqlApplicationConfigurationDescription
sqlApplicationConfigurationDescription} -> Maybe SqlApplicationConfigurationDescription
sqlApplicationConfigurationDescription) (\s :: ApplicationConfigurationDescription
s@ApplicationConfigurationDescription' {} Maybe SqlApplicationConfigurationDescription
a -> ApplicationConfigurationDescription
s {$sel:sqlApplicationConfigurationDescription:ApplicationConfigurationDescription' :: Maybe SqlApplicationConfigurationDescription
sqlApplicationConfigurationDescription = Maybe SqlApplicationConfigurationDescription
a} :: ApplicationConfigurationDescription)
applicationConfigurationDescription_flinkApplicationConfigurationDescription :: Lens.Lens' ApplicationConfigurationDescription (Prelude.Maybe FlinkApplicationConfigurationDescription)
applicationConfigurationDescription_flinkApplicationConfigurationDescription :: (Maybe FlinkApplicationConfigurationDescription
-> f (Maybe FlinkApplicationConfigurationDescription))
-> ApplicationConfigurationDescription
-> f ApplicationConfigurationDescription
applicationConfigurationDescription_flinkApplicationConfigurationDescription = (ApplicationConfigurationDescription
-> Maybe FlinkApplicationConfigurationDescription)
-> (ApplicationConfigurationDescription
-> Maybe FlinkApplicationConfigurationDescription
-> ApplicationConfigurationDescription)
-> Lens
ApplicationConfigurationDescription
ApplicationConfigurationDescription
(Maybe FlinkApplicationConfigurationDescription)
(Maybe FlinkApplicationConfigurationDescription)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationConfigurationDescription' {Maybe FlinkApplicationConfigurationDescription
flinkApplicationConfigurationDescription :: Maybe FlinkApplicationConfigurationDescription
$sel:flinkApplicationConfigurationDescription:ApplicationConfigurationDescription' :: ApplicationConfigurationDescription
-> Maybe FlinkApplicationConfigurationDescription
flinkApplicationConfigurationDescription} -> Maybe FlinkApplicationConfigurationDescription
flinkApplicationConfigurationDescription) (\s :: ApplicationConfigurationDescription
s@ApplicationConfigurationDescription' {} Maybe FlinkApplicationConfigurationDescription
a -> ApplicationConfigurationDescription
s {$sel:flinkApplicationConfigurationDescription:ApplicationConfigurationDescription' :: Maybe FlinkApplicationConfigurationDescription
flinkApplicationConfigurationDescription = Maybe FlinkApplicationConfigurationDescription
a} :: ApplicationConfigurationDescription)
applicationConfigurationDescription_applicationSnapshotConfigurationDescription :: Lens.Lens' ApplicationConfigurationDescription (Prelude.Maybe ApplicationSnapshotConfigurationDescription)
applicationConfigurationDescription_applicationSnapshotConfigurationDescription :: (Maybe ApplicationSnapshotConfigurationDescription
-> f (Maybe ApplicationSnapshotConfigurationDescription))
-> ApplicationConfigurationDescription
-> f ApplicationConfigurationDescription
applicationConfigurationDescription_applicationSnapshotConfigurationDescription = (ApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription)
-> (ApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription)
-> Lens
ApplicationConfigurationDescription
ApplicationConfigurationDescription
(Maybe ApplicationSnapshotConfigurationDescription)
(Maybe ApplicationSnapshotConfigurationDescription)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationConfigurationDescription' {Maybe ApplicationSnapshotConfigurationDescription
applicationSnapshotConfigurationDescription :: Maybe ApplicationSnapshotConfigurationDescription
$sel:applicationSnapshotConfigurationDescription:ApplicationConfigurationDescription' :: ApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
applicationSnapshotConfigurationDescription} -> Maybe ApplicationSnapshotConfigurationDescription
applicationSnapshotConfigurationDescription) (\s :: ApplicationConfigurationDescription
s@ApplicationConfigurationDescription' {} Maybe ApplicationSnapshotConfigurationDescription
a -> ApplicationConfigurationDescription
s {$sel:applicationSnapshotConfigurationDescription:ApplicationConfigurationDescription' :: Maybe ApplicationSnapshotConfigurationDescription
applicationSnapshotConfigurationDescription = Maybe ApplicationSnapshotConfigurationDescription
a} :: ApplicationConfigurationDescription)
instance
Core.FromJSON
ApplicationConfigurationDescription
where
parseJSON :: Value -> Parser ApplicationConfigurationDescription
parseJSON =
String
-> (Object -> Parser ApplicationConfigurationDescription)
-> Value
-> Parser ApplicationConfigurationDescription
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"ApplicationConfigurationDescription"
( \Object
x ->
Maybe ZeppelinApplicationConfigurationDescription
-> Maybe [VpcConfigurationDescription]
-> Maybe ApplicationCodeConfigurationDescription
-> Maybe EnvironmentPropertyDescriptions
-> Maybe RunConfigurationDescription
-> Maybe SqlApplicationConfigurationDescription
-> Maybe FlinkApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription
ApplicationConfigurationDescription'
(Maybe ZeppelinApplicationConfigurationDescription
-> Maybe [VpcConfigurationDescription]
-> Maybe ApplicationCodeConfigurationDescription
-> Maybe EnvironmentPropertyDescriptions
-> Maybe RunConfigurationDescription
-> Maybe SqlApplicationConfigurationDescription
-> Maybe FlinkApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription)
-> Parser (Maybe ZeppelinApplicationConfigurationDescription)
-> Parser
(Maybe [VpcConfigurationDescription]
-> Maybe ApplicationCodeConfigurationDescription
-> Maybe EnvironmentPropertyDescriptions
-> Maybe RunConfigurationDescription
-> Maybe SqlApplicationConfigurationDescription
-> Maybe FlinkApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x
Object
-> Text
-> Parser (Maybe ZeppelinApplicationConfigurationDescription)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ZeppelinApplicationConfigurationDescription"
)
Parser
(Maybe [VpcConfigurationDescription]
-> Maybe ApplicationCodeConfigurationDescription
-> Maybe EnvironmentPropertyDescriptions
-> Maybe RunConfigurationDescription
-> Maybe SqlApplicationConfigurationDescription
-> Maybe FlinkApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription)
-> Parser (Maybe [VpcConfigurationDescription])
-> Parser
(Maybe ApplicationCodeConfigurationDescription
-> Maybe EnvironmentPropertyDescriptions
-> Maybe RunConfigurationDescription
-> Maybe SqlApplicationConfigurationDescription
-> Maybe FlinkApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text -> Parser (Maybe (Maybe [VpcConfigurationDescription]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"VpcConfigurationDescriptions"
Parser (Maybe (Maybe [VpcConfigurationDescription]))
-> Maybe [VpcConfigurationDescription]
-> Parser (Maybe [VpcConfigurationDescription])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [VpcConfigurationDescription]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe ApplicationCodeConfigurationDescription
-> Maybe EnvironmentPropertyDescriptions
-> Maybe RunConfigurationDescription
-> Maybe SqlApplicationConfigurationDescription
-> Maybe FlinkApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription)
-> Parser (Maybe ApplicationCodeConfigurationDescription)
-> Parser
(Maybe EnvironmentPropertyDescriptions
-> Maybe RunConfigurationDescription
-> Maybe SqlApplicationConfigurationDescription
-> Maybe FlinkApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
Object
-> Text -> Parser (Maybe ApplicationCodeConfigurationDescription)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ApplicationCodeConfigurationDescription"
)
Parser
(Maybe EnvironmentPropertyDescriptions
-> Maybe RunConfigurationDescription
-> Maybe SqlApplicationConfigurationDescription
-> Maybe FlinkApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription)
-> Parser (Maybe EnvironmentPropertyDescriptions)
-> Parser
(Maybe RunConfigurationDescription
-> Maybe SqlApplicationConfigurationDescription
-> Maybe FlinkApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe EnvironmentPropertyDescriptions)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"EnvironmentPropertyDescriptions")
Parser
(Maybe RunConfigurationDescription
-> Maybe SqlApplicationConfigurationDescription
-> Maybe FlinkApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription)
-> Parser (Maybe RunConfigurationDescription)
-> Parser
(Maybe SqlApplicationConfigurationDescription
-> Maybe FlinkApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe RunConfigurationDescription)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"RunConfigurationDescription")
Parser
(Maybe SqlApplicationConfigurationDescription
-> Maybe FlinkApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription)
-> Parser (Maybe SqlApplicationConfigurationDescription)
-> Parser
(Maybe FlinkApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text -> Parser (Maybe SqlApplicationConfigurationDescription)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"SqlApplicationConfigurationDescription")
Parser
(Maybe FlinkApplicationConfigurationDescription
-> Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription)
-> Parser (Maybe FlinkApplicationConfigurationDescription)
-> Parser
(Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
Object
-> Text -> Parser (Maybe FlinkApplicationConfigurationDescription)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"FlinkApplicationConfigurationDescription"
)
Parser
(Maybe ApplicationSnapshotConfigurationDescription
-> ApplicationConfigurationDescription)
-> Parser (Maybe ApplicationSnapshotConfigurationDescription)
-> Parser ApplicationConfigurationDescription
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
Object
-> Text
-> Parser (Maybe ApplicationSnapshotConfigurationDescription)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ApplicationSnapshotConfigurationDescription"
)
)
instance
Prelude.Hashable
ApplicationConfigurationDescription
instance
Prelude.NFData
ApplicationConfigurationDescription