Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data SourceSchema = SourceSchema' {}
- newSourceSchema :: RecordFormat -> NonEmpty RecordColumn -> SourceSchema
- sourceSchema_recordEncoding :: Lens' SourceSchema (Maybe Text)
- sourceSchema_recordFormat :: Lens' SourceSchema RecordFormat
- sourceSchema_recordColumns :: Lens' SourceSchema (NonEmpty RecordColumn)
Documentation
data SourceSchema Source #
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
See: newSourceSchema
smart constructor.
SourceSchema' | |
|
Instances
Create a value of SourceSchema
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:recordEncoding:SourceSchema'
, sourceSchema_recordEncoding
- Specifies the encoding of the records in the streaming source. For
example, UTF-8.
$sel:recordFormat:SourceSchema'
, sourceSchema_recordFormat
- Specifies the format of the records on the streaming source.
$sel:recordColumns:SourceSchema'
, sourceSchema_recordColumns
- A list of RecordColumn
objects.
sourceSchema_recordEncoding :: Lens' SourceSchema (Maybe Text) Source #
Specifies the encoding of the records in the streaming source. For example, UTF-8.
sourceSchema_recordFormat :: Lens' SourceSchema RecordFormat Source #
Specifies the format of the records on the streaming source.
sourceSchema_recordColumns :: Lens' SourceSchema (NonEmpty RecordColumn) Source #
A list of RecordColumn
objects.