{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Firehose.Types
(
defaultService,
_InvalidArgumentException,
_InvalidKMSResourceException,
_ConcurrentModificationException,
_ServiceUnavailableException,
_ResourceNotFoundException,
_LimitExceededException,
_ResourceInUseException,
AmazonopensearchserviceIndexRotationPeriod (..),
AmazonopensearchserviceS3BackupMode (..),
CompressionFormat (..),
ContentEncoding (..),
DeliveryStreamEncryptionStatus (..),
DeliveryStreamFailureType (..),
DeliveryStreamStatus (..),
DeliveryStreamType (..),
ElasticsearchIndexRotationPeriod (..),
ElasticsearchS3BackupMode (..),
HECEndpointType (..),
HttpEndpointS3BackupMode (..),
KeyType (..),
NoEncryptionConfig (..),
OrcCompression (..),
OrcFormatVersion (..),
ParquetCompression (..),
ParquetWriterVersion (..),
ProcessorParameterName (..),
ProcessorType (..),
RedshiftS3BackupMode (..),
S3BackupMode (..),
SplunkS3BackupMode (..),
AmazonopensearchserviceBufferingHints (..),
newAmazonopensearchserviceBufferingHints,
amazonopensearchserviceBufferingHints_sizeInMBs,
amazonopensearchserviceBufferingHints_intervalInSeconds,
AmazonopensearchserviceDestinationConfiguration (..),
newAmazonopensearchserviceDestinationConfiguration,
amazonopensearchserviceDestinationConfiguration_indexRotationPeriod,
amazonopensearchserviceDestinationConfiguration_typeName,
amazonopensearchserviceDestinationConfiguration_s3BackupMode,
amazonopensearchserviceDestinationConfiguration_domainARN,
amazonopensearchserviceDestinationConfiguration_cloudWatchLoggingOptions,
amazonopensearchserviceDestinationConfiguration_vpcConfiguration,
amazonopensearchserviceDestinationConfiguration_bufferingHints,
amazonopensearchserviceDestinationConfiguration_retryOptions,
amazonopensearchserviceDestinationConfiguration_processingConfiguration,
amazonopensearchserviceDestinationConfiguration_clusterEndpoint,
amazonopensearchserviceDestinationConfiguration_roleARN,
amazonopensearchserviceDestinationConfiguration_indexName,
amazonopensearchserviceDestinationConfiguration_s3Configuration,
AmazonopensearchserviceDestinationDescription (..),
newAmazonopensearchserviceDestinationDescription,
amazonopensearchserviceDestinationDescription_indexRotationPeriod,
amazonopensearchserviceDestinationDescription_typeName,
amazonopensearchserviceDestinationDescription_s3BackupMode,
amazonopensearchserviceDestinationDescription_domainARN,
amazonopensearchserviceDestinationDescription_vpcConfigurationDescription,
amazonopensearchserviceDestinationDescription_cloudWatchLoggingOptions,
amazonopensearchserviceDestinationDescription_s3DestinationDescription,
amazonopensearchserviceDestinationDescription_bufferingHints,
amazonopensearchserviceDestinationDescription_retryOptions,
amazonopensearchserviceDestinationDescription_processingConfiguration,
amazonopensearchserviceDestinationDescription_roleARN,
amazonopensearchserviceDestinationDescription_clusterEndpoint,
amazonopensearchserviceDestinationDescription_indexName,
AmazonopensearchserviceDestinationUpdate (..),
newAmazonopensearchserviceDestinationUpdate,
amazonopensearchserviceDestinationUpdate_indexRotationPeriod,
amazonopensearchserviceDestinationUpdate_typeName,
amazonopensearchserviceDestinationUpdate_domainARN,
amazonopensearchserviceDestinationUpdate_cloudWatchLoggingOptions,
amazonopensearchserviceDestinationUpdate_s3Update,
amazonopensearchserviceDestinationUpdate_bufferingHints,
amazonopensearchserviceDestinationUpdate_retryOptions,
amazonopensearchserviceDestinationUpdate_processingConfiguration,
amazonopensearchserviceDestinationUpdate_roleARN,
amazonopensearchserviceDestinationUpdate_clusterEndpoint,
amazonopensearchserviceDestinationUpdate_indexName,
AmazonopensearchserviceRetryOptions (..),
newAmazonopensearchserviceRetryOptions,
amazonopensearchserviceRetryOptions_durationInSeconds,
BufferingHints (..),
newBufferingHints,
bufferingHints_sizeInMBs,
bufferingHints_intervalInSeconds,
CloudWatchLoggingOptions (..),
newCloudWatchLoggingOptions,
cloudWatchLoggingOptions_enabled,
cloudWatchLoggingOptions_logGroupName,
cloudWatchLoggingOptions_logStreamName,
CopyCommand (..),
newCopyCommand,
copyCommand_copyOptions,
copyCommand_dataTableColumns,
copyCommand_dataTableName,
DataFormatConversionConfiguration (..),
newDataFormatConversionConfiguration,
dataFormatConversionConfiguration_outputFormatConfiguration,
dataFormatConversionConfiguration_enabled,
dataFormatConversionConfiguration_schemaConfiguration,
dataFormatConversionConfiguration_inputFormatConfiguration,
DeliveryStreamDescription (..),
newDeliveryStreamDescription,
deliveryStreamDescription_failureDescription,
deliveryStreamDescription_deliveryStreamEncryptionConfiguration,
deliveryStreamDescription_createTimestamp,
deliveryStreamDescription_source,
deliveryStreamDescription_lastUpdateTimestamp,
deliveryStreamDescription_deliveryStreamName,
deliveryStreamDescription_deliveryStreamARN,
deliveryStreamDescription_deliveryStreamStatus,
deliveryStreamDescription_deliveryStreamType,
deliveryStreamDescription_versionId,
deliveryStreamDescription_destinations,
deliveryStreamDescription_hasMoreDestinations,
DeliveryStreamEncryptionConfiguration (..),
newDeliveryStreamEncryptionConfiguration,
deliveryStreamEncryptionConfiguration_status,
deliveryStreamEncryptionConfiguration_keyType,
deliveryStreamEncryptionConfiguration_keyARN,
deliveryStreamEncryptionConfiguration_failureDescription,
DeliveryStreamEncryptionConfigurationInput (..),
newDeliveryStreamEncryptionConfigurationInput,
deliveryStreamEncryptionConfigurationInput_keyARN,
deliveryStreamEncryptionConfigurationInput_keyType,
Deserializer (..),
newDeserializer,
deserializer_openXJsonSerDe,
deserializer_hiveJsonSerDe,
DestinationDescription (..),
newDestinationDescription,
destinationDescription_splunkDestinationDescription,
destinationDescription_amazonopensearchserviceDestinationDescription,
destinationDescription_httpEndpointDestinationDescription,
destinationDescription_s3DestinationDescription,
destinationDescription_extendedS3DestinationDescription,
destinationDescription_elasticsearchDestinationDescription,
destinationDescription_redshiftDestinationDescription,
destinationDescription_destinationId,
DynamicPartitioningConfiguration (..),
newDynamicPartitioningConfiguration,
dynamicPartitioningConfiguration_enabled,
dynamicPartitioningConfiguration_retryOptions,
ElasticsearchBufferingHints (..),
newElasticsearchBufferingHints,
elasticsearchBufferingHints_sizeInMBs,
elasticsearchBufferingHints_intervalInSeconds,
ElasticsearchDestinationConfiguration (..),
newElasticsearchDestinationConfiguration,
elasticsearchDestinationConfiguration_indexRotationPeriod,
elasticsearchDestinationConfiguration_typeName,
elasticsearchDestinationConfiguration_s3BackupMode,
elasticsearchDestinationConfiguration_domainARN,
elasticsearchDestinationConfiguration_cloudWatchLoggingOptions,
elasticsearchDestinationConfiguration_vpcConfiguration,
elasticsearchDestinationConfiguration_bufferingHints,
elasticsearchDestinationConfiguration_retryOptions,
elasticsearchDestinationConfiguration_processingConfiguration,
elasticsearchDestinationConfiguration_clusterEndpoint,
elasticsearchDestinationConfiguration_roleARN,
elasticsearchDestinationConfiguration_indexName,
elasticsearchDestinationConfiguration_s3Configuration,
ElasticsearchDestinationDescription (..),
newElasticsearchDestinationDescription,
elasticsearchDestinationDescription_indexRotationPeriod,
elasticsearchDestinationDescription_typeName,
elasticsearchDestinationDescription_s3BackupMode,
elasticsearchDestinationDescription_domainARN,
elasticsearchDestinationDescription_vpcConfigurationDescription,
elasticsearchDestinationDescription_cloudWatchLoggingOptions,
elasticsearchDestinationDescription_s3DestinationDescription,
elasticsearchDestinationDescription_bufferingHints,
elasticsearchDestinationDescription_retryOptions,
elasticsearchDestinationDescription_processingConfiguration,
elasticsearchDestinationDescription_roleARN,
elasticsearchDestinationDescription_clusterEndpoint,
elasticsearchDestinationDescription_indexName,
ElasticsearchDestinationUpdate (..),
newElasticsearchDestinationUpdate,
elasticsearchDestinationUpdate_indexRotationPeriod,
elasticsearchDestinationUpdate_typeName,
elasticsearchDestinationUpdate_domainARN,
elasticsearchDestinationUpdate_cloudWatchLoggingOptions,
elasticsearchDestinationUpdate_s3Update,
elasticsearchDestinationUpdate_bufferingHints,
elasticsearchDestinationUpdate_retryOptions,
elasticsearchDestinationUpdate_processingConfiguration,
elasticsearchDestinationUpdate_roleARN,
elasticsearchDestinationUpdate_clusterEndpoint,
elasticsearchDestinationUpdate_indexName,
ElasticsearchRetryOptions (..),
newElasticsearchRetryOptions,
elasticsearchRetryOptions_durationInSeconds,
EncryptionConfiguration (..),
newEncryptionConfiguration,
encryptionConfiguration_noEncryptionConfig,
encryptionConfiguration_kmsEncryptionConfig,
ExtendedS3DestinationConfiguration (..),
newExtendedS3DestinationConfiguration,
extendedS3DestinationConfiguration_s3BackupMode,
extendedS3DestinationConfiguration_prefix,
extendedS3DestinationConfiguration_cloudWatchLoggingOptions,
extendedS3DestinationConfiguration_s3BackupConfiguration,
extendedS3DestinationConfiguration_errorOutputPrefix,
extendedS3DestinationConfiguration_encryptionConfiguration,
extendedS3DestinationConfiguration_dynamicPartitioningConfiguration,
extendedS3DestinationConfiguration_compressionFormat,
extendedS3DestinationConfiguration_bufferingHints,
extendedS3DestinationConfiguration_dataFormatConversionConfiguration,
extendedS3DestinationConfiguration_processingConfiguration,
extendedS3DestinationConfiguration_roleARN,
extendedS3DestinationConfiguration_bucketARN,
ExtendedS3DestinationDescription (..),
newExtendedS3DestinationDescription,
extendedS3DestinationDescription_s3BackupMode,
extendedS3DestinationDescription_s3BackupDescription,
extendedS3DestinationDescription_prefix,
extendedS3DestinationDescription_cloudWatchLoggingOptions,
extendedS3DestinationDescription_errorOutputPrefix,
extendedS3DestinationDescription_dynamicPartitioningConfiguration,
extendedS3DestinationDescription_dataFormatConversionConfiguration,
extendedS3DestinationDescription_processingConfiguration,
extendedS3DestinationDescription_roleARN,
extendedS3DestinationDescription_bucketARN,
extendedS3DestinationDescription_bufferingHints,
extendedS3DestinationDescription_compressionFormat,
extendedS3DestinationDescription_encryptionConfiguration,
ExtendedS3DestinationUpdate (..),
newExtendedS3DestinationUpdate,
extendedS3DestinationUpdate_s3BackupMode,
extendedS3DestinationUpdate_prefix,
extendedS3DestinationUpdate_cloudWatchLoggingOptions,
extendedS3DestinationUpdate_errorOutputPrefix,
extendedS3DestinationUpdate_s3BackupUpdate,
extendedS3DestinationUpdate_encryptionConfiguration,
extendedS3DestinationUpdate_dynamicPartitioningConfiguration,
extendedS3DestinationUpdate_compressionFormat,
extendedS3DestinationUpdate_bufferingHints,
extendedS3DestinationUpdate_dataFormatConversionConfiguration,
extendedS3DestinationUpdate_bucketARN,
extendedS3DestinationUpdate_processingConfiguration,
extendedS3DestinationUpdate_roleARN,
FailureDescription (..),
newFailureDescription,
failureDescription_type,
failureDescription_details,
HiveJsonSerDe (..),
newHiveJsonSerDe,
hiveJsonSerDe_timestampFormats,
HttpEndpointBufferingHints (..),
newHttpEndpointBufferingHints,
httpEndpointBufferingHints_sizeInMBs,
httpEndpointBufferingHints_intervalInSeconds,
HttpEndpointCommonAttribute (..),
newHttpEndpointCommonAttribute,
httpEndpointCommonAttribute_attributeName,
httpEndpointCommonAttribute_attributeValue,
HttpEndpointConfiguration (..),
newHttpEndpointConfiguration,
httpEndpointConfiguration_name,
httpEndpointConfiguration_accessKey,
httpEndpointConfiguration_url,
HttpEndpointDescription (..),
newHttpEndpointDescription,
httpEndpointDescription_url,
httpEndpointDescription_name,
HttpEndpointDestinationConfiguration (..),
newHttpEndpointDestinationConfiguration,
httpEndpointDestinationConfiguration_s3BackupMode,
httpEndpointDestinationConfiguration_cloudWatchLoggingOptions,
httpEndpointDestinationConfiguration_bufferingHints,
httpEndpointDestinationConfiguration_retryOptions,
httpEndpointDestinationConfiguration_processingConfiguration,
httpEndpointDestinationConfiguration_requestConfiguration,
httpEndpointDestinationConfiguration_roleARN,
httpEndpointDestinationConfiguration_endpointConfiguration,
httpEndpointDestinationConfiguration_s3Configuration,
HttpEndpointDestinationDescription (..),
newHttpEndpointDestinationDescription,
httpEndpointDestinationDescription_s3BackupMode,
httpEndpointDestinationDescription_cloudWatchLoggingOptions,
httpEndpointDestinationDescription_s3DestinationDescription,
httpEndpointDestinationDescription_bufferingHints,
httpEndpointDestinationDescription_retryOptions,
httpEndpointDestinationDescription_endpointConfiguration,
httpEndpointDestinationDescription_processingConfiguration,
httpEndpointDestinationDescription_requestConfiguration,
httpEndpointDestinationDescription_roleARN,
HttpEndpointDestinationUpdate (..),
newHttpEndpointDestinationUpdate,
httpEndpointDestinationUpdate_s3BackupMode,
httpEndpointDestinationUpdate_cloudWatchLoggingOptions,
httpEndpointDestinationUpdate_s3Update,
httpEndpointDestinationUpdate_bufferingHints,
httpEndpointDestinationUpdate_retryOptions,
httpEndpointDestinationUpdate_endpointConfiguration,
httpEndpointDestinationUpdate_processingConfiguration,
httpEndpointDestinationUpdate_requestConfiguration,
httpEndpointDestinationUpdate_roleARN,
HttpEndpointRequestConfiguration (..),
newHttpEndpointRequestConfiguration,
httpEndpointRequestConfiguration_commonAttributes,
httpEndpointRequestConfiguration_contentEncoding,
HttpEndpointRetryOptions (..),
newHttpEndpointRetryOptions,
httpEndpointRetryOptions_durationInSeconds,
InputFormatConfiguration (..),
newInputFormatConfiguration,
inputFormatConfiguration_deserializer,
KMSEncryptionConfig (..),
newKMSEncryptionConfig,
kmsEncryptionConfig_aWSKMSKeyARN,
KinesisStreamSourceConfiguration (..),
newKinesisStreamSourceConfiguration,
kinesisStreamSourceConfiguration_kinesisStreamARN,
kinesisStreamSourceConfiguration_roleARN,
KinesisStreamSourceDescription (..),
newKinesisStreamSourceDescription,
kinesisStreamSourceDescription_deliveryStartTimestamp,
kinesisStreamSourceDescription_kinesisStreamARN,
kinesisStreamSourceDescription_roleARN,
OpenXJsonSerDe (..),
newOpenXJsonSerDe,
openXJsonSerDe_columnToJsonKeyMappings,
openXJsonSerDe_caseInsensitive,
openXJsonSerDe_convertDotsInJsonKeysToUnderscores,
OrcSerDe (..),
newOrcSerDe,
orcSerDe_bloomFilterFalsePositiveProbability,
orcSerDe_dictionaryKeyThreshold,
orcSerDe_enablePadding,
orcSerDe_compression,
orcSerDe_bloomFilterColumns,
orcSerDe_rowIndexStride,
orcSerDe_formatVersion,
orcSerDe_blockSizeBytes,
orcSerDe_stripeSizeBytes,
orcSerDe_paddingTolerance,
OutputFormatConfiguration (..),
newOutputFormatConfiguration,
outputFormatConfiguration_serializer,
ParquetSerDe (..),
newParquetSerDe,
parquetSerDe_writerVersion,
parquetSerDe_compression,
parquetSerDe_maxPaddingBytes,
parquetSerDe_enableDictionaryCompression,
parquetSerDe_pageSizeBytes,
parquetSerDe_blockSizeBytes,
ProcessingConfiguration (..),
newProcessingConfiguration,
processingConfiguration_enabled,
processingConfiguration_processors,
Processor (..),
newProcessor,
processor_parameters,
processor_type,
ProcessorParameter (..),
newProcessorParameter,
processorParameter_parameterName,
processorParameter_parameterValue,
PutRecordBatchResponseEntry (..),
newPutRecordBatchResponseEntry,
putRecordBatchResponseEntry_recordId,
putRecordBatchResponseEntry_errorCode,
putRecordBatchResponseEntry_errorMessage,
Record (..),
newRecord,
record_data,
RedshiftDestinationConfiguration (..),
newRedshiftDestinationConfiguration,
redshiftDestinationConfiguration_s3BackupMode,
redshiftDestinationConfiguration_cloudWatchLoggingOptions,
redshiftDestinationConfiguration_s3BackupConfiguration,
redshiftDestinationConfiguration_retryOptions,
redshiftDestinationConfiguration_processingConfiguration,
redshiftDestinationConfiguration_roleARN,
redshiftDestinationConfiguration_clusterJDBCURL,
redshiftDestinationConfiguration_copyCommand,
redshiftDestinationConfiguration_username,
redshiftDestinationConfiguration_password,
redshiftDestinationConfiguration_s3Configuration,
RedshiftDestinationDescription (..),
newRedshiftDestinationDescription,
redshiftDestinationDescription_s3BackupMode,
redshiftDestinationDescription_s3BackupDescription,
redshiftDestinationDescription_cloudWatchLoggingOptions,
redshiftDestinationDescription_retryOptions,
redshiftDestinationDescription_processingConfiguration,
redshiftDestinationDescription_roleARN,
redshiftDestinationDescription_clusterJDBCURL,
redshiftDestinationDescription_copyCommand,
redshiftDestinationDescription_username,
redshiftDestinationDescription_s3DestinationDescription,
RedshiftDestinationUpdate (..),
newRedshiftDestinationUpdate,
redshiftDestinationUpdate_s3BackupMode,
redshiftDestinationUpdate_cloudWatchLoggingOptions,
redshiftDestinationUpdate_username,
redshiftDestinationUpdate_s3Update,
redshiftDestinationUpdate_password,
redshiftDestinationUpdate_s3BackupUpdate,
redshiftDestinationUpdate_copyCommand,
redshiftDestinationUpdate_retryOptions,
redshiftDestinationUpdate_processingConfiguration,
redshiftDestinationUpdate_clusterJDBCURL,
redshiftDestinationUpdate_roleARN,
RedshiftRetryOptions (..),
newRedshiftRetryOptions,
redshiftRetryOptions_durationInSeconds,
RetryOptions (..),
newRetryOptions,
retryOptions_durationInSeconds,
S3DestinationConfiguration (..),
newS3DestinationConfiguration,
s3DestinationConfiguration_prefix,
s3DestinationConfiguration_cloudWatchLoggingOptions,
s3DestinationConfiguration_errorOutputPrefix,
s3DestinationConfiguration_encryptionConfiguration,
s3DestinationConfiguration_compressionFormat,
s3DestinationConfiguration_bufferingHints,
s3DestinationConfiguration_roleARN,
s3DestinationConfiguration_bucketARN,
S3DestinationDescription (..),
newS3DestinationDescription,
s3DestinationDescription_prefix,
s3DestinationDescription_cloudWatchLoggingOptions,
s3DestinationDescription_errorOutputPrefix,
s3DestinationDescription_roleARN,
s3DestinationDescription_bucketARN,
s3DestinationDescription_bufferingHints,
s3DestinationDescription_compressionFormat,
s3DestinationDescription_encryptionConfiguration,
S3DestinationUpdate (..),
newS3DestinationUpdate,
s3DestinationUpdate_prefix,
s3DestinationUpdate_cloudWatchLoggingOptions,
s3DestinationUpdate_errorOutputPrefix,
s3DestinationUpdate_encryptionConfiguration,
s3DestinationUpdate_compressionFormat,
s3DestinationUpdate_bufferingHints,
s3DestinationUpdate_bucketARN,
s3DestinationUpdate_roleARN,
SchemaConfiguration (..),
newSchemaConfiguration,
schemaConfiguration_versionId,
schemaConfiguration_catalogId,
schemaConfiguration_databaseName,
schemaConfiguration_region,
schemaConfiguration_tableName,
schemaConfiguration_roleARN,
Serializer (..),
newSerializer,
serializer_orcSerDe,
serializer_parquetSerDe,
SourceDescription (..),
newSourceDescription,
sourceDescription_kinesisStreamSourceDescription,
SplunkDestinationConfiguration (..),
newSplunkDestinationConfiguration,
splunkDestinationConfiguration_s3BackupMode,
splunkDestinationConfiguration_cloudWatchLoggingOptions,
splunkDestinationConfiguration_hECAcknowledgmentTimeoutInSeconds,
splunkDestinationConfiguration_retryOptions,
splunkDestinationConfiguration_processingConfiguration,
splunkDestinationConfiguration_hECEndpoint,
splunkDestinationConfiguration_hECEndpointType,
splunkDestinationConfiguration_hECToken,
splunkDestinationConfiguration_s3Configuration,
SplunkDestinationDescription (..),
newSplunkDestinationDescription,
splunkDestinationDescription_s3BackupMode,
splunkDestinationDescription_hECToken,
splunkDestinationDescription_hECEndpointType,
splunkDestinationDescription_cloudWatchLoggingOptions,
splunkDestinationDescription_hECAcknowledgmentTimeoutInSeconds,
splunkDestinationDescription_s3DestinationDescription,
splunkDestinationDescription_hECEndpoint,
splunkDestinationDescription_retryOptions,
splunkDestinationDescription_processingConfiguration,
SplunkDestinationUpdate (..),
newSplunkDestinationUpdate,
splunkDestinationUpdate_s3BackupMode,
splunkDestinationUpdate_hECToken,
splunkDestinationUpdate_hECEndpointType,
splunkDestinationUpdate_cloudWatchLoggingOptions,
splunkDestinationUpdate_hECAcknowledgmentTimeoutInSeconds,
splunkDestinationUpdate_s3Update,
splunkDestinationUpdate_hECEndpoint,
splunkDestinationUpdate_retryOptions,
splunkDestinationUpdate_processingConfiguration,
SplunkRetryOptions (..),
newSplunkRetryOptions,
splunkRetryOptions_durationInSeconds,
Tag (..),
newTag,
tag_value,
tag_key,
VpcConfiguration (..),
newVpcConfiguration,
vpcConfiguration_subnetIds,
vpcConfiguration_roleARN,
vpcConfiguration_securityGroupIds,
VpcConfigurationDescription (..),
newVpcConfigurationDescription,
vpcConfigurationDescription_subnetIds,
vpcConfigurationDescription_roleARN,
vpcConfigurationDescription_securityGroupIds,
vpcConfigurationDescription_vpcId,
)
where
import qualified Amazonka.Core as Core
import Amazonka.Firehose.Types.AmazonopensearchserviceBufferingHints
import Amazonka.Firehose.Types.AmazonopensearchserviceDestinationConfiguration
import Amazonka.Firehose.Types.AmazonopensearchserviceDestinationDescription
import Amazonka.Firehose.Types.AmazonopensearchserviceDestinationUpdate
import Amazonka.Firehose.Types.AmazonopensearchserviceIndexRotationPeriod
import Amazonka.Firehose.Types.AmazonopensearchserviceRetryOptions
import Amazonka.Firehose.Types.AmazonopensearchserviceS3BackupMode
import Amazonka.Firehose.Types.BufferingHints
import Amazonka.Firehose.Types.CloudWatchLoggingOptions
import Amazonka.Firehose.Types.CompressionFormat
import Amazonka.Firehose.Types.ContentEncoding
import Amazonka.Firehose.Types.CopyCommand
import Amazonka.Firehose.Types.DataFormatConversionConfiguration
import Amazonka.Firehose.Types.DeliveryStreamDescription
import Amazonka.Firehose.Types.DeliveryStreamEncryptionConfiguration
import Amazonka.Firehose.Types.DeliveryStreamEncryptionConfigurationInput
import Amazonka.Firehose.Types.DeliveryStreamEncryptionStatus
import Amazonka.Firehose.Types.DeliveryStreamFailureType
import Amazonka.Firehose.Types.DeliveryStreamStatus
import Amazonka.Firehose.Types.DeliveryStreamType
import Amazonka.Firehose.Types.Deserializer
import Amazonka.Firehose.Types.DestinationDescription
import Amazonka.Firehose.Types.DynamicPartitioningConfiguration
import Amazonka.Firehose.Types.ElasticsearchBufferingHints
import Amazonka.Firehose.Types.ElasticsearchDestinationConfiguration
import Amazonka.Firehose.Types.ElasticsearchDestinationDescription
import Amazonka.Firehose.Types.ElasticsearchDestinationUpdate
import Amazonka.Firehose.Types.ElasticsearchIndexRotationPeriod
import Amazonka.Firehose.Types.ElasticsearchRetryOptions
import Amazonka.Firehose.Types.ElasticsearchS3BackupMode
import Amazonka.Firehose.Types.EncryptionConfiguration
import Amazonka.Firehose.Types.ExtendedS3DestinationConfiguration
import Amazonka.Firehose.Types.ExtendedS3DestinationDescription
import Amazonka.Firehose.Types.ExtendedS3DestinationUpdate
import Amazonka.Firehose.Types.FailureDescription
import Amazonka.Firehose.Types.HECEndpointType
import Amazonka.Firehose.Types.HiveJsonSerDe
import Amazonka.Firehose.Types.HttpEndpointBufferingHints
import Amazonka.Firehose.Types.HttpEndpointCommonAttribute
import Amazonka.Firehose.Types.HttpEndpointConfiguration
import Amazonka.Firehose.Types.HttpEndpointDescription
import Amazonka.Firehose.Types.HttpEndpointDestinationConfiguration
import Amazonka.Firehose.Types.HttpEndpointDestinationDescription
import Amazonka.Firehose.Types.HttpEndpointDestinationUpdate
import Amazonka.Firehose.Types.HttpEndpointRequestConfiguration
import Amazonka.Firehose.Types.HttpEndpointRetryOptions
import Amazonka.Firehose.Types.HttpEndpointS3BackupMode
import Amazonka.Firehose.Types.InputFormatConfiguration
import Amazonka.Firehose.Types.KMSEncryptionConfig
import Amazonka.Firehose.Types.KeyType
import Amazonka.Firehose.Types.KinesisStreamSourceConfiguration
import Amazonka.Firehose.Types.KinesisStreamSourceDescription
import Amazonka.Firehose.Types.NoEncryptionConfig
import Amazonka.Firehose.Types.OpenXJsonSerDe
import Amazonka.Firehose.Types.OrcCompression
import Amazonka.Firehose.Types.OrcFormatVersion
import Amazonka.Firehose.Types.OrcSerDe
import Amazonka.Firehose.Types.OutputFormatConfiguration
import Amazonka.Firehose.Types.ParquetCompression
import Amazonka.Firehose.Types.ParquetSerDe
import Amazonka.Firehose.Types.ParquetWriterVersion
import Amazonka.Firehose.Types.ProcessingConfiguration
import Amazonka.Firehose.Types.Processor
import Amazonka.Firehose.Types.ProcessorParameter
import Amazonka.Firehose.Types.ProcessorParameterName
import Amazonka.Firehose.Types.ProcessorType
import Amazonka.Firehose.Types.PutRecordBatchResponseEntry
import Amazonka.Firehose.Types.Record
import Amazonka.Firehose.Types.RedshiftDestinationConfiguration
import Amazonka.Firehose.Types.RedshiftDestinationDescription
import Amazonka.Firehose.Types.RedshiftDestinationUpdate
import Amazonka.Firehose.Types.RedshiftRetryOptions
import Amazonka.Firehose.Types.RedshiftS3BackupMode
import Amazonka.Firehose.Types.RetryOptions
import Amazonka.Firehose.Types.S3BackupMode
import Amazonka.Firehose.Types.S3DestinationConfiguration
import Amazonka.Firehose.Types.S3DestinationDescription
import Amazonka.Firehose.Types.S3DestinationUpdate
import Amazonka.Firehose.Types.SchemaConfiguration
import Amazonka.Firehose.Types.Serializer
import Amazonka.Firehose.Types.SourceDescription
import Amazonka.Firehose.Types.SplunkDestinationConfiguration
import Amazonka.Firehose.Types.SplunkDestinationDescription
import Amazonka.Firehose.Types.SplunkDestinationUpdate
import Amazonka.Firehose.Types.SplunkRetryOptions
import Amazonka.Firehose.Types.SplunkS3BackupMode
import Amazonka.Firehose.Types.Tag
import Amazonka.Firehose.Types.VpcConfiguration
import Amazonka.Firehose.Types.VpcConfigurationDescription
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Sign.V4 as Sign
defaultService :: Core.Service
defaultService :: Service
defaultService =
Service :: Abbrev
-> Signer
-> ByteString
-> ByteString
-> ByteString
-> (Region -> Endpoint)
-> Maybe Seconds
-> (Status -> Bool)
-> (Status -> [Header] -> ByteStringLazy -> Error)
-> Retry
-> Service
Core.Service
{ $sel:_serviceAbbrev:Service :: Abbrev
Core._serviceAbbrev = Abbrev
"Firehose",
$sel:_serviceSigner:Service :: Signer
Core._serviceSigner = Signer
Sign.v4,
$sel:_serviceEndpointPrefix:Service :: ByteString
Core._serviceEndpointPrefix = ByteString
"firehose",
$sel:_serviceSigningName:Service :: ByteString
Core._serviceSigningName = ByteString
"firehose",
$sel:_serviceVersion:Service :: ByteString
Core._serviceVersion = ByteString
"2015-08-04",
$sel:_serviceEndpoint:Service :: Region -> Endpoint
Core._serviceEndpoint =
Service -> Region -> Endpoint
Core.defaultEndpoint Service
defaultService,
$sel:_serviceTimeout:Service :: Maybe Seconds
Core._serviceTimeout = Seconds -> Maybe Seconds
forall a. a -> Maybe a
Prelude.Just Seconds
70,
$sel:_serviceCheck:Service :: Status -> Bool
Core._serviceCheck = Status -> Bool
Core.statusSuccess,
$sel:_serviceError:Service :: Status -> [Header] -> ByteStringLazy -> Error
Core._serviceError = Abbrev -> Status -> [Header] -> ByteStringLazy -> Error
Core.parseJSONError Abbrev
"Firehose",
$sel:_serviceRetry:Service :: Retry
Core._serviceRetry = Retry
retry
}
where
retry :: Retry
retry =
Exponential :: Double -> Int -> Int -> (ServiceError -> Maybe Text) -> Retry
Core.Exponential
{ $sel:_retryBase:Exponential :: Double
Core._retryBase = Double
5.0e-2,
$sel:_retryGrowth:Exponential :: Int
Core._retryGrowth = Int
2,
$sel:_retryAttempts:Exponential :: Int
Core._retryAttempts = Int
5,
$sel:_retryCheck:Exponential :: ServiceError -> Maybe Text
Core._retryCheck = ServiceError -> Maybe Text
forall a. IsString a => ServiceError -> Maybe a
check
}
check :: ServiceError -> Maybe a
check ServiceError
e
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottledException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throttled_exception"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"too_many_requests"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottlingException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throttling_exception"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"Throttling"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throttling"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode
ErrorCode
"ProvisionedThroughputExceededException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throughput_exceeded"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
504) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"gateway_timeout"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"RequestThrottledException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"request_throttled_exception"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
502) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"bad_gateway"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
503) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"service_unavailable"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"general_server_error"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
509) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"limit_exceeded"
| Bool
Prelude.otherwise = Maybe a
forall a. Maybe a
Prelude.Nothing
_InvalidArgumentException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidArgumentException :: Getting (First ServiceError) a ServiceError
_InvalidArgumentException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidArgumentException"
_InvalidKMSResourceException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidKMSResourceException :: Getting (First ServiceError) a ServiceError
_InvalidKMSResourceException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidKMSResourceException"
_ConcurrentModificationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ConcurrentModificationException :: Getting (First ServiceError) a ServiceError
_ConcurrentModificationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConcurrentModificationException"
_ServiceUnavailableException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ServiceUnavailableException :: Getting (First ServiceError) a ServiceError
_ServiceUnavailableException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ServiceUnavailableException"
_ResourceNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceNotFoundException :: Getting (First ServiceError) a ServiceError
_ResourceNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceNotFoundException"
_LimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_LimitExceededException :: Getting (First ServiceError) a ServiceError
_LimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"LimitExceededException"
_ResourceInUseException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceInUseException :: Getting (First ServiceError) a ServiceError
_ResourceInUseException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceInUseException"