module Stratosphere.CloudFront.DistributionTenant (
        module Exports, DistributionTenant(..), mkDistributionTenant
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.CloudFront.DistributionTenant.CustomizationsProperty as Exports
import {-# SOURCE #-} Stratosphere.CloudFront.DistributionTenant.ManagedCertificateRequestProperty as Exports
import {-# SOURCE #-} Stratosphere.CloudFront.DistributionTenant.ParameterProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data DistributionTenant
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html>
    DistributionTenant {DistributionTenant -> ()
haddock_workaround_ :: (),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-connectiongroupid>
                        DistributionTenant -> Maybe (Value Text)
connectionGroupId :: (Prelude.Maybe (Value Prelude.Text)),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-customizations>
                        DistributionTenant -> Maybe CustomizationsProperty
customizations :: (Prelude.Maybe CustomizationsProperty),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-distributionid>
                        DistributionTenant -> Value Text
distributionId :: (Value Prelude.Text),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-domains>
                        DistributionTenant -> ValueList Text
domains :: (ValueList Prelude.Text),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-enabled>
                        DistributionTenant -> Maybe (Value Bool)
enabled :: (Prelude.Maybe (Value Prelude.Bool)),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-managedcertificaterequest>
                        DistributionTenant -> Maybe ManagedCertificateRequestProperty
managedCertificateRequest :: (Prelude.Maybe ManagedCertificateRequestProperty),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-name>
                        DistributionTenant -> Value Text
name :: (Value Prelude.Text),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-parameters>
                        DistributionTenant -> Maybe [ParameterProperty]
parameters :: (Prelude.Maybe [ParameterProperty]),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-tags>
                        DistributionTenant -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
  deriving stock (DistributionTenant -> DistributionTenant -> Bool
(DistributionTenant -> DistributionTenant -> Bool)
-> (DistributionTenant -> DistributionTenant -> Bool)
-> Eq DistributionTenant
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DistributionTenant -> DistributionTenant -> Bool
== :: DistributionTenant -> DistributionTenant -> Bool
$c/= :: DistributionTenant -> DistributionTenant -> Bool
/= :: DistributionTenant -> DistributionTenant -> Bool
Prelude.Eq, Int -> DistributionTenant -> ShowS
[DistributionTenant] -> ShowS
DistributionTenant -> String
(Int -> DistributionTenant -> ShowS)
-> (DistributionTenant -> String)
-> ([DistributionTenant] -> ShowS)
-> Show DistributionTenant
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DistributionTenant -> ShowS
showsPrec :: Int -> DistributionTenant -> ShowS
$cshow :: DistributionTenant -> String
show :: DistributionTenant -> String
$cshowList :: [DistributionTenant] -> ShowS
showList :: [DistributionTenant] -> ShowS
Prelude.Show)
mkDistributionTenant ::
  Value Prelude.Text
  -> ValueList Prelude.Text
     -> Value Prelude.Text -> DistributionTenant
mkDistributionTenant :: Value Text -> ValueList Text -> Value Text -> DistributionTenant
mkDistributionTenant Value Text
distributionId ValueList Text
domains Value Text
name
  = DistributionTenant
      {haddock_workaround_ :: ()
haddock_workaround_ = (), distributionId :: Value Text
distributionId = Value Text
distributionId,
       domains :: ValueList Text
domains = ValueList Text
domains, name :: Value Text
name = Value Text
name,
       connectionGroupId :: Maybe (Value Text)
connectionGroupId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       customizations :: Maybe CustomizationsProperty
customizations = Maybe CustomizationsProperty
forall a. Maybe a
Prelude.Nothing, enabled :: Maybe (Value Bool)
enabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
managedCertificateRequest = Maybe ManagedCertificateRequestProperty
forall a. Maybe a
Prelude.Nothing,
       parameters :: Maybe [ParameterProperty]
parameters = Maybe [ParameterProperty]
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties DistributionTenant where
  toResourceProperties :: DistributionTenant -> ResourceProperties
toResourceProperties DistributionTenant {Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: DistributionTenant -> ()
connectionGroupId :: DistributionTenant -> Maybe (Value Text)
customizations :: DistributionTenant -> Maybe CustomizationsProperty
distributionId :: DistributionTenant -> Value Text
domains :: DistributionTenant -> ValueList Text
enabled :: DistributionTenant -> Maybe (Value Bool)
managedCertificateRequest :: DistributionTenant -> Maybe ManagedCertificateRequestProperty
name :: DistributionTenant -> Value Text
parameters :: DistributionTenant -> Maybe [ParameterProperty]
tags :: DistributionTenant -> Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::CloudFront::DistributionTenant",
         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
"DistributionId" 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
distributionId,
                            Key
"Domains" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
domains, Key
"Name" 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
name]
                           ([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
"ConnectionGroupId" (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)
connectionGroupId,
                               Key -> CustomizationsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Customizations" (CustomizationsProperty -> (Key, Value))
-> Maybe CustomizationsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CustomizationsProperty
customizations,
                               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Enabled" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enabled,
                               Key -> ManagedCertificateRequestProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ManagedCertificateRequest"
                                 (ManagedCertificateRequestProperty -> (Key, Value))
-> Maybe ManagedCertificateRequestProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ManagedCertificateRequestProperty
managedCertificateRequest,
                               Key -> [ParameterProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Parameters" ([ParameterProperty] -> (Key, Value))
-> Maybe [ParameterProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ParameterProperty]
parameters,
                               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 DistributionTenant where
  toJSON :: DistributionTenant -> Value
toJSON DistributionTenant {Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: DistributionTenant -> ()
connectionGroupId :: DistributionTenant -> Maybe (Value Text)
customizations :: DistributionTenant -> Maybe CustomizationsProperty
distributionId :: DistributionTenant -> Value Text
domains :: DistributionTenant -> ValueList Text
enabled :: DistributionTenant -> Maybe (Value Bool)
managedCertificateRequest :: DistributionTenant -> Maybe ManagedCertificateRequestProperty
name :: DistributionTenant -> Value Text
parameters :: DistributionTenant -> Maybe [ParameterProperty]
tags :: DistributionTenant -> Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
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
"DistributionId" 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
distributionId,
               Key
"Domains" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
domains, Key
"Name" 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
name]
              ([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
"ConnectionGroupId" (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)
connectionGroupId,
                  Key -> CustomizationsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Customizations" (CustomizationsProperty -> (Key, Value))
-> Maybe CustomizationsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CustomizationsProperty
customizations,
                  Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Enabled" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enabled,
                  Key -> ManagedCertificateRequestProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ManagedCertificateRequest"
                    (ManagedCertificateRequestProperty -> (Key, Value))
-> Maybe ManagedCertificateRequestProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ManagedCertificateRequestProperty
managedCertificateRequest,
                  Key -> [ParameterProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Parameters" ([ParameterProperty] -> (Key, Value))
-> Maybe [ParameterProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ParameterProperty]
parameters,
                  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 "ConnectionGroupId" DistributionTenant where
  type PropertyType "ConnectionGroupId" DistributionTenant = Value Prelude.Text
  set :: PropertyType "ConnectionGroupId" DistributionTenant
-> DistributionTenant -> DistributionTenant
set PropertyType "ConnectionGroupId" DistributionTenant
newValue DistributionTenant {Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: DistributionTenant -> ()
connectionGroupId :: DistributionTenant -> Maybe (Value Text)
customizations :: DistributionTenant -> Maybe CustomizationsProperty
distributionId :: DistributionTenant -> Value Text
domains :: DistributionTenant -> ValueList Text
enabled :: DistributionTenant -> Maybe (Value Bool)
managedCertificateRequest :: DistributionTenant -> Maybe ManagedCertificateRequestProperty
name :: DistributionTenant -> Value Text
parameters :: DistributionTenant -> Maybe [ParameterProperty]
tags :: DistributionTenant -> Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
..}
    = DistributionTenant
        {connectionGroupId :: Maybe (Value Text)
connectionGroupId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ConnectionGroupId" DistributionTenant
Value Text
newValue, Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
..}
instance Property "Customizations" DistributionTenant where
  type PropertyType "Customizations" DistributionTenant = CustomizationsProperty
  set :: PropertyType "Customizations" DistributionTenant
-> DistributionTenant -> DistributionTenant
set PropertyType "Customizations" DistributionTenant
newValue DistributionTenant {Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: DistributionTenant -> ()
connectionGroupId :: DistributionTenant -> Maybe (Value Text)
customizations :: DistributionTenant -> Maybe CustomizationsProperty
distributionId :: DistributionTenant -> Value Text
domains :: DistributionTenant -> ValueList Text
enabled :: DistributionTenant -> Maybe (Value Bool)
managedCertificateRequest :: DistributionTenant -> Maybe ManagedCertificateRequestProperty
name :: DistributionTenant -> Value Text
parameters :: DistributionTenant -> Maybe [ParameterProperty]
tags :: DistributionTenant -> Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
..}
    = DistributionTenant {customizations :: Maybe CustomizationsProperty
customizations = CustomizationsProperty -> Maybe CustomizationsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Customizations" DistributionTenant
CustomizationsProperty
newValue, Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
..}
instance Property "DistributionId" DistributionTenant where
  type PropertyType "DistributionId" DistributionTenant = Value Prelude.Text
  set :: PropertyType "DistributionId" DistributionTenant
-> DistributionTenant -> DistributionTenant
set PropertyType "DistributionId" DistributionTenant
newValue DistributionTenant {Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: DistributionTenant -> ()
connectionGroupId :: DistributionTenant -> Maybe (Value Text)
customizations :: DistributionTenant -> Maybe CustomizationsProperty
distributionId :: DistributionTenant -> Value Text
domains :: DistributionTenant -> ValueList Text
enabled :: DistributionTenant -> Maybe (Value Bool)
managedCertificateRequest :: DistributionTenant -> Maybe ManagedCertificateRequestProperty
name :: DistributionTenant -> Value Text
parameters :: DistributionTenant -> Maybe [ParameterProperty]
tags :: DistributionTenant -> Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
..}
    = DistributionTenant {distributionId :: Value Text
distributionId = PropertyType "DistributionId" DistributionTenant
Value Text
newValue, Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
..}
instance Property "Domains" DistributionTenant where
  type PropertyType "Domains" DistributionTenant = ValueList Prelude.Text
  set :: PropertyType "Domains" DistributionTenant
-> DistributionTenant -> DistributionTenant
set PropertyType "Domains" DistributionTenant
newValue DistributionTenant {Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: DistributionTenant -> ()
connectionGroupId :: DistributionTenant -> Maybe (Value Text)
customizations :: DistributionTenant -> Maybe CustomizationsProperty
distributionId :: DistributionTenant -> Value Text
domains :: DistributionTenant -> ValueList Text
enabled :: DistributionTenant -> Maybe (Value Bool)
managedCertificateRequest :: DistributionTenant -> Maybe ManagedCertificateRequestProperty
name :: DistributionTenant -> Value Text
parameters :: DistributionTenant -> Maybe [ParameterProperty]
tags :: DistributionTenant -> Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
..}
    = DistributionTenant {domains :: ValueList Text
domains = PropertyType "Domains" DistributionTenant
ValueList Text
newValue, Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
Value Text
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
..}
instance Property "Enabled" DistributionTenant where
  type PropertyType "Enabled" DistributionTenant = Value Prelude.Bool
  set :: PropertyType "Enabled" DistributionTenant
-> DistributionTenant -> DistributionTenant
set PropertyType "Enabled" DistributionTenant
newValue DistributionTenant {Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: DistributionTenant -> ()
connectionGroupId :: DistributionTenant -> Maybe (Value Text)
customizations :: DistributionTenant -> Maybe CustomizationsProperty
distributionId :: DistributionTenant -> Value Text
domains :: DistributionTenant -> ValueList Text
enabled :: DistributionTenant -> Maybe (Value Bool)
managedCertificateRequest :: DistributionTenant -> Maybe ManagedCertificateRequestProperty
name :: DistributionTenant -> Value Text
parameters :: DistributionTenant -> Maybe [ParameterProperty]
tags :: DistributionTenant -> Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
..}
    = DistributionTenant {enabled :: Maybe (Value Bool)
enabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Enabled" DistributionTenant
Value Bool
newValue, Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
..}
instance Property "ManagedCertificateRequest" DistributionTenant where
  type PropertyType "ManagedCertificateRequest" DistributionTenant = ManagedCertificateRequestProperty
  set :: PropertyType "ManagedCertificateRequest" DistributionTenant
-> DistributionTenant -> DistributionTenant
set PropertyType "ManagedCertificateRequest" DistributionTenant
newValue DistributionTenant {Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: DistributionTenant -> ()
connectionGroupId :: DistributionTenant -> Maybe (Value Text)
customizations :: DistributionTenant -> Maybe CustomizationsProperty
distributionId :: DistributionTenant -> Value Text
domains :: DistributionTenant -> ValueList Text
enabled :: DistributionTenant -> Maybe (Value Bool)
managedCertificateRequest :: DistributionTenant -> Maybe ManagedCertificateRequestProperty
name :: DistributionTenant -> Value Text
parameters :: DistributionTenant -> Maybe [ParameterProperty]
tags :: DistributionTenant -> Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
..}
    = DistributionTenant
        {managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
managedCertificateRequest = ManagedCertificateRequestProperty
-> Maybe ManagedCertificateRequestProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ManagedCertificateRequest" DistributionTenant
ManagedCertificateRequestProperty
newValue, Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
..}
instance Property "Name" DistributionTenant where
  type PropertyType "Name" DistributionTenant = Value Prelude.Text
  set :: PropertyType "Name" DistributionTenant
-> DistributionTenant -> DistributionTenant
set PropertyType "Name" DistributionTenant
newValue DistributionTenant {Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: DistributionTenant -> ()
connectionGroupId :: DistributionTenant -> Maybe (Value Text)
customizations :: DistributionTenant -> Maybe CustomizationsProperty
distributionId :: DistributionTenant -> Value Text
domains :: DistributionTenant -> ValueList Text
enabled :: DistributionTenant -> Maybe (Value Bool)
managedCertificateRequest :: DistributionTenant -> Maybe ManagedCertificateRequestProperty
name :: DistributionTenant -> Value Text
parameters :: DistributionTenant -> Maybe [ParameterProperty]
tags :: DistributionTenant -> Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
..}
    = DistributionTenant {name :: Value Text
name = PropertyType "Name" DistributionTenant
Value Text
newValue, Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
..}
instance Property "Parameters" DistributionTenant where
  type PropertyType "Parameters" DistributionTenant = [ParameterProperty]
  set :: PropertyType "Parameters" DistributionTenant
-> DistributionTenant -> DistributionTenant
set PropertyType "Parameters" DistributionTenant
newValue DistributionTenant {Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: DistributionTenant -> ()
connectionGroupId :: DistributionTenant -> Maybe (Value Text)
customizations :: DistributionTenant -> Maybe CustomizationsProperty
distributionId :: DistributionTenant -> Value Text
domains :: DistributionTenant -> ValueList Text
enabled :: DistributionTenant -> Maybe (Value Bool)
managedCertificateRequest :: DistributionTenant -> Maybe ManagedCertificateRequestProperty
name :: DistributionTenant -> Value Text
parameters :: DistributionTenant -> Maybe [ParameterProperty]
tags :: DistributionTenant -> Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
..}
    = DistributionTenant {parameters :: Maybe [ParameterProperty]
parameters = [ParameterProperty] -> Maybe [ParameterProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [ParameterProperty]
PropertyType "Parameters" DistributionTenant
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
tags :: Maybe [Tag]
..}
instance Property "Tags" DistributionTenant where
  type PropertyType "Tags" DistributionTenant = [Tag]
  set :: PropertyType "Tags" DistributionTenant
-> DistributionTenant -> DistributionTenant
set PropertyType "Tags" DistributionTenant
newValue DistributionTenant {Maybe [Tag]
Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: DistributionTenant -> ()
connectionGroupId :: DistributionTenant -> Maybe (Value Text)
customizations :: DistributionTenant -> Maybe CustomizationsProperty
distributionId :: DistributionTenant -> Value Text
domains :: DistributionTenant -> ValueList Text
enabled :: DistributionTenant -> Maybe (Value Bool)
managedCertificateRequest :: DistributionTenant -> Maybe ManagedCertificateRequestProperty
name :: DistributionTenant -> Value Text
parameters :: DistributionTenant -> Maybe [ParameterProperty]
tags :: DistributionTenant -> Maybe [Tag]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
tags :: Maybe [Tag]
..}
    = DistributionTenant {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" DistributionTenant
newValue, Maybe [ParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ManagedCertificateRequestProperty
Maybe CustomizationsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
haddock_workaround_ :: ()
connectionGroupId :: Maybe (Value Text)
customizations :: Maybe CustomizationsProperty
distributionId :: Value Text
domains :: ValueList Text
enabled :: Maybe (Value Bool)
managedCertificateRequest :: Maybe ManagedCertificateRequestProperty
name :: Value Text
parameters :: Maybe [ParameterProperty]
..}