aws-sdk-iotanalytics 1.35.0 → 1.36.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
  SHA256:
3
- metadata.gz: b32118409bf9fe523e30881b211f7b36cd8958e3eafb6bc2f52811ac48b0ea5f
4
- data.tar.gz: 19da51cfe7b8ca4a6422228d177b12176e9ddd34970ecc3f59a14cfcca126f04
3
+ metadata.gz: '08174bbfc26b1c312d446dcc4be7890ee7c07b7eff94d0bfd2eca8b16f3943ed'
4
+ data.tar.gz: d6b73229344f547730f4a083f8e604c8aba5d94f84892694bad9a0f605aa571d
5
5
  SHA512:
6
- metadata.gz: ac3f9576e3ed9cafb5422941f454aa5f0f118bd461315cfe3109d16947dd4a70e05be56e48762b7b3200d9742e08173a8d9b84f28db00a9e0c99eab11a47c177
7
- data.tar.gz: ac8ee07233d763bdd8c0bfc3c25675b8cfac28f517fe36b6367d13339a0027177b737ef2b4373e3c70635bfa5aa4623557783c96217217069d0d3a7c123ac201
6
+ metadata.gz: 3f26c80fc1a352e324d0ba8cb224054a07e47a8be9f02c13c4d4961619ab39645fe7aa8f4fc47fd2ebb79fb3fa4b3c9f1664ab73ae5375df8e8e0bcce8277939
7
+ data.tar.gz: b8191fb25ebca6377a2990d1df89eb0819f2264ce930e9b4bf23f07a9c74c9ad96cd4f4858f8db0c237e64f01c07453fc45b60f2f3c79a1bfe98b0feb4f8e20c
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-iotanalytics/customizations'
48
48
  # @!group service
49
49
  module Aws::IoTAnalytics
50
50
 
51
- GEM_VERSION = '1.35.0'
51
+ GEM_VERSION = '1.36.0'
52
52
 
53
53
  end
@@ -709,6 +709,18 @@ module Aws::IoTAnalytics
709
709
  # @option params [Array<Types::Tag>] :tags
710
710
  # Metadata which can be used to manage the data store.
711
711
  #
712
+ # @option params [Types::FileFormatConfiguration] :file_format_configuration
713
+ # Contains the configuration information of file formats. AWS IoT
714
+ # Analytics data stores support JSON and [Parquet][1].
715
+ #
716
+ # The default file format is JSON. You can specify only one format.
717
+ #
718
+ # You can't change the file format after you create the data store.
719
+ #
720
+ #
721
+ #
722
+ # [1]: https://parquet.apache.org/
723
+ #
712
724
  # @return [Types::CreateDatastoreResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
713
725
  #
714
726
  # * {Types::CreateDatastoreResponse#datastore_name #datastore_name} => String
@@ -738,6 +750,20 @@ module Aws::IoTAnalytics
738
750
  # value: "TagValue", # required
739
751
  # },
740
752
  # ],
753
+ # file_format_configuration: {
754
+ # json_configuration: {
755
+ # },
756
+ # parquet_configuration: {
757
+ # schema_definition: {
758
+ # columns: [
759
+ # {
760
+ # name: "ColumnName", # required
761
+ # type: "ColumnDataType", # required
762
+ # },
763
+ # ],
764
+ # },
765
+ # },
766
+ # },
741
767
  # })
742
768
  #
743
769
  # @example Response structure
@@ -1125,6 +1151,9 @@ module Aws::IoTAnalytics
1125
1151
  # resp.datastore.creation_time #=> Time
1126
1152
  # resp.datastore.last_update_time #=> Time
1127
1153
  # resp.datastore.last_message_arrival_time #=> Time
1154
+ # resp.datastore.file_format_configuration.parquet_configuration.schema_definition.columns #=> Array
1155
+ # resp.datastore.file_format_configuration.parquet_configuration.schema_definition.columns[0].name #=> String
1156
+ # resp.datastore.file_format_configuration.parquet_configuration.schema_definition.columns[0].type #=> String
1128
1157
  # resp.statistics.size.estimated_size_in_bytes #=> Float
1129
1158
  # resp.statistics.size.estimated_on #=> Time
1130
1159
  #
@@ -1448,6 +1477,7 @@ module Aws::IoTAnalytics
1448
1477
  # resp.datastore_summaries[0].creation_time #=> Time
1449
1478
  # resp.datastore_summaries[0].last_update_time #=> Time
1450
1479
  # resp.datastore_summaries[0].last_message_arrival_time #=> Time
1480
+ # resp.datastore_summaries[0].file_format_type #=> String, one of "JSON", "PARQUET"
1451
1481
  # resp.next_token #=> String
1452
1482
  #
1453
1483
  # @overload list_datastores(params = {})
@@ -1704,9 +1734,22 @@ module Aws::IoTAnalytics
1704
1734
  # @option params [Time,DateTime,Date,Integer,String] :start_time
1705
1735
  # The start time (inclusive) of raw message data that is reprocessed.
1706
1736
  #
1737
+ # If you specify a value for the `startTime` parameter, you must not use
1738
+ # the `channelMessages` object.
1739
+ #
1707
1740
  # @option params [Time,DateTime,Date,Integer,String] :end_time
1708
1741
  # The end time (exclusive) of raw message data that is reprocessed.
1709
1742
  #
1743
+ # If you specify a value for the `endTime` parameter, you must not use
1744
+ # the `channelMessages` object.
1745
+ #
1746
+ # @option params [Types::ChannelMessages] :channel_messages
1747
+ # Specifies one or more sets of channel messages that you want to
1748
+ # reprocess.
1749
+ #
1750
+ # If you use the `channelMessages` object, you must not specify a value
1751
+ # for `startTime` and `endTime`.
1752
+ #
1710
1753
  # @return [Types::StartPipelineReprocessingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1711
1754
  #
1712
1755
  # * {Types::StartPipelineReprocessingResponse#reprocessing_id #reprocessing_id} => String
@@ -1717,6 +1760,9 @@ module Aws::IoTAnalytics
1717
1760
  # pipeline_name: "PipelineName", # required
1718
1761
  # start_time: Time.now,
1719
1762
  # end_time: Time.now,
1763
+ # channel_messages: {
1764
+ # s3_paths: ["S3PathChannelMessage"],
1765
+ # },
1720
1766
  # })
1721
1767
  #
1722
1768
  # @example Response structure
@@ -1984,6 +2030,18 @@ module Aws::IoTAnalytics
1984
2030
  # the default is`serviceManagedS3`. You cannot change this storage
1985
2031
  # option after the data store is created.
1986
2032
  #
2033
+ # @option params [Types::FileFormatConfiguration] :file_format_configuration
2034
+ # Contains the configuration information of file formats. AWS IoT
2035
+ # Analytics data stores support JSON and [Parquet][1].
2036
+ #
2037
+ # The default file format is JSON. You can specify only one format.
2038
+ #
2039
+ # You can't change the file format after you create the data store.
2040
+ #
2041
+ #
2042
+ #
2043
+ # [1]: https://parquet.apache.org/
2044
+ #
1987
2045
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1988
2046
  #
1989
2047
  # @example Request syntax with placeholder values
@@ -2003,6 +2061,20 @@ module Aws::IoTAnalytics
2003
2061
  # role_arn: "RoleArn", # required
2004
2062
  # },
2005
2063
  # },
2064
+ # file_format_configuration: {
2065
+ # json_configuration: {
2066
+ # },
2067
+ # parquet_configuration: {
2068
+ # schema_definition: {
2069
+ # columns: [
2070
+ # {
2071
+ # name: "ColumnName", # required
2072
+ # type: "ColumnDataType", # required
2073
+ # },
2074
+ # ],
2075
+ # },
2076
+ # },
2077
+ # },
2006
2078
  # })
2007
2079
  #
2008
2080
  # @overload update_datastore(params = {})
@@ -2122,7 +2194,7 @@ module Aws::IoTAnalytics
2122
2194
  params: params,
2123
2195
  config: config)
2124
2196
  context[:gem_name] = 'aws-sdk-iotanalytics'
2125
- context[:gem_version] = '1.35.0'
2197
+ context[:gem_version] = '1.36.0'
2126
2198
  Seahorse::Client::Request.new(handlers, context)
2127
2199
  end
2128
2200
 
@@ -30,6 +30,7 @@ module Aws::IoTAnalytics
30
30
  Channel = Shapes::StructureShape.new(name: 'Channel')
31
31
  ChannelActivity = Shapes::StructureShape.new(name: 'ChannelActivity')
32
32
  ChannelArn = Shapes::StringShape.new(name: 'ChannelArn')
33
+ ChannelMessages = Shapes::StructureShape.new(name: 'ChannelMessages')
33
34
  ChannelName = Shapes::StringShape.new(name: 'ChannelName')
34
35
  ChannelStatistics = Shapes::StructureShape.new(name: 'ChannelStatistics')
35
36
  ChannelStatus = Shapes::StringShape.new(name: 'ChannelStatus')
@@ -37,6 +38,10 @@ module Aws::IoTAnalytics
37
38
  ChannelStorageSummary = Shapes::StructureShape.new(name: 'ChannelStorageSummary')
38
39
  ChannelSummaries = Shapes::ListShape.new(name: 'ChannelSummaries')
39
40
  ChannelSummary = Shapes::StructureShape.new(name: 'ChannelSummary')
41
+ Column = Shapes::StructureShape.new(name: 'Column')
42
+ ColumnDataType = Shapes::StringShape.new(name: 'ColumnDataType')
43
+ ColumnName = Shapes::StringShape.new(name: 'ColumnName')
44
+ Columns = Shapes::ListShape.new(name: 'Columns')
40
45
  ComputeType = Shapes::StringShape.new(name: 'ComputeType')
41
46
  ContainerDatasetAction = Shapes::StructureShape.new(name: 'ContainerDatasetAction')
42
47
  CreateChannelRequest = Shapes::StructureShape.new(name: 'CreateChannelRequest')
@@ -113,6 +118,8 @@ module Aws::IoTAnalytics
113
118
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
114
119
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
115
120
  EstimatedResourceSize = Shapes::StructureShape.new(name: 'EstimatedResourceSize')
121
+ FileFormatConfiguration = Shapes::StructureShape.new(name: 'FileFormatConfiguration')
122
+ FileFormatType = Shapes::StringShape.new(name: 'FileFormatType')
116
123
  FilterActivity = Shapes::StructureShape.new(name: 'FilterActivity')
117
124
  FilterExpression = Shapes::StringShape.new(name: 'FilterExpression')
118
125
  GetDatasetContentRequest = Shapes::StructureShape.new(name: 'GetDatasetContentRequest')
@@ -126,6 +133,7 @@ module Aws::IoTAnalytics
126
133
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
127
134
  IotEventsDestinationConfiguration = Shapes::StructureShape.new(name: 'IotEventsDestinationConfiguration')
128
135
  IotEventsInputName = Shapes::StringShape.new(name: 'IotEventsInputName')
136
+ JsonConfiguration = Shapes::StructureShape.new(name: 'JsonConfiguration')
129
137
  LambdaActivity = Shapes::StructureShape.new(name: 'LambdaActivity')
130
138
  LambdaName = Shapes::StringShape.new(name: 'LambdaName')
131
139
  LateDataRule = Shapes::StructureShape.new(name: 'LateDataRule')
@@ -163,6 +171,7 @@ module Aws::IoTAnalytics
163
171
  OffsetSeconds = Shapes::IntegerShape.new(name: 'OffsetSeconds')
164
172
  OutputFileName = Shapes::StringShape.new(name: 'OutputFileName')
165
173
  OutputFileUriValue = Shapes::StructureShape.new(name: 'OutputFileUriValue')
174
+ ParquetConfiguration = Shapes::StructureShape.new(name: 'ParquetConfiguration')
166
175
  Pipeline = Shapes::StructureShape.new(name: 'Pipeline')
167
176
  PipelineActivities = Shapes::ListShape.new(name: 'PipelineActivities')
168
177
  PipelineActivity = Shapes::StructureShape.new(name: 'PipelineActivity')
@@ -191,10 +200,13 @@ module Aws::IoTAnalytics
191
200
  RunPipelineActivityResponse = Shapes::StructureShape.new(name: 'RunPipelineActivityResponse')
192
201
  S3DestinationConfiguration = Shapes::StructureShape.new(name: 'S3DestinationConfiguration')
193
202
  S3KeyPrefix = Shapes::StringShape.new(name: 'S3KeyPrefix')
203
+ S3PathChannelMessage = Shapes::StringShape.new(name: 'S3PathChannelMessage')
204
+ S3PathChannelMessages = Shapes::ListShape.new(name: 'S3PathChannelMessages')
194
205
  SampleChannelDataRequest = Shapes::StructureShape.new(name: 'SampleChannelDataRequest')
195
206
  SampleChannelDataResponse = Shapes::StructureShape.new(name: 'SampleChannelDataResponse')
196
207
  Schedule = Shapes::StructureShape.new(name: 'Schedule')
197
208
  ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
209
+ SchemaDefinition = Shapes::StructureShape.new(name: 'SchemaDefinition')
198
210
  SelectAttributesActivity = Shapes::StructureShape.new(name: 'SelectAttributesActivity')
199
211
  ServiceManagedChannelS3Storage = Shapes::StructureShape.new(name: 'ServiceManagedChannelS3Storage')
200
212
  ServiceManagedChannelS3StorageSummary = Shapes::StructureShape.new(name: 'ServiceManagedChannelS3StorageSummary')
@@ -282,6 +294,9 @@ module Aws::IoTAnalytics
282
294
  ChannelActivity.add_member(:next, Shapes::ShapeRef.new(shape: ActivityName, location_name: "next"))
283
295
  ChannelActivity.struct_class = Types::ChannelActivity
284
296
 
297
+ ChannelMessages.add_member(:s3_paths, Shapes::ShapeRef.new(shape: S3PathChannelMessages, location_name: "s3Paths"))
298
+ ChannelMessages.struct_class = Types::ChannelMessages
299
+
285
300
  ChannelStatistics.add_member(:size, Shapes::ShapeRef.new(shape: EstimatedResourceSize, location_name: "size"))
286
301
  ChannelStatistics.struct_class = Types::ChannelStatistics
287
302
 
@@ -303,6 +318,12 @@ module Aws::IoTAnalytics
303
318
  ChannelSummary.add_member(:last_message_arrival_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastMessageArrivalTime"))
304
319
  ChannelSummary.struct_class = Types::ChannelSummary
305
320
 
321
+ Column.add_member(:name, Shapes::ShapeRef.new(shape: ColumnName, required: true, location_name: "name"))
322
+ Column.add_member(:type, Shapes::ShapeRef.new(shape: ColumnDataType, required: true, location_name: "type"))
323
+ Column.struct_class = Types::Column
324
+
325
+ Columns.member = Shapes::ShapeRef.new(shape: Column)
326
+
306
327
  ContainerDatasetAction.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "image"))
307
328
  ContainerDatasetAction.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "executionRoleArn"))
308
329
  ContainerDatasetAction.add_member(:resource_configuration, Shapes::ShapeRef.new(shape: ResourceConfiguration, required: true, location_name: "resourceConfiguration"))
@@ -346,6 +367,7 @@ module Aws::IoTAnalytics
346
367
  CreateDatastoreRequest.add_member(:datastore_storage, Shapes::ShapeRef.new(shape: DatastoreStorage, location_name: "datastoreStorage"))
347
368
  CreateDatastoreRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
348
369
  CreateDatastoreRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
370
+ CreateDatastoreRequest.add_member(:file_format_configuration, Shapes::ShapeRef.new(shape: FileFormatConfiguration, location_name: "fileFormatConfiguration"))
349
371
  CreateDatastoreRequest.struct_class = Types::CreateDatastoreRequest
350
372
 
351
373
  CreateDatastoreResponse.add_member(:datastore_name, Shapes::ShapeRef.new(shape: DatastoreName, location_name: "datastoreName"))
@@ -464,6 +486,7 @@ module Aws::IoTAnalytics
464
486
  Datastore.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
465
487
  Datastore.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
466
488
  Datastore.add_member(:last_message_arrival_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastMessageArrivalTime"))
489
+ Datastore.add_member(:file_format_configuration, Shapes::ShapeRef.new(shape: FileFormatConfiguration, location_name: "fileFormatConfiguration"))
467
490
  Datastore.struct_class = Types::Datastore
468
491
 
469
492
  DatastoreActivity.add_member(:name, Shapes::ShapeRef.new(shape: ActivityName, required: true, location_name: "name"))
@@ -489,6 +512,7 @@ module Aws::IoTAnalytics
489
512
  DatastoreSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
490
513
  DatastoreSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
491
514
  DatastoreSummary.add_member(:last_message_arrival_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastMessageArrivalTime"))
515
+ DatastoreSummary.add_member(:file_format_type, Shapes::ShapeRef.new(shape: FileFormatType, location_name: "fileFormatType"))
492
516
  DatastoreSummary.struct_class = Types::DatastoreSummary
493
517
 
494
518
  DeleteChannelRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location: "uri", location_name: "channelName"))
@@ -565,6 +589,10 @@ module Aws::IoTAnalytics
565
589
  EstimatedResourceSize.add_member(:estimated_on, Shapes::ShapeRef.new(shape: Timestamp, location_name: "estimatedOn"))
566
590
  EstimatedResourceSize.struct_class = Types::EstimatedResourceSize
567
591
 
592
+ FileFormatConfiguration.add_member(:json_configuration, Shapes::ShapeRef.new(shape: JsonConfiguration, location_name: "jsonConfiguration"))
593
+ FileFormatConfiguration.add_member(:parquet_configuration, Shapes::ShapeRef.new(shape: ParquetConfiguration, location_name: "parquetConfiguration"))
594
+ FileFormatConfiguration.struct_class = Types::FileFormatConfiguration
595
+
568
596
  FilterActivity.add_member(:name, Shapes::ShapeRef.new(shape: ActivityName, required: true, location_name: "name"))
569
597
  FilterActivity.add_member(:filter, Shapes::ShapeRef.new(shape: FilterExpression, required: true, location_name: "filter"))
570
598
  FilterActivity.add_member(:next, Shapes::ShapeRef.new(shape: ActivityName, location_name: "next"))
@@ -593,6 +621,8 @@ module Aws::IoTAnalytics
593
621
  IotEventsDestinationConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
594
622
  IotEventsDestinationConfiguration.struct_class = Types::IotEventsDestinationConfiguration
595
623
 
624
+ JsonConfiguration.struct_class = Types::JsonConfiguration
625
+
596
626
  LambdaActivity.add_member(:name, Shapes::ShapeRef.new(shape: ActivityName, required: true, location_name: "name"))
597
627
  LambdaActivity.add_member(:lambda_name, Shapes::ShapeRef.new(shape: LambdaName, required: true, location_name: "lambdaName"))
598
628
  LambdaActivity.add_member(:batch_size, Shapes::ShapeRef.new(shape: ActivityBatchSize, required: true, location_name: "batchSize"))
@@ -682,6 +712,9 @@ module Aws::IoTAnalytics
682
712
  OutputFileUriValue.add_member(:file_name, Shapes::ShapeRef.new(shape: OutputFileName, required: true, location_name: "fileName"))
683
713
  OutputFileUriValue.struct_class = Types::OutputFileUriValue
684
714
 
715
+ ParquetConfiguration.add_member(:schema_definition, Shapes::ShapeRef.new(shape: SchemaDefinition, location_name: "schemaDefinition"))
716
+ ParquetConfiguration.struct_class = Types::ParquetConfiguration
717
+
685
718
  Pipeline.add_member(:name, Shapes::ShapeRef.new(shape: PipelineName, location_name: "name"))
686
719
  Pipeline.add_member(:arn, Shapes::ShapeRef.new(shape: PipelineArn, location_name: "arn"))
687
720
  Pipeline.add_member(:activities, Shapes::ShapeRef.new(shape: PipelineActivities, location_name: "activities"))
@@ -762,6 +795,8 @@ module Aws::IoTAnalytics
762
795
  S3DestinationConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
763
796
  S3DestinationConfiguration.struct_class = Types::S3DestinationConfiguration
764
797
 
798
+ S3PathChannelMessages.member = Shapes::ShapeRef.new(shape: S3PathChannelMessage)
799
+
765
800
  SampleChannelDataRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location: "uri", location_name: "channelName"))
766
801
  SampleChannelDataRequest.add_member(:max_messages, Shapes::ShapeRef.new(shape: MaxMessages, location: "querystring", location_name: "maxMessages"))
767
802
  SampleChannelDataRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, location: "querystring", location_name: "startTime"))
@@ -774,6 +809,9 @@ module Aws::IoTAnalytics
774
809
  Schedule.add_member(:expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "expression"))
775
810
  Schedule.struct_class = Types::Schedule
776
811
 
812
+ SchemaDefinition.add_member(:columns, Shapes::ShapeRef.new(shape: Columns, location_name: "columns"))
813
+ SchemaDefinition.struct_class = Types::SchemaDefinition
814
+
777
815
  SelectAttributesActivity.add_member(:name, Shapes::ShapeRef.new(shape: ActivityName, required: true, location_name: "name"))
778
816
  SelectAttributesActivity.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeNames, required: true, location_name: "attributes"))
779
817
  SelectAttributesActivity.add_member(:next, Shapes::ShapeRef.new(shape: ActivityName, location_name: "next"))
@@ -797,6 +835,7 @@ module Aws::IoTAnalytics
797
835
  StartPipelineReprocessingRequest.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location: "uri", location_name: "pipelineName"))
798
836
  StartPipelineReprocessingRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, location_name: "startTime"))
799
837
  StartPipelineReprocessingRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: EndTime, location_name: "endTime"))
838
+ StartPipelineReprocessingRequest.add_member(:channel_messages, Shapes::ShapeRef.new(shape: ChannelMessages, location_name: "channelMessages"))
800
839
  StartPipelineReprocessingRequest.struct_class = Types::StartPipelineReprocessingRequest
801
840
 
802
841
  StartPipelineReprocessingResponse.add_member(:reprocessing_id, Shapes::ShapeRef.new(shape: ReprocessingId, location_name: "reprocessingId"))
@@ -845,6 +884,7 @@ module Aws::IoTAnalytics
845
884
  UpdateDatastoreRequest.add_member(:datastore_name, Shapes::ShapeRef.new(shape: DatastoreName, required: true, location: "uri", location_name: "datastoreName"))
846
885
  UpdateDatastoreRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
847
886
  UpdateDatastoreRequest.add_member(:datastore_storage, Shapes::ShapeRef.new(shape: DatastoreStorage, location_name: "datastoreStorage"))
887
+ UpdateDatastoreRequest.add_member(:file_format_configuration, Shapes::ShapeRef.new(shape: FileFormatConfiguration, location_name: "fileFormatConfiguration"))
848
888
  UpdateDatastoreRequest.struct_class = Types::UpdateDatastoreRequest
849
889
 
850
890
  UpdatePipelineRequest.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location: "uri", location_name: "pipelineName"))
@@ -251,6 +251,26 @@ module Aws::IoTAnalytics
251
251
  include Aws::Structure
252
252
  end
253
253
 
254
+ # Specifies one or more sets of channel messages.
255
+ #
256
+ # @note When making an API call, you may pass ChannelMessages
257
+ # data as a hash:
258
+ #
259
+ # {
260
+ # s3_paths: ["S3PathChannelMessage"],
261
+ # }
262
+ #
263
+ # @!attribute [rw] s3_paths
264
+ # Specifies one or more keys that identify the Amazon Simple Storage
265
+ # Service (Amazon S3) objects that save your channel messages.
266
+ # @return [Array<String>]
267
+ #
268
+ class ChannelMessages < Struct.new(
269
+ :s3_paths)
270
+ SENSITIVE = []
271
+ include Aws::Structure
272
+ end
273
+
254
274
  # Statistics information about the channel.
255
275
  #
256
276
  # @!attribute [rw] size
@@ -364,6 +384,36 @@ module Aws::IoTAnalytics
364
384
  include Aws::Structure
365
385
  end
366
386
 
387
+ # Contains information about a column that stores your data.
388
+ #
389
+ # @note When making an API call, you may pass Column
390
+ # data as a hash:
391
+ #
392
+ # {
393
+ # name: "ColumnName", # required
394
+ # type: "ColumnDataType", # required
395
+ # }
396
+ #
397
+ # @!attribute [rw] name
398
+ # The name of the column.
399
+ # @return [String]
400
+ #
401
+ # @!attribute [rw] type
402
+ # The type of data. For more information about the supported data
403
+ # types, see [Common data types][1] in the *AWS Glue Developer Guide*.
404
+ #
405
+ #
406
+ #
407
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html
408
+ # @return [String]
409
+ #
410
+ class Column < Struct.new(
411
+ :name,
412
+ :type)
413
+ SENSITIVE = []
414
+ include Aws::Structure
415
+ end
416
+
367
417
  # Information required to run the `containerAction` to produce dataset
368
418
  # contents.
369
419
  #
@@ -755,6 +805,20 @@ module Aws::IoTAnalytics
755
805
  # value: "TagValue", # required
756
806
  # },
757
807
  # ],
808
+ # file_format_configuration: {
809
+ # json_configuration: {
810
+ # },
811
+ # parquet_configuration: {
812
+ # schema_definition: {
813
+ # columns: [
814
+ # {
815
+ # name: "ColumnName", # required
816
+ # type: "ColumnDataType", # required
817
+ # },
818
+ # ],
819
+ # },
820
+ # },
821
+ # },
758
822
  # }
759
823
  #
760
824
  # @!attribute [rw] datastore_name
@@ -777,11 +841,25 @@ module Aws::IoTAnalytics
777
841
  # Metadata which can be used to manage the data store.
778
842
  # @return [Array<Types::Tag>]
779
843
  #
844
+ # @!attribute [rw] file_format_configuration
845
+ # Contains the configuration information of file formats. AWS IoT
846
+ # Analytics data stores support JSON and [Parquet][1].
847
+ #
848
+ # The default file format is JSON. You can specify only one format.
849
+ #
850
+ # You can't change the file format after you create the data store.
851
+ #
852
+ #
853
+ #
854
+ # [1]: https://parquet.apache.org/
855
+ # @return [Types::FileFormatConfiguration]
856
+ #
780
857
  class CreateDatastoreRequest < Struct.new(
781
858
  :datastore_name,
782
859
  :datastore_storage,
783
860
  :retention_period,
784
- :tags)
861
+ :tags,
862
+ :file_format_configuration)
785
863
  SENSITIVE = []
786
864
  include Aws::Structure
787
865
  end
@@ -1518,6 +1596,19 @@ module Aws::IoTAnalytics
1518
1596
  # after October 23, 2020.
1519
1597
  # @return [Time]
1520
1598
  #
1599
+ # @!attribute [rw] file_format_configuration
1600
+ # Contains the configuration information of file formats. AWS IoT
1601
+ # Analytics data stores support JSON and [Parquet][1].
1602
+ #
1603
+ # The default file format is JSON. You can specify only one format.
1604
+ #
1605
+ # You can't change the file format after you create the data store.
1606
+ #
1607
+ #
1608
+ #
1609
+ # [1]: https://parquet.apache.org/
1610
+ # @return [Types::FileFormatConfiguration]
1611
+ #
1521
1612
  class Datastore < Struct.new(
1522
1613
  :name,
1523
1614
  :storage,
@@ -1526,7 +1617,8 @@ module Aws::IoTAnalytics
1526
1617
  :retention_period,
1527
1618
  :creation_time,
1528
1619
  :last_update_time,
1529
- :last_message_arrival_time)
1620
+ :last_message_arrival_time,
1621
+ :file_format_configuration)
1530
1622
  SENSITIVE = []
1531
1623
  include Aws::Structure
1532
1624
  end
@@ -1659,13 +1751,18 @@ module Aws::IoTAnalytics
1659
1751
  # after October 23, 2020.
1660
1752
  # @return [Time]
1661
1753
  #
1754
+ # @!attribute [rw] file_format_type
1755
+ # The file format of the data in the data store.
1756
+ # @return [String]
1757
+ #
1662
1758
  class DatastoreSummary < Struct.new(
1663
1759
  :datastore_name,
1664
1760
  :datastore_storage,
1665
1761
  :status,
1666
1762
  :creation_time,
1667
1763
  :last_update_time,
1668
- :last_message_arrival_time)
1764
+ :last_message_arrival_time,
1765
+ :file_format_type)
1669
1766
  SENSITIVE = []
1670
1767
  include Aws::Structure
1671
1768
  end
@@ -2101,6 +2198,50 @@ module Aws::IoTAnalytics
2101
2198
  include Aws::Structure
2102
2199
  end
2103
2200
 
2201
+ # Contains the configuration information of file formats. AWS IoT
2202
+ # Analytics data stores support JSON and [Parquet][1].
2203
+ #
2204
+ # The default file format is JSON. You can specify only one format.
2205
+ #
2206
+ # You can't change the file format after you create the data store.
2207
+ #
2208
+ #
2209
+ #
2210
+ # [1]: https://parquet.apache.org/
2211
+ #
2212
+ # @note When making an API call, you may pass FileFormatConfiguration
2213
+ # data as a hash:
2214
+ #
2215
+ # {
2216
+ # json_configuration: {
2217
+ # },
2218
+ # parquet_configuration: {
2219
+ # schema_definition: {
2220
+ # columns: [
2221
+ # {
2222
+ # name: "ColumnName", # required
2223
+ # type: "ColumnDataType", # required
2224
+ # },
2225
+ # ],
2226
+ # },
2227
+ # },
2228
+ # }
2229
+ #
2230
+ # @!attribute [rw] json_configuration
2231
+ # Contains the configuration information of the JSON format.
2232
+ # @return [Types::JsonConfiguration]
2233
+ #
2234
+ # @!attribute [rw] parquet_configuration
2235
+ # Contains the configuration information of the Parquet format.
2236
+ # @return [Types::ParquetConfiguration]
2237
+ #
2238
+ class FileFormatConfiguration < Struct.new(
2239
+ :json_configuration,
2240
+ :parquet_configuration)
2241
+ SENSITIVE = []
2242
+ include Aws::Structure
2243
+ end
2244
+
2104
2245
  # An activity that filters a message based on its attributes.
2105
2246
  #
2106
2247
  # @note When making an API call, you may pass FilterActivity
@@ -2260,6 +2401,12 @@ module Aws::IoTAnalytics
2260
2401
  include Aws::Structure
2261
2402
  end
2262
2403
 
2404
+ # Contains the configuration information of the JSON format.
2405
+ #
2406
+ # @api private
2407
+ #
2408
+ class JsonConfiguration < Aws::EmptyStructure; end
2409
+
2263
2410
  # An activity that runs a Lambda function to modify the message.
2264
2411
  #
2265
2412
  # @note When making an API call, you may pass LambdaActivity
@@ -2737,6 +2884,32 @@ module Aws::IoTAnalytics
2737
2884
  include Aws::Structure
2738
2885
  end
2739
2886
 
2887
+ # Contains the configuration information of the Parquet format.
2888
+ #
2889
+ # @note When making an API call, you may pass ParquetConfiguration
2890
+ # data as a hash:
2891
+ #
2892
+ # {
2893
+ # schema_definition: {
2894
+ # columns: [
2895
+ # {
2896
+ # name: "ColumnName", # required
2897
+ # type: "ColumnDataType", # required
2898
+ # },
2899
+ # ],
2900
+ # },
2901
+ # }
2902
+ #
2903
+ # @!attribute [rw] schema_definition
2904
+ # Information needed to define a schema.
2905
+ # @return [Types::SchemaDefinition]
2906
+ #
2907
+ class ParquetConfiguration < Struct.new(
2908
+ :schema_definition)
2909
+ SENSITIVE = []
2910
+ include Aws::Structure
2911
+ end
2912
+
2740
2913
  # Contains information about a pipeline.
2741
2914
  #
2742
2915
  # @!attribute [rw] name
@@ -3353,6 +3526,33 @@ module Aws::IoTAnalytics
3353
3526
  include Aws::Structure
3354
3527
  end
3355
3528
 
3529
+ # Information needed to define a schema.
3530
+ #
3531
+ # @note When making an API call, you may pass SchemaDefinition
3532
+ # data as a hash:
3533
+ #
3534
+ # {
3535
+ # columns: [
3536
+ # {
3537
+ # name: "ColumnName", # required
3538
+ # type: "ColumnDataType", # required
3539
+ # },
3540
+ # ],
3541
+ # }
3542
+ #
3543
+ # @!attribute [rw] columns
3544
+ # Specifies one or more columns that store your data.
3545
+ #
3546
+ # Each schema can have up to 100 columns. Each column can have up to
3547
+ # 100 nested types
3548
+ # @return [Array<Types::Column>]
3549
+ #
3550
+ class SchemaDefinition < Struct.new(
3551
+ :columns)
3552
+ SENSITIVE = []
3553
+ include Aws::Structure
3554
+ end
3555
+
3356
3556
  # Creates a new message using only the specified attributes from the
3357
3557
  # original message.
3358
3558
  #
@@ -3461,6 +3661,9 @@ module Aws::IoTAnalytics
3461
3661
  # pipeline_name: "PipelineName", # required
3462
3662
  # start_time: Time.now,
3463
3663
  # end_time: Time.now,
3664
+ # channel_messages: {
3665
+ # s3_paths: ["S3PathChannelMessage"],
3666
+ # },
3464
3667
  # }
3465
3668
  #
3466
3669
  # @!attribute [rw] pipeline_name
@@ -3469,16 +3672,31 @@ module Aws::IoTAnalytics
3469
3672
  #
3470
3673
  # @!attribute [rw] start_time
3471
3674
  # The start time (inclusive) of raw message data that is reprocessed.
3675
+ #
3676
+ # If you specify a value for the `startTime` parameter, you must not
3677
+ # use the `channelMessages` object.
3472
3678
  # @return [Time]
3473
3679
  #
3474
3680
  # @!attribute [rw] end_time
3475
3681
  # The end time (exclusive) of raw message data that is reprocessed.
3682
+ #
3683
+ # If you specify a value for the `endTime` parameter, you must not use
3684
+ # the `channelMessages` object.
3476
3685
  # @return [Time]
3477
3686
  #
3687
+ # @!attribute [rw] channel_messages
3688
+ # Specifies one or more sets of channel messages that you want to
3689
+ # reprocess.
3690
+ #
3691
+ # If you use the `channelMessages` object, you must not specify a
3692
+ # value for `startTime` and `endTime`.
3693
+ # @return [Types::ChannelMessages]
3694
+ #
3478
3695
  class StartPipelineReprocessingRequest < Struct.new(
3479
3696
  :pipeline_name,
3480
3697
  :start_time,
3481
- :end_time)
3698
+ :end_time,
3699
+ :channel_messages)
3482
3700
  SENSITIVE = []
3483
3701
  include Aws::Structure
3484
3702
  end
@@ -3817,6 +4035,20 @@ module Aws::IoTAnalytics
3817
4035
  # role_arn: "RoleArn", # required
3818
4036
  # },
3819
4037
  # },
4038
+ # file_format_configuration: {
4039
+ # json_configuration: {
4040
+ # },
4041
+ # parquet_configuration: {
4042
+ # schema_definition: {
4043
+ # columns: [
4044
+ # {
4045
+ # name: "ColumnName", # required
4046
+ # type: "ColumnDataType", # required
4047
+ # },
4048
+ # ],
4049
+ # },
4050
+ # },
4051
+ # },
3820
4052
  # }
3821
4053
  #
3822
4054
  # @!attribute [rw] datastore_name
@@ -3836,10 +4068,24 @@ module Aws::IoTAnalytics
3836
4068
  # option after the data store is created.
3837
4069
  # @return [Types::DatastoreStorage]
3838
4070
  #
4071
+ # @!attribute [rw] file_format_configuration
4072
+ # Contains the configuration information of file formats. AWS IoT
4073
+ # Analytics data stores support JSON and [Parquet][1].
4074
+ #
4075
+ # The default file format is JSON. You can specify only one format.
4076
+ #
4077
+ # You can't change the file format after you create the data store.
4078
+ #
4079
+ #
4080
+ #
4081
+ # [1]: https://parquet.apache.org/
4082
+ # @return [Types::FileFormatConfiguration]
4083
+ #
3839
4084
  class UpdateDatastoreRequest < Struct.new(
3840
4085
  :datastore_name,
3841
4086
  :retention_period,
3842
- :datastore_storage)
4087
+ :datastore_storage,
4088
+ :file_format_configuration)
3843
4089
  SENSITIVE = []
3844
4090
  include Aws::Structure
3845
4091
  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.35.0
4
+ version: 1.36.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: 2020-11-09 00:00:00.000000000 Z
11
+ date: 2020-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core