Class: Aws::KinesisAnalyticsV2::Types::SqlApplicationConfigurationUpdate

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/types.rb

Overview

Note:

When making an API call, you may pass SqlApplicationConfigurationUpdate data as a hash:

{
  input_updates: [
    {
      input_id: "Id", # required
      name_prefix_update: "InAppStreamName",
      input_processing_configuration_update: {
        input_lambda_processor_update: { # required
          resource_arn_update: "ResourceARN", # required
        },
      },
      kinesis_streams_input_update: {
        resource_arn_update: "ResourceARN", # required
      },
      kinesis_firehose_input_update: {
        resource_arn_update: "ResourceARN", # required
      },
      input_schema_update: {
        record_format_update: {
          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_update: "RecordEncoding",
        record_column_updates: [
          {
            name: "RecordColumnName", # required
            mapping: "RecordColumnMapping",
            sql_type: "RecordColumnSqlType", # required
          },
        ],
      },
      input_parallelism_update: {
        count_update: 1, # required
      },
    },
  ],
  output_updates: [
    {
      output_id: "Id", # required
      name_update: "InAppStreamName",
      kinesis_streams_output_update: {
        resource_arn_update: "ResourceARN", # required
      },
      kinesis_firehose_output_update: {
        resource_arn_update: "ResourceARN", # required
      },
      lambda_output_update: {
        resource_arn_update: "ResourceARN", # required
      },
      destination_schema_update: {
        record_format_type: "JSON", # required, accepts JSON, CSV
      },
    },
  ],
  reference_data_source_updates: [
    {
      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
          },
        ],
      },
    },
  ],
}

Describes updates to the input streams, destination streams, and reference data sources for an SQL-based Kinesis Data Analytics application.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#input_updatesArray<Types::InputUpdate>

The array of InputUpdate objects describing the new input streams used by the application.

Returns:



5457
5458
5459
5460
5461
5462
5463
# File 'gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/types.rb', line 5457

class SqlApplicationConfigurationUpdate < Struct.new(
  :input_updates,
  :output_updates,
  :reference_data_source_updates)
  SENSITIVE = []
  include Aws::Structure
end

#output_updatesArray<Types::OutputUpdate>

The array of OutputUpdate objects describing the new destination streams used by the application.

Returns:



5457
5458
5459
5460
5461
5462
5463
# File 'gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/types.rb', line 5457

class SqlApplicationConfigurationUpdate < Struct.new(
  :input_updates,
  :output_updates,
  :reference_data_source_updates)
  SENSITIVE = []
  include Aws::Structure
end

#reference_data_source_updatesArray<Types::ReferenceDataSourceUpdate>

The array of ReferenceDataSourceUpdate objects describing the new reference data sources used by the application.



5457
5458
5459
5460
5461
5462
5463
# File 'gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/types.rb', line 5457

class SqlApplicationConfigurationUpdate < Struct.new(
  :input_updates,
  :output_updates,
  :reference_data_source_updates)
  SENSITIVE = []
  include Aws::Structure
end