class Aws::KinesisAnalyticsV2::Types::ReferenceDataSourceUpdate

When you update a reference data source configuration for a SQL-based Kinesis Data Analytics application, this object provides all the updated values (such as the source bucket name and object key name), the in-application table name that is created, and updated mapping information that maps the data in the Amazon S3 object to the in-application reference table that is created.

@note When making an API call, you may pass ReferenceDataSourceUpdate

data as a hash:

    {
      reference_id: "Id", # required
      table_name_update: "InAppTableName",
      s3_reference_data_source_update: {
        bucket_arn_update: "BucketARN",
        file_key_update: "FileKey",
      },
      reference_schema_update: {
        record_format: { # required
          record_format_type: "JSON", # required, accepts JSON, CSV
          mapping_parameters: {
            json_mapping_parameters: {
              record_row_path: "RecordRowPath", # required
            },
            csv_mapping_parameters: {
              record_row_delimiter: "RecordRowDelimiter", # required
              record_column_delimiter: "RecordColumnDelimiter", # required
            },
          },
        },
        record_encoding: "RecordEncoding",
        record_columns: [ # required
          {
            name: "RecordColumnName", # required
            mapping: "RecordColumnMapping",
            sql_type: "RecordColumnSqlType", # required
          },
        ],
      },
    }

@!attribute [rw] reference_id

The ID of the reference data source that is being updated. You can
use the DescribeApplication operation to get this value.
@return [String]

@!attribute [rw] table_name_update

The in-application table name that is created by this update.
@return [String]

@!attribute [rw] s3_reference_data_source_update

Describes the S3 bucket name, object key name, and IAM role that
Kinesis Data Analytics can assume to read the Amazon S3 object on
your behalf and populate the in-application reference table.
@return [Types::S3ReferenceDataSourceUpdate]

@!attribute [rw] reference_schema_update

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.
@return [Types::SourceSchema]

@see docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ReferenceDataSourceUpdate AWS API Documentation

Constants

SENSITIVE