module Stratosphere.KinesisFirehose.DeliveryStream.ProcessorParameterProperty (
ProcessorParameterProperty(..), mkProcessorParameterProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ProcessorParameterProperty
=
ProcessorParameterProperty {ProcessorParameterProperty -> ()
haddock_workaround_ :: (),
ProcessorParameterProperty -> Value Text
parameterName :: (Value Prelude.Text),
ProcessorParameterProperty -> Value Text
parameterValue :: (Value Prelude.Text)}
deriving stock (ProcessorParameterProperty -> ProcessorParameterProperty -> Bool
(ProcessorParameterProperty -> ProcessorParameterProperty -> Bool)
-> (ProcessorParameterProperty
-> ProcessorParameterProperty -> Bool)
-> Eq ProcessorParameterProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ProcessorParameterProperty -> ProcessorParameterProperty -> Bool
== :: ProcessorParameterProperty -> ProcessorParameterProperty -> Bool
$c/= :: ProcessorParameterProperty -> ProcessorParameterProperty -> Bool
/= :: ProcessorParameterProperty -> ProcessorParameterProperty -> Bool
Prelude.Eq, Int -> ProcessorParameterProperty -> ShowS
[ProcessorParameterProperty] -> ShowS
ProcessorParameterProperty -> String
(Int -> ProcessorParameterProperty -> ShowS)
-> (ProcessorParameterProperty -> String)
-> ([ProcessorParameterProperty] -> ShowS)
-> Show ProcessorParameterProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ProcessorParameterProperty -> ShowS
showsPrec :: Int -> ProcessorParameterProperty -> ShowS
$cshow :: ProcessorParameterProperty -> String
show :: ProcessorParameterProperty -> String
$cshowList :: [ProcessorParameterProperty] -> ShowS
showList :: [ProcessorParameterProperty] -> ShowS
Prelude.Show)
mkProcessorParameterProperty ::
Value Prelude.Text
-> Value Prelude.Text -> ProcessorParameterProperty
mkProcessorParameterProperty :: Value Text -> Value Text -> ProcessorParameterProperty
mkProcessorParameterProperty Value Text
parameterName Value Text
parameterValue
= ProcessorParameterProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), parameterName :: Value Text
parameterName = Value Text
parameterName,
parameterValue :: Value Text
parameterValue = Value Text
parameterValue}
instance ToResourceProperties ProcessorParameterProperty where
toResourceProperties :: ProcessorParameterProperty -> ResourceProperties
toResourceProperties ProcessorParameterProperty {()
Value Text
haddock_workaround_ :: ProcessorParameterProperty -> ()
parameterName :: ProcessorParameterProperty -> Value Text
parameterValue :: ProcessorParameterProperty -> Value Text
haddock_workaround_ :: ()
parameterName :: Value Text
parameterValue :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::KinesisFirehose::DeliveryStream.ProcessorParameter",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"ParameterName" 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
parameterName,
Key
"ParameterValue" 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
parameterValue]}
instance JSON.ToJSON ProcessorParameterProperty where
toJSON :: ProcessorParameterProperty -> Value
toJSON ProcessorParameterProperty {()
Value Text
haddock_workaround_ :: ProcessorParameterProperty -> ()
parameterName :: ProcessorParameterProperty -> Value Text
parameterValue :: ProcessorParameterProperty -> Value Text
haddock_workaround_ :: ()
parameterName :: Value Text
parameterValue :: Value Text
..}
= [(Key, Value)] -> Value
JSON.object
[Key
"ParameterName" 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
parameterName,
Key
"ParameterValue" 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
parameterValue]
instance Property "ParameterName" ProcessorParameterProperty where
type PropertyType "ParameterName" ProcessorParameterProperty = Value Prelude.Text
set :: PropertyType "ParameterName" ProcessorParameterProperty
-> ProcessorParameterProperty -> ProcessorParameterProperty
set PropertyType "ParameterName" ProcessorParameterProperty
newValue ProcessorParameterProperty {()
Value Text
haddock_workaround_ :: ProcessorParameterProperty -> ()
parameterName :: ProcessorParameterProperty -> Value Text
parameterValue :: ProcessorParameterProperty -> Value Text
haddock_workaround_ :: ()
parameterName :: Value Text
parameterValue :: Value Text
..}
= ProcessorParameterProperty {parameterName :: Value Text
parameterName = PropertyType "ParameterName" ProcessorParameterProperty
Value Text
newValue, ()
Value Text
haddock_workaround_ :: ()
parameterValue :: Value Text
haddock_workaround_ :: ()
parameterValue :: Value Text
..}
instance Property "ParameterValue" ProcessorParameterProperty where
type PropertyType "ParameterValue" ProcessorParameterProperty = Value Prelude.Text
set :: PropertyType "ParameterValue" ProcessorParameterProperty
-> ProcessorParameterProperty -> ProcessorParameterProperty
set PropertyType "ParameterValue" ProcessorParameterProperty
newValue ProcessorParameterProperty {()
Value Text
haddock_workaround_ :: ProcessorParameterProperty -> ()
parameterName :: ProcessorParameterProperty -> Value Text
parameterValue :: ProcessorParameterProperty -> Value Text
haddock_workaround_ :: ()
parameterName :: Value Text
parameterValue :: Value Text
..}
= ProcessorParameterProperty {parameterValue :: Value Text
parameterValue = PropertyType "ParameterValue" ProcessorParameterProperty
Value Text
newValue, ()
Value Text
haddock_workaround_ :: ()
parameterName :: Value Text
haddock_workaround_ :: ()
parameterName :: Value Text
..}