module Stratosphere.Pipes.Pipe.PipeLogConfigurationProperty (
        module Exports, PipeLogConfigurationProperty(..),
        mkPipeLogConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Pipes.Pipe.CloudwatchLogsLogDestinationProperty as Exports
import {-# SOURCE #-} Stratosphere.Pipes.Pipe.FirehoseLogDestinationProperty as Exports
import {-# SOURCE #-} Stratosphere.Pipes.Pipe.S3LogDestinationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data PipeLogConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipelogconfiguration.html>
    PipeLogConfigurationProperty {PipeLogConfigurationProperty -> ()
haddock_workaround_ :: (),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipelogconfiguration.html#cfn-pipes-pipe-pipelogconfiguration-cloudwatchlogslogdestination>
                                  PipeLogConfigurationProperty
-> Maybe CloudwatchLogsLogDestinationProperty
cloudwatchLogsLogDestination :: (Prelude.Maybe CloudwatchLogsLogDestinationProperty),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipelogconfiguration.html#cfn-pipes-pipe-pipelogconfiguration-firehoselogdestination>
                                  PipeLogConfigurationProperty
-> Maybe FirehoseLogDestinationProperty
firehoseLogDestination :: (Prelude.Maybe FirehoseLogDestinationProperty),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipelogconfiguration.html#cfn-pipes-pipe-pipelogconfiguration-includeexecutiondata>
                                  PipeLogConfigurationProperty -> Maybe (ValueList Text)
includeExecutionData :: (Prelude.Maybe (ValueList Prelude.Text)),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipelogconfiguration.html#cfn-pipes-pipe-pipelogconfiguration-level>
                                  PipeLogConfigurationProperty -> Maybe (Value Text)
level :: (Prelude.Maybe (Value Prelude.Text)),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipelogconfiguration.html#cfn-pipes-pipe-pipelogconfiguration-s3logdestination>
                                  PipeLogConfigurationProperty -> Maybe S3LogDestinationProperty
s3LogDestination :: (Prelude.Maybe S3LogDestinationProperty)}
  deriving stock (PipeLogConfigurationProperty
-> PipeLogConfigurationProperty -> Bool
(PipeLogConfigurationProperty
 -> PipeLogConfigurationProperty -> Bool)
-> (PipeLogConfigurationProperty
    -> PipeLogConfigurationProperty -> Bool)
-> Eq PipeLogConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: PipeLogConfigurationProperty
-> PipeLogConfigurationProperty -> Bool
== :: PipeLogConfigurationProperty
-> PipeLogConfigurationProperty -> Bool
$c/= :: PipeLogConfigurationProperty
-> PipeLogConfigurationProperty -> Bool
/= :: PipeLogConfigurationProperty
-> PipeLogConfigurationProperty -> Bool
Prelude.Eq, Int -> PipeLogConfigurationProperty -> ShowS
[PipeLogConfigurationProperty] -> ShowS
PipeLogConfigurationProperty -> String
(Int -> PipeLogConfigurationProperty -> ShowS)
-> (PipeLogConfigurationProperty -> String)
-> ([PipeLogConfigurationProperty] -> ShowS)
-> Show PipeLogConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> PipeLogConfigurationProperty -> ShowS
showsPrec :: Int -> PipeLogConfigurationProperty -> ShowS
$cshow :: PipeLogConfigurationProperty -> String
show :: PipeLogConfigurationProperty -> String
$cshowList :: [PipeLogConfigurationProperty] -> ShowS
showList :: [PipeLogConfigurationProperty] -> ShowS
Prelude.Show)
mkPipeLogConfigurationProperty :: PipeLogConfigurationProperty
mkPipeLogConfigurationProperty :: PipeLogConfigurationProperty
mkPipeLogConfigurationProperty
  = PipeLogConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       cloudwatchLogsLogDestination :: Maybe CloudwatchLogsLogDestinationProperty
cloudwatchLogsLogDestination = Maybe CloudwatchLogsLogDestinationProperty
forall a. Maybe a
Prelude.Nothing,
       firehoseLogDestination :: Maybe FirehoseLogDestinationProperty
firehoseLogDestination = Maybe FirehoseLogDestinationProperty
forall a. Maybe a
Prelude.Nothing,
       includeExecutionData :: Maybe (ValueList Text)
includeExecutionData = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, level :: Maybe (Value Text)
level = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       s3LogDestination :: Maybe S3LogDestinationProperty
s3LogDestination = Maybe S3LogDestinationProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties PipeLogConfigurationProperty where
  toResourceProperties :: PipeLogConfigurationProperty -> ResourceProperties
toResourceProperties PipeLogConfigurationProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe CloudwatchLogsLogDestinationProperty
Maybe FirehoseLogDestinationProperty
Maybe S3LogDestinationProperty
()
haddock_workaround_ :: PipeLogConfigurationProperty -> ()
cloudwatchLogsLogDestination :: PipeLogConfigurationProperty
-> Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: PipeLogConfigurationProperty
-> Maybe FirehoseLogDestinationProperty
includeExecutionData :: PipeLogConfigurationProperty -> Maybe (ValueList Text)
level :: PipeLogConfigurationProperty -> Maybe (Value Text)
s3LogDestination :: PipeLogConfigurationProperty -> Maybe S3LogDestinationProperty
haddock_workaround_ :: ()
cloudwatchLogsLogDestination :: Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: Maybe FirehoseLogDestinationProperty
includeExecutionData :: Maybe (ValueList Text)
level :: Maybe (Value Text)
s3LogDestination :: Maybe S3LogDestinationProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Pipes::Pipe.PipeLogConfiguration",
         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 -> CloudwatchLogsLogDestinationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CloudwatchLogsLogDestination"
                              (CloudwatchLogsLogDestinationProperty -> (Key, Value))
-> Maybe CloudwatchLogsLogDestinationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CloudwatchLogsLogDestinationProperty
cloudwatchLogsLogDestination,
                            Key -> FirehoseLogDestinationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FirehoseLogDestination"
                              (FirehoseLogDestinationProperty -> (Key, Value))
-> Maybe FirehoseLogDestinationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FirehoseLogDestinationProperty
firehoseLogDestination,
                            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..=) Key
"IncludeExecutionData" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
includeExecutionData,
                            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
"Level" (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)
level,
                            Key -> S3LogDestinationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"S3LogDestination" (S3LogDestinationProperty -> (Key, Value))
-> Maybe S3LogDestinationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe S3LogDestinationProperty
s3LogDestination])}
instance JSON.ToJSON PipeLogConfigurationProperty where
  toJSON :: PipeLogConfigurationProperty -> Value
toJSON PipeLogConfigurationProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe CloudwatchLogsLogDestinationProperty
Maybe FirehoseLogDestinationProperty
Maybe S3LogDestinationProperty
()
haddock_workaround_ :: PipeLogConfigurationProperty -> ()
cloudwatchLogsLogDestination :: PipeLogConfigurationProperty
-> Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: PipeLogConfigurationProperty
-> Maybe FirehoseLogDestinationProperty
includeExecutionData :: PipeLogConfigurationProperty -> Maybe (ValueList Text)
level :: PipeLogConfigurationProperty -> Maybe (Value Text)
s3LogDestination :: PipeLogConfigurationProperty -> Maybe S3LogDestinationProperty
haddock_workaround_ :: ()
cloudwatchLogsLogDestination :: Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: Maybe FirehoseLogDestinationProperty
includeExecutionData :: Maybe (ValueList Text)
level :: Maybe (Value Text)
s3LogDestination :: Maybe S3LogDestinationProperty
..}
    = [(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 -> CloudwatchLogsLogDestinationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CloudwatchLogsLogDestination"
                 (CloudwatchLogsLogDestinationProperty -> (Key, Value))
-> Maybe CloudwatchLogsLogDestinationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CloudwatchLogsLogDestinationProperty
cloudwatchLogsLogDestination,
               Key -> FirehoseLogDestinationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FirehoseLogDestination"
                 (FirehoseLogDestinationProperty -> (Key, Value))
-> Maybe FirehoseLogDestinationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FirehoseLogDestinationProperty
firehoseLogDestination,
               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..=) Key
"IncludeExecutionData" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
includeExecutionData,
               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
"Level" (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)
level,
               Key -> S3LogDestinationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"S3LogDestination" (S3LogDestinationProperty -> (Key, Value))
-> Maybe S3LogDestinationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe S3LogDestinationProperty
s3LogDestination]))
instance Property "CloudwatchLogsLogDestination" PipeLogConfigurationProperty where
  type PropertyType "CloudwatchLogsLogDestination" PipeLogConfigurationProperty = CloudwatchLogsLogDestinationProperty
  set :: PropertyType
  "CloudwatchLogsLogDestination" PipeLogConfigurationProperty
-> PipeLogConfigurationProperty -> PipeLogConfigurationProperty
set PropertyType
  "CloudwatchLogsLogDestination" PipeLogConfigurationProperty
newValue PipeLogConfigurationProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe CloudwatchLogsLogDestinationProperty
Maybe FirehoseLogDestinationProperty
Maybe S3LogDestinationProperty
()
haddock_workaround_ :: PipeLogConfigurationProperty -> ()
cloudwatchLogsLogDestination :: PipeLogConfigurationProperty
-> Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: PipeLogConfigurationProperty
-> Maybe FirehoseLogDestinationProperty
includeExecutionData :: PipeLogConfigurationProperty -> Maybe (ValueList Text)
level :: PipeLogConfigurationProperty -> Maybe (Value Text)
s3LogDestination :: PipeLogConfigurationProperty -> Maybe S3LogDestinationProperty
haddock_workaround_ :: ()
cloudwatchLogsLogDestination :: Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: Maybe FirehoseLogDestinationProperty
includeExecutionData :: Maybe (ValueList Text)
level :: Maybe (Value Text)
s3LogDestination :: Maybe S3LogDestinationProperty
..}
    = PipeLogConfigurationProperty
        {cloudwatchLogsLogDestination :: Maybe CloudwatchLogsLogDestinationProperty
cloudwatchLogsLogDestination = CloudwatchLogsLogDestinationProperty
-> Maybe CloudwatchLogsLogDestinationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "CloudwatchLogsLogDestination" PipeLogConfigurationProperty
CloudwatchLogsLogDestinationProperty
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe FirehoseLogDestinationProperty
Maybe S3LogDestinationProperty
()
haddock_workaround_ :: ()
firehoseLogDestination :: Maybe FirehoseLogDestinationProperty
includeExecutionData :: Maybe (ValueList Text)
level :: Maybe (Value Text)
s3LogDestination :: Maybe S3LogDestinationProperty
haddock_workaround_ :: ()
firehoseLogDestination :: Maybe FirehoseLogDestinationProperty
includeExecutionData :: Maybe (ValueList Text)
level :: Maybe (Value Text)
s3LogDestination :: Maybe S3LogDestinationProperty
..}
instance Property "FirehoseLogDestination" PipeLogConfigurationProperty where
  type PropertyType "FirehoseLogDestination" PipeLogConfigurationProperty = FirehoseLogDestinationProperty
  set :: PropertyType "FirehoseLogDestination" PipeLogConfigurationProperty
-> PipeLogConfigurationProperty -> PipeLogConfigurationProperty
set PropertyType "FirehoseLogDestination" PipeLogConfigurationProperty
newValue PipeLogConfigurationProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe CloudwatchLogsLogDestinationProperty
Maybe FirehoseLogDestinationProperty
Maybe S3LogDestinationProperty
()
haddock_workaround_ :: PipeLogConfigurationProperty -> ()
cloudwatchLogsLogDestination :: PipeLogConfigurationProperty
-> Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: PipeLogConfigurationProperty
-> Maybe FirehoseLogDestinationProperty
includeExecutionData :: PipeLogConfigurationProperty -> Maybe (ValueList Text)
level :: PipeLogConfigurationProperty -> Maybe (Value Text)
s3LogDestination :: PipeLogConfigurationProperty -> Maybe S3LogDestinationProperty
haddock_workaround_ :: ()
cloudwatchLogsLogDestination :: Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: Maybe FirehoseLogDestinationProperty
includeExecutionData :: Maybe (ValueList Text)
level :: Maybe (Value Text)
s3LogDestination :: Maybe S3LogDestinationProperty
..}
    = PipeLogConfigurationProperty
        {firehoseLogDestination :: Maybe FirehoseLogDestinationProperty
firehoseLogDestination = FirehoseLogDestinationProperty
-> Maybe FirehoseLogDestinationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FirehoseLogDestination" PipeLogConfigurationProperty
FirehoseLogDestinationProperty
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe CloudwatchLogsLogDestinationProperty
Maybe S3LogDestinationProperty
()
haddock_workaround_ :: ()
cloudwatchLogsLogDestination :: Maybe CloudwatchLogsLogDestinationProperty
includeExecutionData :: Maybe (ValueList Text)
level :: Maybe (Value Text)
s3LogDestination :: Maybe S3LogDestinationProperty
haddock_workaround_ :: ()
cloudwatchLogsLogDestination :: Maybe CloudwatchLogsLogDestinationProperty
includeExecutionData :: Maybe (ValueList Text)
level :: Maybe (Value Text)
s3LogDestination :: Maybe S3LogDestinationProperty
..}
instance Property "IncludeExecutionData" PipeLogConfigurationProperty where
  type PropertyType "IncludeExecutionData" PipeLogConfigurationProperty = ValueList Prelude.Text
  set :: PropertyType "IncludeExecutionData" PipeLogConfigurationProperty
-> PipeLogConfigurationProperty -> PipeLogConfigurationProperty
set PropertyType "IncludeExecutionData" PipeLogConfigurationProperty
newValue PipeLogConfigurationProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe CloudwatchLogsLogDestinationProperty
Maybe FirehoseLogDestinationProperty
Maybe S3LogDestinationProperty
()
haddock_workaround_ :: PipeLogConfigurationProperty -> ()
cloudwatchLogsLogDestination :: PipeLogConfigurationProperty
-> Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: PipeLogConfigurationProperty
-> Maybe FirehoseLogDestinationProperty
includeExecutionData :: PipeLogConfigurationProperty -> Maybe (ValueList Text)
level :: PipeLogConfigurationProperty -> Maybe (Value Text)
s3LogDestination :: PipeLogConfigurationProperty -> Maybe S3LogDestinationProperty
haddock_workaround_ :: ()
cloudwatchLogsLogDestination :: Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: Maybe FirehoseLogDestinationProperty
includeExecutionData :: Maybe (ValueList Text)
level :: Maybe (Value Text)
s3LogDestination :: Maybe S3LogDestinationProperty
..}
    = PipeLogConfigurationProperty
        {includeExecutionData :: Maybe (ValueList Text)
includeExecutionData = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IncludeExecutionData" PipeLogConfigurationProperty
ValueList Text
newValue, Maybe (Value Text)
Maybe CloudwatchLogsLogDestinationProperty
Maybe FirehoseLogDestinationProperty
Maybe S3LogDestinationProperty
()
haddock_workaround_ :: ()
cloudwatchLogsLogDestination :: Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: Maybe FirehoseLogDestinationProperty
level :: Maybe (Value Text)
s3LogDestination :: Maybe S3LogDestinationProperty
haddock_workaround_ :: ()
cloudwatchLogsLogDestination :: Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: Maybe FirehoseLogDestinationProperty
level :: Maybe (Value Text)
s3LogDestination :: Maybe S3LogDestinationProperty
..}
instance Property "Level" PipeLogConfigurationProperty where
  type PropertyType "Level" PipeLogConfigurationProperty = Value Prelude.Text
  set :: PropertyType "Level" PipeLogConfigurationProperty
-> PipeLogConfigurationProperty -> PipeLogConfigurationProperty
set PropertyType "Level" PipeLogConfigurationProperty
newValue PipeLogConfigurationProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe CloudwatchLogsLogDestinationProperty
Maybe FirehoseLogDestinationProperty
Maybe S3LogDestinationProperty
()
haddock_workaround_ :: PipeLogConfigurationProperty -> ()
cloudwatchLogsLogDestination :: PipeLogConfigurationProperty
-> Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: PipeLogConfigurationProperty
-> Maybe FirehoseLogDestinationProperty
includeExecutionData :: PipeLogConfigurationProperty -> Maybe (ValueList Text)
level :: PipeLogConfigurationProperty -> Maybe (Value Text)
s3LogDestination :: PipeLogConfigurationProperty -> Maybe S3LogDestinationProperty
haddock_workaround_ :: ()
cloudwatchLogsLogDestination :: Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: Maybe FirehoseLogDestinationProperty
includeExecutionData :: Maybe (ValueList Text)
level :: Maybe (Value Text)
s3LogDestination :: Maybe S3LogDestinationProperty
..}
    = PipeLogConfigurationProperty {level :: Maybe (Value Text)
level = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Level" PipeLogConfigurationProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe CloudwatchLogsLogDestinationProperty
Maybe FirehoseLogDestinationProperty
Maybe S3LogDestinationProperty
()
haddock_workaround_ :: ()
cloudwatchLogsLogDestination :: Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: Maybe FirehoseLogDestinationProperty
includeExecutionData :: Maybe (ValueList Text)
s3LogDestination :: Maybe S3LogDestinationProperty
haddock_workaround_ :: ()
cloudwatchLogsLogDestination :: Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: Maybe FirehoseLogDestinationProperty
includeExecutionData :: Maybe (ValueList Text)
s3LogDestination :: Maybe S3LogDestinationProperty
..}
instance Property "S3LogDestination" PipeLogConfigurationProperty where
  type PropertyType "S3LogDestination" PipeLogConfigurationProperty = S3LogDestinationProperty
  set :: PropertyType "S3LogDestination" PipeLogConfigurationProperty
-> PipeLogConfigurationProperty -> PipeLogConfigurationProperty
set PropertyType "S3LogDestination" PipeLogConfigurationProperty
newValue PipeLogConfigurationProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe CloudwatchLogsLogDestinationProperty
Maybe FirehoseLogDestinationProperty
Maybe S3LogDestinationProperty
()
haddock_workaround_ :: PipeLogConfigurationProperty -> ()
cloudwatchLogsLogDestination :: PipeLogConfigurationProperty
-> Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: PipeLogConfigurationProperty
-> Maybe FirehoseLogDestinationProperty
includeExecutionData :: PipeLogConfigurationProperty -> Maybe (ValueList Text)
level :: PipeLogConfigurationProperty -> Maybe (Value Text)
s3LogDestination :: PipeLogConfigurationProperty -> Maybe S3LogDestinationProperty
haddock_workaround_ :: ()
cloudwatchLogsLogDestination :: Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: Maybe FirehoseLogDestinationProperty
includeExecutionData :: Maybe (ValueList Text)
level :: Maybe (Value Text)
s3LogDestination :: Maybe S3LogDestinationProperty
..}
    = PipeLogConfigurationProperty
        {s3LogDestination :: Maybe S3LogDestinationProperty
s3LogDestination = S3LogDestinationProperty -> Maybe S3LogDestinationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "S3LogDestination" PipeLogConfigurationProperty
S3LogDestinationProperty
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe CloudwatchLogsLogDestinationProperty
Maybe FirehoseLogDestinationProperty
()
haddock_workaround_ :: ()
cloudwatchLogsLogDestination :: Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: Maybe FirehoseLogDestinationProperty
includeExecutionData :: Maybe (ValueList Text)
level :: Maybe (Value Text)
haddock_workaround_ :: ()
cloudwatchLogsLogDestination :: Maybe CloudwatchLogsLogDestinationProperty
firehoseLogDestination :: Maybe FirehoseLogDestinationProperty
includeExecutionData :: Maybe (ValueList Text)
level :: Maybe (Value Text)
..}