aws-sdk-iotanalytics 1.10.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iotanalytics.rb +1 -1
- data/lib/aws-sdk-iotanalytics/client.rb +31 -1
- data/lib/aws-sdk-iotanalytics/client_api.rb +21 -0
- data/lib/aws-sdk-iotanalytics/types.rb +97 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93ffc0e3c4a474d9433ccf1084d59525569ed658
|
4
|
+
data.tar.gz: aa0fac8a27d6826c1b24f7120acabde703ddfa11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a05a63e3d17fb3b0c066b88f040834baf26609bb1bf8a1226b2e35677d5dd770240afadfc2a92705630a427bd80421f7e3a29b6ae80e93e7f22c4c96e862b480
|
7
|
+
data.tar.gz: c86a545fcecac719624b02b5d138e3ed1f09eefbcfbd42a23079b8494e77678a4e1237e0f23b0638523afb3b52394d67e2d61208f75ee167b986cddc8a6cc4cb
|
data/lib/aws-sdk-iotanalytics.rb
CHANGED
@@ -337,6 +337,8 @@ module Aws::IoTAnalytics
|
|
337
337
|
# created. The list of triggers can be empty or contain up to five
|
338
338
|
# **DataSetTrigger** objects.
|
339
339
|
#
|
340
|
+
# @option params [Array<Types::DatasetContentDeliveryRule>] :content_delivery_rules
|
341
|
+
#
|
340
342
|
# @option params [Types::RetentionPeriod] :retention_period
|
341
343
|
# \[Optional\] How long, in days, message data is kept for the data set.
|
342
344
|
# If not given or set to null, the latest version of the dataset content
|
@@ -403,6 +405,17 @@ module Aws::IoTAnalytics
|
|
403
405
|
# },
|
404
406
|
# },
|
405
407
|
# ],
|
408
|
+
# content_delivery_rules: [
|
409
|
+
# {
|
410
|
+
# entry_name: "EntryName",
|
411
|
+
# destination: { # required
|
412
|
+
# iot_events_destination_configuration: {
|
413
|
+
# input_name: "IotEventsInputName", # required
|
414
|
+
# role_arn: "RoleArn", # required
|
415
|
+
# },
|
416
|
+
# },
|
417
|
+
# },
|
418
|
+
# ],
|
406
419
|
# retention_period: {
|
407
420
|
# unlimited: false,
|
408
421
|
# number_of_days: 1,
|
@@ -800,6 +813,10 @@ module Aws::IoTAnalytics
|
|
800
813
|
# resp.dataset.triggers #=> Array
|
801
814
|
# resp.dataset.triggers[0].schedule.expression #=> String
|
802
815
|
# resp.dataset.triggers[0].dataset.name #=> String
|
816
|
+
# resp.dataset.content_delivery_rules #=> Array
|
817
|
+
# resp.dataset.content_delivery_rules[0].entry_name #=> String
|
818
|
+
# resp.dataset.content_delivery_rules[0].destination.iot_events_destination_configuration.input_name #=> String
|
819
|
+
# resp.dataset.content_delivery_rules[0].destination.iot_events_destination_configuration.role_arn #=> String
|
803
820
|
# resp.dataset.status #=> String, one of "CREATING", "ACTIVE", "DELETING"
|
804
821
|
# resp.dataset.creation_time #=> Time
|
805
822
|
# resp.dataset.last_update_time #=> Time
|
@@ -1510,6 +1527,8 @@ module Aws::IoTAnalytics
|
|
1510
1527
|
# A list of "DatasetTrigger" objects. The list can be empty or can
|
1511
1528
|
# contain up to five **DataSetTrigger** objects.
|
1512
1529
|
#
|
1530
|
+
# @option params [Array<Types::DatasetContentDeliveryRule>] :content_delivery_rules
|
1531
|
+
#
|
1513
1532
|
# @option params [Types::RetentionPeriod] :retention_period
|
1514
1533
|
# How long, in days, message data is kept for the data set.
|
1515
1534
|
#
|
@@ -1566,6 +1585,17 @@ module Aws::IoTAnalytics
|
|
1566
1585
|
# },
|
1567
1586
|
# },
|
1568
1587
|
# ],
|
1588
|
+
# content_delivery_rules: [
|
1589
|
+
# {
|
1590
|
+
# entry_name: "EntryName",
|
1591
|
+
# destination: { # required
|
1592
|
+
# iot_events_destination_configuration: {
|
1593
|
+
# input_name: "IotEventsInputName", # required
|
1594
|
+
# role_arn: "RoleArn", # required
|
1595
|
+
# },
|
1596
|
+
# },
|
1597
|
+
# },
|
1598
|
+
# ],
|
1569
1599
|
# retention_period: {
|
1570
1600
|
# unlimited: false,
|
1571
1601
|
# number_of_days: 1,
|
@@ -1709,7 +1739,7 @@ module Aws::IoTAnalytics
|
|
1709
1739
|
params: params,
|
1710
1740
|
config: config)
|
1711
1741
|
context[:gem_name] = 'aws-sdk-iotanalytics'
|
1712
|
-
context[:gem_version] = '1.
|
1742
|
+
context[:gem_version] = '1.11.0'
|
1713
1743
|
Seahorse::Client::Request.new(handlers, context)
|
1714
1744
|
end
|
1715
1745
|
|
@@ -51,6 +51,9 @@ module Aws::IoTAnalytics
|
|
51
51
|
DatasetActionType = Shapes::StringShape.new(name: 'DatasetActionType')
|
52
52
|
DatasetActions = Shapes::ListShape.new(name: 'DatasetActions')
|
53
53
|
DatasetArn = Shapes::StringShape.new(name: 'DatasetArn')
|
54
|
+
DatasetContentDeliveryDestination = Shapes::StructureShape.new(name: 'DatasetContentDeliveryDestination')
|
55
|
+
DatasetContentDeliveryRule = Shapes::StructureShape.new(name: 'DatasetContentDeliveryRule')
|
56
|
+
DatasetContentDeliveryRules = Shapes::ListShape.new(name: 'DatasetContentDeliveryRules')
|
54
57
|
DatasetContentState = Shapes::StringShape.new(name: 'DatasetContentState')
|
55
58
|
DatasetContentStatus = Shapes::StructureShape.new(name: 'DatasetContentStatus')
|
56
59
|
DatasetContentSummaries = Shapes::ListShape.new(name: 'DatasetContentSummaries')
|
@@ -105,6 +108,8 @@ module Aws::IoTAnalytics
|
|
105
108
|
IncludeStatisticsFlag = Shapes::BooleanShape.new(name: 'IncludeStatisticsFlag')
|
106
109
|
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
107
110
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
111
|
+
IotEventsDestinationConfiguration = Shapes::StructureShape.new(name: 'IotEventsDestinationConfiguration')
|
112
|
+
IotEventsInputName = Shapes::StringShape.new(name: 'IotEventsInputName')
|
108
113
|
LambdaActivity = Shapes::StructureShape.new(name: 'LambdaActivity')
|
109
114
|
LambdaName = Shapes::StringShape.new(name: 'LambdaName')
|
110
115
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
@@ -281,6 +286,7 @@ module Aws::IoTAnalytics
|
|
281
286
|
CreateDatasetRequest.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetName, required: true, location_name: "datasetName"))
|
282
287
|
CreateDatasetRequest.add_member(:actions, Shapes::ShapeRef.new(shape: DatasetActions, required: true, location_name: "actions"))
|
283
288
|
CreateDatasetRequest.add_member(:triggers, Shapes::ShapeRef.new(shape: DatasetTriggers, location_name: "triggers"))
|
289
|
+
CreateDatasetRequest.add_member(:content_delivery_rules, Shapes::ShapeRef.new(shape: DatasetContentDeliveryRules, location_name: "contentDeliveryRules"))
|
284
290
|
CreateDatasetRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
|
285
291
|
CreateDatasetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
286
292
|
CreateDatasetRequest.struct_class = Types::CreateDatasetRequest
|
@@ -313,6 +319,7 @@ module Aws::IoTAnalytics
|
|
313
319
|
Dataset.add_member(:arn, Shapes::ShapeRef.new(shape: DatasetArn, location_name: "arn"))
|
314
320
|
Dataset.add_member(:actions, Shapes::ShapeRef.new(shape: DatasetActions, location_name: "actions"))
|
315
321
|
Dataset.add_member(:triggers, Shapes::ShapeRef.new(shape: DatasetTriggers, location_name: "triggers"))
|
322
|
+
Dataset.add_member(:content_delivery_rules, Shapes::ShapeRef.new(shape: DatasetContentDeliveryRules, location_name: "contentDeliveryRules"))
|
316
323
|
Dataset.add_member(:status, Shapes::ShapeRef.new(shape: DatasetStatus, location_name: "status"))
|
317
324
|
Dataset.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
318
325
|
Dataset.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
|
@@ -332,6 +339,15 @@ module Aws::IoTAnalytics
|
|
332
339
|
|
333
340
|
DatasetActions.member = Shapes::ShapeRef.new(shape: DatasetAction)
|
334
341
|
|
342
|
+
DatasetContentDeliveryDestination.add_member(:iot_events_destination_configuration, Shapes::ShapeRef.new(shape: IotEventsDestinationConfiguration, location_name: "iotEventsDestinationConfiguration"))
|
343
|
+
DatasetContentDeliveryDestination.struct_class = Types::DatasetContentDeliveryDestination
|
344
|
+
|
345
|
+
DatasetContentDeliveryRule.add_member(:entry_name, Shapes::ShapeRef.new(shape: EntryName, location_name: "entryName"))
|
346
|
+
DatasetContentDeliveryRule.add_member(:destination, Shapes::ShapeRef.new(shape: DatasetContentDeliveryDestination, required: true, location_name: "destination"))
|
347
|
+
DatasetContentDeliveryRule.struct_class = Types::DatasetContentDeliveryRule
|
348
|
+
|
349
|
+
DatasetContentDeliveryRules.member = Shapes::ShapeRef.new(shape: DatasetContentDeliveryRule)
|
350
|
+
|
335
351
|
DatasetContentStatus.add_member(:state, Shapes::ShapeRef.new(shape: DatasetContentState, location_name: "state"))
|
336
352
|
DatasetContentStatus.add_member(:reason, Shapes::ShapeRef.new(shape: Reason, location_name: "reason"))
|
337
353
|
DatasetContentStatus.struct_class = Types::DatasetContentStatus
|
@@ -477,6 +493,10 @@ module Aws::IoTAnalytics
|
|
477
493
|
GetDatasetContentResponse.add_member(:status, Shapes::ShapeRef.new(shape: DatasetContentStatus, location_name: "status"))
|
478
494
|
GetDatasetContentResponse.struct_class = Types::GetDatasetContentResponse
|
479
495
|
|
496
|
+
IotEventsDestinationConfiguration.add_member(:input_name, Shapes::ShapeRef.new(shape: IotEventsInputName, required: true, location_name: "inputName"))
|
497
|
+
IotEventsDestinationConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
498
|
+
IotEventsDestinationConfiguration.struct_class = Types::IotEventsDestinationConfiguration
|
499
|
+
|
480
500
|
LambdaActivity.add_member(:name, Shapes::ShapeRef.new(shape: ActivityName, required: true, location_name: "name"))
|
481
501
|
LambdaActivity.add_member(:lambda_name, Shapes::ShapeRef.new(shape: LambdaName, required: true, location_name: "lambdaName"))
|
482
502
|
LambdaActivity.add_member(:batch_size, Shapes::ShapeRef.new(shape: ActivityBatchSize, required: true, location_name: "batchSize"))
|
@@ -677,6 +697,7 @@ module Aws::IoTAnalytics
|
|
677
697
|
UpdateDatasetRequest.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetName, required: true, location: "uri", location_name: "datasetName"))
|
678
698
|
UpdateDatasetRequest.add_member(:actions, Shapes::ShapeRef.new(shape: DatasetActions, required: true, location_name: "actions"))
|
679
699
|
UpdateDatasetRequest.add_member(:triggers, Shapes::ShapeRef.new(shape: DatasetTriggers, location_name: "triggers"))
|
700
|
+
UpdateDatasetRequest.add_member(:content_delivery_rules, Shapes::ShapeRef.new(shape: DatasetContentDeliveryRules, location_name: "contentDeliveryRules"))
|
680
701
|
UpdateDatasetRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
|
681
702
|
UpdateDatasetRequest.struct_class = Types::UpdateDatasetRequest
|
682
703
|
|
@@ -431,6 +431,17 @@ module Aws::IoTAnalytics
|
|
431
431
|
# },
|
432
432
|
# },
|
433
433
|
# ],
|
434
|
+
# content_delivery_rules: [
|
435
|
+
# {
|
436
|
+
# entry_name: "EntryName",
|
437
|
+
# destination: { # required
|
438
|
+
# iot_events_destination_configuration: {
|
439
|
+
# input_name: "IotEventsInputName", # required
|
440
|
+
# role_arn: "RoleArn", # required
|
441
|
+
# },
|
442
|
+
# },
|
443
|
+
# },
|
444
|
+
# ],
|
434
445
|
# retention_period: {
|
435
446
|
# unlimited: false,
|
436
447
|
# number_of_days: 1,
|
@@ -458,6 +469,9 @@ module Aws::IoTAnalytics
|
|
458
469
|
# up to five **DataSetTrigger** objects.
|
459
470
|
# @return [Array<Types::DatasetTrigger>]
|
460
471
|
#
|
472
|
+
# @!attribute [rw] content_delivery_rules
|
473
|
+
# @return [Array<Types::DatasetContentDeliveryRule>]
|
474
|
+
#
|
461
475
|
# @!attribute [rw] retention_period
|
462
476
|
# \[Optional\] How long, in days, message data is kept for the data
|
463
477
|
# set. If not given or set to null, the latest version of the dataset
|
@@ -473,6 +487,7 @@ module Aws::IoTAnalytics
|
|
473
487
|
:dataset_name,
|
474
488
|
:actions,
|
475
489
|
:triggers,
|
490
|
+
:content_delivery_rules,
|
476
491
|
:retention_period,
|
477
492
|
:tags)
|
478
493
|
include Aws::Structure
|
@@ -686,6 +701,9 @@ module Aws::IoTAnalytics
|
|
686
701
|
# automatically updated.
|
687
702
|
# @return [Array<Types::DatasetTrigger>]
|
688
703
|
#
|
704
|
+
# @!attribute [rw] content_delivery_rules
|
705
|
+
# @return [Array<Types::DatasetContentDeliveryRule>]
|
706
|
+
#
|
689
707
|
# @!attribute [rw] status
|
690
708
|
# The status of the data set.
|
691
709
|
# @return [String]
|
@@ -708,6 +726,7 @@ module Aws::IoTAnalytics
|
|
708
726
|
:arn,
|
709
727
|
:actions,
|
710
728
|
:triggers,
|
729
|
+
:content_delivery_rules,
|
711
730
|
:status,
|
712
731
|
:creation_time,
|
713
732
|
:last_update_time,
|
@@ -797,6 +816,49 @@ module Aws::IoTAnalytics
|
|
797
816
|
include Aws::Structure
|
798
817
|
end
|
799
818
|
|
819
|
+
# @note When making an API call, you may pass DatasetContentDeliveryDestination
|
820
|
+
# data as a hash:
|
821
|
+
#
|
822
|
+
# {
|
823
|
+
# iot_events_destination_configuration: {
|
824
|
+
# input_name: "IotEventsInputName", # required
|
825
|
+
# role_arn: "RoleArn", # required
|
826
|
+
# },
|
827
|
+
# }
|
828
|
+
#
|
829
|
+
# @!attribute [rw] iot_events_destination_configuration
|
830
|
+
# @return [Types::IotEventsDestinationConfiguration]
|
831
|
+
#
|
832
|
+
class DatasetContentDeliveryDestination < Struct.new(
|
833
|
+
:iot_events_destination_configuration)
|
834
|
+
include Aws::Structure
|
835
|
+
end
|
836
|
+
|
837
|
+
# @note When making an API call, you may pass DatasetContentDeliveryRule
|
838
|
+
# data as a hash:
|
839
|
+
#
|
840
|
+
# {
|
841
|
+
# entry_name: "EntryName",
|
842
|
+
# destination: { # required
|
843
|
+
# iot_events_destination_configuration: {
|
844
|
+
# input_name: "IotEventsInputName", # required
|
845
|
+
# role_arn: "RoleArn", # required
|
846
|
+
# },
|
847
|
+
# },
|
848
|
+
# }
|
849
|
+
#
|
850
|
+
# @!attribute [rw] entry_name
|
851
|
+
# @return [String]
|
852
|
+
#
|
853
|
+
# @!attribute [rw] destination
|
854
|
+
# @return [Types::DatasetContentDeliveryDestination]
|
855
|
+
#
|
856
|
+
class DatasetContentDeliveryRule < Struct.new(
|
857
|
+
:entry_name,
|
858
|
+
:destination)
|
859
|
+
include Aws::Structure
|
860
|
+
end
|
861
|
+
|
800
862
|
# The state of the data set contents and the reason they are in this
|
801
863
|
# state.
|
802
864
|
#
|
@@ -1501,6 +1563,26 @@ module Aws::IoTAnalytics
|
|
1501
1563
|
include Aws::Structure
|
1502
1564
|
end
|
1503
1565
|
|
1566
|
+
# @note When making an API call, you may pass IotEventsDestinationConfiguration
|
1567
|
+
# data as a hash:
|
1568
|
+
#
|
1569
|
+
# {
|
1570
|
+
# input_name: "IotEventsInputName", # required
|
1571
|
+
# role_arn: "RoleArn", # required
|
1572
|
+
# }
|
1573
|
+
#
|
1574
|
+
# @!attribute [rw] input_name
|
1575
|
+
# @return [String]
|
1576
|
+
#
|
1577
|
+
# @!attribute [rw] role_arn
|
1578
|
+
# @return [String]
|
1579
|
+
#
|
1580
|
+
class IotEventsDestinationConfiguration < Struct.new(
|
1581
|
+
:input_name,
|
1582
|
+
:role_arn)
|
1583
|
+
include Aws::Structure
|
1584
|
+
end
|
1585
|
+
|
1504
1586
|
# An activity that runs a Lambda function to modify the message.
|
1505
1587
|
#
|
1506
1588
|
# @note When making an API call, you may pass LambdaActivity
|
@@ -2667,6 +2749,17 @@ module Aws::IoTAnalytics
|
|
2667
2749
|
# },
|
2668
2750
|
# },
|
2669
2751
|
# ],
|
2752
|
+
# content_delivery_rules: [
|
2753
|
+
# {
|
2754
|
+
# entry_name: "EntryName",
|
2755
|
+
# destination: { # required
|
2756
|
+
# iot_events_destination_configuration: {
|
2757
|
+
# input_name: "IotEventsInputName", # required
|
2758
|
+
# role_arn: "RoleArn", # required
|
2759
|
+
# },
|
2760
|
+
# },
|
2761
|
+
# },
|
2762
|
+
# ],
|
2670
2763
|
# retention_period: {
|
2671
2764
|
# unlimited: false,
|
2672
2765
|
# number_of_days: 1,
|
@@ -2686,6 +2779,9 @@ module Aws::IoTAnalytics
|
|
2686
2779
|
# contain up to five **DataSetTrigger** objects.
|
2687
2780
|
# @return [Array<Types::DatasetTrigger>]
|
2688
2781
|
#
|
2782
|
+
# @!attribute [rw] content_delivery_rules
|
2783
|
+
# @return [Array<Types::DatasetContentDeliveryRule>]
|
2784
|
+
#
|
2689
2785
|
# @!attribute [rw] retention_period
|
2690
2786
|
# How long, in days, message data is kept for the data set.
|
2691
2787
|
# @return [Types::RetentionPeriod]
|
@@ -2694,6 +2790,7 @@ module Aws::IoTAnalytics
|
|
2694
2790
|
:dataset_name,
|
2695
2791
|
:actions,
|
2696
2792
|
:triggers,
|
2793
|
+
:content_delivery_rules,
|
2697
2794
|
:retention_period)
|
2698
2795
|
include Aws::Structure
|
2699
2796
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iotanalytics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.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: 2018-11-
|
11
|
+
date: 2018-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|