aws-sdk-kinesisanalytics 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 26be94c322fb7dd63759e916d56371d45f6da8d9
4
- data.tar.gz: 3a325f94d67f06a673af8d105dcbe3753b3cf728
3
+ metadata.gz: 3c5acc033aedfe646ed36949eb6efa689ffe3cf6
4
+ data.tar.gz: 16366834ed3a84fe095b83de1a7c2de9e7f741f5
5
5
  SHA512:
6
- metadata.gz: 4cf9b32e46d1f13e9e87d786c3abdde810194e80a5660537d0a1882d2ff556d80ce5d83e2dd8c4979575a37d4abb9c107de48388d9b6322251cb2416dc41e5c8
7
- data.tar.gz: fec2c0de2272ef3e1fd3ab06c790e0c2893a3b278dc8bee6f0c2efd71f3bcd288df46a1a84cc564186be6a16ceea8398afde4581bb0ca4fcf5ba31f890a67ed3
6
+ metadata.gz: fbe1c2b68d2ad48bdbf889b8899b0a5f9772b1034c6c3bdf9378069cf288768e0ed98ff046a16a6dada3971b7464ee240ccd274001168bd4f307139756c58385
7
+ data.tar.gz: 35e4c35e3317558d9b76c676abaab3d4a1a698e07e3a1e90073cf5d8ac288deef684f1c90fb73695b1e58c2a72ddd81a8b65e3ff2062d66e1d52ee4b02238376
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-kinesisanalytics/customizations'
42
42
  # @service
43
43
  module Aws::KinesisAnalytics
44
44
 
45
- GEM_VERSION = '1.0.0'
45
+ GEM_VERSION = '1.1.0'
46
46
 
47
47
  end
@@ -227,6 +227,7 @@ module Aws::KinesisAnalytics
227
227
  # version.
228
228
  #
229
229
  # @option params [required, Types::Input] :input
230
+ # The Input to add.
230
231
  #
231
232
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
232
233
  #
@@ -237,6 +238,12 @@ module Aws::KinesisAnalytics
237
238
  # current_application_version_id: 1, # required
238
239
  # input: { # required
239
240
  # name_prefix: "InAppStreamName", # required
241
+ # input_processing_configuration: {
242
+ # input_lambda_processor: { # required
243
+ # resource_arn: "ResourceARN", # required
244
+ # role_arn: "RoleARN", # required
245
+ # },
246
+ # },
240
247
  # kinesis_streams_input: {
241
248
  # resource_arn: "ResourceARN", # required
242
249
  # role_arn: "RoleARN", # required
@@ -282,6 +289,59 @@ module Aws::KinesisAnalytics
282
289
  req.send_request(options)
283
290
  end
284
291
 
292
+ # Adds an InputProcessingConfiguration to an application. An input
293
+ # processor preprocesses records on the input stream before the
294
+ # application's SQL code executes. Currently, the only input processor
295
+ # available is [AWS Lambda][1].
296
+ #
297
+ #
298
+ #
299
+ # [1]: https://aws.amazon.com/documentation/lambda/
300
+ #
301
+ # @option params [required, String] :application_name
302
+ # Name of the application to which you want to add the input processing
303
+ # configuration.
304
+ #
305
+ # @option params [required, Integer] :current_application_version_id
306
+ # Version of the application to which you want to add the input
307
+ # processing configuration. You can use the DescribeApplication
308
+ # operation to get the current application version. If the version
309
+ # specified is not the current version, the
310
+ # `ConcurrentModificationException` is returned.
311
+ #
312
+ # @option params [required, String] :input_id
313
+ # The ID of the input configuration to which to add the input
314
+ # configuration. You can get a list of the input IDs for an application
315
+ # using the DescribeApplication operation.
316
+ #
317
+ # @option params [required, Types::InputProcessingConfiguration] :input_processing_configuration
318
+ # The InputProcessingConfiguration to add to the application.
319
+ #
320
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
321
+ #
322
+ # @example Request syntax with placeholder values
323
+ #
324
+ # resp = client.add_application_input_processing_configuration({
325
+ # application_name: "ApplicationName", # required
326
+ # current_application_version_id: 1, # required
327
+ # input_id: "Id", # required
328
+ # input_processing_configuration: { # required
329
+ # input_lambda_processor: { # required
330
+ # resource_arn: "ResourceARN", # required
331
+ # role_arn: "RoleARN", # required
332
+ # },
333
+ # },
334
+ # })
335
+ #
336
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationInputProcessingConfiguration AWS API Documentation
337
+ #
338
+ # @overload add_application_input_processing_configuration(params = {})
339
+ # @param [Hash] params ({})
340
+ def add_application_input_processing_configuration(params = {}, options = {})
341
+ req = build_request(:add_application_input_processing_configuration, params)
342
+ req.send_request(options)
343
+ end
344
+
285
345
  # Adds an external destination to your Amazon Kinesis Analytics
286
346
  # application.
287
347
  #
@@ -571,6 +631,12 @@ module Aws::KinesisAnalytics
571
631
  # inputs: [
572
632
  # {
573
633
  # name_prefix: "InAppStreamName", # required
634
+ # input_processing_configuration: {
635
+ # input_lambda_processor: { # required
636
+ # resource_arn: "ResourceARN", # required
637
+ # role_arn: "RoleARN", # required
638
+ # },
639
+ # },
574
640
  # kinesis_streams_input: {
575
641
  # resource_arn: "ResourceARN", # required
576
642
  # role_arn: "RoleARN", # required
@@ -716,6 +782,38 @@ module Aws::KinesisAnalytics
716
782
  req.send_request(options)
717
783
  end
718
784
 
785
+ # Deletes an InputProcessingConfiguration from an input.
786
+ #
787
+ # @option params [required, String] :application_name
788
+ # The Kinesis Analytics application name.
789
+ #
790
+ # @option params [required, Integer] :current_application_version_id
791
+ # The version ID of the Kinesis Analytics application.
792
+ #
793
+ # @option params [required, String] :input_id
794
+ # The ID of the input configuration from which to delete the input
795
+ # configuration. You can get a list of the input IDs for an application
796
+ # using the DescribeApplication operation.
797
+ #
798
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
799
+ #
800
+ # @example Request syntax with placeholder values
801
+ #
802
+ # resp = client.delete_application_input_processing_configuration({
803
+ # application_name: "ApplicationName", # required
804
+ # current_application_version_id: 1, # required
805
+ # input_id: "Id", # required
806
+ # })
807
+ #
808
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationInputProcessingConfiguration AWS API Documentation
809
+ #
810
+ # @overload delete_application_input_processing_configuration(params = {})
811
+ # @param [Hash] params ({})
812
+ def delete_application_input_processing_configuration(params = {}, options = {})
813
+ req = build_request(:delete_application_input_processing_configuration, params)
814
+ req.send_request(options)
815
+ end
816
+
719
817
  # Deletes output destination configuration from your application
720
818
  # configuration. Amazon Kinesis Analytics will no longer write data from
721
819
  # the corresponding in-application stream to the external output
@@ -841,6 +939,8 @@ module Aws::KinesisAnalytics
841
939
  # resp.application_detail.input_descriptions[0].name_prefix #=> String
842
940
  # resp.application_detail.input_descriptions[0].in_app_stream_names #=> Array
843
941
  # resp.application_detail.input_descriptions[0].in_app_stream_names[0] #=> String
942
+ # resp.application_detail.input_descriptions[0].input_processing_configuration_description.input_lambda_processor_description.resource_arn #=> String
943
+ # resp.application_detail.input_descriptions[0].input_processing_configuration_description.input_lambda_processor_description.role_arn #=> String
844
944
  # resp.application_detail.input_descriptions[0].kinesis_streams_input_description.resource_arn #=> String
845
945
  # resp.application_detail.input_descriptions[0].kinesis_streams_input_description.role_arn #=> String
846
946
  # resp.application_detail.input_descriptions[0].kinesis_firehose_input_description.resource_arn #=> String
@@ -914,31 +1014,49 @@ module Aws::KinesisAnalytics
914
1014
  #
915
1015
  # [1]: http://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html
916
1016
  #
917
- # @option params [required, String] :resource_arn
1017
+ # @option params [String] :resource_arn
918
1018
  # Amazon Resource Name (ARN) of the streaming source.
919
1019
  #
920
- # @option params [required, String] :role_arn
1020
+ # @option params [String] :role_arn
921
1021
  # ARN of the IAM role that Amazon Kinesis Analytics can assume to access
922
1022
  # the stream on your behalf.
923
1023
  #
924
- # @option params [required, Types::InputStartingPositionConfiguration] :input_starting_position_configuration
1024
+ # @option params [Types::InputStartingPositionConfiguration] :input_starting_position_configuration
925
1025
  # Point at which you want Amazon Kinesis Analytics to start reading
926
1026
  # records from the specified streaming source discovery purposes.
927
1027
  #
1028
+ # @option params [Types::S3Configuration] :s3_configuration
1029
+ #
1030
+ # @option params [Types::InputProcessingConfiguration] :input_processing_configuration
1031
+ # The InputProcessingConfiguration to use to preprocess the records
1032
+ # before discovering the schema of the records.
1033
+ #
928
1034
  # @return [Types::DiscoverInputSchemaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
929
1035
  #
930
1036
  # * {Types::DiscoverInputSchemaResponse#input_schema #input_schema} => Types::SourceSchema
931
1037
  # * {Types::DiscoverInputSchemaResponse#parsed_input_records #parsed_input_records} => Array<Array<String>>
1038
+ # * {Types::DiscoverInputSchemaResponse#processed_input_records #processed_input_records} => Array<String>
932
1039
  # * {Types::DiscoverInputSchemaResponse#raw_input_records #raw_input_records} => Array<String>
933
1040
  #
934
1041
  # @example Request syntax with placeholder values
935
1042
  #
936
1043
  # resp = client.discover_input_schema({
937
- # resource_arn: "ResourceARN", # required
938
- # role_arn: "RoleARN", # required
939
- # input_starting_position_configuration: { # required
1044
+ # resource_arn: "ResourceARN",
1045
+ # role_arn: "RoleARN",
1046
+ # input_starting_position_configuration: {
940
1047
  # input_starting_position: "NOW", # accepts NOW, TRIM_HORIZON, LAST_STOPPED_POINT
941
1048
  # },
1049
+ # s3_configuration: {
1050
+ # role_arn: "RoleARN", # required
1051
+ # bucket_arn: "BucketARN", # required
1052
+ # file_key: "FileKey", # required
1053
+ # },
1054
+ # input_processing_configuration: {
1055
+ # input_lambda_processor: { # required
1056
+ # resource_arn: "ResourceARN", # required
1057
+ # role_arn: "RoleARN", # required
1058
+ # },
1059
+ # },
942
1060
  # })
943
1061
  #
944
1062
  # @example Response structure
@@ -955,6 +1073,8 @@ module Aws::KinesisAnalytics
955
1073
  # resp.parsed_input_records #=> Array
956
1074
  # resp.parsed_input_records[0] #=> Array
957
1075
  # resp.parsed_input_records[0][0] #=> String
1076
+ # resp.processed_input_records #=> Array
1077
+ # resp.processed_input_records[0] #=> String
958
1078
  # resp.raw_input_records #=> Array
959
1079
  # resp.raw_input_records[0] #=> String
960
1080
  #
@@ -1133,6 +1253,12 @@ module Aws::KinesisAnalytics
1133
1253
  # {
1134
1254
  # input_id: "Id", # required
1135
1255
  # name_prefix_update: "InAppStreamName",
1256
+ # input_processing_configuration_update: {
1257
+ # input_lambda_processor_update: { # required
1258
+ # resource_arn_update: "ResourceARN",
1259
+ # role_arn_update: "RoleARN",
1260
+ # },
1261
+ # },
1136
1262
  # kinesis_streams_input_update: {
1137
1263
  # resource_arn_update: "ResourceARN",
1138
1264
  # role_arn_update: "RoleARN",
@@ -1251,7 +1377,7 @@ module Aws::KinesisAnalytics
1251
1377
  params: params,
1252
1378
  config: config)
1253
1379
  context[:gem_name] = 'aws-sdk-kinesisanalytics'
1254
- context[:gem_version] = '1.0.0'
1380
+ context[:gem_version] = '1.1.0'
1255
1381
  Seahorse::Client::Request.new(handlers, context)
1256
1382
  end
1257
1383
 
@@ -13,6 +13,8 @@ module Aws::KinesisAnalytics
13
13
 
14
14
  AddApplicationCloudWatchLoggingOptionRequest = Shapes::StructureShape.new(name: 'AddApplicationCloudWatchLoggingOptionRequest')
15
15
  AddApplicationCloudWatchLoggingOptionResponse = Shapes::StructureShape.new(name: 'AddApplicationCloudWatchLoggingOptionResponse')
16
+ AddApplicationInputProcessingConfigurationRequest = Shapes::StructureShape.new(name: 'AddApplicationInputProcessingConfigurationRequest')
17
+ AddApplicationInputProcessingConfigurationResponse = Shapes::StructureShape.new(name: 'AddApplicationInputProcessingConfigurationResponse')
16
18
  AddApplicationInputRequest = Shapes::StructureShape.new(name: 'AddApplicationInputRequest')
17
19
  AddApplicationInputResponse = Shapes::StructureShape.new(name: 'AddApplicationInputResponse')
18
20
  AddApplicationOutputRequest = Shapes::StructureShape.new(name: 'AddApplicationOutputRequest')
@@ -43,6 +45,8 @@ module Aws::KinesisAnalytics
43
45
  CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
44
46
  DeleteApplicationCloudWatchLoggingOptionRequest = Shapes::StructureShape.new(name: 'DeleteApplicationCloudWatchLoggingOptionRequest')
45
47
  DeleteApplicationCloudWatchLoggingOptionResponse = Shapes::StructureShape.new(name: 'DeleteApplicationCloudWatchLoggingOptionResponse')
48
+ DeleteApplicationInputProcessingConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationInputProcessingConfigurationRequest')
49
+ DeleteApplicationInputProcessingConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteApplicationInputProcessingConfigurationResponse')
46
50
  DeleteApplicationOutputRequest = Shapes::StructureShape.new(name: 'DeleteApplicationOutputRequest')
47
51
  DeleteApplicationOutputResponse = Shapes::StructureShape.new(name: 'DeleteApplicationOutputResponse')
48
52
  DeleteApplicationReferenceDataSourceRequest = Shapes::StructureShape.new(name: 'DeleteApplicationReferenceDataSourceRequest')
@@ -65,9 +69,15 @@ module Aws::KinesisAnalytics
65
69
  InputConfigurations = Shapes::ListShape.new(name: 'InputConfigurations')
66
70
  InputDescription = Shapes::StructureShape.new(name: 'InputDescription')
67
71
  InputDescriptions = Shapes::ListShape.new(name: 'InputDescriptions')
72
+ InputLambdaProcessor = Shapes::StructureShape.new(name: 'InputLambdaProcessor')
73
+ InputLambdaProcessorDescription = Shapes::StructureShape.new(name: 'InputLambdaProcessorDescription')
74
+ InputLambdaProcessorUpdate = Shapes::StructureShape.new(name: 'InputLambdaProcessorUpdate')
68
75
  InputParallelism = Shapes::StructureShape.new(name: 'InputParallelism')
69
76
  InputParallelismCount = Shapes::IntegerShape.new(name: 'InputParallelismCount')
70
77
  InputParallelismUpdate = Shapes::StructureShape.new(name: 'InputParallelismUpdate')
78
+ InputProcessingConfiguration = Shapes::StructureShape.new(name: 'InputProcessingConfiguration')
79
+ InputProcessingConfigurationDescription = Shapes::StructureShape.new(name: 'InputProcessingConfigurationDescription')
80
+ InputProcessingConfigurationUpdate = Shapes::StructureShape.new(name: 'InputProcessingConfigurationUpdate')
71
81
  InputSchemaUpdate = Shapes::StructureShape.new(name: 'InputSchemaUpdate')
72
82
  InputStartingPosition = Shapes::StringShape.new(name: 'InputStartingPosition')
73
83
  InputStartingPositionConfiguration = Shapes::StructureShape.new(name: 'InputStartingPositionConfiguration')
@@ -104,6 +114,8 @@ module Aws::KinesisAnalytics
104
114
  ParsedInputRecord = Shapes::ListShape.new(name: 'ParsedInputRecord')
105
115
  ParsedInputRecordField = Shapes::StringShape.new(name: 'ParsedInputRecordField')
106
116
  ParsedInputRecords = Shapes::ListShape.new(name: 'ParsedInputRecords')
117
+ ProcessedInputRecord = Shapes::StringShape.new(name: 'ProcessedInputRecord')
118
+ ProcessedInputRecords = Shapes::ListShape.new(name: 'ProcessedInputRecords')
107
119
  RawInputRecord = Shapes::StringShape.new(name: 'RawInputRecord')
108
120
  RawInputRecords = Shapes::ListShape.new(name: 'RawInputRecords')
109
121
  RecordColumn = Shapes::StructureShape.new(name: 'RecordColumn')
@@ -127,6 +139,7 @@ module Aws::KinesisAnalytics
127
139
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
128
140
  ResourceProvisionedThroughputExceededException = Shapes::StructureShape.new(name: 'ResourceProvisionedThroughputExceededException')
129
141
  RoleARN = Shapes::StringShape.new(name: 'RoleARN')
142
+ S3Configuration = Shapes::StructureShape.new(name: 'S3Configuration')
130
143
  S3ReferenceDataSource = Shapes::StructureShape.new(name: 'S3ReferenceDataSource')
131
144
  S3ReferenceDataSourceDescription = Shapes::StructureShape.new(name: 'S3ReferenceDataSourceDescription')
132
145
  S3ReferenceDataSourceUpdate = Shapes::StructureShape.new(name: 'S3ReferenceDataSourceUpdate')
@@ -148,6 +161,14 @@ module Aws::KinesisAnalytics
148
161
 
149
162
  AddApplicationCloudWatchLoggingOptionResponse.struct_class = Types::AddApplicationCloudWatchLoggingOptionResponse
150
163
 
164
+ AddApplicationInputProcessingConfigurationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
165
+ AddApplicationInputProcessingConfigurationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "CurrentApplicationVersionId"))
166
+ AddApplicationInputProcessingConfigurationRequest.add_member(:input_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "InputId"))
167
+ AddApplicationInputProcessingConfigurationRequest.add_member(:input_processing_configuration, Shapes::ShapeRef.new(shape: InputProcessingConfiguration, required: true, location_name: "InputProcessingConfiguration"))
168
+ AddApplicationInputProcessingConfigurationRequest.struct_class = Types::AddApplicationInputProcessingConfigurationRequest
169
+
170
+ AddApplicationInputProcessingConfigurationResponse.struct_class = Types::AddApplicationInputProcessingConfigurationResponse
171
+
151
172
  AddApplicationInputRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
152
173
  AddApplicationInputRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "CurrentApplicationVersionId"))
153
174
  AddApplicationInputRequest.add_member(:input, Shapes::ShapeRef.new(shape: Input, required: true, location_name: "Input"))
@@ -239,6 +260,13 @@ module Aws::KinesisAnalytics
239
260
 
240
261
  DeleteApplicationCloudWatchLoggingOptionResponse.struct_class = Types::DeleteApplicationCloudWatchLoggingOptionResponse
241
262
 
263
+ DeleteApplicationInputProcessingConfigurationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
264
+ DeleteApplicationInputProcessingConfigurationRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "CurrentApplicationVersionId"))
265
+ DeleteApplicationInputProcessingConfigurationRequest.add_member(:input_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "InputId"))
266
+ DeleteApplicationInputProcessingConfigurationRequest.struct_class = Types::DeleteApplicationInputProcessingConfigurationRequest
267
+
268
+ DeleteApplicationInputProcessingConfigurationResponse.struct_class = Types::DeleteApplicationInputProcessingConfigurationResponse
269
+
242
270
  DeleteApplicationOutputRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName"))
243
271
  DeleteApplicationOutputRequest.add_member(:current_application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "CurrentApplicationVersionId"))
244
272
  DeleteApplicationOutputRequest.add_member(:output_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "OutputId"))
@@ -268,19 +296,23 @@ module Aws::KinesisAnalytics
268
296
  DestinationSchema.add_member(:record_format_type, Shapes::ShapeRef.new(shape: RecordFormatType, location_name: "RecordFormatType"))
269
297
  DestinationSchema.struct_class = Types::DestinationSchema
270
298
 
271
- DiscoverInputSchemaRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceARN"))
272
- DiscoverInputSchemaRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "RoleARN"))
273
- DiscoverInputSchemaRequest.add_member(:input_starting_position_configuration, Shapes::ShapeRef.new(shape: InputStartingPositionConfiguration, required: true, location_name: "InputStartingPositionConfiguration"))
299
+ DiscoverInputSchemaRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ResourceARN"))
300
+ DiscoverInputSchemaRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
301
+ DiscoverInputSchemaRequest.add_member(:input_starting_position_configuration, Shapes::ShapeRef.new(shape: InputStartingPositionConfiguration, location_name: "InputStartingPositionConfiguration"))
302
+ DiscoverInputSchemaRequest.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3Configuration, location_name: "S3Configuration"))
303
+ DiscoverInputSchemaRequest.add_member(:input_processing_configuration, Shapes::ShapeRef.new(shape: InputProcessingConfiguration, location_name: "InputProcessingConfiguration"))
274
304
  DiscoverInputSchemaRequest.struct_class = Types::DiscoverInputSchemaRequest
275
305
 
276
306
  DiscoverInputSchemaResponse.add_member(:input_schema, Shapes::ShapeRef.new(shape: SourceSchema, location_name: "InputSchema"))
277
307
  DiscoverInputSchemaResponse.add_member(:parsed_input_records, Shapes::ShapeRef.new(shape: ParsedInputRecords, location_name: "ParsedInputRecords"))
308
+ DiscoverInputSchemaResponse.add_member(:processed_input_records, Shapes::ShapeRef.new(shape: ProcessedInputRecords, location_name: "ProcessedInputRecords"))
278
309
  DiscoverInputSchemaResponse.add_member(:raw_input_records, Shapes::ShapeRef.new(shape: RawInputRecords, location_name: "RawInputRecords"))
279
310
  DiscoverInputSchemaResponse.struct_class = Types::DiscoverInputSchemaResponse
280
311
 
281
312
  InAppStreamNames.member = Shapes::ShapeRef.new(shape: InAppStreamName)
282
313
 
283
314
  Input.add_member(:name_prefix, Shapes::ShapeRef.new(shape: InAppStreamName, required: true, location_name: "NamePrefix"))
315
+ Input.add_member(:input_processing_configuration, Shapes::ShapeRef.new(shape: InputProcessingConfiguration, location_name: "InputProcessingConfiguration"))
284
316
  Input.add_member(:kinesis_streams_input, Shapes::ShapeRef.new(shape: KinesisStreamsInput, location_name: "KinesisStreamsInput"))
285
317
  Input.add_member(:kinesis_firehose_input, Shapes::ShapeRef.new(shape: KinesisFirehoseInput, location_name: "KinesisFirehoseInput"))
286
318
  Input.add_member(:input_parallelism, Shapes::ShapeRef.new(shape: InputParallelism, location_name: "InputParallelism"))
@@ -296,6 +328,7 @@ module Aws::KinesisAnalytics
296
328
  InputDescription.add_member(:input_id, Shapes::ShapeRef.new(shape: Id, location_name: "InputId"))
297
329
  InputDescription.add_member(:name_prefix, Shapes::ShapeRef.new(shape: InAppStreamName, location_name: "NamePrefix"))
298
330
  InputDescription.add_member(:in_app_stream_names, Shapes::ShapeRef.new(shape: InAppStreamNames, location_name: "InAppStreamNames"))
331
+ InputDescription.add_member(:input_processing_configuration_description, Shapes::ShapeRef.new(shape: InputProcessingConfigurationDescription, location_name: "InputProcessingConfigurationDescription"))
299
332
  InputDescription.add_member(:kinesis_streams_input_description, Shapes::ShapeRef.new(shape: KinesisStreamsInputDescription, location_name: "KinesisStreamsInputDescription"))
300
333
  InputDescription.add_member(:kinesis_firehose_input_description, Shapes::ShapeRef.new(shape: KinesisFirehoseInputDescription, location_name: "KinesisFirehoseInputDescription"))
301
334
  InputDescription.add_member(:input_schema, Shapes::ShapeRef.new(shape: SourceSchema, location_name: "InputSchema"))
@@ -305,12 +338,33 @@ module Aws::KinesisAnalytics
305
338
 
306
339
  InputDescriptions.member = Shapes::ShapeRef.new(shape: InputDescription)
307
340
 
341
+ InputLambdaProcessor.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceARN"))
342
+ InputLambdaProcessor.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "RoleARN"))
343
+ InputLambdaProcessor.struct_class = Types::InputLambdaProcessor
344
+
345
+ InputLambdaProcessorDescription.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ResourceARN"))
346
+ InputLambdaProcessorDescription.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
347
+ InputLambdaProcessorDescription.struct_class = Types::InputLambdaProcessorDescription
348
+
349
+ InputLambdaProcessorUpdate.add_member(:resource_arn_update, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ResourceARNUpdate"))
350
+ InputLambdaProcessorUpdate.add_member(:role_arn_update, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARNUpdate"))
351
+ InputLambdaProcessorUpdate.struct_class = Types::InputLambdaProcessorUpdate
352
+
308
353
  InputParallelism.add_member(:count, Shapes::ShapeRef.new(shape: InputParallelismCount, location_name: "Count"))
309
354
  InputParallelism.struct_class = Types::InputParallelism
310
355
 
311
356
  InputParallelismUpdate.add_member(:count_update, Shapes::ShapeRef.new(shape: InputParallelismCount, location_name: "CountUpdate"))
312
357
  InputParallelismUpdate.struct_class = Types::InputParallelismUpdate
313
358
 
359
+ InputProcessingConfiguration.add_member(:input_lambda_processor, Shapes::ShapeRef.new(shape: InputLambdaProcessor, required: true, location_name: "InputLambdaProcessor"))
360
+ InputProcessingConfiguration.struct_class = Types::InputProcessingConfiguration
361
+
362
+ InputProcessingConfigurationDescription.add_member(:input_lambda_processor_description, Shapes::ShapeRef.new(shape: InputLambdaProcessorDescription, location_name: "InputLambdaProcessorDescription"))
363
+ InputProcessingConfigurationDescription.struct_class = Types::InputProcessingConfigurationDescription
364
+
365
+ InputProcessingConfigurationUpdate.add_member(:input_lambda_processor_update, Shapes::ShapeRef.new(shape: InputLambdaProcessorUpdate, required: true, location_name: "InputLambdaProcessorUpdate"))
366
+ InputProcessingConfigurationUpdate.struct_class = Types::InputProcessingConfigurationUpdate
367
+
314
368
  InputSchemaUpdate.add_member(:record_format_update, Shapes::ShapeRef.new(shape: RecordFormat, location_name: "RecordFormatUpdate"))
315
369
  InputSchemaUpdate.add_member(:record_encoding_update, Shapes::ShapeRef.new(shape: RecordEncoding, location_name: "RecordEncodingUpdate"))
316
370
  InputSchemaUpdate.add_member(:record_column_updates, Shapes::ShapeRef.new(shape: RecordColumns, location_name: "RecordColumnUpdates"))
@@ -321,6 +375,7 @@ module Aws::KinesisAnalytics
321
375
 
322
376
  InputUpdate.add_member(:input_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "InputId"))
323
377
  InputUpdate.add_member(:name_prefix_update, Shapes::ShapeRef.new(shape: InAppStreamName, location_name: "NamePrefixUpdate"))
378
+ InputUpdate.add_member(:input_processing_configuration_update, Shapes::ShapeRef.new(shape: InputProcessingConfigurationUpdate, location_name: "InputProcessingConfigurationUpdate"))
324
379
  InputUpdate.add_member(:kinesis_streams_input_update, Shapes::ShapeRef.new(shape: KinesisStreamsInputUpdate, location_name: "KinesisStreamsInputUpdate"))
325
380
  InputUpdate.add_member(:kinesis_firehose_input_update, Shapes::ShapeRef.new(shape: KinesisFirehoseInputUpdate, location_name: "KinesisFirehoseInputUpdate"))
326
381
  InputUpdate.add_member(:input_schema_update, Shapes::ShapeRef.new(shape: InputSchemaUpdate, location_name: "InputSchemaUpdate"))
@@ -424,6 +479,8 @@ module Aws::KinesisAnalytics
424
479
 
425
480
  ParsedInputRecords.member = Shapes::ShapeRef.new(shape: ParsedInputRecord)
426
481
 
482
+ ProcessedInputRecords.member = Shapes::ShapeRef.new(shape: ProcessedInputRecord)
483
+
427
484
  RawInputRecords.member = Shapes::ShapeRef.new(shape: RawInputRecord)
428
485
 
429
486
  RecordColumn.add_member(:name, Shapes::ShapeRef.new(shape: RecordColumnName, required: true, location_name: "Name"))
@@ -458,6 +515,11 @@ module Aws::KinesisAnalytics
458
515
 
459
516
  ReferenceDataSourceUpdates.member = Shapes::ShapeRef.new(shape: ReferenceDataSourceUpdate)
460
517
 
518
+ S3Configuration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "RoleARN"))
519
+ S3Configuration.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: BucketARN, required: true, location_name: "BucketARN"))
520
+ S3Configuration.add_member(:file_key, Shapes::ShapeRef.new(shape: FileKey, required: true, location_name: "FileKey"))
521
+ S3Configuration.struct_class = Types::S3Configuration
522
+
461
523
  S3ReferenceDataSource.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: BucketARN, required: true, location_name: "BucketARN"))
462
524
  S3ReferenceDataSource.add_member(:file_key, Shapes::ShapeRef.new(shape: FileKey, required: true, location_name: "FileKey"))
463
525
  S3ReferenceDataSource.add_member(:reference_role_arn, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "ReferenceRoleARN"))
@@ -537,6 +599,18 @@ module Aws::KinesisAnalytics
537
599
  o.errors << Shapes::ShapeRef.new(shape: CodeValidationException)
538
600
  end)
539
601
 
602
+ api.add_operation(:add_application_input_processing_configuration, Seahorse::Model::Operation.new.tap do |o|
603
+ o.name = "AddApplicationInputProcessingConfiguration"
604
+ o.http_method = "POST"
605
+ o.http_request_uri = "/"
606
+ o.input = Shapes::ShapeRef.new(shape: AddApplicationInputProcessingConfigurationRequest)
607
+ o.output = Shapes::ShapeRef.new(shape: AddApplicationInputProcessingConfigurationResponse)
608
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
609
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
610
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
611
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
612
+ end)
613
+
540
614
  api.add_operation(:add_application_output, Seahorse::Model::Operation.new.tap do |o|
541
615
  o.name = "AddApplicationOutput"
542
616
  o.http_method = "POST"
@@ -596,6 +670,18 @@ module Aws::KinesisAnalytics
596
670
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
597
671
  end)
598
672
 
673
+ api.add_operation(:delete_application_input_processing_configuration, Seahorse::Model::Operation.new.tap do |o|
674
+ o.name = "DeleteApplicationInputProcessingConfiguration"
675
+ o.http_method = "POST"
676
+ o.http_request_uri = "/"
677
+ o.input = Shapes::ShapeRef.new(shape: DeleteApplicationInputProcessingConfigurationRequest)
678
+ o.output = Shapes::ShapeRef.new(shape: DeleteApplicationInputProcessingConfigurationResponse)
679
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
680
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
681
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
682
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
683
+ end)
684
+
599
685
  api.add_operation(:delete_application_output, Seahorse::Model::Operation.new.tap do |o|
600
686
  o.name = "DeleteApplicationOutput"
601
687
  o.http_method = "POST"
@@ -48,6 +48,58 @@ module Aws::KinesisAnalytics
48
48
  #
49
49
  class AddApplicationCloudWatchLoggingOptionResponse < Aws::EmptyStructure; end
50
50
 
51
+ # @note When making an API call, you may pass AddApplicationInputProcessingConfigurationRequest
52
+ # data as a hash:
53
+ #
54
+ # {
55
+ # application_name: "ApplicationName", # required
56
+ # current_application_version_id: 1, # required
57
+ # input_id: "Id", # required
58
+ # input_processing_configuration: { # required
59
+ # input_lambda_processor: { # required
60
+ # resource_arn: "ResourceARN", # required
61
+ # role_arn: "RoleARN", # required
62
+ # },
63
+ # },
64
+ # }
65
+ #
66
+ # @!attribute [rw] application_name
67
+ # Name of the application to which you want to add the input
68
+ # processing configuration.
69
+ # @return [String]
70
+ #
71
+ # @!attribute [rw] current_application_version_id
72
+ # Version of the application to which you want to add the input
73
+ # processing configuration. You can use the DescribeApplication
74
+ # operation to get the current application version. If the version
75
+ # specified is not the current version, the
76
+ # `ConcurrentModificationException` is returned.
77
+ # @return [Integer]
78
+ #
79
+ # @!attribute [rw] input_id
80
+ # The ID of the input configuration to which to add the input
81
+ # configuration. You can get a list of the input IDs for an
82
+ # application using the DescribeApplication operation.
83
+ # @return [String]
84
+ #
85
+ # @!attribute [rw] input_processing_configuration
86
+ # The InputProcessingConfiguration to add to the application.
87
+ # @return [Types::InputProcessingConfiguration]
88
+ #
89
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationInputProcessingConfigurationRequest AWS API Documentation
90
+ #
91
+ class AddApplicationInputProcessingConfigurationRequest < Struct.new(
92
+ :application_name,
93
+ :current_application_version_id,
94
+ :input_id,
95
+ :input_processing_configuration)
96
+ include Aws::Structure
97
+ end
98
+
99
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationInputProcessingConfigurationResponse AWS API Documentation
100
+ #
101
+ class AddApplicationInputProcessingConfigurationResponse < Aws::EmptyStructure; end
102
+
51
103
  # @note When making an API call, you may pass AddApplicationInputRequest
52
104
  # data as a hash:
53
105
  #
@@ -56,6 +108,12 @@ module Aws::KinesisAnalytics
56
108
  # current_application_version_id: 1, # required
57
109
  # input: { # required
58
110
  # name_prefix: "InAppStreamName", # required
111
+ # input_processing_configuration: {
112
+ # input_lambda_processor: { # required
113
+ # resource_arn: "ResourceARN", # required
114
+ # role_arn: "RoleARN", # required
115
+ # },
116
+ # },
59
117
  # kinesis_streams_input: {
60
118
  # resource_arn: "ResourceARN", # required
61
119
  # role_arn: "RoleARN", # required
@@ -104,6 +162,7 @@ module Aws::KinesisAnalytics
104
162
  # @return [Integer]
105
163
  #
106
164
  # @!attribute [rw] input
165
+ # The Input to add.
107
166
  # @return [Types::Input]
108
167
  #
109
168
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationInputRequest AWS API Documentation
@@ -374,6 +433,12 @@ module Aws::KinesisAnalytics
374
433
  # {
375
434
  # input_id: "Id", # required
376
435
  # name_prefix_update: "InAppStreamName",
436
+ # input_processing_configuration_update: {
437
+ # input_lambda_processor_update: { # required
438
+ # resource_arn_update: "ResourceARN",
439
+ # role_arn_update: "RoleARN",
440
+ # },
441
+ # },
377
442
  # kinesis_streams_input_update: {
378
443
  # resource_arn_update: "ResourceARN",
379
444
  # role_arn_update: "RoleARN",
@@ -634,6 +699,12 @@ module Aws::KinesisAnalytics
634
699
  # inputs: [
635
700
  # {
636
701
  # name_prefix: "InAppStreamName", # required
702
+ # input_processing_configuration: {
703
+ # input_lambda_processor: { # required
704
+ # resource_arn: "ResourceARN", # required
705
+ # role_arn: "RoleARN", # required
706
+ # },
707
+ # },
637
708
  # kinesis_streams_input: {
638
709
  # resource_arn: "ResourceARN", # required
639
710
  # role_arn: "RoleARN", # required
@@ -840,6 +911,42 @@ module Aws::KinesisAnalytics
840
911
  #
841
912
  class DeleteApplicationCloudWatchLoggingOptionResponse < Aws::EmptyStructure; end
842
913
 
914
+ # @note When making an API call, you may pass DeleteApplicationInputProcessingConfigurationRequest
915
+ # data as a hash:
916
+ #
917
+ # {
918
+ # application_name: "ApplicationName", # required
919
+ # current_application_version_id: 1, # required
920
+ # input_id: "Id", # required
921
+ # }
922
+ #
923
+ # @!attribute [rw] application_name
924
+ # The Kinesis Analytics application name.
925
+ # @return [String]
926
+ #
927
+ # @!attribute [rw] current_application_version_id
928
+ # The version ID of the Kinesis Analytics application.
929
+ # @return [Integer]
930
+ #
931
+ # @!attribute [rw] input_id
932
+ # The ID of the input configuration from which to delete the input
933
+ # configuration. You can get a list of the input IDs for an
934
+ # application using the DescribeApplication operation.
935
+ # @return [String]
936
+ #
937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationInputProcessingConfigurationRequest AWS API Documentation
938
+ #
939
+ class DeleteApplicationInputProcessingConfigurationRequest < Struct.new(
940
+ :application_name,
941
+ :current_application_version_id,
942
+ :input_id)
943
+ include Aws::Structure
944
+ end
945
+
946
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationInputProcessingConfigurationResponse AWS API Documentation
947
+ #
948
+ class DeleteApplicationInputProcessingConfigurationResponse < Aws::EmptyStructure; end
949
+
843
950
  # @note When making an API call, you may pass DeleteApplicationOutputRequest
844
951
  # data as a hash:
845
952
  #
@@ -1012,11 +1119,22 @@ module Aws::KinesisAnalytics
1012
1119
  # data as a hash:
1013
1120
  #
1014
1121
  # {
1015
- # resource_arn: "ResourceARN", # required
1016
- # role_arn: "RoleARN", # required
1017
- # input_starting_position_configuration: { # required
1122
+ # resource_arn: "ResourceARN",
1123
+ # role_arn: "RoleARN",
1124
+ # input_starting_position_configuration: {
1018
1125
  # input_starting_position: "NOW", # accepts NOW, TRIM_HORIZON, LAST_STOPPED_POINT
1019
1126
  # },
1127
+ # s3_configuration: {
1128
+ # role_arn: "RoleARN", # required
1129
+ # bucket_arn: "BucketARN", # required
1130
+ # file_key: "FileKey", # required
1131
+ # },
1132
+ # input_processing_configuration: {
1133
+ # input_lambda_processor: { # required
1134
+ # resource_arn: "ResourceARN", # required
1135
+ # role_arn: "RoleARN", # required
1136
+ # },
1137
+ # },
1020
1138
  # }
1021
1139
  #
1022
1140
  # @!attribute [rw] resource_arn
@@ -1033,12 +1151,22 @@ module Aws::KinesisAnalytics
1033
1151
  # records from the specified streaming source discovery purposes.
1034
1152
  # @return [Types::InputStartingPositionConfiguration]
1035
1153
  #
1154
+ # @!attribute [rw] s3_configuration
1155
+ # @return [Types::S3Configuration]
1156
+ #
1157
+ # @!attribute [rw] input_processing_configuration
1158
+ # The InputProcessingConfiguration to use to preprocess the records
1159
+ # before discovering the schema of the records.
1160
+ # @return [Types::InputProcessingConfiguration]
1161
+ #
1036
1162
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DiscoverInputSchemaRequest AWS API Documentation
1037
1163
  #
1038
1164
  class DiscoverInputSchemaRequest < Struct.new(
1039
1165
  :resource_arn,
1040
1166
  :role_arn,
1041
- :input_starting_position_configuration)
1167
+ :input_starting_position_configuration,
1168
+ :s3_configuration,
1169
+ :input_processing_configuration)
1042
1170
  include Aws::Structure
1043
1171
  end
1044
1172
 
@@ -1054,6 +1182,11 @@ module Aws::KinesisAnalytics
1054
1182
  # stream record (a stream record can have more than one row).
1055
1183
  # @return [Array<Array<String>>]
1056
1184
  #
1185
+ # @!attribute [rw] processed_input_records
1186
+ # Stream data that was modified by the processor specified in the
1187
+ # `InputProcessingConfiguration` parameter.
1188
+ # @return [Array<String>]
1189
+ #
1057
1190
  # @!attribute [rw] raw_input_records
1058
1191
  # Raw stream data that was sampled to infer the schema.
1059
1192
  # @return [Array<String>]
@@ -1063,6 +1196,7 @@ module Aws::KinesisAnalytics
1063
1196
  class DiscoverInputSchemaResponse < Struct.new(
1064
1197
  :input_schema,
1065
1198
  :parsed_input_records,
1199
+ :processed_input_records,
1066
1200
  :raw_input_records)
1067
1201
  include Aws::Structure
1068
1202
  end
@@ -1081,6 +1215,12 @@ module Aws::KinesisAnalytics
1081
1215
  #
1082
1216
  # {
1083
1217
  # name_prefix: "InAppStreamName", # required
1218
+ # input_processing_configuration: {
1219
+ # input_lambda_processor: { # required
1220
+ # resource_arn: "ResourceARN", # required
1221
+ # role_arn: "RoleARN", # required
1222
+ # },
1223
+ # },
1084
1224
  # kinesis_streams_input: {
1085
1225
  # resource_arn: "ResourceARN", # required
1086
1226
  # role_arn: "RoleARN", # required
@@ -1125,6 +1265,13 @@ module Aws::KinesisAnalytics
1125
1265
  # so on.
1126
1266
  # @return [String]
1127
1267
  #
1268
+ # @!attribute [rw] input_processing_configuration
1269
+ # The InputProcessingConfiguration for the Input. An input processor
1270
+ # transforms records as they are received from the stream, before the
1271
+ # application's SQL code executes. Currently, the only input
1272
+ # processing configuration available is InputLambdaProcessor.
1273
+ # @return [Types::InputProcessingConfiguration]
1274
+ #
1128
1275
  # @!attribute [rw] kinesis_streams_input
1129
1276
  # If the streaming source is an Amazon Kinesis stream, identifies the
1130
1277
  # stream's Amazon Resource Name (ARN) and an IAM role that enables
@@ -1169,6 +1316,7 @@ module Aws::KinesisAnalytics
1169
1316
  #
1170
1317
  class Input < Struct.new(
1171
1318
  :name_prefix,
1319
+ :input_processing_configuration,
1172
1320
  :kinesis_streams_input,
1173
1321
  :kinesis_firehose_input,
1174
1322
  :input_parallelism,
@@ -1230,6 +1378,11 @@ module Aws::KinesisAnalytics
1230
1378
  # stream source.
1231
1379
  # @return [Array<String>]
1232
1380
  #
1381
+ # @!attribute [rw] input_processing_configuration_description
1382
+ # The description of the preprocessor that executes on records in this
1383
+ # input before the application's code is run.
1384
+ # @return [Types::InputProcessingConfigurationDescription]
1385
+ #
1233
1386
  # @!attribute [rw] kinesis_streams_input_description
1234
1387
  # If an Amazon Kinesis stream is configured as streaming source,
1235
1388
  # provides Amazon Kinesis stream's ARN and an IAM role that enables
@@ -1245,8 +1398,8 @@ module Aws::KinesisAnalytics
1245
1398
  #
1246
1399
  # @!attribute [rw] input_schema
1247
1400
  # Describes the format of the data in the streaming source, and how
1248
- # each data element maps to corresponding columns created in the
1249
- # in-application stream.
1401
+ # each data element maps to corresponding columns in the
1402
+ # in-application stream that is being created.
1250
1403
  # @return [Types::SourceSchema]
1251
1404
  #
1252
1405
  # @!attribute [rw] input_parallelism
@@ -1265,6 +1418,7 @@ module Aws::KinesisAnalytics
1265
1418
  :input_id,
1266
1419
  :name_prefix,
1267
1420
  :in_app_stream_names,
1421
+ :input_processing_configuration_description,
1268
1422
  :kinesis_streams_input_description,
1269
1423
  :kinesis_firehose_input_description,
1270
1424
  :input_schema,
@@ -1273,6 +1427,104 @@ module Aws::KinesisAnalytics
1273
1427
  include Aws::Structure
1274
1428
  end
1275
1429
 
1430
+ # An object that contains the ARN of the [AWS Lambda][1] function that
1431
+ # is used to preprocess records in the stream, and the ARN of the IAM
1432
+ # role used to access the AWS Lambda function.
1433
+ #
1434
+ #
1435
+ #
1436
+ # [1]: https://aws.amazon.com/documentation/lambda/
1437
+ #
1438
+ # @note When making an API call, you may pass InputLambdaProcessor
1439
+ # data as a hash:
1440
+ #
1441
+ # {
1442
+ # resource_arn: "ResourceARN", # required
1443
+ # role_arn: "RoleARN", # required
1444
+ # }
1445
+ #
1446
+ # @!attribute [rw] resource_arn
1447
+ # The ARN of the [AWS Lambda][1] function that operates on records in
1448
+ # the stream.
1449
+ #
1450
+ #
1451
+ #
1452
+ # [1]: https://aws.amazon.com/documentation/lambda/
1453
+ # @return [String]
1454
+ #
1455
+ # @!attribute [rw] role_arn
1456
+ # The ARN of the IAM role used to access the AWS Lambda function.
1457
+ # @return [String]
1458
+ #
1459
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputLambdaProcessor AWS API Documentation
1460
+ #
1461
+ class InputLambdaProcessor < Struct.new(
1462
+ :resource_arn,
1463
+ :role_arn)
1464
+ include Aws::Structure
1465
+ end
1466
+
1467
+ # An object that contains the ARN of the [AWS Lambda][1] function that
1468
+ # is used to preprocess records in the stream, and the ARN of the IAM
1469
+ # role used to access the AWS Lambda expression.
1470
+ #
1471
+ #
1472
+ #
1473
+ # [1]: https://aws.amazon.com/documentation/lambda/
1474
+ #
1475
+ # @!attribute [rw] resource_arn
1476
+ # The ARN of the [AWS Lambda][1] function that is used to preprocess
1477
+ # the records in the stream.
1478
+ #
1479
+ #
1480
+ #
1481
+ # [1]: https://aws.amazon.com/documentation/lambda/
1482
+ # @return [String]
1483
+ #
1484
+ # @!attribute [rw] role_arn
1485
+ # The ARN of the IAM role used to access the AWS Lambda function.
1486
+ # @return [String]
1487
+ #
1488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputLambdaProcessorDescription AWS API Documentation
1489
+ #
1490
+ class InputLambdaProcessorDescription < Struct.new(
1491
+ :resource_arn,
1492
+ :role_arn)
1493
+ include Aws::Structure
1494
+ end
1495
+
1496
+ # Represents an update to the InputLambdaProcessor that is used to
1497
+ # preprocess the records in the stream.
1498
+ #
1499
+ # @note When making an API call, you may pass InputLambdaProcessorUpdate
1500
+ # data as a hash:
1501
+ #
1502
+ # {
1503
+ # resource_arn_update: "ResourceARN",
1504
+ # role_arn_update: "RoleARN",
1505
+ # }
1506
+ #
1507
+ # @!attribute [rw] resource_arn_update
1508
+ # The ARN of the new [AWS Lambda][1] function that is used to
1509
+ # preprocess the records in the stream.
1510
+ #
1511
+ #
1512
+ #
1513
+ # [1]: https://aws.amazon.com/documentation/lambda/
1514
+ # @return [String]
1515
+ #
1516
+ # @!attribute [rw] role_arn_update
1517
+ # The ARN of the new IAM role used to access the AWS Lambda function.
1518
+ # @return [String]
1519
+ #
1520
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputLambdaProcessorUpdate AWS API Documentation
1521
+ #
1522
+ class InputLambdaProcessorUpdate < Struct.new(
1523
+ :resource_arn_update,
1524
+ :role_arn_update)
1525
+ include Aws::Structure
1526
+ end
1527
+
1276
1528
  # Describes the number of in-application streams to create for a given
1277
1529
  # streaming source. For information about parallelism, see [Configuring
1278
1530
  # Application Input][1].
@@ -1325,6 +1577,79 @@ module Aws::KinesisAnalytics
1325
1577
  include Aws::Structure
1326
1578
  end
1327
1579
 
1580
+ # Provides a description of a processor that is used to preprocess the
1581
+ # records in the stream prior to being processed by your application
1582
+ # code. Currently, the only input processor available is [AWS
1583
+ # Lambda][1].
1584
+ #
1585
+ #
1586
+ #
1587
+ # [1]: https://aws.amazon.com/documentation/lambda/
1588
+ #
1589
+ # @note When making an API call, you may pass InputProcessingConfiguration
1590
+ # data as a hash:
1591
+ #
1592
+ # {
1593
+ # input_lambda_processor: { # required
1594
+ # resource_arn: "ResourceARN", # required
1595
+ # role_arn: "RoleARN", # required
1596
+ # },
1597
+ # }
1598
+ #
1599
+ # @!attribute [rw] input_lambda_processor
1600
+ # The InputLambdaProcessor that is used to preprocess the records in
1601
+ # the stream prior to being processed by your application code.
1602
+ # @return [Types::InputLambdaProcessor]
1603
+ #
1604
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputProcessingConfiguration AWS API Documentation
1605
+ #
1606
+ class InputProcessingConfiguration < Struct.new(
1607
+ :input_lambda_processor)
1608
+ include Aws::Structure
1609
+ end
1610
+
1611
+ # Provides configuration information about an input processor.
1612
+ # Currently, the only input processor available is [AWS Lambda][1].
1613
+ #
1614
+ #
1615
+ #
1616
+ # [1]: https://aws.amazon.com/documentation/lambda/
1617
+ #
1618
+ # @!attribute [rw] input_lambda_processor_description
1619
+ # Provides configuration information about the associated
1620
+ # InputLambdaProcessorDescription.
1621
+ # @return [Types::InputLambdaProcessorDescription]
1622
+ #
1623
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputProcessingConfigurationDescription AWS API Documentation
1624
+ #
1625
+ class InputProcessingConfigurationDescription < Struct.new(
1626
+ :input_lambda_processor_description)
1627
+ include Aws::Structure
1628
+ end
1629
+
1630
+ # Describes updates to an InputProcessingConfiguration.
1631
+ #
1632
+ # @note When making an API call, you may pass InputProcessingConfigurationUpdate
1633
+ # data as a hash:
1634
+ #
1635
+ # {
1636
+ # input_lambda_processor_update: { # required
1637
+ # resource_arn_update: "ResourceARN",
1638
+ # role_arn_update: "RoleARN",
1639
+ # },
1640
+ # }
1641
+ #
1642
+ # @!attribute [rw] input_lambda_processor_update
1643
+ # Provides update information for an InputLambdaProcessor.
1644
+ # @return [Types::InputLambdaProcessorUpdate]
1645
+ #
1646
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputProcessingConfigurationUpdate AWS API Documentation
1647
+ #
1648
+ class InputProcessingConfigurationUpdate < Struct.new(
1649
+ :input_lambda_processor_update)
1650
+ include Aws::Structure
1651
+ end
1652
+
1328
1653
  # Describes updates for the application's input schema.
1329
1654
  #
1330
1655
  # @note When making an API call, you may pass InputSchemaUpdate
@@ -1418,6 +1743,12 @@ module Aws::KinesisAnalytics
1418
1743
  # {
1419
1744
  # input_id: "Id", # required
1420
1745
  # name_prefix_update: "InAppStreamName",
1746
+ # input_processing_configuration_update: {
1747
+ # input_lambda_processor_update: { # required
1748
+ # resource_arn_update: "ResourceARN",
1749
+ # role_arn_update: "RoleARN",
1750
+ # },
1751
+ # },
1421
1752
  # kinesis_streams_input_update: {
1422
1753
  # resource_arn_update: "ResourceARN",
1423
1754
  # role_arn_update: "RoleARN",
@@ -1462,6 +1793,10 @@ module Aws::KinesisAnalytics
1462
1793
  # creates for the specific streaming source.
1463
1794
  # @return [String]
1464
1795
  #
1796
+ # @!attribute [rw] input_processing_configuration_update
1797
+ # Describes updates for an input processing configuration.
1798
+ # @return [Types::InputProcessingConfigurationUpdate]
1799
+ #
1465
1800
  # @!attribute [rw] kinesis_streams_input_update
1466
1801
  # If a Amazon Kinesis stream is the streaming source to be updated,
1467
1802
  # provides an updated stream ARN and IAM role ARN.
@@ -1489,6 +1824,7 @@ module Aws::KinesisAnalytics
1489
1824
  class InputUpdate < Struct.new(
1490
1825
  :input_id,
1491
1826
  :name_prefix_update,
1827
+ :input_processing_configuration_update,
1492
1828
  :kinesis_streams_input_update,
1493
1829
  :kinesis_firehose_input_update,
1494
1830
  :input_schema_update,
@@ -2347,6 +2683,33 @@ module Aws::KinesisAnalytics
2347
2683
  include Aws::Structure
2348
2684
  end
2349
2685
 
2686
+ # @note When making an API call, you may pass S3Configuration
2687
+ # data as a hash:
2688
+ #
2689
+ # {
2690
+ # role_arn: "RoleARN", # required
2691
+ # bucket_arn: "BucketARN", # required
2692
+ # file_key: "FileKey", # required
2693
+ # }
2694
+ #
2695
+ # @!attribute [rw] role_arn
2696
+ # @return [String]
2697
+ #
2698
+ # @!attribute [rw] bucket_arn
2699
+ # @return [String]
2700
+ #
2701
+ # @!attribute [rw] file_key
2702
+ # @return [String]
2703
+ #
2704
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/S3Configuration AWS API Documentation
2705
+ #
2706
+ class S3Configuration < Struct.new(
2707
+ :role_arn,
2708
+ :bucket_arn,
2709
+ :file_key)
2710
+ include Aws::Structure
2711
+ end
2712
+
2350
2713
  # Identifies the S3 bucket and object that contains the reference data.
2351
2714
  # Also identifies the IAM role Amazon Kinesis Analytics can assume to
2352
2715
  # read this object on your behalf.
@@ -2572,6 +2935,12 @@ module Aws::KinesisAnalytics
2572
2935
  # {
2573
2936
  # input_id: "Id", # required
2574
2937
  # name_prefix_update: "InAppStreamName",
2938
+ # input_processing_configuration_update: {
2939
+ # input_lambda_processor_update: { # required
2940
+ # resource_arn_update: "ResourceARN",
2941
+ # role_arn_update: "RoleARN",
2942
+ # },
2943
+ # },
2575
2944
  # kinesis_streams_input_update: {
2576
2945
  # resource_arn_update: "ResourceARN",
2577
2946
  # role_arn_update: "RoleARN",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-kinesisanalytics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-29 00:00:00.000000000 Z
11
+ date: 2017-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -56,7 +56,9 @@ files:
56
56
  homepage: http://github.com/aws/aws-sdk-ruby
57
57
  licenses:
58
58
  - Apache-2.0
59
- metadata: {}
59
+ metadata:
60
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-kinesisanalytics
61
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-kinesisanalytics/CHANGELOG.md
60
62
  post_install_message:
61
63
  rdoc_options: []
62
64
  require_paths: