| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.KinesisAnalytics.Types.SourceSchema
Description
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.
Constructors
| SourceSchema' | |
Fields
| |
Instances
Arguments
| :: RecordFormat | |
| -> NonEmpty RecordColumn | |
| -> SourceSchema |
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.