{-# 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.ApplicationDetail where
import qualified Amazonka.Core as Core
import Amazonka.KinesisAnalyticsV2.Types.ApplicationConfigurationDescription
import Amazonka.KinesisAnalyticsV2.Types.ApplicationMaintenanceConfigurationDescription
import Amazonka.KinesisAnalyticsV2.Types.ApplicationMode
import Amazonka.KinesisAnalyticsV2.Types.ApplicationStatus
import Amazonka.KinesisAnalyticsV2.Types.CloudWatchLoggingOptionDescription
import Amazonka.KinesisAnalyticsV2.Types.RuntimeEnvironment
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data ApplicationDetail = ApplicationDetail'
{
ApplicationDetail -> Maybe Text
applicationDescription :: Prelude.Maybe Prelude.Text,
ApplicationDetail -> Maybe Text
conditionalToken :: Prelude.Maybe Prelude.Text,
ApplicationDetail -> Maybe [CloudWatchLoggingOptionDescription]
cloudWatchLoggingOptionDescriptions :: Prelude.Maybe [CloudWatchLoggingOptionDescription],
ApplicationDetail -> Maybe Natural
applicationVersionRolledBackFrom :: Prelude.Maybe Prelude.Natural,
ApplicationDetail -> Maybe ApplicationMode
applicationMode :: Prelude.Maybe ApplicationMode,
ApplicationDetail -> Maybe ApplicationConfigurationDescription
applicationConfigurationDescription :: Prelude.Maybe ApplicationConfigurationDescription,
ApplicationDetail -> Maybe Natural
applicationVersionRolledBackTo :: Prelude.Maybe Prelude.Natural,
ApplicationDetail -> Maybe POSIX
createTimestamp :: Prelude.Maybe Core.POSIX,
ApplicationDetail -> Maybe POSIX
lastUpdateTimestamp :: Prelude.Maybe Core.POSIX,
ApplicationDetail -> Maybe Text
serviceExecutionRole :: Prelude.Maybe Prelude.Text,
ApplicationDetail -> Maybe Natural
applicationVersionUpdatedFrom :: Prelude.Maybe Prelude.Natural,
ApplicationDetail
-> Maybe ApplicationMaintenanceConfigurationDescription
applicationMaintenanceConfigurationDescription :: Prelude.Maybe ApplicationMaintenanceConfigurationDescription,
ApplicationDetail -> Text
applicationARN :: Prelude.Text,
ApplicationDetail -> Text
applicationName :: Prelude.Text,
ApplicationDetail -> RuntimeEnvironment
runtimeEnvironment :: RuntimeEnvironment,
ApplicationDetail -> ApplicationStatus
applicationStatus :: ApplicationStatus,
ApplicationDetail -> Natural
applicationVersionId :: Prelude.Natural
}
deriving (ApplicationDetail -> ApplicationDetail -> Bool
(ApplicationDetail -> ApplicationDetail -> Bool)
-> (ApplicationDetail -> ApplicationDetail -> Bool)
-> Eq ApplicationDetail
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ApplicationDetail -> ApplicationDetail -> Bool
$c/= :: ApplicationDetail -> ApplicationDetail -> Bool
== :: ApplicationDetail -> ApplicationDetail -> Bool
$c== :: ApplicationDetail -> ApplicationDetail -> Bool
Prelude.Eq, ReadPrec [ApplicationDetail]
ReadPrec ApplicationDetail
Int -> ReadS ApplicationDetail
ReadS [ApplicationDetail]
(Int -> ReadS ApplicationDetail)
-> ReadS [ApplicationDetail]
-> ReadPrec ApplicationDetail
-> ReadPrec [ApplicationDetail]
-> Read ApplicationDetail
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ApplicationDetail]
$creadListPrec :: ReadPrec [ApplicationDetail]
readPrec :: ReadPrec ApplicationDetail
$creadPrec :: ReadPrec ApplicationDetail
readList :: ReadS [ApplicationDetail]
$creadList :: ReadS [ApplicationDetail]
readsPrec :: Int -> ReadS ApplicationDetail
$creadsPrec :: Int -> ReadS ApplicationDetail
Prelude.Read, Int -> ApplicationDetail -> ShowS
[ApplicationDetail] -> ShowS
ApplicationDetail -> String
(Int -> ApplicationDetail -> ShowS)
-> (ApplicationDetail -> String)
-> ([ApplicationDetail] -> ShowS)
-> Show ApplicationDetail
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ApplicationDetail] -> ShowS
$cshowList :: [ApplicationDetail] -> ShowS
show :: ApplicationDetail -> String
$cshow :: ApplicationDetail -> String
showsPrec :: Int -> ApplicationDetail -> ShowS
$cshowsPrec :: Int -> ApplicationDetail -> ShowS
Prelude.Show, (forall x. ApplicationDetail -> Rep ApplicationDetail x)
-> (forall x. Rep ApplicationDetail x -> ApplicationDetail)
-> Generic ApplicationDetail
forall x. Rep ApplicationDetail x -> ApplicationDetail
forall x. ApplicationDetail -> Rep ApplicationDetail x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ApplicationDetail x -> ApplicationDetail
$cfrom :: forall x. ApplicationDetail -> Rep ApplicationDetail x
Prelude.Generic)
newApplicationDetail ::
Prelude.Text ->
Prelude.Text ->
RuntimeEnvironment ->
ApplicationStatus ->
Prelude.Natural ->
ApplicationDetail
newApplicationDetail :: Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail
newApplicationDetail
Text
pApplicationARN_
Text
pApplicationName_
RuntimeEnvironment
pRuntimeEnvironment_
ApplicationStatus
pApplicationStatus_
Natural
pApplicationVersionId_ =
ApplicationDetail' :: Maybe Text
-> Maybe Text
-> Maybe [CloudWatchLoggingOptionDescription]
-> Maybe Natural
-> Maybe ApplicationMode
-> Maybe ApplicationConfigurationDescription
-> Maybe Natural
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail
ApplicationDetail'
{ $sel:applicationDescription:ApplicationDetail' :: Maybe Text
applicationDescription =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:conditionalToken:ApplicationDetail' :: Maybe Text
conditionalToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:cloudWatchLoggingOptionDescriptions:ApplicationDetail' :: Maybe [CloudWatchLoggingOptionDescription]
cloudWatchLoggingOptionDescriptions =
Maybe [CloudWatchLoggingOptionDescription]
forall a. Maybe a
Prelude.Nothing,
$sel:applicationVersionRolledBackFrom:ApplicationDetail' :: Maybe Natural
applicationVersionRolledBackFrom = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:applicationMode:ApplicationDetail' :: Maybe ApplicationMode
applicationMode = Maybe ApplicationMode
forall a. Maybe a
Prelude.Nothing,
$sel:applicationConfigurationDescription:ApplicationDetail' :: Maybe ApplicationConfigurationDescription
applicationConfigurationDescription =
Maybe ApplicationConfigurationDescription
forall a. Maybe a
Prelude.Nothing,
$sel:applicationVersionRolledBackTo:ApplicationDetail' :: Maybe Natural
applicationVersionRolledBackTo = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:createTimestamp:ApplicationDetail' :: Maybe POSIX
createTimestamp = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:lastUpdateTimestamp:ApplicationDetail' :: Maybe POSIX
lastUpdateTimestamp = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:serviceExecutionRole:ApplicationDetail' :: Maybe Text
serviceExecutionRole = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:applicationVersionUpdatedFrom:ApplicationDetail' :: Maybe Natural
applicationVersionUpdatedFrom = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:applicationMaintenanceConfigurationDescription:ApplicationDetail' :: Maybe ApplicationMaintenanceConfigurationDescription
applicationMaintenanceConfigurationDescription =
Maybe ApplicationMaintenanceConfigurationDescription
forall a. Maybe a
Prelude.Nothing,
$sel:applicationARN:ApplicationDetail' :: Text
applicationARN = Text
pApplicationARN_,
$sel:applicationName:ApplicationDetail' :: Text
applicationName = Text
pApplicationName_,
$sel:runtimeEnvironment:ApplicationDetail' :: RuntimeEnvironment
runtimeEnvironment = RuntimeEnvironment
pRuntimeEnvironment_,
$sel:applicationStatus:ApplicationDetail' :: ApplicationStatus
applicationStatus = ApplicationStatus
pApplicationStatus_,
$sel:applicationVersionId:ApplicationDetail' :: Natural
applicationVersionId = Natural
pApplicationVersionId_
}
applicationDetail_applicationDescription :: Lens.Lens' ApplicationDetail (Prelude.Maybe Prelude.Text)
applicationDetail_applicationDescription :: (Maybe Text -> f (Maybe Text))
-> ApplicationDetail -> f ApplicationDetail
applicationDetail_applicationDescription = (ApplicationDetail -> Maybe Text)
-> (ApplicationDetail -> Maybe Text -> ApplicationDetail)
-> Lens
ApplicationDetail ApplicationDetail (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationDetail' {Maybe Text
applicationDescription :: Maybe Text
$sel:applicationDescription:ApplicationDetail' :: ApplicationDetail -> Maybe Text
applicationDescription} -> Maybe Text
applicationDescription) (\s :: ApplicationDetail
s@ApplicationDetail' {} Maybe Text
a -> ApplicationDetail
s {$sel:applicationDescription:ApplicationDetail' :: Maybe Text
applicationDescription = Maybe Text
a} :: ApplicationDetail)
applicationDetail_conditionalToken :: Lens.Lens' ApplicationDetail (Prelude.Maybe Prelude.Text)
applicationDetail_conditionalToken :: (Maybe Text -> f (Maybe Text))
-> ApplicationDetail -> f ApplicationDetail
applicationDetail_conditionalToken = (ApplicationDetail -> Maybe Text)
-> (ApplicationDetail -> Maybe Text -> ApplicationDetail)
-> Lens
ApplicationDetail ApplicationDetail (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationDetail' {Maybe Text
conditionalToken :: Maybe Text
$sel:conditionalToken:ApplicationDetail' :: ApplicationDetail -> Maybe Text
conditionalToken} -> Maybe Text
conditionalToken) (\s :: ApplicationDetail
s@ApplicationDetail' {} Maybe Text
a -> ApplicationDetail
s {$sel:conditionalToken:ApplicationDetail' :: Maybe Text
conditionalToken = Maybe Text
a} :: ApplicationDetail)
applicationDetail_cloudWatchLoggingOptionDescriptions :: Lens.Lens' ApplicationDetail (Prelude.Maybe [CloudWatchLoggingOptionDescription])
applicationDetail_cloudWatchLoggingOptionDescriptions :: (Maybe [CloudWatchLoggingOptionDescription]
-> f (Maybe [CloudWatchLoggingOptionDescription]))
-> ApplicationDetail -> f ApplicationDetail
applicationDetail_cloudWatchLoggingOptionDescriptions = (ApplicationDetail -> Maybe [CloudWatchLoggingOptionDescription])
-> (ApplicationDetail
-> Maybe [CloudWatchLoggingOptionDescription] -> ApplicationDetail)
-> Lens
ApplicationDetail
ApplicationDetail
(Maybe [CloudWatchLoggingOptionDescription])
(Maybe [CloudWatchLoggingOptionDescription])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationDetail' {Maybe [CloudWatchLoggingOptionDescription]
cloudWatchLoggingOptionDescriptions :: Maybe [CloudWatchLoggingOptionDescription]
$sel:cloudWatchLoggingOptionDescriptions:ApplicationDetail' :: ApplicationDetail -> Maybe [CloudWatchLoggingOptionDescription]
cloudWatchLoggingOptionDescriptions} -> Maybe [CloudWatchLoggingOptionDescription]
cloudWatchLoggingOptionDescriptions) (\s :: ApplicationDetail
s@ApplicationDetail' {} Maybe [CloudWatchLoggingOptionDescription]
a -> ApplicationDetail
s {$sel:cloudWatchLoggingOptionDescriptions:ApplicationDetail' :: Maybe [CloudWatchLoggingOptionDescription]
cloudWatchLoggingOptionDescriptions = Maybe [CloudWatchLoggingOptionDescription]
a} :: ApplicationDetail) ((Maybe [CloudWatchLoggingOptionDescription]
-> f (Maybe [CloudWatchLoggingOptionDescription]))
-> ApplicationDetail -> f ApplicationDetail)
-> ((Maybe [CloudWatchLoggingOptionDescription]
-> f (Maybe [CloudWatchLoggingOptionDescription]))
-> Maybe [CloudWatchLoggingOptionDescription]
-> f (Maybe [CloudWatchLoggingOptionDescription]))
-> (Maybe [CloudWatchLoggingOptionDescription]
-> f (Maybe [CloudWatchLoggingOptionDescription]))
-> ApplicationDetail
-> f ApplicationDetail
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[CloudWatchLoggingOptionDescription]
[CloudWatchLoggingOptionDescription]
[CloudWatchLoggingOptionDescription]
[CloudWatchLoggingOptionDescription]
-> Iso
(Maybe [CloudWatchLoggingOptionDescription])
(Maybe [CloudWatchLoggingOptionDescription])
(Maybe [CloudWatchLoggingOptionDescription])
(Maybe [CloudWatchLoggingOptionDescription])
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
[CloudWatchLoggingOptionDescription]
[CloudWatchLoggingOptionDescription]
[CloudWatchLoggingOptionDescription]
[CloudWatchLoggingOptionDescription]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
applicationDetail_applicationVersionRolledBackFrom :: Lens.Lens' ApplicationDetail (Prelude.Maybe Prelude.Natural)
applicationDetail_applicationVersionRolledBackFrom :: (Maybe Natural -> f (Maybe Natural))
-> ApplicationDetail -> f ApplicationDetail
applicationDetail_applicationVersionRolledBackFrom = (ApplicationDetail -> Maybe Natural)
-> (ApplicationDetail -> Maybe Natural -> ApplicationDetail)
-> Lens
ApplicationDetail ApplicationDetail (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationDetail' {Maybe Natural
applicationVersionRolledBackFrom :: Maybe Natural
$sel:applicationVersionRolledBackFrom:ApplicationDetail' :: ApplicationDetail -> Maybe Natural
applicationVersionRolledBackFrom} -> Maybe Natural
applicationVersionRolledBackFrom) (\s :: ApplicationDetail
s@ApplicationDetail' {} Maybe Natural
a -> ApplicationDetail
s {$sel:applicationVersionRolledBackFrom:ApplicationDetail' :: Maybe Natural
applicationVersionRolledBackFrom = Maybe Natural
a} :: ApplicationDetail)
applicationDetail_applicationMode :: Lens.Lens' ApplicationDetail (Prelude.Maybe ApplicationMode)
applicationDetail_applicationMode :: (Maybe ApplicationMode -> f (Maybe ApplicationMode))
-> ApplicationDetail -> f ApplicationDetail
applicationDetail_applicationMode = (ApplicationDetail -> Maybe ApplicationMode)
-> (ApplicationDetail
-> Maybe ApplicationMode -> ApplicationDetail)
-> Lens
ApplicationDetail
ApplicationDetail
(Maybe ApplicationMode)
(Maybe ApplicationMode)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationDetail' {Maybe ApplicationMode
applicationMode :: Maybe ApplicationMode
$sel:applicationMode:ApplicationDetail' :: ApplicationDetail -> Maybe ApplicationMode
applicationMode} -> Maybe ApplicationMode
applicationMode) (\s :: ApplicationDetail
s@ApplicationDetail' {} Maybe ApplicationMode
a -> ApplicationDetail
s {$sel:applicationMode:ApplicationDetail' :: Maybe ApplicationMode
applicationMode = Maybe ApplicationMode
a} :: ApplicationDetail)
applicationDetail_applicationConfigurationDescription :: Lens.Lens' ApplicationDetail (Prelude.Maybe ApplicationConfigurationDescription)
applicationDetail_applicationConfigurationDescription :: (Maybe ApplicationConfigurationDescription
-> f (Maybe ApplicationConfigurationDescription))
-> ApplicationDetail -> f ApplicationDetail
applicationDetail_applicationConfigurationDescription = (ApplicationDetail -> Maybe ApplicationConfigurationDescription)
-> (ApplicationDetail
-> Maybe ApplicationConfigurationDescription -> ApplicationDetail)
-> Lens
ApplicationDetail
ApplicationDetail
(Maybe ApplicationConfigurationDescription)
(Maybe ApplicationConfigurationDescription)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationDetail' {Maybe ApplicationConfigurationDescription
applicationConfigurationDescription :: Maybe ApplicationConfigurationDescription
$sel:applicationConfigurationDescription:ApplicationDetail' :: ApplicationDetail -> Maybe ApplicationConfigurationDescription
applicationConfigurationDescription} -> Maybe ApplicationConfigurationDescription
applicationConfigurationDescription) (\s :: ApplicationDetail
s@ApplicationDetail' {} Maybe ApplicationConfigurationDescription
a -> ApplicationDetail
s {$sel:applicationConfigurationDescription:ApplicationDetail' :: Maybe ApplicationConfigurationDescription
applicationConfigurationDescription = Maybe ApplicationConfigurationDescription
a} :: ApplicationDetail)
applicationDetail_applicationVersionRolledBackTo :: Lens.Lens' ApplicationDetail (Prelude.Maybe Prelude.Natural)
applicationDetail_applicationVersionRolledBackTo :: (Maybe Natural -> f (Maybe Natural))
-> ApplicationDetail -> f ApplicationDetail
applicationDetail_applicationVersionRolledBackTo = (ApplicationDetail -> Maybe Natural)
-> (ApplicationDetail -> Maybe Natural -> ApplicationDetail)
-> Lens
ApplicationDetail ApplicationDetail (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationDetail' {Maybe Natural
applicationVersionRolledBackTo :: Maybe Natural
$sel:applicationVersionRolledBackTo:ApplicationDetail' :: ApplicationDetail -> Maybe Natural
applicationVersionRolledBackTo} -> Maybe Natural
applicationVersionRolledBackTo) (\s :: ApplicationDetail
s@ApplicationDetail' {} Maybe Natural
a -> ApplicationDetail
s {$sel:applicationVersionRolledBackTo:ApplicationDetail' :: Maybe Natural
applicationVersionRolledBackTo = Maybe Natural
a} :: ApplicationDetail)
applicationDetail_createTimestamp :: Lens.Lens' ApplicationDetail (Prelude.Maybe Prelude.UTCTime)
applicationDetail_createTimestamp :: (Maybe UTCTime -> f (Maybe UTCTime))
-> ApplicationDetail -> f ApplicationDetail
applicationDetail_createTimestamp = (ApplicationDetail -> Maybe POSIX)
-> (ApplicationDetail -> Maybe POSIX -> ApplicationDetail)
-> Lens
ApplicationDetail ApplicationDetail (Maybe POSIX) (Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationDetail' {Maybe POSIX
createTimestamp :: Maybe POSIX
$sel:createTimestamp:ApplicationDetail' :: ApplicationDetail -> Maybe POSIX
createTimestamp} -> Maybe POSIX
createTimestamp) (\s :: ApplicationDetail
s@ApplicationDetail' {} Maybe POSIX
a -> ApplicationDetail
s {$sel:createTimestamp:ApplicationDetail' :: Maybe POSIX
createTimestamp = Maybe POSIX
a} :: ApplicationDetail) ((Maybe POSIX -> f (Maybe POSIX))
-> ApplicationDetail -> f ApplicationDetail)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> ApplicationDetail
-> f ApplicationDetail
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
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 POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
applicationDetail_lastUpdateTimestamp :: Lens.Lens' ApplicationDetail (Prelude.Maybe Prelude.UTCTime)
applicationDetail_lastUpdateTimestamp :: (Maybe UTCTime -> f (Maybe UTCTime))
-> ApplicationDetail -> f ApplicationDetail
applicationDetail_lastUpdateTimestamp = (ApplicationDetail -> Maybe POSIX)
-> (ApplicationDetail -> Maybe POSIX -> ApplicationDetail)
-> Lens
ApplicationDetail ApplicationDetail (Maybe POSIX) (Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationDetail' {Maybe POSIX
lastUpdateTimestamp :: Maybe POSIX
$sel:lastUpdateTimestamp:ApplicationDetail' :: ApplicationDetail -> Maybe POSIX
lastUpdateTimestamp} -> Maybe POSIX
lastUpdateTimestamp) (\s :: ApplicationDetail
s@ApplicationDetail' {} Maybe POSIX
a -> ApplicationDetail
s {$sel:lastUpdateTimestamp:ApplicationDetail' :: Maybe POSIX
lastUpdateTimestamp = Maybe POSIX
a} :: ApplicationDetail) ((Maybe POSIX -> f (Maybe POSIX))
-> ApplicationDetail -> f ApplicationDetail)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> ApplicationDetail
-> f ApplicationDetail
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
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 POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
applicationDetail_serviceExecutionRole :: Lens.Lens' ApplicationDetail (Prelude.Maybe Prelude.Text)
applicationDetail_serviceExecutionRole :: (Maybe Text -> f (Maybe Text))
-> ApplicationDetail -> f ApplicationDetail
applicationDetail_serviceExecutionRole = (ApplicationDetail -> Maybe Text)
-> (ApplicationDetail -> Maybe Text -> ApplicationDetail)
-> Lens
ApplicationDetail ApplicationDetail (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationDetail' {Maybe Text
serviceExecutionRole :: Maybe Text
$sel:serviceExecutionRole:ApplicationDetail' :: ApplicationDetail -> Maybe Text
serviceExecutionRole} -> Maybe Text
serviceExecutionRole) (\s :: ApplicationDetail
s@ApplicationDetail' {} Maybe Text
a -> ApplicationDetail
s {$sel:serviceExecutionRole:ApplicationDetail' :: Maybe Text
serviceExecutionRole = Maybe Text
a} :: ApplicationDetail)
applicationDetail_applicationVersionUpdatedFrom :: Lens.Lens' ApplicationDetail (Prelude.Maybe Prelude.Natural)
applicationDetail_applicationVersionUpdatedFrom :: (Maybe Natural -> f (Maybe Natural))
-> ApplicationDetail -> f ApplicationDetail
applicationDetail_applicationVersionUpdatedFrom = (ApplicationDetail -> Maybe Natural)
-> (ApplicationDetail -> Maybe Natural -> ApplicationDetail)
-> Lens
ApplicationDetail ApplicationDetail (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationDetail' {Maybe Natural
applicationVersionUpdatedFrom :: Maybe Natural
$sel:applicationVersionUpdatedFrom:ApplicationDetail' :: ApplicationDetail -> Maybe Natural
applicationVersionUpdatedFrom} -> Maybe Natural
applicationVersionUpdatedFrom) (\s :: ApplicationDetail
s@ApplicationDetail' {} Maybe Natural
a -> ApplicationDetail
s {$sel:applicationVersionUpdatedFrom:ApplicationDetail' :: Maybe Natural
applicationVersionUpdatedFrom = Maybe Natural
a} :: ApplicationDetail)
applicationDetail_applicationMaintenanceConfigurationDescription :: Lens.Lens' ApplicationDetail (Prelude.Maybe ApplicationMaintenanceConfigurationDescription)
applicationDetail_applicationMaintenanceConfigurationDescription :: (Maybe ApplicationMaintenanceConfigurationDescription
-> f (Maybe ApplicationMaintenanceConfigurationDescription))
-> ApplicationDetail -> f ApplicationDetail
applicationDetail_applicationMaintenanceConfigurationDescription = (ApplicationDetail
-> Maybe ApplicationMaintenanceConfigurationDescription)
-> (ApplicationDetail
-> Maybe ApplicationMaintenanceConfigurationDescription
-> ApplicationDetail)
-> Lens
ApplicationDetail
ApplicationDetail
(Maybe ApplicationMaintenanceConfigurationDescription)
(Maybe ApplicationMaintenanceConfigurationDescription)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationDetail' {Maybe ApplicationMaintenanceConfigurationDescription
applicationMaintenanceConfigurationDescription :: Maybe ApplicationMaintenanceConfigurationDescription
$sel:applicationMaintenanceConfigurationDescription:ApplicationDetail' :: ApplicationDetail
-> Maybe ApplicationMaintenanceConfigurationDescription
applicationMaintenanceConfigurationDescription} -> Maybe ApplicationMaintenanceConfigurationDescription
applicationMaintenanceConfigurationDescription) (\s :: ApplicationDetail
s@ApplicationDetail' {} Maybe ApplicationMaintenanceConfigurationDescription
a -> ApplicationDetail
s {$sel:applicationMaintenanceConfigurationDescription:ApplicationDetail' :: Maybe ApplicationMaintenanceConfigurationDescription
applicationMaintenanceConfigurationDescription = Maybe ApplicationMaintenanceConfigurationDescription
a} :: ApplicationDetail)
applicationDetail_applicationARN :: Lens.Lens' ApplicationDetail Prelude.Text
applicationDetail_applicationARN :: (Text -> f Text) -> ApplicationDetail -> f ApplicationDetail
applicationDetail_applicationARN = (ApplicationDetail -> Text)
-> (ApplicationDetail -> Text -> ApplicationDetail)
-> Lens ApplicationDetail ApplicationDetail Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationDetail' {Text
applicationARN :: Text
$sel:applicationARN:ApplicationDetail' :: ApplicationDetail -> Text
applicationARN} -> Text
applicationARN) (\s :: ApplicationDetail
s@ApplicationDetail' {} Text
a -> ApplicationDetail
s {$sel:applicationARN:ApplicationDetail' :: Text
applicationARN = Text
a} :: ApplicationDetail)
applicationDetail_applicationName :: Lens.Lens' ApplicationDetail Prelude.Text
applicationDetail_applicationName :: (Text -> f Text) -> ApplicationDetail -> f ApplicationDetail
applicationDetail_applicationName = (ApplicationDetail -> Text)
-> (ApplicationDetail -> Text -> ApplicationDetail)
-> Lens ApplicationDetail ApplicationDetail Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationDetail' {Text
applicationName :: Text
$sel:applicationName:ApplicationDetail' :: ApplicationDetail -> Text
applicationName} -> Text
applicationName) (\s :: ApplicationDetail
s@ApplicationDetail' {} Text
a -> ApplicationDetail
s {$sel:applicationName:ApplicationDetail' :: Text
applicationName = Text
a} :: ApplicationDetail)
applicationDetail_runtimeEnvironment :: Lens.Lens' ApplicationDetail RuntimeEnvironment
applicationDetail_runtimeEnvironment :: (RuntimeEnvironment -> f RuntimeEnvironment)
-> ApplicationDetail -> f ApplicationDetail
applicationDetail_runtimeEnvironment = (ApplicationDetail -> RuntimeEnvironment)
-> (ApplicationDetail -> RuntimeEnvironment -> ApplicationDetail)
-> Lens
ApplicationDetail
ApplicationDetail
RuntimeEnvironment
RuntimeEnvironment
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationDetail' {RuntimeEnvironment
runtimeEnvironment :: RuntimeEnvironment
$sel:runtimeEnvironment:ApplicationDetail' :: ApplicationDetail -> RuntimeEnvironment
runtimeEnvironment} -> RuntimeEnvironment
runtimeEnvironment) (\s :: ApplicationDetail
s@ApplicationDetail' {} RuntimeEnvironment
a -> ApplicationDetail
s {$sel:runtimeEnvironment:ApplicationDetail' :: RuntimeEnvironment
runtimeEnvironment = RuntimeEnvironment
a} :: ApplicationDetail)
applicationDetail_applicationStatus :: Lens.Lens' ApplicationDetail ApplicationStatus
applicationDetail_applicationStatus :: (ApplicationStatus -> f ApplicationStatus)
-> ApplicationDetail -> f ApplicationDetail
applicationDetail_applicationStatus = (ApplicationDetail -> ApplicationStatus)
-> (ApplicationDetail -> ApplicationStatus -> ApplicationDetail)
-> Lens
ApplicationDetail
ApplicationDetail
ApplicationStatus
ApplicationStatus
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationDetail' {ApplicationStatus
applicationStatus :: ApplicationStatus
$sel:applicationStatus:ApplicationDetail' :: ApplicationDetail -> ApplicationStatus
applicationStatus} -> ApplicationStatus
applicationStatus) (\s :: ApplicationDetail
s@ApplicationDetail' {} ApplicationStatus
a -> ApplicationDetail
s {$sel:applicationStatus:ApplicationDetail' :: ApplicationStatus
applicationStatus = ApplicationStatus
a} :: ApplicationDetail)
applicationDetail_applicationVersionId :: Lens.Lens' ApplicationDetail Prelude.Natural
applicationDetail_applicationVersionId :: (Natural -> f Natural) -> ApplicationDetail -> f ApplicationDetail
applicationDetail_applicationVersionId = (ApplicationDetail -> Natural)
-> (ApplicationDetail -> Natural -> ApplicationDetail)
-> Lens ApplicationDetail ApplicationDetail Natural Natural
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ApplicationDetail' {Natural
applicationVersionId :: Natural
$sel:applicationVersionId:ApplicationDetail' :: ApplicationDetail -> Natural
applicationVersionId} -> Natural
applicationVersionId) (\s :: ApplicationDetail
s@ApplicationDetail' {} Natural
a -> ApplicationDetail
s {$sel:applicationVersionId:ApplicationDetail' :: Natural
applicationVersionId = Natural
a} :: ApplicationDetail)
instance Core.FromJSON ApplicationDetail where
parseJSON :: Value -> Parser ApplicationDetail
parseJSON =
String
-> (Object -> Parser ApplicationDetail)
-> Value
-> Parser ApplicationDetail
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"ApplicationDetail"
( \Object
x ->
Maybe Text
-> Maybe Text
-> Maybe [CloudWatchLoggingOptionDescription]
-> Maybe Natural
-> Maybe ApplicationMode
-> Maybe ApplicationConfigurationDescription
-> Maybe Natural
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail
ApplicationDetail'
(Maybe Text
-> Maybe Text
-> Maybe [CloudWatchLoggingOptionDescription]
-> Maybe Natural
-> Maybe ApplicationMode
-> Maybe ApplicationConfigurationDescription
-> Maybe Natural
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe [CloudWatchLoggingOptionDescription]
-> Maybe Natural
-> Maybe ApplicationMode
-> Maybe ApplicationConfigurationDescription
-> Maybe Natural
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ApplicationDescription")
Parser
(Maybe Text
-> Maybe [CloudWatchLoggingOptionDescription]
-> Maybe Natural
-> Maybe ApplicationMode
-> Maybe ApplicationConfigurationDescription
-> Maybe Natural
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
-> Parser (Maybe Text)
-> Parser
(Maybe [CloudWatchLoggingOptionDescription]
-> Maybe Natural
-> Maybe ApplicationMode
-> Maybe ApplicationConfigurationDescription
-> Maybe Natural
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ConditionalToken")
Parser
(Maybe [CloudWatchLoggingOptionDescription]
-> Maybe Natural
-> Maybe ApplicationMode
-> Maybe ApplicationConfigurationDescription
-> Maybe Natural
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
-> Parser (Maybe [CloudWatchLoggingOptionDescription])
-> Parser
(Maybe Natural
-> Maybe ApplicationMode
-> Maybe ApplicationConfigurationDescription
-> Maybe Natural
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text
-> Parser (Maybe (Maybe [CloudWatchLoggingOptionDescription]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"CloudWatchLoggingOptionDescriptions"
Parser (Maybe (Maybe [CloudWatchLoggingOptionDescription]))
-> Maybe [CloudWatchLoggingOptionDescription]
-> Parser (Maybe [CloudWatchLoggingOptionDescription])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [CloudWatchLoggingOptionDescription]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe Natural
-> Maybe ApplicationMode
-> Maybe ApplicationConfigurationDescription
-> Maybe Natural
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
-> Parser (Maybe Natural)
-> Parser
(Maybe ApplicationMode
-> Maybe ApplicationConfigurationDescription
-> Maybe Natural
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ApplicationVersionRolledBackFrom")
Parser
(Maybe ApplicationMode
-> Maybe ApplicationConfigurationDescription
-> Maybe Natural
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
-> Parser (Maybe ApplicationMode)
-> Parser
(Maybe ApplicationConfigurationDescription
-> Maybe Natural
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe ApplicationMode)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ApplicationMode")
Parser
(Maybe ApplicationConfigurationDescription
-> Maybe Natural
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
-> Parser (Maybe ApplicationConfigurationDescription)
-> Parser
(Maybe Natural
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text -> Parser (Maybe ApplicationConfigurationDescription)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ApplicationConfigurationDescription")
Parser
(Maybe Natural
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
-> Parser (Maybe Natural)
-> Parser
(Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ApplicationVersionRolledBackTo")
Parser
(Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
-> Parser (Maybe POSIX)
-> Parser
(Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"CreateTimestamp")
Parser
(Maybe POSIX
-> Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
-> Parser (Maybe POSIX)
-> Parser
(Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"LastUpdateTimestamp")
Parser
(Maybe Text
-> Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
-> Parser (Maybe Text)
-> Parser
(Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ServiceExecutionRole")
Parser
(Maybe Natural
-> Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
-> Parser (Maybe Natural)
-> Parser
(Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ApplicationVersionUpdatedFrom")
Parser
(Maybe ApplicationMaintenanceConfigurationDescription
-> Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
-> Parser (Maybe ApplicationMaintenanceConfigurationDescription)
-> Parser
(Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
Object
-> Text
-> Parser (Maybe ApplicationMaintenanceConfigurationDescription)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ApplicationMaintenanceConfigurationDescription"
)
Parser
(Text
-> Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
-> Parser Text
-> Parser
(Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"ApplicationARN")
Parser
(Text
-> RuntimeEnvironment
-> ApplicationStatus
-> Natural
-> ApplicationDetail)
-> Parser Text
-> Parser
(RuntimeEnvironment
-> ApplicationStatus -> Natural -> ApplicationDetail)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"ApplicationName")
Parser
(RuntimeEnvironment
-> ApplicationStatus -> Natural -> ApplicationDetail)
-> Parser RuntimeEnvironment
-> Parser (ApplicationStatus -> Natural -> ApplicationDetail)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser RuntimeEnvironment
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"RuntimeEnvironment")
Parser (ApplicationStatus -> Natural -> ApplicationDetail)
-> Parser ApplicationStatus
-> Parser (Natural -> ApplicationDetail)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser ApplicationStatus
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"ApplicationStatus")
Parser (Natural -> ApplicationDetail)
-> Parser Natural -> Parser ApplicationDetail
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Natural
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"ApplicationVersionId")
)
instance Prelude.Hashable ApplicationDetail
instance Prelude.NFData ApplicationDetail