module Stratosphere.KinesisFirehose.DeliveryStream.S3DestinationConfigurationProperty (
module Exports, S3DestinationConfigurationProperty(..),
mkS3DestinationConfigurationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.KinesisFirehose.DeliveryStream.BufferingHintsProperty as Exports
import {-# SOURCE #-} Stratosphere.KinesisFirehose.DeliveryStream.CloudWatchLoggingOptionsProperty as Exports
import {-# SOURCE #-} Stratosphere.KinesisFirehose.DeliveryStream.EncryptionConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data S3DestinationConfigurationProperty
=
S3DestinationConfigurationProperty {S3DestinationConfigurationProperty -> ()
haddock_workaround_ :: (),
S3DestinationConfigurationProperty -> Value Text
bucketARN :: (Value Prelude.Text),
S3DestinationConfigurationProperty -> Maybe BufferingHintsProperty
bufferingHints :: (Prelude.Maybe BufferingHintsProperty),
S3DestinationConfigurationProperty
-> Maybe CloudWatchLoggingOptionsProperty
cloudWatchLoggingOptions :: (Prelude.Maybe CloudWatchLoggingOptionsProperty),
S3DestinationConfigurationProperty -> Maybe (Value Text)
compressionFormat :: (Prelude.Maybe (Value Prelude.Text)),
S3DestinationConfigurationProperty
-> Maybe EncryptionConfigurationProperty
encryptionConfiguration :: (Prelude.Maybe EncryptionConfigurationProperty),
S3DestinationConfigurationProperty -> Maybe (Value Text)
errorOutputPrefix :: (Prelude.Maybe (Value Prelude.Text)),
S3DestinationConfigurationProperty -> Maybe (Value Text)
prefix :: (Prelude.Maybe (Value Prelude.Text)),
S3DestinationConfigurationProperty -> Value Text
roleARN :: (Value Prelude.Text)}
deriving stock (S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty -> Bool
(S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty -> Bool)
-> (S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty -> Bool)
-> Eq S3DestinationConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty -> Bool
== :: S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty -> Bool
$c/= :: S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty -> Bool
/= :: S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty -> Bool
Prelude.Eq, Int -> S3DestinationConfigurationProperty -> ShowS
[S3DestinationConfigurationProperty] -> ShowS
S3DestinationConfigurationProperty -> String
(Int -> S3DestinationConfigurationProperty -> ShowS)
-> (S3DestinationConfigurationProperty -> String)
-> ([S3DestinationConfigurationProperty] -> ShowS)
-> Show S3DestinationConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> S3DestinationConfigurationProperty -> ShowS
showsPrec :: Int -> S3DestinationConfigurationProperty -> ShowS
$cshow :: S3DestinationConfigurationProperty -> String
show :: S3DestinationConfigurationProperty -> String
$cshowList :: [S3DestinationConfigurationProperty] -> ShowS
showList :: [S3DestinationConfigurationProperty] -> ShowS
Prelude.Show)
mkS3DestinationConfigurationProperty ::
Value Prelude.Text
-> Value Prelude.Text -> S3DestinationConfigurationProperty
mkS3DestinationConfigurationProperty :: Value Text -> Value Text -> S3DestinationConfigurationProperty
mkS3DestinationConfigurationProperty Value Text
bucketARN Value Text
roleARN
= S3DestinationConfigurationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), bucketARN :: Value Text
bucketARN = Value Text
bucketARN,
roleARN :: Value Text
roleARN = Value Text
roleARN, bufferingHints :: Maybe BufferingHintsProperty
bufferingHints = Maybe BufferingHintsProperty
forall a. Maybe a
Prelude.Nothing,
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
cloudWatchLoggingOptions = Maybe CloudWatchLoggingOptionsProperty
forall a. Maybe a
Prelude.Nothing,
compressionFormat :: Maybe (Value Text)
compressionFormat = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
encryptionConfiguration = Maybe EncryptionConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
errorOutputPrefix :: Maybe (Value Text)
errorOutputPrefix = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, prefix :: Maybe (Value Text)
prefix = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties S3DestinationConfigurationProperty where
toResourceProperties :: S3DestinationConfigurationProperty -> ResourceProperties
toResourceProperties S3DestinationConfigurationProperty {Maybe (Value Text)
Maybe BufferingHintsProperty
Maybe CloudWatchLoggingOptionsProperty
Maybe EncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: S3DestinationConfigurationProperty -> ()
bucketARN :: S3DestinationConfigurationProperty -> Value Text
bufferingHints :: S3DestinationConfigurationProperty -> Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: S3DestinationConfigurationProperty
-> Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: S3DestinationConfigurationProperty -> Maybe (Value Text)
encryptionConfiguration :: S3DestinationConfigurationProperty
-> Maybe EncryptionConfigurationProperty
errorOutputPrefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
prefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
roleARN :: S3DestinationConfigurationProperty -> Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
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
"BucketARN" 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
bucketARN, Key
"RoleARN" 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
roleARN]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> BufferingHintsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BufferingHints" (BufferingHintsProperty -> (Key, Value))
-> Maybe BufferingHintsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BufferingHintsProperty
bufferingHints,
Key -> CloudWatchLoggingOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CloudWatchLoggingOptions"
(CloudWatchLoggingOptionsProperty -> (Key, Value))
-> Maybe CloudWatchLoggingOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CloudWatchLoggingOptionsProperty
cloudWatchLoggingOptions,
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
"CompressionFormat" (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)
compressionFormat,
Key -> EncryptionConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EncryptionConfiguration"
(EncryptionConfigurationProperty -> (Key, Value))
-> Maybe EncryptionConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe EncryptionConfigurationProperty
encryptionConfiguration,
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
"ErrorOutputPrefix" (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)
errorOutputPrefix,
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
"Prefix" (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)
prefix]))}
instance JSON.ToJSON S3DestinationConfigurationProperty where
toJSON :: S3DestinationConfigurationProperty -> Value
toJSON S3DestinationConfigurationProperty {Maybe (Value Text)
Maybe BufferingHintsProperty
Maybe CloudWatchLoggingOptionsProperty
Maybe EncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: S3DestinationConfigurationProperty -> ()
bucketARN :: S3DestinationConfigurationProperty -> Value Text
bufferingHints :: S3DestinationConfigurationProperty -> Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: S3DestinationConfigurationProperty
-> Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: S3DestinationConfigurationProperty -> Maybe (Value Text)
encryptionConfiguration :: S3DestinationConfigurationProperty
-> Maybe EncryptionConfigurationProperty
errorOutputPrefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
prefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
roleARN :: S3DestinationConfigurationProperty -> Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
..}
= [(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
"BucketARN" 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
bucketARN, Key
"RoleARN" 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
roleARN]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> BufferingHintsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BufferingHints" (BufferingHintsProperty -> (Key, Value))
-> Maybe BufferingHintsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BufferingHintsProperty
bufferingHints,
Key -> CloudWatchLoggingOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CloudWatchLoggingOptions"
(CloudWatchLoggingOptionsProperty -> (Key, Value))
-> Maybe CloudWatchLoggingOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CloudWatchLoggingOptionsProperty
cloudWatchLoggingOptions,
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
"CompressionFormat" (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)
compressionFormat,
Key -> EncryptionConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EncryptionConfiguration"
(EncryptionConfigurationProperty -> (Key, Value))
-> Maybe EncryptionConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe EncryptionConfigurationProperty
encryptionConfiguration,
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
"ErrorOutputPrefix" (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)
errorOutputPrefix,
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
"Prefix" (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)
prefix])))
instance Property "BucketARN" S3DestinationConfigurationProperty where
type PropertyType "BucketARN" S3DestinationConfigurationProperty = Value Prelude.Text
set :: PropertyType "BucketARN" S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty
set PropertyType "BucketARN" S3DestinationConfigurationProperty
newValue S3DestinationConfigurationProperty {Maybe (Value Text)
Maybe BufferingHintsProperty
Maybe CloudWatchLoggingOptionsProperty
Maybe EncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: S3DestinationConfigurationProperty -> ()
bucketARN :: S3DestinationConfigurationProperty -> Value Text
bufferingHints :: S3DestinationConfigurationProperty -> Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: S3DestinationConfigurationProperty
-> Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: S3DestinationConfigurationProperty -> Maybe (Value Text)
encryptionConfiguration :: S3DestinationConfigurationProperty
-> Maybe EncryptionConfigurationProperty
errorOutputPrefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
prefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
roleARN :: S3DestinationConfigurationProperty -> Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
..}
= S3DestinationConfigurationProperty {bucketARN :: Value Text
bucketARN = PropertyType "BucketARN" S3DestinationConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe BufferingHintsProperty
Maybe CloudWatchLoggingOptionsProperty
Maybe EncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
haddock_workaround_ :: ()
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
..}
instance Property "BufferingHints" S3DestinationConfigurationProperty where
type PropertyType "BufferingHints" S3DestinationConfigurationProperty = BufferingHintsProperty
set :: PropertyType "BufferingHints" S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty
set PropertyType "BufferingHints" S3DestinationConfigurationProperty
newValue S3DestinationConfigurationProperty {Maybe (Value Text)
Maybe BufferingHintsProperty
Maybe CloudWatchLoggingOptionsProperty
Maybe EncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: S3DestinationConfigurationProperty -> ()
bucketARN :: S3DestinationConfigurationProperty -> Value Text
bufferingHints :: S3DestinationConfigurationProperty -> Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: S3DestinationConfigurationProperty
-> Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: S3DestinationConfigurationProperty -> Maybe (Value Text)
encryptionConfiguration :: S3DestinationConfigurationProperty
-> Maybe EncryptionConfigurationProperty
errorOutputPrefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
prefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
roleARN :: S3DestinationConfigurationProperty -> Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
..}
= S3DestinationConfigurationProperty
{bufferingHints :: Maybe BufferingHintsProperty
bufferingHints = BufferingHintsProperty -> Maybe BufferingHintsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BufferingHints" S3DestinationConfigurationProperty
BufferingHintsProperty
newValue, Maybe (Value Text)
Maybe CloudWatchLoggingOptionsProperty
Maybe EncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
..}
instance Property "CloudWatchLoggingOptions" S3DestinationConfigurationProperty where
type PropertyType "CloudWatchLoggingOptions" S3DestinationConfigurationProperty = CloudWatchLoggingOptionsProperty
set :: PropertyType
"CloudWatchLoggingOptions" S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty
set PropertyType
"CloudWatchLoggingOptions" S3DestinationConfigurationProperty
newValue S3DestinationConfigurationProperty {Maybe (Value Text)
Maybe BufferingHintsProperty
Maybe CloudWatchLoggingOptionsProperty
Maybe EncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: S3DestinationConfigurationProperty -> ()
bucketARN :: S3DestinationConfigurationProperty -> Value Text
bufferingHints :: S3DestinationConfigurationProperty -> Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: S3DestinationConfigurationProperty
-> Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: S3DestinationConfigurationProperty -> Maybe (Value Text)
encryptionConfiguration :: S3DestinationConfigurationProperty
-> Maybe EncryptionConfigurationProperty
errorOutputPrefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
prefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
roleARN :: S3DestinationConfigurationProperty -> Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
..}
= S3DestinationConfigurationProperty
{cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
cloudWatchLoggingOptions = CloudWatchLoggingOptionsProperty
-> Maybe CloudWatchLoggingOptionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"CloudWatchLoggingOptions" S3DestinationConfigurationProperty
CloudWatchLoggingOptionsProperty
newValue, Maybe (Value Text)
Maybe BufferingHintsProperty
Maybe EncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
..}
instance Property "CompressionFormat" S3DestinationConfigurationProperty where
type PropertyType "CompressionFormat" S3DestinationConfigurationProperty = Value Prelude.Text
set :: PropertyType "CompressionFormat" S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty
set PropertyType "CompressionFormat" S3DestinationConfigurationProperty
newValue S3DestinationConfigurationProperty {Maybe (Value Text)
Maybe BufferingHintsProperty
Maybe CloudWatchLoggingOptionsProperty
Maybe EncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: S3DestinationConfigurationProperty -> ()
bucketARN :: S3DestinationConfigurationProperty -> Value Text
bufferingHints :: S3DestinationConfigurationProperty -> Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: S3DestinationConfigurationProperty
-> Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: S3DestinationConfigurationProperty -> Maybe (Value Text)
encryptionConfiguration :: S3DestinationConfigurationProperty
-> Maybe EncryptionConfigurationProperty
errorOutputPrefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
prefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
roleARN :: S3DestinationConfigurationProperty -> Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
..}
= S3DestinationConfigurationProperty
{compressionFormat :: Maybe (Value Text)
compressionFormat = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CompressionFormat" S3DestinationConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe BufferingHintsProperty
Maybe CloudWatchLoggingOptionsProperty
Maybe EncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
..}
instance Property "EncryptionConfiguration" S3DestinationConfigurationProperty where
type PropertyType "EncryptionConfiguration" S3DestinationConfigurationProperty = EncryptionConfigurationProperty
set :: PropertyType
"EncryptionConfiguration" S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty
set PropertyType
"EncryptionConfiguration" S3DestinationConfigurationProperty
newValue S3DestinationConfigurationProperty {Maybe (Value Text)
Maybe BufferingHintsProperty
Maybe CloudWatchLoggingOptionsProperty
Maybe EncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: S3DestinationConfigurationProperty -> ()
bucketARN :: S3DestinationConfigurationProperty -> Value Text
bufferingHints :: S3DestinationConfigurationProperty -> Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: S3DestinationConfigurationProperty
-> Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: S3DestinationConfigurationProperty -> Maybe (Value Text)
encryptionConfiguration :: S3DestinationConfigurationProperty
-> Maybe EncryptionConfigurationProperty
errorOutputPrefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
prefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
roleARN :: S3DestinationConfigurationProperty -> Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
..}
= S3DestinationConfigurationProperty
{encryptionConfiguration :: Maybe EncryptionConfigurationProperty
encryptionConfiguration = EncryptionConfigurationProperty
-> Maybe EncryptionConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"EncryptionConfiguration" S3DestinationConfigurationProperty
EncryptionConfigurationProperty
newValue, Maybe (Value Text)
Maybe BufferingHintsProperty
Maybe CloudWatchLoggingOptionsProperty
()
Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
..}
instance Property "ErrorOutputPrefix" S3DestinationConfigurationProperty where
type PropertyType "ErrorOutputPrefix" S3DestinationConfigurationProperty = Value Prelude.Text
set :: PropertyType "ErrorOutputPrefix" S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty
set PropertyType "ErrorOutputPrefix" S3DestinationConfigurationProperty
newValue S3DestinationConfigurationProperty {Maybe (Value Text)
Maybe BufferingHintsProperty
Maybe CloudWatchLoggingOptionsProperty
Maybe EncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: S3DestinationConfigurationProperty -> ()
bucketARN :: S3DestinationConfigurationProperty -> Value Text
bufferingHints :: S3DestinationConfigurationProperty -> Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: S3DestinationConfigurationProperty
-> Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: S3DestinationConfigurationProperty -> Maybe (Value Text)
encryptionConfiguration :: S3DestinationConfigurationProperty
-> Maybe EncryptionConfigurationProperty
errorOutputPrefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
prefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
roleARN :: S3DestinationConfigurationProperty -> Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
..}
= S3DestinationConfigurationProperty
{errorOutputPrefix :: Maybe (Value Text)
errorOutputPrefix = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ErrorOutputPrefix" S3DestinationConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe BufferingHintsProperty
Maybe CloudWatchLoggingOptionsProperty
Maybe EncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
prefix :: Maybe (Value Text)
roleARN :: Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
prefix :: Maybe (Value Text)
roleARN :: Value Text
..}
instance Property "Prefix" S3DestinationConfigurationProperty where
type PropertyType "Prefix" S3DestinationConfigurationProperty = Value Prelude.Text
set :: PropertyType "Prefix" S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty
set PropertyType "Prefix" S3DestinationConfigurationProperty
newValue S3DestinationConfigurationProperty {Maybe (Value Text)
Maybe BufferingHintsProperty
Maybe CloudWatchLoggingOptionsProperty
Maybe EncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: S3DestinationConfigurationProperty -> ()
bucketARN :: S3DestinationConfigurationProperty -> Value Text
bufferingHints :: S3DestinationConfigurationProperty -> Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: S3DestinationConfigurationProperty
-> Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: S3DestinationConfigurationProperty -> Maybe (Value Text)
encryptionConfiguration :: S3DestinationConfigurationProperty
-> Maybe EncryptionConfigurationProperty
errorOutputPrefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
prefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
roleARN :: S3DestinationConfigurationProperty -> Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
..}
= S3DestinationConfigurationProperty
{prefix :: Maybe (Value Text)
prefix = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Prefix" S3DestinationConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe BufferingHintsProperty
Maybe CloudWatchLoggingOptionsProperty
Maybe EncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
roleARN :: Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
roleARN :: Value Text
..}
instance Property "RoleARN" S3DestinationConfigurationProperty where
type PropertyType "RoleARN" S3DestinationConfigurationProperty = Value Prelude.Text
set :: PropertyType "RoleARN" S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty
-> S3DestinationConfigurationProperty
set PropertyType "RoleARN" S3DestinationConfigurationProperty
newValue S3DestinationConfigurationProperty {Maybe (Value Text)
Maybe BufferingHintsProperty
Maybe CloudWatchLoggingOptionsProperty
Maybe EncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: S3DestinationConfigurationProperty -> ()
bucketARN :: S3DestinationConfigurationProperty -> Value Text
bufferingHints :: S3DestinationConfigurationProperty -> Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: S3DestinationConfigurationProperty
-> Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: S3DestinationConfigurationProperty -> Maybe (Value Text)
encryptionConfiguration :: S3DestinationConfigurationProperty
-> Maybe EncryptionConfigurationProperty
errorOutputPrefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
prefix :: S3DestinationConfigurationProperty -> Maybe (Value Text)
roleARN :: S3DestinationConfigurationProperty -> Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
roleARN :: Value Text
..}
= S3DestinationConfigurationProperty {roleARN :: Value Text
roleARN = PropertyType "RoleARN" S3DestinationConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe BufferingHintsProperty
Maybe CloudWatchLoggingOptionsProperty
Maybe EncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
haddock_workaround_ :: ()
bucketARN :: Value Text
bufferingHints :: Maybe BufferingHintsProperty
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptionsProperty
compressionFormat :: Maybe (Value Text)
encryptionConfiguration :: Maybe EncryptionConfigurationProperty
errorOutputPrefix :: Maybe (Value Text)
prefix :: Maybe (Value Text)
..}