module Stratosphere.SageMaker.ModelCard.EvaluationDetailProperty (
        module Exports, EvaluationDetailProperty(..),
        mkEvaluationDetailProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.SageMaker.ModelCard.MetricGroupProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data EvaluationDetailProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-evaluationdetail.html>
    EvaluationDetailProperty {EvaluationDetailProperty -> ()
haddock_workaround_ :: (),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-evaluationdetail.html#cfn-sagemaker-modelcard-evaluationdetail-datasets>
                              EvaluationDetailProperty -> Maybe (ValueList Text)
datasets :: (Prelude.Maybe (ValueList Prelude.Text)),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-evaluationdetail.html#cfn-sagemaker-modelcard-evaluationdetail-evaluationjobarn>
                              EvaluationDetailProperty -> Maybe (Value Text)
evaluationJobArn :: (Prelude.Maybe (Value Prelude.Text)),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-evaluationdetail.html#cfn-sagemaker-modelcard-evaluationdetail-evaluationobservation>
                              EvaluationDetailProperty -> Maybe (Value Text)
evaluationObservation :: (Prelude.Maybe (Value Prelude.Text)),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-evaluationdetail.html#cfn-sagemaker-modelcard-evaluationdetail-metadata>
                              EvaluationDetailProperty -> Maybe (Map Text (Value Text))
metadata :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text))),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-evaluationdetail.html#cfn-sagemaker-modelcard-evaluationdetail-metricgroups>
                              EvaluationDetailProperty -> Maybe [MetricGroupProperty]
metricGroups :: (Prelude.Maybe [MetricGroupProperty]),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-evaluationdetail.html#cfn-sagemaker-modelcard-evaluationdetail-name>
                              EvaluationDetailProperty -> Value Text
name :: (Value Prelude.Text)}
  deriving stock (EvaluationDetailProperty -> EvaluationDetailProperty -> Bool
(EvaluationDetailProperty -> EvaluationDetailProperty -> Bool)
-> (EvaluationDetailProperty -> EvaluationDetailProperty -> Bool)
-> Eq EvaluationDetailProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: EvaluationDetailProperty -> EvaluationDetailProperty -> Bool
== :: EvaluationDetailProperty -> EvaluationDetailProperty -> Bool
$c/= :: EvaluationDetailProperty -> EvaluationDetailProperty -> Bool
/= :: EvaluationDetailProperty -> EvaluationDetailProperty -> Bool
Prelude.Eq, Int -> EvaluationDetailProperty -> ShowS
[EvaluationDetailProperty] -> ShowS
EvaluationDetailProperty -> String
(Int -> EvaluationDetailProperty -> ShowS)
-> (EvaluationDetailProperty -> String)
-> ([EvaluationDetailProperty] -> ShowS)
-> Show EvaluationDetailProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> EvaluationDetailProperty -> ShowS
showsPrec :: Int -> EvaluationDetailProperty -> ShowS
$cshow :: EvaluationDetailProperty -> String
show :: EvaluationDetailProperty -> String
$cshowList :: [EvaluationDetailProperty] -> ShowS
showList :: [EvaluationDetailProperty] -> ShowS
Prelude.Show)
mkEvaluationDetailProperty ::
  Value Prelude.Text -> EvaluationDetailProperty
mkEvaluationDetailProperty :: Value Text -> EvaluationDetailProperty
mkEvaluationDetailProperty Value Text
name
  = EvaluationDetailProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), name :: Value Text
name = Value Text
name, datasets :: Maybe (ValueList Text)
datasets = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       evaluationJobArn :: Maybe (Value Text)
evaluationJobArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       evaluationObservation :: Maybe (Value Text)
evaluationObservation = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       metadata :: Maybe (Map Text (Value Text))
metadata = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing, metricGroups :: Maybe [MetricGroupProperty]
metricGroups = Maybe [MetricGroupProperty]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties EvaluationDetailProperty where
  toResourceProperties :: EvaluationDetailProperty -> ResourceProperties
toResourceProperties EvaluationDetailProperty {Maybe [MetricGroupProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EvaluationDetailProperty -> ()
datasets :: EvaluationDetailProperty -> Maybe (ValueList Text)
evaluationJobArn :: EvaluationDetailProperty -> Maybe (Value Text)
evaluationObservation :: EvaluationDetailProperty -> Maybe (Value Text)
metadata :: EvaluationDetailProperty -> Maybe (Map Text (Value Text))
metricGroups :: EvaluationDetailProperty -> Maybe [MetricGroupProperty]
name :: EvaluationDetailProperty -> Value Text
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationJobArn :: Maybe (Value Text)
evaluationObservation :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
metricGroups :: Maybe [MetricGroupProperty]
name :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::SageMaker::ModelCard.EvaluationDetail",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"Name" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
name]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Datasets" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
datasets,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EvaluationJobArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
evaluationJobArn,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EvaluationObservation"
                                 (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
evaluationObservation,
                               Key -> Map Text (Value Text) -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Metadata" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
metadata,
                               Key -> [MetricGroupProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MetricGroups" ([MetricGroupProperty] -> (Key, Value))
-> Maybe [MetricGroupProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [MetricGroupProperty]
metricGroups]))}
instance JSON.ToJSON EvaluationDetailProperty where
  toJSON :: EvaluationDetailProperty -> Value
toJSON EvaluationDetailProperty {Maybe [MetricGroupProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EvaluationDetailProperty -> ()
datasets :: EvaluationDetailProperty -> Maybe (ValueList Text)
evaluationJobArn :: EvaluationDetailProperty -> Maybe (Value Text)
evaluationObservation :: EvaluationDetailProperty -> Maybe (Value Text)
metadata :: EvaluationDetailProperty -> Maybe (Map Text (Value Text))
metricGroups :: EvaluationDetailProperty -> Maybe [MetricGroupProperty]
name :: EvaluationDetailProperty -> Value Text
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationJobArn :: Maybe (Value Text)
evaluationObservation :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
metricGroups :: Maybe [MetricGroupProperty]
name :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"Name" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
name]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Datasets" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
datasets,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EvaluationJobArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
evaluationJobArn,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EvaluationObservation"
                    (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
evaluationObservation,
                  Key -> Map Text (Value Text) -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Metadata" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
metadata,
                  Key -> [MetricGroupProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MetricGroups" ([MetricGroupProperty] -> (Key, Value))
-> Maybe [MetricGroupProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [MetricGroupProperty]
metricGroups])))
instance Property "Datasets" EvaluationDetailProperty where
  type PropertyType "Datasets" EvaluationDetailProperty = ValueList Prelude.Text
  set :: PropertyType "Datasets" EvaluationDetailProperty
-> EvaluationDetailProperty -> EvaluationDetailProperty
set PropertyType "Datasets" EvaluationDetailProperty
newValue EvaluationDetailProperty {Maybe [MetricGroupProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EvaluationDetailProperty -> ()
datasets :: EvaluationDetailProperty -> Maybe (ValueList Text)
evaluationJobArn :: EvaluationDetailProperty -> Maybe (Value Text)
evaluationObservation :: EvaluationDetailProperty -> Maybe (Value Text)
metadata :: EvaluationDetailProperty -> Maybe (Map Text (Value Text))
metricGroups :: EvaluationDetailProperty -> Maybe [MetricGroupProperty]
name :: EvaluationDetailProperty -> Value Text
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationJobArn :: Maybe (Value Text)
evaluationObservation :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
metricGroups :: Maybe [MetricGroupProperty]
name :: Value Text
..}
    = EvaluationDetailProperty {datasets :: Maybe (ValueList Text)
datasets = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Datasets" EvaluationDetailProperty
ValueList Text
newValue, Maybe [MetricGroupProperty]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
evaluationJobArn :: Maybe (Value Text)
evaluationObservation :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
metricGroups :: Maybe [MetricGroupProperty]
name :: Value Text
haddock_workaround_ :: ()
evaluationJobArn :: Maybe (Value Text)
evaluationObservation :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
metricGroups :: Maybe [MetricGroupProperty]
name :: Value Text
..}
instance Property "EvaluationJobArn" EvaluationDetailProperty where
  type PropertyType "EvaluationJobArn" EvaluationDetailProperty = Value Prelude.Text
  set :: PropertyType "EvaluationJobArn" EvaluationDetailProperty
-> EvaluationDetailProperty -> EvaluationDetailProperty
set PropertyType "EvaluationJobArn" EvaluationDetailProperty
newValue EvaluationDetailProperty {Maybe [MetricGroupProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EvaluationDetailProperty -> ()
datasets :: EvaluationDetailProperty -> Maybe (ValueList Text)
evaluationJobArn :: EvaluationDetailProperty -> Maybe (Value Text)
evaluationObservation :: EvaluationDetailProperty -> Maybe (Value Text)
metadata :: EvaluationDetailProperty -> Maybe (Map Text (Value Text))
metricGroups :: EvaluationDetailProperty -> Maybe [MetricGroupProperty]
name :: EvaluationDetailProperty -> Value Text
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationJobArn :: Maybe (Value Text)
evaluationObservation :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
metricGroups :: Maybe [MetricGroupProperty]
name :: Value Text
..}
    = EvaluationDetailProperty
        {evaluationJobArn :: Maybe (Value Text)
evaluationJobArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EvaluationJobArn" EvaluationDetailProperty
Value Text
newValue, Maybe [MetricGroupProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationObservation :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
metricGroups :: Maybe [MetricGroupProperty]
name :: Value Text
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationObservation :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
metricGroups :: Maybe [MetricGroupProperty]
name :: Value Text
..}
instance Property "EvaluationObservation" EvaluationDetailProperty where
  type PropertyType "EvaluationObservation" EvaluationDetailProperty = Value Prelude.Text
  set :: PropertyType "EvaluationObservation" EvaluationDetailProperty
-> EvaluationDetailProperty -> EvaluationDetailProperty
set PropertyType "EvaluationObservation" EvaluationDetailProperty
newValue EvaluationDetailProperty {Maybe [MetricGroupProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EvaluationDetailProperty -> ()
datasets :: EvaluationDetailProperty -> Maybe (ValueList Text)
evaluationJobArn :: EvaluationDetailProperty -> Maybe (Value Text)
evaluationObservation :: EvaluationDetailProperty -> Maybe (Value Text)
metadata :: EvaluationDetailProperty -> Maybe (Map Text (Value Text))
metricGroups :: EvaluationDetailProperty -> Maybe [MetricGroupProperty]
name :: EvaluationDetailProperty -> Value Text
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationJobArn :: Maybe (Value Text)
evaluationObservation :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
metricGroups :: Maybe [MetricGroupProperty]
name :: Value Text
..}
    = EvaluationDetailProperty
        {evaluationObservation :: Maybe (Value Text)
evaluationObservation = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EvaluationObservation" EvaluationDetailProperty
Value Text
newValue, Maybe [MetricGroupProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationJobArn :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
metricGroups :: Maybe [MetricGroupProperty]
name :: Value Text
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationJobArn :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
metricGroups :: Maybe [MetricGroupProperty]
name :: Value Text
..}
instance Property "Metadata" EvaluationDetailProperty where
  type PropertyType "Metadata" EvaluationDetailProperty = Prelude.Map Prelude.Text (Value Prelude.Text)
  set :: PropertyType "Metadata" EvaluationDetailProperty
-> EvaluationDetailProperty -> EvaluationDetailProperty
set PropertyType "Metadata" EvaluationDetailProperty
newValue EvaluationDetailProperty {Maybe [MetricGroupProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EvaluationDetailProperty -> ()
datasets :: EvaluationDetailProperty -> Maybe (ValueList Text)
evaluationJobArn :: EvaluationDetailProperty -> Maybe (Value Text)
evaluationObservation :: EvaluationDetailProperty -> Maybe (Value Text)
metadata :: EvaluationDetailProperty -> Maybe (Map Text (Value Text))
metricGroups :: EvaluationDetailProperty -> Maybe [MetricGroupProperty]
name :: EvaluationDetailProperty -> Value Text
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationJobArn :: Maybe (Value Text)
evaluationObservation :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
metricGroups :: Maybe [MetricGroupProperty]
name :: Value Text
..}
    = EvaluationDetailProperty {metadata :: Maybe (Map Text (Value Text))
metadata = Map Text (Value Text) -> Maybe (Map Text (Value Text))
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text (Value Text)
PropertyType "Metadata" EvaluationDetailProperty
newValue, Maybe [MetricGroupProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationJobArn :: Maybe (Value Text)
evaluationObservation :: Maybe (Value Text)
metricGroups :: Maybe [MetricGroupProperty]
name :: Value Text
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationJobArn :: Maybe (Value Text)
evaluationObservation :: Maybe (Value Text)
metricGroups :: Maybe [MetricGroupProperty]
name :: Value Text
..}
instance Property "MetricGroups" EvaluationDetailProperty where
  type PropertyType "MetricGroups" EvaluationDetailProperty = [MetricGroupProperty]
  set :: PropertyType "MetricGroups" EvaluationDetailProperty
-> EvaluationDetailProperty -> EvaluationDetailProperty
set PropertyType "MetricGroups" EvaluationDetailProperty
newValue EvaluationDetailProperty {Maybe [MetricGroupProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EvaluationDetailProperty -> ()
datasets :: EvaluationDetailProperty -> Maybe (ValueList Text)
evaluationJobArn :: EvaluationDetailProperty -> Maybe (Value Text)
evaluationObservation :: EvaluationDetailProperty -> Maybe (Value Text)
metadata :: EvaluationDetailProperty -> Maybe (Map Text (Value Text))
metricGroups :: EvaluationDetailProperty -> Maybe [MetricGroupProperty]
name :: EvaluationDetailProperty -> Value Text
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationJobArn :: Maybe (Value Text)
evaluationObservation :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
metricGroups :: Maybe [MetricGroupProperty]
name :: Value Text
..}
    = EvaluationDetailProperty
        {metricGroups :: Maybe [MetricGroupProperty]
metricGroups = [MetricGroupProperty] -> Maybe [MetricGroupProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [MetricGroupProperty]
PropertyType "MetricGroups" EvaluationDetailProperty
newValue, Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationJobArn :: Maybe (Value Text)
evaluationObservation :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
name :: Value Text
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationJobArn :: Maybe (Value Text)
evaluationObservation :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
name :: Value Text
..}
instance Property "Name" EvaluationDetailProperty where
  type PropertyType "Name" EvaluationDetailProperty = Value Prelude.Text
  set :: PropertyType "Name" EvaluationDetailProperty
-> EvaluationDetailProperty -> EvaluationDetailProperty
set PropertyType "Name" EvaluationDetailProperty
newValue EvaluationDetailProperty {Maybe [MetricGroupProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EvaluationDetailProperty -> ()
datasets :: EvaluationDetailProperty -> Maybe (ValueList Text)
evaluationJobArn :: EvaluationDetailProperty -> Maybe (Value Text)
evaluationObservation :: EvaluationDetailProperty -> Maybe (Value Text)
metadata :: EvaluationDetailProperty -> Maybe (Map Text (Value Text))
metricGroups :: EvaluationDetailProperty -> Maybe [MetricGroupProperty]
name :: EvaluationDetailProperty -> Value Text
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationJobArn :: Maybe (Value Text)
evaluationObservation :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
metricGroups :: Maybe [MetricGroupProperty]
name :: Value Text
..}
    = EvaluationDetailProperty {name :: Value Text
name = PropertyType "Name" EvaluationDetailProperty
Value Text
newValue, Maybe [MetricGroupProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationJobArn :: Maybe (Value Text)
evaluationObservation :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
metricGroups :: Maybe [MetricGroupProperty]
haddock_workaround_ :: ()
datasets :: Maybe (ValueList Text)
evaluationJobArn :: Maybe (Value Text)
evaluationObservation :: Maybe (Value Text)
metadata :: Maybe (Map Text (Value Text))
metricGroups :: Maybe [MetricGroupProperty]
..}