-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Amazon Kinesis Firehose SDK.
--   
--   The types from this library are intended to be used with
--   <a>amazonka</a>, which provides mechanisms for specifying AuthN/AuthZ
--   information, sending requests, and receiving responses.
--   
--   Lenses are used for constructing and manipulating types, due to the
--   depth of nesting of AWS types and transparency regarding
--   de/serialisation into more palatable Haskell values. The provided
--   lenses should be compatible with any of the major lens libraries such
--   as <a>lens</a> or <a>lens-family-core</a>.
--   
--   See <a>Network.AWS.Firehose</a> or <a>the AWS documentation</a> to get
--   started.
@package amazonka-kinesis-firehose
@version 1.6.0


module Network.AWS.Firehose.Types

-- | API version <tt>2015-08-04</tt> of the Amazon Kinesis Firehose SDK
--   configuration.
firehose :: Service

-- | The specified input parameter has a value that is not valid.
_InvalidArgumentException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Another modification has already happened. Fetch <b>VersionId</b>
--   again and use it to update the destination.
_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The service is unavailable. Back off and retry the operation. If you
--   continue to see the exception, throughput limits for the delivery
--   stream may have been exceeded. For more information about limits and
--   how to request an increase, see <a>Amazon Kinesis Data Firehose
--   Limits</a> .
_ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified resource could not be found.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError

-- | You have already reached the limit for a requested resource.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The resource is already in use and not available for this operation.
_ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError
data CompressionFormat
Gzip :: CompressionFormat
Snappy :: CompressionFormat
Uncompressed :: CompressionFormat
Zip :: CompressionFormat
data DeliveryStreamStatus
Active :: DeliveryStreamStatus
Creating :: DeliveryStreamStatus
Deleting :: DeliveryStreamStatus
data DeliveryStreamType
DirectPut :: DeliveryStreamType
KinesisStreamAsSource :: DeliveryStreamType
data ElasticsearchIndexRotationPeriod
NoRotation :: ElasticsearchIndexRotationPeriod
OneDay :: ElasticsearchIndexRotationPeriod
OneHour :: ElasticsearchIndexRotationPeriod
OneMonth :: ElasticsearchIndexRotationPeriod
OneWeek :: ElasticsearchIndexRotationPeriod
data ElasticsearchS3BackupMode
AllDocuments :: ElasticsearchS3BackupMode
FailedDocumentsOnly :: ElasticsearchS3BackupMode
data HECEndpointType
Event :: HECEndpointType
Raw :: HECEndpointType
data NoEncryptionConfig
NoEncryption :: NoEncryptionConfig
data OrcCompression
OCNone :: OrcCompression
OCSnappy :: OrcCompression
OCZlib :: OrcCompression
data OrcFormatVersion
V011 :: OrcFormatVersion
V012 :: OrcFormatVersion
data ParquetCompression
PCGzip :: ParquetCompression
PCSnappy :: ParquetCompression
PCUncompressed :: ParquetCompression
data ParquetWriterVersion
V1 :: ParquetWriterVersion
V2 :: ParquetWriterVersion
data ProcessorParameterName
BufferIntervalInSeconds :: ProcessorParameterName
BufferSizeInMBs :: ProcessorParameterName
LambdaARN :: ProcessorParameterName
NumberOfRetries :: ProcessorParameterName
RoleARN :: ProcessorParameterName
data ProcessorType
Lambda :: ProcessorType
data RedshiftS3BackupMode
Disabled :: RedshiftS3BackupMode
Enabled :: RedshiftS3BackupMode
data S3BackupMode
SBMDisabled :: S3BackupMode
SBMEnabled :: S3BackupMode
data SplunkS3BackupMode
AllEvents :: SplunkS3BackupMode
FailedEventsOnly :: SplunkS3BackupMode

-- | Describes hints for the buffering to perform before delivering data to
--   the destination. These options are treated as hints, and therefore
--   Kinesis Data Firehose might choose to use different values when it is
--   optimal.
--   
--   <i>See:</i> <a>bufferingHints</a> smart constructor.
data BufferingHints

-- | Creates a value of <a>BufferingHints</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>bhSizeInMBs</a> - Buffer incoming data to the specified size,
--   in MBs, before delivering it to the destination. The default value is
--   5. We recommend setting this parameter to a value greater than the
--   amount of data you typically ingest into the delivery stream in 10
--   seconds. For example, if you typically ingest data at 1 MB/sec, the
--   value should be 10 MB or higher.</li>
--   <li><a>bhIntervalInSeconds</a> - Buffer incoming data for the
--   specified period of time, in seconds, before delivering it to the
--   destination. The default value is 300.</li>
--   </ul>
bufferingHints :: BufferingHints

-- | Buffer incoming data to the specified size, in MBs, before delivering
--   it to the destination. The default value is 5. We recommend setting
--   this parameter to a value greater than the amount of data you
--   typically ingest into the delivery stream in 10 seconds. For example,
--   if you typically ingest data at 1 MB/sec, the value should be 10 MB or
--   higher.
bhSizeInMBs :: Lens' BufferingHints (Maybe Natural)

-- | Buffer incoming data for the specified period of time, in seconds,
--   before delivering it to the destination. The default value is 300.
bhIntervalInSeconds :: Lens' BufferingHints (Maybe Natural)

-- | Describes the Amazon CloudWatch logging options for your delivery
--   stream.
--   
--   <i>See:</i> <a>cloudWatchLoggingOptions</a> smart constructor.
data CloudWatchLoggingOptions

-- | Creates a value of <a>CloudWatchLoggingOptions</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cwloEnabled</a> - Enables or disables CloudWatch logging.</li>
--   <li><a>cwloLogGroupName</a> - The CloudWatch group name for logging.
--   This value is required if CloudWatch logging is enabled.</li>
--   <li><a>cwloLogStreamName</a> - The CloudWatch log stream name for
--   logging. This value is required if CloudWatch logging is enabled.</li>
--   </ul>
cloudWatchLoggingOptions :: CloudWatchLoggingOptions

-- | Enables or disables CloudWatch logging.
cwloEnabled :: Lens' CloudWatchLoggingOptions (Maybe Bool)

-- | The CloudWatch group name for logging. This value is required if
--   CloudWatch logging is enabled.
cwloLogGroupName :: Lens' CloudWatchLoggingOptions (Maybe Text)

-- | The CloudWatch log stream name for logging. This value is required if
--   CloudWatch logging is enabled.
cwloLogStreamName :: Lens' CloudWatchLoggingOptions (Maybe Text)

-- | Describes a <tt>COPY</tt> command for Amazon Redshift.
--   
--   <i>See:</i> <a>copyCommand</a> smart constructor.
data CopyCommand

-- | Creates a value of <a>CopyCommand</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ccCopyOptions</a> - Optional parameters to use with the Amazon
--   Redshift <tt>COPY</tt> command. For more information, see the
--   "Optional Parameters" section of <a>Amazon Redshift COPY command</a> .
--   Some possible examples that would apply to Kinesis Data Firehose are
--   as follows: <tt>delimiter '\t' lzop;</tt> - fields are delimited with
--   "t" (TAB character) and compressed using lzop. <tt>delimiter '|'</tt>
--   - fields are delimited with "|" (this is the default delimiter).
--   <tt>delimiter '|' escape</tt> - the delimiter should be escaped.
--   <tt>fixedwidth
--   'venueid:3,venuename:25,venuecity:12,venuestate:2,venueseats:6'</tt> -
--   fields are fixed width in the source, with each width specified after
--   every column in the table. <tt>JSON 's3://mybucket/jsonpaths.txt'</tt>
--   - data is in JSON format, and the path specified is the format of the
--   data. For more examples, see <a>Amazon Redshift COPY command
--   examples</a> .</li>
--   <li><a>ccDataTableColumns</a> - A comma-separated list of column
--   names.</li>
--   <li><a>ccDataTableName</a> - The name of the target table. The table
--   must already exist in the database.</li>
--   </ul>
copyCommand :: Text -> CopyCommand

-- | Optional parameters to use with the Amazon Redshift <tt>COPY</tt>
--   command. For more information, see the "Optional Parameters" section
--   of <a>Amazon Redshift COPY command</a> . Some possible examples that
--   would apply to Kinesis Data Firehose are as follows: <tt>delimiter
--   '\t' lzop;</tt> - fields are delimited with "t" (TAB character) and
--   compressed using lzop. <tt>delimiter '|'</tt> - fields are delimited
--   with "|" (this is the default delimiter). <tt>delimiter '|'
--   escape</tt> - the delimiter should be escaped. <tt>fixedwidth
--   'venueid:3,venuename:25,venuecity:12,venuestate:2,venueseats:6'</tt> -
--   fields are fixed width in the source, with each width specified after
--   every column in the table. <tt>JSON 's3://mybucket/jsonpaths.txt'</tt>
--   - data is in JSON format, and the path specified is the format of the
--   data. For more examples, see <a>Amazon Redshift COPY command
--   examples</a> .
ccCopyOptions :: Lens' CopyCommand (Maybe Text)

-- | A comma-separated list of column names.
ccDataTableColumns :: Lens' CopyCommand (Maybe Text)

-- | The name of the target table. The table must already exist in the
--   database.
ccDataTableName :: Lens' CopyCommand Text

-- | Specifies that you want Kinesis Data Firehose to convert data from the
--   JSON format to the Parquet or ORC format before writing it to Amazon
--   S3. Kinesis Data Firehose uses the serializer and deserializer that
--   you specify, in addition to the column information from the AWS Glue
--   table, to deserialize your input data from JSON and then serialize it
--   to the Parquet or ORC format. For more information, see <a>Kinesis
--   Data Firehose Record Format Conversion</a> .
--   
--   <i>See:</i> <a>dataFormatConversionConfiguration</a> smart
--   constructor.
data DataFormatConversionConfiguration

-- | Creates a value of <a>DataFormatConversionConfiguration</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dfccOutputFormatConfiguration</a> - Specifies the serializer
--   that you want Kinesis Data Firehose to use to convert the format of
--   your data to the Parquet or ORC format.</li>
--   <li><a>dfccEnabled</a> - Defaults to <tt>true</tt> . Set it to
--   <tt>false</tt> if you want to disable format conversion while
--   preserving the configuration details.</li>
--   <li><a>dfccSchemaConfiguration</a> - Specifies the AWS Glue Data
--   Catalog table that contains the column information.</li>
--   <li><a>dfccInputFormatConfiguration</a> - Specifies the deserializer
--   that you want Kinesis Data Firehose to use to convert the format of
--   your data from JSON.</li>
--   </ul>
dataFormatConversionConfiguration :: DataFormatConversionConfiguration

-- | Specifies the serializer that you want Kinesis Data Firehose to use to
--   convert the format of your data to the Parquet or ORC format.
dfccOutputFormatConfiguration :: Lens' DataFormatConversionConfiguration (Maybe OutputFormatConfiguration)

-- | Defaults to <tt>true</tt> . Set it to <tt>false</tt> if you want to
--   disable format conversion while preserving the configuration details.
dfccEnabled :: Lens' DataFormatConversionConfiguration (Maybe Bool)

-- | Specifies the AWS Glue Data Catalog table that contains the column
--   information.
dfccSchemaConfiguration :: Lens' DataFormatConversionConfiguration (Maybe SchemaConfiguration)

-- | Specifies the deserializer that you want Kinesis Data Firehose to use
--   to convert the format of your data from JSON.
dfccInputFormatConfiguration :: Lens' DataFormatConversionConfiguration (Maybe InputFormatConfiguration)

-- | Contains information about a delivery stream.
--   
--   <i>See:</i> <a>deliveryStreamDescription</a> smart constructor.
data DeliveryStreamDescription

-- | Creates a value of <a>DeliveryStreamDescription</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsdCreateTimestamp</a> - The date and time that the delivery
--   stream was created.</li>
--   <li><a>dsdSource</a> - If the <tt>DeliveryStreamType</tt> parameter is
--   <tt>KinesisStreamAsSource</tt> , a <a>SourceDescription</a> object
--   describing the source Kinesis data stream.</li>
--   <li><a>dsdLastUpdateTimestamp</a> - The date and time that the
--   delivery stream was last updated.</li>
--   <li><a>dsdDeliveryStreamName</a> - The name of the delivery
--   stream.</li>
--   <li><a>dsdDeliveryStreamARN</a> - The Amazon Resource Name (ARN) of
--   the delivery stream. For more information, see <a>Amazon Resource
--   Names (ARNs) and AWS Service Namespaces</a> .</li>
--   <li><a>dsdDeliveryStreamStatus</a> - The status of the delivery
--   stream.</li>
--   <li><a>dsdDeliveryStreamType</a> - The delivery stream type. This can
--   be one of the following values: * <tt>DirectPut</tt> : Provider
--   applications access the delivery stream directly. *
--   <tt>KinesisStreamAsSource</tt> : The delivery stream uses a Kinesis
--   data stream as a source.</li>
--   <li><a>dsdVersionId</a> - Each time the destination is updated for a
--   delivery stream, the version ID is changed, and the current version ID
--   is required when updating the destination. This is so that the service
--   knows it is applying the changes to the correct version of the
--   delivery stream.</li>
--   <li><a>dsdDestinations</a> - The destinations.</li>
--   <li><a>dsdHasMoreDestinations</a> - Indicates whether there are more
--   destinations available to list.</li>
--   </ul>
deliveryStreamDescription :: Text -> Text -> DeliveryStreamStatus -> DeliveryStreamType -> Text -> Bool -> DeliveryStreamDescription

-- | The date and time that the delivery stream was created.
dsdCreateTimestamp :: Lens' DeliveryStreamDescription (Maybe UTCTime)

-- | If the <tt>DeliveryStreamType</tt> parameter is
--   <tt>KinesisStreamAsSource</tt> , a <a>SourceDescription</a> object
--   describing the source Kinesis data stream.
dsdSource :: Lens' DeliveryStreamDescription (Maybe SourceDescription)

-- | The date and time that the delivery stream was last updated.
dsdLastUpdateTimestamp :: Lens' DeliveryStreamDescription (Maybe UTCTime)

-- | The name of the delivery stream.
dsdDeliveryStreamName :: Lens' DeliveryStreamDescription Text

-- | The Amazon Resource Name (ARN) of the delivery stream. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
dsdDeliveryStreamARN :: Lens' DeliveryStreamDescription Text

-- | The status of the delivery stream.
dsdDeliveryStreamStatus :: Lens' DeliveryStreamDescription DeliveryStreamStatus

-- | The delivery stream type. This can be one of the following values: *
--   <tt>DirectPut</tt> : Provider applications access the delivery stream
--   directly. * <tt>KinesisStreamAsSource</tt> : The delivery stream uses
--   a Kinesis data stream as a source.
dsdDeliveryStreamType :: Lens' DeliveryStreamDescription DeliveryStreamType

-- | Each time the destination is updated for a delivery stream, the
--   version ID is changed, and the current version ID is required when
--   updating the destination. This is so that the service knows it is
--   applying the changes to the correct version of the delivery stream.
dsdVersionId :: Lens' DeliveryStreamDescription Text

-- | The destinations.
dsdDestinations :: Lens' DeliveryStreamDescription [DestinationDescription]

-- | Indicates whether there are more destinations available to list.
dsdHasMoreDestinations :: Lens' DeliveryStreamDescription Bool

-- | The deserializer you want Kinesis Data Firehose to use for converting
--   the input data from JSON. Kinesis Data Firehose then serializes the
--   data to its final format using the <a>Serializer</a> . Kinesis Data
--   Firehose supports two types of deserializers: the <a>Apache Hive JSON
--   SerDe</a> and the <a>OpenX JSON SerDe</a> .
--   
--   <i>See:</i> <a>deserializer</a> smart constructor.
data Deserializer

-- | Creates a value of <a>Deserializer</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dOpenXJSONSerDe</a> - The OpenX SerDe. Used by Kinesis Data
--   Firehose for deserializing data, which means converting it from the
--   JSON format in preparation for serializing it to the Parquet or ORC
--   format. This is one of two deserializers you can choose, depending on
--   which one offers the functionality you need. The other option is the
--   native Hive / HCatalog JsonSerDe.</li>
--   <li><a>dHiveJSONSerDe</a> - The native Hive / HCatalog JsonSerDe. Used
--   by Kinesis Data Firehose for deserializing data, which means
--   converting it from the JSON format in preparation for serializing it
--   to the Parquet or ORC format. This is one of two deserializers you can
--   choose, depending on which one offers the functionality you need. The
--   other option is the OpenX SerDe.</li>
--   </ul>
deserializer :: Deserializer

-- | The OpenX SerDe. Used by Kinesis Data Firehose for deserializing data,
--   which means converting it from the JSON format in preparation for
--   serializing it to the Parquet or ORC format. This is one of two
--   deserializers you can choose, depending on which one offers the
--   functionality you need. The other option is the native Hive / HCatalog
--   JsonSerDe.
dOpenXJSONSerDe :: Lens' Deserializer (Maybe OpenXJSONSerDe)

-- | The native Hive / HCatalog JsonSerDe. Used by Kinesis Data Firehose
--   for deserializing data, which means converting it from the JSON format
--   in preparation for serializing it to the Parquet or ORC format. This
--   is one of two deserializers you can choose, depending on which one
--   offers the functionality you need. The other option is the OpenX
--   SerDe.
dHiveJSONSerDe :: Lens' Deserializer (Maybe HiveJSONSerDe)

-- | Describes the destination for a delivery stream.
--   
--   <i>See:</i> <a>destinationDescription</a> smart constructor.
data DestinationDescription

-- | Creates a value of <a>DestinationDescription</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ddSplunkDestinationDescription</a> - The destination in
--   Splunk.</li>
--   <li><a>ddS3DestinationDescription</a> - [Deprecated] The destination
--   in Amazon S3.</li>
--   <li><a>ddExtendedS3DestinationDescription</a> - The destination in
--   Amazon S3.</li>
--   <li><a>ddElasticsearchDestinationDescription</a> - The destination in
--   Amazon ES.</li>
--   <li><a>ddRedshiftDestinationDescription</a> - The destination in
--   Amazon Redshift.</li>
--   <li><a>ddDestinationId</a> - The ID of the destination.</li>
--   </ul>
destinationDescription :: Text -> DestinationDescription

-- | The destination in Splunk.
ddSplunkDestinationDescription :: Lens' DestinationDescription (Maybe SplunkDestinationDescription)

-- | <ul>
--   <li><i>Deprecated</i> The destination in Amazon S3.</li>
--   </ul>
ddS3DestinationDescription :: Lens' DestinationDescription (Maybe S3DestinationDescription)

-- | The destination in Amazon S3.
ddExtendedS3DestinationDescription :: Lens' DestinationDescription (Maybe ExtendedS3DestinationDescription)

-- | The destination in Amazon ES.
ddElasticsearchDestinationDescription :: Lens' DestinationDescription (Maybe ElasticsearchDestinationDescription)

-- | The destination in Amazon Redshift.
ddRedshiftDestinationDescription :: Lens' DestinationDescription (Maybe RedshiftDestinationDescription)

-- | The ID of the destination.
ddDestinationId :: Lens' DestinationDescription Text

-- | Describes the buffering to perform before delivering data to the
--   Amazon ES destination.
--   
--   <i>See:</i> <a>elasticsearchBufferingHints</a> smart constructor.
data ElasticsearchBufferingHints

-- | Creates a value of <a>ElasticsearchBufferingHints</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ebhSizeInMBs</a> - Buffer incoming data to the specified size,
--   in MBs, before delivering it to the destination. The default value is
--   5. We recommend setting this parameter to a value greater than the
--   amount of data you typically ingest into the delivery stream in 10
--   seconds. For example, if you typically ingest data at 1 MB/sec, the
--   value should be 10 MB or higher.</li>
--   <li><a>ebhIntervalInSeconds</a> - Buffer incoming data for the
--   specified period of time, in seconds, before delivering it to the
--   destination. The default value is 300 (5 minutes).</li>
--   </ul>
elasticsearchBufferingHints :: ElasticsearchBufferingHints

-- | Buffer incoming data to the specified size, in MBs, before delivering
--   it to the destination. The default value is 5. We recommend setting
--   this parameter to a value greater than the amount of data you
--   typically ingest into the delivery stream in 10 seconds. For example,
--   if you typically ingest data at 1 MB/sec, the value should be 10 MB or
--   higher.
ebhSizeInMBs :: Lens' ElasticsearchBufferingHints (Maybe Natural)

-- | Buffer incoming data for the specified period of time, in seconds,
--   before delivering it to the destination. The default value is 300 (5
--   minutes).
ebhIntervalInSeconds :: Lens' ElasticsearchBufferingHints (Maybe Natural)

-- | Describes the configuration of a destination in Amazon ES.
--   
--   <i>See:</i> <a>elasticsearchDestinationConfiguration</a> smart
--   constructor.
data ElasticsearchDestinationConfiguration

-- | Creates a value of <a>ElasticsearchDestinationConfiguration</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>edcIndexRotationPeriod</a> - The Elasticsearch index rotation
--   period. Index rotation appends a time stamp to the <tt>IndexName</tt>
--   to facilitate the expiration of old data. For more information, see
--   <a>Index Rotation for the Amazon ES Destination</a> . The default
--   value is <tt>OneDay</tt> .</li>
--   <li><a>edcS3BackupMode</a> - Defines how documents should be delivered
--   to Amazon S3. When it is set to <tt>FailedDocumentsOnly</tt> , Kinesis
--   Data Firehose writes any documents that could not be indexed to the
--   configured Amazon S3 destination, with <tt>elasticsearch-failed/</tt>
--   appended to the key prefix. When set to <tt>AllDocuments</tt> ,
--   Kinesis Data Firehose delivers all incoming records to Amazon S3, and
--   also writes failed documents with <tt>elasticsearch-failed/</tt>
--   appended to the prefix. For more information, see <a>Amazon S3 Backup
--   for the Amazon ES Destination</a> . Default value is
--   <tt>FailedDocumentsOnly</tt> .</li>
--   <li><a>edcCloudWatchLoggingOptions</a> - The Amazon CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>edcBufferingHints</a> - The buffering options. If no value is
--   specified, the default values for <tt>ElasticsearchBufferingHints</tt>
--   are used.</li>
--   <li><a>edcRetryOptions</a> - The retry behavior in case Kinesis Data
--   Firehose is unable to deliver documents to Amazon ES. The default
--   value is 300 (5 minutes).</li>
--   <li><a>edcProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>edcRoleARN</a> - The Amazon Resource Name (ARN) of the IAM role
--   to be assumed by Kinesis Data Firehose for calling the Amazon ES
--   Configuration API and for indexing documents. For more information,
--   see <a>Grant Kinesis Data Firehose Access to an Amazon S3
--   Destination</a> and <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   <li><a>edcDomainARN</a> - The ARN of the Amazon ES domain. The IAM
--   role must have permissions for <tt>DescribeElasticsearchDomain</tt> ,
--   <tt>DescribeElasticsearchDomains</tt> , and
--   <tt>DescribeElasticsearchDomainConfig</tt> after assuming the role
--   specified in <b>RoleARN</b> . For more information, see <a>Amazon
--   Resource Names (ARNs) and AWS Service Namespaces</a> .</li>
--   <li><a>edcIndexName</a> - The Elasticsearch index name.</li>
--   <li><a>edcTypeName</a> - The Elasticsearch type name. For
--   Elasticsearch 6.x, there can be only one type per index. If you try to
--   specify a new type for an existing index that already has another
--   type, Kinesis Data Firehose returns an error during run time.</li>
--   <li><a>edcS3Configuration</a> - The configuration for the backup
--   Amazon S3 location.</li>
--   </ul>
elasticsearchDestinationConfiguration :: Text -> Text -> Text -> Text -> S3DestinationConfiguration -> ElasticsearchDestinationConfiguration

-- | The Elasticsearch index rotation period. Index rotation appends a time
--   stamp to the <tt>IndexName</tt> to facilitate the expiration of old
--   data. For more information, see <a>Index Rotation for the Amazon ES
--   Destination</a> . The default value is <tt>OneDay</tt> .
edcIndexRotationPeriod :: Lens' ElasticsearchDestinationConfiguration (Maybe ElasticsearchIndexRotationPeriod)

-- | Defines how documents should be delivered to Amazon S3. When it is set
--   to <tt>FailedDocumentsOnly</tt> , Kinesis Data Firehose writes any
--   documents that could not be indexed to the configured Amazon S3
--   destination, with <tt>elasticsearch-failed/</tt> appended to the key
--   prefix. When set to <tt>AllDocuments</tt> , Kinesis Data Firehose
--   delivers all incoming records to Amazon S3, and also writes failed
--   documents with <tt>elasticsearch-failed/</tt> appended to the prefix.
--   For more information, see <a>Amazon S3 Backup for the Amazon ES
--   Destination</a> . Default value is <tt>FailedDocumentsOnly</tt> .
edcS3BackupMode :: Lens' ElasticsearchDestinationConfiguration (Maybe ElasticsearchS3BackupMode)

-- | The Amazon CloudWatch logging options for your delivery stream.
edcCloudWatchLoggingOptions :: Lens' ElasticsearchDestinationConfiguration (Maybe CloudWatchLoggingOptions)

-- | The buffering options. If no value is specified, the default values
--   for <tt>ElasticsearchBufferingHints</tt> are used.
edcBufferingHints :: Lens' ElasticsearchDestinationConfiguration (Maybe ElasticsearchBufferingHints)

-- | The retry behavior in case Kinesis Data Firehose is unable to deliver
--   documents to Amazon ES. The default value is 300 (5 minutes).
edcRetryOptions :: Lens' ElasticsearchDestinationConfiguration (Maybe ElasticsearchRetryOptions)

-- | The data processing configuration.
edcProcessingConfiguration :: Lens' ElasticsearchDestinationConfiguration (Maybe ProcessingConfiguration)

-- | The Amazon Resource Name (ARN) of the IAM role to be assumed by
--   Kinesis Data Firehose for calling the Amazon ES Configuration API and
--   for indexing documents. For more information, see <a>Grant Kinesis
--   Data Firehose Access to an Amazon S3 Destination</a> and <a>Amazon
--   Resource Names (ARNs) and AWS Service Namespaces</a> .
edcRoleARN :: Lens' ElasticsearchDestinationConfiguration Text

-- | The ARN of the Amazon ES domain. The IAM role must have permissions
--   for <tt>DescribeElasticsearchDomain</tt> ,
--   <tt>DescribeElasticsearchDomains</tt> , and
--   <tt>DescribeElasticsearchDomainConfig</tt> after assuming the role
--   specified in <b>RoleARN</b> . For more information, see <a>Amazon
--   Resource Names (ARNs) and AWS Service Namespaces</a> .
edcDomainARN :: Lens' ElasticsearchDestinationConfiguration Text

-- | The Elasticsearch index name.
edcIndexName :: Lens' ElasticsearchDestinationConfiguration Text

-- | The Elasticsearch type name. For Elasticsearch 6.x, there can be only
--   one type per index. If you try to specify a new type for an existing
--   index that already has another type, Kinesis Data Firehose returns an
--   error during run time.
edcTypeName :: Lens' ElasticsearchDestinationConfiguration Text

-- | The configuration for the backup Amazon S3 location.
edcS3Configuration :: Lens' ElasticsearchDestinationConfiguration S3DestinationConfiguration

-- | The destination description in Amazon ES.
--   
--   <i>See:</i> <a>elasticsearchDestinationDescription</a> smart
--   constructor.
data ElasticsearchDestinationDescription

-- | Creates a value of <a>ElasticsearchDestinationDescription</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eddIndexRotationPeriod</a> - The Elasticsearch index rotation
--   period</li>
--   <li><a>eddTypeName</a> - The Elasticsearch type name.</li>
--   <li><a>eddS3BackupMode</a> - The Amazon S3 backup mode.</li>
--   <li><a>eddDomainARN</a> - The ARN of the Amazon ES domain. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   <li><a>eddCloudWatchLoggingOptions</a> - The Amazon CloudWatch logging
--   options.</li>
--   <li><a>eddS3DestinationDescription</a> - The Amazon S3
--   destination.</li>
--   <li><a>eddBufferingHints</a> - The buffering options.</li>
--   <li><a>eddRetryOptions</a> - The Amazon ES retry options.</li>
--   <li><a>eddProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>eddRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   <li><a>eddIndexName</a> - The Elasticsearch index name.</li>
--   </ul>
elasticsearchDestinationDescription :: ElasticsearchDestinationDescription

-- | The Elasticsearch index rotation period
eddIndexRotationPeriod :: Lens' ElasticsearchDestinationDescription (Maybe ElasticsearchIndexRotationPeriod)

-- | The Elasticsearch type name.
eddTypeName :: Lens' ElasticsearchDestinationDescription (Maybe Text)

-- | The Amazon S3 backup mode.
eddS3BackupMode :: Lens' ElasticsearchDestinationDescription (Maybe ElasticsearchS3BackupMode)

-- | The ARN of the Amazon ES domain. For more information, see <a>Amazon
--   Resource Names (ARNs) and AWS Service Namespaces</a> .
eddDomainARN :: Lens' ElasticsearchDestinationDescription (Maybe Text)

-- | The Amazon CloudWatch logging options.
eddCloudWatchLoggingOptions :: Lens' ElasticsearchDestinationDescription (Maybe CloudWatchLoggingOptions)

-- | The Amazon S3 destination.
eddS3DestinationDescription :: Lens' ElasticsearchDestinationDescription (Maybe S3DestinationDescription)

-- | The buffering options.
eddBufferingHints :: Lens' ElasticsearchDestinationDescription (Maybe ElasticsearchBufferingHints)

-- | The Amazon ES retry options.
eddRetryOptions :: Lens' ElasticsearchDestinationDescription (Maybe ElasticsearchRetryOptions)

-- | The data processing configuration.
eddProcessingConfiguration :: Lens' ElasticsearchDestinationDescription (Maybe ProcessingConfiguration)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
eddRoleARN :: Lens' ElasticsearchDestinationDescription (Maybe Text)

-- | The Elasticsearch index name.
eddIndexName :: Lens' ElasticsearchDestinationDescription (Maybe Text)

-- | Describes an update for a destination in Amazon ES.
--   
--   <i>See:</i> <a>elasticsearchDestinationUpdate</a> smart constructor.
data ElasticsearchDestinationUpdate

-- | Creates a value of <a>ElasticsearchDestinationUpdate</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eduIndexRotationPeriod</a> - The Elasticsearch index rotation
--   period. Index rotation appends a time stamp to <tt>IndexName</tt> to
--   facilitate the expiration of old data. For more information, see
--   <a>Index Rotation for the Amazon ES Destination</a> . Default value is
--   <tt>OneDay</tt> .</li>
--   <li><a>eduTypeName</a> - The Elasticsearch type name. For
--   Elasticsearch 6.x, there can be only one type per index. If you try to
--   specify a new type for an existing index that already has another
--   type, Kinesis Data Firehose returns an error during runtime.</li>
--   <li><a>eduDomainARN</a> - The ARN of the Amazon ES domain. The IAM
--   role must have permissions for <tt>DescribeElasticsearchDomain</tt> ,
--   <tt>DescribeElasticsearchDomains</tt> , and
--   <tt>DescribeElasticsearchDomainConfig</tt> after assuming the IAM role
--   specified in <b>RoleARN</b> . For more information, see <a>Amazon
--   Resource Names (ARNs) and AWS Service Namespaces</a> .</li>
--   <li><a>eduCloudWatchLoggingOptions</a> - The CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>eduS3Update</a> - The Amazon S3 destination.</li>
--   <li><a>eduBufferingHints</a> - The buffering options. If no value is
--   specified, <b>ElasticsearchBufferingHints</b> object default values
--   are used.</li>
--   <li><a>eduRetryOptions</a> - The retry behavior in case Kinesis Data
--   Firehose is unable to deliver documents to Amazon ES. The default
--   value is 300 (5 minutes).</li>
--   <li><a>eduProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>eduRoleARN</a> - The Amazon Resource Name (ARN) of the IAM role
--   to be assumed by Kinesis Data Firehose for calling the Amazon ES
--   Configuration API and for indexing documents. For more information,
--   see <a>Grant Kinesis Data Firehose Access to an Amazon S3
--   Destination</a> and <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   <li><a>eduIndexName</a> - The Elasticsearch index name.</li>
--   </ul>
elasticsearchDestinationUpdate :: ElasticsearchDestinationUpdate

-- | The Elasticsearch index rotation period. Index rotation appends a time
--   stamp to <tt>IndexName</tt> to facilitate the expiration of old data.
--   For more information, see <a>Index Rotation for the Amazon ES
--   Destination</a> . Default value is <tt>OneDay</tt> .
eduIndexRotationPeriod :: Lens' ElasticsearchDestinationUpdate (Maybe ElasticsearchIndexRotationPeriod)

-- | The Elasticsearch type name. For Elasticsearch 6.x, there can be only
--   one type per index. If you try to specify a new type for an existing
--   index that already has another type, Kinesis Data Firehose returns an
--   error during runtime.
eduTypeName :: Lens' ElasticsearchDestinationUpdate (Maybe Text)

-- | The ARN of the Amazon ES domain. The IAM role must have permissions
--   for <tt>DescribeElasticsearchDomain</tt> ,
--   <tt>DescribeElasticsearchDomains</tt> , and
--   <tt>DescribeElasticsearchDomainConfig</tt> after assuming the IAM role
--   specified in <b>RoleARN</b> . For more information, see <a>Amazon
--   Resource Names (ARNs) and AWS Service Namespaces</a> .
eduDomainARN :: Lens' ElasticsearchDestinationUpdate (Maybe Text)

-- | The CloudWatch logging options for your delivery stream.
eduCloudWatchLoggingOptions :: Lens' ElasticsearchDestinationUpdate (Maybe CloudWatchLoggingOptions)

-- | The Amazon S3 destination.
eduS3Update :: Lens' ElasticsearchDestinationUpdate (Maybe S3DestinationUpdate)

-- | The buffering options. If no value is specified,
--   <b>ElasticsearchBufferingHints</b> object default values are used.
eduBufferingHints :: Lens' ElasticsearchDestinationUpdate (Maybe ElasticsearchBufferingHints)

-- | The retry behavior in case Kinesis Data Firehose is unable to deliver
--   documents to Amazon ES. The default value is 300 (5 minutes).
eduRetryOptions :: Lens' ElasticsearchDestinationUpdate (Maybe ElasticsearchRetryOptions)

-- | The data processing configuration.
eduProcessingConfiguration :: Lens' ElasticsearchDestinationUpdate (Maybe ProcessingConfiguration)

-- | The Amazon Resource Name (ARN) of the IAM role to be assumed by
--   Kinesis Data Firehose for calling the Amazon ES Configuration API and
--   for indexing documents. For more information, see <a>Grant Kinesis
--   Data Firehose Access to an Amazon S3 Destination</a> and <a>Amazon
--   Resource Names (ARNs) and AWS Service Namespaces</a> .
eduRoleARN :: Lens' ElasticsearchDestinationUpdate (Maybe Text)

-- | The Elasticsearch index name.
eduIndexName :: Lens' ElasticsearchDestinationUpdate (Maybe Text)

-- | Configures retry behavior in case Kinesis Data Firehose is unable to
--   deliver documents to Amazon ES.
--   
--   <i>See:</i> <a>elasticsearchRetryOptions</a> smart constructor.
data ElasticsearchRetryOptions

-- | Creates a value of <a>ElasticsearchRetryOptions</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eroDurationInSeconds</a> - After an initial failure to deliver
--   to Amazon ES, the total amount of time during which Kinesis Data
--   Firehose retries delivery (including the first attempt). After this
--   time has elapsed, the failed documents are written to Amazon S3.
--   Default value is 300 seconds (5 minutes). A value of 0 (zero) results
--   in no retries.</li>
--   </ul>
elasticsearchRetryOptions :: ElasticsearchRetryOptions

-- | After an initial failure to deliver to Amazon ES, the total amount of
--   time during which Kinesis Data Firehose retries delivery (including
--   the first attempt). After this time has elapsed, the failed documents
--   are written to Amazon S3. Default value is 300 seconds (5 minutes). A
--   value of 0 (zero) results in no retries.
eroDurationInSeconds :: Lens' ElasticsearchRetryOptions (Maybe Natural)

-- | Describes the encryption for a destination in Amazon S3.
--   
--   <i>See:</i> <a>encryptionConfiguration</a> smart constructor.
data EncryptionConfiguration

-- | Creates a value of <a>EncryptionConfiguration</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ecNoEncryptionConfig</a> - Specifically override existing
--   encryption information to ensure that no encryption is used.</li>
--   <li><a>ecKMSEncryptionConfig</a> - The encryption key.</li>
--   </ul>
encryptionConfiguration :: EncryptionConfiguration

-- | Specifically override existing encryption information to ensure that
--   no encryption is used.
ecNoEncryptionConfig :: Lens' EncryptionConfiguration (Maybe NoEncryptionConfig)

-- | The encryption key.
ecKMSEncryptionConfig :: Lens' EncryptionConfiguration (Maybe KMSEncryptionConfig)

-- | Describes the configuration of a destination in Amazon S3.
--   
--   <i>See:</i> <a>extendedS3DestinationConfiguration</a> smart
--   constructor.
data ExtendedS3DestinationConfiguration

-- | Creates a value of <a>ExtendedS3DestinationConfiguration</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>esdcS3BackupMode</a> - The Amazon S3 backup mode.</li>
--   <li><a>esdcPrefix</a> - The "YYYY<i>MM</i>DD<i>HH" time format prefix
--   is automatically used for delivered Amazon S3 files. You can specify
--   an extra prefix to be added in front of the time format prefix. If the
--   prefix ends with a slash, it appears as a folder in the S3 bucket. For
--   more information, see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .</li>
--   <li><a>esdcCloudWatchLoggingOptions</a> - The Amazon CloudWatch
--   logging options for your delivery stream.</li>
--   <li><a>esdcS3BackupConfiguration</a> - The configuration for backup in
--   Amazon S3.</li>
--   <li><a>esdcEncryptionConfiguration</a> - The encryption configuration.
--   If no value is specified, the default is no encryption.</li>
--   <li><a>esdcCompressionFormat</a> - The compression format. If no value
--   is specified, the default is UNCOMPRESSED.</li>
--   <li><a>esdcBufferingHints</a> - The buffering option.</li>
--   <li><a>esdcDataFormatConversionConfiguration</a> - The serializer,
--   deserializer, and schema for converting data from the JSON format to
--   the Parquet or ORC format before writing it to Amazon S3.</li>
--   <li><a>esdcProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>esdcRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   <li><a>esdcBucketARN</a> - The ARN of the S3 bucket. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   </ul>
extendedS3DestinationConfiguration :: Text -> Text -> ExtendedS3DestinationConfiguration

-- | The Amazon S3 backup mode.
esdcS3BackupMode :: Lens' ExtendedS3DestinationConfiguration (Maybe S3BackupMode)

-- | The "YYYY<i>MM</i>DD<i>HH" time format prefix is automatically used
--   for delivered Amazon S3 files. You can specify an extra prefix to be
--   added in front of the time format prefix. If the prefix ends with a
--   slash, it appears as a folder in the S3 bucket. For more information,
--   see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .
esdcPrefix :: Lens' ExtendedS3DestinationConfiguration (Maybe Text)

-- | The Amazon CloudWatch logging options for your delivery stream.
esdcCloudWatchLoggingOptions :: Lens' ExtendedS3DestinationConfiguration (Maybe CloudWatchLoggingOptions)

-- | The configuration for backup in Amazon S3.
esdcS3BackupConfiguration :: Lens' ExtendedS3DestinationConfiguration (Maybe S3DestinationConfiguration)

-- | The encryption configuration. If no value is specified, the default is
--   no encryption.
esdcEncryptionConfiguration :: Lens' ExtendedS3DestinationConfiguration (Maybe EncryptionConfiguration)

-- | The compression format. If no value is specified, the default is
--   UNCOMPRESSED.
esdcCompressionFormat :: Lens' ExtendedS3DestinationConfiguration (Maybe CompressionFormat)

-- | The buffering option.
esdcBufferingHints :: Lens' ExtendedS3DestinationConfiguration (Maybe BufferingHints)

-- | The serializer, deserializer, and schema for converting data from the
--   JSON format to the Parquet or ORC format before writing it to Amazon
--   S3.
esdcDataFormatConversionConfiguration :: Lens' ExtendedS3DestinationConfiguration (Maybe DataFormatConversionConfiguration)

-- | The data processing configuration.
esdcProcessingConfiguration :: Lens' ExtendedS3DestinationConfiguration (Maybe ProcessingConfiguration)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
esdcRoleARN :: Lens' ExtendedS3DestinationConfiguration Text

-- | The ARN of the S3 bucket. For more information, see <a>Amazon Resource
--   Names (ARNs) and AWS Service Namespaces</a> .
esdcBucketARN :: Lens' ExtendedS3DestinationConfiguration Text

-- | Describes a destination in Amazon S3.
--   
--   <i>See:</i> <a>extendedS3DestinationDescription</a> smart constructor.
data ExtendedS3DestinationDescription

-- | Creates a value of <a>ExtendedS3DestinationDescription</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>esddS3BackupMode</a> - The Amazon S3 backup mode.</li>
--   <li><a>esddS3BackupDescription</a> - The configuration for backup in
--   Amazon S3.</li>
--   <li><a>esddPrefix</a> - The "YYYY<i>MM</i>DD<i>HH" time format prefix
--   is automatically used for delivered Amazon S3 files. You can specify
--   an extra prefix to be added in front of the time format prefix. If the
--   prefix ends with a slash, it appears as a folder in the S3 bucket. For
--   more information, see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .</li>
--   <li><a>esddCloudWatchLoggingOptions</a> - The Amazon CloudWatch
--   logging options for your delivery stream.</li>
--   <li><a>esddDataFormatConversionConfiguration</a> - The serializer,
--   deserializer, and schema for converting data from the JSON format to
--   the Parquet or ORC format before writing it to Amazon S3.</li>
--   <li><a>esddProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>esddRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   <li><a>esddBucketARN</a> - The ARN of the S3 bucket. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   <li><a>esddBufferingHints</a> - The buffering option.</li>
--   <li><a>esddCompressionFormat</a> - The compression format. If no value
--   is specified, the default is <tt>UNCOMPRESSED</tt> .</li>
--   <li><a>esddEncryptionConfiguration</a> - The encryption configuration.
--   If no value is specified, the default is no encryption.</li>
--   </ul>
extendedS3DestinationDescription :: Text -> Text -> BufferingHints -> CompressionFormat -> EncryptionConfiguration -> ExtendedS3DestinationDescription

-- | The Amazon S3 backup mode.
esddS3BackupMode :: Lens' ExtendedS3DestinationDescription (Maybe S3BackupMode)

-- | The configuration for backup in Amazon S3.
esddS3BackupDescription :: Lens' ExtendedS3DestinationDescription (Maybe S3DestinationDescription)

-- | The "YYYY<i>MM</i>DD<i>HH" time format prefix is automatically used
--   for delivered Amazon S3 files. You can specify an extra prefix to be
--   added in front of the time format prefix. If the prefix ends with a
--   slash, it appears as a folder in the S3 bucket. For more information,
--   see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .
esddPrefix :: Lens' ExtendedS3DestinationDescription (Maybe Text)

-- | The Amazon CloudWatch logging options for your delivery stream.
esddCloudWatchLoggingOptions :: Lens' ExtendedS3DestinationDescription (Maybe CloudWatchLoggingOptions)

-- | The serializer, deserializer, and schema for converting data from the
--   JSON format to the Parquet or ORC format before writing it to Amazon
--   S3.
esddDataFormatConversionConfiguration :: Lens' ExtendedS3DestinationDescription (Maybe DataFormatConversionConfiguration)

-- | The data processing configuration.
esddProcessingConfiguration :: Lens' ExtendedS3DestinationDescription (Maybe ProcessingConfiguration)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
esddRoleARN :: Lens' ExtendedS3DestinationDescription Text

-- | The ARN of the S3 bucket. For more information, see <a>Amazon Resource
--   Names (ARNs) and AWS Service Namespaces</a> .
esddBucketARN :: Lens' ExtendedS3DestinationDescription Text

-- | The buffering option.
esddBufferingHints :: Lens' ExtendedS3DestinationDescription BufferingHints

-- | The compression format. If no value is specified, the default is
--   <tt>UNCOMPRESSED</tt> .
esddCompressionFormat :: Lens' ExtendedS3DestinationDescription CompressionFormat

-- | The encryption configuration. If no value is specified, the default is
--   no encryption.
esddEncryptionConfiguration :: Lens' ExtendedS3DestinationDescription EncryptionConfiguration

-- | Describes an update for a destination in Amazon S3.
--   
--   <i>See:</i> <a>extendedS3DestinationUpdate</a> smart constructor.
data ExtendedS3DestinationUpdate

-- | Creates a value of <a>ExtendedS3DestinationUpdate</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>esduS3BackupMode</a> - Enables or disables Amazon S3 backup
--   mode.</li>
--   <li><a>esduPrefix</a> - The "YYYY<i>MM</i>DD<i>HH" time format prefix
--   is automatically used for delivered Amazon S3 files. You can specify
--   an extra prefix to be added in front of the time format prefix. If the
--   prefix ends with a slash, it appears as a folder in the S3 bucket. For
--   more information, see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .</li>
--   <li><a>esduCloudWatchLoggingOptions</a> - The Amazon CloudWatch
--   logging options for your delivery stream.</li>
--   <li><a>esduS3BackupUpdate</a> - The Amazon S3 destination for
--   backup.</li>
--   <li><a>esduEncryptionConfiguration</a> - The encryption configuration.
--   If no value is specified, the default is no encryption.</li>
--   <li><a>esduCompressionFormat</a> - The compression format. If no value
--   is specified, the default is <tt>UNCOMPRESSED</tt> .</li>
--   <li><a>esduBufferingHints</a> - The buffering option.</li>
--   <li><a>esduDataFormatConversionConfiguration</a> - The serializer,
--   deserializer, and schema for converting data from the JSON format to
--   the Parquet or ORC format before writing it to Amazon S3.</li>
--   <li><a>esduBucketARN</a> - The ARN of the S3 bucket. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   <li><a>esduProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>esduRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   </ul>
extendedS3DestinationUpdate :: ExtendedS3DestinationUpdate

-- | Enables or disables Amazon S3 backup mode.
esduS3BackupMode :: Lens' ExtendedS3DestinationUpdate (Maybe S3BackupMode)

-- | The "YYYY<i>MM</i>DD<i>HH" time format prefix is automatically used
--   for delivered Amazon S3 files. You can specify an extra prefix to be
--   added in front of the time format prefix. If the prefix ends with a
--   slash, it appears as a folder in the S3 bucket. For more information,
--   see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .
esduPrefix :: Lens' ExtendedS3DestinationUpdate (Maybe Text)

-- | The Amazon CloudWatch logging options for your delivery stream.
esduCloudWatchLoggingOptions :: Lens' ExtendedS3DestinationUpdate (Maybe CloudWatchLoggingOptions)

-- | The Amazon S3 destination for backup.
esduS3BackupUpdate :: Lens' ExtendedS3DestinationUpdate (Maybe S3DestinationUpdate)

-- | The encryption configuration. If no value is specified, the default is
--   no encryption.
esduEncryptionConfiguration :: Lens' ExtendedS3DestinationUpdate (Maybe EncryptionConfiguration)

-- | The compression format. If no value is specified, the default is
--   <tt>UNCOMPRESSED</tt> .
esduCompressionFormat :: Lens' ExtendedS3DestinationUpdate (Maybe CompressionFormat)

-- | The buffering option.
esduBufferingHints :: Lens' ExtendedS3DestinationUpdate (Maybe BufferingHints)

-- | The serializer, deserializer, and schema for converting data from the
--   JSON format to the Parquet or ORC format before writing it to Amazon
--   S3.
esduDataFormatConversionConfiguration :: Lens' ExtendedS3DestinationUpdate (Maybe DataFormatConversionConfiguration)

-- | The ARN of the S3 bucket. For more information, see <a>Amazon Resource
--   Names (ARNs) and AWS Service Namespaces</a> .
esduBucketARN :: Lens' ExtendedS3DestinationUpdate (Maybe Text)

-- | The data processing configuration.
esduProcessingConfiguration :: Lens' ExtendedS3DestinationUpdate (Maybe ProcessingConfiguration)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
esduRoleARN :: Lens' ExtendedS3DestinationUpdate (Maybe Text)

-- | The native Hive / HCatalog JsonSerDe. Used by Kinesis Data Firehose
--   for deserializing data, which means converting it from the JSON format
--   in preparation for serializing it to the Parquet or ORC format. This
--   is one of two deserializers you can choose, depending on which one
--   offers the functionality you need. The other option is the OpenX
--   SerDe.
--   
--   <i>See:</i> <a>hiveJSONSerDe</a> smart constructor.
data HiveJSONSerDe

-- | Creates a value of <a>HiveJSONSerDe</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>hjsdTimestampFormats</a> - Indicates how you want Kinesis Data
--   Firehose to parse the date and time stamps that may be present in your
--   input data JSON. To specify these format strings, follow the pattern
--   syntax of JodaTime's DateTimeFormat format strings. For more
--   information, see <a>Class DateTimeFormat</a> . You can also use the
--   special value <tt>millis</tt> to parse time stamps in epoch
--   milliseconds. If you don't specify a format, Kinesis Data Firehose
--   uses <tt>java.sql.Timestamp::valueOf</tt> by default.</li>
--   </ul>
hiveJSONSerDe :: HiveJSONSerDe

-- | Indicates how you want Kinesis Data Firehose to parse the date and
--   time stamps that may be present in your input data JSON. To specify
--   these format strings, follow the pattern syntax of JodaTime's
--   DateTimeFormat format strings. For more information, see <a>Class
--   DateTimeFormat</a> . You can also use the special value
--   <tt>millis</tt> to parse time stamps in epoch milliseconds. If you
--   don't specify a format, Kinesis Data Firehose uses
--   <tt>java.sql.Timestamp::valueOf</tt> by default.
hjsdTimestampFormats :: Lens' HiveJSONSerDe [Text]

-- | Specifies the deserializer you want to use to convert the format of
--   the input data.
--   
--   <i>See:</i> <a>inputFormatConfiguration</a> smart constructor.
data InputFormatConfiguration

-- | Creates a value of <a>InputFormatConfiguration</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ifcDeserializer</a> - Specifies which deserializer to use. You
--   can choose either the Apache Hive JSON SerDe or the OpenX JSON SerDe.
--   If both are non-null, the server rejects the request.</li>
--   </ul>
inputFormatConfiguration :: InputFormatConfiguration

-- | Specifies which deserializer to use. You can choose either the Apache
--   Hive JSON SerDe or the OpenX JSON SerDe. If both are non-null, the
--   server rejects the request.
ifcDeserializer :: Lens' InputFormatConfiguration (Maybe Deserializer)

-- | Describes an encryption key for a destination in Amazon S3.
--   
--   <i>See:</i> <a>kmsEncryptionConfig</a> smart constructor.
data KMSEncryptionConfig

-- | Creates a value of <a>KMSEncryptionConfig</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>kecAWSKMSKeyARN</a> - The Amazon Resource Name (ARN) of the
--   encryption key. Must belong to the same AWS Region as the destination
--   Amazon S3 bucket. For more information, see <a>Amazon Resource Names
--   (ARNs) and AWS Service Namespaces</a> .</li>
--   </ul>
kmsEncryptionConfig :: Text -> KMSEncryptionConfig

-- | The Amazon Resource Name (ARN) of the encryption key. Must belong to
--   the same AWS Region as the destination Amazon S3 bucket. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
kecAWSKMSKeyARN :: Lens' KMSEncryptionConfig Text

-- | The stream and role Amazon Resource Names (ARNs) for a Kinesis data
--   stream used as the source for a delivery stream.
--   
--   <i>See:</i> <a>kinesisStreamSourceConfiguration</a> smart constructor.
data KinesisStreamSourceConfiguration

-- | Creates a value of <a>KinesisStreamSourceConfiguration</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ksscKinesisStreamARN</a> - The ARN of the source Kinesis data
--   stream. For more information, see <a>Amazon Kinesis Data Streams ARN
--   Format</a> .</li>
--   <li><a>ksscRoleARN</a> - The ARN of the role that provides access to
--   the source Kinesis data stream. For more information, see <a>AWS
--   Identity and Access Management (IAM) ARN Format</a> .</li>
--   </ul>
kinesisStreamSourceConfiguration :: Text -> Text -> KinesisStreamSourceConfiguration

-- | The ARN of the source Kinesis data stream. For more information, see
--   <a>Amazon Kinesis Data Streams ARN Format</a> .
ksscKinesisStreamARN :: Lens' KinesisStreamSourceConfiguration Text

-- | The ARN of the role that provides access to the source Kinesis data
--   stream. For more information, see <a>AWS Identity and Access
--   Management (IAM) ARN Format</a> .
ksscRoleARN :: Lens' KinesisStreamSourceConfiguration Text

-- | Details about a Kinesis data stream used as the source for a Kinesis
--   Data Firehose delivery stream.
--   
--   <i>See:</i> <a>kinesisStreamSourceDescription</a> smart constructor.
data KinesisStreamSourceDescription

-- | Creates a value of <a>KinesisStreamSourceDescription</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>kssdDeliveryStartTimestamp</a> - Kinesis Data Firehose starts
--   retrieving records from the Kinesis data stream starting with this
--   time stamp.</li>
--   <li><a>kssdKinesisStreamARN</a> - The Amazon Resource Name (ARN) of
--   the source Kinesis data stream. For more information, see <a>Amazon
--   Kinesis Data Streams ARN Format</a> .</li>
--   <li><a>kssdRoleARN</a> - The ARN of the role used by the source
--   Kinesis data stream. For more information, see <a>AWS Identity and
--   Access Management (IAM) ARN Format</a> .</li>
--   </ul>
kinesisStreamSourceDescription :: KinesisStreamSourceDescription

-- | Kinesis Data Firehose starts retrieving records from the Kinesis data
--   stream starting with this time stamp.
kssdDeliveryStartTimestamp :: Lens' KinesisStreamSourceDescription (Maybe UTCTime)

-- | The Amazon Resource Name (ARN) of the source Kinesis data stream. For
--   more information, see <a>Amazon Kinesis Data Streams ARN Format</a> .
kssdKinesisStreamARN :: Lens' KinesisStreamSourceDescription (Maybe Text)

-- | The ARN of the role used by the source Kinesis data stream. For more
--   information, see <a>AWS Identity and Access Management (IAM) ARN
--   Format</a> .
kssdRoleARN :: Lens' KinesisStreamSourceDescription (Maybe Text)

-- | The OpenX SerDe. Used by Kinesis Data Firehose for deserializing data,
--   which means converting it from the JSON format in preparation for
--   serializing it to the Parquet or ORC format. This is one of two
--   deserializers you can choose, depending on which one offers the
--   functionality you need. The other option is the native Hive / HCatalog
--   JsonSerDe.
--   
--   <i>See:</i> <a>openXJSONSerDe</a> smart constructor.
data OpenXJSONSerDe

-- | Creates a value of <a>OpenXJSONSerDe</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>oxjsdColumnToJSONKeyMappings</a> - Maps column names to JSON
--   keys that aren't identical to the column names. This is useful when
--   the JSON contains keys that are Hive keywords. For example,
--   <tt>timestamp</tt> is a Hive keyword. If you have a JSON key named
--   <tt>timestamp</tt> , set this parameter to <tt>{"ts":
--   "timestamp"}</tt> to map this key to a column named <tt>ts</tt> .</li>
--   <li><a>oxjsdCaseInsensitive</a> - When set to <tt>true</tt> , which is
--   the default, Kinesis Data Firehose converts JSON keys to lowercase
--   before deserializing them.</li>
--   <li><a>oxjsdConvertDotsInJSONKeysToUnderscores</a> - When set to
--   <tt>true</tt> , specifies that the names of the keys include dots and
--   that you want Kinesis Data Firehose to replace them with underscores.
--   This is useful because Apache Hive does not allow dots in column
--   names. For example, if the JSON contains a key whose name is "a.b",
--   you can define the column name to be "a_b" when using this option. The
--   default is <tt>false</tt> .</li>
--   </ul>
openXJSONSerDe :: OpenXJSONSerDe

-- | Maps column names to JSON keys that aren't identical to the column
--   names. This is useful when the JSON contains keys that are Hive
--   keywords. For example, <tt>timestamp</tt> is a Hive keyword. If you
--   have a JSON key named <tt>timestamp</tt> , set this parameter to
--   <tt>{"ts": "timestamp"}</tt> to map this key to a column named
--   <tt>ts</tt> .
oxjsdColumnToJSONKeyMappings :: Lens' OpenXJSONSerDe (HashMap Text Text)

-- | When set to <tt>true</tt> , which is the default, Kinesis Data
--   Firehose converts JSON keys to lowercase before deserializing them.
oxjsdCaseInsensitive :: Lens' OpenXJSONSerDe (Maybe Bool)

-- | When set to <tt>true</tt> , specifies that the names of the keys
--   include dots and that you want Kinesis Data Firehose to replace them
--   with underscores. This is useful because Apache Hive does not allow
--   dots in column names. For example, if the JSON contains a key whose
--   name is "a.b", you can define the column name to be "a_b" when using
--   this option. The default is <tt>false</tt> .
oxjsdConvertDotsInJSONKeysToUnderscores :: Lens' OpenXJSONSerDe (Maybe Bool)

-- | A serializer to use for converting data to the ORC format before
--   storing it in Amazon S3. For more information, see <a>Apache ORC</a> .
--   
--   <i>See:</i> <a>orcSerDe</a> smart constructor.
data OrcSerDe

-- | Creates a value of <a>OrcSerDe</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>osdBloomFilterFalsePositiveProbability</a> - The Bloom filter
--   false positive probability (FPP). The lower the FPP, the bigger the
--   Bloom filter. The default value is 0.05, the minimum is 0, and the
--   maximum is 1.</li>
--   <li><a>osdDictionaryKeyThreshold</a> - Represents the fraction of the
--   total number of non-null rows. To turn off dictionary encoding, set
--   this fraction to a number that is less than the number of distinct
--   keys in a dictionary. To always use dictionary encoding, set this
--   threshold to 1.</li>
--   <li><a>osdEnablePadding</a> - Set this to <tt>true</tt> to indicate
--   that you want stripes to be padded to the HDFS block boundaries. This
--   is useful if you intend to copy the data from Amazon S3 to HDFS before
--   querying. The default is <tt>false</tt> .</li>
--   <li><a>osdCompression</a> - The compression code to use over data
--   blocks. The default is <tt>SNAPPY</tt> .</li>
--   <li><a>osdBloomFilterColumns</a> - The column names for which you want
--   Kinesis Data Firehose to create bloom filters. The default is
--   <tt>null</tt> .</li>
--   <li><a>osdRowIndexStride</a> - The number of rows between index
--   entries. The default is 10,000 and the minimum is 1,000.</li>
--   <li><a>osdFormatVersion</a> - The version of the file to write. The
--   possible values are <tt>V0_11</tt> and <tt>V0_12</tt> . The default is
--   <tt>V0_12</tt> .</li>
--   <li><a>osdBlockSizeBytes</a> - The Hadoop Distributed File System
--   (HDFS) block size. This is useful if you intend to copy the data from
--   Amazon S3 to HDFS before querying. The default is 256 MiB and the
--   minimum is 64 MiB. Kinesis Data Firehose uses this value for padding
--   calculations.</li>
--   <li><a>osdStripeSizeBytes</a> - The number of bytes in each stripe.
--   The default is 64 MiB and the minimum is 8 MiB.</li>
--   <li><a>osdPaddingTolerance</a> - A number between 0 and 1 that defines
--   the tolerance for block padding as a decimal fraction of stripe size.
--   The default value is 0.05, which means 5 percent of stripe size. For
--   the default values of 64 MiB ORC stripes and 256 MiB HDFS blocks, the
--   default block padding tolerance of 5 percent reserves a maximum of 3.2
--   MiB for padding within the 256 MiB block. In such a case, if the
--   available size within the block is more than 3.2 MiB, a new, smaller
--   stripe is inserted to fit within that space. This ensures that no
--   stripe crosses block boundaries and causes remote reads within a
--   node-local task. Kinesis Data Firehose ignores this parameter when
--   'OrcSerDe$EnablePadding' is <tt>false</tt> .</li>
--   </ul>
orcSerDe :: OrcSerDe

-- | The Bloom filter false positive probability (FPP). The lower the FPP,
--   the bigger the Bloom filter. The default value is 0.05, the minimum is
--   0, and the maximum is 1.
osdBloomFilterFalsePositiveProbability :: Lens' OrcSerDe (Maybe Double)

-- | Represents the fraction of the total number of non-null rows. To turn
--   off dictionary encoding, set this fraction to a number that is less
--   than the number of distinct keys in a dictionary. To always use
--   dictionary encoding, set this threshold to 1.
osdDictionaryKeyThreshold :: Lens' OrcSerDe (Maybe Double)

-- | Set this to <tt>true</tt> to indicate that you want stripes to be
--   padded to the HDFS block boundaries. This is useful if you intend to
--   copy the data from Amazon S3 to HDFS before querying. The default is
--   <tt>false</tt> .
osdEnablePadding :: Lens' OrcSerDe (Maybe Bool)

-- | The compression code to use over data blocks. The default is
--   <tt>SNAPPY</tt> .
osdCompression :: Lens' OrcSerDe (Maybe OrcCompression)

-- | The column names for which you want Kinesis Data Firehose to create
--   bloom filters. The default is <tt>null</tt> .
osdBloomFilterColumns :: Lens' OrcSerDe [Text]

-- | The number of rows between index entries. The default is 10,000 and
--   the minimum is 1,000.
osdRowIndexStride :: Lens' OrcSerDe (Maybe Natural)

-- | The version of the file to write. The possible values are
--   <tt>V0_11</tt> and <tt>V0_12</tt> . The default is <tt>V0_12</tt> .
osdFormatVersion :: Lens' OrcSerDe (Maybe OrcFormatVersion)

-- | The Hadoop Distributed File System (HDFS) block size. This is useful
--   if you intend to copy the data from Amazon S3 to HDFS before querying.
--   The default is 256 MiB and the minimum is 64 MiB. Kinesis Data
--   Firehose uses this value for padding calculations.
osdBlockSizeBytes :: Lens' OrcSerDe (Maybe Natural)

-- | The number of bytes in each stripe. The default is 64 MiB and the
--   minimum is 8 MiB.
osdStripeSizeBytes :: Lens' OrcSerDe (Maybe Natural)

-- | A number between 0 and 1 that defines the tolerance for block padding
--   as a decimal fraction of stripe size. The default value is 0.05, which
--   means 5 percent of stripe size. For the default values of 64 MiB ORC
--   stripes and 256 MiB HDFS blocks, the default block padding tolerance
--   of 5 percent reserves a maximum of 3.2 MiB for padding within the 256
--   MiB block. In such a case, if the available size within the block is
--   more than 3.2 MiB, a new, smaller stripe is inserted to fit within
--   that space. This ensures that no stripe crosses block boundaries and
--   causes remote reads within a node-local task. Kinesis Data Firehose
--   ignores this parameter when 'OrcSerDe$EnablePadding' is <tt>false</tt>
--   .
osdPaddingTolerance :: Lens' OrcSerDe (Maybe Double)

-- | Specifies the serializer that you want Kinesis Data Firehose to use to
--   convert the format of your data before it writes it to Amazon S3.
--   
--   <i>See:</i> <a>outputFormatConfiguration</a> smart constructor.
data OutputFormatConfiguration

-- | Creates a value of <a>OutputFormatConfiguration</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ofcSerializer</a> - Specifies which serializer to use. You can
--   choose either the ORC SerDe or the Parquet SerDe. If both are
--   non-null, the server rejects the request.</li>
--   </ul>
outputFormatConfiguration :: OutputFormatConfiguration

-- | Specifies which serializer to use. You can choose either the ORC SerDe
--   or the Parquet SerDe. If both are non-null, the server rejects the
--   request.
ofcSerializer :: Lens' OutputFormatConfiguration (Maybe Serializer)

-- | A serializer to use for converting data to the Parquet format before
--   storing it in Amazon S3. For more information, see <a>Apache
--   Parquet</a> .
--   
--   <i>See:</i> <a>parquetSerDe</a> smart constructor.
data ParquetSerDe

-- | Creates a value of <a>ParquetSerDe</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>psdWriterVersion</a> - Indicates the version of row format to
--   output. The possible values are <tt>V1</tt> and <tt>V2</tt> . The
--   default is <tt>V1</tt> .</li>
--   <li><a>psdCompression</a> - The compression code to use over data
--   blocks. The possible values are <tt>UNCOMPRESSED</tt> ,
--   <tt>SNAPPY</tt> , and <tt>GZIP</tt> , with the default being
--   <tt>SNAPPY</tt> . Use <tt>SNAPPY</tt> for higher decompression speed.
--   Use <tt>GZIP</tt> if the compression ration is more important than
--   speed.</li>
--   <li><a>psdMaxPaddingBytes</a> - The maximum amount of padding to
--   apply. This is useful if you intend to copy the data from Amazon S3 to
--   HDFS before querying. The default is 0.</li>
--   <li><a>psdEnableDictionaryCompression</a> - Indicates whether to
--   enable dictionary compression.</li>
--   <li><a>psdPageSizeBytes</a> - The Parquet page size. Column chunks are
--   divided into pages. A page is conceptually an indivisible unit (in
--   terms of compression and encoding). The minimum value is 64 KiB and
--   the default is 1 MiB.</li>
--   <li><a>psdBlockSizeBytes</a> - The Hadoop Distributed File System
--   (HDFS) block size. This is useful if you intend to copy the data from
--   Amazon S3 to HDFS before querying. The default is 256 MiB and the
--   minimum is 64 MiB. Kinesis Data Firehose uses this value for padding
--   calculations.</li>
--   </ul>
parquetSerDe :: ParquetSerDe

-- | Indicates the version of row format to output. The possible values are
--   <tt>V1</tt> and <tt>V2</tt> . The default is <tt>V1</tt> .
psdWriterVersion :: Lens' ParquetSerDe (Maybe ParquetWriterVersion)

-- | The compression code to use over data blocks. The possible values are
--   <tt>UNCOMPRESSED</tt> , <tt>SNAPPY</tt> , and <tt>GZIP</tt> , with the
--   default being <tt>SNAPPY</tt> . Use <tt>SNAPPY</tt> for higher
--   decompression speed. Use <tt>GZIP</tt> if the compression ration is
--   more important than speed.
psdCompression :: Lens' ParquetSerDe (Maybe ParquetCompression)

-- | The maximum amount of padding to apply. This is useful if you intend
--   to copy the data from Amazon S3 to HDFS before querying. The default
--   is 0.
psdMaxPaddingBytes :: Lens' ParquetSerDe (Maybe Natural)

-- | Indicates whether to enable dictionary compression.
psdEnableDictionaryCompression :: Lens' ParquetSerDe (Maybe Bool)

-- | The Parquet page size. Column chunks are divided into pages. A page is
--   conceptually an indivisible unit (in terms of compression and
--   encoding). The minimum value is 64 KiB and the default is 1 MiB.
psdPageSizeBytes :: Lens' ParquetSerDe (Maybe Natural)

-- | The Hadoop Distributed File System (HDFS) block size. This is useful
--   if you intend to copy the data from Amazon S3 to HDFS before querying.
--   The default is 256 MiB and the minimum is 64 MiB. Kinesis Data
--   Firehose uses this value for padding calculations.
psdBlockSizeBytes :: Lens' ParquetSerDe (Maybe Natural)

-- | Describes a data processing configuration.
--   
--   <i>See:</i> <a>processingConfiguration</a> smart constructor.
data ProcessingConfiguration

-- | Creates a value of <a>ProcessingConfiguration</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pcEnabled</a> - Enables or disables data processing.</li>
--   <li><a>pcProcessors</a> - The data processors.</li>
--   </ul>
processingConfiguration :: ProcessingConfiguration

-- | Enables or disables data processing.
pcEnabled :: Lens' ProcessingConfiguration (Maybe Bool)

-- | The data processors.
pcProcessors :: Lens' ProcessingConfiguration [Processor]

-- | Describes a data processor.
--   
--   <i>See:</i> <a>processor</a> smart constructor.
data Processor

-- | Creates a value of <a>Processor</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pParameters</a> - The processor parameters.</li>
--   <li><a>pType</a> - The type of processor.</li>
--   </ul>
processor :: ProcessorType -> Processor

-- | The processor parameters.
pParameters :: Lens' Processor [ProcessorParameter]

-- | The type of processor.
pType :: Lens' Processor ProcessorType

-- | Describes the processor parameter.
--   
--   <i>See:</i> <a>processorParameter</a> smart constructor.
data ProcessorParameter

-- | Creates a value of <a>ProcessorParameter</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ppParameterName</a> - The name of the parameter.</li>
--   <li><a>ppParameterValue</a> - The parameter value.</li>
--   </ul>
processorParameter :: ProcessorParameterName -> Text -> ProcessorParameter

-- | The name of the parameter.
ppParameterName :: Lens' ProcessorParameter ProcessorParameterName

-- | The parameter value.
ppParameterValue :: Lens' ProcessorParameter Text

-- | Contains the result for an individual record from a
--   <tt>PutRecordBatch</tt> request. If the record is successfully added
--   to your delivery stream, it receives a record ID. If the record fails
--   to be added to your delivery stream, the result includes an error code
--   and an error message.
--   
--   <i>See:</i> <a>putRecordBatchResponseEntry</a> smart constructor.
data PutRecordBatchResponseEntry

-- | Creates a value of <a>PutRecordBatchResponseEntry</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>prbreRecordId</a> - The ID of the record.</li>
--   <li><a>prbreErrorCode</a> - The error code for an individual record
--   result.</li>
--   <li><a>prbreErrorMessage</a> - The error message for an individual
--   record result.</li>
--   </ul>
putRecordBatchResponseEntry :: PutRecordBatchResponseEntry

-- | The ID of the record.
prbreRecordId :: Lens' PutRecordBatchResponseEntry (Maybe Text)

-- | The error code for an individual record result.
prbreErrorCode :: Lens' PutRecordBatchResponseEntry (Maybe Text)

-- | The error message for an individual record result.
prbreErrorMessage :: Lens' PutRecordBatchResponseEntry (Maybe Text)

-- | The unit of data in a delivery stream.
--   
--   <i>See:</i> <a>record</a> smart constructor.
data Record

-- | Creates a value of <a>Record</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rData</a> - The data blob, which is base64-encoded when the
--   blob is serialized. The maximum size of the data blob, before
--   base64-encoding, is 1,000 KB.-- <i>Note:</i> This <tt>Lens</tt>
--   automatically encodes and decodes Base64 data. The underlying
--   isomorphism will encode to Base64 representation during serialisation,
--   and decode from Base64 representation during deserialisation. This
--   <tt>Lens</tt> accepts and returns only raw unencoded data.</li>
--   </ul>
record :: ByteString -> Record

-- | The data blob, which is base64-encoded when the blob is serialized.
--   The maximum size of the data blob, before base64-encoding, is 1,000
--   KB.-- <i>Note:</i> This <tt>Lens</tt> automatically encodes and
--   decodes Base64 data. The underlying isomorphism will encode to Base64
--   representation during serialisation, and decode from Base64
--   representation during deserialisation. This <tt>Lens</tt> accepts and
--   returns only raw unencoded data.
rData :: Lens' Record ByteString

-- | Describes the configuration of a destination in Amazon Redshift.
--   
--   <i>See:</i> <a>redshiftDestinationConfiguration</a> smart constructor.
data RedshiftDestinationConfiguration

-- | Creates a value of <a>RedshiftDestinationConfiguration</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rdcS3BackupMode</a> - The Amazon S3 backup mode.</li>
--   <li><a>rdcCloudWatchLoggingOptions</a> - The CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>rdcS3BackupConfiguration</a> - The configuration for backup in
--   Amazon S3.</li>
--   <li><a>rdcRetryOptions</a> - The retry behavior in case Kinesis Data
--   Firehose is unable to deliver documents to Amazon Redshift. Default
--   value is 3600 (60 minutes).</li>
--   <li><a>rdcProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>rdcRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   <li><a>rdcClusterJDBCURL</a> - The database connection string.</li>
--   <li><a>rdcCopyCommand</a> - The <tt>COPY</tt> command.</li>
--   <li><a>rdcUsername</a> - The name of the user.</li>
--   <li><a>rdcPassword</a> - The user password.</li>
--   <li><a>rdcS3Configuration</a> - The configuration for the intermediate
--   Amazon S3 location from which Amazon Redshift obtains data.
--   Restrictions are described in the topic for
--   <tt>CreateDeliveryStream</tt> . The compression formats
--   <tt>SNAPPY</tt> or <tt>ZIP</tt> cannot be specified in
--   <tt>RedshiftDestinationConfiguration.S3Configuration</tt> because the
--   Amazon Redshift <tt>COPY</tt> operation that reads from the S3 bucket
--   doesn't support these compression formats.</li>
--   </ul>
redshiftDestinationConfiguration :: Text -> Text -> CopyCommand -> Text -> Text -> S3DestinationConfiguration -> RedshiftDestinationConfiguration

-- | The Amazon S3 backup mode.
rdcS3BackupMode :: Lens' RedshiftDestinationConfiguration (Maybe RedshiftS3BackupMode)

-- | The CloudWatch logging options for your delivery stream.
rdcCloudWatchLoggingOptions :: Lens' RedshiftDestinationConfiguration (Maybe CloudWatchLoggingOptions)

-- | The configuration for backup in Amazon S3.
rdcS3BackupConfiguration :: Lens' RedshiftDestinationConfiguration (Maybe S3DestinationConfiguration)

-- | The retry behavior in case Kinesis Data Firehose is unable to deliver
--   documents to Amazon Redshift. Default value is 3600 (60 minutes).
rdcRetryOptions :: Lens' RedshiftDestinationConfiguration (Maybe RedshiftRetryOptions)

-- | The data processing configuration.
rdcProcessingConfiguration :: Lens' RedshiftDestinationConfiguration (Maybe ProcessingConfiguration)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
rdcRoleARN :: Lens' RedshiftDestinationConfiguration Text

-- | The database connection string.
rdcClusterJDBCURL :: Lens' RedshiftDestinationConfiguration Text

-- | The <tt>COPY</tt> command.
rdcCopyCommand :: Lens' RedshiftDestinationConfiguration CopyCommand

-- | The name of the user.
rdcUsername :: Lens' RedshiftDestinationConfiguration Text

-- | The user password.
rdcPassword :: Lens' RedshiftDestinationConfiguration Text

-- | The configuration for the intermediate Amazon S3 location from which
--   Amazon Redshift obtains data. Restrictions are described in the topic
--   for <tt>CreateDeliveryStream</tt> . The compression formats
--   <tt>SNAPPY</tt> or <tt>ZIP</tt> cannot be specified in
--   <tt>RedshiftDestinationConfiguration.S3Configuration</tt> because the
--   Amazon Redshift <tt>COPY</tt> operation that reads from the S3 bucket
--   doesn't support these compression formats.
rdcS3Configuration :: Lens' RedshiftDestinationConfiguration S3DestinationConfiguration

-- | Describes a destination in Amazon Redshift.
--   
--   <i>See:</i> <a>redshiftDestinationDescription</a> smart constructor.
data RedshiftDestinationDescription

-- | Creates a value of <a>RedshiftDestinationDescription</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rddS3BackupMode</a> - The Amazon S3 backup mode.</li>
--   <li><a>rddS3BackupDescription</a> - The configuration for backup in
--   Amazon S3.</li>
--   <li><a>rddCloudWatchLoggingOptions</a> - The Amazon CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>rddRetryOptions</a> - The retry behavior in case Kinesis Data
--   Firehose is unable to deliver documents to Amazon Redshift. Default
--   value is 3600 (60 minutes).</li>
--   <li><a>rddProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>rddRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   <li><a>rddClusterJDBCURL</a> - The database connection string.</li>
--   <li><a>rddCopyCommand</a> - The <tt>COPY</tt> command.</li>
--   <li><a>rddUsername</a> - The name of the user.</li>
--   <li><a>rddS3DestinationDescription</a> - The Amazon S3
--   destination.</li>
--   </ul>
redshiftDestinationDescription :: Text -> Text -> CopyCommand -> Text -> S3DestinationDescription -> RedshiftDestinationDescription

-- | The Amazon S3 backup mode.
rddS3BackupMode :: Lens' RedshiftDestinationDescription (Maybe RedshiftS3BackupMode)

-- | The configuration for backup in Amazon S3.
rddS3BackupDescription :: Lens' RedshiftDestinationDescription (Maybe S3DestinationDescription)

-- | The Amazon CloudWatch logging options for your delivery stream.
rddCloudWatchLoggingOptions :: Lens' RedshiftDestinationDescription (Maybe CloudWatchLoggingOptions)

-- | The retry behavior in case Kinesis Data Firehose is unable to deliver
--   documents to Amazon Redshift. Default value is 3600 (60 minutes).
rddRetryOptions :: Lens' RedshiftDestinationDescription (Maybe RedshiftRetryOptions)

-- | The data processing configuration.
rddProcessingConfiguration :: Lens' RedshiftDestinationDescription (Maybe ProcessingConfiguration)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
rddRoleARN :: Lens' RedshiftDestinationDescription Text

-- | The database connection string.
rddClusterJDBCURL :: Lens' RedshiftDestinationDescription Text

-- | The <tt>COPY</tt> command.
rddCopyCommand :: Lens' RedshiftDestinationDescription CopyCommand

-- | The name of the user.
rddUsername :: Lens' RedshiftDestinationDescription Text

-- | The Amazon S3 destination.
rddS3DestinationDescription :: Lens' RedshiftDestinationDescription S3DestinationDescription

-- | Describes an update for a destination in Amazon Redshift.
--   
--   <i>See:</i> <a>redshiftDestinationUpdate</a> smart constructor.
data RedshiftDestinationUpdate

-- | Creates a value of <a>RedshiftDestinationUpdate</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rduS3BackupMode</a> - The Amazon S3 backup mode.</li>
--   <li><a>rduCloudWatchLoggingOptions</a> - The Amazon CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>rduUsername</a> - The name of the user.</li>
--   <li><a>rduS3Update</a> - The Amazon S3 destination. The compression
--   formats <tt>SNAPPY</tt> or <tt>ZIP</tt> cannot be specified in
--   <tt>RedshiftDestinationUpdate.S3Update</tt> because the Amazon
--   Redshift <tt>COPY</tt> operation that reads from the S3 bucket doesn't
--   support these compression formats.</li>
--   <li><a>rduPassword</a> - The user password.</li>
--   <li><a>rduS3BackupUpdate</a> - The Amazon S3 destination for
--   backup.</li>
--   <li><a>rduCopyCommand</a> - The <tt>COPY</tt> command.</li>
--   <li><a>rduRetryOptions</a> - The retry behavior in case Kinesis Data
--   Firehose is unable to deliver documents to Amazon Redshift. Default
--   value is 3600 (60 minutes).</li>
--   <li><a>rduProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>rduClusterJDBCURL</a> - The database connection string.</li>
--   <li><a>rduRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   </ul>
redshiftDestinationUpdate :: RedshiftDestinationUpdate

-- | The Amazon S3 backup mode.
rduS3BackupMode :: Lens' RedshiftDestinationUpdate (Maybe RedshiftS3BackupMode)

-- | The Amazon CloudWatch logging options for your delivery stream.
rduCloudWatchLoggingOptions :: Lens' RedshiftDestinationUpdate (Maybe CloudWatchLoggingOptions)

-- | The name of the user.
rduUsername :: Lens' RedshiftDestinationUpdate (Maybe Text)

-- | The Amazon S3 destination. The compression formats <tt>SNAPPY</tt> or
--   <tt>ZIP</tt> cannot be specified in
--   <tt>RedshiftDestinationUpdate.S3Update</tt> because the Amazon
--   Redshift <tt>COPY</tt> operation that reads from the S3 bucket doesn't
--   support these compression formats.
rduS3Update :: Lens' RedshiftDestinationUpdate (Maybe S3DestinationUpdate)

-- | The user password.
rduPassword :: Lens' RedshiftDestinationUpdate (Maybe Text)

-- | The Amazon S3 destination for backup.
rduS3BackupUpdate :: Lens' RedshiftDestinationUpdate (Maybe S3DestinationUpdate)

-- | The <tt>COPY</tt> command.
rduCopyCommand :: Lens' RedshiftDestinationUpdate (Maybe CopyCommand)

-- | The retry behavior in case Kinesis Data Firehose is unable to deliver
--   documents to Amazon Redshift. Default value is 3600 (60 minutes).
rduRetryOptions :: Lens' RedshiftDestinationUpdate (Maybe RedshiftRetryOptions)

-- | The data processing configuration.
rduProcessingConfiguration :: Lens' RedshiftDestinationUpdate (Maybe ProcessingConfiguration)

-- | The database connection string.
rduClusterJDBCURL :: Lens' RedshiftDestinationUpdate (Maybe Text)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
rduRoleARN :: Lens' RedshiftDestinationUpdate (Maybe Text)

-- | Configures retry behavior in case Kinesis Data Firehose is unable to
--   deliver documents to Amazon Redshift.
--   
--   <i>See:</i> <a>redshiftRetryOptions</a> smart constructor.
data RedshiftRetryOptions

-- | Creates a value of <a>RedshiftRetryOptions</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rroDurationInSeconds</a> - The length of time during which
--   Kinesis Data Firehose retries delivery after a failure, starting from
--   the initial request and including the first attempt. The default value
--   is 3600 seconds (60 minutes). Kinesis Data Firehose does not retry if
--   the value of <tt>DurationInSeconds</tt> is 0 (zero) or if the first
--   delivery attempt takes longer than the current value.</li>
--   </ul>
redshiftRetryOptions :: RedshiftRetryOptions

-- | The length of time during which Kinesis Data Firehose retries delivery
--   after a failure, starting from the initial request and including the
--   first attempt. The default value is 3600 seconds (60 minutes). Kinesis
--   Data Firehose does not retry if the value of
--   <tt>DurationInSeconds</tt> is 0 (zero) or if the first delivery
--   attempt takes longer than the current value.
rroDurationInSeconds :: Lens' RedshiftRetryOptions (Maybe Natural)

-- | Describes the configuration of a destination in Amazon S3.
--   
--   <i>See:</i> <a>s3DestinationConfiguration</a> smart constructor.
data S3DestinationConfiguration

-- | Creates a value of <a>S3DestinationConfiguration</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sdcPrefix</a> - The "YYYY<i>MM</i>DD<i>HH" time format prefix
--   is automatically used for delivered Amazon S3 files. You can specify
--   an extra prefix to be added in front of the time format prefix. If the
--   prefix ends with a slash, it appears as a folder in the S3 bucket. For
--   more information, see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .</li>
--   <li><a>sdcCloudWatchLoggingOptions</a> - The CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>sdcEncryptionConfiguration</a> - The encryption configuration.
--   If no value is specified, the default is no encryption.</li>
--   <li><a>sdcCompressionFormat</a> - The compression format. If no value
--   is specified, the default is <tt>UNCOMPRESSED</tt> . The compression
--   formats <tt>SNAPPY</tt> or <tt>ZIP</tt> cannot be specified for Amazon
--   Redshift destinations because they are not supported by the Amazon
--   Redshift <tt>COPY</tt> operation that reads from the S3 bucket.</li>
--   <li><a>sdcBufferingHints</a> - The buffering option. If no value is
--   specified, <tt>BufferingHints</tt> object default values are
--   used.</li>
--   <li><a>sdcRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   <li><a>sdcBucketARN</a> - The ARN of the S3 bucket. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   </ul>
s3DestinationConfiguration :: Text -> Text -> S3DestinationConfiguration

-- | The "YYYY<i>MM</i>DD<i>HH" time format prefix is automatically used
--   for delivered Amazon S3 files. You can specify an extra prefix to be
--   added in front of the time format prefix. If the prefix ends with a
--   slash, it appears as a folder in the S3 bucket. For more information,
--   see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .
sdcPrefix :: Lens' S3DestinationConfiguration (Maybe Text)

-- | The CloudWatch logging options for your delivery stream.
sdcCloudWatchLoggingOptions :: Lens' S3DestinationConfiguration (Maybe CloudWatchLoggingOptions)

-- | The encryption configuration. If no value is specified, the default is
--   no encryption.
sdcEncryptionConfiguration :: Lens' S3DestinationConfiguration (Maybe EncryptionConfiguration)

-- | The compression format. If no value is specified, the default is
--   <tt>UNCOMPRESSED</tt> . The compression formats <tt>SNAPPY</tt> or
--   <tt>ZIP</tt> cannot be specified for Amazon Redshift destinations
--   because they are not supported by the Amazon Redshift <tt>COPY</tt>
--   operation that reads from the S3 bucket.
sdcCompressionFormat :: Lens' S3DestinationConfiguration (Maybe CompressionFormat)

-- | The buffering option. If no value is specified,
--   <tt>BufferingHints</tt> object default values are used.
sdcBufferingHints :: Lens' S3DestinationConfiguration (Maybe BufferingHints)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
sdcRoleARN :: Lens' S3DestinationConfiguration Text

-- | The ARN of the S3 bucket. For more information, see <a>Amazon Resource
--   Names (ARNs) and AWS Service Namespaces</a> .
sdcBucketARN :: Lens' S3DestinationConfiguration Text

-- | Describes a destination in Amazon S3.
--   
--   <i>See:</i> <a>s3DestinationDescription</a> smart constructor.
data S3DestinationDescription

-- | Creates a value of <a>S3DestinationDescription</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>s3Prefix</a> - The "YYYY<i>MM</i>DD<i>HH" time format prefix is
--   automatically used for delivered Amazon S3 files. You can specify an
--   extra prefix to be added in front of the time format prefix. If the
--   prefix ends with a slash, it appears as a folder in the S3 bucket. For
--   more information, see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .</li>
--   <li><a>s3CloudWatchLoggingOptions</a> - The Amazon CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>s3RoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   <li><a>s3BucketARN</a> - The ARN of the S3 bucket. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   <li><a>s3BufferingHints</a> - The buffering option. If no value is
--   specified, <tt>BufferingHints</tt> object default values are
--   used.</li>
--   <li><a>s3CompressionFormat</a> - The compression format. If no value
--   is specified, the default is <tt>UNCOMPRESSED</tt> .</li>
--   <li><a>s3EncryptionConfiguration</a> - The encryption configuration.
--   If no value is specified, the default is no encryption.</li>
--   </ul>
s3DestinationDescription :: Text -> Text -> BufferingHints -> CompressionFormat -> EncryptionConfiguration -> S3DestinationDescription

-- | The "YYYY<i>MM</i>DD<i>HH" time format prefix is automatically used
--   for delivered Amazon S3 files. You can specify an extra prefix to be
--   added in front of the time format prefix. If the prefix ends with a
--   slash, it appears as a folder in the S3 bucket. For more information,
--   see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .
s3Prefix :: Lens' S3DestinationDescription (Maybe Text)

-- | The Amazon CloudWatch logging options for your delivery stream.
s3CloudWatchLoggingOptions :: Lens' S3DestinationDescription (Maybe CloudWatchLoggingOptions)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
s3RoleARN :: Lens' S3DestinationDescription Text

-- | The ARN of the S3 bucket. For more information, see <a>Amazon Resource
--   Names (ARNs) and AWS Service Namespaces</a> .
s3BucketARN :: Lens' S3DestinationDescription Text

-- | The buffering option. If no value is specified,
--   <tt>BufferingHints</tt> object default values are used.
s3BufferingHints :: Lens' S3DestinationDescription BufferingHints

-- | The compression format. If no value is specified, the default is
--   <tt>UNCOMPRESSED</tt> .
s3CompressionFormat :: Lens' S3DestinationDescription CompressionFormat

-- | The encryption configuration. If no value is specified, the default is
--   no encryption.
s3EncryptionConfiguration :: Lens' S3DestinationDescription EncryptionConfiguration

-- | Describes an update for a destination in Amazon S3.
--   
--   <i>See:</i> <a>s3DestinationUpdate</a> smart constructor.
data S3DestinationUpdate

-- | Creates a value of <a>S3DestinationUpdate</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sPrefix</a> - The "YYYY<i>MM</i>DD<i>HH" time format prefix is
--   automatically used for delivered Amazon S3 files. You can specify an
--   extra prefix to be added in front of the time format prefix. If the
--   prefix ends with a slash, it appears as a folder in the S3 bucket. For
--   more information, see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .</li>
--   <li><a>sCloudWatchLoggingOptions</a> - The CloudWatch logging options
--   for your delivery stream.</li>
--   <li><a>sEncryptionConfiguration</a> - The encryption configuration. If
--   no value is specified, the default is no encryption.</li>
--   <li><a>sCompressionFormat</a> - The compression format. If no value is
--   specified, the default is <tt>UNCOMPRESSED</tt> . The compression
--   formats <tt>SNAPPY</tt> or <tt>ZIP</tt> cannot be specified for Amazon
--   Redshift destinations because they are not supported by the Amazon
--   Redshift <tt>COPY</tt> operation that reads from the S3 bucket.</li>
--   <li><a>sBufferingHints</a> - The buffering option. If no value is
--   specified, <tt>BufferingHints</tt> object default values are
--   used.</li>
--   <li><a>sBucketARN</a> - The ARN of the S3 bucket. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   <li><a>sRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   </ul>
s3DestinationUpdate :: S3DestinationUpdate

-- | The "YYYY<i>MM</i>DD<i>HH" time format prefix is automatically used
--   for delivered Amazon S3 files. You can specify an extra prefix to be
--   added in front of the time format prefix. If the prefix ends with a
--   slash, it appears as a folder in the S3 bucket. For more information,
--   see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .
sPrefix :: Lens' S3DestinationUpdate (Maybe Text)

-- | The CloudWatch logging options for your delivery stream.
sCloudWatchLoggingOptions :: Lens' S3DestinationUpdate (Maybe CloudWatchLoggingOptions)

-- | The encryption configuration. If no value is specified, the default is
--   no encryption.
sEncryptionConfiguration :: Lens' S3DestinationUpdate (Maybe EncryptionConfiguration)

-- | The compression format. If no value is specified, the default is
--   <tt>UNCOMPRESSED</tt> . The compression formats <tt>SNAPPY</tt> or
--   <tt>ZIP</tt> cannot be specified for Amazon Redshift destinations
--   because they are not supported by the Amazon Redshift <tt>COPY</tt>
--   operation that reads from the S3 bucket.
sCompressionFormat :: Lens' S3DestinationUpdate (Maybe CompressionFormat)

-- | The buffering option. If no value is specified,
--   <tt>BufferingHints</tt> object default values are used.
sBufferingHints :: Lens' S3DestinationUpdate (Maybe BufferingHints)

-- | The ARN of the S3 bucket. For more information, see <a>Amazon Resource
--   Names (ARNs) and AWS Service Namespaces</a> .
sBucketARN :: Lens' S3DestinationUpdate (Maybe Text)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
sRoleARN :: Lens' S3DestinationUpdate (Maybe Text)

-- | Specifies the schema to which you want Kinesis Data Firehose to
--   configure your data before it writes it to Amazon S3.
--   
--   <i>See:</i> <a>schemaConfiguration</a> smart constructor.
data SchemaConfiguration

-- | Creates a value of <a>SchemaConfiguration</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>scVersionId</a> - Specifies the table version for the output
--   data schema. If you don't specify this version ID, or if you set it to
--   <tt>LATEST</tt> , Kinesis Data Firehose uses the most recent version.
--   This means that any updates to the table are automatically picked
--   up.</li>
--   <li><a>scCatalogId</a> - The ID of the AWS Glue Data Catalog. If you
--   don't supply this, the AWS account ID is used by default.</li>
--   <li><a>scDatabaseName</a> - Specifies the name of the AWS Glue
--   database that contains the schema for the output data.</li>
--   <li><a>scRegion</a> - If you don't specify an AWS Region, the default
--   is the current Region.</li>
--   <li><a>scTableName</a> - Specifies the AWS Glue table that contains
--   the column information that constitutes your data schema.</li>
--   <li><a>scRoleARN</a> - The role that Kinesis Data Firehose can use to
--   access AWS Glue. This role must be in the same account you use for
--   Kinesis Data Firehose. Cross-account roles aren't allowed.</li>
--   </ul>
schemaConfiguration :: SchemaConfiguration

-- | Specifies the table version for the output data schema. If you don't
--   specify this version ID, or if you set it to <tt>LATEST</tt> , Kinesis
--   Data Firehose uses the most recent version. This means that any
--   updates to the table are automatically picked up.
scVersionId :: Lens' SchemaConfiguration (Maybe Text)

-- | The ID of the AWS Glue Data Catalog. If you don't supply this, the AWS
--   account ID is used by default.
scCatalogId :: Lens' SchemaConfiguration (Maybe Text)

-- | Specifies the name of the AWS Glue database that contains the schema
--   for the output data.
scDatabaseName :: Lens' SchemaConfiguration (Maybe Text)

-- | If you don't specify an AWS Region, the default is the current Region.
scRegion :: Lens' SchemaConfiguration (Maybe Text)

-- | Specifies the AWS Glue table that contains the column information that
--   constitutes your data schema.
scTableName :: Lens' SchemaConfiguration (Maybe Text)

-- | The role that Kinesis Data Firehose can use to access AWS Glue. This
--   role must be in the same account you use for Kinesis Data Firehose.
--   Cross-account roles aren't allowed.
scRoleARN :: Lens' SchemaConfiguration (Maybe Text)

-- | The serializer that you want Kinesis Data Firehose to use to convert
--   data to the target format before writing it to Amazon S3. Kinesis Data
--   Firehose supports two types of serializers: the <a>ORC SerDe</a> and
--   the <a>Parquet SerDe</a> .
--   
--   <i>See:</i> <a>serializer</a> smart constructor.
data Serializer

-- | Creates a value of <a>Serializer</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sOrcSerDe</a> - A serializer to use for converting data to the
--   ORC format before storing it in Amazon S3. For more information, see
--   <a>Apache ORC</a> .</li>
--   <li><a>sParquetSerDe</a> - A serializer to use for converting data to
--   the Parquet format before storing it in Amazon S3. For more
--   information, see <a>Apache Parquet</a> .</li>
--   </ul>
serializer :: Serializer

-- | A serializer to use for converting data to the ORC format before
--   storing it in Amazon S3. For more information, see <a>Apache ORC</a> .
sOrcSerDe :: Lens' Serializer (Maybe OrcSerDe)

-- | A serializer to use for converting data to the Parquet format before
--   storing it in Amazon S3. For more information, see <a>Apache
--   Parquet</a> .
sParquetSerDe :: Lens' Serializer (Maybe ParquetSerDe)

-- | Details about a Kinesis data stream used as the source for a Kinesis
--   Data Firehose delivery stream.
--   
--   <i>See:</i> <a>sourceDescription</a> smart constructor.
data SourceDescription

-- | Creates a value of <a>SourceDescription</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sdKinesisStreamSourceDescription</a> - The
--   <a>KinesisStreamSourceDescription</a> value for the source Kinesis
--   data stream.</li>
--   </ul>
sourceDescription :: SourceDescription

-- | The <a>KinesisStreamSourceDescription</a> value for the source Kinesis
--   data stream.
sdKinesisStreamSourceDescription :: Lens' SourceDescription (Maybe KinesisStreamSourceDescription)

-- | Describes the configuration of a destination in Splunk.
--   
--   <i>See:</i> <a>splunkDestinationConfiguration</a> smart constructor.
data SplunkDestinationConfiguration

-- | Creates a value of <a>SplunkDestinationConfiguration</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>splS3BackupMode</a> - Defines how documents should be delivered
--   to Amazon S3. When set to <tt>FailedDocumentsOnly</tt> , Kinesis Data
--   Firehose writes any data that could not be indexed to the configured
--   Amazon S3 destination. When set to <tt>AllDocuments</tt> , Kinesis
--   Data Firehose delivers all incoming records to Amazon S3, and also
--   writes failed documents to Amazon S3. Default value is
--   <tt>FailedDocumentsOnly</tt> .</li>
--   <li><a>splCloudWatchLoggingOptions</a> - The Amazon CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>splHECAcknowledgmentTimeoutInSeconds</a> - The amount of time
--   that Kinesis Data Firehose waits to receive an acknowledgment from
--   Splunk after it sends it data. At the end of the timeout period,
--   Kinesis Data Firehose either tries to send the data again or considers
--   it an error, based on your retry settings.</li>
--   <li><a>splRetryOptions</a> - The retry behavior in case Kinesis Data
--   Firehose is unable to deliver data to Splunk, or if it doesn't receive
--   an acknowledgment of receipt from Splunk.</li>
--   <li><a>splProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>splHECEndpoint</a> - The HTTP Event Collector (HEC) endpoint to
--   which Kinesis Data Firehose sends your data.</li>
--   <li><a>splHECEndpointType</a> - This type can be either <a>Raw</a> or
--   "Event."</li>
--   <li><a>splHECToken</a> - This is a GUID that you obtain from your
--   Splunk cluster when you create a new HEC endpoint.</li>
--   <li><a>splS3Configuration</a> - The configuration for the backup
--   Amazon S3 location.</li>
--   </ul>
splunkDestinationConfiguration :: Text -> HECEndpointType -> Text -> S3DestinationConfiguration -> SplunkDestinationConfiguration

-- | Defines how documents should be delivered to Amazon S3. When set to
--   <tt>FailedDocumentsOnly</tt> , Kinesis Data Firehose writes any data
--   that could not be indexed to the configured Amazon S3 destination.
--   When set to <tt>AllDocuments</tt> , Kinesis Data Firehose delivers all
--   incoming records to Amazon S3, and also writes failed documents to
--   Amazon S3. Default value is <tt>FailedDocumentsOnly</tt> .
splS3BackupMode :: Lens' SplunkDestinationConfiguration (Maybe SplunkS3BackupMode)

-- | The Amazon CloudWatch logging options for your delivery stream.
splCloudWatchLoggingOptions :: Lens' SplunkDestinationConfiguration (Maybe CloudWatchLoggingOptions)

-- | The amount of time that Kinesis Data Firehose waits to receive an
--   acknowledgment from Splunk after it sends it data. At the end of the
--   timeout period, Kinesis Data Firehose either tries to send the data
--   again or considers it an error, based on your retry settings.
splHECAcknowledgmentTimeoutInSeconds :: Lens' SplunkDestinationConfiguration (Maybe Natural)

-- | The retry behavior in case Kinesis Data Firehose is unable to deliver
--   data to Splunk, or if it doesn't receive an acknowledgment of receipt
--   from Splunk.
splRetryOptions :: Lens' SplunkDestinationConfiguration (Maybe SplunkRetryOptions)

-- | The data processing configuration.
splProcessingConfiguration :: Lens' SplunkDestinationConfiguration (Maybe ProcessingConfiguration)

-- | The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose
--   sends your data.
splHECEndpoint :: Lens' SplunkDestinationConfiguration Text

-- | This type can be either <a>Raw</a> or "Event."
splHECEndpointType :: Lens' SplunkDestinationConfiguration HECEndpointType

-- | This is a GUID that you obtain from your Splunk cluster when you
--   create a new HEC endpoint.
splHECToken :: Lens' SplunkDestinationConfiguration Text

-- | The configuration for the backup Amazon S3 location.
splS3Configuration :: Lens' SplunkDestinationConfiguration S3DestinationConfiguration

-- | Describes a destination in Splunk.
--   
--   <i>See:</i> <a>splunkDestinationDescription</a> smart constructor.
data SplunkDestinationDescription

-- | Creates a value of <a>SplunkDestinationDescription</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sddS3BackupMode</a> - Defines how documents should be delivered
--   to Amazon S3. When set to <tt>FailedDocumentsOnly</tt> , Kinesis Data
--   Firehose writes any data that could not be indexed to the configured
--   Amazon S3 destination. When set to <tt>AllDocuments</tt> , Kinesis
--   Data Firehose delivers all incoming records to Amazon S3, and also
--   writes failed documents to Amazon S3. Default value is
--   <tt>FailedDocumentsOnly</tt> .</li>
--   <li><a>sddHECToken</a> - A GUID you obtain from your Splunk cluster
--   when you create a new HEC endpoint.</li>
--   <li><a>sddHECEndpointType</a> - This type can be either <a>Raw</a> or
--   "Event."</li>
--   <li><a>sddCloudWatchLoggingOptions</a> - The Amazon CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>sddHECAcknowledgmentTimeoutInSeconds</a> - The amount of time
--   that Kinesis Data Firehose waits to receive an acknowledgment from
--   Splunk after it sends it data. At the end of the timeout period,
--   Kinesis Data Firehose either tries to send the data again or considers
--   it an error, based on your retry settings.</li>
--   <li><a>sddS3DestinationDescription</a> - The Amazon S3
--   destination.&gt;</li>
--   <li><a>sddHECEndpoint</a> - The HTTP Event Collector (HEC) endpoint to
--   which Kinesis Data Firehose sends your data.</li>
--   <li><a>sddRetryOptions</a> - The retry behavior in case Kinesis Data
--   Firehose is unable to deliver data to Splunk or if it doesn't receive
--   an acknowledgment of receipt from Splunk.</li>
--   <li><a>sddProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   </ul>
splunkDestinationDescription :: SplunkDestinationDescription

-- | Defines how documents should be delivered to Amazon S3. When set to
--   <tt>FailedDocumentsOnly</tt> , Kinesis Data Firehose writes any data
--   that could not be indexed to the configured Amazon S3 destination.
--   When set to <tt>AllDocuments</tt> , Kinesis Data Firehose delivers all
--   incoming records to Amazon S3, and also writes failed documents to
--   Amazon S3. Default value is <tt>FailedDocumentsOnly</tt> .
sddS3BackupMode :: Lens' SplunkDestinationDescription (Maybe SplunkS3BackupMode)

-- | A GUID you obtain from your Splunk cluster when you create a new HEC
--   endpoint.
sddHECToken :: Lens' SplunkDestinationDescription (Maybe Text)

-- | This type can be either <a>Raw</a> or "Event."
sddHECEndpointType :: Lens' SplunkDestinationDescription (Maybe HECEndpointType)

-- | The Amazon CloudWatch logging options for your delivery stream.
sddCloudWatchLoggingOptions :: Lens' SplunkDestinationDescription (Maybe CloudWatchLoggingOptions)

-- | The amount of time that Kinesis Data Firehose waits to receive an
--   acknowledgment from Splunk after it sends it data. At the end of the
--   timeout period, Kinesis Data Firehose either tries to send the data
--   again or considers it an error, based on your retry settings.
sddHECAcknowledgmentTimeoutInSeconds :: Lens' SplunkDestinationDescription (Maybe Natural)

-- | The Amazon S3 destination.&gt;
sddS3DestinationDescription :: Lens' SplunkDestinationDescription (Maybe S3DestinationDescription)

-- | The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose
--   sends your data.
sddHECEndpoint :: Lens' SplunkDestinationDescription (Maybe Text)

-- | The retry behavior in case Kinesis Data Firehose is unable to deliver
--   data to Splunk or if it doesn't receive an acknowledgment of receipt
--   from Splunk.
sddRetryOptions :: Lens' SplunkDestinationDescription (Maybe SplunkRetryOptions)

-- | The data processing configuration.
sddProcessingConfiguration :: Lens' SplunkDestinationDescription (Maybe ProcessingConfiguration)

-- | Describes an update for a destination in Splunk.
--   
--   <i>See:</i> <a>splunkDestinationUpdate</a> smart constructor.
data SplunkDestinationUpdate

-- | Creates a value of <a>SplunkDestinationUpdate</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sduS3BackupMode</a> - Defines how documents should be delivered
--   to Amazon S3. When set to <tt>FailedDocumentsOnly</tt> , Kinesis Data
--   Firehose writes any data that could not be indexed to the configured
--   Amazon S3 destination. When set to <tt>AllDocuments</tt> , Kinesis
--   Data Firehose delivers all incoming records to Amazon S3, and also
--   writes failed documents to Amazon S3. Default value is
--   <tt>FailedDocumentsOnly</tt> .</li>
--   <li><a>sduHECToken</a> - A GUID that you obtain from your Splunk
--   cluster when you create a new HEC endpoint.</li>
--   <li><a>sduHECEndpointType</a> - This type can be either <a>Raw</a> or
--   "Event."</li>
--   <li><a>sduCloudWatchLoggingOptions</a> - The Amazon CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>sduHECAcknowledgmentTimeoutInSeconds</a> - The amount of time
--   that Kinesis Data Firehose waits to receive an acknowledgment from
--   Splunk after it sends data. At the end of the timeout period, Kinesis
--   Data Firehose either tries to send the data again or considers it an
--   error, based on your retry settings.</li>
--   <li><a>sduS3Update</a> - Your update to the configuration of the
--   backup Amazon S3 location.</li>
--   <li><a>sduHECEndpoint</a> - The HTTP Event Collector (HEC) endpoint to
--   which Kinesis Data Firehose sends your data.</li>
--   <li><a>sduRetryOptions</a> - The retry behavior in case Kinesis Data
--   Firehose is unable to deliver data to Splunk or if it doesn't receive
--   an acknowledgment of receipt from Splunk.</li>
--   <li><a>sduProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   </ul>
splunkDestinationUpdate :: SplunkDestinationUpdate

-- | Defines how documents should be delivered to Amazon S3. When set to
--   <tt>FailedDocumentsOnly</tt> , Kinesis Data Firehose writes any data
--   that could not be indexed to the configured Amazon S3 destination.
--   When set to <tt>AllDocuments</tt> , Kinesis Data Firehose delivers all
--   incoming records to Amazon S3, and also writes failed documents to
--   Amazon S3. Default value is <tt>FailedDocumentsOnly</tt> .
sduS3BackupMode :: Lens' SplunkDestinationUpdate (Maybe SplunkS3BackupMode)

-- | A GUID that you obtain from your Splunk cluster when you create a new
--   HEC endpoint.
sduHECToken :: Lens' SplunkDestinationUpdate (Maybe Text)

-- | This type can be either <a>Raw</a> or "Event."
sduHECEndpointType :: Lens' SplunkDestinationUpdate (Maybe HECEndpointType)

-- | The Amazon CloudWatch logging options for your delivery stream.
sduCloudWatchLoggingOptions :: Lens' SplunkDestinationUpdate (Maybe CloudWatchLoggingOptions)

-- | The amount of time that Kinesis Data Firehose waits to receive an
--   acknowledgment from Splunk after it sends data. At the end of the
--   timeout period, Kinesis Data Firehose either tries to send the data
--   again or considers it an error, based on your retry settings.
sduHECAcknowledgmentTimeoutInSeconds :: Lens' SplunkDestinationUpdate (Maybe Natural)

-- | Your update to the configuration of the backup Amazon S3 location.
sduS3Update :: Lens' SplunkDestinationUpdate (Maybe S3DestinationUpdate)

-- | The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose
--   sends your data.
sduHECEndpoint :: Lens' SplunkDestinationUpdate (Maybe Text)

-- | The retry behavior in case Kinesis Data Firehose is unable to deliver
--   data to Splunk or if it doesn't receive an acknowledgment of receipt
--   from Splunk.
sduRetryOptions :: Lens' SplunkDestinationUpdate (Maybe SplunkRetryOptions)

-- | The data processing configuration.
sduProcessingConfiguration :: Lens' SplunkDestinationUpdate (Maybe ProcessingConfiguration)

-- | Configures retry behavior in case Kinesis Data Firehose is unable to
--   deliver documents to Splunk, or if it doesn't receive an
--   acknowledgment from Splunk.
--   
--   <i>See:</i> <a>splunkRetryOptions</a> smart constructor.
data SplunkRetryOptions

-- | Creates a value of <a>SplunkRetryOptions</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sroDurationInSeconds</a> - The total amount of time that
--   Kinesis Data Firehose spends on retries. This duration starts after
--   the initial attempt to send data to Splunk fails. It doesn't include
--   the periods during which Kinesis Data Firehose waits for
--   acknowledgment from Splunk after each attempt.</li>
--   </ul>
splunkRetryOptions :: SplunkRetryOptions

-- | The total amount of time that Kinesis Data Firehose spends on retries.
--   This duration starts after the initial attempt to send data to Splunk
--   fails. It doesn't include the periods during which Kinesis Data
--   Firehose waits for acknowledgment from Splunk after each attempt.
sroDurationInSeconds :: Lens' SplunkRetryOptions (Maybe Natural)

-- | Metadata that you can assign to a delivery stream, consisting of a
--   key-value pair.
--   
--   <i>See:</i> <a>tag</a> smart constructor.
data Tag

-- | Creates a value of <a>Tag</a> with the minimum fields required to make
--   a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tagValue</a> - An optional string, which you can use to
--   describe or define the tag. Maximum length: 256 characters. Valid
--   characters: Unicode letters, digits, white space, _ . / = + - % @</li>
--   <li><a>tagKey</a> - A unique identifier for the tag. Maximum length:
--   128 characters. Valid characters: Unicode letters, digits, white
--   space, _ . / = + - % @</li>
--   </ul>
tag :: Text -> Tag

-- | An optional string, which you can use to describe or define the tag.
--   Maximum length: 256 characters. Valid characters: Unicode letters,
--   digits, white space, _ . / = + - % @
tagValue :: Lens' Tag (Maybe Text)

-- | A unique identifier for the tag. Maximum length: 128 characters. Valid
--   characters: Unicode letters, digits, white space, _ . / = + - % @
tagKey :: Lens' Tag Text


-- | Adds or updates tags for the specified delivery stream. A tag is a
--   key-value pair (the value is optional) that you can define and assign
--   to AWS resources. If you specify a tag that already exists, the tag
--   value is replaced with the value that you specify in the request. Tags
--   are metadata. For example, you can add friendly names and descriptions
--   or other types of information that can help you distinguish the
--   delivery stream. For more information about tags, see <a>Using Cost
--   Allocation Tags</a> in the <i>AWS Billing and Cost Management User
--   Guide</i> .
--   
--   Each delivery stream can have up to 50 tags.
--   
--   This operation has a limit of five transactions per second per
--   account.
module Network.AWS.Firehose.TagDeliveryStream

-- | Creates a value of <a>TagDeliveryStream</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tdsDeliveryStreamName</a> - The name of the delivery stream to
--   which you want to add the tags.</li>
--   <li><a>tdsTags</a> - A set of key-value pairs to use to create the
--   tags.</li>
--   </ul>
tagDeliveryStream :: Text -> NonEmpty Tag -> TagDeliveryStream

-- | <i>See:</i> <a>tagDeliveryStream</a> smart constructor.
data TagDeliveryStream

-- | The name of the delivery stream to which you want to add the tags.
tdsDeliveryStreamName :: Lens' TagDeliveryStream Text

-- | A set of key-value pairs to use to create the tags.
tdsTags :: Lens' TagDeliveryStream (NonEmpty Tag)

-- | Creates a value of <a>TagDeliveryStreamResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tdsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
tagDeliveryStreamResponse :: Int -> TagDeliveryStreamResponse

-- | <i>See:</i> <a>tagDeliveryStreamResponse</a> smart constructor.
data TagDeliveryStreamResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
tdsrsResponseStatus :: Lens' TagDeliveryStreamResponse Int
instance GHC.Generics.Generic Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStreamResponse
instance Data.Data.Data Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStreamResponse
instance GHC.Show.Show Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStreamResponse
instance GHC.Read.Read Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStreamResponse
instance GHC.Classes.Eq Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStreamResponse
instance GHC.Generics.Generic Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStream
instance Data.Data.Data Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStream
instance GHC.Show.Show Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStream
instance GHC.Read.Read Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStream
instance GHC.Classes.Eq Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStream
instance Network.AWS.Types.AWSRequest Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStream
instance Control.DeepSeq.NFData Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStreamResponse
instance Data.Hashable.Class.Hashable Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStream
instance Control.DeepSeq.NFData Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStream
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStream
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStream
instance Network.AWS.Data.Path.ToPath Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStream
instance Network.AWS.Data.Query.ToQuery Network.AWS.Firehose.TagDeliveryStream.TagDeliveryStream


-- | Writes multiple data records into a delivery stream in a single call,
--   which can achieve higher throughput per producer than when writing
--   single records. To write single data records into a delivery stream,
--   use <tt>PutRecord</tt> . Applications using these operations are
--   referred to as producers.
--   
--   By default, each delivery stream can take in up to 2,000 transactions
--   per second, 5,000 records per second, or 5 MB per second. If you use
--   <tt>PutRecord</tt> and <a>PutRecordBatch</a> , the limits are an
--   aggregate across these two operations for each delivery stream. For
--   more information about limits, see <a>Amazon Kinesis Data Firehose
--   Limits</a> .
--   
--   Each <a>PutRecordBatch</a> request supports up to 500 records. Each
--   record in the request can be as large as 1,000 KB (before 64-bit
--   encoding), up to a limit of 4 MB for the entire request. These limits
--   cannot be changed.
--   
--   You must specify the name of the delivery stream and the data record
--   when using <tt>PutRecord</tt> . The data record consists of a data
--   blob that can be up to 1,000 KB in size, and any kind of data. For
--   example, it could be a segment from a log file, geographic location
--   data, website clickstream data, and so on.
--   
--   Kinesis Data Firehose buffers records before delivering them to the
--   destination. To disambiguate the data blobs at the destination, a
--   common solution is to use delimiters in the data, such as a newline
--   (<tt>n</tt> ) or some other character unique within the data. This
--   allows the consumer application to parse individual data items when
--   reading the data from the destination.
--   
--   The <a>PutRecordBatch</a> response includes a count of failed records,
--   <b>FailedPutCount</b> , and an array of responses,
--   <b>RequestResponses</b> . Each entry in the <b>RequestResponses</b>
--   array provides additional information about the processed record. It
--   directly correlates with a record in the request array using the same
--   ordering, from the top to the bottom. The response array always
--   includes the same number of records as the request array.
--   <b>RequestResponses</b> includes both successfully and unsuccessfully
--   processed records. Kinesis Data Firehose tries to process all records
--   in each <a>PutRecordBatch</a> request. A single record failure does
--   not stop the processing of subsequent records.
--   
--   A successfully processed record includes a <b>RecordId</b> value,
--   which is unique for the record. An unsuccessfully processed record
--   includes <b>ErrorCode</b> and <b>ErrorMessage</b> values.
--   <b>ErrorCode</b> reflects the type of error, and is one of the
--   following values: <tt>ServiceUnavailable</tt> or
--   <tt>InternalFailure</tt> . <b>ErrorMessage</b> provides more detailed
--   information about the error.
--   
--   If there is an internal server error or a timeout, the write might
--   have completed or it might have failed. If <b>FailedPutCount</b> is
--   greater than 0, retry the request, resending only those records that
--   might have failed processing. This minimizes the possible duplicate
--   records and also reduces the total bytes sent (and corresponding
--   charges). We recommend that you handle any duplicates at the
--   destination.
--   
--   If <a>PutRecordBatch</a> throws <b>ServiceUnavailableException</b> ,
--   back off and retry. If the exception persists, it is possible that the
--   throughput limits have been exceeded for the delivery stream.
--   
--   Data records sent to Kinesis Data Firehose are stored for 24 hours
--   from the time they are added to a delivery stream as it attempts to
--   send the records to the destination. If the destination is unreachable
--   for more than 24 hours, the data is no longer available.
module Network.AWS.Firehose.PutRecordBatch

-- | Creates a value of <a>PutRecordBatch</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>prbDeliveryStreamName</a> - The name of the delivery
--   stream.</li>
--   <li><a>prbRecords</a> - One or more records.</li>
--   </ul>
putRecordBatch :: Text -> NonEmpty Record -> PutRecordBatch

-- | <i>See:</i> <a>putRecordBatch</a> smart constructor.
data PutRecordBatch

-- | The name of the delivery stream.
prbDeliveryStreamName :: Lens' PutRecordBatch Text

-- | One or more records.
prbRecords :: Lens' PutRecordBatch (NonEmpty Record)

-- | Creates a value of <a>PutRecordBatchResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>prbrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>prbrsFailedPutCount</a> - The number of records that might have
--   failed processing.</li>
--   <li><a>prbrsRequestResponses</a> - The results array. For each record,
--   the index of the response element is the same as the index used in the
--   request array.</li>
--   </ul>
putRecordBatchResponse :: Int -> Natural -> NonEmpty PutRecordBatchResponseEntry -> PutRecordBatchResponse

-- | <i>See:</i> <a>putRecordBatchResponse</a> smart constructor.
data PutRecordBatchResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
prbrsResponseStatus :: Lens' PutRecordBatchResponse Int

-- | The number of records that might have failed processing.
prbrsFailedPutCount :: Lens' PutRecordBatchResponse Natural

-- | The results array. For each record, the index of the response element
--   is the same as the index used in the request array.
prbrsRequestResponses :: Lens' PutRecordBatchResponse (NonEmpty PutRecordBatchResponseEntry)
instance GHC.Generics.Generic Network.AWS.Firehose.PutRecordBatch.PutRecordBatchResponse
instance Data.Data.Data Network.AWS.Firehose.PutRecordBatch.PutRecordBatchResponse
instance GHC.Show.Show Network.AWS.Firehose.PutRecordBatch.PutRecordBatchResponse
instance GHC.Read.Read Network.AWS.Firehose.PutRecordBatch.PutRecordBatchResponse
instance GHC.Classes.Eq Network.AWS.Firehose.PutRecordBatch.PutRecordBatchResponse
instance GHC.Generics.Generic Network.AWS.Firehose.PutRecordBatch.PutRecordBatch
instance Data.Data.Data Network.AWS.Firehose.PutRecordBatch.PutRecordBatch
instance GHC.Show.Show Network.AWS.Firehose.PutRecordBatch.PutRecordBatch
instance GHC.Read.Read Network.AWS.Firehose.PutRecordBatch.PutRecordBatch
instance GHC.Classes.Eq Network.AWS.Firehose.PutRecordBatch.PutRecordBatch
instance Network.AWS.Types.AWSRequest Network.AWS.Firehose.PutRecordBatch.PutRecordBatch
instance Control.DeepSeq.NFData Network.AWS.Firehose.PutRecordBatch.PutRecordBatchResponse
instance Data.Hashable.Class.Hashable Network.AWS.Firehose.PutRecordBatch.PutRecordBatch
instance Control.DeepSeq.NFData Network.AWS.Firehose.PutRecordBatch.PutRecordBatch
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Firehose.PutRecordBatch.PutRecordBatch
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Firehose.PutRecordBatch.PutRecordBatch
instance Network.AWS.Data.Path.ToPath Network.AWS.Firehose.PutRecordBatch.PutRecordBatch
instance Network.AWS.Data.Query.ToQuery Network.AWS.Firehose.PutRecordBatch.PutRecordBatch


-- | Writes a single data record into an Amazon Kinesis Data Firehose
--   delivery stream. To write multiple data records into a delivery
--   stream, use <tt>PutRecordBatch</tt> . Applications using these
--   operations are referred to as producers.
--   
--   By default, each delivery stream can take in up to 2,000 transactions
--   per second, 5,000 records per second, or 5 MB per second. If you use
--   <a>PutRecord</a> and <tt>PutRecordBatch</tt> , the limits are an
--   aggregate across these two operations for each delivery stream. For
--   more information about limits and how to request an increase, see
--   <a>Amazon Kinesis Data Firehose Limits</a> .
--   
--   You must specify the name of the delivery stream and the data record
--   when using <a>PutRecord</a> . The data record consists of a data blob
--   that can be up to 1,000 KB in size, and any kind of data. For example,
--   it can be a segment from a log file, geographic location data, website
--   clickstream data, and so on.
--   
--   Kinesis Data Firehose buffers records before delivering them to the
--   destination. To disambiguate the data blobs at the destination, a
--   common solution is to use delimiters in the data, such as a newline
--   (<tt>n</tt> ) or some other character unique within the data. This
--   allows the consumer application to parse individual data items when
--   reading the data from the destination.
--   
--   The <tt>PutRecord</tt> operation returns a <tt>RecordId</tt> , which
--   is a unique string assigned to each record. Producer applications can
--   use this ID for purposes such as auditability and investigation.
--   
--   If the <tt>PutRecord</tt> operation throws a
--   <tt>ServiceUnavailableException</tt> , back off and retry. If the
--   exception persists, it is possible that the throughput limits have
--   been exceeded for the delivery stream.
--   
--   Data records sent to Kinesis Data Firehose are stored for 24 hours
--   from the time they are added to a delivery stream as it tries to send
--   the records to the destination. If the destination is unreachable for
--   more than 24 hours, the data is no longer available.
module Network.AWS.Firehose.PutRecord

-- | Creates a value of <a>PutRecord</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>prDeliveryStreamName</a> - The name of the delivery
--   stream.</li>
--   <li><a>prRecord</a> - The record.</li>
--   </ul>
putRecord :: Text -> Record -> PutRecord

-- | <i>See:</i> <a>putRecord</a> smart constructor.
data PutRecord

-- | The name of the delivery stream.
prDeliveryStreamName :: Lens' PutRecord Text

-- | The record.
prRecord :: Lens' PutRecord Record

-- | Creates a value of <a>PutRecordResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>prrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>prrsRecordId</a> - The ID of the record.</li>
--   </ul>
putRecordResponse :: Int -> Text -> PutRecordResponse

-- | <i>See:</i> <a>putRecordResponse</a> smart constructor.
data PutRecordResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
prrsResponseStatus :: Lens' PutRecordResponse Int

-- | The ID of the record.
prrsRecordId :: Lens' PutRecordResponse Text
instance GHC.Generics.Generic Network.AWS.Firehose.PutRecord.PutRecordResponse
instance Data.Data.Data Network.AWS.Firehose.PutRecord.PutRecordResponse
instance GHC.Show.Show Network.AWS.Firehose.PutRecord.PutRecordResponse
instance GHC.Read.Read Network.AWS.Firehose.PutRecord.PutRecordResponse
instance GHC.Classes.Eq Network.AWS.Firehose.PutRecord.PutRecordResponse
instance GHC.Generics.Generic Network.AWS.Firehose.PutRecord.PutRecord
instance Data.Data.Data Network.AWS.Firehose.PutRecord.PutRecord
instance GHC.Show.Show Network.AWS.Firehose.PutRecord.PutRecord
instance GHC.Read.Read Network.AWS.Firehose.PutRecord.PutRecord
instance GHC.Classes.Eq Network.AWS.Firehose.PutRecord.PutRecord
instance Network.AWS.Types.AWSRequest Network.AWS.Firehose.PutRecord.PutRecord
instance Control.DeepSeq.NFData Network.AWS.Firehose.PutRecord.PutRecordResponse
instance Data.Hashable.Class.Hashable Network.AWS.Firehose.PutRecord.PutRecord
instance Control.DeepSeq.NFData Network.AWS.Firehose.PutRecord.PutRecord
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Firehose.PutRecord.PutRecord
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Firehose.PutRecord.PutRecord
instance Network.AWS.Data.Path.ToPath Network.AWS.Firehose.PutRecord.PutRecord
instance Network.AWS.Data.Query.ToQuery Network.AWS.Firehose.PutRecord.PutRecord


-- | Lists the tags for the specified delivery stream. This operation has a
--   limit of five transactions per second per account.
module Network.AWS.Firehose.ListTagsForDeliveryStream

-- | Creates a value of <a>ListTagsForDeliveryStream</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ltfdsLimit</a> - The number of tags to return. If this number
--   is less than the total number of tags associated with the delivery
--   stream, <tt>HasMoreTags</tt> is set to <tt>true</tt> in the response.
--   To list additional tags, set <tt>ExclusiveStartTagKey</tt> to the last
--   key in the response.</li>
--   <li><a>ltfdsExclusiveStartTagKey</a> - The key to use as the starting
--   point for the list of tags. If you set this parameter,
--   <tt>ListTagsForDeliveryStream</tt> gets all tags that occur after
--   <tt>ExclusiveStartTagKey</tt> .</li>
--   <li><a>ltfdsDeliveryStreamName</a> - The name of the delivery stream
--   whose tags you want to list.</li>
--   </ul>
listTagsForDeliveryStream :: Text -> ListTagsForDeliveryStream

-- | <i>See:</i> <a>listTagsForDeliveryStream</a> smart constructor.
data ListTagsForDeliveryStream

-- | The number of tags to return. If this number is less than the total
--   number of tags associated with the delivery stream,
--   <tt>HasMoreTags</tt> is set to <tt>true</tt> in the response. To list
--   additional tags, set <tt>ExclusiveStartTagKey</tt> to the last key in
--   the response.
ltfdsLimit :: Lens' ListTagsForDeliveryStream (Maybe Natural)

-- | The key to use as the starting point for the list of tags. If you set
--   this parameter, <tt>ListTagsForDeliveryStream</tt> gets all tags that
--   occur after <tt>ExclusiveStartTagKey</tt> .
ltfdsExclusiveStartTagKey :: Lens' ListTagsForDeliveryStream (Maybe Text)

-- | The name of the delivery stream whose tags you want to list.
ltfdsDeliveryStreamName :: Lens' ListTagsForDeliveryStream Text

-- | Creates a value of <a>ListTagsForDeliveryStreamResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ltfdsrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ltfdsrsTags</a> - A list of tags associated with
--   <tt>DeliveryStreamName</tt> , starting with the first tag after
--   <tt>ExclusiveStartTagKey</tt> and up to the specified <tt>Limit</tt>
--   .</li>
--   <li><a>ltfdsrsHasMoreTags</a> - If this is <tt>true</tt> in the
--   response, more tags are available. To list the remaining tags, set
--   <tt>ExclusiveStartTagKey</tt> to the key of the last tag returned and
--   call <tt>ListTagsForDeliveryStream</tt> again.</li>
--   </ul>
listTagsForDeliveryStreamResponse :: Int -> Bool -> ListTagsForDeliveryStreamResponse

-- | <i>See:</i> <a>listTagsForDeliveryStreamResponse</a> smart
--   constructor.
data ListTagsForDeliveryStreamResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ltfdsrsResponseStatus :: Lens' ListTagsForDeliveryStreamResponse Int

-- | A list of tags associated with <tt>DeliveryStreamName</tt> , starting
--   with the first tag after <tt>ExclusiveStartTagKey</tt> and up to the
--   specified <tt>Limit</tt> .
ltfdsrsTags :: Lens' ListTagsForDeliveryStreamResponse [Tag]

-- | If this is <tt>true</tt> in the response, more tags are available. To
--   list the remaining tags, set <tt>ExclusiveStartTagKey</tt> to the key
--   of the last tag returned and call <tt>ListTagsForDeliveryStream</tt>
--   again.
ltfdsrsHasMoreTags :: Lens' ListTagsForDeliveryStreamResponse Bool
instance GHC.Generics.Generic Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStreamResponse
instance Data.Data.Data Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStreamResponse
instance GHC.Show.Show Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStreamResponse
instance GHC.Read.Read Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStreamResponse
instance GHC.Classes.Eq Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStreamResponse
instance GHC.Generics.Generic Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStream
instance Data.Data.Data Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStream
instance GHC.Show.Show Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStream
instance GHC.Read.Read Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStream
instance GHC.Classes.Eq Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStream
instance Network.AWS.Types.AWSRequest Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStream
instance Control.DeepSeq.NFData Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStreamResponse
instance Data.Hashable.Class.Hashable Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStream
instance Control.DeepSeq.NFData Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStream
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStream
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStream
instance Network.AWS.Data.Path.ToPath Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStream
instance Network.AWS.Data.Query.ToQuery Network.AWS.Firehose.ListTagsForDeliveryStream.ListTagsForDeliveryStream


-- | Lists your delivery streams.
--   
--   The number of delivery streams might be too large to return using a
--   single call to <tt>ListDeliveryStreams</tt> . You can limit the number
--   of delivery streams returned, using the <b>Limit</b> parameter. To
--   determine whether there are more delivery streams to list, check the
--   value of <tt>HasMoreDeliveryStreams</tt> in the output. If there are
--   more delivery streams to list, you can request them by specifying the
--   name of the last delivery stream returned in the call in the
--   <tt>ExclusiveStartDeliveryStreamName</tt> parameter of a subsequent
--   call.
module Network.AWS.Firehose.ListDeliveryStreams

-- | Creates a value of <a>ListDeliveryStreams</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ldsLimit</a> - The maximum number of delivery streams to list.
--   The default value is 10.</li>
--   <li><a>ldsDeliveryStreamType</a> - The delivery stream type. This can
--   be one of the following values: * <tt>DirectPut</tt> : Provider
--   applications access the delivery stream directly. *
--   <tt>KinesisStreamAsSource</tt> : The delivery stream uses a Kinesis
--   data stream as a source. This parameter is optional. If this parameter
--   is omitted, delivery streams of all types are returned.</li>
--   <li><a>ldsExclusiveStartDeliveryStreamName</a> - The name of the
--   delivery stream to start the list with.</li>
--   </ul>
listDeliveryStreams :: ListDeliveryStreams

-- | <i>See:</i> <a>listDeliveryStreams</a> smart constructor.
data ListDeliveryStreams

-- | The maximum number of delivery streams to list. The default value is
--   10.
ldsLimit :: Lens' ListDeliveryStreams (Maybe Natural)

-- | The delivery stream type. This can be one of the following values: *
--   <tt>DirectPut</tt> : Provider applications access the delivery stream
--   directly. * <tt>KinesisStreamAsSource</tt> : The delivery stream uses
--   a Kinesis data stream as a source. This parameter is optional. If this
--   parameter is omitted, delivery streams of all types are returned.
ldsDeliveryStreamType :: Lens' ListDeliveryStreams (Maybe DeliveryStreamType)

-- | The name of the delivery stream to start the list with.
ldsExclusiveStartDeliveryStreamName :: Lens' ListDeliveryStreams (Maybe Text)

-- | Creates a value of <a>ListDeliveryStreamsResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ldsrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ldsrsDeliveryStreamNames</a> - The names of the delivery
--   streams.</li>
--   <li><a>ldsrsHasMoreDeliveryStreams</a> - Indicates whether there are
--   more delivery streams available to list.</li>
--   </ul>
listDeliveryStreamsResponse :: Int -> Bool -> ListDeliveryStreamsResponse

-- | <i>See:</i> <a>listDeliveryStreamsResponse</a> smart constructor.
data ListDeliveryStreamsResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ldsrsResponseStatus :: Lens' ListDeliveryStreamsResponse Int

-- | The names of the delivery streams.
ldsrsDeliveryStreamNames :: Lens' ListDeliveryStreamsResponse [Text]

-- | Indicates whether there are more delivery streams available to list.
ldsrsHasMoreDeliveryStreams :: Lens' ListDeliveryStreamsResponse Bool
instance GHC.Generics.Generic Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreamsResponse
instance Data.Data.Data Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreamsResponse
instance GHC.Show.Show Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreamsResponse
instance GHC.Read.Read Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreamsResponse
instance GHC.Classes.Eq Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreamsResponse
instance GHC.Generics.Generic Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreams
instance Data.Data.Data Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreams
instance GHC.Show.Show Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreams
instance GHC.Read.Read Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreams
instance GHC.Classes.Eq Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreams
instance Network.AWS.Types.AWSRequest Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreams
instance Control.DeepSeq.NFData Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreamsResponse
instance Data.Hashable.Class.Hashable Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreams
instance Control.DeepSeq.NFData Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreams
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreams
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreams
instance Network.AWS.Data.Path.ToPath Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreams
instance Network.AWS.Data.Query.ToQuery Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreams


-- | Describes the specified delivery stream and gets the status. For
--   example, after your delivery stream is created, call
--   <tt>DescribeDeliveryStream</tt> to see whether the delivery stream is
--   <tt>ACTIVE</tt> and therefore ready for data to be sent to it.
module Network.AWS.Firehose.DescribeDeliveryStream

-- | Creates a value of <a>DescribeDeliveryStream</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ddsExclusiveStartDestinationId</a> - The ID of the destination
--   to start returning the destination information. Kinesis Data Firehose
--   supports one destination per delivery stream.</li>
--   <li><a>ddsLimit</a> - The limit on the number of destinations to
--   return. You can have one destination per delivery stream.</li>
--   <li><a>ddsDeliveryStreamName</a> - The name of the delivery
--   stream.</li>
--   </ul>
describeDeliveryStream :: Text -> DescribeDeliveryStream

-- | <i>See:</i> <a>describeDeliveryStream</a> smart constructor.
data DescribeDeliveryStream

-- | The ID of the destination to start returning the destination
--   information. Kinesis Data Firehose supports one destination per
--   delivery stream.
ddsExclusiveStartDestinationId :: Lens' DescribeDeliveryStream (Maybe Text)

-- | The limit on the number of destinations to return. You can have one
--   destination per delivery stream.
ddsLimit :: Lens' DescribeDeliveryStream (Maybe Natural)

-- | The name of the delivery stream.
ddsDeliveryStreamName :: Lens' DescribeDeliveryStream Text

-- | Creates a value of <a>DescribeDeliveryStreamResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ddsrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ddsrsDeliveryStreamDescription</a> - Information about the
--   delivery stream.</li>
--   </ul>
describeDeliveryStreamResponse :: Int -> DeliveryStreamDescription -> DescribeDeliveryStreamResponse

-- | <i>See:</i> <a>describeDeliveryStreamResponse</a> smart constructor.
data DescribeDeliveryStreamResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ddsrsResponseStatus :: Lens' DescribeDeliveryStreamResponse Int

-- | Information about the delivery stream.
ddsrsDeliveryStreamDescription :: Lens' DescribeDeliveryStreamResponse DeliveryStreamDescription
instance GHC.Generics.Generic Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStreamResponse
instance Data.Data.Data Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStreamResponse
instance GHC.Show.Show Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStreamResponse
instance GHC.Classes.Eq Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStreamResponse
instance GHC.Generics.Generic Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStream
instance Data.Data.Data Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStream
instance GHC.Show.Show Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStream
instance GHC.Read.Read Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStream
instance GHC.Classes.Eq Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStream
instance Network.AWS.Types.AWSRequest Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStream
instance Control.DeepSeq.NFData Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStreamResponse
instance Data.Hashable.Class.Hashable Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStream
instance Control.DeepSeq.NFData Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStream
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStream
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStream
instance Network.AWS.Data.Path.ToPath Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStream
instance Network.AWS.Data.Query.ToQuery Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStream


-- | Deletes a delivery stream and its data.
--   
--   You can delete a delivery stream only if it is in <tt>ACTIVE</tt> or
--   <tt>DELETING</tt> state, and not in the <tt>CREATING</tt> state. While
--   the deletion request is in process, the delivery stream is in the
--   <tt>DELETING</tt> state.
--   
--   To check the state of a delivery stream, use
--   <tt>DescribeDeliveryStream</tt> .
--   
--   While the delivery stream is <tt>DELETING</tt> state, the service
--   might continue to accept the records, but it doesn't make any
--   guarantees with respect to delivering the data. Therefore, as a best
--   practice, you should first stop any applications that are sending
--   records before deleting a delivery stream.
module Network.AWS.Firehose.DeleteDeliveryStream

-- | Creates a value of <a>DeleteDeliveryStream</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dDeliveryStreamName</a> - The name of the delivery stream.</li>
--   </ul>
deleteDeliveryStream :: Text -> DeleteDeliveryStream

-- | <i>See:</i> <a>deleteDeliveryStream</a> smart constructor.
data DeleteDeliveryStream

-- | The name of the delivery stream.
dDeliveryStreamName :: Lens' DeleteDeliveryStream Text

-- | Creates a value of <a>DeleteDeliveryStreamResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteDeliveryStreamResponse :: Int -> DeleteDeliveryStreamResponse

-- | <i>See:</i> <a>deleteDeliveryStreamResponse</a> smart constructor.
data DeleteDeliveryStreamResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drsResponseStatus :: Lens' DeleteDeliveryStreamResponse Int
instance GHC.Generics.Generic Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStreamResponse
instance Data.Data.Data Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStreamResponse
instance GHC.Show.Show Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStreamResponse
instance GHC.Read.Read Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStreamResponse
instance GHC.Classes.Eq Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStreamResponse
instance GHC.Generics.Generic Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStream
instance Data.Data.Data Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStream
instance GHC.Show.Show Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStream
instance GHC.Read.Read Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStream
instance GHC.Classes.Eq Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStream
instance Network.AWS.Types.AWSRequest Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStream
instance Control.DeepSeq.NFData Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStreamResponse
instance Data.Hashable.Class.Hashable Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStream
instance Control.DeepSeq.NFData Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStream
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStream
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStream
instance Network.AWS.Data.Path.ToPath Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStream
instance Network.AWS.Data.Query.ToQuery Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStream


-- | Creates a Kinesis Data Firehose delivery stream.
--   
--   By default, you can create up to 50 delivery streams per AWS Region.
--   
--   This is an asynchronous operation that immediately returns. The
--   initial status of the delivery stream is <tt>CREATING</tt> . After the
--   delivery stream is created, its status is <tt>ACTIVE</tt> and it now
--   accepts data. Attempts to send data to a delivery stream that is not
--   in the <tt>ACTIVE</tt> state cause an exception. To check the state of
--   a delivery stream, use <tt>DescribeDeliveryStream</tt> .
--   
--   A Kinesis Data Firehose delivery stream can be configured to receive
--   records directly from providers using <tt>PutRecord</tt> or
--   <tt>PutRecordBatch</tt> , or it can be configured to use an existing
--   Kinesis stream as its source. To specify a Kinesis data stream as
--   input, set the <tt>DeliveryStreamType</tt> parameter to
--   <tt>KinesisStreamAsSource</tt> , and provide the Kinesis stream Amazon
--   Resource Name (ARN) and role ARN in the
--   <tt>KinesisStreamSourceConfiguration</tt> parameter.
--   
--   A delivery stream is configured with a single destination: Amazon S3,
--   Amazon ES, Amazon Redshift, or Splunk. You must specify only one of
--   the following destination configuration parameters:
--   <b>ExtendedS3DestinationConfiguration</b> ,
--   <b>S3DestinationConfiguration</b> ,
--   <b>ElasticsearchDestinationConfiguration</b> ,
--   <b>RedshiftDestinationConfiguration</b> , or
--   <b>SplunkDestinationConfiguration</b> .
--   
--   When you specify <b>S3DestinationConfiguration</b> , you can also
--   provide the following optional values: <b>BufferingHints</b> ,
--   <b>EncryptionConfiguration</b> , and <b>CompressionFormat</b> . By
--   default, if no <b>BufferingHints</b> value is provided, Kinesis Data
--   Firehose buffers data up to 5 MB or for 5 minutes, whichever condition
--   is satisfied first. <b>BufferingHints</b> is a hint, so there are some
--   cases where the service cannot adhere to these conditions strictly.
--   For example, record boundaries might be such that the size is a little
--   over or under the configured buffering size. By default, no encryption
--   is performed. We strongly recommend that you enable encryption to
--   ensure secure data storage in Amazon S3.
--   
--   A few notes about Amazon Redshift as a destination:
--   
--   <ul>
--   <li>An Amazon Redshift destination requires an S3 bucket as
--   intermediate location. Kinesis Data Firehose first delivers data to
--   Amazon S3 and then uses <tt>COPY</tt> syntax to load data into an
--   Amazon Redshift table. This is specified in the
--   <b>RedshiftDestinationConfiguration.S3Configuration</b>
--   parameter.</li>
--   <li>The compression formats <tt>SNAPPY</tt> or <tt>ZIP</tt> cannot be
--   specified in <tt>RedshiftDestinationConfiguration.S3Configuration</tt>
--   because the Amazon Redshift <tt>COPY</tt> operation that reads from
--   the S3 bucket doesn't support these compression formats.</li>
--   <li>We strongly recommend that you use the user name and password you
--   provide exclusively with Kinesis Data Firehose, and that the
--   permissions for the account are restricted for Amazon Redshift
--   <tt>INSERT</tt> permissions.</li>
--   </ul>
--   
--   Kinesis Data Firehose assumes the IAM role that is configured as part
--   of the destination. The role should allow the Kinesis Data Firehose
--   principal to assume the role, and the role should have permissions
--   that allow the service to deliver the data. For more information, see
--   <a>Grant Kinesis Data Firehose Access to an Amazon S3 Destination</a>
--   in the <i>Amazon Kinesis Data Firehose Developer Guide</i> .
module Network.AWS.Firehose.CreateDeliveryStream

-- | Creates a value of <a>CreateDeliveryStream</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cdsS3DestinationConfiguration</a> - [Deprecated] The
--   destination in Amazon S3. You can specify only one destination.</li>
--   <li><a>cdsRedshiftDestinationConfiguration</a> - The destination in
--   Amazon Redshift. You can specify only one destination.</li>
--   <li><a>cdsElasticsearchDestinationConfiguration</a> - The destination
--   in Amazon ES. You can specify only one destination.</li>
--   <li><a>cdsExtendedS3DestinationConfiguration</a> - The destination in
--   Amazon S3. You can specify only one destination.</li>
--   <li><a>cdsKinesisStreamSourceConfiguration</a> - When a Kinesis data
--   stream is used as the source for the delivery stream, a
--   <a>KinesisStreamSourceConfiguration</a> containing the Kinesis data
--   stream Amazon Resource Name (ARN) and the role ARN for the source
--   stream.</li>
--   <li><a>cdsDeliveryStreamType</a> - The delivery stream type. This
--   parameter can be one of the following values: * <tt>DirectPut</tt> :
--   Provider applications access the delivery stream directly. *
--   <tt>KinesisStreamAsSource</tt> : The delivery stream uses a Kinesis
--   data stream as a source.</li>
--   <li><a>cdsSplunkDestinationConfiguration</a> - The destination in
--   Splunk. You can specify only one destination.</li>
--   <li><a>cdsDeliveryStreamName</a> - The name of the delivery stream.
--   This name must be unique per AWS account in the same AWS Region. If
--   the delivery streams are in different accounts or different Regions,
--   you can have multiple delivery streams with the same name.</li>
--   </ul>
createDeliveryStream :: Text -> CreateDeliveryStream

-- | <i>See:</i> <a>createDeliveryStream</a> smart constructor.
data CreateDeliveryStream

-- | <ul>
--   <li><i>Deprecated</i> The destination in Amazon S3. You can specify
--   only one destination.</li>
--   </ul>
cdsS3DestinationConfiguration :: Lens' CreateDeliveryStream (Maybe S3DestinationConfiguration)

-- | The destination in Amazon Redshift. You can specify only one
--   destination.
cdsRedshiftDestinationConfiguration :: Lens' CreateDeliveryStream (Maybe RedshiftDestinationConfiguration)

-- | The destination in Amazon ES. You can specify only one destination.
cdsElasticsearchDestinationConfiguration :: Lens' CreateDeliveryStream (Maybe ElasticsearchDestinationConfiguration)

-- | The destination in Amazon S3. You can specify only one destination.
cdsExtendedS3DestinationConfiguration :: Lens' CreateDeliveryStream (Maybe ExtendedS3DestinationConfiguration)

-- | When a Kinesis data stream is used as the source for the delivery
--   stream, a <a>KinesisStreamSourceConfiguration</a> containing the
--   Kinesis data stream Amazon Resource Name (ARN) and the role ARN for
--   the source stream.
cdsKinesisStreamSourceConfiguration :: Lens' CreateDeliveryStream (Maybe KinesisStreamSourceConfiguration)

-- | The delivery stream type. This parameter can be one of the following
--   values: * <tt>DirectPut</tt> : Provider applications access the
--   delivery stream directly. * <tt>KinesisStreamAsSource</tt> : The
--   delivery stream uses a Kinesis data stream as a source.
cdsDeliveryStreamType :: Lens' CreateDeliveryStream (Maybe DeliveryStreamType)

-- | The destination in Splunk. You can specify only one destination.
cdsSplunkDestinationConfiguration :: Lens' CreateDeliveryStream (Maybe SplunkDestinationConfiguration)

-- | The name of the delivery stream. This name must be unique per AWS
--   account in the same AWS Region. If the delivery streams are in
--   different accounts or different Regions, you can have multiple
--   delivery streams with the same name.
cdsDeliveryStreamName :: Lens' CreateDeliveryStream Text

-- | Creates a value of <a>CreateDeliveryStreamResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cdsrsDeliveryStreamARN</a> - The ARN of the delivery
--   stream.</li>
--   <li><a>cdsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
createDeliveryStreamResponse :: Int -> CreateDeliveryStreamResponse

-- | <i>See:</i> <a>createDeliveryStreamResponse</a> smart constructor.
data CreateDeliveryStreamResponse

-- | The ARN of the delivery stream.
cdsrsDeliveryStreamARN :: Lens' CreateDeliveryStreamResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
cdsrsResponseStatus :: Lens' CreateDeliveryStreamResponse Int
instance GHC.Generics.Generic Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStreamResponse
instance Data.Data.Data Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStreamResponse
instance GHC.Show.Show Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStreamResponse
instance GHC.Read.Read Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStreamResponse
instance GHC.Classes.Eq Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStreamResponse
instance GHC.Generics.Generic Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStream
instance Data.Data.Data Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStream
instance GHC.Show.Show Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStream
instance GHC.Classes.Eq Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStream
instance Network.AWS.Types.AWSRequest Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStream
instance Control.DeepSeq.NFData Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStreamResponse
instance Data.Hashable.Class.Hashable Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStream
instance Control.DeepSeq.NFData Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStream
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStream
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStream
instance Network.AWS.Data.Path.ToPath Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStream
instance Network.AWS.Data.Query.ToQuery Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStream


-- | Removes tags from the specified delivery stream. Removed tags are
--   deleted, and you can't recover them after this operation successfully
--   completes.
--   
--   If you specify a tag that doesn't exist, the operation ignores it.
--   
--   This operation has a limit of five transactions per second per
--   account.
module Network.AWS.Firehose.UntagDeliveryStream

-- | Creates a value of <a>UntagDeliveryStream</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>udsDeliveryStreamName</a> - The name of the delivery
--   stream.</li>
--   <li><a>udsTagKeys</a> - A list of tag keys. Each corresponding tag is
--   removed from the delivery stream.</li>
--   </ul>
untagDeliveryStream :: Text -> NonEmpty Text -> UntagDeliveryStream

-- | <i>See:</i> <a>untagDeliveryStream</a> smart constructor.
data UntagDeliveryStream

-- | The name of the delivery stream.
udsDeliveryStreamName :: Lens' UntagDeliveryStream Text

-- | A list of tag keys. Each corresponding tag is removed from the
--   delivery stream.
udsTagKeys :: Lens' UntagDeliveryStream (NonEmpty Text)

-- | Creates a value of <a>UntagDeliveryStreamResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>udsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
untagDeliveryStreamResponse :: Int -> UntagDeliveryStreamResponse

-- | <i>See:</i> <a>untagDeliveryStreamResponse</a> smart constructor.
data UntagDeliveryStreamResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
udsrsResponseStatus :: Lens' UntagDeliveryStreamResponse Int
instance GHC.Generics.Generic Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStreamResponse
instance Data.Data.Data Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStreamResponse
instance GHC.Show.Show Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStreamResponse
instance GHC.Read.Read Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStreamResponse
instance GHC.Classes.Eq Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStreamResponse
instance GHC.Generics.Generic Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStream
instance Data.Data.Data Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStream
instance GHC.Show.Show Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStream
instance GHC.Read.Read Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStream
instance GHC.Classes.Eq Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStream
instance Network.AWS.Types.AWSRequest Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStream
instance Control.DeepSeq.NFData Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStreamResponse
instance Data.Hashable.Class.Hashable Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStream
instance Control.DeepSeq.NFData Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStream
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStream
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStream
instance Network.AWS.Data.Path.ToPath Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStream
instance Network.AWS.Data.Query.ToQuery Network.AWS.Firehose.UntagDeliveryStream.UntagDeliveryStream


-- | Updates the specified destination of the specified delivery stream.
--   
--   Use this operation to change the destination type (for example, to
--   replace the Amazon S3 destination with Amazon Redshift) or change the
--   parameters associated with a destination (for example, to change the
--   bucket name of the Amazon S3 destination). The update might not occur
--   immediately. The target delivery stream remains active while the
--   configurations are updated, so data writes to the delivery stream can
--   continue during this process. The updated configurations are usually
--   effective within a few minutes.
--   
--   Switching between Amazon ES and other services is not supported. For
--   an Amazon ES destination, you can only update to another Amazon ES
--   destination.
--   
--   If the destination type is the same, Kinesis Data Firehose merges the
--   configuration parameters specified with the destination configuration
--   that already exists on the delivery stream. If any of the parameters
--   are not specified in the call, the existing values are retained. For
--   example, in the Amazon S3 destination, if
--   <a>EncryptionConfiguration</a> is not specified, then the existing
--   <tt>EncryptionConfiguration</tt> is maintained on the destination.
--   
--   If the destination type is not the same, for example, changing the
--   destination from Amazon S3 to Amazon Redshift, Kinesis Data Firehose
--   does not merge any parameters. In this case, all parameters must be
--   specified.
--   
--   Kinesis Data Firehose uses <b>CurrentDeliveryStreamVersionId</b> to
--   avoid race conditions and conflicting merges. This is a required
--   field, and the service updates the configuration only if the existing
--   configuration has a version ID that matches. After the update is
--   applied successfully, the version ID is updated, and can be retrieved
--   using <tt>DescribeDeliveryStream</tt> . Use the new version ID to set
--   <b>CurrentDeliveryStreamVersionId</b> in the next call.
module Network.AWS.Firehose.UpdateDestination

-- | Creates a value of <a>UpdateDestination</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>udSplunkDestinationUpdate</a> - Describes an update for a
--   destination in Splunk.</li>
--   <li><a>udS3DestinationUpdate</a> - [Deprecated] Describes an update
--   for a destination in Amazon S3.</li>
--   <li><a>udRedshiftDestinationUpdate</a> - Describes an update for a
--   destination in Amazon Redshift.</li>
--   <li><a>udElasticsearchDestinationUpdate</a> - Describes an update for
--   a destination in Amazon ES.</li>
--   <li><a>udExtendedS3DestinationUpdate</a> - Describes an update for a
--   destination in Amazon S3.</li>
--   <li><a>udDeliveryStreamName</a> - The name of the delivery
--   stream.</li>
--   <li><a>udCurrentDeliveryStreamVersionId</a> - Obtain this value from
--   the <b>VersionId</b> result of <a>DeliveryStreamDescription</a> . This
--   value is required, and helps the service perform conditional
--   operations. For example, if there is an interleaving update and this
--   value is null, then the update destination fails. After the update is
--   successful, the <tt>VersionId</tt> value is updated. The service then
--   performs a merge of the old configuration with the new
--   configuration.</li>
--   <li><a>udDestinationId</a> - The ID of the destination.</li>
--   </ul>
updateDestination :: Text -> Text -> Text -> UpdateDestination

-- | <i>See:</i> <a>updateDestination</a> smart constructor.
data UpdateDestination

-- | Describes an update for a destination in Splunk.
udSplunkDestinationUpdate :: Lens' UpdateDestination (Maybe SplunkDestinationUpdate)

-- | <ul>
--   <li><i>Deprecated</i> Describes an update for a destination in Amazon
--   S3.</li>
--   </ul>
udS3DestinationUpdate :: Lens' UpdateDestination (Maybe S3DestinationUpdate)

-- | Describes an update for a destination in Amazon Redshift.
udRedshiftDestinationUpdate :: Lens' UpdateDestination (Maybe RedshiftDestinationUpdate)

-- | Describes an update for a destination in Amazon ES.
udElasticsearchDestinationUpdate :: Lens' UpdateDestination (Maybe ElasticsearchDestinationUpdate)

-- | Describes an update for a destination in Amazon S3.
udExtendedS3DestinationUpdate :: Lens' UpdateDestination (Maybe ExtendedS3DestinationUpdate)

-- | The name of the delivery stream.
udDeliveryStreamName :: Lens' UpdateDestination Text

-- | Obtain this value from the <b>VersionId</b> result of
--   <a>DeliveryStreamDescription</a> . This value is required, and helps
--   the service perform conditional operations. For example, if there is
--   an interleaving update and this value is null, then the update
--   destination fails. After the update is successful, the
--   <tt>VersionId</tt> value is updated. The service then performs a merge
--   of the old configuration with the new configuration.
udCurrentDeliveryStreamVersionId :: Lens' UpdateDestination Text

-- | The ID of the destination.
udDestinationId :: Lens' UpdateDestination Text

-- | Creates a value of <a>UpdateDestinationResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>udrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
updateDestinationResponse :: Int -> UpdateDestinationResponse

-- | <i>See:</i> <a>updateDestinationResponse</a> smart constructor.
data UpdateDestinationResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
udrsResponseStatus :: Lens' UpdateDestinationResponse Int
instance GHC.Generics.Generic Network.AWS.Firehose.UpdateDestination.UpdateDestinationResponse
instance Data.Data.Data Network.AWS.Firehose.UpdateDestination.UpdateDestinationResponse
instance GHC.Show.Show Network.AWS.Firehose.UpdateDestination.UpdateDestinationResponse
instance GHC.Read.Read Network.AWS.Firehose.UpdateDestination.UpdateDestinationResponse
instance GHC.Classes.Eq Network.AWS.Firehose.UpdateDestination.UpdateDestinationResponse
instance GHC.Generics.Generic Network.AWS.Firehose.UpdateDestination.UpdateDestination
instance Data.Data.Data Network.AWS.Firehose.UpdateDestination.UpdateDestination
instance GHC.Show.Show Network.AWS.Firehose.UpdateDestination.UpdateDestination
instance GHC.Classes.Eq Network.AWS.Firehose.UpdateDestination.UpdateDestination
instance Network.AWS.Types.AWSRequest Network.AWS.Firehose.UpdateDestination.UpdateDestination
instance Control.DeepSeq.NFData Network.AWS.Firehose.UpdateDestination.UpdateDestinationResponse
instance Data.Hashable.Class.Hashable Network.AWS.Firehose.UpdateDestination.UpdateDestination
instance Control.DeepSeq.NFData Network.AWS.Firehose.UpdateDestination.UpdateDestination
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Firehose.UpdateDestination.UpdateDestination
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Firehose.UpdateDestination.UpdateDestination
instance Network.AWS.Data.Path.ToPath Network.AWS.Firehose.UpdateDestination.UpdateDestination
instance Network.AWS.Data.Query.ToQuery Network.AWS.Firehose.UpdateDestination.UpdateDestination


module Network.AWS.Firehose.Waiters


-- | <b>Amazon Kinesis Data Firehose API Reference</b>
--   
--   Amazon Kinesis Data Firehose is a fully managed service that delivers
--   real-time streaming data to destinations such as Amazon Simple Storage
--   Service (Amazon S3), Amazon Elasticsearch Service (Amazon ES), Amazon
--   Redshift, and Splunk.
module Network.AWS.Firehose

-- | API version <tt>2015-08-04</tt> of the Amazon Kinesis Firehose SDK
--   configuration.
firehose :: Service

-- | The specified input parameter has a value that is not valid.
_InvalidArgumentException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Another modification has already happened. Fetch <b>VersionId</b>
--   again and use it to update the destination.
_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The service is unavailable. Back off and retry the operation. If you
--   continue to see the exception, throughput limits for the delivery
--   stream may have been exceeded. For more information about limits and
--   how to request an increase, see <a>Amazon Kinesis Data Firehose
--   Limits</a> .
_ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified resource could not be found.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError

-- | You have already reached the limit for a requested resource.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The resource is already in use and not available for this operation.
_ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError
data CompressionFormat
Gzip :: CompressionFormat
Snappy :: CompressionFormat
Uncompressed :: CompressionFormat
Zip :: CompressionFormat
data DeliveryStreamStatus
Active :: DeliveryStreamStatus
Creating :: DeliveryStreamStatus
Deleting :: DeliveryStreamStatus
data DeliveryStreamType
DirectPut :: DeliveryStreamType
KinesisStreamAsSource :: DeliveryStreamType
data ElasticsearchIndexRotationPeriod
NoRotation :: ElasticsearchIndexRotationPeriod
OneDay :: ElasticsearchIndexRotationPeriod
OneHour :: ElasticsearchIndexRotationPeriod
OneMonth :: ElasticsearchIndexRotationPeriod
OneWeek :: ElasticsearchIndexRotationPeriod
data ElasticsearchS3BackupMode
AllDocuments :: ElasticsearchS3BackupMode
FailedDocumentsOnly :: ElasticsearchS3BackupMode
data HECEndpointType
Event :: HECEndpointType
Raw :: HECEndpointType
data NoEncryptionConfig
NoEncryption :: NoEncryptionConfig
data OrcCompression
OCNone :: OrcCompression
OCSnappy :: OrcCompression
OCZlib :: OrcCompression
data OrcFormatVersion
V011 :: OrcFormatVersion
V012 :: OrcFormatVersion
data ParquetCompression
PCGzip :: ParquetCompression
PCSnappy :: ParquetCompression
PCUncompressed :: ParquetCompression
data ParquetWriterVersion
V1 :: ParquetWriterVersion
V2 :: ParquetWriterVersion
data ProcessorParameterName
BufferIntervalInSeconds :: ProcessorParameterName
BufferSizeInMBs :: ProcessorParameterName
LambdaARN :: ProcessorParameterName
NumberOfRetries :: ProcessorParameterName
RoleARN :: ProcessorParameterName
data ProcessorType
Lambda :: ProcessorType
data RedshiftS3BackupMode
Disabled :: RedshiftS3BackupMode
Enabled :: RedshiftS3BackupMode
data S3BackupMode
SBMDisabled :: S3BackupMode
SBMEnabled :: S3BackupMode
data SplunkS3BackupMode
AllEvents :: SplunkS3BackupMode
FailedEventsOnly :: SplunkS3BackupMode

-- | Describes hints for the buffering to perform before delivering data to
--   the destination. These options are treated as hints, and therefore
--   Kinesis Data Firehose might choose to use different values when it is
--   optimal.
--   
--   <i>See:</i> <a>bufferingHints</a> smart constructor.
data BufferingHints

-- | Creates a value of <a>BufferingHints</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>bhSizeInMBs</a> - Buffer incoming data to the specified size,
--   in MBs, before delivering it to the destination. The default value is
--   5. We recommend setting this parameter to a value greater than the
--   amount of data you typically ingest into the delivery stream in 10
--   seconds. For example, if you typically ingest data at 1 MB/sec, the
--   value should be 10 MB or higher.</li>
--   <li><a>bhIntervalInSeconds</a> - Buffer incoming data for the
--   specified period of time, in seconds, before delivering it to the
--   destination. The default value is 300.</li>
--   </ul>
bufferingHints :: BufferingHints

-- | Buffer incoming data to the specified size, in MBs, before delivering
--   it to the destination. The default value is 5. We recommend setting
--   this parameter to a value greater than the amount of data you
--   typically ingest into the delivery stream in 10 seconds. For example,
--   if you typically ingest data at 1 MB/sec, the value should be 10 MB or
--   higher.
bhSizeInMBs :: Lens' BufferingHints (Maybe Natural)

-- | Buffer incoming data for the specified period of time, in seconds,
--   before delivering it to the destination. The default value is 300.
bhIntervalInSeconds :: Lens' BufferingHints (Maybe Natural)

-- | Describes the Amazon CloudWatch logging options for your delivery
--   stream.
--   
--   <i>See:</i> <a>cloudWatchLoggingOptions</a> smart constructor.
data CloudWatchLoggingOptions

-- | Creates a value of <a>CloudWatchLoggingOptions</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cwloEnabled</a> - Enables or disables CloudWatch logging.</li>
--   <li><a>cwloLogGroupName</a> - The CloudWatch group name for logging.
--   This value is required if CloudWatch logging is enabled.</li>
--   <li><a>cwloLogStreamName</a> - The CloudWatch log stream name for
--   logging. This value is required if CloudWatch logging is enabled.</li>
--   </ul>
cloudWatchLoggingOptions :: CloudWatchLoggingOptions

-- | Enables or disables CloudWatch logging.
cwloEnabled :: Lens' CloudWatchLoggingOptions (Maybe Bool)

-- | The CloudWatch group name for logging. This value is required if
--   CloudWatch logging is enabled.
cwloLogGroupName :: Lens' CloudWatchLoggingOptions (Maybe Text)

-- | The CloudWatch log stream name for logging. This value is required if
--   CloudWatch logging is enabled.
cwloLogStreamName :: Lens' CloudWatchLoggingOptions (Maybe Text)

-- | Describes a <tt>COPY</tt> command for Amazon Redshift.
--   
--   <i>See:</i> <a>copyCommand</a> smart constructor.
data CopyCommand

-- | Creates a value of <a>CopyCommand</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ccCopyOptions</a> - Optional parameters to use with the Amazon
--   Redshift <tt>COPY</tt> command. For more information, see the
--   "Optional Parameters" section of <a>Amazon Redshift COPY command</a> .
--   Some possible examples that would apply to Kinesis Data Firehose are
--   as follows: <tt>delimiter '\t' lzop;</tt> - fields are delimited with
--   "t" (TAB character) and compressed using lzop. <tt>delimiter '|'</tt>
--   - fields are delimited with "|" (this is the default delimiter).
--   <tt>delimiter '|' escape</tt> - the delimiter should be escaped.
--   <tt>fixedwidth
--   'venueid:3,venuename:25,venuecity:12,venuestate:2,venueseats:6'</tt> -
--   fields are fixed width in the source, with each width specified after
--   every column in the table. <tt>JSON 's3://mybucket/jsonpaths.txt'</tt>
--   - data is in JSON format, and the path specified is the format of the
--   data. For more examples, see <a>Amazon Redshift COPY command
--   examples</a> .</li>
--   <li><a>ccDataTableColumns</a> - A comma-separated list of column
--   names.</li>
--   <li><a>ccDataTableName</a> - The name of the target table. The table
--   must already exist in the database.</li>
--   </ul>
copyCommand :: Text -> CopyCommand

-- | Optional parameters to use with the Amazon Redshift <tt>COPY</tt>
--   command. For more information, see the "Optional Parameters" section
--   of <a>Amazon Redshift COPY command</a> . Some possible examples that
--   would apply to Kinesis Data Firehose are as follows: <tt>delimiter
--   '\t' lzop;</tt> - fields are delimited with "t" (TAB character) and
--   compressed using lzop. <tt>delimiter '|'</tt> - fields are delimited
--   with "|" (this is the default delimiter). <tt>delimiter '|'
--   escape</tt> - the delimiter should be escaped. <tt>fixedwidth
--   'venueid:3,venuename:25,venuecity:12,venuestate:2,venueseats:6'</tt> -
--   fields are fixed width in the source, with each width specified after
--   every column in the table. <tt>JSON 's3://mybucket/jsonpaths.txt'</tt>
--   - data is in JSON format, and the path specified is the format of the
--   data. For more examples, see <a>Amazon Redshift COPY command
--   examples</a> .
ccCopyOptions :: Lens' CopyCommand (Maybe Text)

-- | A comma-separated list of column names.
ccDataTableColumns :: Lens' CopyCommand (Maybe Text)

-- | The name of the target table. The table must already exist in the
--   database.
ccDataTableName :: Lens' CopyCommand Text

-- | Specifies that you want Kinesis Data Firehose to convert data from the
--   JSON format to the Parquet or ORC format before writing it to Amazon
--   S3. Kinesis Data Firehose uses the serializer and deserializer that
--   you specify, in addition to the column information from the AWS Glue
--   table, to deserialize your input data from JSON and then serialize it
--   to the Parquet or ORC format. For more information, see <a>Kinesis
--   Data Firehose Record Format Conversion</a> .
--   
--   <i>See:</i> <a>dataFormatConversionConfiguration</a> smart
--   constructor.
data DataFormatConversionConfiguration

-- | Creates a value of <a>DataFormatConversionConfiguration</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dfccOutputFormatConfiguration</a> - Specifies the serializer
--   that you want Kinesis Data Firehose to use to convert the format of
--   your data to the Parquet or ORC format.</li>
--   <li><a>dfccEnabled</a> - Defaults to <tt>true</tt> . Set it to
--   <tt>false</tt> if you want to disable format conversion while
--   preserving the configuration details.</li>
--   <li><a>dfccSchemaConfiguration</a> - Specifies the AWS Glue Data
--   Catalog table that contains the column information.</li>
--   <li><a>dfccInputFormatConfiguration</a> - Specifies the deserializer
--   that you want Kinesis Data Firehose to use to convert the format of
--   your data from JSON.</li>
--   </ul>
dataFormatConversionConfiguration :: DataFormatConversionConfiguration

-- | Specifies the serializer that you want Kinesis Data Firehose to use to
--   convert the format of your data to the Parquet or ORC format.
dfccOutputFormatConfiguration :: Lens' DataFormatConversionConfiguration (Maybe OutputFormatConfiguration)

-- | Defaults to <tt>true</tt> . Set it to <tt>false</tt> if you want to
--   disable format conversion while preserving the configuration details.
dfccEnabled :: Lens' DataFormatConversionConfiguration (Maybe Bool)

-- | Specifies the AWS Glue Data Catalog table that contains the column
--   information.
dfccSchemaConfiguration :: Lens' DataFormatConversionConfiguration (Maybe SchemaConfiguration)

-- | Specifies the deserializer that you want Kinesis Data Firehose to use
--   to convert the format of your data from JSON.
dfccInputFormatConfiguration :: Lens' DataFormatConversionConfiguration (Maybe InputFormatConfiguration)

-- | Contains information about a delivery stream.
--   
--   <i>See:</i> <a>deliveryStreamDescription</a> smart constructor.
data DeliveryStreamDescription

-- | Creates a value of <a>DeliveryStreamDescription</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsdCreateTimestamp</a> - The date and time that the delivery
--   stream was created.</li>
--   <li><a>dsdSource</a> - If the <tt>DeliveryStreamType</tt> parameter is
--   <tt>KinesisStreamAsSource</tt> , a <a>SourceDescription</a> object
--   describing the source Kinesis data stream.</li>
--   <li><a>dsdLastUpdateTimestamp</a> - The date and time that the
--   delivery stream was last updated.</li>
--   <li><a>dsdDeliveryStreamName</a> - The name of the delivery
--   stream.</li>
--   <li><a>dsdDeliveryStreamARN</a> - The Amazon Resource Name (ARN) of
--   the delivery stream. For more information, see <a>Amazon Resource
--   Names (ARNs) and AWS Service Namespaces</a> .</li>
--   <li><a>dsdDeliveryStreamStatus</a> - The status of the delivery
--   stream.</li>
--   <li><a>dsdDeliveryStreamType</a> - The delivery stream type. This can
--   be one of the following values: * <tt>DirectPut</tt> : Provider
--   applications access the delivery stream directly. *
--   <tt>KinesisStreamAsSource</tt> : The delivery stream uses a Kinesis
--   data stream as a source.</li>
--   <li><a>dsdVersionId</a> - Each time the destination is updated for a
--   delivery stream, the version ID is changed, and the current version ID
--   is required when updating the destination. This is so that the service
--   knows it is applying the changes to the correct version of the
--   delivery stream.</li>
--   <li><a>dsdDestinations</a> - The destinations.</li>
--   <li><a>dsdHasMoreDestinations</a> - Indicates whether there are more
--   destinations available to list.</li>
--   </ul>
deliveryStreamDescription :: Text -> Text -> DeliveryStreamStatus -> DeliveryStreamType -> Text -> Bool -> DeliveryStreamDescription

-- | The date and time that the delivery stream was created.
dsdCreateTimestamp :: Lens' DeliveryStreamDescription (Maybe UTCTime)

-- | If the <tt>DeliveryStreamType</tt> parameter is
--   <tt>KinesisStreamAsSource</tt> , a <a>SourceDescription</a> object
--   describing the source Kinesis data stream.
dsdSource :: Lens' DeliveryStreamDescription (Maybe SourceDescription)

-- | The date and time that the delivery stream was last updated.
dsdLastUpdateTimestamp :: Lens' DeliveryStreamDescription (Maybe UTCTime)

-- | The name of the delivery stream.
dsdDeliveryStreamName :: Lens' DeliveryStreamDescription Text

-- | The Amazon Resource Name (ARN) of the delivery stream. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
dsdDeliveryStreamARN :: Lens' DeliveryStreamDescription Text

-- | The status of the delivery stream.
dsdDeliveryStreamStatus :: Lens' DeliveryStreamDescription DeliveryStreamStatus

-- | The delivery stream type. This can be one of the following values: *
--   <tt>DirectPut</tt> : Provider applications access the delivery stream
--   directly. * <tt>KinesisStreamAsSource</tt> : The delivery stream uses
--   a Kinesis data stream as a source.
dsdDeliveryStreamType :: Lens' DeliveryStreamDescription DeliveryStreamType

-- | Each time the destination is updated for a delivery stream, the
--   version ID is changed, and the current version ID is required when
--   updating the destination. This is so that the service knows it is
--   applying the changes to the correct version of the delivery stream.
dsdVersionId :: Lens' DeliveryStreamDescription Text

-- | The destinations.
dsdDestinations :: Lens' DeliveryStreamDescription [DestinationDescription]

-- | Indicates whether there are more destinations available to list.
dsdHasMoreDestinations :: Lens' DeliveryStreamDescription Bool

-- | The deserializer you want Kinesis Data Firehose to use for converting
--   the input data from JSON. Kinesis Data Firehose then serializes the
--   data to its final format using the <a>Serializer</a> . Kinesis Data
--   Firehose supports two types of deserializers: the <a>Apache Hive JSON
--   SerDe</a> and the <a>OpenX JSON SerDe</a> .
--   
--   <i>See:</i> <a>deserializer</a> smart constructor.
data Deserializer

-- | Creates a value of <a>Deserializer</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dOpenXJSONSerDe</a> - The OpenX SerDe. Used by Kinesis Data
--   Firehose for deserializing data, which means converting it from the
--   JSON format in preparation for serializing it to the Parquet or ORC
--   format. This is one of two deserializers you can choose, depending on
--   which one offers the functionality you need. The other option is the
--   native Hive / HCatalog JsonSerDe.</li>
--   <li><a>dHiveJSONSerDe</a> - The native Hive / HCatalog JsonSerDe. Used
--   by Kinesis Data Firehose for deserializing data, which means
--   converting it from the JSON format in preparation for serializing it
--   to the Parquet or ORC format. This is one of two deserializers you can
--   choose, depending on which one offers the functionality you need. The
--   other option is the OpenX SerDe.</li>
--   </ul>
deserializer :: Deserializer

-- | The OpenX SerDe. Used by Kinesis Data Firehose for deserializing data,
--   which means converting it from the JSON format in preparation for
--   serializing it to the Parquet or ORC format. This is one of two
--   deserializers you can choose, depending on which one offers the
--   functionality you need. The other option is the native Hive / HCatalog
--   JsonSerDe.
dOpenXJSONSerDe :: Lens' Deserializer (Maybe OpenXJSONSerDe)

-- | The native Hive / HCatalog JsonSerDe. Used by Kinesis Data Firehose
--   for deserializing data, which means converting it from the JSON format
--   in preparation for serializing it to the Parquet or ORC format. This
--   is one of two deserializers you can choose, depending on which one
--   offers the functionality you need. The other option is the OpenX
--   SerDe.
dHiveJSONSerDe :: Lens' Deserializer (Maybe HiveJSONSerDe)

-- | Describes the destination for a delivery stream.
--   
--   <i>See:</i> <a>destinationDescription</a> smart constructor.
data DestinationDescription

-- | Creates a value of <a>DestinationDescription</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ddSplunkDestinationDescription</a> - The destination in
--   Splunk.</li>
--   <li><a>ddS3DestinationDescription</a> - [Deprecated] The destination
--   in Amazon S3.</li>
--   <li><a>ddExtendedS3DestinationDescription</a> - The destination in
--   Amazon S3.</li>
--   <li><a>ddElasticsearchDestinationDescription</a> - The destination in
--   Amazon ES.</li>
--   <li><a>ddRedshiftDestinationDescription</a> - The destination in
--   Amazon Redshift.</li>
--   <li><a>ddDestinationId</a> - The ID of the destination.</li>
--   </ul>
destinationDescription :: Text -> DestinationDescription

-- | The destination in Splunk.
ddSplunkDestinationDescription :: Lens' DestinationDescription (Maybe SplunkDestinationDescription)

-- | <ul>
--   <li><i>Deprecated</i> The destination in Amazon S3.</li>
--   </ul>
ddS3DestinationDescription :: Lens' DestinationDescription (Maybe S3DestinationDescription)

-- | The destination in Amazon S3.
ddExtendedS3DestinationDescription :: Lens' DestinationDescription (Maybe ExtendedS3DestinationDescription)

-- | The destination in Amazon ES.
ddElasticsearchDestinationDescription :: Lens' DestinationDescription (Maybe ElasticsearchDestinationDescription)

-- | The destination in Amazon Redshift.
ddRedshiftDestinationDescription :: Lens' DestinationDescription (Maybe RedshiftDestinationDescription)

-- | The ID of the destination.
ddDestinationId :: Lens' DestinationDescription Text

-- | Describes the buffering to perform before delivering data to the
--   Amazon ES destination.
--   
--   <i>See:</i> <a>elasticsearchBufferingHints</a> smart constructor.
data ElasticsearchBufferingHints

-- | Creates a value of <a>ElasticsearchBufferingHints</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ebhSizeInMBs</a> - Buffer incoming data to the specified size,
--   in MBs, before delivering it to the destination. The default value is
--   5. We recommend setting this parameter to a value greater than the
--   amount of data you typically ingest into the delivery stream in 10
--   seconds. For example, if you typically ingest data at 1 MB/sec, the
--   value should be 10 MB or higher.</li>
--   <li><a>ebhIntervalInSeconds</a> - Buffer incoming data for the
--   specified period of time, in seconds, before delivering it to the
--   destination. The default value is 300 (5 minutes).</li>
--   </ul>
elasticsearchBufferingHints :: ElasticsearchBufferingHints

-- | Buffer incoming data to the specified size, in MBs, before delivering
--   it to the destination. The default value is 5. We recommend setting
--   this parameter to a value greater than the amount of data you
--   typically ingest into the delivery stream in 10 seconds. For example,
--   if you typically ingest data at 1 MB/sec, the value should be 10 MB or
--   higher.
ebhSizeInMBs :: Lens' ElasticsearchBufferingHints (Maybe Natural)

-- | Buffer incoming data for the specified period of time, in seconds,
--   before delivering it to the destination. The default value is 300 (5
--   minutes).
ebhIntervalInSeconds :: Lens' ElasticsearchBufferingHints (Maybe Natural)

-- | Describes the configuration of a destination in Amazon ES.
--   
--   <i>See:</i> <a>elasticsearchDestinationConfiguration</a> smart
--   constructor.
data ElasticsearchDestinationConfiguration

-- | Creates a value of <a>ElasticsearchDestinationConfiguration</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>edcIndexRotationPeriod</a> - The Elasticsearch index rotation
--   period. Index rotation appends a time stamp to the <tt>IndexName</tt>
--   to facilitate the expiration of old data. For more information, see
--   <a>Index Rotation for the Amazon ES Destination</a> . The default
--   value is <tt>OneDay</tt> .</li>
--   <li><a>edcS3BackupMode</a> - Defines how documents should be delivered
--   to Amazon S3. When it is set to <tt>FailedDocumentsOnly</tt> , Kinesis
--   Data Firehose writes any documents that could not be indexed to the
--   configured Amazon S3 destination, with <tt>elasticsearch-failed/</tt>
--   appended to the key prefix. When set to <tt>AllDocuments</tt> ,
--   Kinesis Data Firehose delivers all incoming records to Amazon S3, and
--   also writes failed documents with <tt>elasticsearch-failed/</tt>
--   appended to the prefix. For more information, see <a>Amazon S3 Backup
--   for the Amazon ES Destination</a> . Default value is
--   <tt>FailedDocumentsOnly</tt> .</li>
--   <li><a>edcCloudWatchLoggingOptions</a> - The Amazon CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>edcBufferingHints</a> - The buffering options. If no value is
--   specified, the default values for <tt>ElasticsearchBufferingHints</tt>
--   are used.</li>
--   <li><a>edcRetryOptions</a> - The retry behavior in case Kinesis Data
--   Firehose is unable to deliver documents to Amazon ES. The default
--   value is 300 (5 minutes).</li>
--   <li><a>edcProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>edcRoleARN</a> - The Amazon Resource Name (ARN) of the IAM role
--   to be assumed by Kinesis Data Firehose for calling the Amazon ES
--   Configuration API and for indexing documents. For more information,
--   see <a>Grant Kinesis Data Firehose Access to an Amazon S3
--   Destination</a> and <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   <li><a>edcDomainARN</a> - The ARN of the Amazon ES domain. The IAM
--   role must have permissions for <tt>DescribeElasticsearchDomain</tt> ,
--   <tt>DescribeElasticsearchDomains</tt> , and
--   <tt>DescribeElasticsearchDomainConfig</tt> after assuming the role
--   specified in <b>RoleARN</b> . For more information, see <a>Amazon
--   Resource Names (ARNs) and AWS Service Namespaces</a> .</li>
--   <li><a>edcIndexName</a> - The Elasticsearch index name.</li>
--   <li><a>edcTypeName</a> - The Elasticsearch type name. For
--   Elasticsearch 6.x, there can be only one type per index. If you try to
--   specify a new type for an existing index that already has another
--   type, Kinesis Data Firehose returns an error during run time.</li>
--   <li><a>edcS3Configuration</a> - The configuration for the backup
--   Amazon S3 location.</li>
--   </ul>
elasticsearchDestinationConfiguration :: Text -> Text -> Text -> Text -> S3DestinationConfiguration -> ElasticsearchDestinationConfiguration

-- | The Elasticsearch index rotation period. Index rotation appends a time
--   stamp to the <tt>IndexName</tt> to facilitate the expiration of old
--   data. For more information, see <a>Index Rotation for the Amazon ES
--   Destination</a> . The default value is <tt>OneDay</tt> .
edcIndexRotationPeriod :: Lens' ElasticsearchDestinationConfiguration (Maybe ElasticsearchIndexRotationPeriod)

-- | Defines how documents should be delivered to Amazon S3. When it is set
--   to <tt>FailedDocumentsOnly</tt> , Kinesis Data Firehose writes any
--   documents that could not be indexed to the configured Amazon S3
--   destination, with <tt>elasticsearch-failed/</tt> appended to the key
--   prefix. When set to <tt>AllDocuments</tt> , Kinesis Data Firehose
--   delivers all incoming records to Amazon S3, and also writes failed
--   documents with <tt>elasticsearch-failed/</tt> appended to the prefix.
--   For more information, see <a>Amazon S3 Backup for the Amazon ES
--   Destination</a> . Default value is <tt>FailedDocumentsOnly</tt> .
edcS3BackupMode :: Lens' ElasticsearchDestinationConfiguration (Maybe ElasticsearchS3BackupMode)

-- | The Amazon CloudWatch logging options for your delivery stream.
edcCloudWatchLoggingOptions :: Lens' ElasticsearchDestinationConfiguration (Maybe CloudWatchLoggingOptions)

-- | The buffering options. If no value is specified, the default values
--   for <tt>ElasticsearchBufferingHints</tt> are used.
edcBufferingHints :: Lens' ElasticsearchDestinationConfiguration (Maybe ElasticsearchBufferingHints)

-- | The retry behavior in case Kinesis Data Firehose is unable to deliver
--   documents to Amazon ES. The default value is 300 (5 minutes).
edcRetryOptions :: Lens' ElasticsearchDestinationConfiguration (Maybe ElasticsearchRetryOptions)

-- | The data processing configuration.
edcProcessingConfiguration :: Lens' ElasticsearchDestinationConfiguration (Maybe ProcessingConfiguration)

-- | The Amazon Resource Name (ARN) of the IAM role to be assumed by
--   Kinesis Data Firehose for calling the Amazon ES Configuration API and
--   for indexing documents. For more information, see <a>Grant Kinesis
--   Data Firehose Access to an Amazon S3 Destination</a> and <a>Amazon
--   Resource Names (ARNs) and AWS Service Namespaces</a> .
edcRoleARN :: Lens' ElasticsearchDestinationConfiguration Text

-- | The ARN of the Amazon ES domain. The IAM role must have permissions
--   for <tt>DescribeElasticsearchDomain</tt> ,
--   <tt>DescribeElasticsearchDomains</tt> , and
--   <tt>DescribeElasticsearchDomainConfig</tt> after assuming the role
--   specified in <b>RoleARN</b> . For more information, see <a>Amazon
--   Resource Names (ARNs) and AWS Service Namespaces</a> .
edcDomainARN :: Lens' ElasticsearchDestinationConfiguration Text

-- | The Elasticsearch index name.
edcIndexName :: Lens' ElasticsearchDestinationConfiguration Text

-- | The Elasticsearch type name. For Elasticsearch 6.x, there can be only
--   one type per index. If you try to specify a new type for an existing
--   index that already has another type, Kinesis Data Firehose returns an
--   error during run time.
edcTypeName :: Lens' ElasticsearchDestinationConfiguration Text

-- | The configuration for the backup Amazon S3 location.
edcS3Configuration :: Lens' ElasticsearchDestinationConfiguration S3DestinationConfiguration

-- | The destination description in Amazon ES.
--   
--   <i>See:</i> <a>elasticsearchDestinationDescription</a> smart
--   constructor.
data ElasticsearchDestinationDescription

-- | Creates a value of <a>ElasticsearchDestinationDescription</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eddIndexRotationPeriod</a> - The Elasticsearch index rotation
--   period</li>
--   <li><a>eddTypeName</a> - The Elasticsearch type name.</li>
--   <li><a>eddS3BackupMode</a> - The Amazon S3 backup mode.</li>
--   <li><a>eddDomainARN</a> - The ARN of the Amazon ES domain. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   <li><a>eddCloudWatchLoggingOptions</a> - The Amazon CloudWatch logging
--   options.</li>
--   <li><a>eddS3DestinationDescription</a> - The Amazon S3
--   destination.</li>
--   <li><a>eddBufferingHints</a> - The buffering options.</li>
--   <li><a>eddRetryOptions</a> - The Amazon ES retry options.</li>
--   <li><a>eddProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>eddRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   <li><a>eddIndexName</a> - The Elasticsearch index name.</li>
--   </ul>
elasticsearchDestinationDescription :: ElasticsearchDestinationDescription

-- | The Elasticsearch index rotation period
eddIndexRotationPeriod :: Lens' ElasticsearchDestinationDescription (Maybe ElasticsearchIndexRotationPeriod)

-- | The Elasticsearch type name.
eddTypeName :: Lens' ElasticsearchDestinationDescription (Maybe Text)

-- | The Amazon S3 backup mode.
eddS3BackupMode :: Lens' ElasticsearchDestinationDescription (Maybe ElasticsearchS3BackupMode)

-- | The ARN of the Amazon ES domain. For more information, see <a>Amazon
--   Resource Names (ARNs) and AWS Service Namespaces</a> .
eddDomainARN :: Lens' ElasticsearchDestinationDescription (Maybe Text)

-- | The Amazon CloudWatch logging options.
eddCloudWatchLoggingOptions :: Lens' ElasticsearchDestinationDescription (Maybe CloudWatchLoggingOptions)

-- | The Amazon S3 destination.
eddS3DestinationDescription :: Lens' ElasticsearchDestinationDescription (Maybe S3DestinationDescription)

-- | The buffering options.
eddBufferingHints :: Lens' ElasticsearchDestinationDescription (Maybe ElasticsearchBufferingHints)

-- | The Amazon ES retry options.
eddRetryOptions :: Lens' ElasticsearchDestinationDescription (Maybe ElasticsearchRetryOptions)

-- | The data processing configuration.
eddProcessingConfiguration :: Lens' ElasticsearchDestinationDescription (Maybe ProcessingConfiguration)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
eddRoleARN :: Lens' ElasticsearchDestinationDescription (Maybe Text)

-- | The Elasticsearch index name.
eddIndexName :: Lens' ElasticsearchDestinationDescription (Maybe Text)

-- | Describes an update for a destination in Amazon ES.
--   
--   <i>See:</i> <a>elasticsearchDestinationUpdate</a> smart constructor.
data ElasticsearchDestinationUpdate

-- | Creates a value of <a>ElasticsearchDestinationUpdate</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eduIndexRotationPeriod</a> - The Elasticsearch index rotation
--   period. Index rotation appends a time stamp to <tt>IndexName</tt> to
--   facilitate the expiration of old data. For more information, see
--   <a>Index Rotation for the Amazon ES Destination</a> . Default value is
--   <tt>OneDay</tt> .</li>
--   <li><a>eduTypeName</a> - The Elasticsearch type name. For
--   Elasticsearch 6.x, there can be only one type per index. If you try to
--   specify a new type for an existing index that already has another
--   type, Kinesis Data Firehose returns an error during runtime.</li>
--   <li><a>eduDomainARN</a> - The ARN of the Amazon ES domain. The IAM
--   role must have permissions for <tt>DescribeElasticsearchDomain</tt> ,
--   <tt>DescribeElasticsearchDomains</tt> , and
--   <tt>DescribeElasticsearchDomainConfig</tt> after assuming the IAM role
--   specified in <b>RoleARN</b> . For more information, see <a>Amazon
--   Resource Names (ARNs) and AWS Service Namespaces</a> .</li>
--   <li><a>eduCloudWatchLoggingOptions</a> - The CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>eduS3Update</a> - The Amazon S3 destination.</li>
--   <li><a>eduBufferingHints</a> - The buffering options. If no value is
--   specified, <b>ElasticsearchBufferingHints</b> object default values
--   are used.</li>
--   <li><a>eduRetryOptions</a> - The retry behavior in case Kinesis Data
--   Firehose is unable to deliver documents to Amazon ES. The default
--   value is 300 (5 minutes).</li>
--   <li><a>eduProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>eduRoleARN</a> - The Amazon Resource Name (ARN) of the IAM role
--   to be assumed by Kinesis Data Firehose for calling the Amazon ES
--   Configuration API and for indexing documents. For more information,
--   see <a>Grant Kinesis Data Firehose Access to an Amazon S3
--   Destination</a> and <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   <li><a>eduIndexName</a> - The Elasticsearch index name.</li>
--   </ul>
elasticsearchDestinationUpdate :: ElasticsearchDestinationUpdate

-- | The Elasticsearch index rotation period. Index rotation appends a time
--   stamp to <tt>IndexName</tt> to facilitate the expiration of old data.
--   For more information, see <a>Index Rotation for the Amazon ES
--   Destination</a> . Default value is <tt>OneDay</tt> .
eduIndexRotationPeriod :: Lens' ElasticsearchDestinationUpdate (Maybe ElasticsearchIndexRotationPeriod)

-- | The Elasticsearch type name. For Elasticsearch 6.x, there can be only
--   one type per index. If you try to specify a new type for an existing
--   index that already has another type, Kinesis Data Firehose returns an
--   error during runtime.
eduTypeName :: Lens' ElasticsearchDestinationUpdate (Maybe Text)

-- | The ARN of the Amazon ES domain. The IAM role must have permissions
--   for <tt>DescribeElasticsearchDomain</tt> ,
--   <tt>DescribeElasticsearchDomains</tt> , and
--   <tt>DescribeElasticsearchDomainConfig</tt> after assuming the IAM role
--   specified in <b>RoleARN</b> . For more information, see <a>Amazon
--   Resource Names (ARNs) and AWS Service Namespaces</a> .
eduDomainARN :: Lens' ElasticsearchDestinationUpdate (Maybe Text)

-- | The CloudWatch logging options for your delivery stream.
eduCloudWatchLoggingOptions :: Lens' ElasticsearchDestinationUpdate (Maybe CloudWatchLoggingOptions)

-- | The Amazon S3 destination.
eduS3Update :: Lens' ElasticsearchDestinationUpdate (Maybe S3DestinationUpdate)

-- | The buffering options. If no value is specified,
--   <b>ElasticsearchBufferingHints</b> object default values are used.
eduBufferingHints :: Lens' ElasticsearchDestinationUpdate (Maybe ElasticsearchBufferingHints)

-- | The retry behavior in case Kinesis Data Firehose is unable to deliver
--   documents to Amazon ES. The default value is 300 (5 minutes).
eduRetryOptions :: Lens' ElasticsearchDestinationUpdate (Maybe ElasticsearchRetryOptions)

-- | The data processing configuration.
eduProcessingConfiguration :: Lens' ElasticsearchDestinationUpdate (Maybe ProcessingConfiguration)

-- | The Amazon Resource Name (ARN) of the IAM role to be assumed by
--   Kinesis Data Firehose for calling the Amazon ES Configuration API and
--   for indexing documents. For more information, see <a>Grant Kinesis
--   Data Firehose Access to an Amazon S3 Destination</a> and <a>Amazon
--   Resource Names (ARNs) and AWS Service Namespaces</a> .
eduRoleARN :: Lens' ElasticsearchDestinationUpdate (Maybe Text)

-- | The Elasticsearch index name.
eduIndexName :: Lens' ElasticsearchDestinationUpdate (Maybe Text)

-- | Configures retry behavior in case Kinesis Data Firehose is unable to
--   deliver documents to Amazon ES.
--   
--   <i>See:</i> <a>elasticsearchRetryOptions</a> smart constructor.
data ElasticsearchRetryOptions

-- | Creates a value of <a>ElasticsearchRetryOptions</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eroDurationInSeconds</a> - After an initial failure to deliver
--   to Amazon ES, the total amount of time during which Kinesis Data
--   Firehose retries delivery (including the first attempt). After this
--   time has elapsed, the failed documents are written to Amazon S3.
--   Default value is 300 seconds (5 minutes). A value of 0 (zero) results
--   in no retries.</li>
--   </ul>
elasticsearchRetryOptions :: ElasticsearchRetryOptions

-- | After an initial failure to deliver to Amazon ES, the total amount of
--   time during which Kinesis Data Firehose retries delivery (including
--   the first attempt). After this time has elapsed, the failed documents
--   are written to Amazon S3. Default value is 300 seconds (5 minutes). A
--   value of 0 (zero) results in no retries.
eroDurationInSeconds :: Lens' ElasticsearchRetryOptions (Maybe Natural)

-- | Describes the encryption for a destination in Amazon S3.
--   
--   <i>See:</i> <a>encryptionConfiguration</a> smart constructor.
data EncryptionConfiguration

-- | Creates a value of <a>EncryptionConfiguration</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ecNoEncryptionConfig</a> - Specifically override existing
--   encryption information to ensure that no encryption is used.</li>
--   <li><a>ecKMSEncryptionConfig</a> - The encryption key.</li>
--   </ul>
encryptionConfiguration :: EncryptionConfiguration

-- | Specifically override existing encryption information to ensure that
--   no encryption is used.
ecNoEncryptionConfig :: Lens' EncryptionConfiguration (Maybe NoEncryptionConfig)

-- | The encryption key.
ecKMSEncryptionConfig :: Lens' EncryptionConfiguration (Maybe KMSEncryptionConfig)

-- | Describes the configuration of a destination in Amazon S3.
--   
--   <i>See:</i> <a>extendedS3DestinationConfiguration</a> smart
--   constructor.
data ExtendedS3DestinationConfiguration

-- | Creates a value of <a>ExtendedS3DestinationConfiguration</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>esdcS3BackupMode</a> - The Amazon S3 backup mode.</li>
--   <li><a>esdcPrefix</a> - The "YYYY<i>MM</i>DD<i>HH" time format prefix
--   is automatically used for delivered Amazon S3 files. You can specify
--   an extra prefix to be added in front of the time format prefix. If the
--   prefix ends with a slash, it appears as a folder in the S3 bucket. For
--   more information, see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .</li>
--   <li><a>esdcCloudWatchLoggingOptions</a> - The Amazon CloudWatch
--   logging options for your delivery stream.</li>
--   <li><a>esdcS3BackupConfiguration</a> - The configuration for backup in
--   Amazon S3.</li>
--   <li><a>esdcEncryptionConfiguration</a> - The encryption configuration.
--   If no value is specified, the default is no encryption.</li>
--   <li><a>esdcCompressionFormat</a> - The compression format. If no value
--   is specified, the default is UNCOMPRESSED.</li>
--   <li><a>esdcBufferingHints</a> - The buffering option.</li>
--   <li><a>esdcDataFormatConversionConfiguration</a> - The serializer,
--   deserializer, and schema for converting data from the JSON format to
--   the Parquet or ORC format before writing it to Amazon S3.</li>
--   <li><a>esdcProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>esdcRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   <li><a>esdcBucketARN</a> - The ARN of the S3 bucket. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   </ul>
extendedS3DestinationConfiguration :: Text -> Text -> ExtendedS3DestinationConfiguration

-- | The Amazon S3 backup mode.
esdcS3BackupMode :: Lens' ExtendedS3DestinationConfiguration (Maybe S3BackupMode)

-- | The "YYYY<i>MM</i>DD<i>HH" time format prefix is automatically used
--   for delivered Amazon S3 files. You can specify an extra prefix to be
--   added in front of the time format prefix. If the prefix ends with a
--   slash, it appears as a folder in the S3 bucket. For more information,
--   see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .
esdcPrefix :: Lens' ExtendedS3DestinationConfiguration (Maybe Text)

-- | The Amazon CloudWatch logging options for your delivery stream.
esdcCloudWatchLoggingOptions :: Lens' ExtendedS3DestinationConfiguration (Maybe CloudWatchLoggingOptions)

-- | The configuration for backup in Amazon S3.
esdcS3BackupConfiguration :: Lens' ExtendedS3DestinationConfiguration (Maybe S3DestinationConfiguration)

-- | The encryption configuration. If no value is specified, the default is
--   no encryption.
esdcEncryptionConfiguration :: Lens' ExtendedS3DestinationConfiguration (Maybe EncryptionConfiguration)

-- | The compression format. If no value is specified, the default is
--   UNCOMPRESSED.
esdcCompressionFormat :: Lens' ExtendedS3DestinationConfiguration (Maybe CompressionFormat)

-- | The buffering option.
esdcBufferingHints :: Lens' ExtendedS3DestinationConfiguration (Maybe BufferingHints)

-- | The serializer, deserializer, and schema for converting data from the
--   JSON format to the Parquet or ORC format before writing it to Amazon
--   S3.
esdcDataFormatConversionConfiguration :: Lens' ExtendedS3DestinationConfiguration (Maybe DataFormatConversionConfiguration)

-- | The data processing configuration.
esdcProcessingConfiguration :: Lens' ExtendedS3DestinationConfiguration (Maybe ProcessingConfiguration)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
esdcRoleARN :: Lens' ExtendedS3DestinationConfiguration Text

-- | The ARN of the S3 bucket. For more information, see <a>Amazon Resource
--   Names (ARNs) and AWS Service Namespaces</a> .
esdcBucketARN :: Lens' ExtendedS3DestinationConfiguration Text

-- | Describes a destination in Amazon S3.
--   
--   <i>See:</i> <a>extendedS3DestinationDescription</a> smart constructor.
data ExtendedS3DestinationDescription

-- | Creates a value of <a>ExtendedS3DestinationDescription</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>esddS3BackupMode</a> - The Amazon S3 backup mode.</li>
--   <li><a>esddS3BackupDescription</a> - The configuration for backup in
--   Amazon S3.</li>
--   <li><a>esddPrefix</a> - The "YYYY<i>MM</i>DD<i>HH" time format prefix
--   is automatically used for delivered Amazon S3 files. You can specify
--   an extra prefix to be added in front of the time format prefix. If the
--   prefix ends with a slash, it appears as a folder in the S3 bucket. For
--   more information, see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .</li>
--   <li><a>esddCloudWatchLoggingOptions</a> - The Amazon CloudWatch
--   logging options for your delivery stream.</li>
--   <li><a>esddDataFormatConversionConfiguration</a> - The serializer,
--   deserializer, and schema for converting data from the JSON format to
--   the Parquet or ORC format before writing it to Amazon S3.</li>
--   <li><a>esddProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>esddRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   <li><a>esddBucketARN</a> - The ARN of the S3 bucket. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   <li><a>esddBufferingHints</a> - The buffering option.</li>
--   <li><a>esddCompressionFormat</a> - The compression format. If no value
--   is specified, the default is <tt>UNCOMPRESSED</tt> .</li>
--   <li><a>esddEncryptionConfiguration</a> - The encryption configuration.
--   If no value is specified, the default is no encryption.</li>
--   </ul>
extendedS3DestinationDescription :: Text -> Text -> BufferingHints -> CompressionFormat -> EncryptionConfiguration -> ExtendedS3DestinationDescription

-- | The Amazon S3 backup mode.
esddS3BackupMode :: Lens' ExtendedS3DestinationDescription (Maybe S3BackupMode)

-- | The configuration for backup in Amazon S3.
esddS3BackupDescription :: Lens' ExtendedS3DestinationDescription (Maybe S3DestinationDescription)

-- | The "YYYY<i>MM</i>DD<i>HH" time format prefix is automatically used
--   for delivered Amazon S3 files. You can specify an extra prefix to be
--   added in front of the time format prefix. If the prefix ends with a
--   slash, it appears as a folder in the S3 bucket. For more information,
--   see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .
esddPrefix :: Lens' ExtendedS3DestinationDescription (Maybe Text)

-- | The Amazon CloudWatch logging options for your delivery stream.
esddCloudWatchLoggingOptions :: Lens' ExtendedS3DestinationDescription (Maybe CloudWatchLoggingOptions)

-- | The serializer, deserializer, and schema for converting data from the
--   JSON format to the Parquet or ORC format before writing it to Amazon
--   S3.
esddDataFormatConversionConfiguration :: Lens' ExtendedS3DestinationDescription (Maybe DataFormatConversionConfiguration)

-- | The data processing configuration.
esddProcessingConfiguration :: Lens' ExtendedS3DestinationDescription (Maybe ProcessingConfiguration)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
esddRoleARN :: Lens' ExtendedS3DestinationDescription Text

-- | The ARN of the S3 bucket. For more information, see <a>Amazon Resource
--   Names (ARNs) and AWS Service Namespaces</a> .
esddBucketARN :: Lens' ExtendedS3DestinationDescription Text

-- | The buffering option.
esddBufferingHints :: Lens' ExtendedS3DestinationDescription BufferingHints

-- | The compression format. If no value is specified, the default is
--   <tt>UNCOMPRESSED</tt> .
esddCompressionFormat :: Lens' ExtendedS3DestinationDescription CompressionFormat

-- | The encryption configuration. If no value is specified, the default is
--   no encryption.
esddEncryptionConfiguration :: Lens' ExtendedS3DestinationDescription EncryptionConfiguration

-- | Describes an update for a destination in Amazon S3.
--   
--   <i>See:</i> <a>extendedS3DestinationUpdate</a> smart constructor.
data ExtendedS3DestinationUpdate

-- | Creates a value of <a>ExtendedS3DestinationUpdate</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>esduS3BackupMode</a> - Enables or disables Amazon S3 backup
--   mode.</li>
--   <li><a>esduPrefix</a> - The "YYYY<i>MM</i>DD<i>HH" time format prefix
--   is automatically used for delivered Amazon S3 files. You can specify
--   an extra prefix to be added in front of the time format prefix. If the
--   prefix ends with a slash, it appears as a folder in the S3 bucket. For
--   more information, see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .</li>
--   <li><a>esduCloudWatchLoggingOptions</a> - The Amazon CloudWatch
--   logging options for your delivery stream.</li>
--   <li><a>esduS3BackupUpdate</a> - The Amazon S3 destination for
--   backup.</li>
--   <li><a>esduEncryptionConfiguration</a> - The encryption configuration.
--   If no value is specified, the default is no encryption.</li>
--   <li><a>esduCompressionFormat</a> - The compression format. If no value
--   is specified, the default is <tt>UNCOMPRESSED</tt> .</li>
--   <li><a>esduBufferingHints</a> - The buffering option.</li>
--   <li><a>esduDataFormatConversionConfiguration</a> - The serializer,
--   deserializer, and schema for converting data from the JSON format to
--   the Parquet or ORC format before writing it to Amazon S3.</li>
--   <li><a>esduBucketARN</a> - The ARN of the S3 bucket. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   <li><a>esduProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>esduRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   </ul>
extendedS3DestinationUpdate :: ExtendedS3DestinationUpdate

-- | Enables or disables Amazon S3 backup mode.
esduS3BackupMode :: Lens' ExtendedS3DestinationUpdate (Maybe S3BackupMode)

-- | The "YYYY<i>MM</i>DD<i>HH" time format prefix is automatically used
--   for delivered Amazon S3 files. You can specify an extra prefix to be
--   added in front of the time format prefix. If the prefix ends with a
--   slash, it appears as a folder in the S3 bucket. For more information,
--   see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .
esduPrefix :: Lens' ExtendedS3DestinationUpdate (Maybe Text)

-- | The Amazon CloudWatch logging options for your delivery stream.
esduCloudWatchLoggingOptions :: Lens' ExtendedS3DestinationUpdate (Maybe CloudWatchLoggingOptions)

-- | The Amazon S3 destination for backup.
esduS3BackupUpdate :: Lens' ExtendedS3DestinationUpdate (Maybe S3DestinationUpdate)

-- | The encryption configuration. If no value is specified, the default is
--   no encryption.
esduEncryptionConfiguration :: Lens' ExtendedS3DestinationUpdate (Maybe EncryptionConfiguration)

-- | The compression format. If no value is specified, the default is
--   <tt>UNCOMPRESSED</tt> .
esduCompressionFormat :: Lens' ExtendedS3DestinationUpdate (Maybe CompressionFormat)

-- | The buffering option.
esduBufferingHints :: Lens' ExtendedS3DestinationUpdate (Maybe BufferingHints)

-- | The serializer, deserializer, and schema for converting data from the
--   JSON format to the Parquet or ORC format before writing it to Amazon
--   S3.
esduDataFormatConversionConfiguration :: Lens' ExtendedS3DestinationUpdate (Maybe DataFormatConversionConfiguration)

-- | The ARN of the S3 bucket. For more information, see <a>Amazon Resource
--   Names (ARNs) and AWS Service Namespaces</a> .
esduBucketARN :: Lens' ExtendedS3DestinationUpdate (Maybe Text)

-- | The data processing configuration.
esduProcessingConfiguration :: Lens' ExtendedS3DestinationUpdate (Maybe ProcessingConfiguration)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
esduRoleARN :: Lens' ExtendedS3DestinationUpdate (Maybe Text)

-- | The native Hive / HCatalog JsonSerDe. Used by Kinesis Data Firehose
--   for deserializing data, which means converting it from the JSON format
--   in preparation for serializing it to the Parquet or ORC format. This
--   is one of two deserializers you can choose, depending on which one
--   offers the functionality you need. The other option is the OpenX
--   SerDe.
--   
--   <i>See:</i> <a>hiveJSONSerDe</a> smart constructor.
data HiveJSONSerDe

-- | Creates a value of <a>HiveJSONSerDe</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>hjsdTimestampFormats</a> - Indicates how you want Kinesis Data
--   Firehose to parse the date and time stamps that may be present in your
--   input data JSON. To specify these format strings, follow the pattern
--   syntax of JodaTime's DateTimeFormat format strings. For more
--   information, see <a>Class DateTimeFormat</a> . You can also use the
--   special value <tt>millis</tt> to parse time stamps in epoch
--   milliseconds. If you don't specify a format, Kinesis Data Firehose
--   uses <tt>java.sql.Timestamp::valueOf</tt> by default.</li>
--   </ul>
hiveJSONSerDe :: HiveJSONSerDe

-- | Indicates how you want Kinesis Data Firehose to parse the date and
--   time stamps that may be present in your input data JSON. To specify
--   these format strings, follow the pattern syntax of JodaTime's
--   DateTimeFormat format strings. For more information, see <a>Class
--   DateTimeFormat</a> . You can also use the special value
--   <tt>millis</tt> to parse time stamps in epoch milliseconds. If you
--   don't specify a format, Kinesis Data Firehose uses
--   <tt>java.sql.Timestamp::valueOf</tt> by default.
hjsdTimestampFormats :: Lens' HiveJSONSerDe [Text]

-- | Specifies the deserializer you want to use to convert the format of
--   the input data.
--   
--   <i>See:</i> <a>inputFormatConfiguration</a> smart constructor.
data InputFormatConfiguration

-- | Creates a value of <a>InputFormatConfiguration</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ifcDeserializer</a> - Specifies which deserializer to use. You
--   can choose either the Apache Hive JSON SerDe or the OpenX JSON SerDe.
--   If both are non-null, the server rejects the request.</li>
--   </ul>
inputFormatConfiguration :: InputFormatConfiguration

-- | Specifies which deserializer to use. You can choose either the Apache
--   Hive JSON SerDe or the OpenX JSON SerDe. If both are non-null, the
--   server rejects the request.
ifcDeserializer :: Lens' InputFormatConfiguration (Maybe Deserializer)

-- | Describes an encryption key for a destination in Amazon S3.
--   
--   <i>See:</i> <a>kmsEncryptionConfig</a> smart constructor.
data KMSEncryptionConfig

-- | Creates a value of <a>KMSEncryptionConfig</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>kecAWSKMSKeyARN</a> - The Amazon Resource Name (ARN) of the
--   encryption key. Must belong to the same AWS Region as the destination
--   Amazon S3 bucket. For more information, see <a>Amazon Resource Names
--   (ARNs) and AWS Service Namespaces</a> .</li>
--   </ul>
kmsEncryptionConfig :: Text -> KMSEncryptionConfig

-- | The Amazon Resource Name (ARN) of the encryption key. Must belong to
--   the same AWS Region as the destination Amazon S3 bucket. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
kecAWSKMSKeyARN :: Lens' KMSEncryptionConfig Text

-- | The stream and role Amazon Resource Names (ARNs) for a Kinesis data
--   stream used as the source for a delivery stream.
--   
--   <i>See:</i> <a>kinesisStreamSourceConfiguration</a> smart constructor.
data KinesisStreamSourceConfiguration

-- | Creates a value of <a>KinesisStreamSourceConfiguration</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ksscKinesisStreamARN</a> - The ARN of the source Kinesis data
--   stream. For more information, see <a>Amazon Kinesis Data Streams ARN
--   Format</a> .</li>
--   <li><a>ksscRoleARN</a> - The ARN of the role that provides access to
--   the source Kinesis data stream. For more information, see <a>AWS
--   Identity and Access Management (IAM) ARN Format</a> .</li>
--   </ul>
kinesisStreamSourceConfiguration :: Text -> Text -> KinesisStreamSourceConfiguration

-- | The ARN of the source Kinesis data stream. For more information, see
--   <a>Amazon Kinesis Data Streams ARN Format</a> .
ksscKinesisStreamARN :: Lens' KinesisStreamSourceConfiguration Text

-- | The ARN of the role that provides access to the source Kinesis data
--   stream. For more information, see <a>AWS Identity and Access
--   Management (IAM) ARN Format</a> .
ksscRoleARN :: Lens' KinesisStreamSourceConfiguration Text

-- | Details about a Kinesis data stream used as the source for a Kinesis
--   Data Firehose delivery stream.
--   
--   <i>See:</i> <a>kinesisStreamSourceDescription</a> smart constructor.
data KinesisStreamSourceDescription

-- | Creates a value of <a>KinesisStreamSourceDescription</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>kssdDeliveryStartTimestamp</a> - Kinesis Data Firehose starts
--   retrieving records from the Kinesis data stream starting with this
--   time stamp.</li>
--   <li><a>kssdKinesisStreamARN</a> - The Amazon Resource Name (ARN) of
--   the source Kinesis data stream. For more information, see <a>Amazon
--   Kinesis Data Streams ARN Format</a> .</li>
--   <li><a>kssdRoleARN</a> - The ARN of the role used by the source
--   Kinesis data stream. For more information, see <a>AWS Identity and
--   Access Management (IAM) ARN Format</a> .</li>
--   </ul>
kinesisStreamSourceDescription :: KinesisStreamSourceDescription

-- | Kinesis Data Firehose starts retrieving records from the Kinesis data
--   stream starting with this time stamp.
kssdDeliveryStartTimestamp :: Lens' KinesisStreamSourceDescription (Maybe UTCTime)

-- | The Amazon Resource Name (ARN) of the source Kinesis data stream. For
--   more information, see <a>Amazon Kinesis Data Streams ARN Format</a> .
kssdKinesisStreamARN :: Lens' KinesisStreamSourceDescription (Maybe Text)

-- | The ARN of the role used by the source Kinesis data stream. For more
--   information, see <a>AWS Identity and Access Management (IAM) ARN
--   Format</a> .
kssdRoleARN :: Lens' KinesisStreamSourceDescription (Maybe Text)

-- | The OpenX SerDe. Used by Kinesis Data Firehose for deserializing data,
--   which means converting it from the JSON format in preparation for
--   serializing it to the Parquet or ORC format. This is one of two
--   deserializers you can choose, depending on which one offers the
--   functionality you need. The other option is the native Hive / HCatalog
--   JsonSerDe.
--   
--   <i>See:</i> <a>openXJSONSerDe</a> smart constructor.
data OpenXJSONSerDe

-- | Creates a value of <a>OpenXJSONSerDe</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>oxjsdColumnToJSONKeyMappings</a> - Maps column names to JSON
--   keys that aren't identical to the column names. This is useful when
--   the JSON contains keys that are Hive keywords. For example,
--   <tt>timestamp</tt> is a Hive keyword. If you have a JSON key named
--   <tt>timestamp</tt> , set this parameter to <tt>{"ts":
--   "timestamp"}</tt> to map this key to a column named <tt>ts</tt> .</li>
--   <li><a>oxjsdCaseInsensitive</a> - When set to <tt>true</tt> , which is
--   the default, Kinesis Data Firehose converts JSON keys to lowercase
--   before deserializing them.</li>
--   <li><a>oxjsdConvertDotsInJSONKeysToUnderscores</a> - When set to
--   <tt>true</tt> , specifies that the names of the keys include dots and
--   that you want Kinesis Data Firehose to replace them with underscores.
--   This is useful because Apache Hive does not allow dots in column
--   names. For example, if the JSON contains a key whose name is "a.b",
--   you can define the column name to be "a_b" when using this option. The
--   default is <tt>false</tt> .</li>
--   </ul>
openXJSONSerDe :: OpenXJSONSerDe

-- | Maps column names to JSON keys that aren't identical to the column
--   names. This is useful when the JSON contains keys that are Hive
--   keywords. For example, <tt>timestamp</tt> is a Hive keyword. If you
--   have a JSON key named <tt>timestamp</tt> , set this parameter to
--   <tt>{"ts": "timestamp"}</tt> to map this key to a column named
--   <tt>ts</tt> .
oxjsdColumnToJSONKeyMappings :: Lens' OpenXJSONSerDe (HashMap Text Text)

-- | When set to <tt>true</tt> , which is the default, Kinesis Data
--   Firehose converts JSON keys to lowercase before deserializing them.
oxjsdCaseInsensitive :: Lens' OpenXJSONSerDe (Maybe Bool)

-- | When set to <tt>true</tt> , specifies that the names of the keys
--   include dots and that you want Kinesis Data Firehose to replace them
--   with underscores. This is useful because Apache Hive does not allow
--   dots in column names. For example, if the JSON contains a key whose
--   name is "a.b", you can define the column name to be "a_b" when using
--   this option. The default is <tt>false</tt> .
oxjsdConvertDotsInJSONKeysToUnderscores :: Lens' OpenXJSONSerDe (Maybe Bool)

-- | A serializer to use for converting data to the ORC format before
--   storing it in Amazon S3. For more information, see <a>Apache ORC</a> .
--   
--   <i>See:</i> <a>orcSerDe</a> smart constructor.
data OrcSerDe

-- | Creates a value of <a>OrcSerDe</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>osdBloomFilterFalsePositiveProbability</a> - The Bloom filter
--   false positive probability (FPP). The lower the FPP, the bigger the
--   Bloom filter. The default value is 0.05, the minimum is 0, and the
--   maximum is 1.</li>
--   <li><a>osdDictionaryKeyThreshold</a> - Represents the fraction of the
--   total number of non-null rows. To turn off dictionary encoding, set
--   this fraction to a number that is less than the number of distinct
--   keys in a dictionary. To always use dictionary encoding, set this
--   threshold to 1.</li>
--   <li><a>osdEnablePadding</a> - Set this to <tt>true</tt> to indicate
--   that you want stripes to be padded to the HDFS block boundaries. This
--   is useful if you intend to copy the data from Amazon S3 to HDFS before
--   querying. The default is <tt>false</tt> .</li>
--   <li><a>osdCompression</a> - The compression code to use over data
--   blocks. The default is <tt>SNAPPY</tt> .</li>
--   <li><a>osdBloomFilterColumns</a> - The column names for which you want
--   Kinesis Data Firehose to create bloom filters. The default is
--   <tt>null</tt> .</li>
--   <li><a>osdRowIndexStride</a> - The number of rows between index
--   entries. The default is 10,000 and the minimum is 1,000.</li>
--   <li><a>osdFormatVersion</a> - The version of the file to write. The
--   possible values are <tt>V0_11</tt> and <tt>V0_12</tt> . The default is
--   <tt>V0_12</tt> .</li>
--   <li><a>osdBlockSizeBytes</a> - The Hadoop Distributed File System
--   (HDFS) block size. This is useful if you intend to copy the data from
--   Amazon S3 to HDFS before querying. The default is 256 MiB and the
--   minimum is 64 MiB. Kinesis Data Firehose uses this value for padding
--   calculations.</li>
--   <li><a>osdStripeSizeBytes</a> - The number of bytes in each stripe.
--   The default is 64 MiB and the minimum is 8 MiB.</li>
--   <li><a>osdPaddingTolerance</a> - A number between 0 and 1 that defines
--   the tolerance for block padding as a decimal fraction of stripe size.
--   The default value is 0.05, which means 5 percent of stripe size. For
--   the default values of 64 MiB ORC stripes and 256 MiB HDFS blocks, the
--   default block padding tolerance of 5 percent reserves a maximum of 3.2
--   MiB for padding within the 256 MiB block. In such a case, if the
--   available size within the block is more than 3.2 MiB, a new, smaller
--   stripe is inserted to fit within that space. This ensures that no
--   stripe crosses block boundaries and causes remote reads within a
--   node-local task. Kinesis Data Firehose ignores this parameter when
--   'OrcSerDe$EnablePadding' is <tt>false</tt> .</li>
--   </ul>
orcSerDe :: OrcSerDe

-- | The Bloom filter false positive probability (FPP). The lower the FPP,
--   the bigger the Bloom filter. The default value is 0.05, the minimum is
--   0, and the maximum is 1.
osdBloomFilterFalsePositiveProbability :: Lens' OrcSerDe (Maybe Double)

-- | Represents the fraction of the total number of non-null rows. To turn
--   off dictionary encoding, set this fraction to a number that is less
--   than the number of distinct keys in a dictionary. To always use
--   dictionary encoding, set this threshold to 1.
osdDictionaryKeyThreshold :: Lens' OrcSerDe (Maybe Double)

-- | Set this to <tt>true</tt> to indicate that you want stripes to be
--   padded to the HDFS block boundaries. This is useful if you intend to
--   copy the data from Amazon S3 to HDFS before querying. The default is
--   <tt>false</tt> .
osdEnablePadding :: Lens' OrcSerDe (Maybe Bool)

-- | The compression code to use over data blocks. The default is
--   <tt>SNAPPY</tt> .
osdCompression :: Lens' OrcSerDe (Maybe OrcCompression)

-- | The column names for which you want Kinesis Data Firehose to create
--   bloom filters. The default is <tt>null</tt> .
osdBloomFilterColumns :: Lens' OrcSerDe [Text]

-- | The number of rows between index entries. The default is 10,000 and
--   the minimum is 1,000.
osdRowIndexStride :: Lens' OrcSerDe (Maybe Natural)

-- | The version of the file to write. The possible values are
--   <tt>V0_11</tt> and <tt>V0_12</tt> . The default is <tt>V0_12</tt> .
osdFormatVersion :: Lens' OrcSerDe (Maybe OrcFormatVersion)

-- | The Hadoop Distributed File System (HDFS) block size. This is useful
--   if you intend to copy the data from Amazon S3 to HDFS before querying.
--   The default is 256 MiB and the minimum is 64 MiB. Kinesis Data
--   Firehose uses this value for padding calculations.
osdBlockSizeBytes :: Lens' OrcSerDe (Maybe Natural)

-- | The number of bytes in each stripe. The default is 64 MiB and the
--   minimum is 8 MiB.
osdStripeSizeBytes :: Lens' OrcSerDe (Maybe Natural)

-- | A number between 0 and 1 that defines the tolerance for block padding
--   as a decimal fraction of stripe size. The default value is 0.05, which
--   means 5 percent of stripe size. For the default values of 64 MiB ORC
--   stripes and 256 MiB HDFS blocks, the default block padding tolerance
--   of 5 percent reserves a maximum of 3.2 MiB for padding within the 256
--   MiB block. In such a case, if the available size within the block is
--   more than 3.2 MiB, a new, smaller stripe is inserted to fit within
--   that space. This ensures that no stripe crosses block boundaries and
--   causes remote reads within a node-local task. Kinesis Data Firehose
--   ignores this parameter when 'OrcSerDe$EnablePadding' is <tt>false</tt>
--   .
osdPaddingTolerance :: Lens' OrcSerDe (Maybe Double)

-- | Specifies the serializer that you want Kinesis Data Firehose to use to
--   convert the format of your data before it writes it to Amazon S3.
--   
--   <i>See:</i> <a>outputFormatConfiguration</a> smart constructor.
data OutputFormatConfiguration

-- | Creates a value of <a>OutputFormatConfiguration</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ofcSerializer</a> - Specifies which serializer to use. You can
--   choose either the ORC SerDe or the Parquet SerDe. If both are
--   non-null, the server rejects the request.</li>
--   </ul>
outputFormatConfiguration :: OutputFormatConfiguration

-- | Specifies which serializer to use. You can choose either the ORC SerDe
--   or the Parquet SerDe. If both are non-null, the server rejects the
--   request.
ofcSerializer :: Lens' OutputFormatConfiguration (Maybe Serializer)

-- | A serializer to use for converting data to the Parquet format before
--   storing it in Amazon S3. For more information, see <a>Apache
--   Parquet</a> .
--   
--   <i>See:</i> <a>parquetSerDe</a> smart constructor.
data ParquetSerDe

-- | Creates a value of <a>ParquetSerDe</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>psdWriterVersion</a> - Indicates the version of row format to
--   output. The possible values are <tt>V1</tt> and <tt>V2</tt> . The
--   default is <tt>V1</tt> .</li>
--   <li><a>psdCompression</a> - The compression code to use over data
--   blocks. The possible values are <tt>UNCOMPRESSED</tt> ,
--   <tt>SNAPPY</tt> , and <tt>GZIP</tt> , with the default being
--   <tt>SNAPPY</tt> . Use <tt>SNAPPY</tt> for higher decompression speed.
--   Use <tt>GZIP</tt> if the compression ration is more important than
--   speed.</li>
--   <li><a>psdMaxPaddingBytes</a> - The maximum amount of padding to
--   apply. This is useful if you intend to copy the data from Amazon S3 to
--   HDFS before querying. The default is 0.</li>
--   <li><a>psdEnableDictionaryCompression</a> - Indicates whether to
--   enable dictionary compression.</li>
--   <li><a>psdPageSizeBytes</a> - The Parquet page size. Column chunks are
--   divided into pages. A page is conceptually an indivisible unit (in
--   terms of compression and encoding). The minimum value is 64 KiB and
--   the default is 1 MiB.</li>
--   <li><a>psdBlockSizeBytes</a> - The Hadoop Distributed File System
--   (HDFS) block size. This is useful if you intend to copy the data from
--   Amazon S3 to HDFS before querying. The default is 256 MiB and the
--   minimum is 64 MiB. Kinesis Data Firehose uses this value for padding
--   calculations.</li>
--   </ul>
parquetSerDe :: ParquetSerDe

-- | Indicates the version of row format to output. The possible values are
--   <tt>V1</tt> and <tt>V2</tt> . The default is <tt>V1</tt> .
psdWriterVersion :: Lens' ParquetSerDe (Maybe ParquetWriterVersion)

-- | The compression code to use over data blocks. The possible values are
--   <tt>UNCOMPRESSED</tt> , <tt>SNAPPY</tt> , and <tt>GZIP</tt> , with the
--   default being <tt>SNAPPY</tt> . Use <tt>SNAPPY</tt> for higher
--   decompression speed. Use <tt>GZIP</tt> if the compression ration is
--   more important than speed.
psdCompression :: Lens' ParquetSerDe (Maybe ParquetCompression)

-- | The maximum amount of padding to apply. This is useful if you intend
--   to copy the data from Amazon S3 to HDFS before querying. The default
--   is 0.
psdMaxPaddingBytes :: Lens' ParquetSerDe (Maybe Natural)

-- | Indicates whether to enable dictionary compression.
psdEnableDictionaryCompression :: Lens' ParquetSerDe (Maybe Bool)

-- | The Parquet page size. Column chunks are divided into pages. A page is
--   conceptually an indivisible unit (in terms of compression and
--   encoding). The minimum value is 64 KiB and the default is 1 MiB.
psdPageSizeBytes :: Lens' ParquetSerDe (Maybe Natural)

-- | The Hadoop Distributed File System (HDFS) block size. This is useful
--   if you intend to copy the data from Amazon S3 to HDFS before querying.
--   The default is 256 MiB and the minimum is 64 MiB. Kinesis Data
--   Firehose uses this value for padding calculations.
psdBlockSizeBytes :: Lens' ParquetSerDe (Maybe Natural)

-- | Describes a data processing configuration.
--   
--   <i>See:</i> <a>processingConfiguration</a> smart constructor.
data ProcessingConfiguration

-- | Creates a value of <a>ProcessingConfiguration</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pcEnabled</a> - Enables or disables data processing.</li>
--   <li><a>pcProcessors</a> - The data processors.</li>
--   </ul>
processingConfiguration :: ProcessingConfiguration

-- | Enables or disables data processing.
pcEnabled :: Lens' ProcessingConfiguration (Maybe Bool)

-- | The data processors.
pcProcessors :: Lens' ProcessingConfiguration [Processor]

-- | Describes a data processor.
--   
--   <i>See:</i> <a>processor</a> smart constructor.
data Processor

-- | Creates a value of <a>Processor</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pParameters</a> - The processor parameters.</li>
--   <li><a>pType</a> - The type of processor.</li>
--   </ul>
processor :: ProcessorType -> Processor

-- | The processor parameters.
pParameters :: Lens' Processor [ProcessorParameter]

-- | The type of processor.
pType :: Lens' Processor ProcessorType

-- | Describes the processor parameter.
--   
--   <i>See:</i> <a>processorParameter</a> smart constructor.
data ProcessorParameter

-- | Creates a value of <a>ProcessorParameter</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ppParameterName</a> - The name of the parameter.</li>
--   <li><a>ppParameterValue</a> - The parameter value.</li>
--   </ul>
processorParameter :: ProcessorParameterName -> Text -> ProcessorParameter

-- | The name of the parameter.
ppParameterName :: Lens' ProcessorParameter ProcessorParameterName

-- | The parameter value.
ppParameterValue :: Lens' ProcessorParameter Text

-- | Contains the result for an individual record from a
--   <tt>PutRecordBatch</tt> request. If the record is successfully added
--   to your delivery stream, it receives a record ID. If the record fails
--   to be added to your delivery stream, the result includes an error code
--   and an error message.
--   
--   <i>See:</i> <a>putRecordBatchResponseEntry</a> smart constructor.
data PutRecordBatchResponseEntry

-- | Creates a value of <a>PutRecordBatchResponseEntry</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>prbreRecordId</a> - The ID of the record.</li>
--   <li><a>prbreErrorCode</a> - The error code for an individual record
--   result.</li>
--   <li><a>prbreErrorMessage</a> - The error message for an individual
--   record result.</li>
--   </ul>
putRecordBatchResponseEntry :: PutRecordBatchResponseEntry

-- | The ID of the record.
prbreRecordId :: Lens' PutRecordBatchResponseEntry (Maybe Text)

-- | The error code for an individual record result.
prbreErrorCode :: Lens' PutRecordBatchResponseEntry (Maybe Text)

-- | The error message for an individual record result.
prbreErrorMessage :: Lens' PutRecordBatchResponseEntry (Maybe Text)

-- | The unit of data in a delivery stream.
--   
--   <i>See:</i> <a>record</a> smart constructor.
data Record

-- | Creates a value of <a>Record</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rData</a> - The data blob, which is base64-encoded when the
--   blob is serialized. The maximum size of the data blob, before
--   base64-encoding, is 1,000 KB.-- <i>Note:</i> This <tt>Lens</tt>
--   automatically encodes and decodes Base64 data. The underlying
--   isomorphism will encode to Base64 representation during serialisation,
--   and decode from Base64 representation during deserialisation. This
--   <tt>Lens</tt> accepts and returns only raw unencoded data.</li>
--   </ul>
record :: ByteString -> Record

-- | The data blob, which is base64-encoded when the blob is serialized.
--   The maximum size of the data blob, before base64-encoding, is 1,000
--   KB.-- <i>Note:</i> This <tt>Lens</tt> automatically encodes and
--   decodes Base64 data. The underlying isomorphism will encode to Base64
--   representation during serialisation, and decode from Base64
--   representation during deserialisation. This <tt>Lens</tt> accepts and
--   returns only raw unencoded data.
rData :: Lens' Record ByteString

-- | Describes the configuration of a destination in Amazon Redshift.
--   
--   <i>See:</i> <a>redshiftDestinationConfiguration</a> smart constructor.
data RedshiftDestinationConfiguration

-- | Creates a value of <a>RedshiftDestinationConfiguration</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rdcS3BackupMode</a> - The Amazon S3 backup mode.</li>
--   <li><a>rdcCloudWatchLoggingOptions</a> - The CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>rdcS3BackupConfiguration</a> - The configuration for backup in
--   Amazon S3.</li>
--   <li><a>rdcRetryOptions</a> - The retry behavior in case Kinesis Data
--   Firehose is unable to deliver documents to Amazon Redshift. Default
--   value is 3600 (60 minutes).</li>
--   <li><a>rdcProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>rdcRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   <li><a>rdcClusterJDBCURL</a> - The database connection string.</li>
--   <li><a>rdcCopyCommand</a> - The <tt>COPY</tt> command.</li>
--   <li><a>rdcUsername</a> - The name of the user.</li>
--   <li><a>rdcPassword</a> - The user password.</li>
--   <li><a>rdcS3Configuration</a> - The configuration for the intermediate
--   Amazon S3 location from which Amazon Redshift obtains data.
--   Restrictions are described in the topic for
--   <tt>CreateDeliveryStream</tt> . The compression formats
--   <tt>SNAPPY</tt> or <tt>ZIP</tt> cannot be specified in
--   <tt>RedshiftDestinationConfiguration.S3Configuration</tt> because the
--   Amazon Redshift <tt>COPY</tt> operation that reads from the S3 bucket
--   doesn't support these compression formats.</li>
--   </ul>
redshiftDestinationConfiguration :: Text -> Text -> CopyCommand -> Text -> Text -> S3DestinationConfiguration -> RedshiftDestinationConfiguration

-- | The Amazon S3 backup mode.
rdcS3BackupMode :: Lens' RedshiftDestinationConfiguration (Maybe RedshiftS3BackupMode)

-- | The CloudWatch logging options for your delivery stream.
rdcCloudWatchLoggingOptions :: Lens' RedshiftDestinationConfiguration (Maybe CloudWatchLoggingOptions)

-- | The configuration for backup in Amazon S3.
rdcS3BackupConfiguration :: Lens' RedshiftDestinationConfiguration (Maybe S3DestinationConfiguration)

-- | The retry behavior in case Kinesis Data Firehose is unable to deliver
--   documents to Amazon Redshift. Default value is 3600 (60 minutes).
rdcRetryOptions :: Lens' RedshiftDestinationConfiguration (Maybe RedshiftRetryOptions)

-- | The data processing configuration.
rdcProcessingConfiguration :: Lens' RedshiftDestinationConfiguration (Maybe ProcessingConfiguration)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
rdcRoleARN :: Lens' RedshiftDestinationConfiguration Text

-- | The database connection string.
rdcClusterJDBCURL :: Lens' RedshiftDestinationConfiguration Text

-- | The <tt>COPY</tt> command.
rdcCopyCommand :: Lens' RedshiftDestinationConfiguration CopyCommand

-- | The name of the user.
rdcUsername :: Lens' RedshiftDestinationConfiguration Text

-- | The user password.
rdcPassword :: Lens' RedshiftDestinationConfiguration Text

-- | The configuration for the intermediate Amazon S3 location from which
--   Amazon Redshift obtains data. Restrictions are described in the topic
--   for <tt>CreateDeliveryStream</tt> . The compression formats
--   <tt>SNAPPY</tt> or <tt>ZIP</tt> cannot be specified in
--   <tt>RedshiftDestinationConfiguration.S3Configuration</tt> because the
--   Amazon Redshift <tt>COPY</tt> operation that reads from the S3 bucket
--   doesn't support these compression formats.
rdcS3Configuration :: Lens' RedshiftDestinationConfiguration S3DestinationConfiguration

-- | Describes a destination in Amazon Redshift.
--   
--   <i>See:</i> <a>redshiftDestinationDescription</a> smart constructor.
data RedshiftDestinationDescription

-- | Creates a value of <a>RedshiftDestinationDescription</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rddS3BackupMode</a> - The Amazon S3 backup mode.</li>
--   <li><a>rddS3BackupDescription</a> - The configuration for backup in
--   Amazon S3.</li>
--   <li><a>rddCloudWatchLoggingOptions</a> - The Amazon CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>rddRetryOptions</a> - The retry behavior in case Kinesis Data
--   Firehose is unable to deliver documents to Amazon Redshift. Default
--   value is 3600 (60 minutes).</li>
--   <li><a>rddProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>rddRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   <li><a>rddClusterJDBCURL</a> - The database connection string.</li>
--   <li><a>rddCopyCommand</a> - The <tt>COPY</tt> command.</li>
--   <li><a>rddUsername</a> - The name of the user.</li>
--   <li><a>rddS3DestinationDescription</a> - The Amazon S3
--   destination.</li>
--   </ul>
redshiftDestinationDescription :: Text -> Text -> CopyCommand -> Text -> S3DestinationDescription -> RedshiftDestinationDescription

-- | The Amazon S3 backup mode.
rddS3BackupMode :: Lens' RedshiftDestinationDescription (Maybe RedshiftS3BackupMode)

-- | The configuration for backup in Amazon S3.
rddS3BackupDescription :: Lens' RedshiftDestinationDescription (Maybe S3DestinationDescription)

-- | The Amazon CloudWatch logging options for your delivery stream.
rddCloudWatchLoggingOptions :: Lens' RedshiftDestinationDescription (Maybe CloudWatchLoggingOptions)

-- | The retry behavior in case Kinesis Data Firehose is unable to deliver
--   documents to Amazon Redshift. Default value is 3600 (60 minutes).
rddRetryOptions :: Lens' RedshiftDestinationDescription (Maybe RedshiftRetryOptions)

-- | The data processing configuration.
rddProcessingConfiguration :: Lens' RedshiftDestinationDescription (Maybe ProcessingConfiguration)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
rddRoleARN :: Lens' RedshiftDestinationDescription Text

-- | The database connection string.
rddClusterJDBCURL :: Lens' RedshiftDestinationDescription Text

-- | The <tt>COPY</tt> command.
rddCopyCommand :: Lens' RedshiftDestinationDescription CopyCommand

-- | The name of the user.
rddUsername :: Lens' RedshiftDestinationDescription Text

-- | The Amazon S3 destination.
rddS3DestinationDescription :: Lens' RedshiftDestinationDescription S3DestinationDescription

-- | Describes an update for a destination in Amazon Redshift.
--   
--   <i>See:</i> <a>redshiftDestinationUpdate</a> smart constructor.
data RedshiftDestinationUpdate

-- | Creates a value of <a>RedshiftDestinationUpdate</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rduS3BackupMode</a> - The Amazon S3 backup mode.</li>
--   <li><a>rduCloudWatchLoggingOptions</a> - The Amazon CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>rduUsername</a> - The name of the user.</li>
--   <li><a>rduS3Update</a> - The Amazon S3 destination. The compression
--   formats <tt>SNAPPY</tt> or <tt>ZIP</tt> cannot be specified in
--   <tt>RedshiftDestinationUpdate.S3Update</tt> because the Amazon
--   Redshift <tt>COPY</tt> operation that reads from the S3 bucket doesn't
--   support these compression formats.</li>
--   <li><a>rduPassword</a> - The user password.</li>
--   <li><a>rduS3BackupUpdate</a> - The Amazon S3 destination for
--   backup.</li>
--   <li><a>rduCopyCommand</a> - The <tt>COPY</tt> command.</li>
--   <li><a>rduRetryOptions</a> - The retry behavior in case Kinesis Data
--   Firehose is unable to deliver documents to Amazon Redshift. Default
--   value is 3600 (60 minutes).</li>
--   <li><a>rduProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>rduClusterJDBCURL</a> - The database connection string.</li>
--   <li><a>rduRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   </ul>
redshiftDestinationUpdate :: RedshiftDestinationUpdate

-- | The Amazon S3 backup mode.
rduS3BackupMode :: Lens' RedshiftDestinationUpdate (Maybe RedshiftS3BackupMode)

-- | The Amazon CloudWatch logging options for your delivery stream.
rduCloudWatchLoggingOptions :: Lens' RedshiftDestinationUpdate (Maybe CloudWatchLoggingOptions)

-- | The name of the user.
rduUsername :: Lens' RedshiftDestinationUpdate (Maybe Text)

-- | The Amazon S3 destination. The compression formats <tt>SNAPPY</tt> or
--   <tt>ZIP</tt> cannot be specified in
--   <tt>RedshiftDestinationUpdate.S3Update</tt> because the Amazon
--   Redshift <tt>COPY</tt> operation that reads from the S3 bucket doesn't
--   support these compression formats.
rduS3Update :: Lens' RedshiftDestinationUpdate (Maybe S3DestinationUpdate)

-- | The user password.
rduPassword :: Lens' RedshiftDestinationUpdate (Maybe Text)

-- | The Amazon S3 destination for backup.
rduS3BackupUpdate :: Lens' RedshiftDestinationUpdate (Maybe S3DestinationUpdate)

-- | The <tt>COPY</tt> command.
rduCopyCommand :: Lens' RedshiftDestinationUpdate (Maybe CopyCommand)

-- | The retry behavior in case Kinesis Data Firehose is unable to deliver
--   documents to Amazon Redshift. Default value is 3600 (60 minutes).
rduRetryOptions :: Lens' RedshiftDestinationUpdate (Maybe RedshiftRetryOptions)

-- | The data processing configuration.
rduProcessingConfiguration :: Lens' RedshiftDestinationUpdate (Maybe ProcessingConfiguration)

-- | The database connection string.
rduClusterJDBCURL :: Lens' RedshiftDestinationUpdate (Maybe Text)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
rduRoleARN :: Lens' RedshiftDestinationUpdate (Maybe Text)

-- | Configures retry behavior in case Kinesis Data Firehose is unable to
--   deliver documents to Amazon Redshift.
--   
--   <i>See:</i> <a>redshiftRetryOptions</a> smart constructor.
data RedshiftRetryOptions

-- | Creates a value of <a>RedshiftRetryOptions</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rroDurationInSeconds</a> - The length of time during which
--   Kinesis Data Firehose retries delivery after a failure, starting from
--   the initial request and including the first attempt. The default value
--   is 3600 seconds (60 minutes). Kinesis Data Firehose does not retry if
--   the value of <tt>DurationInSeconds</tt> is 0 (zero) or if the first
--   delivery attempt takes longer than the current value.</li>
--   </ul>
redshiftRetryOptions :: RedshiftRetryOptions

-- | The length of time during which Kinesis Data Firehose retries delivery
--   after a failure, starting from the initial request and including the
--   first attempt. The default value is 3600 seconds (60 minutes). Kinesis
--   Data Firehose does not retry if the value of
--   <tt>DurationInSeconds</tt> is 0 (zero) or if the first delivery
--   attempt takes longer than the current value.
rroDurationInSeconds :: Lens' RedshiftRetryOptions (Maybe Natural)

-- | Describes the configuration of a destination in Amazon S3.
--   
--   <i>See:</i> <a>s3DestinationConfiguration</a> smart constructor.
data S3DestinationConfiguration

-- | Creates a value of <a>S3DestinationConfiguration</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sdcPrefix</a> - The "YYYY<i>MM</i>DD<i>HH" time format prefix
--   is automatically used for delivered Amazon S3 files. You can specify
--   an extra prefix to be added in front of the time format prefix. If the
--   prefix ends with a slash, it appears as a folder in the S3 bucket. For
--   more information, see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .</li>
--   <li><a>sdcCloudWatchLoggingOptions</a> - The CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>sdcEncryptionConfiguration</a> - The encryption configuration.
--   If no value is specified, the default is no encryption.</li>
--   <li><a>sdcCompressionFormat</a> - The compression format. If no value
--   is specified, the default is <tt>UNCOMPRESSED</tt> . The compression
--   formats <tt>SNAPPY</tt> or <tt>ZIP</tt> cannot be specified for Amazon
--   Redshift destinations because they are not supported by the Amazon
--   Redshift <tt>COPY</tt> operation that reads from the S3 bucket.</li>
--   <li><a>sdcBufferingHints</a> - The buffering option. If no value is
--   specified, <tt>BufferingHints</tt> object default values are
--   used.</li>
--   <li><a>sdcRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   <li><a>sdcBucketARN</a> - The ARN of the S3 bucket. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   </ul>
s3DestinationConfiguration :: Text -> Text -> S3DestinationConfiguration

-- | The "YYYY<i>MM</i>DD<i>HH" time format prefix is automatically used
--   for delivered Amazon S3 files. You can specify an extra prefix to be
--   added in front of the time format prefix. If the prefix ends with a
--   slash, it appears as a folder in the S3 bucket. For more information,
--   see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .
sdcPrefix :: Lens' S3DestinationConfiguration (Maybe Text)

-- | The CloudWatch logging options for your delivery stream.
sdcCloudWatchLoggingOptions :: Lens' S3DestinationConfiguration (Maybe CloudWatchLoggingOptions)

-- | The encryption configuration. If no value is specified, the default is
--   no encryption.
sdcEncryptionConfiguration :: Lens' S3DestinationConfiguration (Maybe EncryptionConfiguration)

-- | The compression format. If no value is specified, the default is
--   <tt>UNCOMPRESSED</tt> . The compression formats <tt>SNAPPY</tt> or
--   <tt>ZIP</tt> cannot be specified for Amazon Redshift destinations
--   because they are not supported by the Amazon Redshift <tt>COPY</tt>
--   operation that reads from the S3 bucket.
sdcCompressionFormat :: Lens' S3DestinationConfiguration (Maybe CompressionFormat)

-- | The buffering option. If no value is specified,
--   <tt>BufferingHints</tt> object default values are used.
sdcBufferingHints :: Lens' S3DestinationConfiguration (Maybe BufferingHints)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
sdcRoleARN :: Lens' S3DestinationConfiguration Text

-- | The ARN of the S3 bucket. For more information, see <a>Amazon Resource
--   Names (ARNs) and AWS Service Namespaces</a> .
sdcBucketARN :: Lens' S3DestinationConfiguration Text

-- | Describes a destination in Amazon S3.
--   
--   <i>See:</i> <a>s3DestinationDescription</a> smart constructor.
data S3DestinationDescription

-- | Creates a value of <a>S3DestinationDescription</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>s3Prefix</a> - The "YYYY<i>MM</i>DD<i>HH" time format prefix is
--   automatically used for delivered Amazon S3 files. You can specify an
--   extra prefix to be added in front of the time format prefix. If the
--   prefix ends with a slash, it appears as a folder in the S3 bucket. For
--   more information, see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .</li>
--   <li><a>s3CloudWatchLoggingOptions</a> - The Amazon CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>s3RoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   <li><a>s3BucketARN</a> - The ARN of the S3 bucket. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   <li><a>s3BufferingHints</a> - The buffering option. If no value is
--   specified, <tt>BufferingHints</tt> object default values are
--   used.</li>
--   <li><a>s3CompressionFormat</a> - The compression format. If no value
--   is specified, the default is <tt>UNCOMPRESSED</tt> .</li>
--   <li><a>s3EncryptionConfiguration</a> - The encryption configuration.
--   If no value is specified, the default is no encryption.</li>
--   </ul>
s3DestinationDescription :: Text -> Text -> BufferingHints -> CompressionFormat -> EncryptionConfiguration -> S3DestinationDescription

-- | The "YYYY<i>MM</i>DD<i>HH" time format prefix is automatically used
--   for delivered Amazon S3 files. You can specify an extra prefix to be
--   added in front of the time format prefix. If the prefix ends with a
--   slash, it appears as a folder in the S3 bucket. For more information,
--   see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .
s3Prefix :: Lens' S3DestinationDescription (Maybe Text)

-- | The Amazon CloudWatch logging options for your delivery stream.
s3CloudWatchLoggingOptions :: Lens' S3DestinationDescription (Maybe CloudWatchLoggingOptions)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
s3RoleARN :: Lens' S3DestinationDescription Text

-- | The ARN of the S3 bucket. For more information, see <a>Amazon Resource
--   Names (ARNs) and AWS Service Namespaces</a> .
s3BucketARN :: Lens' S3DestinationDescription Text

-- | The buffering option. If no value is specified,
--   <tt>BufferingHints</tt> object default values are used.
s3BufferingHints :: Lens' S3DestinationDescription BufferingHints

-- | The compression format. If no value is specified, the default is
--   <tt>UNCOMPRESSED</tt> .
s3CompressionFormat :: Lens' S3DestinationDescription CompressionFormat

-- | The encryption configuration. If no value is specified, the default is
--   no encryption.
s3EncryptionConfiguration :: Lens' S3DestinationDescription EncryptionConfiguration

-- | Describes an update for a destination in Amazon S3.
--   
--   <i>See:</i> <a>s3DestinationUpdate</a> smart constructor.
data S3DestinationUpdate

-- | Creates a value of <a>S3DestinationUpdate</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sPrefix</a> - The "YYYY<i>MM</i>DD<i>HH" time format prefix is
--   automatically used for delivered Amazon S3 files. You can specify an
--   extra prefix to be added in front of the time format prefix. If the
--   prefix ends with a slash, it appears as a folder in the S3 bucket. For
--   more information, see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .</li>
--   <li><a>sCloudWatchLoggingOptions</a> - The CloudWatch logging options
--   for your delivery stream.</li>
--   <li><a>sEncryptionConfiguration</a> - The encryption configuration. If
--   no value is specified, the default is no encryption.</li>
--   <li><a>sCompressionFormat</a> - The compression format. If no value is
--   specified, the default is <tt>UNCOMPRESSED</tt> . The compression
--   formats <tt>SNAPPY</tt> or <tt>ZIP</tt> cannot be specified for Amazon
--   Redshift destinations because they are not supported by the Amazon
--   Redshift <tt>COPY</tt> operation that reads from the S3 bucket.</li>
--   <li><a>sBufferingHints</a> - The buffering option. If no value is
--   specified, <tt>BufferingHints</tt> object default values are
--   used.</li>
--   <li><a>sBucketARN</a> - The ARN of the S3 bucket. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .</li>
--   <li><a>sRoleARN</a> - The Amazon Resource Name (ARN) of the AWS
--   credentials. For more information, see <a>Amazon Resource Names (ARNs)
--   and AWS Service Namespaces</a> .</li>
--   </ul>
s3DestinationUpdate :: S3DestinationUpdate

-- | The "YYYY<i>MM</i>DD<i>HH" time format prefix is automatically used
--   for delivered Amazon S3 files. You can specify an extra prefix to be
--   added in front of the time format prefix. If the prefix ends with a
--   slash, it appears as a folder in the S3 bucket. For more information,
--   see
--   &lt;http:</i><i>docs.aws.amazon.com</i>firehose<i>latest</i>dev<i>basic-deliver.html#s3-object-name
--   Amazon S3 Object Name Format&gt; in the </i>Amazon Kinesis Data
--   Firehose Developer Guide/ .
sPrefix :: Lens' S3DestinationUpdate (Maybe Text)

-- | The CloudWatch logging options for your delivery stream.
sCloudWatchLoggingOptions :: Lens' S3DestinationUpdate (Maybe CloudWatchLoggingOptions)

-- | The encryption configuration. If no value is specified, the default is
--   no encryption.
sEncryptionConfiguration :: Lens' S3DestinationUpdate (Maybe EncryptionConfiguration)

-- | The compression format. If no value is specified, the default is
--   <tt>UNCOMPRESSED</tt> . The compression formats <tt>SNAPPY</tt> or
--   <tt>ZIP</tt> cannot be specified for Amazon Redshift destinations
--   because they are not supported by the Amazon Redshift <tt>COPY</tt>
--   operation that reads from the S3 bucket.
sCompressionFormat :: Lens' S3DestinationUpdate (Maybe CompressionFormat)

-- | The buffering option. If no value is specified,
--   <tt>BufferingHints</tt> object default values are used.
sBufferingHints :: Lens' S3DestinationUpdate (Maybe BufferingHints)

-- | The ARN of the S3 bucket. For more information, see <a>Amazon Resource
--   Names (ARNs) and AWS Service Namespaces</a> .
sBucketARN :: Lens' S3DestinationUpdate (Maybe Text)

-- | The Amazon Resource Name (ARN) of the AWS credentials. For more
--   information, see <a>Amazon Resource Names (ARNs) and AWS Service
--   Namespaces</a> .
sRoleARN :: Lens' S3DestinationUpdate (Maybe Text)

-- | Specifies the schema to which you want Kinesis Data Firehose to
--   configure your data before it writes it to Amazon S3.
--   
--   <i>See:</i> <a>schemaConfiguration</a> smart constructor.
data SchemaConfiguration

-- | Creates a value of <a>SchemaConfiguration</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>scVersionId</a> - Specifies the table version for the output
--   data schema. If you don't specify this version ID, or if you set it to
--   <tt>LATEST</tt> , Kinesis Data Firehose uses the most recent version.
--   This means that any updates to the table are automatically picked
--   up.</li>
--   <li><a>scCatalogId</a> - The ID of the AWS Glue Data Catalog. If you
--   don't supply this, the AWS account ID is used by default.</li>
--   <li><a>scDatabaseName</a> - Specifies the name of the AWS Glue
--   database that contains the schema for the output data.</li>
--   <li><a>scRegion</a> - If you don't specify an AWS Region, the default
--   is the current Region.</li>
--   <li><a>scTableName</a> - Specifies the AWS Glue table that contains
--   the column information that constitutes your data schema.</li>
--   <li><a>scRoleARN</a> - The role that Kinesis Data Firehose can use to
--   access AWS Glue. This role must be in the same account you use for
--   Kinesis Data Firehose. Cross-account roles aren't allowed.</li>
--   </ul>
schemaConfiguration :: SchemaConfiguration

-- | Specifies the table version for the output data schema. If you don't
--   specify this version ID, or if you set it to <tt>LATEST</tt> , Kinesis
--   Data Firehose uses the most recent version. This means that any
--   updates to the table are automatically picked up.
scVersionId :: Lens' SchemaConfiguration (Maybe Text)

-- | The ID of the AWS Glue Data Catalog. If you don't supply this, the AWS
--   account ID is used by default.
scCatalogId :: Lens' SchemaConfiguration (Maybe Text)

-- | Specifies the name of the AWS Glue database that contains the schema
--   for the output data.
scDatabaseName :: Lens' SchemaConfiguration (Maybe Text)

-- | If you don't specify an AWS Region, the default is the current Region.
scRegion :: Lens' SchemaConfiguration (Maybe Text)

-- | Specifies the AWS Glue table that contains the column information that
--   constitutes your data schema.
scTableName :: Lens' SchemaConfiguration (Maybe Text)

-- | The role that Kinesis Data Firehose can use to access AWS Glue. This
--   role must be in the same account you use for Kinesis Data Firehose.
--   Cross-account roles aren't allowed.
scRoleARN :: Lens' SchemaConfiguration (Maybe Text)

-- | The serializer that you want Kinesis Data Firehose to use to convert
--   data to the target format before writing it to Amazon S3. Kinesis Data
--   Firehose supports two types of serializers: the <a>ORC SerDe</a> and
--   the <a>Parquet SerDe</a> .
--   
--   <i>See:</i> <a>serializer</a> smart constructor.
data Serializer

-- | Creates a value of <a>Serializer</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sOrcSerDe</a> - A serializer to use for converting data to the
--   ORC format before storing it in Amazon S3. For more information, see
--   <a>Apache ORC</a> .</li>
--   <li><a>sParquetSerDe</a> - A serializer to use for converting data to
--   the Parquet format before storing it in Amazon S3. For more
--   information, see <a>Apache Parquet</a> .</li>
--   </ul>
serializer :: Serializer

-- | A serializer to use for converting data to the ORC format before
--   storing it in Amazon S3. For more information, see <a>Apache ORC</a> .
sOrcSerDe :: Lens' Serializer (Maybe OrcSerDe)

-- | A serializer to use for converting data to the Parquet format before
--   storing it in Amazon S3. For more information, see <a>Apache
--   Parquet</a> .
sParquetSerDe :: Lens' Serializer (Maybe ParquetSerDe)

-- | Details about a Kinesis data stream used as the source for a Kinesis
--   Data Firehose delivery stream.
--   
--   <i>See:</i> <a>sourceDescription</a> smart constructor.
data SourceDescription

-- | Creates a value of <a>SourceDescription</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sdKinesisStreamSourceDescription</a> - The
--   <a>KinesisStreamSourceDescription</a> value for the source Kinesis
--   data stream.</li>
--   </ul>
sourceDescription :: SourceDescription

-- | The <a>KinesisStreamSourceDescription</a> value for the source Kinesis
--   data stream.
sdKinesisStreamSourceDescription :: Lens' SourceDescription (Maybe KinesisStreamSourceDescription)

-- | Describes the configuration of a destination in Splunk.
--   
--   <i>See:</i> <a>splunkDestinationConfiguration</a> smart constructor.
data SplunkDestinationConfiguration

-- | Creates a value of <a>SplunkDestinationConfiguration</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>splS3BackupMode</a> - Defines how documents should be delivered
--   to Amazon S3. When set to <tt>FailedDocumentsOnly</tt> , Kinesis Data
--   Firehose writes any data that could not be indexed to the configured
--   Amazon S3 destination. When set to <tt>AllDocuments</tt> , Kinesis
--   Data Firehose delivers all incoming records to Amazon S3, and also
--   writes failed documents to Amazon S3. Default value is
--   <tt>FailedDocumentsOnly</tt> .</li>
--   <li><a>splCloudWatchLoggingOptions</a> - The Amazon CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>splHECAcknowledgmentTimeoutInSeconds</a> - The amount of time
--   that Kinesis Data Firehose waits to receive an acknowledgment from
--   Splunk after it sends it data. At the end of the timeout period,
--   Kinesis Data Firehose either tries to send the data again or considers
--   it an error, based on your retry settings.</li>
--   <li><a>splRetryOptions</a> - The retry behavior in case Kinesis Data
--   Firehose is unable to deliver data to Splunk, or if it doesn't receive
--   an acknowledgment of receipt from Splunk.</li>
--   <li><a>splProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   <li><a>splHECEndpoint</a> - The HTTP Event Collector (HEC) endpoint to
--   which Kinesis Data Firehose sends your data.</li>
--   <li><a>splHECEndpointType</a> - This type can be either <a>Raw</a> or
--   "Event."</li>
--   <li><a>splHECToken</a> - This is a GUID that you obtain from your
--   Splunk cluster when you create a new HEC endpoint.</li>
--   <li><a>splS3Configuration</a> - The configuration for the backup
--   Amazon S3 location.</li>
--   </ul>
splunkDestinationConfiguration :: Text -> HECEndpointType -> Text -> S3DestinationConfiguration -> SplunkDestinationConfiguration

-- | Defines how documents should be delivered to Amazon S3. When set to
--   <tt>FailedDocumentsOnly</tt> , Kinesis Data Firehose writes any data
--   that could not be indexed to the configured Amazon S3 destination.
--   When set to <tt>AllDocuments</tt> , Kinesis Data Firehose delivers all
--   incoming records to Amazon S3, and also writes failed documents to
--   Amazon S3. Default value is <tt>FailedDocumentsOnly</tt> .
splS3BackupMode :: Lens' SplunkDestinationConfiguration (Maybe SplunkS3BackupMode)

-- | The Amazon CloudWatch logging options for your delivery stream.
splCloudWatchLoggingOptions :: Lens' SplunkDestinationConfiguration (Maybe CloudWatchLoggingOptions)

-- | The amount of time that Kinesis Data Firehose waits to receive an
--   acknowledgment from Splunk after it sends it data. At the end of the
--   timeout period, Kinesis Data Firehose either tries to send the data
--   again or considers it an error, based on your retry settings.
splHECAcknowledgmentTimeoutInSeconds :: Lens' SplunkDestinationConfiguration (Maybe Natural)

-- | The retry behavior in case Kinesis Data Firehose is unable to deliver
--   data to Splunk, or if it doesn't receive an acknowledgment of receipt
--   from Splunk.
splRetryOptions :: Lens' SplunkDestinationConfiguration (Maybe SplunkRetryOptions)

-- | The data processing configuration.
splProcessingConfiguration :: Lens' SplunkDestinationConfiguration (Maybe ProcessingConfiguration)

-- | The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose
--   sends your data.
splHECEndpoint :: Lens' SplunkDestinationConfiguration Text

-- | This type can be either <a>Raw</a> or "Event."
splHECEndpointType :: Lens' SplunkDestinationConfiguration HECEndpointType

-- | This is a GUID that you obtain from your Splunk cluster when you
--   create a new HEC endpoint.
splHECToken :: Lens' SplunkDestinationConfiguration Text

-- | The configuration for the backup Amazon S3 location.
splS3Configuration :: Lens' SplunkDestinationConfiguration S3DestinationConfiguration

-- | Describes a destination in Splunk.
--   
--   <i>See:</i> <a>splunkDestinationDescription</a> smart constructor.
data SplunkDestinationDescription

-- | Creates a value of <a>SplunkDestinationDescription</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sddS3BackupMode</a> - Defines how documents should be delivered
--   to Amazon S3. When set to <tt>FailedDocumentsOnly</tt> , Kinesis Data
--   Firehose writes any data that could not be indexed to the configured
--   Amazon S3 destination. When set to <tt>AllDocuments</tt> , Kinesis
--   Data Firehose delivers all incoming records to Amazon S3, and also
--   writes failed documents to Amazon S3. Default value is
--   <tt>FailedDocumentsOnly</tt> .</li>
--   <li><a>sddHECToken</a> - A GUID you obtain from your Splunk cluster
--   when you create a new HEC endpoint.</li>
--   <li><a>sddHECEndpointType</a> - This type can be either <a>Raw</a> or
--   "Event."</li>
--   <li><a>sddCloudWatchLoggingOptions</a> - The Amazon CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>sddHECAcknowledgmentTimeoutInSeconds</a> - The amount of time
--   that Kinesis Data Firehose waits to receive an acknowledgment from
--   Splunk after it sends it data. At the end of the timeout period,
--   Kinesis Data Firehose either tries to send the data again or considers
--   it an error, based on your retry settings.</li>
--   <li><a>sddS3DestinationDescription</a> - The Amazon S3
--   destination.&gt;</li>
--   <li><a>sddHECEndpoint</a> - The HTTP Event Collector (HEC) endpoint to
--   which Kinesis Data Firehose sends your data.</li>
--   <li><a>sddRetryOptions</a> - The retry behavior in case Kinesis Data
--   Firehose is unable to deliver data to Splunk or if it doesn't receive
--   an acknowledgment of receipt from Splunk.</li>
--   <li><a>sddProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   </ul>
splunkDestinationDescription :: SplunkDestinationDescription

-- | Defines how documents should be delivered to Amazon S3. When set to
--   <tt>FailedDocumentsOnly</tt> , Kinesis Data Firehose writes any data
--   that could not be indexed to the configured Amazon S3 destination.
--   When set to <tt>AllDocuments</tt> , Kinesis Data Firehose delivers all
--   incoming records to Amazon S3, and also writes failed documents to
--   Amazon S3. Default value is <tt>FailedDocumentsOnly</tt> .
sddS3BackupMode :: Lens' SplunkDestinationDescription (Maybe SplunkS3BackupMode)

-- | A GUID you obtain from your Splunk cluster when you create a new HEC
--   endpoint.
sddHECToken :: Lens' SplunkDestinationDescription (Maybe Text)

-- | This type can be either <a>Raw</a> or "Event."
sddHECEndpointType :: Lens' SplunkDestinationDescription (Maybe HECEndpointType)

-- | The Amazon CloudWatch logging options for your delivery stream.
sddCloudWatchLoggingOptions :: Lens' SplunkDestinationDescription (Maybe CloudWatchLoggingOptions)

-- | The amount of time that Kinesis Data Firehose waits to receive an
--   acknowledgment from Splunk after it sends it data. At the end of the
--   timeout period, Kinesis Data Firehose either tries to send the data
--   again or considers it an error, based on your retry settings.
sddHECAcknowledgmentTimeoutInSeconds :: Lens' SplunkDestinationDescription (Maybe Natural)

-- | The Amazon S3 destination.&gt;
sddS3DestinationDescription :: Lens' SplunkDestinationDescription (Maybe S3DestinationDescription)

-- | The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose
--   sends your data.
sddHECEndpoint :: Lens' SplunkDestinationDescription (Maybe Text)

-- | The retry behavior in case Kinesis Data Firehose is unable to deliver
--   data to Splunk or if it doesn't receive an acknowledgment of receipt
--   from Splunk.
sddRetryOptions :: Lens' SplunkDestinationDescription (Maybe SplunkRetryOptions)

-- | The data processing configuration.
sddProcessingConfiguration :: Lens' SplunkDestinationDescription (Maybe ProcessingConfiguration)

-- | Describes an update for a destination in Splunk.
--   
--   <i>See:</i> <a>splunkDestinationUpdate</a> smart constructor.
data SplunkDestinationUpdate

-- | Creates a value of <a>SplunkDestinationUpdate</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sduS3BackupMode</a> - Defines how documents should be delivered
--   to Amazon S3. When set to <tt>FailedDocumentsOnly</tt> , Kinesis Data
--   Firehose writes any data that could not be indexed to the configured
--   Amazon S3 destination. When set to <tt>AllDocuments</tt> , Kinesis
--   Data Firehose delivers all incoming records to Amazon S3, and also
--   writes failed documents to Amazon S3. Default value is
--   <tt>FailedDocumentsOnly</tt> .</li>
--   <li><a>sduHECToken</a> - A GUID that you obtain from your Splunk
--   cluster when you create a new HEC endpoint.</li>
--   <li><a>sduHECEndpointType</a> - This type can be either <a>Raw</a> or
--   "Event."</li>
--   <li><a>sduCloudWatchLoggingOptions</a> - The Amazon CloudWatch logging
--   options for your delivery stream.</li>
--   <li><a>sduHECAcknowledgmentTimeoutInSeconds</a> - The amount of time
--   that Kinesis Data Firehose waits to receive an acknowledgment from
--   Splunk after it sends data. At the end of the timeout period, Kinesis
--   Data Firehose either tries to send the data again or considers it an
--   error, based on your retry settings.</li>
--   <li><a>sduS3Update</a> - Your update to the configuration of the
--   backup Amazon S3 location.</li>
--   <li><a>sduHECEndpoint</a> - The HTTP Event Collector (HEC) endpoint to
--   which Kinesis Data Firehose sends your data.</li>
--   <li><a>sduRetryOptions</a> - The retry behavior in case Kinesis Data
--   Firehose is unable to deliver data to Splunk or if it doesn't receive
--   an acknowledgment of receipt from Splunk.</li>
--   <li><a>sduProcessingConfiguration</a> - The data processing
--   configuration.</li>
--   </ul>
splunkDestinationUpdate :: SplunkDestinationUpdate

-- | Defines how documents should be delivered to Amazon S3. When set to
--   <tt>FailedDocumentsOnly</tt> , Kinesis Data Firehose writes any data
--   that could not be indexed to the configured Amazon S3 destination.
--   When set to <tt>AllDocuments</tt> , Kinesis Data Firehose delivers all
--   incoming records to Amazon S3, and also writes failed documents to
--   Amazon S3. Default value is <tt>FailedDocumentsOnly</tt> .
sduS3BackupMode :: Lens' SplunkDestinationUpdate (Maybe SplunkS3BackupMode)

-- | A GUID that you obtain from your Splunk cluster when you create a new
--   HEC endpoint.
sduHECToken :: Lens' SplunkDestinationUpdate (Maybe Text)

-- | This type can be either <a>Raw</a> or "Event."
sduHECEndpointType :: Lens' SplunkDestinationUpdate (Maybe HECEndpointType)

-- | The Amazon CloudWatch logging options for your delivery stream.
sduCloudWatchLoggingOptions :: Lens' SplunkDestinationUpdate (Maybe CloudWatchLoggingOptions)

-- | The amount of time that Kinesis Data Firehose waits to receive an
--   acknowledgment from Splunk after it sends data. At the end of the
--   timeout period, Kinesis Data Firehose either tries to send the data
--   again or considers it an error, based on your retry settings.
sduHECAcknowledgmentTimeoutInSeconds :: Lens' SplunkDestinationUpdate (Maybe Natural)

-- | Your update to the configuration of the backup Amazon S3 location.
sduS3Update :: Lens' SplunkDestinationUpdate (Maybe S3DestinationUpdate)

-- | The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose
--   sends your data.
sduHECEndpoint :: Lens' SplunkDestinationUpdate (Maybe Text)

-- | The retry behavior in case Kinesis Data Firehose is unable to deliver
--   data to Splunk or if it doesn't receive an acknowledgment of receipt
--   from Splunk.
sduRetryOptions :: Lens' SplunkDestinationUpdate (Maybe SplunkRetryOptions)

-- | The data processing configuration.
sduProcessingConfiguration :: Lens' SplunkDestinationUpdate (Maybe ProcessingConfiguration)

-- | Configures retry behavior in case Kinesis Data Firehose is unable to
--   deliver documents to Splunk, or if it doesn't receive an
--   acknowledgment from Splunk.
--   
--   <i>See:</i> <a>splunkRetryOptions</a> smart constructor.
data SplunkRetryOptions

-- | Creates a value of <a>SplunkRetryOptions</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sroDurationInSeconds</a> - The total amount of time that
--   Kinesis Data Firehose spends on retries. This duration starts after
--   the initial attempt to send data to Splunk fails. It doesn't include
--   the periods during which Kinesis Data Firehose waits for
--   acknowledgment from Splunk after each attempt.</li>
--   </ul>
splunkRetryOptions :: SplunkRetryOptions

-- | The total amount of time that Kinesis Data Firehose spends on retries.
--   This duration starts after the initial attempt to send data to Splunk
--   fails. It doesn't include the periods during which Kinesis Data
--   Firehose waits for acknowledgment from Splunk after each attempt.
sroDurationInSeconds :: Lens' SplunkRetryOptions (Maybe Natural)

-- | Metadata that you can assign to a delivery stream, consisting of a
--   key-value pair.
--   
--   <i>See:</i> <a>tag</a> smart constructor.
data Tag

-- | Creates a value of <a>Tag</a> with the minimum fields required to make
--   a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tagValue</a> - An optional string, which you can use to
--   describe or define the tag. Maximum length: 256 characters. Valid
--   characters: Unicode letters, digits, white space, _ . / = + - % @</li>
--   <li><a>tagKey</a> - A unique identifier for the tag. Maximum length:
--   128 characters. Valid characters: Unicode letters, digits, white
--   space, _ . / = + - % @</li>
--   </ul>
tag :: Text -> Tag

-- | An optional string, which you can use to describe or define the tag.
--   Maximum length: 256 characters. Valid characters: Unicode letters,
--   digits, white space, _ . / = + - % @
tagValue :: Lens' Tag (Maybe Text)

-- | A unique identifier for the tag. Maximum length: 128 characters. Valid
--   characters: Unicode letters, digits, white space, _ . / = + - % @
tagKey :: Lens' Tag Text
