aws-sdk-iotanalytics 1.2.0 → 1.3.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: 4975d670c6339097585a3101734b09d0c38c9667
4
- data.tar.gz: 73820072ed89253b6bb4297a81c0a7471430a297
3
+ metadata.gz: c745dd1d7c4a8c009f3fb1f562f17f6485e3d185
4
+ data.tar.gz: 7fb97b754a7063ffc264175673330c612e4f3955
5
5
  SHA512:
6
- metadata.gz: c78e0f3b065fdbd38cd8722fb81196ce6afb46b4fead5344c079fc701365b724fe5d225bec136be39b7f62d5de9e184646975fe631684d1a8e41e3d4464636dd
7
- data.tar.gz: 8806e153e1e3deacbe63b0094578b945667ab4fc54fab5b0267cb17ff5a4d429e9babd745b9d1b0a9688ab04f4b131266a05f313d1bf2d2916425ece7a6cef35
6
+ metadata.gz: ee872cc5b86099bb4f0d9fb9bf8540cfc814e304ab313dec5a951c50676ae9a4a28ac4521c74af1e4162d9dab54b3634a5296ec2c6cbd74f81650d086f685f39
7
+ data.tar.gz: dbd77a90ef17b6dcb877ca1bec7a09e47759b5cc611adef9d4d323d46f24fe0e67282fd342146cbca0171f580ea0036ccc011884a68e8f0c750eb910a150541a
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-iotanalytics/customizations'
42
42
  # @service
43
43
  module Aws::IoTAnalytics
44
44
 
45
- GEM_VERSION = '1.2.0'
45
+ GEM_VERSION = '1.3.0'
46
46
 
47
47
  end
@@ -628,14 +628,19 @@ module Aws::IoTAnalytics
628
628
  # @option params [required, String] :channel_name
629
629
  # The name of the channel whose information is retrieved.
630
630
  #
631
+ # @option params [Boolean] :include_statistics
632
+ # If true, include statistics about the channel in the response.
633
+ #
631
634
  # @return [Types::DescribeChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
632
635
  #
633
636
  # * {Types::DescribeChannelResponse#channel #channel} => Types::Channel
637
+ # * {Types::DescribeChannelResponse#statistics #statistics} => Types::ChannelStatistics
634
638
  #
635
639
  # @example Request syntax with placeholder values
636
640
  #
637
641
  # resp = client.describe_channel({
638
642
  # channel_name: "ChannelName", # required
643
+ # include_statistics: false,
639
644
  # })
640
645
  #
641
646
  # @example Response structure
@@ -647,6 +652,8 @@ module Aws::IoTAnalytics
647
652
  # resp.channel.retention_period.number_of_days #=> Integer
648
653
  # resp.channel.creation_time #=> Time
649
654
  # resp.channel.last_update_time #=> Time
655
+ # resp.statistics.size.estimated_size_in_bytes #=> Float
656
+ # resp.statistics.size.estimated_on #=> Time
650
657
  #
651
658
  # @overload describe_channel(params = {})
652
659
  # @param [Hash] params ({})
@@ -695,14 +702,19 @@ module Aws::IoTAnalytics
695
702
  # @option params [required, String] :datastore_name
696
703
  # The name of the data store
697
704
  #
705
+ # @option params [Boolean] :include_statistics
706
+ # If true, include statistics about the data store in the response.
707
+ #
698
708
  # @return [Types::DescribeDatastoreResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
699
709
  #
700
710
  # * {Types::DescribeDatastoreResponse#datastore #datastore} => Types::Datastore
711
+ # * {Types::DescribeDatastoreResponse#statistics #statistics} => Types::DatastoreStatistics
701
712
  #
702
713
  # @example Request syntax with placeholder values
703
714
  #
704
715
  # resp = client.describe_datastore({
705
716
  # datastore_name: "DatastoreName", # required
717
+ # include_statistics: false,
706
718
  # })
707
719
  #
708
720
  # @example Response structure
@@ -714,6 +726,8 @@ module Aws::IoTAnalytics
714
726
  # resp.datastore.retention_period.number_of_days #=> Integer
715
727
  # resp.datastore.creation_time #=> Time
716
728
  # resp.datastore.last_update_time #=> Time
729
+ # resp.statistics.size.estimated_size_in_bytes #=> Float
730
+ # resp.statistics.size.estimated_on #=> Time
717
731
  #
718
732
  # @overload describe_datastore(params = {})
719
733
  # @param [Hash] params ({})
@@ -1493,7 +1507,7 @@ module Aws::IoTAnalytics
1493
1507
  params: params,
1494
1508
  config: config)
1495
1509
  context[:gem_name] = 'aws-sdk-iotanalytics'
1496
- context[:gem_version] = '1.2.0'
1510
+ context[:gem_version] = '1.3.0'
1497
1511
  Seahorse::Client::Request.new(handlers, context)
1498
1512
  end
1499
1513
 
@@ -27,6 +27,7 @@ module Aws::IoTAnalytics
27
27
  ChannelActivity = Shapes::StructureShape.new(name: 'ChannelActivity')
28
28
  ChannelArn = Shapes::StringShape.new(name: 'ChannelArn')
29
29
  ChannelName = Shapes::StringShape.new(name: 'ChannelName')
30
+ ChannelStatistics = Shapes::StructureShape.new(name: 'ChannelStatistics')
30
31
  ChannelStatus = Shapes::StringShape.new(name: 'ChannelStatus')
31
32
  ChannelSummaries = Shapes::ListShape.new(name: 'ChannelSummaries')
32
33
  ChannelSummary = Shapes::StructureShape.new(name: 'ChannelSummary')
@@ -59,6 +60,7 @@ module Aws::IoTAnalytics
59
60
  DatastoreActivity = Shapes::StructureShape.new(name: 'DatastoreActivity')
60
61
  DatastoreArn = Shapes::StringShape.new(name: 'DatastoreArn')
61
62
  DatastoreName = Shapes::StringShape.new(name: 'DatastoreName')
63
+ DatastoreStatistics = Shapes::StructureShape.new(name: 'DatastoreStatistics')
62
64
  DatastoreStatus = Shapes::StringShape.new(name: 'DatastoreStatus')
63
65
  DatastoreSummaries = Shapes::ListShape.new(name: 'DatastoreSummaries')
64
66
  DatastoreSummary = Shapes::StructureShape.new(name: 'DatastoreSummary')
@@ -83,10 +85,12 @@ module Aws::IoTAnalytics
83
85
  EntryName = Shapes::StringShape.new(name: 'EntryName')
84
86
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
85
87
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
88
+ EstimatedResourceSize = Shapes::StructureShape.new(name: 'EstimatedResourceSize')
86
89
  FilterActivity = Shapes::StructureShape.new(name: 'FilterActivity')
87
90
  FilterExpression = Shapes::StringShape.new(name: 'FilterExpression')
88
91
  GetDatasetContentRequest = Shapes::StructureShape.new(name: 'GetDatasetContentRequest')
89
92
  GetDatasetContentResponse = Shapes::StructureShape.new(name: 'GetDatasetContentResponse')
93
+ IncludeStatisticsFlag = Shapes::BooleanShape.new(name: 'IncludeStatisticsFlag')
90
94
  InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
91
95
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
92
96
  LambdaActivity = Shapes::StructureShape.new(name: 'LambdaActivity')
@@ -145,6 +149,7 @@ module Aws::IoTAnalytics
145
149
  ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
146
150
  SelectAttributesActivity = Shapes::StructureShape.new(name: 'SelectAttributesActivity')
147
151
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
152
+ SizeInBytes = Shapes::FloatShape.new(name: 'SizeInBytes')
148
153
  SqlQuery = Shapes::StringShape.new(name: 'SqlQuery')
149
154
  SqlQueryDatasetAction = Shapes::StructureShape.new(name: 'SqlQueryDatasetAction')
150
155
  StartPipelineReprocessingRequest = Shapes::StructureShape.new(name: 'StartPipelineReprocessingRequest')
@@ -213,6 +218,9 @@ module Aws::IoTAnalytics
213
218
  ChannelActivity.add_member(:next, Shapes::ShapeRef.new(shape: ActivityName, location_name: "next"))
214
219
  ChannelActivity.struct_class = Types::ChannelActivity
215
220
 
221
+ ChannelStatistics.add_member(:size, Shapes::ShapeRef.new(shape: EstimatedResourceSize, location_name: "size"))
222
+ ChannelStatistics.struct_class = Types::ChannelStatistics
223
+
216
224
  ChannelSummaries.member = Shapes::ShapeRef.new(shape: ChannelSummary)
217
225
 
218
226
  ChannelSummary.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "channelName"))
@@ -313,6 +321,9 @@ module Aws::IoTAnalytics
313
321
  DatastoreActivity.add_member(:datastore_name, Shapes::ShapeRef.new(shape: DatastoreName, required: true, location_name: "datastoreName"))
314
322
  DatastoreActivity.struct_class = Types::DatastoreActivity
315
323
 
324
+ DatastoreStatistics.add_member(:size, Shapes::ShapeRef.new(shape: EstimatedResourceSize, location_name: "size"))
325
+ DatastoreStatistics.struct_class = Types::DatastoreStatistics
326
+
316
327
  DatastoreSummaries.member = Shapes::ShapeRef.new(shape: DatastoreSummary)
317
328
 
318
329
  DatastoreSummary.add_member(:datastore_name, Shapes::ShapeRef.new(shape: DatastoreName, location_name: "datastoreName"))
@@ -338,9 +349,11 @@ module Aws::IoTAnalytics
338
349
  DeletePipelineRequest.struct_class = Types::DeletePipelineRequest
339
350
 
340
351
  DescribeChannelRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location: "uri", location_name: "channelName"))
352
+ DescribeChannelRequest.add_member(:include_statistics, Shapes::ShapeRef.new(shape: IncludeStatisticsFlag, location: "querystring", location_name: "includeStatistics"))
341
353
  DescribeChannelRequest.struct_class = Types::DescribeChannelRequest
342
354
 
343
355
  DescribeChannelResponse.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "channel"))
356
+ DescribeChannelResponse.add_member(:statistics, Shapes::ShapeRef.new(shape: ChannelStatistics, location_name: "statistics"))
344
357
  DescribeChannelResponse.struct_class = Types::DescribeChannelResponse
345
358
 
346
359
  DescribeDatasetRequest.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetName, required: true, location: "uri", location_name: "datasetName"))
@@ -350,9 +363,11 @@ module Aws::IoTAnalytics
350
363
  DescribeDatasetResponse.struct_class = Types::DescribeDatasetResponse
351
364
 
352
365
  DescribeDatastoreRequest.add_member(:datastore_name, Shapes::ShapeRef.new(shape: DatastoreName, required: true, location: "uri", location_name: "datastoreName"))
366
+ DescribeDatastoreRequest.add_member(:include_statistics, Shapes::ShapeRef.new(shape: IncludeStatisticsFlag, location: "querystring", location_name: "includeStatistics"))
353
367
  DescribeDatastoreRequest.struct_class = Types::DescribeDatastoreRequest
354
368
 
355
369
  DescribeDatastoreResponse.add_member(:datastore, Shapes::ShapeRef.new(shape: Datastore, location_name: "datastore"))
370
+ DescribeDatastoreResponse.add_member(:statistics, Shapes::ShapeRef.new(shape: DatastoreStatistics, location_name: "statistics"))
356
371
  DescribeDatastoreResponse.struct_class = Types::DescribeDatastoreResponse
357
372
 
358
373
  DescribeLoggingOptionsRequest.struct_class = Types::DescribeLoggingOptionsRequest
@@ -380,6 +395,10 @@ module Aws::IoTAnalytics
380
395
  DeviceShadowEnrichActivity.add_member(:next, Shapes::ShapeRef.new(shape: ActivityName, location_name: "next"))
381
396
  DeviceShadowEnrichActivity.struct_class = Types::DeviceShadowEnrichActivity
382
397
 
398
+ EstimatedResourceSize.add_member(:estimated_size_in_bytes, Shapes::ShapeRef.new(shape: SizeInBytes, location_name: "estimatedSizeInBytes"))
399
+ EstimatedResourceSize.add_member(:estimated_on, Shapes::ShapeRef.new(shape: Timestamp, location_name: "estimatedOn"))
400
+ EstimatedResourceSize.struct_class = Types::EstimatedResourceSize
401
+
383
402
  FilterActivity.add_member(:name, Shapes::ShapeRef.new(shape: ActivityName, required: true, location_name: "name"))
384
403
  FilterActivity.add_member(:filter, Shapes::ShapeRef.new(shape: FilterExpression, required: true, location_name: "filter"))
385
404
  FilterActivity.add_member(:next, Shapes::ShapeRef.new(shape: ActivityName, location_name: "next"))
@@ -200,6 +200,17 @@ module Aws::IoTAnalytics
200
200
  include Aws::Structure
201
201
  end
202
202
 
203
+ # Statistics information about the channel.
204
+ #
205
+ # @!attribute [rw] size
206
+ # The estimated size of the channel.
207
+ # @return [Types::EstimatedResourceSize]
208
+ #
209
+ class ChannelStatistics < Struct.new(
210
+ :size)
211
+ include Aws::Structure
212
+ end
213
+
203
214
  # A summary of information about a channel.
204
215
  #
205
216
  # @!attribute [rw] channel_name
@@ -758,6 +769,17 @@ module Aws::IoTAnalytics
758
769
  include Aws::Structure
759
770
  end
760
771
 
772
+ # Statistics information about the data store.
773
+ #
774
+ # @!attribute [rw] size
775
+ # The estimated size of the data store.
776
+ # @return [Types::EstimatedResourceSize]
777
+ #
778
+ class DatastoreStatistics < Struct.new(
779
+ :size)
780
+ include Aws::Structure
781
+ end
782
+
761
783
  # A summary of information about a data store.
762
784
  #
763
785
  # @!attribute [rw] datastore_name
@@ -878,14 +900,20 @@ module Aws::IoTAnalytics
878
900
  #
879
901
  # {
880
902
  # channel_name: "ChannelName", # required
903
+ # include_statistics: false,
881
904
  # }
882
905
  #
883
906
  # @!attribute [rw] channel_name
884
907
  # The name of the channel whose information is retrieved.
885
908
  # @return [String]
886
909
  #
910
+ # @!attribute [rw] include_statistics
911
+ # If true, include statistics about the channel in the response.
912
+ # @return [Boolean]
913
+ #
887
914
  class DescribeChannelRequest < Struct.new(
888
- :channel_name)
915
+ :channel_name,
916
+ :include_statistics)
889
917
  include Aws::Structure
890
918
  end
891
919
 
@@ -893,8 +921,14 @@ module Aws::IoTAnalytics
893
921
  # An object that contains information about the channel.
894
922
  # @return [Types::Channel]
895
923
  #
924
+ # @!attribute [rw] statistics
925
+ # Statistics about the channel. Included if the 'includeStatistics'
926
+ # parameter is set to true in the request.
927
+ # @return [Types::ChannelStatistics]
928
+ #
896
929
  class DescribeChannelResponse < Struct.new(
897
- :channel)
930
+ :channel,
931
+ :statistics)
898
932
  include Aws::Structure
899
933
  end
900
934
 
@@ -928,14 +962,20 @@ module Aws::IoTAnalytics
928
962
  #
929
963
  # {
930
964
  # datastore_name: "DatastoreName", # required
965
+ # include_statistics: false,
931
966
  # }
932
967
  #
933
968
  # @!attribute [rw] datastore_name
934
969
  # The name of the data store
935
970
  # @return [String]
936
971
  #
972
+ # @!attribute [rw] include_statistics
973
+ # If true, include statistics about the data store in the response.
974
+ # @return [Boolean]
975
+ #
937
976
  class DescribeDatastoreRequest < Struct.new(
938
- :datastore_name)
977
+ :datastore_name,
978
+ :include_statistics)
939
979
  include Aws::Structure
940
980
  end
941
981
 
@@ -943,8 +983,14 @@ module Aws::IoTAnalytics
943
983
  # Information about the data store.
944
984
  # @return [Types::Datastore]
945
985
  #
986
+ # @!attribute [rw] statistics
987
+ # Statistics about the data store. Included if the
988
+ # 'includeStatistics' parameter is set to true in the request.
989
+ # @return [Types::DatastoreStatistics]
990
+ #
946
991
  class DescribeDatastoreResponse < Struct.new(
947
- :datastore)
992
+ :datastore,
993
+ :statistics)
948
994
  include Aws::Structure
949
995
  end
950
996
 
@@ -1075,6 +1121,22 @@ module Aws::IoTAnalytics
1075
1121
  include Aws::Structure
1076
1122
  end
1077
1123
 
1124
+ # The estimated size of the resource.
1125
+ #
1126
+ # @!attribute [rw] estimated_size_in_bytes
1127
+ # The estimated size of the resource in bytes.
1128
+ # @return [Float]
1129
+ #
1130
+ # @!attribute [rw] estimated_on
1131
+ # The time when the estimate of the size of the resource was made.
1132
+ # @return [Time]
1133
+ #
1134
+ class EstimatedResourceSize < Struct.new(
1135
+ :estimated_size_in_bytes,
1136
+ :estimated_on)
1137
+ include Aws::Structure
1138
+ end
1139
+
1078
1140
  # An activity that filters a message based on its attributes.
1079
1141
  #
1080
1142
  # @note When making an API call, you may pass FilterActivity
@@ -1457,7 +1519,9 @@ module Aws::IoTAnalytics
1457
1519
  # @return [String]
1458
1520
  #
1459
1521
  # @!attribute [rw] payload
1460
- # The payload of the message.
1522
+ # The payload of the message. This may be a JSON string or a
1523
+ # Base64-encoded string representing binary data (in which case you
1524
+ # must decode it by means of a pipeline activity).
1461
1525
  # @return [String]
1462
1526
  #
1463
1527
  class Message < Struct.new(
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.2.0
4
+ version: 1.3.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-06-26 00:00:00.000000000 Z
11
+ date: 2018-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core