module Stratosphere.IoT.TopicRule.RepublishActionHeadersProperty (
module Exports, RepublishActionHeadersProperty(..),
mkRepublishActionHeadersProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.IoT.TopicRule.UserPropertyProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data
=
{RepublishActionHeadersProperty -> ()
haddock_workaround_ :: (),
RepublishActionHeadersProperty -> Maybe (Value Text)
contentType :: (Prelude.Maybe (Value Prelude.Text)),
RepublishActionHeadersProperty -> Maybe (Value Text)
correlationData :: (Prelude.Maybe (Value Prelude.Text)),
RepublishActionHeadersProperty -> Maybe (Value Text)
messageExpiry :: (Prelude.Maybe (Value Prelude.Text)),
RepublishActionHeadersProperty -> Maybe (Value Text)
payloadFormatIndicator :: (Prelude.Maybe (Value Prelude.Text)),
RepublishActionHeadersProperty -> Maybe (Value Text)
responseTopic :: (Prelude.Maybe (Value Prelude.Text)),
RepublishActionHeadersProperty -> Maybe [UserPropertyProperty]
userProperties :: (Prelude.Maybe [UserPropertyProperty])}
deriving stock (RepublishActionHeadersProperty
-> RepublishActionHeadersProperty -> Bool
(RepublishActionHeadersProperty
-> RepublishActionHeadersProperty -> Bool)
-> (RepublishActionHeadersProperty
-> RepublishActionHeadersProperty -> Bool)
-> Eq RepublishActionHeadersProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RepublishActionHeadersProperty
-> RepublishActionHeadersProperty -> Bool
== :: RepublishActionHeadersProperty
-> RepublishActionHeadersProperty -> Bool
$c/= :: RepublishActionHeadersProperty
-> RepublishActionHeadersProperty -> Bool
/= :: RepublishActionHeadersProperty
-> RepublishActionHeadersProperty -> Bool
Prelude.Eq, Int -> RepublishActionHeadersProperty -> ShowS
[RepublishActionHeadersProperty] -> ShowS
RepublishActionHeadersProperty -> String
(Int -> RepublishActionHeadersProperty -> ShowS)
-> (RepublishActionHeadersProperty -> String)
-> ([RepublishActionHeadersProperty] -> ShowS)
-> Show RepublishActionHeadersProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RepublishActionHeadersProperty -> ShowS
showsPrec :: Int -> RepublishActionHeadersProperty -> ShowS
$cshow :: RepublishActionHeadersProperty -> String
show :: RepublishActionHeadersProperty -> String
$cshowList :: [RepublishActionHeadersProperty] -> ShowS
showList :: [RepublishActionHeadersProperty] -> ShowS
Prelude.Show)
mkRepublishActionHeadersProperty :: RepublishActionHeadersProperty
= RepublishActionHeadersProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), contentType :: Maybe (Value Text)
contentType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
correlationData :: Maybe (Value Text)
correlationData = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, messageExpiry :: Maybe (Value Text)
messageExpiry = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
payloadFormatIndicator :: Maybe (Value Text)
payloadFormatIndicator = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
responseTopic :: Maybe (Value Text)
responseTopic = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, userProperties :: Maybe [UserPropertyProperty]
userProperties = Maybe [UserPropertyProperty]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties RepublishActionHeadersProperty where
toResourceProperties :: RepublishActionHeadersProperty -> ResourceProperties
toResourceProperties RepublishActionHeadersProperty {Maybe [UserPropertyProperty]
Maybe (Value Text)
()
haddock_workaround_ :: RepublishActionHeadersProperty -> ()
contentType :: RepublishActionHeadersProperty -> Maybe (Value Text)
correlationData :: RepublishActionHeadersProperty -> Maybe (Value Text)
messageExpiry :: RepublishActionHeadersProperty -> Maybe (Value Text)
payloadFormatIndicator :: RepublishActionHeadersProperty -> Maybe (Value Text)
responseTopic :: RepublishActionHeadersProperty -> Maybe (Value Text)
userProperties :: RepublishActionHeadersProperty -> Maybe [UserPropertyProperty]
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
correlationData :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::IoT::TopicRule.RepublishActionHeaders",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([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
"ContentType" (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)
contentType,
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
"CorrelationData" (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)
correlationData,
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
"MessageExpiry" (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)
messageExpiry,
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
"PayloadFormatIndicator"
(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)
payloadFormatIndicator,
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
"ResponseTopic" (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)
responseTopic,
Key -> [UserPropertyProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"UserProperties" ([UserPropertyProperty] -> (Key, Value))
-> Maybe [UserPropertyProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [UserPropertyProperty]
userProperties])}
instance JSON.ToJSON RepublishActionHeadersProperty where
toJSON :: RepublishActionHeadersProperty -> Value
toJSON RepublishActionHeadersProperty {Maybe [UserPropertyProperty]
Maybe (Value Text)
()
haddock_workaround_ :: RepublishActionHeadersProperty -> ()
contentType :: RepublishActionHeadersProperty -> Maybe (Value Text)
correlationData :: RepublishActionHeadersProperty -> Maybe (Value Text)
messageExpiry :: RepublishActionHeadersProperty -> Maybe (Value Text)
payloadFormatIndicator :: RepublishActionHeadersProperty -> Maybe (Value Text)
responseTopic :: RepublishActionHeadersProperty -> Maybe (Value Text)
userProperties :: RepublishActionHeadersProperty -> Maybe [UserPropertyProperty]
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
correlationData :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([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
"ContentType" (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)
contentType,
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
"CorrelationData" (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)
correlationData,
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
"MessageExpiry" (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)
messageExpiry,
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
"PayloadFormatIndicator"
(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)
payloadFormatIndicator,
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
"ResponseTopic" (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)
responseTopic,
Key -> [UserPropertyProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"UserProperties" ([UserPropertyProperty] -> (Key, Value))
-> Maybe [UserPropertyProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [UserPropertyProperty]
userProperties]))
instance Property "ContentType" RepublishActionHeadersProperty where
type PropertyType "ContentType" RepublishActionHeadersProperty = Value Prelude.Text
set :: PropertyType "ContentType" RepublishActionHeadersProperty
-> RepublishActionHeadersProperty -> RepublishActionHeadersProperty
set PropertyType "ContentType" RepublishActionHeadersProperty
newValue RepublishActionHeadersProperty {Maybe [UserPropertyProperty]
Maybe (Value Text)
()
haddock_workaround_ :: RepublishActionHeadersProperty -> ()
contentType :: RepublishActionHeadersProperty -> Maybe (Value Text)
correlationData :: RepublishActionHeadersProperty -> Maybe (Value Text)
messageExpiry :: RepublishActionHeadersProperty -> Maybe (Value Text)
payloadFormatIndicator :: RepublishActionHeadersProperty -> Maybe (Value Text)
responseTopic :: RepublishActionHeadersProperty -> Maybe (Value Text)
userProperties :: RepublishActionHeadersProperty -> Maybe [UserPropertyProperty]
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
correlationData :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
..}
= RepublishActionHeadersProperty
{contentType :: Maybe (Value Text)
contentType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ContentType" RepublishActionHeadersProperty
Value Text
newValue, Maybe [UserPropertyProperty]
Maybe (Value Text)
()
haddock_workaround_ :: ()
correlationData :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
haddock_workaround_ :: ()
correlationData :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
..}
instance Property "CorrelationData" RepublishActionHeadersProperty where
type PropertyType "CorrelationData" RepublishActionHeadersProperty = Value Prelude.Text
set :: PropertyType "CorrelationData" RepublishActionHeadersProperty
-> RepublishActionHeadersProperty -> RepublishActionHeadersProperty
set PropertyType "CorrelationData" RepublishActionHeadersProperty
newValue RepublishActionHeadersProperty {Maybe [UserPropertyProperty]
Maybe (Value Text)
()
haddock_workaround_ :: RepublishActionHeadersProperty -> ()
contentType :: RepublishActionHeadersProperty -> Maybe (Value Text)
correlationData :: RepublishActionHeadersProperty -> Maybe (Value Text)
messageExpiry :: RepublishActionHeadersProperty -> Maybe (Value Text)
payloadFormatIndicator :: RepublishActionHeadersProperty -> Maybe (Value Text)
responseTopic :: RepublishActionHeadersProperty -> Maybe (Value Text)
userProperties :: RepublishActionHeadersProperty -> Maybe [UserPropertyProperty]
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
correlationData :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
..}
= RepublishActionHeadersProperty
{correlationData :: Maybe (Value Text)
correlationData = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CorrelationData" RepublishActionHeadersProperty
Value Text
newValue, Maybe [UserPropertyProperty]
Maybe (Value Text)
()
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
..}
instance Property "MessageExpiry" RepublishActionHeadersProperty where
type PropertyType "MessageExpiry" RepublishActionHeadersProperty = Value Prelude.Text
set :: PropertyType "MessageExpiry" RepublishActionHeadersProperty
-> RepublishActionHeadersProperty -> RepublishActionHeadersProperty
set PropertyType "MessageExpiry" RepublishActionHeadersProperty
newValue RepublishActionHeadersProperty {Maybe [UserPropertyProperty]
Maybe (Value Text)
()
haddock_workaround_ :: RepublishActionHeadersProperty -> ()
contentType :: RepublishActionHeadersProperty -> Maybe (Value Text)
correlationData :: RepublishActionHeadersProperty -> Maybe (Value Text)
messageExpiry :: RepublishActionHeadersProperty -> Maybe (Value Text)
payloadFormatIndicator :: RepublishActionHeadersProperty -> Maybe (Value Text)
responseTopic :: RepublishActionHeadersProperty -> Maybe (Value Text)
userProperties :: RepublishActionHeadersProperty -> Maybe [UserPropertyProperty]
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
correlationData :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
..}
= RepublishActionHeadersProperty
{messageExpiry :: Maybe (Value Text)
messageExpiry = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MessageExpiry" RepublishActionHeadersProperty
Value Text
newValue, Maybe [UserPropertyProperty]
Maybe (Value Text)
()
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
correlationData :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
correlationData :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
..}
instance Property "PayloadFormatIndicator" RepublishActionHeadersProperty where
type PropertyType "PayloadFormatIndicator" RepublishActionHeadersProperty = Value Prelude.Text
set :: PropertyType
"PayloadFormatIndicator" RepublishActionHeadersProperty
-> RepublishActionHeadersProperty -> RepublishActionHeadersProperty
set PropertyType
"PayloadFormatIndicator" RepublishActionHeadersProperty
newValue RepublishActionHeadersProperty {Maybe [UserPropertyProperty]
Maybe (Value Text)
()
haddock_workaround_ :: RepublishActionHeadersProperty -> ()
contentType :: RepublishActionHeadersProperty -> Maybe (Value Text)
correlationData :: RepublishActionHeadersProperty -> Maybe (Value Text)
messageExpiry :: RepublishActionHeadersProperty -> Maybe (Value Text)
payloadFormatIndicator :: RepublishActionHeadersProperty -> Maybe (Value Text)
responseTopic :: RepublishActionHeadersProperty -> Maybe (Value Text)
userProperties :: RepublishActionHeadersProperty -> Maybe [UserPropertyProperty]
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
correlationData :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
..}
= RepublishActionHeadersProperty
{payloadFormatIndicator :: Maybe (Value Text)
payloadFormatIndicator = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"PayloadFormatIndicator" RepublishActionHeadersProperty
Value Text
newValue, Maybe [UserPropertyProperty]
Maybe (Value Text)
()
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
correlationData :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
correlationData :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
..}
instance Property "ResponseTopic" RepublishActionHeadersProperty where
type PropertyType "ResponseTopic" RepublishActionHeadersProperty = Value Prelude.Text
set :: PropertyType "ResponseTopic" RepublishActionHeadersProperty
-> RepublishActionHeadersProperty -> RepublishActionHeadersProperty
set PropertyType "ResponseTopic" RepublishActionHeadersProperty
newValue RepublishActionHeadersProperty {Maybe [UserPropertyProperty]
Maybe (Value Text)
()
haddock_workaround_ :: RepublishActionHeadersProperty -> ()
contentType :: RepublishActionHeadersProperty -> Maybe (Value Text)
correlationData :: RepublishActionHeadersProperty -> Maybe (Value Text)
messageExpiry :: RepublishActionHeadersProperty -> Maybe (Value Text)
payloadFormatIndicator :: RepublishActionHeadersProperty -> Maybe (Value Text)
responseTopic :: RepublishActionHeadersProperty -> Maybe (Value Text)
userProperties :: RepublishActionHeadersProperty -> Maybe [UserPropertyProperty]
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
correlationData :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
..}
= RepublishActionHeadersProperty
{responseTopic :: Maybe (Value Text)
responseTopic = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ResponseTopic" RepublishActionHeadersProperty
Value Text
newValue, Maybe [UserPropertyProperty]
Maybe (Value Text)
()
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
correlationData :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
correlationData :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
..}
instance Property "UserProperties" RepublishActionHeadersProperty where
type PropertyType "UserProperties" RepublishActionHeadersProperty = [UserPropertyProperty]
set :: PropertyType "UserProperties" RepublishActionHeadersProperty
-> RepublishActionHeadersProperty -> RepublishActionHeadersProperty
set PropertyType "UserProperties" RepublishActionHeadersProperty
newValue RepublishActionHeadersProperty {Maybe [UserPropertyProperty]
Maybe (Value Text)
()
haddock_workaround_ :: RepublishActionHeadersProperty -> ()
contentType :: RepublishActionHeadersProperty -> Maybe (Value Text)
correlationData :: RepublishActionHeadersProperty -> Maybe (Value Text)
messageExpiry :: RepublishActionHeadersProperty -> Maybe (Value Text)
payloadFormatIndicator :: RepublishActionHeadersProperty -> Maybe (Value Text)
responseTopic :: RepublishActionHeadersProperty -> Maybe (Value Text)
userProperties :: RepublishActionHeadersProperty -> Maybe [UserPropertyProperty]
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
correlationData :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
userProperties :: Maybe [UserPropertyProperty]
..}
= RepublishActionHeadersProperty
{userProperties :: Maybe [UserPropertyProperty]
userProperties = [UserPropertyProperty] -> Maybe [UserPropertyProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [UserPropertyProperty]
PropertyType "UserProperties" RepublishActionHeadersProperty
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
correlationData :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
haddock_workaround_ :: ()
contentType :: Maybe (Value Text)
correlationData :: Maybe (Value Text)
messageExpiry :: Maybe (Value Text)
payloadFormatIndicator :: Maybe (Value Text)
responseTopic :: Maybe (Value Text)
..}