libZSservicesZSamazonka-kinesisanalyticsv2ZSamazonka-kinesisanalyticsv2
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.KinesisAnalyticsV2.Types.ReferenceDataSource

Description

 
Synopsis

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.

Constructors

ReferenceDataSource' 

Fields

  • s3ReferenceDataSource :: Maybe 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.

  • tableName :: Text

    The name of the in-application table to create.

  • referenceSchema :: SourceSchema

    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.

Instances

Instances details
Eq ReferenceDataSource Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.Types.ReferenceDataSource

Read ReferenceDataSource Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.Types.ReferenceDataSource

Show ReferenceDataSource Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.Types.ReferenceDataSource

Generic ReferenceDataSource Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.Types.ReferenceDataSource

Associated Types

type Rep ReferenceDataSource :: Type -> Type #

NFData ReferenceDataSource Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.Types.ReferenceDataSource

Methods

rnf :: ReferenceDataSource -> () #

Hashable ReferenceDataSource Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.Types.ReferenceDataSource

ToJSON ReferenceDataSource Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.Types.ReferenceDataSource

type Rep ReferenceDataSource Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.Types.ReferenceDataSource

type Rep ReferenceDataSource = D1 ('MetaData "ReferenceDataSource" "Amazonka.KinesisAnalyticsV2.Types.ReferenceDataSource" "libZSservicesZSamazonka-kinesisanalyticsv2ZSamazonka-kinesisanalyticsv2" 'False) (C1 ('MetaCons "ReferenceDataSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "s3ReferenceDataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3ReferenceDataSource)) :*: (S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "referenceSchema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SourceSchema))))

newReferenceDataSource Source #

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.