aws-sdk-iotanalytics 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iotanalytics.rb +1 -1
- data/lib/aws-sdk-iotanalytics/client.rb +130 -18
- data/lib/aws-sdk-iotanalytics/client_api.rb +79 -1
- data/lib/aws-sdk-iotanalytics/types.rb +492 -27
- metadata +2 -2
@@ -237,6 +237,68 @@ module Aws::IoTAnalytics
|
|
237
237
|
include Aws::Structure
|
238
238
|
end
|
239
239
|
|
240
|
+
# Information needed to run the "containerAction" to produce data set
|
241
|
+
# contents.
|
242
|
+
#
|
243
|
+
# @note When making an API call, you may pass ContainerDatasetAction
|
244
|
+
# data as a hash:
|
245
|
+
#
|
246
|
+
# {
|
247
|
+
# image: "Image", # required
|
248
|
+
# execution_role_arn: "RoleArn", # required
|
249
|
+
# resource_configuration: { # required
|
250
|
+
# compute_type: "ACU_1", # required, accepts ACU_1, ACU_2
|
251
|
+
# volume_size_in_gb: 1, # required
|
252
|
+
# },
|
253
|
+
# variables: [
|
254
|
+
# {
|
255
|
+
# name: "VariableName", # required
|
256
|
+
# string_value: "StringValue",
|
257
|
+
# double_value: 1.0,
|
258
|
+
# dataset_content_version_value: {
|
259
|
+
# dataset_name: "DatasetName", # required
|
260
|
+
# },
|
261
|
+
# output_file_uri_value: {
|
262
|
+
# file_name: "OutputFileName", # required
|
263
|
+
# },
|
264
|
+
# },
|
265
|
+
# ],
|
266
|
+
# }
|
267
|
+
#
|
268
|
+
# @!attribute [rw] image
|
269
|
+
# The ARN of the Docker container stored in your account. The Docker
|
270
|
+
# container contains an application and needed support libraries and
|
271
|
+
# is used to generate data set contents.
|
272
|
+
# @return [String]
|
273
|
+
#
|
274
|
+
# @!attribute [rw] execution_role_arn
|
275
|
+
# The ARN of the role which gives permission to the system to access
|
276
|
+
# needed resources in order to run the "containerAction". This
|
277
|
+
# includes, at minimum, permission to retrieve the data set contents
|
278
|
+
# which are the input to the containerized application.
|
279
|
+
# @return [String]
|
280
|
+
#
|
281
|
+
# @!attribute [rw] resource_configuration
|
282
|
+
# Configuration of the resource which executes the
|
283
|
+
# "containerAction".
|
284
|
+
# @return [Types::ResourceConfiguration]
|
285
|
+
#
|
286
|
+
# @!attribute [rw] variables
|
287
|
+
# The values of variables used within the context of the execution of
|
288
|
+
# the containerized application (basically, parameters passed to the
|
289
|
+
# application). Each variable must have a name and a value given by
|
290
|
+
# one of "stringValue", "datasetContentVersionValue", or
|
291
|
+
# "outputFileUriValue".
|
292
|
+
# @return [Array<Types::Variable>]
|
293
|
+
#
|
294
|
+
class ContainerDatasetAction < Struct.new(
|
295
|
+
:image,
|
296
|
+
:execution_role_arn,
|
297
|
+
:resource_configuration,
|
298
|
+
:variables)
|
299
|
+
include Aws::Structure
|
300
|
+
end
|
301
|
+
|
240
302
|
# @note When making an API call, you may pass CreateChannelRequest
|
241
303
|
# data as a hash:
|
242
304
|
#
|
@@ -308,6 +370,15 @@ module Aws::IoTAnalytics
|
|
308
370
|
include Aws::Structure
|
309
371
|
end
|
310
372
|
|
373
|
+
# @!attribute [rw] version_id
|
374
|
+
# The version ID of the data set contents which are being created.
|
375
|
+
# @return [String]
|
376
|
+
#
|
377
|
+
class CreateDatasetContentResponse < Struct.new(
|
378
|
+
:version_id)
|
379
|
+
include Aws::Structure
|
380
|
+
end
|
381
|
+
|
311
382
|
# @note When making an API call, you may pass CreateDatasetRequest
|
312
383
|
# data as a hash:
|
313
384
|
#
|
@@ -318,6 +389,35 @@ module Aws::IoTAnalytics
|
|
318
389
|
# action_name: "DatasetActionName",
|
319
390
|
# query_action: {
|
320
391
|
# sql_query: "SqlQuery", # required
|
392
|
+
# filters: [
|
393
|
+
# {
|
394
|
+
# delta_time: {
|
395
|
+
# offset_seconds: 1, # required
|
396
|
+
# time_expression: "TimeExpression", # required
|
397
|
+
# },
|
398
|
+
# },
|
399
|
+
# ],
|
400
|
+
# },
|
401
|
+
# container_action: {
|
402
|
+
# image: "Image", # required
|
403
|
+
# execution_role_arn: "RoleArn", # required
|
404
|
+
# resource_configuration: { # required
|
405
|
+
# compute_type: "ACU_1", # required, accepts ACU_1, ACU_2
|
406
|
+
# volume_size_in_gb: 1, # required
|
407
|
+
# },
|
408
|
+
# variables: [
|
409
|
+
# {
|
410
|
+
# name: "VariableName", # required
|
411
|
+
# string_value: "StringValue",
|
412
|
+
# double_value: 1.0,
|
413
|
+
# dataset_content_version_value: {
|
414
|
+
# dataset_name: "DatasetName", # required
|
415
|
+
# },
|
416
|
+
# output_file_uri_value: {
|
417
|
+
# file_name: "OutputFileName", # required
|
418
|
+
# },
|
419
|
+
# },
|
420
|
+
# ],
|
321
421
|
# },
|
322
422
|
# },
|
323
423
|
# ],
|
@@ -326,8 +426,15 @@ module Aws::IoTAnalytics
|
|
326
426
|
# schedule: {
|
327
427
|
# expression: "ScheduleExpression",
|
328
428
|
# },
|
429
|
+
# dataset: {
|
430
|
+
# name: "DatasetName", # required
|
431
|
+
# },
|
329
432
|
# },
|
330
433
|
# ],
|
434
|
+
# retention_period: {
|
435
|
+
# unlimited: false,
|
436
|
+
# number_of_days: 1,
|
437
|
+
# },
|
331
438
|
# tags: [
|
332
439
|
# {
|
333
440
|
# key: "TagKey", # required
|
@@ -341,16 +448,23 @@ module Aws::IoTAnalytics
|
|
341
448
|
# @return [String]
|
342
449
|
#
|
343
450
|
# @!attribute [rw] actions
|
344
|
-
# A list of actions that create the data set.
|
345
|
-
# supported at this time.
|
451
|
+
# A list of actions that create the data set contents.
|
346
452
|
# @return [Array<Types::DatasetAction>]
|
347
453
|
#
|
348
454
|
# @!attribute [rw] triggers
|
349
|
-
# A list of triggers. A trigger causes data set
|
350
|
-
# populated at a specified time or
|
351
|
-
# can be empty or contain
|
455
|
+
# A list of triggers. A trigger causes data set contents to be
|
456
|
+
# populated at a specified time interval or when another data set's
|
457
|
+
# contents are created. The list of triggers can be empty or contain
|
458
|
+
# up to five **DataSetTrigger** objects.
|
352
459
|
# @return [Array<Types::DatasetTrigger>]
|
353
460
|
#
|
461
|
+
# @!attribute [rw] retention_period
|
462
|
+
# \[Optional\] How long, in days, message data is kept for the data
|
463
|
+
# set. If not given or set to null, the latest version of the dataset
|
464
|
+
# content plus the latest succeeded version (if they are different)
|
465
|
+
# are retained for at most 90 days.
|
466
|
+
# @return [Types::RetentionPeriod]
|
467
|
+
#
|
354
468
|
# @!attribute [rw] tags
|
355
469
|
# Metadata which can be used to manage the data set.
|
356
470
|
# @return [Array<Types::Tag>]
|
@@ -359,6 +473,7 @@ module Aws::IoTAnalytics
|
|
359
473
|
:dataset_name,
|
360
474
|
:actions,
|
361
475
|
:triggers,
|
476
|
+
:retention_period,
|
362
477
|
:tags)
|
363
478
|
include Aws::Structure
|
364
479
|
end
|
@@ -371,9 +486,14 @@ module Aws::IoTAnalytics
|
|
371
486
|
# The ARN of the data set.
|
372
487
|
# @return [String]
|
373
488
|
#
|
489
|
+
# @!attribute [rw] retention_period
|
490
|
+
# How long, in days, message data is kept for the data set.
|
491
|
+
# @return [Types::RetentionPeriod]
|
492
|
+
#
|
374
493
|
class CreateDatasetResponse < Struct.new(
|
375
494
|
:dataset_name,
|
376
|
-
:dataset_arn
|
495
|
+
:dataset_arn,
|
496
|
+
:retention_period)
|
377
497
|
include Aws::Structure
|
378
498
|
end
|
379
499
|
|
@@ -557,7 +677,8 @@ module Aws::IoTAnalytics
|
|
557
677
|
# @return [String]
|
558
678
|
#
|
559
679
|
# @!attribute [rw] actions
|
560
|
-
# The "DatasetAction" objects that create the data set
|
680
|
+
# The "DatasetAction" objects that automatically create the data set
|
681
|
+
# contents.
|
561
682
|
# @return [Array<Types::DatasetAction>]
|
562
683
|
#
|
563
684
|
# @!attribute [rw] triggers
|
@@ -577,6 +698,11 @@ module Aws::IoTAnalytics
|
|
577
698
|
# The last time the data set was updated.
|
578
699
|
# @return [Time]
|
579
700
|
#
|
701
|
+
# @!attribute [rw] retention_period
|
702
|
+
# \[Optional\] How long, in days, message data is kept for the data
|
703
|
+
# set.
|
704
|
+
# @return [Types::RetentionPeriod]
|
705
|
+
#
|
580
706
|
class Dataset < Struct.new(
|
581
707
|
:name,
|
582
708
|
:arn,
|
@@ -584,7 +710,8 @@ module Aws::IoTAnalytics
|
|
584
710
|
:triggers,
|
585
711
|
:status,
|
586
712
|
:creation_time,
|
587
|
-
:last_update_time
|
713
|
+
:last_update_time,
|
714
|
+
:retention_period)
|
588
715
|
include Aws::Structure
|
589
716
|
end
|
590
717
|
|
@@ -598,11 +725,41 @@ module Aws::IoTAnalytics
|
|
598
725
|
# action_name: "DatasetActionName",
|
599
726
|
# query_action: {
|
600
727
|
# sql_query: "SqlQuery", # required
|
728
|
+
# filters: [
|
729
|
+
# {
|
730
|
+
# delta_time: {
|
731
|
+
# offset_seconds: 1, # required
|
732
|
+
# time_expression: "TimeExpression", # required
|
733
|
+
# },
|
734
|
+
# },
|
735
|
+
# ],
|
736
|
+
# },
|
737
|
+
# container_action: {
|
738
|
+
# image: "Image", # required
|
739
|
+
# execution_role_arn: "RoleArn", # required
|
740
|
+
# resource_configuration: { # required
|
741
|
+
# compute_type: "ACU_1", # required, accepts ACU_1, ACU_2
|
742
|
+
# volume_size_in_gb: 1, # required
|
743
|
+
# },
|
744
|
+
# variables: [
|
745
|
+
# {
|
746
|
+
# name: "VariableName", # required
|
747
|
+
# string_value: "StringValue",
|
748
|
+
# double_value: 1.0,
|
749
|
+
# dataset_content_version_value: {
|
750
|
+
# dataset_name: "DatasetName", # required
|
751
|
+
# },
|
752
|
+
# output_file_uri_value: {
|
753
|
+
# file_name: "OutputFileName", # required
|
754
|
+
# },
|
755
|
+
# },
|
756
|
+
# ],
|
601
757
|
# },
|
602
758
|
# }
|
603
759
|
#
|
604
760
|
# @!attribute [rw] action_name
|
605
|
-
# The name of the data set action
|
761
|
+
# The name of the data set action by which data set contents are
|
762
|
+
# automatically created.
|
606
763
|
# @return [String]
|
607
764
|
#
|
608
765
|
# @!attribute [rw] query_action
|
@@ -610,21 +767,46 @@ module Aws::IoTAnalytics
|
|
610
767
|
# modify the message.
|
611
768
|
# @return [Types::SqlQueryDatasetAction]
|
612
769
|
#
|
770
|
+
# @!attribute [rw] container_action
|
771
|
+
# Information which allows the system to run a containerized
|
772
|
+
# application in order to create the data set contents. The
|
773
|
+
# application must be in a Docker container along with any needed
|
774
|
+
# support libraries.
|
775
|
+
# @return [Types::ContainerDatasetAction]
|
776
|
+
#
|
613
777
|
class DatasetAction < Struct.new(
|
614
778
|
:action_name,
|
615
|
-
:query_action
|
779
|
+
:query_action,
|
780
|
+
:container_action)
|
781
|
+
include Aws::Structure
|
782
|
+
end
|
783
|
+
|
784
|
+
# @!attribute [rw] action_name
|
785
|
+
# The name of the action which automatically creates the data set's
|
786
|
+
# contents.
|
787
|
+
# @return [String]
|
788
|
+
#
|
789
|
+
# @!attribute [rw] action_type
|
790
|
+
# The type of action by which the data set's contents are
|
791
|
+
# automatically created.
|
792
|
+
# @return [String]
|
793
|
+
#
|
794
|
+
class DatasetActionSummary < Struct.new(
|
795
|
+
:action_name,
|
796
|
+
:action_type)
|
616
797
|
include Aws::Structure
|
617
798
|
end
|
618
799
|
|
619
|
-
# The state of the data set and the reason
|
800
|
+
# The state of the data set contents and the reason they are in this
|
801
|
+
# state.
|
620
802
|
#
|
621
803
|
# @!attribute [rw] state
|
622
|
-
# The state of the data set. Can be one of "
|
623
|
-
# or "FAILED".
|
804
|
+
# The state of the data set contents. Can be one of "READY",
|
805
|
+
# "CREATING", "SUCCEEDED" or "FAILED".
|
624
806
|
# @return [String]
|
625
807
|
#
|
626
808
|
# @!attribute [rw] reason
|
627
|
-
# The reason the data set
|
809
|
+
# The reason the data set contents are in this state.
|
628
810
|
# @return [String]
|
629
811
|
#
|
630
812
|
class DatasetContentStatus < Struct.new(
|
@@ -633,6 +815,26 @@ module Aws::IoTAnalytics
|
|
633
815
|
include Aws::Structure
|
634
816
|
end
|
635
817
|
|
818
|
+
# The data set whose latest contents will be used as input to the
|
819
|
+
# notebook or application.
|
820
|
+
#
|
821
|
+
# @note When making an API call, you may pass DatasetContentVersionValue
|
822
|
+
# data as a hash:
|
823
|
+
#
|
824
|
+
# {
|
825
|
+
# dataset_name: "DatasetName", # required
|
826
|
+
# }
|
827
|
+
#
|
828
|
+
# @!attribute [rw] dataset_name
|
829
|
+
# The name of the data set whose latest contents will be used as input
|
830
|
+
# to the notebook or application.
|
831
|
+
# @return [String]
|
832
|
+
#
|
833
|
+
class DatasetContentVersionValue < Struct.new(
|
834
|
+
:dataset_name)
|
835
|
+
include Aws::Structure
|
836
|
+
end
|
837
|
+
|
636
838
|
# The reference to a data set entry.
|
637
839
|
#
|
638
840
|
# @!attribute [rw] entry_name
|
@@ -667,11 +869,24 @@ module Aws::IoTAnalytics
|
|
667
869
|
# The last time the data set was updated.
|
668
870
|
# @return [Time]
|
669
871
|
#
|
872
|
+
# @!attribute [rw] triggers
|
873
|
+
# A list of triggers. A trigger causes data set content to be
|
874
|
+
# populated at a specified time interval or when another data set is
|
875
|
+
# populated. The list of triggers can be empty or contain up to five
|
876
|
+
# DataSetTrigger objects
|
877
|
+
# @return [Array<Types::DatasetTrigger>]
|
878
|
+
#
|
879
|
+
# @!attribute [rw] actions
|
880
|
+
# A list of "DataActionSummary" objects.
|
881
|
+
# @return [Array<Types::DatasetActionSummary>]
|
882
|
+
#
|
670
883
|
class DatasetSummary < Struct.new(
|
671
884
|
:dataset_name,
|
672
885
|
:status,
|
673
886
|
:creation_time,
|
674
|
-
:last_update_time
|
887
|
+
:last_update_time,
|
888
|
+
:triggers,
|
889
|
+
:actions)
|
675
890
|
include Aws::Structure
|
676
891
|
end
|
677
892
|
|
@@ -685,14 +900,23 @@ module Aws::IoTAnalytics
|
|
685
900
|
# schedule: {
|
686
901
|
# expression: "ScheduleExpression",
|
687
902
|
# },
|
903
|
+
# dataset: {
|
904
|
+
# name: "DatasetName", # required
|
905
|
+
# },
|
688
906
|
# }
|
689
907
|
#
|
690
908
|
# @!attribute [rw] schedule
|
691
909
|
# The "Schedule" when the trigger is initiated.
|
692
910
|
# @return [Types::Schedule]
|
693
911
|
#
|
912
|
+
# @!attribute [rw] dataset
|
913
|
+
# The data set whose content creation will trigger the creation of
|
914
|
+
# this data set's contents.
|
915
|
+
# @return [Types::TriggeringDataset]
|
916
|
+
#
|
694
917
|
class DatasetTrigger < Struct.new(
|
695
|
-
:schedule
|
918
|
+
:schedule,
|
919
|
+
:dataset)
|
696
920
|
include Aws::Structure
|
697
921
|
end
|
698
922
|
|
@@ -769,7 +993,7 @@ module Aws::IoTAnalytics
|
|
769
993
|
include Aws::Structure
|
770
994
|
end
|
771
995
|
|
772
|
-
#
|
996
|
+
# Statistical information about the data store.
|
773
997
|
#
|
774
998
|
# @!attribute [rw] size
|
775
999
|
# The estimated size of the data store.
|
@@ -895,6 +1119,42 @@ module Aws::IoTAnalytics
|
|
895
1119
|
include Aws::Structure
|
896
1120
|
end
|
897
1121
|
|
1122
|
+
# When you create data set contents using message data from a specified
|
1123
|
+
# time frame, some message data may still be "in flight" when
|
1124
|
+
# processing begins, and so will not arrive in time to be processed. Use
|
1125
|
+
# this field to make allowances for the "in flight" time of your
|
1126
|
+
# message data, so that data not processed from the previous time frame
|
1127
|
+
# will be included with the next time frame. Without this, missed
|
1128
|
+
# message data would be excluded from processing during the next time
|
1129
|
+
# frame as well, because its timestamp places it within the previous
|
1130
|
+
# time frame.
|
1131
|
+
#
|
1132
|
+
# @note When making an API call, you may pass DeltaTime
|
1133
|
+
# data as a hash:
|
1134
|
+
#
|
1135
|
+
# {
|
1136
|
+
# offset_seconds: 1, # required
|
1137
|
+
# time_expression: "TimeExpression", # required
|
1138
|
+
# }
|
1139
|
+
#
|
1140
|
+
# @!attribute [rw] offset_seconds
|
1141
|
+
# The number of seconds of estimated "in flight" lag time of message
|
1142
|
+
# data.
|
1143
|
+
# @return [Integer]
|
1144
|
+
#
|
1145
|
+
# @!attribute [rw] time_expression
|
1146
|
+
# An expression by which the time of the message data may be
|
1147
|
+
# determined. This may be the name of a timestamp field, or a SQL
|
1148
|
+
# expression which is used to derive the time the message data was
|
1149
|
+
# generated.
|
1150
|
+
# @return [String]
|
1151
|
+
#
|
1152
|
+
class DeltaTime < Struct.new(
|
1153
|
+
:offset_seconds,
|
1154
|
+
:time_expression)
|
1155
|
+
include Aws::Structure
|
1156
|
+
end
|
1157
|
+
|
898
1158
|
# @note When making an API call, you may pass DescribeChannelRequest
|
899
1159
|
# data as a hash:
|
900
1160
|
#
|
@@ -908,7 +1168,8 @@ module Aws::IoTAnalytics
|
|
908
1168
|
# @return [String]
|
909
1169
|
#
|
910
1170
|
# @!attribute [rw] include_statistics
|
911
|
-
# If true,
|
1171
|
+
# If true, additional statistical information about the channel is
|
1172
|
+
# included in the response.
|
912
1173
|
# @return [Boolean]
|
913
1174
|
#
|
914
1175
|
class DescribeChannelRequest < Struct.new(
|
@@ -970,7 +1231,8 @@ module Aws::IoTAnalytics
|
|
970
1231
|
# @return [String]
|
971
1232
|
#
|
972
1233
|
# @!attribute [rw] include_statistics
|
973
|
-
# If true,
|
1234
|
+
# If true, additional statistical information about the datastore is
|
1235
|
+
# included in the response.
|
974
1236
|
# @return [Boolean]
|
975
1237
|
#
|
976
1238
|
class DescribeDatastoreRequest < Struct.new(
|
@@ -984,8 +1246,8 @@ module Aws::IoTAnalytics
|
|
984
1246
|
# @return [Types::Datastore]
|
985
1247
|
#
|
986
1248
|
# @!attribute [rw] statistics
|
987
|
-
#
|
988
|
-
# 'includeStatistics' parameter is set to true in the request.
|
1249
|
+
# Additional statistical information about the data store. Included if
|
1250
|
+
# the 'includeStatistics' parameter is set to true in the request.
|
989
1251
|
# @return [Types::DatastoreStatistics]
|
990
1252
|
#
|
991
1253
|
class DescribeDatastoreResponse < Struct.new(
|
@@ -1153,7 +1415,7 @@ module Aws::IoTAnalytics
|
|
1153
1415
|
# @return [String]
|
1154
1416
|
#
|
1155
1417
|
# @!attribute [rw] filter
|
1156
|
-
# An expression that looks like
|
1418
|
+
# An expression that looks like a SQL WHERE clause that must return a
|
1157
1419
|
# Boolean value.
|
1158
1420
|
# @return [String]
|
1159
1421
|
#
|
@@ -1530,6 +1792,26 @@ module Aws::IoTAnalytics
|
|
1530
1792
|
include Aws::Structure
|
1531
1793
|
end
|
1532
1794
|
|
1795
|
+
# The URI of the location where data set contents are stored, usually
|
1796
|
+
# the URI of a file in an S3 bucket.
|
1797
|
+
#
|
1798
|
+
# @note When making an API call, you may pass OutputFileUriValue
|
1799
|
+
# data as a hash:
|
1800
|
+
#
|
1801
|
+
# {
|
1802
|
+
# file_name: "OutputFileName", # required
|
1803
|
+
# }
|
1804
|
+
#
|
1805
|
+
# @!attribute [rw] file_name
|
1806
|
+
# The URI of the location where data set contents are stored, usually
|
1807
|
+
# the URI of a file in an S3 bucket.
|
1808
|
+
# @return [String]
|
1809
|
+
#
|
1810
|
+
class OutputFileUriValue < Struct.new(
|
1811
|
+
:file_name)
|
1812
|
+
include Aws::Structure
|
1813
|
+
end
|
1814
|
+
|
1533
1815
|
# Contains information about a pipeline.
|
1534
1816
|
#
|
1535
1817
|
# @!attribute [rw] name
|
@@ -1734,6 +2016,37 @@ module Aws::IoTAnalytics
|
|
1734
2016
|
include Aws::Structure
|
1735
2017
|
end
|
1736
2018
|
|
2019
|
+
# Information which is used to filter message data, to segregate it
|
2020
|
+
# according to the time frame in which it arrives.
|
2021
|
+
#
|
2022
|
+
# @note When making an API call, you may pass QueryFilter
|
2023
|
+
# data as a hash:
|
2024
|
+
#
|
2025
|
+
# {
|
2026
|
+
# delta_time: {
|
2027
|
+
# offset_seconds: 1, # required
|
2028
|
+
# time_expression: "TimeExpression", # required
|
2029
|
+
# },
|
2030
|
+
# }
|
2031
|
+
#
|
2032
|
+
# @!attribute [rw] delta_time
|
2033
|
+
# Used to limit data to that which has arrived since the last
|
2034
|
+
# execution of the action. When you create data set contents using
|
2035
|
+
# message data from a specified time frame, some message data may
|
2036
|
+
# still be "in flight" when processing begins, and so will not
|
2037
|
+
# arrive in time to be processed. Use this field to make allowances
|
2038
|
+
# for the "in flight" time of you message data, so that data not
|
2039
|
+
# processed from a previous time frame will be included with the next
|
2040
|
+
# time frame. Without this, missed message data would be excluded from
|
2041
|
+
# processing during the next time frame as well, because its timestamp
|
2042
|
+
# places it within the previous time frame.
|
2043
|
+
# @return [Types::DeltaTime]
|
2044
|
+
#
|
2045
|
+
class QueryFilter < Struct.new(
|
2046
|
+
:delta_time)
|
2047
|
+
include Aws::Structure
|
2048
|
+
end
|
2049
|
+
|
1737
2050
|
# An activity that removes attributes from a message.
|
1738
2051
|
#
|
1739
2052
|
# @note When making an API call, you may pass RemoveAttributesActivity
|
@@ -1785,6 +2098,34 @@ module Aws::IoTAnalytics
|
|
1785
2098
|
include Aws::Structure
|
1786
2099
|
end
|
1787
2100
|
|
2101
|
+
# The configuration of the resource used to execute the
|
2102
|
+
# "containerAction".
|
2103
|
+
#
|
2104
|
+
# @note When making an API call, you may pass ResourceConfiguration
|
2105
|
+
# data as a hash:
|
2106
|
+
#
|
2107
|
+
# {
|
2108
|
+
# compute_type: "ACU_1", # required, accepts ACU_1, ACU_2
|
2109
|
+
# volume_size_in_gb: 1, # required
|
2110
|
+
# }
|
2111
|
+
#
|
2112
|
+
# @!attribute [rw] compute_type
|
2113
|
+
# The type of the compute resource used to execute the
|
2114
|
+
# "containerAction". Possible values are: ACU\_1 (vCPU=4,
|
2115
|
+
# memory=16GiB) or ACU\_2 (vCPU=8, memory=32GiB).
|
2116
|
+
# @return [String]
|
2117
|
+
#
|
2118
|
+
# @!attribute [rw] volume_size_in_gb
|
2119
|
+
# The size (in GB) of the persistent storage available to the resource
|
2120
|
+
# instance used to execute the "containerAction" (min: 1, max: 50).
|
2121
|
+
# @return [Integer]
|
2122
|
+
#
|
2123
|
+
class ResourceConfiguration < Struct.new(
|
2124
|
+
:compute_type,
|
2125
|
+
:volume_size_in_gb)
|
2126
|
+
include Aws::Structure
|
2127
|
+
end
|
2128
|
+
|
1788
2129
|
# How long, in days, message data is kept.
|
1789
2130
|
#
|
1790
2131
|
# @note When making an API call, you may pass RetentionPeriod
|
@@ -2020,14 +2361,27 @@ module Aws::IoTAnalytics
|
|
2020
2361
|
#
|
2021
2362
|
# {
|
2022
2363
|
# sql_query: "SqlQuery", # required
|
2364
|
+
# filters: [
|
2365
|
+
# {
|
2366
|
+
# delta_time: {
|
2367
|
+
# offset_seconds: 1, # required
|
2368
|
+
# time_expression: "TimeExpression", # required
|
2369
|
+
# },
|
2370
|
+
# },
|
2371
|
+
# ],
|
2023
2372
|
# }
|
2024
2373
|
#
|
2025
2374
|
# @!attribute [rw] sql_query
|
2026
|
-
#
|
2375
|
+
# A SQL query string.
|
2027
2376
|
# @return [String]
|
2028
2377
|
#
|
2378
|
+
# @!attribute [rw] filters
|
2379
|
+
# Pre-filters applied to message data.
|
2380
|
+
# @return [Array<Types::QueryFilter>]
|
2381
|
+
#
|
2029
2382
|
class SqlQueryDatasetAction < Struct.new(
|
2030
|
-
:sql_query
|
2383
|
+
:sql_query,
|
2384
|
+
:filters)
|
2031
2385
|
include Aws::Structure
|
2032
2386
|
end
|
2033
2387
|
|
@@ -2121,6 +2475,26 @@ module Aws::IoTAnalytics
|
|
2121
2475
|
|
2122
2476
|
class TagResourceResponse < Aws::EmptyStructure; end
|
2123
2477
|
|
2478
|
+
# Information about the data set whose content generation will trigger
|
2479
|
+
# the new data set content generation.
|
2480
|
+
#
|
2481
|
+
# @note When making an API call, you may pass TriggeringDataset
|
2482
|
+
# data as a hash:
|
2483
|
+
#
|
2484
|
+
# {
|
2485
|
+
# name: "DatasetName", # required
|
2486
|
+
# }
|
2487
|
+
#
|
2488
|
+
# @!attribute [rw] name
|
2489
|
+
# The name of the data set whose content generation will trigger the
|
2490
|
+
# new data set content generation.
|
2491
|
+
# @return [String]
|
2492
|
+
#
|
2493
|
+
class TriggeringDataset < Struct.new(
|
2494
|
+
:name)
|
2495
|
+
include Aws::Structure
|
2496
|
+
end
|
2497
|
+
|
2124
2498
|
# @note When making an API call, you may pass UntagResourceRequest
|
2125
2499
|
# data as a hash:
|
2126
2500
|
#
|
@@ -2180,6 +2554,35 @@ module Aws::IoTAnalytics
|
|
2180
2554
|
# action_name: "DatasetActionName",
|
2181
2555
|
# query_action: {
|
2182
2556
|
# sql_query: "SqlQuery", # required
|
2557
|
+
# filters: [
|
2558
|
+
# {
|
2559
|
+
# delta_time: {
|
2560
|
+
# offset_seconds: 1, # required
|
2561
|
+
# time_expression: "TimeExpression", # required
|
2562
|
+
# },
|
2563
|
+
# },
|
2564
|
+
# ],
|
2565
|
+
# },
|
2566
|
+
# container_action: {
|
2567
|
+
# image: "Image", # required
|
2568
|
+
# execution_role_arn: "RoleArn", # required
|
2569
|
+
# resource_configuration: { # required
|
2570
|
+
# compute_type: "ACU_1", # required, accepts ACU_1, ACU_2
|
2571
|
+
# volume_size_in_gb: 1, # required
|
2572
|
+
# },
|
2573
|
+
# variables: [
|
2574
|
+
# {
|
2575
|
+
# name: "VariableName", # required
|
2576
|
+
# string_value: "StringValue",
|
2577
|
+
# double_value: 1.0,
|
2578
|
+
# dataset_content_version_value: {
|
2579
|
+
# dataset_name: "DatasetName", # required
|
2580
|
+
# },
|
2581
|
+
# output_file_uri_value: {
|
2582
|
+
# file_name: "OutputFileName", # required
|
2583
|
+
# },
|
2584
|
+
# },
|
2585
|
+
# ],
|
2183
2586
|
# },
|
2184
2587
|
# },
|
2185
2588
|
# ],
|
@@ -2188,8 +2591,15 @@ module Aws::IoTAnalytics
|
|
2188
2591
|
# schedule: {
|
2189
2592
|
# expression: "ScheduleExpression",
|
2190
2593
|
# },
|
2594
|
+
# dataset: {
|
2595
|
+
# name: "DatasetName", # required
|
2596
|
+
# },
|
2191
2597
|
# },
|
2192
2598
|
# ],
|
2599
|
+
# retention_period: {
|
2600
|
+
# unlimited: false,
|
2601
|
+
# number_of_days: 1,
|
2602
|
+
# },
|
2193
2603
|
# }
|
2194
2604
|
#
|
2195
2605
|
# @!attribute [rw] dataset_name
|
@@ -2197,8 +2607,7 @@ module Aws::IoTAnalytics
|
|
2197
2607
|
# @return [String]
|
2198
2608
|
#
|
2199
2609
|
# @!attribute [rw] actions
|
2200
|
-
# A list of "DatasetAction" objects.
|
2201
|
-
# this time.
|
2610
|
+
# A list of "DatasetAction" objects.
|
2202
2611
|
# @return [Array<Types::DatasetAction>]
|
2203
2612
|
#
|
2204
2613
|
# @!attribute [rw] triggers
|
@@ -2206,10 +2615,15 @@ module Aws::IoTAnalytics
|
|
2206
2615
|
# contain up to five **DataSetTrigger** objects.
|
2207
2616
|
# @return [Array<Types::DatasetTrigger>]
|
2208
2617
|
#
|
2618
|
+
# @!attribute [rw] retention_period
|
2619
|
+
# How long, in days, message data is kept for the data set.
|
2620
|
+
# @return [Types::RetentionPeriod]
|
2621
|
+
#
|
2209
2622
|
class UpdateDatasetRequest < Struct.new(
|
2210
2623
|
:dataset_name,
|
2211
2624
|
:actions,
|
2212
|
-
:triggers
|
2625
|
+
:triggers,
|
2626
|
+
:retention_period)
|
2213
2627
|
include Aws::Structure
|
2214
2628
|
end
|
2215
2629
|
|
@@ -2327,5 +2741,56 @@ module Aws::IoTAnalytics
|
|
2327
2741
|
include Aws::Structure
|
2328
2742
|
end
|
2329
2743
|
|
2744
|
+
# An instance of a variable to be passed to the "containerAction"
|
2745
|
+
# execution. Each variable must have a name and a value given by one of
|
2746
|
+
# "stringValue", "datasetContentVersionValue", or
|
2747
|
+
# "outputFileUriValue".
|
2748
|
+
#
|
2749
|
+
# @note When making an API call, you may pass Variable
|
2750
|
+
# data as a hash:
|
2751
|
+
#
|
2752
|
+
# {
|
2753
|
+
# name: "VariableName", # required
|
2754
|
+
# string_value: "StringValue",
|
2755
|
+
# double_value: 1.0,
|
2756
|
+
# dataset_content_version_value: {
|
2757
|
+
# dataset_name: "DatasetName", # required
|
2758
|
+
# },
|
2759
|
+
# output_file_uri_value: {
|
2760
|
+
# file_name: "OutputFileName", # required
|
2761
|
+
# },
|
2762
|
+
# }
|
2763
|
+
#
|
2764
|
+
# @!attribute [rw] name
|
2765
|
+
# The name of the variable.
|
2766
|
+
# @return [String]
|
2767
|
+
#
|
2768
|
+
# @!attribute [rw] string_value
|
2769
|
+
# The value of the variable as a string.
|
2770
|
+
# @return [String]
|
2771
|
+
#
|
2772
|
+
# @!attribute [rw] double_value
|
2773
|
+
# The value of the variable as a double (numeric).
|
2774
|
+
# @return [Float]
|
2775
|
+
#
|
2776
|
+
# @!attribute [rw] dataset_content_version_value
|
2777
|
+
# The value of the variable as a structure that specifies a data set
|
2778
|
+
# content version.
|
2779
|
+
# @return [Types::DatasetContentVersionValue]
|
2780
|
+
#
|
2781
|
+
# @!attribute [rw] output_file_uri_value
|
2782
|
+
# The value of the variable as a structure that specifies an output
|
2783
|
+
# file URI.
|
2784
|
+
# @return [Types::OutputFileUriValue]
|
2785
|
+
#
|
2786
|
+
class Variable < Struct.new(
|
2787
|
+
:name,
|
2788
|
+
:string_value,
|
2789
|
+
:double_value,
|
2790
|
+
:dataset_content_version_value,
|
2791
|
+
:output_file_uri_value)
|
2792
|
+
include Aws::Structure
|
2793
|
+
end
|
2794
|
+
|
2330
2795
|
end
|
2331
2796
|
end
|