aws-sdk-iotanalytics 1.20.0 → 1.21.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4825843ebeddf80da3fc56f274fc3d2a89e391bb
4
- data.tar.gz: 65941adda91cb5e99f067fc0e6ab77f0ae257f1e
3
+ metadata.gz: 237180ec847aec910f1ad391f153af87efc4fade
4
+ data.tar.gz: 28d61baccfc0eb21f576c3047bd3fd928f20ab5c
5
5
  SHA512:
6
- metadata.gz: 71f004877aae2c77c6348bde7a191bb6c17f41ca315833dd7fb1e7e11aa26c8c87bfd6e32fd0e5ac3e85c5e6080250e561441853f0fc7331e3db0217922ae474
7
- data.tar.gz: 73cc0aa8f808093e8ca0b64b83dfd6c0affe200251d9a73817b8c69c96de38e68ad8fd5c5acef37e3d9bc0d19cdfd1496b6e66821ec97d62a8f5f31d8d8298d8
6
+ metadata.gz: 8b43b21a2ba518d90890def1ed3c0b0b794b1845b574d5d57137a83ac6c5321dfc77dc73854b1b6a58cb6171b1d65033b82331f728e788f9d89d427a59617145
7
+ data.tar.gz: 8d40773cde863d2457aadb6ff63813a11d06c08115985d8c8e19bd3d980c335744cdc77e012762fcbf7897c9426c29d9f3add28b5bb74947a8c6f33e412c80a0
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-iotanalytics/customizations'
42
42
  # @service
43
43
  module Aws::IoTAnalytics
44
44
 
45
- GEM_VERSION = '1.20.0'
45
+ GEM_VERSION = '1.21.0'
46
46
 
47
47
  end
@@ -343,6 +343,9 @@ module Aws::IoTAnalytics
343
343
  # @option params [required, String] :channel_name
344
344
  # The name of the channel.
345
345
  #
346
+ # @option params [Types::ChannelStorage] :channel_storage
347
+ # Where channel data is stored.
348
+ #
346
349
  # @option params [Types::RetentionPeriod] :retention_period
347
350
  # How long, in days, message data is kept for the channel.
348
351
  #
@@ -359,6 +362,15 @@ module Aws::IoTAnalytics
359
362
  #
360
363
  # resp = client.create_channel({
361
364
  # channel_name: "ChannelName", # required
365
+ # channel_storage: {
366
+ # service_managed_s3: {
367
+ # },
368
+ # customer_managed_s3: {
369
+ # bucket: "BucketName", # required
370
+ # key_prefix: "S3KeyPrefix",
371
+ # role_arn: "RoleArn", # required
372
+ # },
373
+ # },
362
374
  # retention_period: {
363
375
  # unlimited: false,
364
376
  # number_of_days: 1,
@@ -567,6 +579,9 @@ module Aws::IoTAnalytics
567
579
  # @option params [required, String] :datastore_name
568
580
  # The name of the data store.
569
581
  #
582
+ # @option params [Types::DatastoreStorage] :datastore_storage
583
+ # Where data store data is stored.
584
+ #
570
585
  # @option params [Types::RetentionPeriod] :retention_period
571
586
  # How long, in days, message data is kept for the data store.
572
587
  #
@@ -583,6 +598,15 @@ module Aws::IoTAnalytics
583
598
  #
584
599
  # resp = client.create_datastore({
585
600
  # datastore_name: "DatastoreName", # required
601
+ # datastore_storage: {
602
+ # service_managed_s3: {
603
+ # },
604
+ # customer_managed_s3: {
605
+ # bucket: "BucketName", # required
606
+ # key_prefix: "S3KeyPrefix",
607
+ # role_arn: "RoleArn", # required
608
+ # },
609
+ # },
586
610
  # retention_period: {
587
611
  # unlimited: false,
588
612
  # number_of_days: 1,
@@ -859,6 +883,9 @@ module Aws::IoTAnalytics
859
883
  # @example Response structure
860
884
  #
861
885
  # resp.channel.name #=> String
886
+ # resp.channel.storage.customer_managed_s3.bucket #=> String
887
+ # resp.channel.storage.customer_managed_s3.key_prefix #=> String
888
+ # resp.channel.storage.customer_managed_s3.role_arn #=> String
862
889
  # resp.channel.arn #=> String
863
890
  # resp.channel.status #=> String, one of "CREATING", "ACTIVE", "DELETING"
864
891
  # resp.channel.retention_period.unlimited #=> Boolean
@@ -961,6 +988,9 @@ module Aws::IoTAnalytics
961
988
  # @example Response structure
962
989
  #
963
990
  # resp.datastore.name #=> String
991
+ # resp.datastore.storage.customer_managed_s3.bucket #=> String
992
+ # resp.datastore.storage.customer_managed_s3.key_prefix #=> String
993
+ # resp.datastore.storage.customer_managed_s3.role_arn #=> String
964
994
  # resp.datastore.arn #=> String
965
995
  # resp.datastore.status #=> String, one of "CREATING", "ACTIVE", "DELETING"
966
996
  # resp.datastore.retention_period.unlimited #=> Boolean
@@ -1135,6 +1165,9 @@ module Aws::IoTAnalytics
1135
1165
  #
1136
1166
  # resp.channel_summaries #=> Array
1137
1167
  # resp.channel_summaries[0].channel_name #=> String
1168
+ # resp.channel_summaries[0].channel_storage.customer_managed_s3.bucket #=> String
1169
+ # resp.channel_summaries[0].channel_storage.customer_managed_s3.key_prefix #=> String
1170
+ # resp.channel_summaries[0].channel_storage.customer_managed_s3.role_arn #=> String
1138
1171
  # resp.channel_summaries[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING"
1139
1172
  # resp.channel_summaries[0].creation_time #=> Time
1140
1173
  # resp.channel_summaries[0].last_update_time #=> Time
@@ -1270,6 +1303,9 @@ module Aws::IoTAnalytics
1270
1303
  #
1271
1304
  # resp.datastore_summaries #=> Array
1272
1305
  # resp.datastore_summaries[0].datastore_name #=> String
1306
+ # resp.datastore_summaries[0].datastore_storage.customer_managed_s3.bucket #=> String
1307
+ # resp.datastore_summaries[0].datastore_storage.customer_managed_s3.key_prefix #=> String
1308
+ # resp.datastore_summaries[0].datastore_storage.customer_managed_s3.role_arn #=> String
1273
1309
  # resp.datastore_summaries[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING"
1274
1310
  # resp.datastore_summaries[0].creation_time #=> Time
1275
1311
  # resp.datastore_summaries[0].last_update_time #=> Time
@@ -1612,6 +1648,9 @@ module Aws::IoTAnalytics
1612
1648
  # @option params [required, String] :channel_name
1613
1649
  # The name of the channel to be updated.
1614
1650
  #
1651
+ # @option params [Types::ChannelStorage] :channel_storage
1652
+ # Where channel data is stored.
1653
+ #
1615
1654
  # @option params [Types::RetentionPeriod] :retention_period
1616
1655
  # How long, in days, message data is kept for the channel.
1617
1656
  #
@@ -1621,6 +1660,15 @@ module Aws::IoTAnalytics
1621
1660
  #
1622
1661
  # resp = client.update_channel({
1623
1662
  # channel_name: "ChannelName", # required
1663
+ # channel_storage: {
1664
+ # service_managed_s3: {
1665
+ # },
1666
+ # customer_managed_s3: {
1667
+ # bucket: "BucketName", # required
1668
+ # key_prefix: "S3KeyPrefix",
1669
+ # role_arn: "RoleArn", # required
1670
+ # },
1671
+ # },
1624
1672
  # retention_period: {
1625
1673
  # unlimited: false,
1626
1674
  # number_of_days: 1,
@@ -1759,6 +1807,9 @@ module Aws::IoTAnalytics
1759
1807
  # @option params [Types::RetentionPeriod] :retention_period
1760
1808
  # How long, in days, message data is kept for the data store.
1761
1809
  #
1810
+ # @option params [Types::DatastoreStorage] :datastore_storage
1811
+ # Where data store data is stored.
1812
+ #
1762
1813
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1763
1814
  #
1764
1815
  # @example Request syntax with placeholder values
@@ -1769,6 +1820,15 @@ module Aws::IoTAnalytics
1769
1820
  # unlimited: false,
1770
1821
  # number_of_days: 1,
1771
1822
  # },
1823
+ # datastore_storage: {
1824
+ # service_managed_s3: {
1825
+ # },
1826
+ # customer_managed_s3: {
1827
+ # bucket: "BucketName", # required
1828
+ # key_prefix: "S3KeyPrefix",
1829
+ # role_arn: "RoleArn", # required
1830
+ # },
1831
+ # },
1772
1832
  # })
1773
1833
  #
1774
1834
  # @overload update_datastore(params = {})
@@ -1888,7 +1948,7 @@ module Aws::IoTAnalytics
1888
1948
  params: params,
1889
1949
  config: config)
1890
1950
  context[:gem_name] = 'aws-sdk-iotanalytics'
1891
- context[:gem_version] = '1.20.0'
1951
+ context[:gem_version] = '1.21.0'
1892
1952
  Seahorse::Client::Request.new(handlers, context)
1893
1953
  end
1894
1954
 
@@ -31,6 +31,8 @@ module Aws::IoTAnalytics
31
31
  ChannelName = Shapes::StringShape.new(name: 'ChannelName')
32
32
  ChannelStatistics = Shapes::StructureShape.new(name: 'ChannelStatistics')
33
33
  ChannelStatus = Shapes::StringShape.new(name: 'ChannelStatus')
34
+ ChannelStorage = Shapes::StructureShape.new(name: 'ChannelStorage')
35
+ ChannelStorageSummary = Shapes::StructureShape.new(name: 'ChannelStorageSummary')
34
36
  ChannelSummaries = Shapes::ListShape.new(name: 'ChannelSummaries')
35
37
  ChannelSummary = Shapes::StructureShape.new(name: 'ChannelSummary')
36
38
  ComputeType = Shapes::StringShape.new(name: 'ComputeType')
@@ -45,6 +47,10 @@ module Aws::IoTAnalytics
45
47
  CreateDatastoreResponse = Shapes::StructureShape.new(name: 'CreateDatastoreResponse')
46
48
  CreatePipelineRequest = Shapes::StructureShape.new(name: 'CreatePipelineRequest')
47
49
  CreatePipelineResponse = Shapes::StructureShape.new(name: 'CreatePipelineResponse')
50
+ CustomerManagedChannelS3Storage = Shapes::StructureShape.new(name: 'CustomerManagedChannelS3Storage')
51
+ CustomerManagedChannelS3StorageSummary = Shapes::StructureShape.new(name: 'CustomerManagedChannelS3StorageSummary')
52
+ CustomerManagedDatastoreS3Storage = Shapes::StructureShape.new(name: 'CustomerManagedDatastoreS3Storage')
53
+ CustomerManagedDatastoreS3StorageSummary = Shapes::StructureShape.new(name: 'CustomerManagedDatastoreS3StorageSummary')
48
54
  Dataset = Shapes::StructureShape.new(name: 'Dataset')
49
55
  DatasetAction = Shapes::StructureShape.new(name: 'DatasetAction')
50
56
  DatasetActionName = Shapes::StringShape.new(name: 'DatasetActionName')
@@ -76,6 +82,8 @@ module Aws::IoTAnalytics
76
82
  DatastoreName = Shapes::StringShape.new(name: 'DatastoreName')
77
83
  DatastoreStatistics = Shapes::StructureShape.new(name: 'DatastoreStatistics')
78
84
  DatastoreStatus = Shapes::StringShape.new(name: 'DatastoreStatus')
85
+ DatastoreStorage = Shapes::StructureShape.new(name: 'DatastoreStorage')
86
+ DatastoreStorageSummary = Shapes::StructureShape.new(name: 'DatastoreStorageSummary')
79
87
  DatastoreSummaries = Shapes::ListShape.new(name: 'DatastoreSummaries')
80
88
  DatastoreSummary = Shapes::StructureShape.new(name: 'DatastoreSummary')
81
89
  DeleteChannelRequest = Shapes::StructureShape.new(name: 'DeleteChannelRequest')
@@ -175,11 +183,16 @@ module Aws::IoTAnalytics
175
183
  RunPipelineActivityRequest = Shapes::StructureShape.new(name: 'RunPipelineActivityRequest')
176
184
  RunPipelineActivityResponse = Shapes::StructureShape.new(name: 'RunPipelineActivityResponse')
177
185
  S3DestinationConfiguration = Shapes::StructureShape.new(name: 'S3DestinationConfiguration')
186
+ S3KeyPrefix = Shapes::StringShape.new(name: 'S3KeyPrefix')
178
187
  SampleChannelDataRequest = Shapes::StructureShape.new(name: 'SampleChannelDataRequest')
179
188
  SampleChannelDataResponse = Shapes::StructureShape.new(name: 'SampleChannelDataResponse')
180
189
  Schedule = Shapes::StructureShape.new(name: 'Schedule')
181
190
  ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
182
191
  SelectAttributesActivity = Shapes::StructureShape.new(name: 'SelectAttributesActivity')
192
+ ServiceManagedChannelS3Storage = Shapes::StructureShape.new(name: 'ServiceManagedChannelS3Storage')
193
+ ServiceManagedChannelS3StorageSummary = Shapes::StructureShape.new(name: 'ServiceManagedChannelS3StorageSummary')
194
+ ServiceManagedDatastoreS3Storage = Shapes::StructureShape.new(name: 'ServiceManagedDatastoreS3Storage')
195
+ ServiceManagedDatastoreS3StorageSummary = Shapes::StructureShape.new(name: 'ServiceManagedDatastoreS3StorageSummary')
183
196
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
184
197
  SizeInBytes = Shapes::FloatShape.new(name: 'SizeInBytes')
185
198
  SqlQuery = Shapes::StringShape.new(name: 'SqlQuery')
@@ -247,6 +260,7 @@ module Aws::IoTAnalytics
247
260
  CancelPipelineReprocessingResponse.struct_class = Types::CancelPipelineReprocessingResponse
248
261
 
249
262
  Channel.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
263
+ Channel.add_member(:storage, Shapes::ShapeRef.new(shape: ChannelStorage, location_name: "storage"))
250
264
  Channel.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "arn"))
251
265
  Channel.add_member(:status, Shapes::ShapeRef.new(shape: ChannelStatus, location_name: "status"))
252
266
  Channel.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
@@ -262,9 +276,18 @@ module Aws::IoTAnalytics
262
276
  ChannelStatistics.add_member(:size, Shapes::ShapeRef.new(shape: EstimatedResourceSize, location_name: "size"))
263
277
  ChannelStatistics.struct_class = Types::ChannelStatistics
264
278
 
279
+ ChannelStorage.add_member(:service_managed_s3, Shapes::ShapeRef.new(shape: ServiceManagedChannelS3Storage, location_name: "serviceManagedS3"))
280
+ ChannelStorage.add_member(:customer_managed_s3, Shapes::ShapeRef.new(shape: CustomerManagedChannelS3Storage, location_name: "customerManagedS3"))
281
+ ChannelStorage.struct_class = Types::ChannelStorage
282
+
283
+ ChannelStorageSummary.add_member(:service_managed_s3, Shapes::ShapeRef.new(shape: ServiceManagedChannelS3StorageSummary, location_name: "serviceManagedS3"))
284
+ ChannelStorageSummary.add_member(:customer_managed_s3, Shapes::ShapeRef.new(shape: CustomerManagedChannelS3StorageSummary, location_name: "customerManagedS3"))
285
+ ChannelStorageSummary.struct_class = Types::ChannelStorageSummary
286
+
265
287
  ChannelSummaries.member = Shapes::ShapeRef.new(shape: ChannelSummary)
266
288
 
267
289
  ChannelSummary.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "channelName"))
290
+ ChannelSummary.add_member(:channel_storage, Shapes::ShapeRef.new(shape: ChannelStorageSummary, location_name: "channelStorage"))
268
291
  ChannelSummary.add_member(:status, Shapes::ShapeRef.new(shape: ChannelStatus, location_name: "status"))
269
292
  ChannelSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
270
293
  ChannelSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
@@ -277,6 +300,7 @@ module Aws::IoTAnalytics
277
300
  ContainerDatasetAction.struct_class = Types::ContainerDatasetAction
278
301
 
279
302
  CreateChannelRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location_name: "channelName"))
303
+ CreateChannelRequest.add_member(:channel_storage, Shapes::ShapeRef.new(shape: ChannelStorage, location_name: "channelStorage"))
280
304
  CreateChannelRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
281
305
  CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
282
306
  CreateChannelRequest.struct_class = Types::CreateChannelRequest
@@ -307,6 +331,7 @@ module Aws::IoTAnalytics
307
331
  CreateDatasetResponse.struct_class = Types::CreateDatasetResponse
308
332
 
309
333
  CreateDatastoreRequest.add_member(:datastore_name, Shapes::ShapeRef.new(shape: DatastoreName, required: true, location_name: "datastoreName"))
334
+ CreateDatastoreRequest.add_member(:datastore_storage, Shapes::ShapeRef.new(shape: DatastoreStorage, location_name: "datastoreStorage"))
310
335
  CreateDatastoreRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
311
336
  CreateDatastoreRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
312
337
  CreateDatastoreRequest.struct_class = Types::CreateDatastoreRequest
@@ -325,6 +350,26 @@ module Aws::IoTAnalytics
325
350
  CreatePipelineResponse.add_member(:pipeline_arn, Shapes::ShapeRef.new(shape: PipelineArn, location_name: "pipelineArn"))
326
351
  CreatePipelineResponse.struct_class = Types::CreatePipelineResponse
327
352
 
353
+ CustomerManagedChannelS3Storage.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucket"))
354
+ CustomerManagedChannelS3Storage.add_member(:key_prefix, Shapes::ShapeRef.new(shape: S3KeyPrefix, location_name: "keyPrefix"))
355
+ CustomerManagedChannelS3Storage.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
356
+ CustomerManagedChannelS3Storage.struct_class = Types::CustomerManagedChannelS3Storage
357
+
358
+ CustomerManagedChannelS3StorageSummary.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, location_name: "bucket"))
359
+ CustomerManagedChannelS3StorageSummary.add_member(:key_prefix, Shapes::ShapeRef.new(shape: S3KeyPrefix, location_name: "keyPrefix"))
360
+ CustomerManagedChannelS3StorageSummary.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
361
+ CustomerManagedChannelS3StorageSummary.struct_class = Types::CustomerManagedChannelS3StorageSummary
362
+
363
+ CustomerManagedDatastoreS3Storage.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucket"))
364
+ CustomerManagedDatastoreS3Storage.add_member(:key_prefix, Shapes::ShapeRef.new(shape: S3KeyPrefix, location_name: "keyPrefix"))
365
+ CustomerManagedDatastoreS3Storage.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
366
+ CustomerManagedDatastoreS3Storage.struct_class = Types::CustomerManagedDatastoreS3Storage
367
+
368
+ CustomerManagedDatastoreS3StorageSummary.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, location_name: "bucket"))
369
+ CustomerManagedDatastoreS3StorageSummary.add_member(:key_prefix, Shapes::ShapeRef.new(shape: S3KeyPrefix, location_name: "keyPrefix"))
370
+ CustomerManagedDatastoreS3StorageSummary.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
371
+ CustomerManagedDatastoreS3StorageSummary.struct_class = Types::CustomerManagedDatastoreS3StorageSummary
372
+
328
373
  Dataset.add_member(:name, Shapes::ShapeRef.new(shape: DatasetName, location_name: "name"))
329
374
  Dataset.add_member(:arn, Shapes::ShapeRef.new(shape: DatasetArn, location_name: "arn"))
330
375
  Dataset.add_member(:actions, Shapes::ShapeRef.new(shape: DatasetActions, location_name: "actions"))
@@ -398,6 +443,7 @@ module Aws::IoTAnalytics
398
443
  DatasetTriggers.member = Shapes::ShapeRef.new(shape: DatasetTrigger)
399
444
 
400
445
  Datastore.add_member(:name, Shapes::ShapeRef.new(shape: DatastoreName, location_name: "name"))
446
+ Datastore.add_member(:storage, Shapes::ShapeRef.new(shape: DatastoreStorage, location_name: "storage"))
401
447
  Datastore.add_member(:arn, Shapes::ShapeRef.new(shape: DatastoreArn, location_name: "arn"))
402
448
  Datastore.add_member(:status, Shapes::ShapeRef.new(shape: DatastoreStatus, location_name: "status"))
403
449
  Datastore.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
@@ -412,9 +458,18 @@ module Aws::IoTAnalytics
412
458
  DatastoreStatistics.add_member(:size, Shapes::ShapeRef.new(shape: EstimatedResourceSize, location_name: "size"))
413
459
  DatastoreStatistics.struct_class = Types::DatastoreStatistics
414
460
 
461
+ DatastoreStorage.add_member(:service_managed_s3, Shapes::ShapeRef.new(shape: ServiceManagedDatastoreS3Storage, location_name: "serviceManagedS3"))
462
+ DatastoreStorage.add_member(:customer_managed_s3, Shapes::ShapeRef.new(shape: CustomerManagedDatastoreS3Storage, location_name: "customerManagedS3"))
463
+ DatastoreStorage.struct_class = Types::DatastoreStorage
464
+
465
+ DatastoreStorageSummary.add_member(:service_managed_s3, Shapes::ShapeRef.new(shape: ServiceManagedDatastoreS3StorageSummary, location_name: "serviceManagedS3"))
466
+ DatastoreStorageSummary.add_member(:customer_managed_s3, Shapes::ShapeRef.new(shape: CustomerManagedDatastoreS3StorageSummary, location_name: "customerManagedS3"))
467
+ DatastoreStorageSummary.struct_class = Types::DatastoreStorageSummary
468
+
415
469
  DatastoreSummaries.member = Shapes::ShapeRef.new(shape: DatastoreSummary)
416
470
 
417
471
  DatastoreSummary.add_member(:datastore_name, Shapes::ShapeRef.new(shape: DatastoreName, location_name: "datastoreName"))
472
+ DatastoreSummary.add_member(:datastore_storage, Shapes::ShapeRef.new(shape: DatastoreStorageSummary, location_name: "datastoreStorage"))
418
473
  DatastoreSummary.add_member(:status, Shapes::ShapeRef.new(shape: DatastoreStatus, location_name: "status"))
419
474
  DatastoreSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
420
475
  DatastoreSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
@@ -696,6 +751,14 @@ module Aws::IoTAnalytics
696
751
  SelectAttributesActivity.add_member(:next, Shapes::ShapeRef.new(shape: ActivityName, location_name: "next"))
697
752
  SelectAttributesActivity.struct_class = Types::SelectAttributesActivity
698
753
 
754
+ ServiceManagedChannelS3Storage.struct_class = Types::ServiceManagedChannelS3Storage
755
+
756
+ ServiceManagedChannelS3StorageSummary.struct_class = Types::ServiceManagedChannelS3StorageSummary
757
+
758
+ ServiceManagedDatastoreS3Storage.struct_class = Types::ServiceManagedDatastoreS3Storage
759
+
760
+ ServiceManagedDatastoreS3StorageSummary.struct_class = Types::ServiceManagedDatastoreS3StorageSummary
761
+
699
762
  ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
700
763
  ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
701
764
 
@@ -738,6 +801,7 @@ module Aws::IoTAnalytics
738
801
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
739
802
 
740
803
  UpdateChannelRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location: "uri", location_name: "channelName"))
804
+ UpdateChannelRequest.add_member(:channel_storage, Shapes::ShapeRef.new(shape: ChannelStorage, location_name: "channelStorage"))
741
805
  UpdateChannelRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
742
806
  UpdateChannelRequest.struct_class = Types::UpdateChannelRequest
743
807
 
@@ -751,6 +815,7 @@ module Aws::IoTAnalytics
751
815
 
752
816
  UpdateDatastoreRequest.add_member(:datastore_name, Shapes::ShapeRef.new(shape: DatastoreName, required: true, location: "uri", location_name: "datastoreName"))
753
817
  UpdateDatastoreRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
818
+ UpdateDatastoreRequest.add_member(:datastore_storage, Shapes::ShapeRef.new(shape: DatastoreStorage, location_name: "datastoreStorage"))
754
819
  UpdateDatastoreRequest.struct_class = Types::UpdateDatastoreRequest
755
820
 
756
821
  UpdatePipelineRequest.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location: "uri", location_name: "pipelineName"))
@@ -161,6 +161,10 @@ module Aws::IoTAnalytics
161
161
  # The name of the channel.
162
162
  # @return [String]
163
163
  #
164
+ # @!attribute [rw] storage
165
+ # Where channel data is stored.
166
+ # @return [Types::ChannelStorage]
167
+ #
164
168
  # @!attribute [rw] arn
165
169
  # The ARN of the channel.
166
170
  # @return [String]
@@ -183,6 +187,7 @@ module Aws::IoTAnalytics
183
187
  #
184
188
  class Channel < Struct.new(
185
189
  :name,
190
+ :storage,
186
191
  :arn,
187
192
  :status,
188
193
  :retention_period,
@@ -233,12 +238,63 @@ module Aws::IoTAnalytics
233
238
  include Aws::Structure
234
239
  end
235
240
 
241
+ # Where channel data is stored.
242
+ #
243
+ # @note When making an API call, you may pass ChannelStorage
244
+ # data as a hash:
245
+ #
246
+ # {
247
+ # service_managed_s3: {
248
+ # },
249
+ # customer_managed_s3: {
250
+ # bucket: "BucketName", # required
251
+ # key_prefix: "S3KeyPrefix",
252
+ # role_arn: "RoleArn", # required
253
+ # },
254
+ # }
255
+ #
256
+ # @!attribute [rw] service_managed_s3
257
+ # Use this to store channel data in an S3 bucket managed by the AWS
258
+ # IoT Analytics service.
259
+ # @return [Types::ServiceManagedChannelS3Storage]
260
+ #
261
+ # @!attribute [rw] customer_managed_s3
262
+ # Use this to store channel data in an S3 bucket that you manage.
263
+ # @return [Types::CustomerManagedChannelS3Storage]
264
+ #
265
+ class ChannelStorage < Struct.new(
266
+ :service_managed_s3,
267
+ :customer_managed_s3)
268
+ include Aws::Structure
269
+ end
270
+
271
+ # Where channel data is stored.
272
+ #
273
+ # @!attribute [rw] service_managed_s3
274
+ # Used to store channel data in an S3 bucket managed by the AWS IoT
275
+ # Analytics service.
276
+ # @return [Types::ServiceManagedChannelS3StorageSummary]
277
+ #
278
+ # @!attribute [rw] customer_managed_s3
279
+ # Used to store channel data in an S3 bucket that you manage.
280
+ # @return [Types::CustomerManagedChannelS3StorageSummary]
281
+ #
282
+ class ChannelStorageSummary < Struct.new(
283
+ :service_managed_s3,
284
+ :customer_managed_s3)
285
+ include Aws::Structure
286
+ end
287
+
236
288
  # A summary of information about a channel.
237
289
  #
238
290
  # @!attribute [rw] channel_name
239
291
  # The name of the channel.
240
292
  # @return [String]
241
293
  #
294
+ # @!attribute [rw] channel_storage
295
+ # Where channel data is stored.
296
+ # @return [Types::ChannelStorageSummary]
297
+ #
242
298
  # @!attribute [rw] status
243
299
  # The status of the channel.
244
300
  # @return [String]
@@ -253,6 +309,7 @@ module Aws::IoTAnalytics
253
309
  #
254
310
  class ChannelSummary < Struct.new(
255
311
  :channel_name,
312
+ :channel_storage,
256
313
  :status,
257
314
  :creation_time,
258
315
  :last_update_time)
@@ -326,6 +383,15 @@ module Aws::IoTAnalytics
326
383
  #
327
384
  # {
328
385
  # channel_name: "ChannelName", # required
386
+ # channel_storage: {
387
+ # service_managed_s3: {
388
+ # },
389
+ # customer_managed_s3: {
390
+ # bucket: "BucketName", # required
391
+ # key_prefix: "S3KeyPrefix",
392
+ # role_arn: "RoleArn", # required
393
+ # },
394
+ # },
329
395
  # retention_period: {
330
396
  # unlimited: false,
331
397
  # number_of_days: 1,
@@ -342,6 +408,10 @@ module Aws::IoTAnalytics
342
408
  # The name of the channel.
343
409
  # @return [String]
344
410
  #
411
+ # @!attribute [rw] channel_storage
412
+ # Where channel data is stored.
413
+ # @return [Types::ChannelStorage]
414
+ #
345
415
  # @!attribute [rw] retention_period
346
416
  # How long, in days, message data is kept for the channel.
347
417
  # @return [Types::RetentionPeriod]
@@ -352,6 +422,7 @@ module Aws::IoTAnalytics
352
422
  #
353
423
  class CreateChannelRequest < Struct.new(
354
424
  :channel_name,
425
+ :channel_storage,
355
426
  :retention_period,
356
427
  :tags)
357
428
  include Aws::Structure
@@ -566,6 +637,15 @@ module Aws::IoTAnalytics
566
637
  #
567
638
  # {
568
639
  # datastore_name: "DatastoreName", # required
640
+ # datastore_storage: {
641
+ # service_managed_s3: {
642
+ # },
643
+ # customer_managed_s3: {
644
+ # bucket: "BucketName", # required
645
+ # key_prefix: "S3KeyPrefix",
646
+ # role_arn: "RoleArn", # required
647
+ # },
648
+ # },
569
649
  # retention_period: {
570
650
  # unlimited: false,
571
651
  # number_of_days: 1,
@@ -582,6 +662,10 @@ module Aws::IoTAnalytics
582
662
  # The name of the data store.
583
663
  # @return [String]
584
664
  #
665
+ # @!attribute [rw] datastore_storage
666
+ # Where data store data is stored.
667
+ # @return [Types::DatastoreStorage]
668
+ #
585
669
  # @!attribute [rw] retention_period
586
670
  # How long, in days, message data is kept for the data store.
587
671
  # @return [Types::RetentionPeriod]
@@ -592,6 +676,7 @@ module Aws::IoTAnalytics
592
676
  #
593
677
  class CreateDatastoreRequest < Struct.new(
594
678
  :datastore_name,
679
+ :datastore_storage,
595
680
  :retention_period,
596
681
  :tags)
597
682
  include Aws::Structure
@@ -735,6 +820,124 @@ module Aws::IoTAnalytics
735
820
  include Aws::Structure
736
821
  end
737
822
 
823
+ # Use this to store channel data in an S3 bucket that you manage.
824
+ #
825
+ # @note When making an API call, you may pass CustomerManagedChannelS3Storage
826
+ # data as a hash:
827
+ #
828
+ # {
829
+ # bucket: "BucketName", # required
830
+ # key_prefix: "S3KeyPrefix",
831
+ # role_arn: "RoleArn", # required
832
+ # }
833
+ #
834
+ # @!attribute [rw] bucket
835
+ # The name of the Amazon S3 bucket in which channel data is stored.
836
+ # @return [String]
837
+ #
838
+ # @!attribute [rw] key_prefix
839
+ # The prefix used to create the keys of the channel data objects. Each
840
+ # object in an Amazon S3 bucket has a key that is its unique
841
+ # identifier within the bucket (each object in a bucket has exactly
842
+ # one key).
843
+ # @return [String]
844
+ #
845
+ # @!attribute [rw] role_arn
846
+ # The ARN of the role which grants AWS IoT Analytics permission to
847
+ # interact with your Amazon S3 resources.
848
+ # @return [String]
849
+ #
850
+ class CustomerManagedChannelS3Storage < Struct.new(
851
+ :bucket,
852
+ :key_prefix,
853
+ :role_arn)
854
+ include Aws::Structure
855
+ end
856
+
857
+ # Used to store channel data in an S3 bucket that you manage.
858
+ #
859
+ # @!attribute [rw] bucket
860
+ # The name of the Amazon S3 bucket in which channel data is stored.
861
+ # @return [String]
862
+ #
863
+ # @!attribute [rw] key_prefix
864
+ # The prefix used to create the keys of the channel data objects. Each
865
+ # object in an Amazon S3 bucket has a key that is its unique
866
+ # identifier within the bucket (each object in a bucket has exactly
867
+ # one key).
868
+ # @return [String]
869
+ #
870
+ # @!attribute [rw] role_arn
871
+ # The ARN of the role which grants AWS IoT Analytics permission to
872
+ # interact with your Amazon S3 resources.
873
+ # @return [String]
874
+ #
875
+ class CustomerManagedChannelS3StorageSummary < Struct.new(
876
+ :bucket,
877
+ :key_prefix,
878
+ :role_arn)
879
+ include Aws::Structure
880
+ end
881
+
882
+ # Use this to store data store data in an S3 bucket that you manage.
883
+ #
884
+ # @note When making an API call, you may pass CustomerManagedDatastoreS3Storage
885
+ # data as a hash:
886
+ #
887
+ # {
888
+ # bucket: "BucketName", # required
889
+ # key_prefix: "S3KeyPrefix",
890
+ # role_arn: "RoleArn", # required
891
+ # }
892
+ #
893
+ # @!attribute [rw] bucket
894
+ # The name of the Amazon S3 bucket in which data store data is stored.
895
+ # @return [String]
896
+ #
897
+ # @!attribute [rw] key_prefix
898
+ # The prefix used to create the keys of the data store data objects.
899
+ # Each object in an Amazon S3 bucket has a key that is its unique
900
+ # identifier within the bucket (each object in a bucket has exactly
901
+ # one key).
902
+ # @return [String]
903
+ #
904
+ # @!attribute [rw] role_arn
905
+ # The ARN of the role which grants AWS IoT Analytics permission to
906
+ # interact with your Amazon S3 resources.
907
+ # @return [String]
908
+ #
909
+ class CustomerManagedDatastoreS3Storage < Struct.new(
910
+ :bucket,
911
+ :key_prefix,
912
+ :role_arn)
913
+ include Aws::Structure
914
+ end
915
+
916
+ # Used to store data store data in an S3 bucket that you manage.
917
+ #
918
+ # @!attribute [rw] bucket
919
+ # The name of the Amazon S3 bucket in which data store data is stored.
920
+ # @return [String]
921
+ #
922
+ # @!attribute [rw] key_prefix
923
+ # The prefix used to create the keys of the data store data objects.
924
+ # Each object in an Amazon S3 bucket has a key that is its unique
925
+ # identifier within the bucket (each object in a bucket has exactly
926
+ # one key).
927
+ # @return [String]
928
+ #
929
+ # @!attribute [rw] role_arn
930
+ # The ARN of the role which grants AWS IoT Analytics permission to
931
+ # interact with your Amazon S3 resources.
932
+ # @return [String]
933
+ #
934
+ class CustomerManagedDatastoreS3StorageSummary < Struct.new(
935
+ :bucket,
936
+ :key_prefix,
937
+ :role_arn)
938
+ include Aws::Structure
939
+ end
940
+
738
941
  # Information about a data set.
739
942
  #
740
943
  # @!attribute [rw] name
@@ -1117,6 +1320,10 @@ module Aws::IoTAnalytics
1117
1320
  # The name of the data store.
1118
1321
  # @return [String]
1119
1322
  #
1323
+ # @!attribute [rw] storage
1324
+ # Where data store data is stored.
1325
+ # @return [Types::DatastoreStorage]
1326
+ #
1120
1327
  # @!attribute [rw] arn
1121
1328
  # The ARN of the data store.
1122
1329
  # @return [String]
@@ -1151,6 +1358,7 @@ module Aws::IoTAnalytics
1151
1358
  #
1152
1359
  class Datastore < Struct.new(
1153
1360
  :name,
1361
+ :storage,
1154
1362
  :arn,
1155
1363
  :status,
1156
1364
  :retention_period,
@@ -1195,12 +1403,63 @@ module Aws::IoTAnalytics
1195
1403
  include Aws::Structure
1196
1404
  end
1197
1405
 
1406
+ # Where data store data is stored.
1407
+ #
1408
+ # @note When making an API call, you may pass DatastoreStorage
1409
+ # data as a hash:
1410
+ #
1411
+ # {
1412
+ # service_managed_s3: {
1413
+ # },
1414
+ # customer_managed_s3: {
1415
+ # bucket: "BucketName", # required
1416
+ # key_prefix: "S3KeyPrefix",
1417
+ # role_arn: "RoleArn", # required
1418
+ # },
1419
+ # }
1420
+ #
1421
+ # @!attribute [rw] service_managed_s3
1422
+ # Use this to store data store data in an S3 bucket managed by the AWS
1423
+ # IoT Analytics service.
1424
+ # @return [Types::ServiceManagedDatastoreS3Storage]
1425
+ #
1426
+ # @!attribute [rw] customer_managed_s3
1427
+ # Use this to store data store data in an S3 bucket that you manage.
1428
+ # @return [Types::CustomerManagedDatastoreS3Storage]
1429
+ #
1430
+ class DatastoreStorage < Struct.new(
1431
+ :service_managed_s3,
1432
+ :customer_managed_s3)
1433
+ include Aws::Structure
1434
+ end
1435
+
1436
+ # Where data store data is stored.
1437
+ #
1438
+ # @!attribute [rw] service_managed_s3
1439
+ # Used to store data store data in an S3 bucket managed by the AWS IoT
1440
+ # Analytics service.
1441
+ # @return [Types::ServiceManagedDatastoreS3StorageSummary]
1442
+ #
1443
+ # @!attribute [rw] customer_managed_s3
1444
+ # Used to store data store data in an S3 bucket that you manage.
1445
+ # @return [Types::CustomerManagedDatastoreS3StorageSummary]
1446
+ #
1447
+ class DatastoreStorageSummary < Struct.new(
1448
+ :service_managed_s3,
1449
+ :customer_managed_s3)
1450
+ include Aws::Structure
1451
+ end
1452
+
1198
1453
  # A summary of information about a data store.
1199
1454
  #
1200
1455
  # @!attribute [rw] datastore_name
1201
1456
  # The name of the data store.
1202
1457
  # @return [String]
1203
1458
  #
1459
+ # @!attribute [rw] datastore_storage
1460
+ # Where data store data is stored.
1461
+ # @return [Types::DatastoreStorageSummary]
1462
+ #
1204
1463
  # @!attribute [rw] status
1205
1464
  # The status of the data store.
1206
1465
  # @return [String]
@@ -1215,6 +1474,7 @@ module Aws::IoTAnalytics
1215
1474
  #
1216
1475
  class DatastoreSummary < Struct.new(
1217
1476
  :datastore_name,
1477
+ :datastore_storage,
1218
1478
  :status,
1219
1479
  :creation_time,
1220
1480
  :last_update_time)
@@ -2760,6 +3020,30 @@ module Aws::IoTAnalytics
2760
3020
  include Aws::Structure
2761
3021
  end
2762
3022
 
3023
+ # Use this to store channel data in an S3 bucket managed by the AWS IoT
3024
+ # Analytics service.
3025
+ #
3026
+ # @api private
3027
+ #
3028
+ class ServiceManagedChannelS3Storage < Aws::EmptyStructure; end
3029
+
3030
+ # Used to store channel data in an S3 bucket managed by the AWS IoT
3031
+ # Analytics service.
3032
+ #
3033
+ class ServiceManagedChannelS3StorageSummary < Aws::EmptyStructure; end
3034
+
3035
+ # Use this to store data store data in an S3 bucket managed by the AWS
3036
+ # IoT Analytics service.
3037
+ #
3038
+ # @api private
3039
+ #
3040
+ class ServiceManagedDatastoreS3Storage < Aws::EmptyStructure; end
3041
+
3042
+ # Used to store data store data in an S3 bucket managed by the AWS IoT
3043
+ # Analytics service.
3044
+ #
3045
+ class ServiceManagedDatastoreS3StorageSummary < Aws::EmptyStructure; end
3046
+
2763
3047
  # The service is temporarily unavailable.
2764
3048
  #
2765
3049
  # @!attribute [rw] message
@@ -2950,6 +3234,15 @@ module Aws::IoTAnalytics
2950
3234
  #
2951
3235
  # {
2952
3236
  # channel_name: "ChannelName", # required
3237
+ # channel_storage: {
3238
+ # service_managed_s3: {
3239
+ # },
3240
+ # customer_managed_s3: {
3241
+ # bucket: "BucketName", # required
3242
+ # key_prefix: "S3KeyPrefix",
3243
+ # role_arn: "RoleArn", # required
3244
+ # },
3245
+ # },
2953
3246
  # retention_period: {
2954
3247
  # unlimited: false,
2955
3248
  # number_of_days: 1,
@@ -2960,12 +3253,17 @@ module Aws::IoTAnalytics
2960
3253
  # The name of the channel to be updated.
2961
3254
  # @return [String]
2962
3255
  #
3256
+ # @!attribute [rw] channel_storage
3257
+ # Where channel data is stored.
3258
+ # @return [Types::ChannelStorage]
3259
+ #
2963
3260
  # @!attribute [rw] retention_period
2964
3261
  # How long, in days, message data is kept for the channel.
2965
3262
  # @return [Types::RetentionPeriod]
2966
3263
  #
2967
3264
  class UpdateChannelRequest < Struct.new(
2968
3265
  :channel_name,
3266
+ :channel_storage,
2969
3267
  :retention_period)
2970
3268
  include Aws::Structure
2971
3269
  end
@@ -3102,6 +3400,15 @@ module Aws::IoTAnalytics
3102
3400
  # unlimited: false,
3103
3401
  # number_of_days: 1,
3104
3402
  # },
3403
+ # datastore_storage: {
3404
+ # service_managed_s3: {
3405
+ # },
3406
+ # customer_managed_s3: {
3407
+ # bucket: "BucketName", # required
3408
+ # key_prefix: "S3KeyPrefix",
3409
+ # role_arn: "RoleArn", # required
3410
+ # },
3411
+ # },
3105
3412
  # }
3106
3413
  #
3107
3414
  # @!attribute [rw] datastore_name
@@ -3112,9 +3419,14 @@ module Aws::IoTAnalytics
3112
3419
  # How long, in days, message data is kept for the data store.
3113
3420
  # @return [Types::RetentionPeriod]
3114
3421
  #
3422
+ # @!attribute [rw] datastore_storage
3423
+ # Where data store data is stored.
3424
+ # @return [Types::DatastoreStorage]
3425
+ #
3115
3426
  class UpdateDatastoreRequest < Struct.new(
3116
3427
  :datastore_name,
3117
- :retention_period)
3428
+ :retention_period,
3429
+ :datastore_storage)
3118
3430
  include Aws::Structure
3119
3431
  end
3120
3432
 
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.20.0
4
+ version: 1.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-21 00:00:00.000000000 Z
11
+ date: 2019-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core