module Stratosphere.SageMaker.DataQualityJobDefinition.EndpointInputProperty (
        EndpointInputProperty(..), mkEndpointInputProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data EndpointInputProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-endpointinput.html>
    EndpointInputProperty {EndpointInputProperty -> ()
haddock_workaround_ :: (),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-endpointinput.html#cfn-sagemaker-dataqualityjobdefinition-endpointinput-endpointname>
                           EndpointInputProperty -> Value Text
endpointName :: (Value Prelude.Text),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-endpointinput.html#cfn-sagemaker-dataqualityjobdefinition-endpointinput-excludefeaturesattribute>
                           EndpointInputProperty -> Maybe (Value Text)
excludeFeaturesAttribute :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-endpointinput.html#cfn-sagemaker-dataqualityjobdefinition-endpointinput-localpath>
                           EndpointInputProperty -> Value Text
localPath :: (Value Prelude.Text),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-endpointinput.html#cfn-sagemaker-dataqualityjobdefinition-endpointinput-s3datadistributiontype>
                           EndpointInputProperty -> Maybe (Value Text)
s3DataDistributionType :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-endpointinput.html#cfn-sagemaker-dataqualityjobdefinition-endpointinput-s3inputmode>
                           EndpointInputProperty -> Maybe (Value Text)
s3InputMode :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (EndpointInputProperty -> EndpointInputProperty -> Bool
(EndpointInputProperty -> EndpointInputProperty -> Bool)
-> (EndpointInputProperty -> EndpointInputProperty -> Bool)
-> Eq EndpointInputProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: EndpointInputProperty -> EndpointInputProperty -> Bool
== :: EndpointInputProperty -> EndpointInputProperty -> Bool
$c/= :: EndpointInputProperty -> EndpointInputProperty -> Bool
/= :: EndpointInputProperty -> EndpointInputProperty -> Bool
Prelude.Eq, Int -> EndpointInputProperty -> ShowS
[EndpointInputProperty] -> ShowS
EndpointInputProperty -> String
(Int -> EndpointInputProperty -> ShowS)
-> (EndpointInputProperty -> String)
-> ([EndpointInputProperty] -> ShowS)
-> Show EndpointInputProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> EndpointInputProperty -> ShowS
showsPrec :: Int -> EndpointInputProperty -> ShowS
$cshow :: EndpointInputProperty -> String
show :: EndpointInputProperty -> String
$cshowList :: [EndpointInputProperty] -> ShowS
showList :: [EndpointInputProperty] -> ShowS
Prelude.Show)
mkEndpointInputProperty ::
  Value Prelude.Text -> Value Prelude.Text -> EndpointInputProperty
mkEndpointInputProperty :: Value Text -> Value Text -> EndpointInputProperty
mkEndpointInputProperty Value Text
endpointName Value Text
localPath
  = EndpointInputProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), endpointName :: Value Text
endpointName = Value Text
endpointName,
       localPath :: Value Text
localPath = Value Text
localPath, excludeFeaturesAttribute :: Maybe (Value Text)
excludeFeaturesAttribute = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       s3DataDistributionType :: Maybe (Value Text)
s3DataDistributionType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       s3InputMode :: Maybe (Value Text)
s3InputMode = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties EndpointInputProperty where
  toResourceProperties :: EndpointInputProperty -> ResourceProperties
toResourceProperties EndpointInputProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EndpointInputProperty -> ()
endpointName :: EndpointInputProperty -> Value Text
excludeFeaturesAttribute :: EndpointInputProperty -> Maybe (Value Text)
localPath :: EndpointInputProperty -> Value Text
s3DataDistributionType :: EndpointInputProperty -> Maybe (Value Text)
s3InputMode :: EndpointInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
endpointName :: Value Text
excludeFeaturesAttribute :: Maybe (Value Text)
localPath :: Value Text
s3DataDistributionType :: Maybe (Value Text)
s3InputMode :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::SageMaker::DataQualityJobDefinition.EndpointInput",
         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
"EndpointName" 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
endpointName,
                            Key
"LocalPath" 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
localPath]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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
"ExcludeFeaturesAttribute"
                                 (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)
excludeFeaturesAttribute,
                               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
"S3DataDistributionType"
                                 (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)
s3DataDistributionType,
                               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
"S3InputMode" (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)
s3InputMode]))}
instance JSON.ToJSON EndpointInputProperty where
  toJSON :: EndpointInputProperty -> Value
toJSON EndpointInputProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EndpointInputProperty -> ()
endpointName :: EndpointInputProperty -> Value Text
excludeFeaturesAttribute :: EndpointInputProperty -> Maybe (Value Text)
localPath :: EndpointInputProperty -> Value Text
s3DataDistributionType :: EndpointInputProperty -> Maybe (Value Text)
s3InputMode :: EndpointInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
endpointName :: Value Text
excludeFeaturesAttribute :: Maybe (Value Text)
localPath :: Value Text
s3DataDistributionType :: Maybe (Value Text)
s3InputMode :: Maybe (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
"EndpointName" 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
endpointName,
               Key
"LocalPath" 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
localPath]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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
"ExcludeFeaturesAttribute"
                    (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)
excludeFeaturesAttribute,
                  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
"S3DataDistributionType"
                    (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)
s3DataDistributionType,
                  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
"S3InputMode" (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)
s3InputMode])))
instance Property "EndpointName" EndpointInputProperty where
  type PropertyType "EndpointName" EndpointInputProperty = Value Prelude.Text
  set :: PropertyType "EndpointName" EndpointInputProperty
-> EndpointInputProperty -> EndpointInputProperty
set PropertyType "EndpointName" EndpointInputProperty
newValue EndpointInputProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EndpointInputProperty -> ()
endpointName :: EndpointInputProperty -> Value Text
excludeFeaturesAttribute :: EndpointInputProperty -> Maybe (Value Text)
localPath :: EndpointInputProperty -> Value Text
s3DataDistributionType :: EndpointInputProperty -> Maybe (Value Text)
s3InputMode :: EndpointInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
endpointName :: Value Text
excludeFeaturesAttribute :: Maybe (Value Text)
localPath :: Value Text
s3DataDistributionType :: Maybe (Value Text)
s3InputMode :: Maybe (Value Text)
..}
    = EndpointInputProperty {endpointName :: Value Text
endpointName = PropertyType "EndpointName" EndpointInputProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
excludeFeaturesAttribute :: Maybe (Value Text)
localPath :: Value Text
s3DataDistributionType :: Maybe (Value Text)
s3InputMode :: Maybe (Value Text)
haddock_workaround_ :: ()
excludeFeaturesAttribute :: Maybe (Value Text)
localPath :: Value Text
s3DataDistributionType :: Maybe (Value Text)
s3InputMode :: Maybe (Value Text)
..}
instance Property "ExcludeFeaturesAttribute" EndpointInputProperty where
  type PropertyType "ExcludeFeaturesAttribute" EndpointInputProperty = Value Prelude.Text
  set :: PropertyType "ExcludeFeaturesAttribute" EndpointInputProperty
-> EndpointInputProperty -> EndpointInputProperty
set PropertyType "ExcludeFeaturesAttribute" EndpointInputProperty
newValue EndpointInputProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EndpointInputProperty -> ()
endpointName :: EndpointInputProperty -> Value Text
excludeFeaturesAttribute :: EndpointInputProperty -> Maybe (Value Text)
localPath :: EndpointInputProperty -> Value Text
s3DataDistributionType :: EndpointInputProperty -> Maybe (Value Text)
s3InputMode :: EndpointInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
endpointName :: Value Text
excludeFeaturesAttribute :: Maybe (Value Text)
localPath :: Value Text
s3DataDistributionType :: Maybe (Value Text)
s3InputMode :: Maybe (Value Text)
..}
    = EndpointInputProperty
        {excludeFeaturesAttribute :: Maybe (Value Text)
excludeFeaturesAttribute = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ExcludeFeaturesAttribute" EndpointInputProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
endpointName :: Value Text
localPath :: Value Text
s3DataDistributionType :: Maybe (Value Text)
s3InputMode :: Maybe (Value Text)
haddock_workaround_ :: ()
endpointName :: Value Text
localPath :: Value Text
s3DataDistributionType :: Maybe (Value Text)
s3InputMode :: Maybe (Value Text)
..}
instance Property "LocalPath" EndpointInputProperty where
  type PropertyType "LocalPath" EndpointInputProperty = Value Prelude.Text
  set :: PropertyType "LocalPath" EndpointInputProperty
-> EndpointInputProperty -> EndpointInputProperty
set PropertyType "LocalPath" EndpointInputProperty
newValue EndpointInputProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EndpointInputProperty -> ()
endpointName :: EndpointInputProperty -> Value Text
excludeFeaturesAttribute :: EndpointInputProperty -> Maybe (Value Text)
localPath :: EndpointInputProperty -> Value Text
s3DataDistributionType :: EndpointInputProperty -> Maybe (Value Text)
s3InputMode :: EndpointInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
endpointName :: Value Text
excludeFeaturesAttribute :: Maybe (Value Text)
localPath :: Value Text
s3DataDistributionType :: Maybe (Value Text)
s3InputMode :: Maybe (Value Text)
..}
    = EndpointInputProperty {localPath :: Value Text
localPath = PropertyType "LocalPath" EndpointInputProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
endpointName :: Value Text
excludeFeaturesAttribute :: Maybe (Value Text)
s3DataDistributionType :: Maybe (Value Text)
s3InputMode :: Maybe (Value Text)
haddock_workaround_ :: ()
endpointName :: Value Text
excludeFeaturesAttribute :: Maybe (Value Text)
s3DataDistributionType :: Maybe (Value Text)
s3InputMode :: Maybe (Value Text)
..}
instance Property "S3DataDistributionType" EndpointInputProperty where
  type PropertyType "S3DataDistributionType" EndpointInputProperty = Value Prelude.Text
  set :: PropertyType "S3DataDistributionType" EndpointInputProperty
-> EndpointInputProperty -> EndpointInputProperty
set PropertyType "S3DataDistributionType" EndpointInputProperty
newValue EndpointInputProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EndpointInputProperty -> ()
endpointName :: EndpointInputProperty -> Value Text
excludeFeaturesAttribute :: EndpointInputProperty -> Maybe (Value Text)
localPath :: EndpointInputProperty -> Value Text
s3DataDistributionType :: EndpointInputProperty -> Maybe (Value Text)
s3InputMode :: EndpointInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
endpointName :: Value Text
excludeFeaturesAttribute :: Maybe (Value Text)
localPath :: Value Text
s3DataDistributionType :: Maybe (Value Text)
s3InputMode :: Maybe (Value Text)
..}
    = EndpointInputProperty
        {s3DataDistributionType :: Maybe (Value Text)
s3DataDistributionType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "S3DataDistributionType" EndpointInputProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
endpointName :: Value Text
excludeFeaturesAttribute :: Maybe (Value Text)
localPath :: Value Text
s3InputMode :: Maybe (Value Text)
haddock_workaround_ :: ()
endpointName :: Value Text
excludeFeaturesAttribute :: Maybe (Value Text)
localPath :: Value Text
s3InputMode :: Maybe (Value Text)
..}
instance Property "S3InputMode" EndpointInputProperty where
  type PropertyType "S3InputMode" EndpointInputProperty = Value Prelude.Text
  set :: PropertyType "S3InputMode" EndpointInputProperty
-> EndpointInputProperty -> EndpointInputProperty
set PropertyType "S3InputMode" EndpointInputProperty
newValue EndpointInputProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EndpointInputProperty -> ()
endpointName :: EndpointInputProperty -> Value Text
excludeFeaturesAttribute :: EndpointInputProperty -> Maybe (Value Text)
localPath :: EndpointInputProperty -> Value Text
s3DataDistributionType :: EndpointInputProperty -> Maybe (Value Text)
s3InputMode :: EndpointInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
endpointName :: Value Text
excludeFeaturesAttribute :: Maybe (Value Text)
localPath :: Value Text
s3DataDistributionType :: Maybe (Value Text)
s3InputMode :: Maybe (Value Text)
..}
    = EndpointInputProperty {s3InputMode :: Maybe (Value Text)
s3InputMode = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "S3InputMode" EndpointInputProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
endpointName :: Value Text
excludeFeaturesAttribute :: Maybe (Value Text)
localPath :: Value Text
s3DataDistributionType :: Maybe (Value Text)
haddock_workaround_ :: ()
endpointName :: Value Text
excludeFeaturesAttribute :: Maybe (Value Text)
localPath :: Value Text
s3DataDistributionType :: Maybe (Value Text)
..}