{-# 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 #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.Firehose.Types.ExtendedS3DestinationUpdate
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
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

-- | Describes an update for a destination in Amazon S3.
--
-- /See:/ 'newExtendedS3DestinationUpdate' smart constructor.
data ExtendedS3DestinationUpdate = ExtendedS3DestinationUpdate'
  { -- | The ARN of the S3 bucket. For more information, see
    -- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.
    ExtendedS3DestinationUpdate -> Maybe Text
bucketARN :: Prelude.Maybe Prelude.Text,
    -- | The buffering option.
    ExtendedS3DestinationUpdate -> Maybe BufferingHints
bufferingHints :: Prelude.Maybe BufferingHints,
    -- | The Amazon CloudWatch logging options for your delivery stream.
    ExtendedS3DestinationUpdate -> Maybe CloudWatchLoggingOptions
cloudWatchLoggingOptions :: Prelude.Maybe CloudWatchLoggingOptions,
    -- | The compression format. If no value is specified, the default is
    -- @UNCOMPRESSED@.
    ExtendedS3DestinationUpdate -> Maybe CompressionFormat
compressionFormat :: Prelude.Maybe CompressionFormat,
    -- | The serializer, deserializer, and schema for converting data from the
    -- JSON format to the Parquet or ORC format before writing it to Amazon S3.
    ExtendedS3DestinationUpdate
-> Maybe DataFormatConversionConfiguration
dataFormatConversionConfiguration :: Prelude.Maybe DataFormatConversionConfiguration,
    -- | The configuration of the dynamic partitioning mechanism that creates
    -- smaller data sets from the streaming data by partitioning it based on
    -- partition keys. Currently, dynamic partitioning is only supported for
    -- Amazon S3 destinations.
    ExtendedS3DestinationUpdate
-> Maybe DynamicPartitioningConfiguration
dynamicPartitioningConfiguration :: Prelude.Maybe DynamicPartitioningConfiguration,
    -- | The encryption configuration. If no value is specified, the default is
    -- no encryption.
    ExtendedS3DestinationUpdate -> Maybe EncryptionConfiguration
encryptionConfiguration :: Prelude.Maybe EncryptionConfiguration,
    -- | A prefix that Kinesis Data Firehose evaluates and adds to failed records
    -- before writing them to S3. This prefix appears immediately following the
    -- bucket name. For information about how to specify this prefix, see
    -- <https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html Custom Prefixes for Amazon S3 Objects>.
    ExtendedS3DestinationUpdate -> Maybe Text
errorOutputPrefix :: Prelude.Maybe Prelude.Text,
    -- | The \"YYYY\/MM\/DD\/HH\" time format prefix is automatically used for
    -- delivered Amazon S3 files. You can also specify a custom prefix, as
    -- described in
    -- <https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html Custom Prefixes for Amazon S3 Objects>.
    ExtendedS3DestinationUpdate -> Maybe Text
prefix :: Prelude.Maybe Prelude.Text,
    -- | The data processing configuration.
    ExtendedS3DestinationUpdate -> Maybe ProcessingConfiguration
processingConfiguration :: Prelude.Maybe ProcessingConfiguration,
    -- | The Amazon Resource Name (ARN) of the Amazon Web Services credentials.
    -- For more information, see
    -- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.
    ExtendedS3DestinationUpdate -> Maybe Text
roleARN :: Prelude.Maybe Prelude.Text,
    -- | You can update a delivery stream to enable Amazon S3 backup if it is
    -- disabled. If backup is enabled, you can\'t update the delivery stream to
    -- disable it.
    ExtendedS3DestinationUpdate -> Maybe S3BackupMode
s3BackupMode :: Prelude.Maybe S3BackupMode,
    -- | The Amazon S3 destination for backup.
    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)

-- |
-- Create a value of 'ExtendedS3DestinationUpdate' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'bucketARN', 'extendedS3DestinationUpdate_bucketARN' - The ARN of the S3 bucket. For more information, see
-- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.
--
-- 'bufferingHints', 'extendedS3DestinationUpdate_bufferingHints' - The buffering option.
--
-- 'cloudWatchLoggingOptions', 'extendedS3DestinationUpdate_cloudWatchLoggingOptions' - The Amazon CloudWatch logging options for your delivery stream.
--
-- 'compressionFormat', 'extendedS3DestinationUpdate_compressionFormat' - The compression format. If no value is specified, the default is
-- @UNCOMPRESSED@.
--
-- 'dataFormatConversionConfiguration', 'extendedS3DestinationUpdate_dataFormatConversionConfiguration' - The serializer, deserializer, and schema for converting data from the
-- JSON format to the Parquet or ORC format before writing it to Amazon S3.
--
-- 'dynamicPartitioningConfiguration', 'extendedS3DestinationUpdate_dynamicPartitioningConfiguration' - The configuration of the dynamic partitioning mechanism that creates
-- smaller data sets from the streaming data by partitioning it based on
-- partition keys. Currently, dynamic partitioning is only supported for
-- Amazon S3 destinations.
--
-- 'encryptionConfiguration', 'extendedS3DestinationUpdate_encryptionConfiguration' - The encryption configuration. If no value is specified, the default is
-- no encryption.
--
-- 'errorOutputPrefix', 'extendedS3DestinationUpdate_errorOutputPrefix' - A prefix that Kinesis Data Firehose evaluates and adds to failed records
-- before writing them to S3. This prefix appears immediately following the
-- bucket name. For information about how to specify this prefix, see
-- <https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html Custom Prefixes for Amazon S3 Objects>.
--
-- 'prefix', 'extendedS3DestinationUpdate_prefix' - The \"YYYY\/MM\/DD\/HH\" time format prefix is automatically used for
-- delivered Amazon S3 files. You can also specify a custom prefix, as
-- described in
-- <https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html Custom Prefixes for Amazon S3 Objects>.
--
-- 'processingConfiguration', 'extendedS3DestinationUpdate_processingConfiguration' - The data processing configuration.
--
-- 'roleARN', 'extendedS3DestinationUpdate_roleARN' - The Amazon Resource Name (ARN) of the Amazon Web Services credentials.
-- For more information, see
-- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.
--
-- 's3BackupMode', 'extendedS3DestinationUpdate_s3BackupMode' - You can update a delivery stream to enable Amazon S3 backup if it is
-- disabled. If backup is enabled, you can\'t update the delivery stream to
-- disable it.
--
-- 's3BackupUpdate', 'extendedS3DestinationUpdate_s3BackupUpdate' - The Amazon S3 destination for backup.
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
    }

-- | The ARN of the S3 bucket. For more information, see
-- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.
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)

-- | The buffering option.
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)

-- | The Amazon CloudWatch logging options for your delivery stream.
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)

-- | The compression format. If no value is specified, the default is
-- @UNCOMPRESSED@.
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)

-- | The serializer, deserializer, and schema for converting data from the
-- JSON format to the Parquet or ORC format before writing it to Amazon S3.
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)

-- | The configuration of the dynamic partitioning mechanism that creates
-- smaller data sets from the streaming data by partitioning it based on
-- partition keys. Currently, dynamic partitioning is only supported for
-- Amazon S3 destinations.
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)

-- | The encryption configuration. If no value is specified, the default is
-- no encryption.
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)

-- | A prefix that Kinesis Data Firehose evaluates and adds to failed records
-- before writing them to S3. This prefix appears immediately following the
-- bucket name. For information about how to specify this prefix, see
-- <https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html Custom Prefixes for Amazon S3 Objects>.
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)

-- | The \"YYYY\/MM\/DD\/HH\" time format prefix is automatically used for
-- delivered Amazon S3 files. You can also specify a custom prefix, as
-- described in
-- <https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html Custom Prefixes for Amazon S3 Objects>.
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)

-- | The data processing configuration.
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)

-- | The Amazon Resource Name (ARN) of the Amazon Web Services credentials.
-- For more information, see
-- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.
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)

-- | You can update a delivery stream to enable Amazon S3 backup if it is
-- disabled. If backup is enabled, you can\'t update the delivery stream to
-- disable it.
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)

-- | The Amazon S3 destination for backup.
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
          ]
      )