You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::KinesisAnalyticsV2::Types::ApplicationConfigurationUpdate

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 ApplicationConfigurationUpdate data as a hash:

{
  sql_application_configuration_update: {
    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
            },
          ],
        },
      },
    ],
  },
  application_code_configuration_update: {
    code_content_type_update: "PLAINTEXT", # accepts PLAINTEXT, ZIPFILE
    code_content_update: {
      text_content_update: "TextContent",
      zip_file_content_update: "data",
      s3_content_location_update: {
        bucket_arn_update: "BucketARN",
        file_key_update: "FileKey",
        object_version_update: "ObjectVersion",
      },
    },
  },
  flink_application_configuration_update: {
    checkpoint_configuration_update: {
      configuration_type_update: "DEFAULT", # accepts DEFAULT, CUSTOM
      checkpointing_enabled_update: false,
      checkpoint_interval_update: 1,
      min_pause_between_checkpoints_update: 1,
    },
    monitoring_configuration_update: {
      configuration_type_update: "DEFAULT", # accepts DEFAULT, CUSTOM
      metrics_level_update: "APPLICATION", # accepts APPLICATION, TASK, OPERATOR, PARALLELISM
      log_level_update: "INFO", # accepts INFO, WARN, ERROR, DEBUG
    },
    parallelism_configuration_update: {
      configuration_type_update: "DEFAULT", # accepts DEFAULT, CUSTOM
      parallelism_update: 1,
      parallelism_per_kpu_update: 1,
      auto_scaling_enabled_update: false,
    },
  },
  environment_property_updates: {
    property_groups: [ # required
      {
        property_group_id: "Id", # required
        property_map: { # required
          "PropertyKey" => "PropertyValue",
        },
      },
    ],
  },
  application_snapshot_configuration_update: {
    snapshots_enabled_update: false, # required
  },
}

Describes updates to an application's configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#application_code_configuration_updateTypes::ApplicationCodeConfigurationUpdate

Describes updates to a Java-based Kinesis Data Analytics application's code configuration.



891
892
893
894
895
896
897
898
# File 'gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/types.rb', line 891

class ApplicationConfigurationUpdate < Struct.new(
  :sql_application_configuration_update,
  :application_code_configuration_update,
  :flink_application_configuration_update,
  :environment_property_updates,
  :application_snapshot_configuration_update)
  include Aws::Structure
end

#application_snapshot_configuration_updateTypes::ApplicationSnapshotConfigurationUpdate

Describes whether snapshots are enabled for a Java-based Kinesis Data Analytics application.



891
892
893
894
895
896
897
898
# File 'gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/types.rb', line 891

class ApplicationConfigurationUpdate < Struct.new(
  :sql_application_configuration_update,
  :application_code_configuration_update,
  :flink_application_configuration_update,
  :environment_property_updates,
  :application_snapshot_configuration_update)
  include Aws::Structure
end

#environment_property_updatesTypes::EnvironmentPropertyUpdates

Describes updates to the environment properties for a Java-based Kinesis Data Analytics application.



891
892
893
894
895
896
897
898
# File 'gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/types.rb', line 891

class ApplicationConfigurationUpdate < Struct.new(
  :sql_application_configuration_update,
  :application_code_configuration_update,
  :flink_application_configuration_update,
  :environment_property_updates,
  :application_snapshot_configuration_update)
  include Aws::Structure
end

Describes updates to a Java-based Kinesis Data Analytics application's configuration.



891
892
893
894
895
896
897
898
# File 'gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/types.rb', line 891

class ApplicationConfigurationUpdate < Struct.new(
  :sql_application_configuration_update,
  :application_code_configuration_update,
  :flink_application_configuration_update,
  :environment_property_updates,
  :application_snapshot_configuration_update)
  include Aws::Structure
end

#sql_application_configuration_updateTypes::SqlApplicationConfigurationUpdate

Describes updates to an SQL-based Kinesis Data Analytics application's configuration.



891
892
893
894
895
896
897
898
# File 'gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/types.rb', line 891

class ApplicationConfigurationUpdate < Struct.new(
  :sql_application_configuration_update,
  :application_code_configuration_update,
  :flink_application_configuration_update,
  :environment_property_updates,
  :application_snapshot_configuration_update)
  include Aws::Structure
end