{-# 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.EndpointInput 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.ProcessingS3DataDistributionType
import Amazonka.SageMaker.Types.ProcessingS3InputMode
data EndpointInput = EndpointInput'
{
EndpointInput -> Maybe Text
endTimeOffset :: Prelude.Maybe Prelude.Text,
EndpointInput -> Maybe Text
featuresAttribute :: Prelude.Maybe Prelude.Text,
EndpointInput -> Maybe Text
inferenceAttribute :: Prelude.Maybe Prelude.Text,
EndpointInput -> Maybe Text
probabilityAttribute :: Prelude.Maybe Prelude.Text,
EndpointInput -> Maybe Double
probabilityThresholdAttribute :: Prelude.Maybe Prelude.Double,
EndpointInput -> Maybe ProcessingS3DataDistributionType
s3DataDistributionType :: Prelude.Maybe ProcessingS3DataDistributionType,
EndpointInput -> Maybe ProcessingS3InputMode
s3InputMode :: Prelude.Maybe ProcessingS3InputMode,
EndpointInput -> Maybe Text
startTimeOffset :: Prelude.Maybe Prelude.Text,
EndpointInput -> Text
endpointName :: Prelude.Text,
EndpointInput -> Text
localPath :: Prelude.Text
}
deriving (EndpointInput -> EndpointInput -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: EndpointInput -> EndpointInput -> Bool
$c/= :: EndpointInput -> EndpointInput -> Bool
== :: EndpointInput -> EndpointInput -> Bool
$c== :: EndpointInput -> EndpointInput -> Bool
Prelude.Eq, ReadPrec [EndpointInput]
ReadPrec EndpointInput
Int -> ReadS EndpointInput
ReadS [EndpointInput]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [EndpointInput]
$creadListPrec :: ReadPrec [EndpointInput]
readPrec :: ReadPrec EndpointInput
$creadPrec :: ReadPrec EndpointInput
readList :: ReadS [EndpointInput]
$creadList :: ReadS [EndpointInput]
readsPrec :: Int -> ReadS EndpointInput
$creadsPrec :: Int -> ReadS EndpointInput
Prelude.Read, Int -> EndpointInput -> ShowS
[EndpointInput] -> ShowS
EndpointInput -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [EndpointInput] -> ShowS
$cshowList :: [EndpointInput] -> ShowS
show :: EndpointInput -> String
$cshow :: EndpointInput -> String
showsPrec :: Int -> EndpointInput -> ShowS
$cshowsPrec :: Int -> EndpointInput -> ShowS
Prelude.Show, forall x. Rep EndpointInput x -> EndpointInput
forall x. EndpointInput -> Rep EndpointInput x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep EndpointInput x -> EndpointInput
$cfrom :: forall x. EndpointInput -> Rep EndpointInput x
Prelude.Generic)
newEndpointInput ::
Prelude.Text ->
Prelude.Text ->
EndpointInput
newEndpointInput :: Text -> Text -> EndpointInput
newEndpointInput Text
pEndpointName_ Text
pLocalPath_ =
EndpointInput'
{ $sel:endTimeOffset:EndpointInput' :: Maybe Text
endTimeOffset = forall a. Maybe a
Prelude.Nothing,
$sel:featuresAttribute:EndpointInput' :: Maybe Text
featuresAttribute = forall a. Maybe a
Prelude.Nothing,
$sel:inferenceAttribute:EndpointInput' :: Maybe Text
inferenceAttribute = forall a. Maybe a
Prelude.Nothing,
$sel:probabilityAttribute:EndpointInput' :: Maybe Text
probabilityAttribute = forall a. Maybe a
Prelude.Nothing,
$sel:probabilityThresholdAttribute:EndpointInput' :: Maybe Double
probabilityThresholdAttribute = forall a. Maybe a
Prelude.Nothing,
$sel:s3DataDistributionType:EndpointInput' :: Maybe ProcessingS3DataDistributionType
s3DataDistributionType = forall a. Maybe a
Prelude.Nothing,
$sel:s3InputMode:EndpointInput' :: Maybe ProcessingS3InputMode
s3InputMode = forall a. Maybe a
Prelude.Nothing,
$sel:startTimeOffset:EndpointInput' :: Maybe Text
startTimeOffset = forall a. Maybe a
Prelude.Nothing,
$sel:endpointName:EndpointInput' :: Text
endpointName = Text
pEndpointName_,
$sel:localPath:EndpointInput' :: Text
localPath = Text
pLocalPath_
}
endpointInput_endTimeOffset :: Lens.Lens' EndpointInput (Prelude.Maybe Prelude.Text)
endpointInput_endTimeOffset :: Lens' EndpointInput (Maybe Text)
endpointInput_endTimeOffset = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EndpointInput' {Maybe Text
endTimeOffset :: Maybe Text
$sel:endTimeOffset:EndpointInput' :: EndpointInput -> Maybe Text
endTimeOffset} -> Maybe Text
endTimeOffset) (\s :: EndpointInput
s@EndpointInput' {} Maybe Text
a -> EndpointInput
s {$sel:endTimeOffset:EndpointInput' :: Maybe Text
endTimeOffset = Maybe Text
a} :: EndpointInput)
endpointInput_featuresAttribute :: Lens.Lens' EndpointInput (Prelude.Maybe Prelude.Text)
endpointInput_featuresAttribute :: Lens' EndpointInput (Maybe Text)
endpointInput_featuresAttribute = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EndpointInput' {Maybe Text
featuresAttribute :: Maybe Text
$sel:featuresAttribute:EndpointInput' :: EndpointInput -> Maybe Text
featuresAttribute} -> Maybe Text
featuresAttribute) (\s :: EndpointInput
s@EndpointInput' {} Maybe Text
a -> EndpointInput
s {$sel:featuresAttribute:EndpointInput' :: Maybe Text
featuresAttribute = Maybe Text
a} :: EndpointInput)
endpointInput_inferenceAttribute :: Lens.Lens' EndpointInput (Prelude.Maybe Prelude.Text)
endpointInput_inferenceAttribute :: Lens' EndpointInput (Maybe Text)
endpointInput_inferenceAttribute = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EndpointInput' {Maybe Text
inferenceAttribute :: Maybe Text
$sel:inferenceAttribute:EndpointInput' :: EndpointInput -> Maybe Text
inferenceAttribute} -> Maybe Text
inferenceAttribute) (\s :: EndpointInput
s@EndpointInput' {} Maybe Text
a -> EndpointInput
s {$sel:inferenceAttribute:EndpointInput' :: Maybe Text
inferenceAttribute = Maybe Text
a} :: EndpointInput)
endpointInput_probabilityAttribute :: Lens.Lens' EndpointInput (Prelude.Maybe Prelude.Text)
endpointInput_probabilityAttribute :: Lens' EndpointInput (Maybe Text)
endpointInput_probabilityAttribute = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EndpointInput' {Maybe Text
probabilityAttribute :: Maybe Text
$sel:probabilityAttribute:EndpointInput' :: EndpointInput -> Maybe Text
probabilityAttribute} -> Maybe Text
probabilityAttribute) (\s :: EndpointInput
s@EndpointInput' {} Maybe Text
a -> EndpointInput
s {$sel:probabilityAttribute:EndpointInput' :: Maybe Text
probabilityAttribute = Maybe Text
a} :: EndpointInput)
endpointInput_probabilityThresholdAttribute :: Lens.Lens' EndpointInput (Prelude.Maybe Prelude.Double)
endpointInput_probabilityThresholdAttribute :: Lens' EndpointInput (Maybe Double)
endpointInput_probabilityThresholdAttribute = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EndpointInput' {Maybe Double
probabilityThresholdAttribute :: Maybe Double
$sel:probabilityThresholdAttribute:EndpointInput' :: EndpointInput -> Maybe Double
probabilityThresholdAttribute} -> Maybe Double
probabilityThresholdAttribute) (\s :: EndpointInput
s@EndpointInput' {} Maybe Double
a -> EndpointInput
s {$sel:probabilityThresholdAttribute:EndpointInput' :: Maybe Double
probabilityThresholdAttribute = Maybe Double
a} :: EndpointInput)
endpointInput_s3DataDistributionType :: Lens.Lens' EndpointInput (Prelude.Maybe ProcessingS3DataDistributionType)
endpointInput_s3DataDistributionType :: Lens' EndpointInput (Maybe ProcessingS3DataDistributionType)
endpointInput_s3DataDistributionType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EndpointInput' {Maybe ProcessingS3DataDistributionType
s3DataDistributionType :: Maybe ProcessingS3DataDistributionType
$sel:s3DataDistributionType:EndpointInput' :: EndpointInput -> Maybe ProcessingS3DataDistributionType
s3DataDistributionType} -> Maybe ProcessingS3DataDistributionType
s3DataDistributionType) (\s :: EndpointInput
s@EndpointInput' {} Maybe ProcessingS3DataDistributionType
a -> EndpointInput
s {$sel:s3DataDistributionType:EndpointInput' :: Maybe ProcessingS3DataDistributionType
s3DataDistributionType = Maybe ProcessingS3DataDistributionType
a} :: EndpointInput)
endpointInput_s3InputMode :: Lens.Lens' EndpointInput (Prelude.Maybe ProcessingS3InputMode)
endpointInput_s3InputMode :: Lens' EndpointInput (Maybe ProcessingS3InputMode)
endpointInput_s3InputMode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EndpointInput' {Maybe ProcessingS3InputMode
s3InputMode :: Maybe ProcessingS3InputMode
$sel:s3InputMode:EndpointInput' :: EndpointInput -> Maybe ProcessingS3InputMode
s3InputMode} -> Maybe ProcessingS3InputMode
s3InputMode) (\s :: EndpointInput
s@EndpointInput' {} Maybe ProcessingS3InputMode
a -> EndpointInput
s {$sel:s3InputMode:EndpointInput' :: Maybe ProcessingS3InputMode
s3InputMode = Maybe ProcessingS3InputMode
a} :: EndpointInput)
endpointInput_startTimeOffset :: Lens.Lens' EndpointInput (Prelude.Maybe Prelude.Text)
endpointInput_startTimeOffset :: Lens' EndpointInput (Maybe Text)
endpointInput_startTimeOffset = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EndpointInput' {Maybe Text
startTimeOffset :: Maybe Text
$sel:startTimeOffset:EndpointInput' :: EndpointInput -> Maybe Text
startTimeOffset} -> Maybe Text
startTimeOffset) (\s :: EndpointInput
s@EndpointInput' {} Maybe Text
a -> EndpointInput
s {$sel:startTimeOffset:EndpointInput' :: Maybe Text
startTimeOffset = Maybe Text
a} :: EndpointInput)
endpointInput_endpointName :: Lens.Lens' EndpointInput Prelude.Text
endpointInput_endpointName :: Lens' EndpointInput Text
endpointInput_endpointName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EndpointInput' {Text
endpointName :: Text
$sel:endpointName:EndpointInput' :: EndpointInput -> Text
endpointName} -> Text
endpointName) (\s :: EndpointInput
s@EndpointInput' {} Text
a -> EndpointInput
s {$sel:endpointName:EndpointInput' :: Text
endpointName = Text
a} :: EndpointInput)
endpointInput_localPath :: Lens.Lens' EndpointInput Prelude.Text
endpointInput_localPath :: Lens' EndpointInput Text
endpointInput_localPath = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EndpointInput' {Text
localPath :: Text
$sel:localPath:EndpointInput' :: EndpointInput -> Text
localPath} -> Text
localPath) (\s :: EndpointInput
s@EndpointInput' {} Text
a -> EndpointInput
s {$sel:localPath:EndpointInput' :: Text
localPath = Text
a} :: EndpointInput)
instance Data.FromJSON EndpointInput where
parseJSON :: Value -> Parser EndpointInput
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"EndpointInput"
( \Object
x ->
Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Double
-> Maybe ProcessingS3DataDistributionType
-> Maybe ProcessingS3InputMode
-> Maybe Text
-> Text
-> Text
-> EndpointInput
EndpointInput'
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
"EndTimeOffset")
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
"FeaturesAttribute")
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
"InferenceAttribute")
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
"ProbabilityAttribute")
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
"ProbabilityThresholdAttribute")
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
"S3DataDistributionType")
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
"S3InputMode")
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
"StartTimeOffset")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser 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 a
Data..: Key
"LocalPath")
)
instance Prelude.Hashable EndpointInput where
hashWithSalt :: Int -> EndpointInput -> Int
hashWithSalt Int
_salt EndpointInput' {Maybe Double
Maybe Text
Maybe ProcessingS3DataDistributionType
Maybe ProcessingS3InputMode
Text
localPath :: Text
endpointName :: Text
startTimeOffset :: Maybe Text
s3InputMode :: Maybe ProcessingS3InputMode
s3DataDistributionType :: Maybe ProcessingS3DataDistributionType
probabilityThresholdAttribute :: Maybe Double
probabilityAttribute :: Maybe Text
inferenceAttribute :: Maybe Text
featuresAttribute :: Maybe Text
endTimeOffset :: Maybe Text
$sel:localPath:EndpointInput' :: EndpointInput -> Text
$sel:endpointName:EndpointInput' :: EndpointInput -> Text
$sel:startTimeOffset:EndpointInput' :: EndpointInput -> Maybe Text
$sel:s3InputMode:EndpointInput' :: EndpointInput -> Maybe ProcessingS3InputMode
$sel:s3DataDistributionType:EndpointInput' :: EndpointInput -> Maybe ProcessingS3DataDistributionType
$sel:probabilityThresholdAttribute:EndpointInput' :: EndpointInput -> Maybe Double
$sel:probabilityAttribute:EndpointInput' :: EndpointInput -> Maybe Text
$sel:inferenceAttribute:EndpointInput' :: EndpointInput -> Maybe Text
$sel:featuresAttribute:EndpointInput' :: EndpointInput -> Maybe Text
$sel:endTimeOffset:EndpointInput' :: EndpointInput -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
endTimeOffset
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
featuresAttribute
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
inferenceAttribute
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
probabilityAttribute
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Double
probabilityThresholdAttribute
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ProcessingS3DataDistributionType
s3DataDistributionType
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ProcessingS3InputMode
s3InputMode
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
startTimeOffset
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
endpointName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
localPath
instance Prelude.NFData EndpointInput where
rnf :: EndpointInput -> ()
rnf EndpointInput' {Maybe Double
Maybe Text
Maybe ProcessingS3DataDistributionType
Maybe ProcessingS3InputMode
Text
localPath :: Text
endpointName :: Text
startTimeOffset :: Maybe Text
s3InputMode :: Maybe ProcessingS3InputMode
s3DataDistributionType :: Maybe ProcessingS3DataDistributionType
probabilityThresholdAttribute :: Maybe Double
probabilityAttribute :: Maybe Text
inferenceAttribute :: Maybe Text
featuresAttribute :: Maybe Text
endTimeOffset :: Maybe Text
$sel:localPath:EndpointInput' :: EndpointInput -> Text
$sel:endpointName:EndpointInput' :: EndpointInput -> Text
$sel:startTimeOffset:EndpointInput' :: EndpointInput -> Maybe Text
$sel:s3InputMode:EndpointInput' :: EndpointInput -> Maybe ProcessingS3InputMode
$sel:s3DataDistributionType:EndpointInput' :: EndpointInput -> Maybe ProcessingS3DataDistributionType
$sel:probabilityThresholdAttribute:EndpointInput' :: EndpointInput -> Maybe Double
$sel:probabilityAttribute:EndpointInput' :: EndpointInput -> Maybe Text
$sel:inferenceAttribute:EndpointInput' :: EndpointInput -> Maybe Text
$sel:featuresAttribute:EndpointInput' :: EndpointInput -> Maybe Text
$sel:endTimeOffset:EndpointInput' :: EndpointInput -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
endTimeOffset
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
featuresAttribute
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
inferenceAttribute
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
probabilityAttribute
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Double
probabilityThresholdAttribute
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ProcessingS3DataDistributionType
s3DataDistributionType
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ProcessingS3InputMode
s3InputMode
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
startTimeOffset
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
endpointName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
localPath
instance Data.ToJSON EndpointInput where
toJSON :: EndpointInput -> Value
toJSON EndpointInput' {Maybe Double
Maybe Text
Maybe ProcessingS3DataDistributionType
Maybe ProcessingS3InputMode
Text
localPath :: Text
endpointName :: Text
startTimeOffset :: Maybe Text
s3InputMode :: Maybe ProcessingS3InputMode
s3DataDistributionType :: Maybe ProcessingS3DataDistributionType
probabilityThresholdAttribute :: Maybe Double
probabilityAttribute :: Maybe Text
inferenceAttribute :: Maybe Text
featuresAttribute :: Maybe Text
endTimeOffset :: Maybe Text
$sel:localPath:EndpointInput' :: EndpointInput -> Text
$sel:endpointName:EndpointInput' :: EndpointInput -> Text
$sel:startTimeOffset:EndpointInput' :: EndpointInput -> Maybe Text
$sel:s3InputMode:EndpointInput' :: EndpointInput -> Maybe ProcessingS3InputMode
$sel:s3DataDistributionType:EndpointInput' :: EndpointInput -> Maybe ProcessingS3DataDistributionType
$sel:probabilityThresholdAttribute:EndpointInput' :: EndpointInput -> Maybe Double
$sel:probabilityAttribute:EndpointInput' :: EndpointInput -> Maybe Text
$sel:inferenceAttribute:EndpointInput' :: EndpointInput -> Maybe Text
$sel:featuresAttribute:EndpointInput' :: EndpointInput -> Maybe Text
$sel:endTimeOffset:EndpointInput' :: EndpointInput -> Maybe Text
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"EndTimeOffset" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
endTimeOffset,
(Key
"FeaturesAttribute" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
featuresAttribute,
(Key
"InferenceAttribute" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
inferenceAttribute,
(Key
"ProbabilityAttribute" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
probabilityAttribute,
(Key
"ProbabilityThresholdAttribute" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Double
probabilityThresholdAttribute,
(Key
"S3DataDistributionType" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProcessingS3DataDistributionType
s3DataDistributionType,
(Key
"S3InputMode" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProcessingS3InputMode
s3InputMode,
(Key
"StartTimeOffset" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
startTimeOffset,
forall a. a -> Maybe a
Prelude.Just (Key
"EndpointName" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Text
endpointName),
forall a. a -> Maybe a
Prelude.Just (Key
"LocalPath" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Text
localPath)
]
)