You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::KinesisAnalyticsV2::Types::ReferenceDataSourceUpdate
- Inherits:
-
Struct
- Object
- Struct
- Aws::KinesisAnalyticsV2::Types::ReferenceDataSourceUpdate
- Defined in:
- (unknown)
Overview
When passing ReferenceDataSourceUpdate as input to an Aws::Client method, you can use a vanilla 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
},
],
},
}
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.
Instance Attribute Summary collapse
-
#reference_id ⇒ String
The ID of the reference data source that is being updated.
-
#reference_schema_update ⇒ Types::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.
-
#s3_reference_data_source_update ⇒ Types::S3ReferenceDataSourceUpdate
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.
-
#table_name_update ⇒ String
The in-application table name that is created by this update.
Instance Attribute Details
#reference_id ⇒ String
The ID of the reference data source that is being updated. You can use the DescribeApplication operation to get this value.
#reference_schema_update ⇒ Types::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.
#s3_reference_data_source_update ⇒ Types::S3ReferenceDataSourceUpdate
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.
#table_name_update ⇒ String
The in-application table name that is created by this update.