aws-sdk-iotevents 1.4.0 → 1.5.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: d960eeac4565d3d0a857126b69614ae1de5579cc
4
- data.tar.gz: 30e439bef535b01baf35ce1ee9aab2b13ad6df75
3
+ metadata.gz: 12f7996dcab22d6b10b03ae632543e13780053af
4
+ data.tar.gz: 2dc787f6feb8cf27312cadcf37fcea927ea6f30f
5
5
  SHA512:
6
- metadata.gz: 82908ce1cec343042a2c52b72fbd5b4fd2e0a4358f0cf4541f6e0183757d19bf09220cbbf2e8ecf7c3526d003501d2d51fade8866998cc7b9750c2db8fdeb4ab
7
- data.tar.gz: 26567aff2d90e449ceb8e5ec1980435e0af783c648ab943fd4ceedee5d49481b110413e061a79765e30dc0f22cf122cd158b4c1d9cea7bf9f2a44ff68a0600b9
6
+ metadata.gz: 2b1202fcd332b931a7f5a1cf941ad545b4d20a276b0e95a1b961badb9bed58a14ce5400fe9c93240b5794bf361b9fd18b9547d964dea46ab8de143cf278aff92
7
+ data.tar.gz: '0288d58f1f34d476b8a6c8839646d5b132284599616f5af8146df559d4be5e95b92c9ef0a3bcf5570bac83cb8d0bf7c098796ea10ce1df5c23ea056c5b173b90'
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-iotevents/customizations'
42
42
  # @service
43
43
  module Aws::IoTEvents
44
44
 
45
- GEM_VERSION = '1.4.0'
45
+ GEM_VERSION = '1.5.0'
46
46
 
47
47
  end
@@ -266,12 +266,12 @@ module Aws::IoTEvents
266
266
  # A brief description of the detector model.
267
267
  #
268
268
  # @option params [String] :key
269
- # The input attribute key used to identify a device or system in order
270
- # to create a detector (an instance of the detector model) and then to
271
- # route each input received to the appropriate detector (instance). This
272
- # parameter uses a JSON-path expression to specify the attribute-value
273
- # pair in the message payload of each input that is used to identify the
274
- # device associated with the input.
269
+ # The input attribute key used to identify a device or system to create
270
+ # a detector (an instance of the detector model) and then to route each
271
+ # input received to the appropriate detector (instance). This parameter
272
+ # uses a JSON-path expression to specify the attribute-value pair in the
273
+ # message payload of each input that is used to identify the device
274
+ # associated with the input.
275
275
  #
276
276
  # @option params [required, String] :role_arn
277
277
  # The ARN of the role that grants permission to AWS IoT Events to
@@ -280,6 +280,12 @@ module Aws::IoTEvents
280
280
  # @option params [Array<Types::Tag>] :tags
281
281
  # Metadata that can be used to manage the detector model.
282
282
  #
283
+ # @option params [String] :evaluation_method
284
+ # When set to `SERIAL`, variables are updated and event conditions
285
+ # evaluated in the order that the events are defined. When set to
286
+ # `BATCH`, variables are updated and events performed only after all
287
+ # event conditions are evaluated.
288
+ #
283
289
  # @return [Types::CreateDetectorModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
284
290
  #
285
291
  # * {Types::CreateDetectorModelResponse#detector_model_configuration #detector_model_configuration} => Types::DetectorModelConfiguration
@@ -488,6 +494,7 @@ module Aws::IoTEvents
488
494
  # value: "TagValue", # required
489
495
  # },
490
496
  # ],
497
+ # evaluation_method: "BATCH", # accepts BATCH, SERIAL
491
498
  # })
492
499
  #
493
500
  # @example Response structure
@@ -501,6 +508,7 @@ module Aws::IoTEvents
501
508
  # resp.detector_model_configuration.last_update_time #=> Time
502
509
  # resp.detector_model_configuration.status #=> String, one of "ACTIVE", "ACTIVATING", "INACTIVE", "DEPRECATED", "DRAFT", "PAUSED", "FAILED"
503
510
  # resp.detector_model_configuration.key #=> String
511
+ # resp.detector_model_configuration.evaluation_method #=> String, one of "BATCH", "SERIAL"
504
512
  #
505
513
  # @overload create_detector_model(params = {})
506
514
  # @param [Hash] params ({})
@@ -711,6 +719,7 @@ module Aws::IoTEvents
711
719
  # resp.detector_model.detector_model_configuration.last_update_time #=> Time
712
720
  # resp.detector_model.detector_model_configuration.status #=> String, one of "ACTIVE", "ACTIVATING", "INACTIVE", "DEPRECATED", "DRAFT", "PAUSED", "FAILED"
713
721
  # resp.detector_model.detector_model_configuration.key #=> String
722
+ # resp.detector_model.detector_model_configuration.evaluation_method #=> String, one of "BATCH", "SERIAL"
714
723
  #
715
724
  # @overload describe_detector_model(params = {})
716
725
  # @param [Hash] params ({})
@@ -809,6 +818,7 @@ module Aws::IoTEvents
809
818
  # resp.detector_model_version_summaries[0].creation_time #=> Time
810
819
  # resp.detector_model_version_summaries[0].last_update_time #=> Time
811
820
  # resp.detector_model_version_summaries[0].status #=> String, one of "ACTIVE", "ACTIVATING", "INACTIVE", "DEPRECATED", "DRAFT", "PAUSED", "FAILED"
821
+ # resp.detector_model_version_summaries[0].evaluation_method #=> String, one of "BATCH", "SERIAL"
812
822
  # resp.next_token #=> String
813
823
  #
814
824
  # @overload list_detector_model_versions(params = {})
@@ -1026,6 +1036,12 @@ module Aws::IoTEvents
1026
1036
  # The ARN of the role that grants permission to AWS IoT Events to
1027
1037
  # perform its operations.
1028
1038
  #
1039
+ # @option params [String] :evaluation_method
1040
+ # When set to `SERIAL`, variables are updated and event conditions
1041
+ # evaluated in the order that the events are defined. When set to
1042
+ # `BATCH`, variables are updated and events performed only after all
1043
+ # event conditions are evaluated.
1044
+ #
1029
1045
  # @return [Types::UpdateDetectorModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1030
1046
  #
1031
1047
  # * {Types::UpdateDetectorModelResponse#detector_model_configuration #detector_model_configuration} => Types::DetectorModelConfiguration
@@ -1227,6 +1243,7 @@ module Aws::IoTEvents
1227
1243
  # },
1228
1244
  # detector_model_description: "DetectorModelDescription",
1229
1245
  # role_arn: "AmazonResourceName", # required
1246
+ # evaluation_method: "BATCH", # accepts BATCH, SERIAL
1230
1247
  # })
1231
1248
  #
1232
1249
  # @example Response structure
@@ -1240,6 +1257,7 @@ module Aws::IoTEvents
1240
1257
  # resp.detector_model_configuration.last_update_time #=> Time
1241
1258
  # resp.detector_model_configuration.status #=> String, one of "ACTIVE", "ACTIVATING", "INACTIVE", "DEPRECATED", "DRAFT", "PAUSED", "FAILED"
1242
1259
  # resp.detector_model_configuration.key #=> String
1260
+ # resp.detector_model_configuration.evaluation_method #=> String, one of "BATCH", "SERIAL"
1243
1261
  #
1244
1262
  # @overload update_detector_model(params = {})
1245
1263
  # @param [Hash] params ({})
@@ -1306,7 +1324,7 @@ module Aws::IoTEvents
1306
1324
  params: params,
1307
1325
  config: config)
1308
1326
  context[:gem_name] = 'aws-sdk-iotevents'
1309
- context[:gem_version] = '1.4.0'
1327
+ context[:gem_version] = '1.5.0'
1310
1328
  Seahorse::Client::Request.new(handlers, context)
1311
1329
  end
1312
1330
 
@@ -48,6 +48,7 @@ module Aws::IoTEvents
48
48
  DetectorModelVersionStatus = Shapes::StringShape.new(name: 'DetectorModelVersionStatus')
49
49
  DetectorModelVersionSummaries = Shapes::ListShape.new(name: 'DetectorModelVersionSummaries')
50
50
  DetectorModelVersionSummary = Shapes::StructureShape.new(name: 'DetectorModelVersionSummary')
51
+ EvaluationMethod = Shapes::StringShape.new(name: 'EvaluationMethod')
51
52
  Event = Shapes::StructureShape.new(name: 'Event')
52
53
  EventName = Shapes::StringShape.new(name: 'EventName')
53
54
  Events = Shapes::ListShape.new(name: 'Events')
@@ -155,6 +156,7 @@ module Aws::IoTEvents
155
156
  CreateDetectorModelRequest.add_member(:key, Shapes::ShapeRef.new(shape: AttributeJsonPath, location_name: "key"))
156
157
  CreateDetectorModelRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "roleArn"))
157
158
  CreateDetectorModelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
159
+ CreateDetectorModelRequest.add_member(:evaluation_method, Shapes::ShapeRef.new(shape: EvaluationMethod, location_name: "evaluationMethod"))
158
160
  CreateDetectorModelRequest.struct_class = Types::CreateDetectorModelRequest
159
161
 
160
162
  CreateDetectorModelResponse.add_member(:detector_model_configuration, Shapes::ShapeRef.new(shape: DetectorModelConfiguration, location_name: "detectorModelConfiguration"))
@@ -216,6 +218,7 @@ module Aws::IoTEvents
216
218
  DetectorModelConfiguration.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
217
219
  DetectorModelConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: DetectorModelVersionStatus, location_name: "status"))
218
220
  DetectorModelConfiguration.add_member(:key, Shapes::ShapeRef.new(shape: AttributeJsonPath, location_name: "key"))
221
+ DetectorModelConfiguration.add_member(:evaluation_method, Shapes::ShapeRef.new(shape: EvaluationMethod, location_name: "evaluationMethod"))
219
222
  DetectorModelConfiguration.struct_class = Types::DetectorModelConfiguration
220
223
 
221
224
  DetectorModelDefinition.add_member(:states, Shapes::ShapeRef.new(shape: States, required: true, location_name: "states"))
@@ -238,6 +241,7 @@ module Aws::IoTEvents
238
241
  DetectorModelVersionSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
239
242
  DetectorModelVersionSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
240
243
  DetectorModelVersionSummary.add_member(:status, Shapes::ShapeRef.new(shape: DetectorModelVersionStatus, location_name: "status"))
244
+ DetectorModelVersionSummary.add_member(:evaluation_method, Shapes::ShapeRef.new(shape: EvaluationMethod, location_name: "evaluationMethod"))
241
245
  DetectorModelVersionSummary.struct_class = Types::DetectorModelVersionSummary
242
246
 
243
247
  Event.add_member(:event_name, Shapes::ShapeRef.new(shape: EventName, required: true, location_name: "eventName"))
@@ -422,6 +426,7 @@ module Aws::IoTEvents
422
426
  UpdateDetectorModelRequest.add_member(:detector_model_definition, Shapes::ShapeRef.new(shape: DetectorModelDefinition, required: true, location_name: "detectorModelDefinition"))
423
427
  UpdateDetectorModelRequest.add_member(:detector_model_description, Shapes::ShapeRef.new(shape: DetectorModelDescription, location_name: "detectorModelDescription"))
424
428
  UpdateDetectorModelRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "roleArn"))
429
+ UpdateDetectorModelRequest.add_member(:evaluation_method, Shapes::ShapeRef.new(shape: EvaluationMethod, location_name: "evaluationMethod"))
425
430
  UpdateDetectorModelRequest.struct_class = Types::UpdateDetectorModelRequest
426
431
 
427
432
  UpdateDetectorModelResponse.add_member(:detector_model_configuration, Shapes::ShapeRef.new(shape: DetectorModelConfiguration, location_name: "detectorModelConfiguration"))
@@ -76,8 +76,8 @@ module Aws::IoTEvents
76
76
  # @return [Types::ResetTimerAction]
77
77
  #
78
78
  # @!attribute [rw] lambda
79
- # Calls a Lambda function, passing in information about the detector
80
- # model instance and the event which triggered the action.
79
+ # Calls an AWS Lambda function, passing in information about the
80
+ # detector model instance and the event which triggered the action.
81
81
  # @return [Types::LambdaAction]
82
82
  #
83
83
  # @!attribute [rw] iot_events
@@ -87,12 +87,13 @@ module Aws::IoTEvents
87
87
  #
88
88
  # @!attribute [rw] sqs
89
89
  # Sends information about the detector model instance and the event
90
- # which triggered the action to an AWS SQS queue.
90
+ # which triggered the action to an Amazon SQS queue.
91
91
  # @return [Types::SqsAction]
92
92
  #
93
93
  # @!attribute [rw] firehose
94
94
  # Sends information about the detector model instance and the event
95
- # which triggered the action to a Kinesis Data Firehose stream.
95
+ # which triggered the action to a Kinesis Data Firehose delivery
96
+ # stream.
96
97
  # @return [Types::FirehoseAction]
97
98
  #
98
99
  class Action < Struct.new(
@@ -363,6 +364,7 @@ module Aws::IoTEvents
363
364
  # value: "TagValue", # required
364
365
  # },
365
366
  # ],
367
+ # evaluation_method: "BATCH", # accepts BATCH, SERIAL
366
368
  # }
367
369
  #
368
370
  # @!attribute [rw] detector_model_name
@@ -378,8 +380,8 @@ module Aws::IoTEvents
378
380
  # @return [String]
379
381
  #
380
382
  # @!attribute [rw] key
381
- # The input attribute key used to identify a device or system in order
382
- # to create a detector (an instance of the detector model) and then to
383
+ # The input attribute key used to identify a device or system to
384
+ # create a detector (an instance of the detector model) and then to
383
385
  # route each input received to the appropriate detector (instance).
384
386
  # This parameter uses a JSON-path expression to specify the
385
387
  # attribute-value pair in the message payload of each input that is
@@ -395,13 +397,21 @@ module Aws::IoTEvents
395
397
  # Metadata that can be used to manage the detector model.
396
398
  # @return [Array<Types::Tag>]
397
399
  #
400
+ # @!attribute [rw] evaluation_method
401
+ # When set to `SERIAL`, variables are updated and event conditions
402
+ # evaluated in the order that the events are defined. When set to
403
+ # `BATCH`, variables are updated and events performed only after all
404
+ # event conditions are evaluated.
405
+ # @return [String]
406
+ #
398
407
  class CreateDetectorModelRequest < Struct.new(
399
408
  :detector_model_name,
400
409
  :detector_model_definition,
401
410
  :detector_model_description,
402
411
  :key,
403
412
  :role_arn,
404
- :tags)
413
+ :tags,
414
+ :evaluation_method)
405
415
  include Aws::Structure
406
416
  end
407
417
 
@@ -651,14 +661,21 @@ module Aws::IoTEvents
651
661
  # @return [String]
652
662
  #
653
663
  # @!attribute [rw] key
654
- # The input attribute key used to identify a device or system in order
655
- # to create a detector (an instance of the detector model) and then to
664
+ # The input attribute key used to identify a device or system to
665
+ # create a detector (an instance of the detector model) and then to
656
666
  # route each input received to the appropriate detector (instance).
657
667
  # This parameter uses a JSON-path expression to specify the
658
668
  # attribute-value pair in the message payload of each input that is
659
669
  # used to identify the device associated with the input.
660
670
  # @return [String]
661
671
  #
672
+ # @!attribute [rw] evaluation_method
673
+ # When set to `SERIAL`, variables are updated and event conditions
674
+ # evaluated in the order that the events are defined. When set to
675
+ # `BATCH`, variables are updated and events performed only after all
676
+ # event conditions are evaluated.
677
+ # @return [String]
678
+ #
662
679
  class DetectorModelConfiguration < Struct.new(
663
680
  :detector_model_name,
664
681
  :detector_model_version,
@@ -668,7 +685,8 @@ module Aws::IoTEvents
668
685
  :creation_time,
669
686
  :last_update_time,
670
687
  :status,
671
- :key)
688
+ :key,
689
+ :evaluation_method)
672
690
  include Aws::Structure
673
691
  end
674
692
 
@@ -936,6 +954,13 @@ module Aws::IoTEvents
936
954
  # The status of the detector model version.
937
955
  # @return [String]
938
956
  #
957
+ # @!attribute [rw] evaluation_method
958
+ # When set to `SERIAL`, variables are updated and event conditions
959
+ # evaluated in the order that the events are defined. When set to
960
+ # `BATCH`, variables are updated and events performed only after all
961
+ # event conditions are evaluated.
962
+ # @return [String]
963
+ #
939
964
  class DetectorModelVersionSummary < Struct.new(
940
965
  :detector_model_name,
941
966
  :detector_model_version,
@@ -943,7 +968,8 @@ module Aws::IoTEvents
943
968
  :role_arn,
944
969
  :creation_time,
945
970
  :last_update_time,
946
- :status)
971
+ :status,
972
+ :evaluation_method)
947
973
  include Aws::Structure
948
974
  end
949
975
 
@@ -1019,7 +1045,7 @@ module Aws::IoTEvents
1019
1045
  end
1020
1046
 
1021
1047
  # Sends information about the detector model instance and the event
1022
- # which triggered the action to a Kinesis Data Firehose stream.
1048
+ # which triggered the action to a Kinesis Data Firehose delivery stream.
1023
1049
  #
1024
1050
  # @note When making an API call, you may pass FirehoseAction
1025
1051
  # data as a hash:
@@ -1030,13 +1056,13 @@ module Aws::IoTEvents
1030
1056
  # }
1031
1057
  #
1032
1058
  # @!attribute [rw] delivery_stream_name
1033
- # The name of the Kinesis Data Firehose stream where the data is
1034
- # written.
1059
+ # The name of the Kinesis Data Firehose delivery stream where the data
1060
+ # is written.
1035
1061
  # @return [String]
1036
1062
  #
1037
1063
  # @!attribute [rw] separator
1038
1064
  # A character separator that is used to separate records written to
1039
- # the Kinesis Data Firehose stream. Valid values are: '\\n'
1065
+ # the Kinesis Data Firehose delivery stream. Valid values are: '\\n'
1040
1066
  # (newline), '\\t' (tab), '\\r\\n' (Windows newline), ','
1041
1067
  # (comma).
1042
1068
  # @return [String]
@@ -1222,8 +1248,8 @@ module Aws::IoTEvents
1222
1248
  include Aws::Structure
1223
1249
  end
1224
1250
 
1225
- # Calls a Lambda function, passing in information about the detector
1226
- # model instance and the event which triggered the action.
1251
+ # Calls an AWS Lambda function, passing in information about the
1252
+ # detector model instance and the event which triggered the action.
1227
1253
  #
1228
1254
  # @note When making an API call, you may pass LambdaAction
1229
1255
  # data as a hash:
@@ -1233,7 +1259,7 @@ module Aws::IoTEvents
1233
1259
  # }
1234
1260
  #
1235
1261
  # @!attribute [rw] function_arn
1236
- # The ARN of the Lambda function which is executed.
1262
+ # The ARN of the AWS Lambda function which is executed.
1237
1263
  # @return [String]
1238
1264
  #
1239
1265
  class LambdaAction < Struct.new(
@@ -1843,7 +1869,7 @@ module Aws::IoTEvents
1843
1869
  end
1844
1870
 
1845
1871
  # Sends information about the detector model instance and the event
1846
- # which triggered the action to an AWS SQS queue.
1872
+ # which triggered the action to an Amazon SQS queue.
1847
1873
  #
1848
1874
  # @note When making an API call, you may pass SqsAction
1849
1875
  # data as a hash:
@@ -1854,7 +1880,7 @@ module Aws::IoTEvents
1854
1880
  # }
1855
1881
  #
1856
1882
  # @!attribute [rw] queue_url
1857
- # The URL of the SQS queue where the data is written.
1883
+ # The URL of the Amazon SQS queue where the data is written.
1858
1884
  # @return [String]
1859
1885
  #
1860
1886
  # @!attribute [rw] use_base_64
@@ -2459,6 +2485,7 @@ module Aws::IoTEvents
2459
2485
  # },
2460
2486
  # detector_model_description: "DetectorModelDescription",
2461
2487
  # role_arn: "AmazonResourceName", # required
2488
+ # evaluation_method: "BATCH", # accepts BATCH, SERIAL
2462
2489
  # }
2463
2490
  #
2464
2491
  # @!attribute [rw] detector_model_name
@@ -2478,11 +2505,19 @@ module Aws::IoTEvents
2478
2505
  # perform its operations.
2479
2506
  # @return [String]
2480
2507
  #
2508
+ # @!attribute [rw] evaluation_method
2509
+ # When set to `SERIAL`, variables are updated and event conditions
2510
+ # evaluated in the order that the events are defined. When set to
2511
+ # `BATCH`, variables are updated and events performed only after all
2512
+ # event conditions are evaluated.
2513
+ # @return [String]
2514
+ #
2481
2515
  class UpdateDetectorModelRequest < Struct.new(
2482
2516
  :detector_model_name,
2483
2517
  :detector_model_definition,
2484
2518
  :detector_model_description,
2485
- :role_arn)
2519
+ :role_arn,
2520
+ :evaluation_method)
2486
2521
  include Aws::Structure
2487
2522
  end
2488
2523
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iotevents
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.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: 2019-07-25 00:00:00.000000000 Z
11
+ date: 2019-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core