module Stratosphere.Logs.DeliveryDestination (
        module Exports, DeliveryDestination(..), mkDeliveryDestination
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Logs.DeliveryDestination.DestinationPolicyProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data DeliveryDestination
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html>
    DeliveryDestination {DeliveryDestination -> ()
haddock_workaround_ :: (),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html#cfn-logs-deliverydestination-deliverydestinationpolicy>
                         DeliveryDestination -> Maybe DestinationPolicyProperty
deliveryDestinationPolicy :: (Prelude.Maybe DestinationPolicyProperty),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html#cfn-logs-deliverydestination-deliverydestinationtype>
                         DeliveryDestination -> Maybe (Value Text)
deliveryDestinationType :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html#cfn-logs-deliverydestination-destinationresourcearn>
                         DeliveryDestination -> Maybe (Value Text)
destinationResourceArn :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html#cfn-logs-deliverydestination-name>
                         DeliveryDestination -> Value Text
name :: (Value Prelude.Text),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html#cfn-logs-deliverydestination-outputformat>
                         DeliveryDestination -> Maybe (Value Text)
outputFormat :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html#cfn-logs-deliverydestination-tags>
                         DeliveryDestination -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
  deriving stock (DeliveryDestination -> DeliveryDestination -> Bool
(DeliveryDestination -> DeliveryDestination -> Bool)
-> (DeliveryDestination -> DeliveryDestination -> Bool)
-> Eq DeliveryDestination
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DeliveryDestination -> DeliveryDestination -> Bool
== :: DeliveryDestination -> DeliveryDestination -> Bool
$c/= :: DeliveryDestination -> DeliveryDestination -> Bool
/= :: DeliveryDestination -> DeliveryDestination -> Bool
Prelude.Eq, Int -> DeliveryDestination -> ShowS
[DeliveryDestination] -> ShowS
DeliveryDestination -> String
(Int -> DeliveryDestination -> ShowS)
-> (DeliveryDestination -> String)
-> ([DeliveryDestination] -> ShowS)
-> Show DeliveryDestination
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DeliveryDestination -> ShowS
showsPrec :: Int -> DeliveryDestination -> ShowS
$cshow :: DeliveryDestination -> String
show :: DeliveryDestination -> String
$cshowList :: [DeliveryDestination] -> ShowS
showList :: [DeliveryDestination] -> ShowS
Prelude.Show)
mkDeliveryDestination :: Value Prelude.Text -> DeliveryDestination
mkDeliveryDestination :: Value Text -> DeliveryDestination
mkDeliveryDestination Value Text
name
  = DeliveryDestination
      {haddock_workaround_ :: ()
haddock_workaround_ = (), name :: Value Text
name = Value Text
name,
       deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationPolicy = Maybe DestinationPolicyProperty
forall a. Maybe a
Prelude.Nothing,
       deliveryDestinationType :: Maybe (Value Text)
deliveryDestinationType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       destinationResourceArn :: Maybe (Value Text)
destinationResourceArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       outputFormat :: Maybe (Value Text)
outputFormat = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties DeliveryDestination where
  toResourceProperties :: DeliveryDestination -> ResourceProperties
toResourceProperties DeliveryDestination {Maybe [Tag]
Maybe (Value Text)
Maybe DestinationPolicyProperty
()
Value Text
haddock_workaround_ :: DeliveryDestination -> ()
deliveryDestinationPolicy :: DeliveryDestination -> Maybe DestinationPolicyProperty
deliveryDestinationType :: DeliveryDestination -> Maybe (Value Text)
destinationResourceArn :: DeliveryDestination -> Maybe (Value Text)
name :: DeliveryDestination -> Value Text
outputFormat :: DeliveryDestination -> Maybe (Value Text)
tags :: DeliveryDestination -> Maybe [Tag]
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationType :: Maybe (Value Text)
destinationResourceArn :: Maybe (Value Text)
name :: Value Text
outputFormat :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Logs::DeliveryDestination",
         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
"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 -> DestinationPolicyProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DeliveryDestinationPolicy"
                                 (DestinationPolicyProperty -> (Key, Value))
-> Maybe DestinationPolicyProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DestinationPolicyProperty
deliveryDestinationPolicy,
                               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
"DeliveryDestinationType"
                                 (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)
deliveryDestinationType,
                               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
"DestinationResourceArn"
                                 (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)
destinationResourceArn,
                               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
"OutputFormat" (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)
outputFormat,
                               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 DeliveryDestination where
  toJSON :: DeliveryDestination -> Value
toJSON DeliveryDestination {Maybe [Tag]
Maybe (Value Text)
Maybe DestinationPolicyProperty
()
Value Text
haddock_workaround_ :: DeliveryDestination -> ()
deliveryDestinationPolicy :: DeliveryDestination -> Maybe DestinationPolicyProperty
deliveryDestinationType :: DeliveryDestination -> Maybe (Value Text)
destinationResourceArn :: DeliveryDestination -> Maybe (Value Text)
name :: DeliveryDestination -> Value Text
outputFormat :: DeliveryDestination -> Maybe (Value Text)
tags :: DeliveryDestination -> Maybe [Tag]
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationType :: Maybe (Value Text)
destinationResourceArn :: Maybe (Value Text)
name :: Value Text
outputFormat :: Maybe (Value Text)
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
"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 -> DestinationPolicyProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DeliveryDestinationPolicy"
                    (DestinationPolicyProperty -> (Key, Value))
-> Maybe DestinationPolicyProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DestinationPolicyProperty
deliveryDestinationPolicy,
                  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
"DeliveryDestinationType"
                    (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)
deliveryDestinationType,
                  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
"DestinationResourceArn"
                    (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)
destinationResourceArn,
                  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
"OutputFormat" (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)
outputFormat,
                  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 "DeliveryDestinationPolicy" DeliveryDestination where
  type PropertyType "DeliveryDestinationPolicy" DeliveryDestination = DestinationPolicyProperty
  set :: PropertyType "DeliveryDestinationPolicy" DeliveryDestination
-> DeliveryDestination -> DeliveryDestination
set PropertyType "DeliveryDestinationPolicy" DeliveryDestination
newValue DeliveryDestination {Maybe [Tag]
Maybe (Value Text)
Maybe DestinationPolicyProperty
()
Value Text
haddock_workaround_ :: DeliveryDestination -> ()
deliveryDestinationPolicy :: DeliveryDestination -> Maybe DestinationPolicyProperty
deliveryDestinationType :: DeliveryDestination -> Maybe (Value Text)
destinationResourceArn :: DeliveryDestination -> Maybe (Value Text)
name :: DeliveryDestination -> Value Text
outputFormat :: DeliveryDestination -> Maybe (Value Text)
tags :: DeliveryDestination -> Maybe [Tag]
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationType :: Maybe (Value Text)
destinationResourceArn :: Maybe (Value Text)
name :: Value Text
outputFormat :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = DeliveryDestination
        {deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationPolicy = DestinationPolicyProperty -> Maybe DestinationPolicyProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DeliveryDestinationPolicy" DeliveryDestination
DestinationPolicyProperty
newValue, Maybe [Tag]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
deliveryDestinationType :: Maybe (Value Text)
destinationResourceArn :: Maybe (Value Text)
name :: Value Text
outputFormat :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deliveryDestinationType :: Maybe (Value Text)
destinationResourceArn :: Maybe (Value Text)
name :: Value Text
outputFormat :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "DeliveryDestinationType" DeliveryDestination where
  type PropertyType "DeliveryDestinationType" DeliveryDestination = Value Prelude.Text
  set :: PropertyType "DeliveryDestinationType" DeliveryDestination
-> DeliveryDestination -> DeliveryDestination
set PropertyType "DeliveryDestinationType" DeliveryDestination
newValue DeliveryDestination {Maybe [Tag]
Maybe (Value Text)
Maybe DestinationPolicyProperty
()
Value Text
haddock_workaround_ :: DeliveryDestination -> ()
deliveryDestinationPolicy :: DeliveryDestination -> Maybe DestinationPolicyProperty
deliveryDestinationType :: DeliveryDestination -> Maybe (Value Text)
destinationResourceArn :: DeliveryDestination -> Maybe (Value Text)
name :: DeliveryDestination -> Value Text
outputFormat :: DeliveryDestination -> Maybe (Value Text)
tags :: DeliveryDestination -> Maybe [Tag]
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationType :: Maybe (Value Text)
destinationResourceArn :: Maybe (Value Text)
name :: Value Text
outputFormat :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = DeliveryDestination
        {deliveryDestinationType :: Maybe (Value Text)
deliveryDestinationType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DeliveryDestinationType" DeliveryDestination
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe DestinationPolicyProperty
()
Value Text
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
destinationResourceArn :: Maybe (Value Text)
name :: Value Text
outputFormat :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
destinationResourceArn :: Maybe (Value Text)
name :: Value Text
outputFormat :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "DestinationResourceArn" DeliveryDestination where
  type PropertyType "DestinationResourceArn" DeliveryDestination = Value Prelude.Text
  set :: PropertyType "DestinationResourceArn" DeliveryDestination
-> DeliveryDestination -> DeliveryDestination
set PropertyType "DestinationResourceArn" DeliveryDestination
newValue DeliveryDestination {Maybe [Tag]
Maybe (Value Text)
Maybe DestinationPolicyProperty
()
Value Text
haddock_workaround_ :: DeliveryDestination -> ()
deliveryDestinationPolicy :: DeliveryDestination -> Maybe DestinationPolicyProperty
deliveryDestinationType :: DeliveryDestination -> Maybe (Value Text)
destinationResourceArn :: DeliveryDestination -> Maybe (Value Text)
name :: DeliveryDestination -> Value Text
outputFormat :: DeliveryDestination -> Maybe (Value Text)
tags :: DeliveryDestination -> Maybe [Tag]
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationType :: Maybe (Value Text)
destinationResourceArn :: Maybe (Value Text)
name :: Value Text
outputFormat :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = DeliveryDestination
        {destinationResourceArn :: Maybe (Value Text)
destinationResourceArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DestinationResourceArn" DeliveryDestination
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe DestinationPolicyProperty
()
Value Text
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationType :: Maybe (Value Text)
name :: Value Text
outputFormat :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationType :: Maybe (Value Text)
name :: Value Text
outputFormat :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Name" DeliveryDestination where
  type PropertyType "Name" DeliveryDestination = Value Prelude.Text
  set :: PropertyType "Name" DeliveryDestination
-> DeliveryDestination -> DeliveryDestination
set PropertyType "Name" DeliveryDestination
newValue DeliveryDestination {Maybe [Tag]
Maybe (Value Text)
Maybe DestinationPolicyProperty
()
Value Text
haddock_workaround_ :: DeliveryDestination -> ()
deliveryDestinationPolicy :: DeliveryDestination -> Maybe DestinationPolicyProperty
deliveryDestinationType :: DeliveryDestination -> Maybe (Value Text)
destinationResourceArn :: DeliveryDestination -> Maybe (Value Text)
name :: DeliveryDestination -> Value Text
outputFormat :: DeliveryDestination -> Maybe (Value Text)
tags :: DeliveryDestination -> Maybe [Tag]
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationType :: Maybe (Value Text)
destinationResourceArn :: Maybe (Value Text)
name :: Value Text
outputFormat :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = DeliveryDestination {name :: Value Text
name = PropertyType "Name" DeliveryDestination
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe DestinationPolicyProperty
()
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationType :: Maybe (Value Text)
destinationResourceArn :: Maybe (Value Text)
outputFormat :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationType :: Maybe (Value Text)
destinationResourceArn :: Maybe (Value Text)
outputFormat :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "OutputFormat" DeliveryDestination where
  type PropertyType "OutputFormat" DeliveryDestination = Value Prelude.Text
  set :: PropertyType "OutputFormat" DeliveryDestination
-> DeliveryDestination -> DeliveryDestination
set PropertyType "OutputFormat" DeliveryDestination
newValue DeliveryDestination {Maybe [Tag]
Maybe (Value Text)
Maybe DestinationPolicyProperty
()
Value Text
haddock_workaround_ :: DeliveryDestination -> ()
deliveryDestinationPolicy :: DeliveryDestination -> Maybe DestinationPolicyProperty
deliveryDestinationType :: DeliveryDestination -> Maybe (Value Text)
destinationResourceArn :: DeliveryDestination -> Maybe (Value Text)
name :: DeliveryDestination -> Value Text
outputFormat :: DeliveryDestination -> Maybe (Value Text)
tags :: DeliveryDestination -> Maybe [Tag]
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationType :: Maybe (Value Text)
destinationResourceArn :: Maybe (Value Text)
name :: Value Text
outputFormat :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = DeliveryDestination {outputFormat :: Maybe (Value Text)
outputFormat = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OutputFormat" DeliveryDestination
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe DestinationPolicyProperty
()
Value Text
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationType :: Maybe (Value Text)
destinationResourceArn :: Maybe (Value Text)
name :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationType :: Maybe (Value Text)
destinationResourceArn :: Maybe (Value Text)
name :: Value Text
tags :: Maybe [Tag]
..}
instance Property "Tags" DeliveryDestination where
  type PropertyType "Tags" DeliveryDestination = [Tag]
  set :: PropertyType "Tags" DeliveryDestination
-> DeliveryDestination -> DeliveryDestination
set PropertyType "Tags" DeliveryDestination
newValue DeliveryDestination {Maybe [Tag]
Maybe (Value Text)
Maybe DestinationPolicyProperty
()
Value Text
haddock_workaround_ :: DeliveryDestination -> ()
deliveryDestinationPolicy :: DeliveryDestination -> Maybe DestinationPolicyProperty
deliveryDestinationType :: DeliveryDestination -> Maybe (Value Text)
destinationResourceArn :: DeliveryDestination -> Maybe (Value Text)
name :: DeliveryDestination -> Value Text
outputFormat :: DeliveryDestination -> Maybe (Value Text)
tags :: DeliveryDestination -> Maybe [Tag]
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationType :: Maybe (Value Text)
destinationResourceArn :: Maybe (Value Text)
name :: Value Text
outputFormat :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = DeliveryDestination {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" DeliveryDestination
newValue, Maybe (Value Text)
Maybe DestinationPolicyProperty
()
Value Text
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationType :: Maybe (Value Text)
destinationResourceArn :: Maybe (Value Text)
name :: Value Text
outputFormat :: Maybe (Value Text)
haddock_workaround_ :: ()
deliveryDestinationPolicy :: Maybe DestinationPolicyProperty
deliveryDestinationType :: Maybe (Value Text)
destinationResourceArn :: Maybe (Value Text)
name :: Value Text
outputFormat :: Maybe (Value Text)
..}