{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Firehose.Types.ExtendedS3DestinationUpdate where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.Firehose.Types.BufferingHints
import Amazonka.Firehose.Types.CloudWatchLoggingOptions
import Amazonka.Firehose.Types.CompressionFormat
import Amazonka.Firehose.Types.DataFormatConversionConfiguration
import Amazonka.Firehose.Types.DynamicPartitioningConfiguration
import Amazonka.Firehose.Types.EncryptionConfiguration
import Amazonka.Firehose.Types.ProcessingConfiguration
import Amazonka.Firehose.Types.S3BackupMode
import Amazonka.Firehose.Types.S3DestinationUpdate
import qualified Amazonka.Prelude as Prelude
data ExtendedS3DestinationUpdate = ExtendedS3DestinationUpdate'
{
ExtendedS3DestinationUpdate -> Maybe Text
bucketARN :: Prelude.Maybe Prelude.Text,
ExtendedS3DestinationUpdate -> Maybe BufferingHints
bufferingHints :: Prelude.Maybe BufferingHints,
ExtendedS3DestinationUpdate -> Maybe CloudWatchLoggingOptions
cloudWatchLoggingOptions :: Prelude.Maybe CloudWatchLoggingOptions,
ExtendedS3DestinationUpdate -> Maybe CompressionFormat
compressionFormat :: Prelude.Maybe CompressionFormat,
ExtendedS3DestinationUpdate
-> Maybe DataFormatConversionConfiguration
dataFormatConversionConfiguration :: Prelude.Maybe DataFormatConversionConfiguration,
ExtendedS3DestinationUpdate
-> Maybe DynamicPartitioningConfiguration
dynamicPartitioningConfiguration :: Prelude.Maybe DynamicPartitioningConfiguration,
ExtendedS3DestinationUpdate -> Maybe EncryptionConfiguration
encryptionConfiguration :: Prelude.Maybe EncryptionConfiguration,
ExtendedS3DestinationUpdate -> Maybe Text
errorOutputPrefix :: Prelude.Maybe Prelude.Text,
ExtendedS3DestinationUpdate -> Maybe Text
prefix :: Prelude.Maybe Prelude.Text,
ExtendedS3DestinationUpdate -> Maybe ProcessingConfiguration
processingConfiguration :: Prelude.Maybe ProcessingConfiguration,
ExtendedS3DestinationUpdate -> Maybe Text
roleARN :: Prelude.Maybe Prelude.Text,
ExtendedS3DestinationUpdate -> Maybe S3BackupMode
s3BackupMode :: Prelude.Maybe S3BackupMode,
ExtendedS3DestinationUpdate -> Maybe S3DestinationUpdate
s3BackupUpdate :: Prelude.Maybe S3DestinationUpdate
}
deriving (ExtendedS3DestinationUpdate -> ExtendedS3DestinationUpdate -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ExtendedS3DestinationUpdate -> ExtendedS3DestinationUpdate -> Bool
$c/= :: ExtendedS3DestinationUpdate -> ExtendedS3DestinationUpdate -> Bool
== :: ExtendedS3DestinationUpdate -> ExtendedS3DestinationUpdate -> Bool
$c== :: ExtendedS3DestinationUpdate -> ExtendedS3DestinationUpdate -> Bool
Prelude.Eq, ReadPrec [ExtendedS3DestinationUpdate]
ReadPrec ExtendedS3DestinationUpdate
Int -> ReadS ExtendedS3DestinationUpdate
ReadS [ExtendedS3DestinationUpdate]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ExtendedS3DestinationUpdate]
$creadListPrec :: ReadPrec [ExtendedS3DestinationUpdate]
readPrec :: ReadPrec ExtendedS3DestinationUpdate
$creadPrec :: ReadPrec ExtendedS3DestinationUpdate
readList :: ReadS [ExtendedS3DestinationUpdate]
$creadList :: ReadS [ExtendedS3DestinationUpdate]
readsPrec :: Int -> ReadS ExtendedS3DestinationUpdate
$creadsPrec :: Int -> ReadS ExtendedS3DestinationUpdate
Prelude.Read, Int -> ExtendedS3DestinationUpdate -> ShowS
[ExtendedS3DestinationUpdate] -> ShowS
ExtendedS3DestinationUpdate -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ExtendedS3DestinationUpdate] -> ShowS
$cshowList :: [ExtendedS3DestinationUpdate] -> ShowS
show :: ExtendedS3DestinationUpdate -> String
$cshow :: ExtendedS3DestinationUpdate -> String
showsPrec :: Int -> ExtendedS3DestinationUpdate -> ShowS
$cshowsPrec :: Int -> ExtendedS3DestinationUpdate -> ShowS
Prelude.Show, forall x.
Rep ExtendedS3DestinationUpdate x -> ExtendedS3DestinationUpdate
forall x.
ExtendedS3DestinationUpdate -> Rep ExtendedS3DestinationUpdate x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ExtendedS3DestinationUpdate x -> ExtendedS3DestinationUpdate
$cfrom :: forall x.
ExtendedS3DestinationUpdate -> Rep ExtendedS3DestinationUpdate x
Prelude.Generic)
newExtendedS3DestinationUpdate ::
ExtendedS3DestinationUpdate
newExtendedS3DestinationUpdate :: ExtendedS3DestinationUpdate
newExtendedS3DestinationUpdate =
ExtendedS3DestinationUpdate'
{ $sel:bucketARN:ExtendedS3DestinationUpdate' :: Maybe Text
bucketARN =
forall a. Maybe a
Prelude.Nothing,
$sel:bufferingHints:ExtendedS3DestinationUpdate' :: Maybe BufferingHints
bufferingHints = forall a. Maybe a
Prelude.Nothing,
$sel:cloudWatchLoggingOptions:ExtendedS3DestinationUpdate' :: Maybe CloudWatchLoggingOptions
cloudWatchLoggingOptions = forall a. Maybe a
Prelude.Nothing,
$sel:compressionFormat:ExtendedS3DestinationUpdate' :: Maybe CompressionFormat
compressionFormat = forall a. Maybe a
Prelude.Nothing,
$sel:dataFormatConversionConfiguration:ExtendedS3DestinationUpdate' :: Maybe DataFormatConversionConfiguration
dataFormatConversionConfiguration =
forall a. Maybe a
Prelude.Nothing,
$sel:dynamicPartitioningConfiguration:ExtendedS3DestinationUpdate' :: Maybe DynamicPartitioningConfiguration
dynamicPartitioningConfiguration =
forall a. Maybe a
Prelude.Nothing,
$sel:encryptionConfiguration:ExtendedS3DestinationUpdate' :: Maybe EncryptionConfiguration
encryptionConfiguration = forall a. Maybe a
Prelude.Nothing,
$sel:errorOutputPrefix:ExtendedS3DestinationUpdate' :: Maybe Text
errorOutputPrefix = forall a. Maybe a
Prelude.Nothing,
$sel:prefix:ExtendedS3DestinationUpdate' :: Maybe Text
prefix = forall a. Maybe a
Prelude.Nothing,
$sel:processingConfiguration:ExtendedS3DestinationUpdate' :: Maybe ProcessingConfiguration
processingConfiguration = forall a. Maybe a
Prelude.Nothing,
$sel:roleARN:ExtendedS3DestinationUpdate' :: Maybe Text
roleARN = forall a. Maybe a
Prelude.Nothing,
$sel:s3BackupMode:ExtendedS3DestinationUpdate' :: Maybe S3BackupMode
s3BackupMode = forall a. Maybe a
Prelude.Nothing,
$sel:s3BackupUpdate:ExtendedS3DestinationUpdate' :: Maybe S3DestinationUpdate
s3BackupUpdate = forall a. Maybe a
Prelude.Nothing
}
extendedS3DestinationUpdate_bucketARN :: Lens.Lens' ExtendedS3DestinationUpdate (Prelude.Maybe Prelude.Text)
extendedS3DestinationUpdate_bucketARN :: Lens' ExtendedS3DestinationUpdate (Maybe Text)
extendedS3DestinationUpdate_bucketARN = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ExtendedS3DestinationUpdate' {Maybe Text
bucketARN :: Maybe Text
$sel:bucketARN:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe Text
bucketARN} -> Maybe Text
bucketARN) (\s :: ExtendedS3DestinationUpdate
s@ExtendedS3DestinationUpdate' {} Maybe Text
a -> ExtendedS3DestinationUpdate
s {$sel:bucketARN:ExtendedS3DestinationUpdate' :: Maybe Text
bucketARN = Maybe Text
a} :: ExtendedS3DestinationUpdate)
extendedS3DestinationUpdate_bufferingHints :: Lens.Lens' ExtendedS3DestinationUpdate (Prelude.Maybe BufferingHints)
extendedS3DestinationUpdate_bufferingHints :: Lens' ExtendedS3DestinationUpdate (Maybe BufferingHints)
extendedS3DestinationUpdate_bufferingHints = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ExtendedS3DestinationUpdate' {Maybe BufferingHints
bufferingHints :: Maybe BufferingHints
$sel:bufferingHints:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe BufferingHints
bufferingHints} -> Maybe BufferingHints
bufferingHints) (\s :: ExtendedS3DestinationUpdate
s@ExtendedS3DestinationUpdate' {} Maybe BufferingHints
a -> ExtendedS3DestinationUpdate
s {$sel:bufferingHints:ExtendedS3DestinationUpdate' :: Maybe BufferingHints
bufferingHints = Maybe BufferingHints
a} :: ExtendedS3DestinationUpdate)
extendedS3DestinationUpdate_cloudWatchLoggingOptions :: Lens.Lens' ExtendedS3DestinationUpdate (Prelude.Maybe CloudWatchLoggingOptions)
extendedS3DestinationUpdate_cloudWatchLoggingOptions :: Lens' ExtendedS3DestinationUpdate (Maybe CloudWatchLoggingOptions)
extendedS3DestinationUpdate_cloudWatchLoggingOptions = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ExtendedS3DestinationUpdate' {Maybe CloudWatchLoggingOptions
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptions
$sel:cloudWatchLoggingOptions:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe CloudWatchLoggingOptions
cloudWatchLoggingOptions} -> Maybe CloudWatchLoggingOptions
cloudWatchLoggingOptions) (\s :: ExtendedS3DestinationUpdate
s@ExtendedS3DestinationUpdate' {} Maybe CloudWatchLoggingOptions
a -> ExtendedS3DestinationUpdate
s {$sel:cloudWatchLoggingOptions:ExtendedS3DestinationUpdate' :: Maybe CloudWatchLoggingOptions
cloudWatchLoggingOptions = Maybe CloudWatchLoggingOptions
a} :: ExtendedS3DestinationUpdate)
extendedS3DestinationUpdate_compressionFormat :: Lens.Lens' ExtendedS3DestinationUpdate (Prelude.Maybe CompressionFormat)
extendedS3DestinationUpdate_compressionFormat :: Lens' ExtendedS3DestinationUpdate (Maybe CompressionFormat)
extendedS3DestinationUpdate_compressionFormat = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ExtendedS3DestinationUpdate' {Maybe CompressionFormat
compressionFormat :: Maybe CompressionFormat
$sel:compressionFormat:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe CompressionFormat
compressionFormat} -> Maybe CompressionFormat
compressionFormat) (\s :: ExtendedS3DestinationUpdate
s@ExtendedS3DestinationUpdate' {} Maybe CompressionFormat
a -> ExtendedS3DestinationUpdate
s {$sel:compressionFormat:ExtendedS3DestinationUpdate' :: Maybe CompressionFormat
compressionFormat = Maybe CompressionFormat
a} :: ExtendedS3DestinationUpdate)
extendedS3DestinationUpdate_dataFormatConversionConfiguration :: Lens.Lens' ExtendedS3DestinationUpdate (Prelude.Maybe DataFormatConversionConfiguration)
extendedS3DestinationUpdate_dataFormatConversionConfiguration :: Lens'
ExtendedS3DestinationUpdate
(Maybe DataFormatConversionConfiguration)
extendedS3DestinationUpdate_dataFormatConversionConfiguration = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ExtendedS3DestinationUpdate' {Maybe DataFormatConversionConfiguration
dataFormatConversionConfiguration :: Maybe DataFormatConversionConfiguration
$sel:dataFormatConversionConfiguration:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate
-> Maybe DataFormatConversionConfiguration
dataFormatConversionConfiguration} -> Maybe DataFormatConversionConfiguration
dataFormatConversionConfiguration) (\s :: ExtendedS3DestinationUpdate
s@ExtendedS3DestinationUpdate' {} Maybe DataFormatConversionConfiguration
a -> ExtendedS3DestinationUpdate
s {$sel:dataFormatConversionConfiguration:ExtendedS3DestinationUpdate' :: Maybe DataFormatConversionConfiguration
dataFormatConversionConfiguration = Maybe DataFormatConversionConfiguration
a} :: ExtendedS3DestinationUpdate)
extendedS3DestinationUpdate_dynamicPartitioningConfiguration :: Lens.Lens' ExtendedS3DestinationUpdate (Prelude.Maybe DynamicPartitioningConfiguration)
extendedS3DestinationUpdate_dynamicPartitioningConfiguration :: Lens'
ExtendedS3DestinationUpdate
(Maybe DynamicPartitioningConfiguration)
extendedS3DestinationUpdate_dynamicPartitioningConfiguration = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ExtendedS3DestinationUpdate' {Maybe DynamicPartitioningConfiguration
dynamicPartitioningConfiguration :: Maybe DynamicPartitioningConfiguration
$sel:dynamicPartitioningConfiguration:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate
-> Maybe DynamicPartitioningConfiguration
dynamicPartitioningConfiguration} -> Maybe DynamicPartitioningConfiguration
dynamicPartitioningConfiguration) (\s :: ExtendedS3DestinationUpdate
s@ExtendedS3DestinationUpdate' {} Maybe DynamicPartitioningConfiguration
a -> ExtendedS3DestinationUpdate
s {$sel:dynamicPartitioningConfiguration:ExtendedS3DestinationUpdate' :: Maybe DynamicPartitioningConfiguration
dynamicPartitioningConfiguration = Maybe DynamicPartitioningConfiguration
a} :: ExtendedS3DestinationUpdate)
extendedS3DestinationUpdate_encryptionConfiguration :: Lens.Lens' ExtendedS3DestinationUpdate (Prelude.Maybe EncryptionConfiguration)
extendedS3DestinationUpdate_encryptionConfiguration :: Lens' ExtendedS3DestinationUpdate (Maybe EncryptionConfiguration)
extendedS3DestinationUpdate_encryptionConfiguration = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ExtendedS3DestinationUpdate' {Maybe EncryptionConfiguration
encryptionConfiguration :: Maybe EncryptionConfiguration
$sel:encryptionConfiguration:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe EncryptionConfiguration
encryptionConfiguration} -> Maybe EncryptionConfiguration
encryptionConfiguration) (\s :: ExtendedS3DestinationUpdate
s@ExtendedS3DestinationUpdate' {} Maybe EncryptionConfiguration
a -> ExtendedS3DestinationUpdate
s {$sel:encryptionConfiguration:ExtendedS3DestinationUpdate' :: Maybe EncryptionConfiguration
encryptionConfiguration = Maybe EncryptionConfiguration
a} :: ExtendedS3DestinationUpdate)
extendedS3DestinationUpdate_errorOutputPrefix :: Lens.Lens' ExtendedS3DestinationUpdate (Prelude.Maybe Prelude.Text)
extendedS3DestinationUpdate_errorOutputPrefix :: Lens' ExtendedS3DestinationUpdate (Maybe Text)
extendedS3DestinationUpdate_errorOutputPrefix = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ExtendedS3DestinationUpdate' {Maybe Text
errorOutputPrefix :: Maybe Text
$sel:errorOutputPrefix:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe Text
errorOutputPrefix} -> Maybe Text
errorOutputPrefix) (\s :: ExtendedS3DestinationUpdate
s@ExtendedS3DestinationUpdate' {} Maybe Text
a -> ExtendedS3DestinationUpdate
s {$sel:errorOutputPrefix:ExtendedS3DestinationUpdate' :: Maybe Text
errorOutputPrefix = Maybe Text
a} :: ExtendedS3DestinationUpdate)
extendedS3DestinationUpdate_prefix :: Lens.Lens' ExtendedS3DestinationUpdate (Prelude.Maybe Prelude.Text)
extendedS3DestinationUpdate_prefix :: Lens' ExtendedS3DestinationUpdate (Maybe Text)
extendedS3DestinationUpdate_prefix = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ExtendedS3DestinationUpdate' {Maybe Text
prefix :: Maybe Text
$sel:prefix:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe Text
prefix} -> Maybe Text
prefix) (\s :: ExtendedS3DestinationUpdate
s@ExtendedS3DestinationUpdate' {} Maybe Text
a -> ExtendedS3DestinationUpdate
s {$sel:prefix:ExtendedS3DestinationUpdate' :: Maybe Text
prefix = Maybe Text
a} :: ExtendedS3DestinationUpdate)
extendedS3DestinationUpdate_processingConfiguration :: Lens.Lens' ExtendedS3DestinationUpdate (Prelude.Maybe ProcessingConfiguration)
extendedS3DestinationUpdate_processingConfiguration :: Lens' ExtendedS3DestinationUpdate (Maybe ProcessingConfiguration)
extendedS3DestinationUpdate_processingConfiguration = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ExtendedS3DestinationUpdate' {Maybe ProcessingConfiguration
processingConfiguration :: Maybe ProcessingConfiguration
$sel:processingConfiguration:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe ProcessingConfiguration
processingConfiguration} -> Maybe ProcessingConfiguration
processingConfiguration) (\s :: ExtendedS3DestinationUpdate
s@ExtendedS3DestinationUpdate' {} Maybe ProcessingConfiguration
a -> ExtendedS3DestinationUpdate
s {$sel:processingConfiguration:ExtendedS3DestinationUpdate' :: Maybe ProcessingConfiguration
processingConfiguration = Maybe ProcessingConfiguration
a} :: ExtendedS3DestinationUpdate)
extendedS3DestinationUpdate_roleARN :: Lens.Lens' ExtendedS3DestinationUpdate (Prelude.Maybe Prelude.Text)
extendedS3DestinationUpdate_roleARN :: Lens' ExtendedS3DestinationUpdate (Maybe Text)
extendedS3DestinationUpdate_roleARN = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ExtendedS3DestinationUpdate' {Maybe Text
roleARN :: Maybe Text
$sel:roleARN:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe Text
roleARN} -> Maybe Text
roleARN) (\s :: ExtendedS3DestinationUpdate
s@ExtendedS3DestinationUpdate' {} Maybe Text
a -> ExtendedS3DestinationUpdate
s {$sel:roleARN:ExtendedS3DestinationUpdate' :: Maybe Text
roleARN = Maybe Text
a} :: ExtendedS3DestinationUpdate)
extendedS3DestinationUpdate_s3BackupMode :: Lens.Lens' ExtendedS3DestinationUpdate (Prelude.Maybe S3BackupMode)
extendedS3DestinationUpdate_s3BackupMode :: Lens' ExtendedS3DestinationUpdate (Maybe S3BackupMode)
extendedS3DestinationUpdate_s3BackupMode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ExtendedS3DestinationUpdate' {Maybe S3BackupMode
s3BackupMode :: Maybe S3BackupMode
$sel:s3BackupMode:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe S3BackupMode
s3BackupMode} -> Maybe S3BackupMode
s3BackupMode) (\s :: ExtendedS3DestinationUpdate
s@ExtendedS3DestinationUpdate' {} Maybe S3BackupMode
a -> ExtendedS3DestinationUpdate
s {$sel:s3BackupMode:ExtendedS3DestinationUpdate' :: Maybe S3BackupMode
s3BackupMode = Maybe S3BackupMode
a} :: ExtendedS3DestinationUpdate)
extendedS3DestinationUpdate_s3BackupUpdate :: Lens.Lens' ExtendedS3DestinationUpdate (Prelude.Maybe S3DestinationUpdate)
extendedS3DestinationUpdate_s3BackupUpdate :: Lens' ExtendedS3DestinationUpdate (Maybe S3DestinationUpdate)
extendedS3DestinationUpdate_s3BackupUpdate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ExtendedS3DestinationUpdate' {Maybe S3DestinationUpdate
s3BackupUpdate :: Maybe S3DestinationUpdate
$sel:s3BackupUpdate:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe S3DestinationUpdate
s3BackupUpdate} -> Maybe S3DestinationUpdate
s3BackupUpdate) (\s :: ExtendedS3DestinationUpdate
s@ExtendedS3DestinationUpdate' {} Maybe S3DestinationUpdate
a -> ExtendedS3DestinationUpdate
s {$sel:s3BackupUpdate:ExtendedS3DestinationUpdate' :: Maybe S3DestinationUpdate
s3BackupUpdate = Maybe S3DestinationUpdate
a} :: ExtendedS3DestinationUpdate)
instance Prelude.Hashable ExtendedS3DestinationUpdate where
hashWithSalt :: Int -> ExtendedS3DestinationUpdate -> Int
hashWithSalt Int
_salt ExtendedS3DestinationUpdate' {Maybe Text
Maybe BufferingHints
Maybe CloudWatchLoggingOptions
Maybe CompressionFormat
Maybe EncryptionConfiguration
Maybe ProcessingConfiguration
Maybe DynamicPartitioningConfiguration
Maybe S3BackupMode
Maybe S3DestinationUpdate
Maybe DataFormatConversionConfiguration
s3BackupUpdate :: Maybe S3DestinationUpdate
s3BackupMode :: Maybe S3BackupMode
roleARN :: Maybe Text
processingConfiguration :: Maybe ProcessingConfiguration
prefix :: Maybe Text
errorOutputPrefix :: Maybe Text
encryptionConfiguration :: Maybe EncryptionConfiguration
dynamicPartitioningConfiguration :: Maybe DynamicPartitioningConfiguration
dataFormatConversionConfiguration :: Maybe DataFormatConversionConfiguration
compressionFormat :: Maybe CompressionFormat
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptions
bufferingHints :: Maybe BufferingHints
bucketARN :: Maybe Text
$sel:s3BackupUpdate:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe S3DestinationUpdate
$sel:s3BackupMode:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe S3BackupMode
$sel:roleARN:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe Text
$sel:processingConfiguration:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe ProcessingConfiguration
$sel:prefix:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe Text
$sel:errorOutputPrefix:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe Text
$sel:encryptionConfiguration:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe EncryptionConfiguration
$sel:dynamicPartitioningConfiguration:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate
-> Maybe DynamicPartitioningConfiguration
$sel:dataFormatConversionConfiguration:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate
-> Maybe DataFormatConversionConfiguration
$sel:compressionFormat:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe CompressionFormat
$sel:cloudWatchLoggingOptions:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe CloudWatchLoggingOptions
$sel:bufferingHints:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe BufferingHints
$sel:bucketARN:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
bucketARN
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe BufferingHints
bufferingHints
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CloudWatchLoggingOptions
cloudWatchLoggingOptions
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CompressionFormat
compressionFormat
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe DataFormatConversionConfiguration
dataFormatConversionConfiguration
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe DynamicPartitioningConfiguration
dynamicPartitioningConfiguration
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe EncryptionConfiguration
encryptionConfiguration
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
errorOutputPrefix
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
prefix
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ProcessingConfiguration
processingConfiguration
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
roleARN
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe S3BackupMode
s3BackupMode
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe S3DestinationUpdate
s3BackupUpdate
instance Prelude.NFData ExtendedS3DestinationUpdate where
rnf :: ExtendedS3DestinationUpdate -> ()
rnf ExtendedS3DestinationUpdate' {Maybe Text
Maybe BufferingHints
Maybe CloudWatchLoggingOptions
Maybe CompressionFormat
Maybe EncryptionConfiguration
Maybe ProcessingConfiguration
Maybe DynamicPartitioningConfiguration
Maybe S3BackupMode
Maybe S3DestinationUpdate
Maybe DataFormatConversionConfiguration
s3BackupUpdate :: Maybe S3DestinationUpdate
s3BackupMode :: Maybe S3BackupMode
roleARN :: Maybe Text
processingConfiguration :: Maybe ProcessingConfiguration
prefix :: Maybe Text
errorOutputPrefix :: Maybe Text
encryptionConfiguration :: Maybe EncryptionConfiguration
dynamicPartitioningConfiguration :: Maybe DynamicPartitioningConfiguration
dataFormatConversionConfiguration :: Maybe DataFormatConversionConfiguration
compressionFormat :: Maybe CompressionFormat
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptions
bufferingHints :: Maybe BufferingHints
bucketARN :: Maybe Text
$sel:s3BackupUpdate:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe S3DestinationUpdate
$sel:s3BackupMode:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe S3BackupMode
$sel:roleARN:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe Text
$sel:processingConfiguration:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe ProcessingConfiguration
$sel:prefix:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe Text
$sel:errorOutputPrefix:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe Text
$sel:encryptionConfiguration:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe EncryptionConfiguration
$sel:dynamicPartitioningConfiguration:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate
-> Maybe DynamicPartitioningConfiguration
$sel:dataFormatConversionConfiguration:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate
-> Maybe DataFormatConversionConfiguration
$sel:compressionFormat:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe CompressionFormat
$sel:cloudWatchLoggingOptions:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe CloudWatchLoggingOptions
$sel:bufferingHints:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe BufferingHints
$sel:bucketARN:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
bucketARN
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe BufferingHints
bufferingHints
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CloudWatchLoggingOptions
cloudWatchLoggingOptions
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CompressionFormat
compressionFormat
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe DataFormatConversionConfiguration
dataFormatConversionConfiguration
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe DynamicPartitioningConfiguration
dynamicPartitioningConfiguration
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe EncryptionConfiguration
encryptionConfiguration
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
errorOutputPrefix
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
prefix
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ProcessingConfiguration
processingConfiguration
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
roleARN
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe S3BackupMode
s3BackupMode
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe S3DestinationUpdate
s3BackupUpdate
instance Data.ToJSON ExtendedS3DestinationUpdate where
toJSON :: ExtendedS3DestinationUpdate -> Value
toJSON ExtendedS3DestinationUpdate' {Maybe Text
Maybe BufferingHints
Maybe CloudWatchLoggingOptions
Maybe CompressionFormat
Maybe EncryptionConfiguration
Maybe ProcessingConfiguration
Maybe DynamicPartitioningConfiguration
Maybe S3BackupMode
Maybe S3DestinationUpdate
Maybe DataFormatConversionConfiguration
s3BackupUpdate :: Maybe S3DestinationUpdate
s3BackupMode :: Maybe S3BackupMode
roleARN :: Maybe Text
processingConfiguration :: Maybe ProcessingConfiguration
prefix :: Maybe Text
errorOutputPrefix :: Maybe Text
encryptionConfiguration :: Maybe EncryptionConfiguration
dynamicPartitioningConfiguration :: Maybe DynamicPartitioningConfiguration
dataFormatConversionConfiguration :: Maybe DataFormatConversionConfiguration
compressionFormat :: Maybe CompressionFormat
cloudWatchLoggingOptions :: Maybe CloudWatchLoggingOptions
bufferingHints :: Maybe BufferingHints
bucketARN :: Maybe Text
$sel:s3BackupUpdate:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe S3DestinationUpdate
$sel:s3BackupMode:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe S3BackupMode
$sel:roleARN:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe Text
$sel:processingConfiguration:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe ProcessingConfiguration
$sel:prefix:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe Text
$sel:errorOutputPrefix:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe Text
$sel:encryptionConfiguration:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe EncryptionConfiguration
$sel:dynamicPartitioningConfiguration:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate
-> Maybe DynamicPartitioningConfiguration
$sel:dataFormatConversionConfiguration:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate
-> Maybe DataFormatConversionConfiguration
$sel:compressionFormat:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe CompressionFormat
$sel:cloudWatchLoggingOptions:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe CloudWatchLoggingOptions
$sel:bufferingHints:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe BufferingHints
$sel:bucketARN:ExtendedS3DestinationUpdate' :: ExtendedS3DestinationUpdate -> Maybe Text
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"BucketARN" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
bucketARN,
(Key
"BufferingHints" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BufferingHints
bufferingHints,
(Key
"CloudWatchLoggingOptions" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CloudWatchLoggingOptions
cloudWatchLoggingOptions,
(Key
"CompressionFormat" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CompressionFormat
compressionFormat,
(Key
"DataFormatConversionConfiguration" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DataFormatConversionConfiguration
dataFormatConversionConfiguration,
(Key
"DynamicPartitioningConfiguration" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DynamicPartitioningConfiguration
dynamicPartitioningConfiguration,
(Key
"EncryptionConfiguration" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe EncryptionConfiguration
encryptionConfiguration,
(Key
"ErrorOutputPrefix" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
errorOutputPrefix,
(Key
"Prefix" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
prefix,
(Key
"ProcessingConfiguration" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProcessingConfiguration
processingConfiguration,
(Key
"RoleARN" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
roleARN,
(Key
"S3BackupMode" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe S3BackupMode
s3BackupMode,
(Key
"S3BackupUpdate" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe S3DestinationUpdate
s3BackupUpdate
]
)