{-# 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.SageMaker.Types.ModelDashboardMonitoringSchedule where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import Amazonka.SageMaker.Types.MonitoringAlertSummary
import Amazonka.SageMaker.Types.MonitoringExecutionSummary
import Amazonka.SageMaker.Types.MonitoringScheduleConfig
import Amazonka.SageMaker.Types.MonitoringType
import Amazonka.SageMaker.Types.ScheduleStatus
data ModelDashboardMonitoringSchedule = ModelDashboardMonitoringSchedule'
{
ModelDashboardMonitoringSchedule -> Maybe POSIX
creationTime :: Prelude.Maybe Data.POSIX,
ModelDashboardMonitoringSchedule -> Maybe Text
endpointName :: Prelude.Maybe Prelude.Text,
ModelDashboardMonitoringSchedule -> Maybe Text
failureReason :: Prelude.Maybe Prelude.Text,
ModelDashboardMonitoringSchedule -> Maybe POSIX
lastModifiedTime :: Prelude.Maybe Data.POSIX,
ModelDashboardMonitoringSchedule
-> Maybe MonitoringExecutionSummary
lastMonitoringExecutionSummary :: Prelude.Maybe MonitoringExecutionSummary,
ModelDashboardMonitoringSchedule
-> Maybe (NonEmpty MonitoringAlertSummary)
monitoringAlertSummaries :: Prelude.Maybe (Prelude.NonEmpty MonitoringAlertSummary),
ModelDashboardMonitoringSchedule -> Maybe Text
monitoringScheduleArn :: Prelude.Maybe Prelude.Text,
ModelDashboardMonitoringSchedule -> Maybe MonitoringScheduleConfig
monitoringScheduleConfig :: Prelude.Maybe MonitoringScheduleConfig,
ModelDashboardMonitoringSchedule -> Maybe Text
monitoringScheduleName :: Prelude.Maybe Prelude.Text,
ModelDashboardMonitoringSchedule -> Maybe ScheduleStatus
monitoringScheduleStatus :: Prelude.Maybe ScheduleStatus,
ModelDashboardMonitoringSchedule -> Maybe MonitoringType
monitoringType :: Prelude.Maybe MonitoringType
}
deriving (ModelDashboardMonitoringSchedule
-> ModelDashboardMonitoringSchedule -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ModelDashboardMonitoringSchedule
-> ModelDashboardMonitoringSchedule -> Bool
$c/= :: ModelDashboardMonitoringSchedule
-> ModelDashboardMonitoringSchedule -> Bool
== :: ModelDashboardMonitoringSchedule
-> ModelDashboardMonitoringSchedule -> Bool
$c== :: ModelDashboardMonitoringSchedule
-> ModelDashboardMonitoringSchedule -> Bool
Prelude.Eq, ReadPrec [ModelDashboardMonitoringSchedule]
ReadPrec ModelDashboardMonitoringSchedule
Int -> ReadS ModelDashboardMonitoringSchedule
ReadS [ModelDashboardMonitoringSchedule]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ModelDashboardMonitoringSchedule]
$creadListPrec :: ReadPrec [ModelDashboardMonitoringSchedule]
readPrec :: ReadPrec ModelDashboardMonitoringSchedule
$creadPrec :: ReadPrec ModelDashboardMonitoringSchedule
readList :: ReadS [ModelDashboardMonitoringSchedule]
$creadList :: ReadS [ModelDashboardMonitoringSchedule]
readsPrec :: Int -> ReadS ModelDashboardMonitoringSchedule
$creadsPrec :: Int -> ReadS ModelDashboardMonitoringSchedule
Prelude.Read, Int -> ModelDashboardMonitoringSchedule -> ShowS
[ModelDashboardMonitoringSchedule] -> ShowS
ModelDashboardMonitoringSchedule -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ModelDashboardMonitoringSchedule] -> ShowS
$cshowList :: [ModelDashboardMonitoringSchedule] -> ShowS
show :: ModelDashboardMonitoringSchedule -> String
$cshow :: ModelDashboardMonitoringSchedule -> String
showsPrec :: Int -> ModelDashboardMonitoringSchedule -> ShowS
$cshowsPrec :: Int -> ModelDashboardMonitoringSchedule -> ShowS
Prelude.Show, forall x.
Rep ModelDashboardMonitoringSchedule x
-> ModelDashboardMonitoringSchedule
forall x.
ModelDashboardMonitoringSchedule
-> Rep ModelDashboardMonitoringSchedule x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ModelDashboardMonitoringSchedule x
-> ModelDashboardMonitoringSchedule
$cfrom :: forall x.
ModelDashboardMonitoringSchedule
-> Rep ModelDashboardMonitoringSchedule x
Prelude.Generic)
newModelDashboardMonitoringSchedule ::
ModelDashboardMonitoringSchedule
newModelDashboardMonitoringSchedule :: ModelDashboardMonitoringSchedule
newModelDashboardMonitoringSchedule =
ModelDashboardMonitoringSchedule'
{ $sel:creationTime:ModelDashboardMonitoringSchedule' :: Maybe POSIX
creationTime =
forall a. Maybe a
Prelude.Nothing,
$sel:endpointName:ModelDashboardMonitoringSchedule' :: Maybe Text
endpointName = forall a. Maybe a
Prelude.Nothing,
$sel:failureReason:ModelDashboardMonitoringSchedule' :: Maybe Text
failureReason = forall a. Maybe a
Prelude.Nothing,
$sel:lastModifiedTime:ModelDashboardMonitoringSchedule' :: Maybe POSIX
lastModifiedTime = forall a. Maybe a
Prelude.Nothing,
$sel:lastMonitoringExecutionSummary:ModelDashboardMonitoringSchedule' :: Maybe MonitoringExecutionSummary
lastMonitoringExecutionSummary =
forall a. Maybe a
Prelude.Nothing,
$sel:monitoringAlertSummaries:ModelDashboardMonitoringSchedule' :: Maybe (NonEmpty MonitoringAlertSummary)
monitoringAlertSummaries =
forall a. Maybe a
Prelude.Nothing,
$sel:monitoringScheduleArn:ModelDashboardMonitoringSchedule' :: Maybe Text
monitoringScheduleArn = forall a. Maybe a
Prelude.Nothing,
$sel:monitoringScheduleConfig:ModelDashboardMonitoringSchedule' :: Maybe MonitoringScheduleConfig
monitoringScheduleConfig =
forall a. Maybe a
Prelude.Nothing,
$sel:monitoringScheduleName:ModelDashboardMonitoringSchedule' :: Maybe Text
monitoringScheduleName = forall a. Maybe a
Prelude.Nothing,
$sel:monitoringScheduleStatus:ModelDashboardMonitoringSchedule' :: Maybe ScheduleStatus
monitoringScheduleStatus =
forall a. Maybe a
Prelude.Nothing,
$sel:monitoringType:ModelDashboardMonitoringSchedule' :: Maybe MonitoringType
monitoringType = forall a. Maybe a
Prelude.Nothing
}
modelDashboardMonitoringSchedule_creationTime :: Lens.Lens' ModelDashboardMonitoringSchedule (Prelude.Maybe Prelude.UTCTime)
modelDashboardMonitoringSchedule_creationTime :: Lens' ModelDashboardMonitoringSchedule (Maybe UTCTime)
modelDashboardMonitoringSchedule_creationTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModelDashboardMonitoringSchedule' {Maybe POSIX
creationTime :: Maybe POSIX
$sel:creationTime:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe POSIX
creationTime} -> Maybe POSIX
creationTime) (\s :: ModelDashboardMonitoringSchedule
s@ModelDashboardMonitoringSchedule' {} Maybe POSIX
a -> ModelDashboardMonitoringSchedule
s {$sel:creationTime:ModelDashboardMonitoringSchedule' :: Maybe POSIX
creationTime = Maybe POSIX
a} :: ModelDashboardMonitoringSchedule) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time
modelDashboardMonitoringSchedule_endpointName :: Lens.Lens' ModelDashboardMonitoringSchedule (Prelude.Maybe Prelude.Text)
modelDashboardMonitoringSchedule_endpointName :: Lens' ModelDashboardMonitoringSchedule (Maybe Text)
modelDashboardMonitoringSchedule_endpointName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModelDashboardMonitoringSchedule' {Maybe Text
endpointName :: Maybe Text
$sel:endpointName:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe Text
endpointName} -> Maybe Text
endpointName) (\s :: ModelDashboardMonitoringSchedule
s@ModelDashboardMonitoringSchedule' {} Maybe Text
a -> ModelDashboardMonitoringSchedule
s {$sel:endpointName:ModelDashboardMonitoringSchedule' :: Maybe Text
endpointName = Maybe Text
a} :: ModelDashboardMonitoringSchedule)
modelDashboardMonitoringSchedule_failureReason :: Lens.Lens' ModelDashboardMonitoringSchedule (Prelude.Maybe Prelude.Text)
modelDashboardMonitoringSchedule_failureReason :: Lens' ModelDashboardMonitoringSchedule (Maybe Text)
modelDashboardMonitoringSchedule_failureReason = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModelDashboardMonitoringSchedule' {Maybe Text
failureReason :: Maybe Text
$sel:failureReason:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe Text
failureReason} -> Maybe Text
failureReason) (\s :: ModelDashboardMonitoringSchedule
s@ModelDashboardMonitoringSchedule' {} Maybe Text
a -> ModelDashboardMonitoringSchedule
s {$sel:failureReason:ModelDashboardMonitoringSchedule' :: Maybe Text
failureReason = Maybe Text
a} :: ModelDashboardMonitoringSchedule)
modelDashboardMonitoringSchedule_lastModifiedTime :: Lens.Lens' ModelDashboardMonitoringSchedule (Prelude.Maybe Prelude.UTCTime)
modelDashboardMonitoringSchedule_lastModifiedTime :: Lens' ModelDashboardMonitoringSchedule (Maybe UTCTime)
modelDashboardMonitoringSchedule_lastModifiedTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModelDashboardMonitoringSchedule' {Maybe POSIX
lastModifiedTime :: Maybe POSIX
$sel:lastModifiedTime:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe POSIX
lastModifiedTime} -> Maybe POSIX
lastModifiedTime) (\s :: ModelDashboardMonitoringSchedule
s@ModelDashboardMonitoringSchedule' {} Maybe POSIX
a -> ModelDashboardMonitoringSchedule
s {$sel:lastModifiedTime:ModelDashboardMonitoringSchedule' :: Maybe POSIX
lastModifiedTime = Maybe POSIX
a} :: ModelDashboardMonitoringSchedule) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time
modelDashboardMonitoringSchedule_lastMonitoringExecutionSummary :: Lens.Lens' ModelDashboardMonitoringSchedule (Prelude.Maybe MonitoringExecutionSummary)
modelDashboardMonitoringSchedule_lastMonitoringExecutionSummary :: Lens'
ModelDashboardMonitoringSchedule (Maybe MonitoringExecutionSummary)
modelDashboardMonitoringSchedule_lastMonitoringExecutionSummary = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModelDashboardMonitoringSchedule' {Maybe MonitoringExecutionSummary
lastMonitoringExecutionSummary :: Maybe MonitoringExecutionSummary
$sel:lastMonitoringExecutionSummary:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule
-> Maybe MonitoringExecutionSummary
lastMonitoringExecutionSummary} -> Maybe MonitoringExecutionSummary
lastMonitoringExecutionSummary) (\s :: ModelDashboardMonitoringSchedule
s@ModelDashboardMonitoringSchedule' {} Maybe MonitoringExecutionSummary
a -> ModelDashboardMonitoringSchedule
s {$sel:lastMonitoringExecutionSummary:ModelDashboardMonitoringSchedule' :: Maybe MonitoringExecutionSummary
lastMonitoringExecutionSummary = Maybe MonitoringExecutionSummary
a} :: ModelDashboardMonitoringSchedule)
modelDashboardMonitoringSchedule_monitoringAlertSummaries :: Lens.Lens' ModelDashboardMonitoringSchedule (Prelude.Maybe (Prelude.NonEmpty MonitoringAlertSummary))
modelDashboardMonitoringSchedule_monitoringAlertSummaries :: Lens'
ModelDashboardMonitoringSchedule
(Maybe (NonEmpty MonitoringAlertSummary))
modelDashboardMonitoringSchedule_monitoringAlertSummaries = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModelDashboardMonitoringSchedule' {Maybe (NonEmpty MonitoringAlertSummary)
monitoringAlertSummaries :: Maybe (NonEmpty MonitoringAlertSummary)
$sel:monitoringAlertSummaries:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule
-> Maybe (NonEmpty MonitoringAlertSummary)
monitoringAlertSummaries} -> Maybe (NonEmpty MonitoringAlertSummary)
monitoringAlertSummaries) (\s :: ModelDashboardMonitoringSchedule
s@ModelDashboardMonitoringSchedule' {} Maybe (NonEmpty MonitoringAlertSummary)
a -> ModelDashboardMonitoringSchedule
s {$sel:monitoringAlertSummaries:ModelDashboardMonitoringSchedule' :: Maybe (NonEmpty MonitoringAlertSummary)
monitoringAlertSummaries = Maybe (NonEmpty MonitoringAlertSummary)
a} :: ModelDashboardMonitoringSchedule) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
modelDashboardMonitoringSchedule_monitoringScheduleArn :: Lens.Lens' ModelDashboardMonitoringSchedule (Prelude.Maybe Prelude.Text)
modelDashboardMonitoringSchedule_monitoringScheduleArn :: Lens' ModelDashboardMonitoringSchedule (Maybe Text)
modelDashboardMonitoringSchedule_monitoringScheduleArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModelDashboardMonitoringSchedule' {Maybe Text
monitoringScheduleArn :: Maybe Text
$sel:monitoringScheduleArn:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe Text
monitoringScheduleArn} -> Maybe Text
monitoringScheduleArn) (\s :: ModelDashboardMonitoringSchedule
s@ModelDashboardMonitoringSchedule' {} Maybe Text
a -> ModelDashboardMonitoringSchedule
s {$sel:monitoringScheduleArn:ModelDashboardMonitoringSchedule' :: Maybe Text
monitoringScheduleArn = Maybe Text
a} :: ModelDashboardMonitoringSchedule)
modelDashboardMonitoringSchedule_monitoringScheduleConfig :: Lens.Lens' ModelDashboardMonitoringSchedule (Prelude.Maybe MonitoringScheduleConfig)
modelDashboardMonitoringSchedule_monitoringScheduleConfig :: Lens'
ModelDashboardMonitoringSchedule (Maybe MonitoringScheduleConfig)
modelDashboardMonitoringSchedule_monitoringScheduleConfig = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModelDashboardMonitoringSchedule' {Maybe MonitoringScheduleConfig
monitoringScheduleConfig :: Maybe MonitoringScheduleConfig
$sel:monitoringScheduleConfig:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe MonitoringScheduleConfig
monitoringScheduleConfig} -> Maybe MonitoringScheduleConfig
monitoringScheduleConfig) (\s :: ModelDashboardMonitoringSchedule
s@ModelDashboardMonitoringSchedule' {} Maybe MonitoringScheduleConfig
a -> ModelDashboardMonitoringSchedule
s {$sel:monitoringScheduleConfig:ModelDashboardMonitoringSchedule' :: Maybe MonitoringScheduleConfig
monitoringScheduleConfig = Maybe MonitoringScheduleConfig
a} :: ModelDashboardMonitoringSchedule)
modelDashboardMonitoringSchedule_monitoringScheduleName :: Lens.Lens' ModelDashboardMonitoringSchedule (Prelude.Maybe Prelude.Text)
modelDashboardMonitoringSchedule_monitoringScheduleName :: Lens' ModelDashboardMonitoringSchedule (Maybe Text)
modelDashboardMonitoringSchedule_monitoringScheduleName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModelDashboardMonitoringSchedule' {Maybe Text
monitoringScheduleName :: Maybe Text
$sel:monitoringScheduleName:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe Text
monitoringScheduleName} -> Maybe Text
monitoringScheduleName) (\s :: ModelDashboardMonitoringSchedule
s@ModelDashboardMonitoringSchedule' {} Maybe Text
a -> ModelDashboardMonitoringSchedule
s {$sel:monitoringScheduleName:ModelDashboardMonitoringSchedule' :: Maybe Text
monitoringScheduleName = Maybe Text
a} :: ModelDashboardMonitoringSchedule)
modelDashboardMonitoringSchedule_monitoringScheduleStatus :: Lens.Lens' ModelDashboardMonitoringSchedule (Prelude.Maybe ScheduleStatus)
modelDashboardMonitoringSchedule_monitoringScheduleStatus :: Lens' ModelDashboardMonitoringSchedule (Maybe ScheduleStatus)
modelDashboardMonitoringSchedule_monitoringScheduleStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModelDashboardMonitoringSchedule' {Maybe ScheduleStatus
monitoringScheduleStatus :: Maybe ScheduleStatus
$sel:monitoringScheduleStatus:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe ScheduleStatus
monitoringScheduleStatus} -> Maybe ScheduleStatus
monitoringScheduleStatus) (\s :: ModelDashboardMonitoringSchedule
s@ModelDashboardMonitoringSchedule' {} Maybe ScheduleStatus
a -> ModelDashboardMonitoringSchedule
s {$sel:monitoringScheduleStatus:ModelDashboardMonitoringSchedule' :: Maybe ScheduleStatus
monitoringScheduleStatus = Maybe ScheduleStatus
a} :: ModelDashboardMonitoringSchedule)
modelDashboardMonitoringSchedule_monitoringType :: Lens.Lens' ModelDashboardMonitoringSchedule (Prelude.Maybe MonitoringType)
modelDashboardMonitoringSchedule_monitoringType :: Lens' ModelDashboardMonitoringSchedule (Maybe MonitoringType)
modelDashboardMonitoringSchedule_monitoringType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModelDashboardMonitoringSchedule' {Maybe MonitoringType
monitoringType :: Maybe MonitoringType
$sel:monitoringType:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe MonitoringType
monitoringType} -> Maybe MonitoringType
monitoringType) (\s :: ModelDashboardMonitoringSchedule
s@ModelDashboardMonitoringSchedule' {} Maybe MonitoringType
a -> ModelDashboardMonitoringSchedule
s {$sel:monitoringType:ModelDashboardMonitoringSchedule' :: Maybe MonitoringType
monitoringType = Maybe MonitoringType
a} :: ModelDashboardMonitoringSchedule)
instance
Data.FromJSON
ModelDashboardMonitoringSchedule
where
parseJSON :: Value -> Parser ModelDashboardMonitoringSchedule
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"ModelDashboardMonitoringSchedule"
( \Object
x ->
Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe MonitoringExecutionSummary
-> Maybe (NonEmpty MonitoringAlertSummary)
-> Maybe Text
-> Maybe MonitoringScheduleConfig
-> Maybe Text
-> Maybe ScheduleStatus
-> Maybe MonitoringType
-> ModelDashboardMonitoringSchedule
ModelDashboardMonitoringSchedule'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"CreationTime")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"EndpointName")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"FailureReason")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"LastModifiedTime")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"LastMonitoringExecutionSummary")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"MonitoringAlertSummaries")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"MonitoringScheduleArn")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"MonitoringScheduleConfig")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"MonitoringScheduleName")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"MonitoringScheduleStatus")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"MonitoringType")
)
instance
Prelude.Hashable
ModelDashboardMonitoringSchedule
where
hashWithSalt :: Int -> ModelDashboardMonitoringSchedule -> Int
hashWithSalt
Int
_salt
ModelDashboardMonitoringSchedule' {Maybe (NonEmpty MonitoringAlertSummary)
Maybe Text
Maybe POSIX
Maybe MonitoringType
Maybe MonitoringExecutionSummary
Maybe ScheduleStatus
Maybe MonitoringScheduleConfig
monitoringType :: Maybe MonitoringType
monitoringScheduleStatus :: Maybe ScheduleStatus
monitoringScheduleName :: Maybe Text
monitoringScheduleConfig :: Maybe MonitoringScheduleConfig
monitoringScheduleArn :: Maybe Text
monitoringAlertSummaries :: Maybe (NonEmpty MonitoringAlertSummary)
lastMonitoringExecutionSummary :: Maybe MonitoringExecutionSummary
lastModifiedTime :: Maybe POSIX
failureReason :: Maybe Text
endpointName :: Maybe Text
creationTime :: Maybe POSIX
$sel:monitoringType:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe MonitoringType
$sel:monitoringScheduleStatus:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe ScheduleStatus
$sel:monitoringScheduleName:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe Text
$sel:monitoringScheduleConfig:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe MonitoringScheduleConfig
$sel:monitoringScheduleArn:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe Text
$sel:monitoringAlertSummaries:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule
-> Maybe (NonEmpty MonitoringAlertSummary)
$sel:lastMonitoringExecutionSummary:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule
-> Maybe MonitoringExecutionSummary
$sel:lastModifiedTime:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe POSIX
$sel:failureReason:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe Text
$sel:endpointName:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe Text
$sel:creationTime:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe POSIX
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
creationTime
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
endpointName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
failureReason
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
lastModifiedTime
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe MonitoringExecutionSummary
lastMonitoringExecutionSummary
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (NonEmpty MonitoringAlertSummary)
monitoringAlertSummaries
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
monitoringScheduleArn
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe MonitoringScheduleConfig
monitoringScheduleConfig
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
monitoringScheduleName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ScheduleStatus
monitoringScheduleStatus
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe MonitoringType
monitoringType
instance
Prelude.NFData
ModelDashboardMonitoringSchedule
where
rnf :: ModelDashboardMonitoringSchedule -> ()
rnf ModelDashboardMonitoringSchedule' {Maybe (NonEmpty MonitoringAlertSummary)
Maybe Text
Maybe POSIX
Maybe MonitoringType
Maybe MonitoringExecutionSummary
Maybe ScheduleStatus
Maybe MonitoringScheduleConfig
monitoringType :: Maybe MonitoringType
monitoringScheduleStatus :: Maybe ScheduleStatus
monitoringScheduleName :: Maybe Text
monitoringScheduleConfig :: Maybe MonitoringScheduleConfig
monitoringScheduleArn :: Maybe Text
monitoringAlertSummaries :: Maybe (NonEmpty MonitoringAlertSummary)
lastMonitoringExecutionSummary :: Maybe MonitoringExecutionSummary
lastModifiedTime :: Maybe POSIX
failureReason :: Maybe Text
endpointName :: Maybe Text
creationTime :: Maybe POSIX
$sel:monitoringType:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe MonitoringType
$sel:monitoringScheduleStatus:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe ScheduleStatus
$sel:monitoringScheduleName:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe Text
$sel:monitoringScheduleConfig:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe MonitoringScheduleConfig
$sel:monitoringScheduleArn:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe Text
$sel:monitoringAlertSummaries:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule
-> Maybe (NonEmpty MonitoringAlertSummary)
$sel:lastMonitoringExecutionSummary:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule
-> Maybe MonitoringExecutionSummary
$sel:lastModifiedTime:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe POSIX
$sel:failureReason:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe Text
$sel:endpointName:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe Text
$sel:creationTime:ModelDashboardMonitoringSchedule' :: ModelDashboardMonitoringSchedule -> Maybe POSIX
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
creationTime
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
endpointName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
failureReason
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
lastModifiedTime
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe MonitoringExecutionSummary
lastMonitoringExecutionSummary
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (NonEmpty MonitoringAlertSummary)
monitoringAlertSummaries
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
monitoringScheduleArn
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe MonitoringScheduleConfig
monitoringScheduleConfig
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
monitoringScheduleName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ScheduleStatus
monitoringScheduleStatus
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe MonitoringType
monitoringType