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 ReferenceDataSource = ReferenceDataSource' {}
- newReferenceDataSource :: Text -> SourceSchema -> ReferenceDataSource
- referenceDataSource_s3ReferenceDataSource :: Lens' ReferenceDataSource (Maybe S3ReferenceDataSource)
- referenceDataSource_tableName :: Lens' ReferenceDataSource Text
- referenceDataSource_referenceSchema :: Lens' ReferenceDataSource SourceSchema
Documentation
data ReferenceDataSource Source #
For a SQL-based Kinesis Data Analytics application, describes the reference data source by providing the source information (Amazon S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table.
See: newReferenceDataSource
smart constructor.
ReferenceDataSource' | |
|
Instances
newReferenceDataSource Source #
:: Text | |
-> SourceSchema | |
-> ReferenceDataSource |
Create a value of ReferenceDataSource
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:s3ReferenceDataSource:ReferenceDataSource'
, referenceDataSource_s3ReferenceDataSource
- Identifies the S3 bucket and object that contains the reference data. A
Kinesis Data Analytics application loads reference data only once. If
the data changes, you call the UpdateApplication operation to trigger
reloading of data into your application.
$sel:tableName:ReferenceDataSource'
, referenceDataSource_tableName
- The name of the in-application table to create.
$sel:referenceSchema:ReferenceDataSource'
, referenceDataSource_referenceSchema
- 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.
referenceDataSource_s3ReferenceDataSource :: Lens' ReferenceDataSource (Maybe S3ReferenceDataSource) Source #
Identifies the S3 bucket and object that contains the reference data. A Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.
referenceDataSource_tableName :: Lens' ReferenceDataSource Text Source #
The name of the in-application table to create.
referenceDataSource_referenceSchema :: Lens' ReferenceDataSource 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.