module Stratosphere.MediaLive.SignalMap.SuccessfulMonitorDeploymentProperty (
SuccessfulMonitorDeploymentProperty(..),
mkSuccessfulMonitorDeploymentProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SuccessfulMonitorDeploymentProperty
=
SuccessfulMonitorDeploymentProperty {SuccessfulMonitorDeploymentProperty -> ()
haddock_workaround_ :: (),
SuccessfulMonitorDeploymentProperty -> Value Text
detailsUri :: (Value Prelude.Text),
SuccessfulMonitorDeploymentProperty -> Value Text
status :: (Value Prelude.Text)}
deriving stock (SuccessfulMonitorDeploymentProperty
-> SuccessfulMonitorDeploymentProperty -> Bool
(SuccessfulMonitorDeploymentProperty
-> SuccessfulMonitorDeploymentProperty -> Bool)
-> (SuccessfulMonitorDeploymentProperty
-> SuccessfulMonitorDeploymentProperty -> Bool)
-> Eq SuccessfulMonitorDeploymentProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SuccessfulMonitorDeploymentProperty
-> SuccessfulMonitorDeploymentProperty -> Bool
== :: SuccessfulMonitorDeploymentProperty
-> SuccessfulMonitorDeploymentProperty -> Bool
$c/= :: SuccessfulMonitorDeploymentProperty
-> SuccessfulMonitorDeploymentProperty -> Bool
/= :: SuccessfulMonitorDeploymentProperty
-> SuccessfulMonitorDeploymentProperty -> Bool
Prelude.Eq, Int -> SuccessfulMonitorDeploymentProperty -> ShowS
[SuccessfulMonitorDeploymentProperty] -> ShowS
SuccessfulMonitorDeploymentProperty -> String
(Int -> SuccessfulMonitorDeploymentProperty -> ShowS)
-> (SuccessfulMonitorDeploymentProperty -> String)
-> ([SuccessfulMonitorDeploymentProperty] -> ShowS)
-> Show SuccessfulMonitorDeploymentProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SuccessfulMonitorDeploymentProperty -> ShowS
showsPrec :: Int -> SuccessfulMonitorDeploymentProperty -> ShowS
$cshow :: SuccessfulMonitorDeploymentProperty -> String
show :: SuccessfulMonitorDeploymentProperty -> String
$cshowList :: [SuccessfulMonitorDeploymentProperty] -> ShowS
showList :: [SuccessfulMonitorDeploymentProperty] -> ShowS
Prelude.Show)
mkSuccessfulMonitorDeploymentProperty ::
Value Prelude.Text
-> Value Prelude.Text -> SuccessfulMonitorDeploymentProperty
mkSuccessfulMonitorDeploymentProperty :: Value Text -> Value Text -> SuccessfulMonitorDeploymentProperty
mkSuccessfulMonitorDeploymentProperty Value Text
detailsUri Value Text
status
= SuccessfulMonitorDeploymentProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), detailsUri :: Value Text
detailsUri = Value Text
detailsUri,
status :: Value Text
status = Value Text
status}
instance ToResourceProperties SuccessfulMonitorDeploymentProperty where
toResourceProperties :: SuccessfulMonitorDeploymentProperty -> ResourceProperties
toResourceProperties SuccessfulMonitorDeploymentProperty {()
Value Text
haddock_workaround_ :: SuccessfulMonitorDeploymentProperty -> ()
detailsUri :: SuccessfulMonitorDeploymentProperty -> Value Text
status :: SuccessfulMonitorDeploymentProperty -> Value Text
haddock_workaround_ :: ()
detailsUri :: Value Text
status :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::MediaLive::SignalMap.SuccessfulMonitorDeployment",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"DetailsUri" 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
detailsUri,
Key
"Status" 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
status]}
instance JSON.ToJSON SuccessfulMonitorDeploymentProperty where
toJSON :: SuccessfulMonitorDeploymentProperty -> Value
toJSON SuccessfulMonitorDeploymentProperty {()
Value Text
haddock_workaround_ :: SuccessfulMonitorDeploymentProperty -> ()
detailsUri :: SuccessfulMonitorDeploymentProperty -> Value Text
status :: SuccessfulMonitorDeploymentProperty -> Value Text
haddock_workaround_ :: ()
detailsUri :: Value Text
status :: Value Text
..}
= [(Key, Value)] -> Value
JSON.object
[Key
"DetailsUri" 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
detailsUri, Key
"Status" 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
status]
instance Property "DetailsUri" SuccessfulMonitorDeploymentProperty where
type PropertyType "DetailsUri" SuccessfulMonitorDeploymentProperty = Value Prelude.Text
set :: PropertyType "DetailsUri" SuccessfulMonitorDeploymentProperty
-> SuccessfulMonitorDeploymentProperty
-> SuccessfulMonitorDeploymentProperty
set PropertyType "DetailsUri" SuccessfulMonitorDeploymentProperty
newValue SuccessfulMonitorDeploymentProperty {()
Value Text
haddock_workaround_ :: SuccessfulMonitorDeploymentProperty -> ()
detailsUri :: SuccessfulMonitorDeploymentProperty -> Value Text
status :: SuccessfulMonitorDeploymentProperty -> Value Text
haddock_workaround_ :: ()
detailsUri :: Value Text
status :: Value Text
..}
= SuccessfulMonitorDeploymentProperty {detailsUri :: Value Text
detailsUri = PropertyType "DetailsUri" SuccessfulMonitorDeploymentProperty
Value Text
newValue, ()
Value Text
haddock_workaround_ :: ()
status :: Value Text
haddock_workaround_ :: ()
status :: Value Text
..}
instance Property "Status" SuccessfulMonitorDeploymentProperty where
type PropertyType "Status" SuccessfulMonitorDeploymentProperty = Value Prelude.Text
set :: PropertyType "Status" SuccessfulMonitorDeploymentProperty
-> SuccessfulMonitorDeploymentProperty
-> SuccessfulMonitorDeploymentProperty
set PropertyType "Status" SuccessfulMonitorDeploymentProperty
newValue SuccessfulMonitorDeploymentProperty {()
Value Text
haddock_workaround_ :: SuccessfulMonitorDeploymentProperty -> ()
detailsUri :: SuccessfulMonitorDeploymentProperty -> Value Text
status :: SuccessfulMonitorDeploymentProperty -> Value Text
haddock_workaround_ :: ()
detailsUri :: Value Text
status :: Value Text
..}
= SuccessfulMonitorDeploymentProperty {status :: Value Text
status = PropertyType "Status" SuccessfulMonitorDeploymentProperty
Value Text
newValue, ()
Value Text
haddock_workaround_ :: ()
detailsUri :: Value Text
haddock_workaround_ :: ()
detailsUri :: Value Text
..}