module Stratosphere.CustomerProfiles.Domain (
module Exports, Domain(..), mkDomain
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.CustomerProfiles.Domain.MatchingProperty as Exports
import {-# SOURCE #-} Stratosphere.CustomerProfiles.Domain.RuleBasedMatchingProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Domain
=
Domain {Domain -> ()
haddock_workaround_ :: (),
Domain -> Maybe (Value Text)
deadLetterQueueUrl :: (Prelude.Maybe (Value Prelude.Text)),
Domain -> Maybe (Value Text)
defaultEncryptionKey :: (Prelude.Maybe (Value Prelude.Text)),
Domain -> Value Integer
defaultExpirationDays :: (Value Prelude.Integer),
Domain -> Value Text
domainName :: (Value Prelude.Text),
Domain -> Maybe MatchingProperty
matching :: (Prelude.Maybe MatchingProperty),
Domain -> Maybe RuleBasedMatchingProperty
ruleBasedMatching :: (Prelude.Maybe RuleBasedMatchingProperty),
Domain -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
deriving stock (Domain -> Domain -> Bool
(Domain -> Domain -> Bool)
-> (Domain -> Domain -> Bool) -> Eq Domain
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Domain -> Domain -> Bool
== :: Domain -> Domain -> Bool
$c/= :: Domain -> Domain -> Bool
/= :: Domain -> Domain -> Bool
Prelude.Eq, Int -> Domain -> ShowS
[Domain] -> ShowS
Domain -> String
(Int -> Domain -> ShowS)
-> (Domain -> String) -> ([Domain] -> ShowS) -> Show Domain
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Domain -> ShowS
showsPrec :: Int -> Domain -> ShowS
$cshow :: Domain -> String
show :: Domain -> String
$cshowList :: [Domain] -> ShowS
showList :: [Domain] -> ShowS
Prelude.Show)
mkDomain :: Value Prelude.Integer -> Value Prelude.Text -> Domain
mkDomain :: Value Integer -> Value Text -> Domain
mkDomain Value Integer
defaultExpirationDays Value Text
domainName
= Domain
{haddock_workaround_ :: ()
haddock_workaround_ = (),
defaultExpirationDays :: Value Integer
defaultExpirationDays = Value Integer
defaultExpirationDays,
domainName :: Value Text
domainName = Value Text
domainName, deadLetterQueueUrl :: Maybe (Value Text)
deadLetterQueueUrl = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
defaultEncryptionKey :: Maybe (Value Text)
defaultEncryptionKey = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, matching :: Maybe MatchingProperty
matching = Maybe MatchingProperty
forall a. Maybe a
Prelude.Nothing,
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
ruleBasedMatching = Maybe RuleBasedMatchingProperty
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Domain where
toResourceProperties :: Domain -> ResourceProperties
toResourceProperties Domain {Maybe [Tag]
Maybe (Value Text)
Maybe RuleBasedMatchingProperty
Maybe MatchingProperty
()
Value Integer
Value Text
haddock_workaround_ :: Domain -> ()
deadLetterQueueUrl :: Domain -> Maybe (Value Text)
defaultEncryptionKey :: Domain -> Maybe (Value Text)
defaultExpirationDays :: Domain -> Value Integer
domainName :: Domain -> Value Text
matching :: Domain -> Maybe MatchingProperty
ruleBasedMatching :: Domain -> Maybe RuleBasedMatchingProperty
tags :: Domain -> Maybe [Tag]
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::CustomerProfiles::Domain",
supportsTags :: Bool
supportsTags = Bool
Prelude.True,
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
"DefaultExpirationDays" Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Integer
defaultExpirationDays,
Key
"DomainName" 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
domainName]
([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
"DeadLetterQueueUrl" (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)
deadLetterQueueUrl,
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
"DefaultEncryptionKey" (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)
defaultEncryptionKey,
Key -> MatchingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Matching" (MatchingProperty -> (Key, Value))
-> Maybe MatchingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MatchingProperty
matching,
Key -> RuleBasedMatchingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RuleBasedMatching" (RuleBasedMatchingProperty -> (Key, Value))
-> Maybe RuleBasedMatchingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RuleBasedMatchingProperty
ruleBasedMatching,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags]))}
instance JSON.ToJSON Domain where
toJSON :: Domain -> Value
toJSON Domain {Maybe [Tag]
Maybe (Value Text)
Maybe RuleBasedMatchingProperty
Maybe MatchingProperty
()
Value Integer
Value Text
haddock_workaround_ :: Domain -> ()
deadLetterQueueUrl :: Domain -> Maybe (Value Text)
defaultEncryptionKey :: Domain -> Maybe (Value Text)
defaultExpirationDays :: Domain -> Value Integer
domainName :: Domain -> Value Text
matching :: Domain -> Maybe MatchingProperty
ruleBasedMatching :: Domain -> Maybe RuleBasedMatchingProperty
tags :: Domain -> Maybe [Tag]
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
..}
= [(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
"DefaultExpirationDays" Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Integer
defaultExpirationDays,
Key
"DomainName" 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
domainName]
([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
"DeadLetterQueueUrl" (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)
deadLetterQueueUrl,
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
"DefaultEncryptionKey" (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)
defaultEncryptionKey,
Key -> MatchingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Matching" (MatchingProperty -> (Key, Value))
-> Maybe MatchingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MatchingProperty
matching,
Key -> RuleBasedMatchingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RuleBasedMatching" (RuleBasedMatchingProperty -> (Key, Value))
-> Maybe RuleBasedMatchingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RuleBasedMatchingProperty
ruleBasedMatching,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags])))
instance Property "DeadLetterQueueUrl" Domain where
type PropertyType "DeadLetterQueueUrl" Domain = Value Prelude.Text
set :: PropertyType "DeadLetterQueueUrl" Domain -> Domain -> Domain
set PropertyType "DeadLetterQueueUrl" Domain
newValue Domain {Maybe [Tag]
Maybe (Value Text)
Maybe RuleBasedMatchingProperty
Maybe MatchingProperty
()
Value Integer
Value Text
haddock_workaround_ :: Domain -> ()
deadLetterQueueUrl :: Domain -> Maybe (Value Text)
defaultEncryptionKey :: Domain -> Maybe (Value Text)
defaultExpirationDays :: Domain -> Value Integer
domainName :: Domain -> Value Text
matching :: Domain -> Maybe MatchingProperty
ruleBasedMatching :: Domain -> Maybe RuleBasedMatchingProperty
tags :: Domain -> Maybe [Tag]
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
..}
= Domain {deadLetterQueueUrl :: Maybe (Value Text)
deadLetterQueueUrl = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DeadLetterQueueUrl" Domain
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RuleBasedMatchingProperty
Maybe MatchingProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
..}
instance Property "DefaultEncryptionKey" Domain where
type PropertyType "DefaultEncryptionKey" Domain = Value Prelude.Text
set :: PropertyType "DefaultEncryptionKey" Domain -> Domain -> Domain
set PropertyType "DefaultEncryptionKey" Domain
newValue Domain {Maybe [Tag]
Maybe (Value Text)
Maybe RuleBasedMatchingProperty
Maybe MatchingProperty
()
Value Integer
Value Text
haddock_workaround_ :: Domain -> ()
deadLetterQueueUrl :: Domain -> Maybe (Value Text)
defaultEncryptionKey :: Domain -> Maybe (Value Text)
defaultExpirationDays :: Domain -> Value Integer
domainName :: Domain -> Value Text
matching :: Domain -> Maybe MatchingProperty
ruleBasedMatching :: Domain -> Maybe RuleBasedMatchingProperty
tags :: Domain -> Maybe [Tag]
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
..}
= Domain {defaultEncryptionKey :: Maybe (Value Text)
defaultEncryptionKey = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DefaultEncryptionKey" Domain
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RuleBasedMatchingProperty
Maybe MatchingProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
..}
instance Property "DefaultExpirationDays" Domain where
type PropertyType "DefaultExpirationDays" Domain = Value Prelude.Integer
set :: PropertyType "DefaultExpirationDays" Domain -> Domain -> Domain
set PropertyType "DefaultExpirationDays" Domain
newValue Domain {Maybe [Tag]
Maybe (Value Text)
Maybe RuleBasedMatchingProperty
Maybe MatchingProperty
()
Value Integer
Value Text
haddock_workaround_ :: Domain -> ()
deadLetterQueueUrl :: Domain -> Maybe (Value Text)
defaultEncryptionKey :: Domain -> Maybe (Value Text)
defaultExpirationDays :: Domain -> Value Integer
domainName :: Domain -> Value Text
matching :: Domain -> Maybe MatchingProperty
ruleBasedMatching :: Domain -> Maybe RuleBasedMatchingProperty
tags :: Domain -> Maybe [Tag]
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
..}
= Domain {defaultExpirationDays :: Value Integer
defaultExpirationDays = PropertyType "DefaultExpirationDays" Domain
Value Integer
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RuleBasedMatchingProperty
Maybe MatchingProperty
()
Value Text
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
domainName :: Value Text
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
domainName :: Value Text
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
..}
instance Property "DomainName" Domain where
type PropertyType "DomainName" Domain = Value Prelude.Text
set :: PropertyType "DomainName" Domain -> Domain -> Domain
set PropertyType "DomainName" Domain
newValue Domain {Maybe [Tag]
Maybe (Value Text)
Maybe RuleBasedMatchingProperty
Maybe MatchingProperty
()
Value Integer
Value Text
haddock_workaround_ :: Domain -> ()
deadLetterQueueUrl :: Domain -> Maybe (Value Text)
defaultEncryptionKey :: Domain -> Maybe (Value Text)
defaultExpirationDays :: Domain -> Value Integer
domainName :: Domain -> Value Text
matching :: Domain -> Maybe MatchingProperty
ruleBasedMatching :: Domain -> Maybe RuleBasedMatchingProperty
tags :: Domain -> Maybe [Tag]
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
..} = Domain {domainName :: Value Text
domainName = PropertyType "DomainName" Domain
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RuleBasedMatchingProperty
Maybe MatchingProperty
()
Value Integer
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
..}
instance Property "Matching" Domain where
type PropertyType "Matching" Domain = MatchingProperty
set :: PropertyType "Matching" Domain -> Domain -> Domain
set PropertyType "Matching" Domain
newValue Domain {Maybe [Tag]
Maybe (Value Text)
Maybe RuleBasedMatchingProperty
Maybe MatchingProperty
()
Value Integer
Value Text
haddock_workaround_ :: Domain -> ()
deadLetterQueueUrl :: Domain -> Maybe (Value Text)
defaultEncryptionKey :: Domain -> Maybe (Value Text)
defaultExpirationDays :: Domain -> Value Integer
domainName :: Domain -> Value Text
matching :: Domain -> Maybe MatchingProperty
ruleBasedMatching :: Domain -> Maybe RuleBasedMatchingProperty
tags :: Domain -> Maybe [Tag]
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
..}
= Domain {matching :: Maybe MatchingProperty
matching = MatchingProperty -> Maybe MatchingProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Matching" Domain
MatchingProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RuleBasedMatchingProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
..}
instance Property "RuleBasedMatching" Domain where
type PropertyType "RuleBasedMatching" Domain = RuleBasedMatchingProperty
set :: PropertyType "RuleBasedMatching" Domain -> Domain -> Domain
set PropertyType "RuleBasedMatching" Domain
newValue Domain {Maybe [Tag]
Maybe (Value Text)
Maybe RuleBasedMatchingProperty
Maybe MatchingProperty
()
Value Integer
Value Text
haddock_workaround_ :: Domain -> ()
deadLetterQueueUrl :: Domain -> Maybe (Value Text)
defaultEncryptionKey :: Domain -> Maybe (Value Text)
defaultExpirationDays :: Domain -> Value Integer
domainName :: Domain -> Value Text
matching :: Domain -> Maybe MatchingProperty
ruleBasedMatching :: Domain -> Maybe RuleBasedMatchingProperty
tags :: Domain -> Maybe [Tag]
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
..}
= Domain {ruleBasedMatching :: Maybe RuleBasedMatchingProperty
ruleBasedMatching = RuleBasedMatchingProperty -> Maybe RuleBasedMatchingProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RuleBasedMatching" Domain
RuleBasedMatchingProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe MatchingProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
matching :: Maybe MatchingProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
matching :: Maybe MatchingProperty
tags :: Maybe [Tag]
..}
instance Property "Tags" Domain where
type PropertyType "Tags" Domain = [Tag]
set :: PropertyType "Tags" Domain -> Domain -> Domain
set PropertyType "Tags" Domain
newValue Domain {Maybe [Tag]
Maybe (Value Text)
Maybe RuleBasedMatchingProperty
Maybe MatchingProperty
()
Value Integer
Value Text
haddock_workaround_ :: Domain -> ()
deadLetterQueueUrl :: Domain -> Maybe (Value Text)
defaultEncryptionKey :: Domain -> Maybe (Value Text)
defaultExpirationDays :: Domain -> Value Integer
domainName :: Domain -> Value Text
matching :: Domain -> Maybe MatchingProperty
ruleBasedMatching :: Domain -> Maybe RuleBasedMatchingProperty
tags :: Domain -> Maybe [Tag]
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
tags :: Maybe [Tag]
..}
= Domain {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" Domain
newValue, Maybe (Value Text)
Maybe RuleBasedMatchingProperty
Maybe MatchingProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
haddock_workaround_ :: ()
deadLetterQueueUrl :: Maybe (Value Text)
defaultEncryptionKey :: Maybe (Value Text)
defaultExpirationDays :: Value Integer
domainName :: Value Text
matching :: Maybe MatchingProperty
ruleBasedMatching :: Maybe RuleBasedMatchingProperty
..}