libZSservicesZSamazonka-kinesis-firehoseZSamazonka-kinesis-firehose
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Firehose.Types.Deserializer

Description

 
Synopsis

Documentation

data Deserializer Source #

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 Serializer. Kinesis Data Firehose supports two types of deserializers: the Apache Hive JSON SerDe and the OpenX JSON SerDe.

See: newDeserializer smart constructor.

Constructors

Deserializer' 

Fields

  • openXJsonSerDe :: Maybe OpenXJsonSerDe

    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.

  • hiveJsonSerDe :: Maybe HiveJsonSerDe

    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.

Instances

Instances details
Eq Deserializer Source # 
Instance details

Defined in Amazonka.Firehose.Types.Deserializer

Read Deserializer Source # 
Instance details

Defined in Amazonka.Firehose.Types.Deserializer

Show Deserializer Source # 
Instance details

Defined in Amazonka.Firehose.Types.Deserializer

Generic Deserializer Source # 
Instance details

Defined in Amazonka.Firehose.Types.Deserializer

Associated Types

type Rep Deserializer :: Type -> Type #

NFData Deserializer Source # 
Instance details

Defined in Amazonka.Firehose.Types.Deserializer

Methods

rnf :: Deserializer -> () #

Hashable Deserializer Source # 
Instance details

Defined in Amazonka.Firehose.Types.Deserializer

ToJSON Deserializer Source # 
Instance details

Defined in Amazonka.Firehose.Types.Deserializer

FromJSON Deserializer Source # 
Instance details

Defined in Amazonka.Firehose.Types.Deserializer

type Rep Deserializer Source # 
Instance details

Defined in Amazonka.Firehose.Types.Deserializer

type Rep Deserializer = D1 ('MetaData "Deserializer" "Amazonka.Firehose.Types.Deserializer" "libZSservicesZSamazonka-kinesis-firehoseZSamazonka-kinesis-firehose" 'False) (C1 ('MetaCons "Deserializer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "openXJsonSerDe") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OpenXJsonSerDe)) :*: S1 ('MetaSel ('Just "hiveJsonSerDe") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HiveJsonSerDe))))

newDeserializer :: Deserializer Source #

Create a value of Deserializer with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:openXJsonSerDe:Deserializer', deserializer_openXJsonSerDe - 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.

$sel:hiveJsonSerDe:Deserializer', deserializer_hiveJsonSerDe - 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.

deserializer_openXJsonSerDe :: Lens' Deserializer (Maybe OpenXJsonSerDe) Source #

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.

deserializer_hiveJsonSerDe :: Lens' Deserializer (Maybe HiveJsonSerDe) Source #

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.