aws-sdk-iotanalytics 1.37.0 → 1.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +218 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-iotanalytics.rb +2 -2
- data/lib/aws-sdk-iotanalytics/client.rb +113 -72
- data/lib/aws-sdk-iotanalytics/client_api.rb +47 -1
- data/lib/aws-sdk-iotanalytics/errors.rb +1 -1
- data/lib/aws-sdk-iotanalytics/resource.rb +1 -1
- data/lib/aws-sdk-iotanalytics/types.rb +469 -214
- metadata +11 -9
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -336,7 +336,7 @@ module Aws::IoTAnalytics
|
|
336
336
|
# The list of messages to be sent. Each message has the format: \\\{
|
337
337
|
# "messageId": "string", "payload": "string"\\}.
|
338
338
|
#
|
339
|
-
# The field names of message payloads (data) that you send to
|
339
|
+
# The field names of message payloads (data) that you send to IoT
|
340
340
|
# Analytics:
|
341
341
|
#
|
342
342
|
# * Must contain only alphanumeric characters and undescores (\_). No
|
@@ -413,9 +413,9 @@ module Aws::IoTAnalytics
|
|
413
413
|
req.send_request(options)
|
414
414
|
end
|
415
415
|
|
416
|
-
#
|
417
|
-
# archives the raw, unprocessed messages before publishing the data
|
418
|
-
# pipeline.
|
416
|
+
# Used to create a channel. A channel collects data from an MQTT topic
|
417
|
+
# and archives the raw, unprocessed messages before publishing the data
|
418
|
+
# to a pipeline.
|
419
419
|
#
|
420
420
|
# @option params [required, String] :channel_name
|
421
421
|
# The name of the channel.
|
@@ -423,7 +423,7 @@ module Aws::IoTAnalytics
|
|
423
423
|
# @option params [Types::ChannelStorage] :channel_storage
|
424
424
|
# Where channel data is stored. You can choose one of `serviceManagedS3`
|
425
425
|
# or `customerManagedS3` storage. If not specified, the default is
|
426
|
-
# `serviceManagedS3`. You
|
426
|
+
# `serviceManagedS3`. You can't change this storage option after the
|
427
427
|
# channel is created.
|
428
428
|
#
|
429
429
|
# @option params [Types::RetentionPeriod] :retention_period
|
@@ -478,22 +478,22 @@ module Aws::IoTAnalytics
|
|
478
478
|
req.send_request(options)
|
479
479
|
end
|
480
480
|
|
481
|
-
#
|
482
|
-
# by applying a `queryAction` (a SQL query) or a `containerAction`
|
481
|
+
# Used to create a dataset. A dataset stores data retrieved from a data
|
482
|
+
# store by applying a `queryAction` (a SQL query) or a `containerAction`
|
483
483
|
# (executing a containerized application). This operation creates the
|
484
484
|
# skeleton of a dataset. The dataset can be populated manually by
|
485
485
|
# calling `CreateDatasetContent` or automatically according to a trigger
|
486
486
|
# you specify.
|
487
487
|
#
|
488
488
|
# @option params [required, String] :dataset_name
|
489
|
-
# The name of the
|
489
|
+
# The name of the dataset.
|
490
490
|
#
|
491
491
|
# @option params [required, Array<Types::DatasetAction>] :actions
|
492
|
-
# A list of actions that create the
|
492
|
+
# A list of actions that create the dataset contents.
|
493
493
|
#
|
494
494
|
# @option params [Array<Types::DatasetTrigger>] :triggers
|
495
|
-
# A list of triggers. A trigger causes
|
496
|
-
# at a specified time interval or when another
|
495
|
+
# A list of triggers. A trigger causes dataset contents to be populated
|
496
|
+
# at a specified time interval or when another dataset's contents are
|
497
497
|
# created. The list of triggers can be empty or contain up to five
|
498
498
|
# `DataSetTrigger` objects.
|
499
499
|
#
|
@@ -506,9 +506,9 @@ module Aws::IoTAnalytics
|
|
506
506
|
# the dataset. If not specified or set to `null`, versions of dataset
|
507
507
|
# contents are retained for at most 90 days. The number of versions of
|
508
508
|
# dataset contents retained is determined by the
|
509
|
-
# `versioningConfiguration` parameter. For more information, see
|
510
|
-
#
|
511
|
-
#
|
509
|
+
# `versioningConfiguration` parameter. For more information, see [
|
510
|
+
# Keeping Multiple Versions of IoT Analytics datasets][1] in the *IoT
|
511
|
+
# Analytics User Guide*.
|
512
512
|
#
|
513
513
|
#
|
514
514
|
#
|
@@ -519,20 +519,20 @@ module Aws::IoTAnalytics
|
|
519
519
|
# specified or set to null, only the latest version plus the latest
|
520
520
|
# succeeded version (if they are different) are kept for the time period
|
521
521
|
# specified by the `retentionPeriod` parameter. For more information,
|
522
|
-
# see [Keeping Multiple Versions of
|
523
|
-
#
|
522
|
+
# see [Keeping Multiple Versions of IoT Analytics datasets][1] in the
|
523
|
+
# *IoT Analytics User Guide*.
|
524
524
|
#
|
525
525
|
#
|
526
526
|
#
|
527
527
|
# [1]: https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions
|
528
528
|
#
|
529
529
|
# @option params [Array<Types::Tag>] :tags
|
530
|
-
# Metadata which can be used to manage the
|
530
|
+
# Metadata which can be used to manage the dataset.
|
531
531
|
#
|
532
532
|
# @option params [Array<Types::LateDataRule>] :late_data_rules
|
533
|
-
# A list of data rules that send notifications to
|
534
|
-
#
|
535
|
-
#
|
533
|
+
# A list of data rules that send notifications to CloudWatch, when data
|
534
|
+
# arrives late. To specify `lateDataRules`, the dataset must use a
|
535
|
+
# [DeltaTimer][1] filter.
|
536
536
|
#
|
537
537
|
#
|
538
538
|
#
|
@@ -655,7 +655,7 @@ module Aws::IoTAnalytics
|
|
655
655
|
req.send_request(options)
|
656
656
|
end
|
657
657
|
|
658
|
-
# Creates the content of a
|
658
|
+
# Creates the content of a dataset by applying a `queryAction` (a SQL
|
659
659
|
# query) or a `containerAction` (executing a containerized application).
|
660
660
|
#
|
661
661
|
# @option params [required, String] :dataset_name
|
@@ -697,10 +697,11 @@ module Aws::IoTAnalytics
|
|
697
697
|
# The name of the data store.
|
698
698
|
#
|
699
699
|
# @option params [Types::DatastoreStorage] :datastore_storage
|
700
|
-
# Where data
|
701
|
-
# `serviceManagedS3`
|
702
|
-
#
|
703
|
-
#
|
700
|
+
# Where data in a data store is stored.. You can choose
|
701
|
+
# `serviceManagedS3` storage, `customerManagedS3` storage, or
|
702
|
+
# `iotSiteWiseMultiLayerStorage` storage. The default is
|
703
|
+
# `serviceManagedS3`. You can't change the choice of Amazon S3 storage
|
704
|
+
# after your data store is created.
|
704
705
|
#
|
705
706
|
# @option params [Types::RetentionPeriod] :retention_period
|
706
707
|
# How long, in days, message data is kept for the data store. When
|
@@ -710,8 +711,8 @@ module Aws::IoTAnalytics
|
|
710
711
|
# Metadata which can be used to manage the data store.
|
711
712
|
#
|
712
713
|
# @option params [Types::FileFormatConfiguration] :file_format_configuration
|
713
|
-
# Contains the configuration information of file formats.
|
714
|
-
#
|
714
|
+
# Contains the configuration information of file formats. IoT Analytics
|
715
|
+
# data stores support JSON and [Parquet][1].
|
715
716
|
#
|
716
717
|
# The default file format is JSON. You can specify only one format.
|
717
718
|
#
|
@@ -721,6 +722,9 @@ module Aws::IoTAnalytics
|
|
721
722
|
#
|
722
723
|
# [1]: https://parquet.apache.org/
|
723
724
|
#
|
725
|
+
# @option params [Types::DatastorePartitions] :datastore_partitions
|
726
|
+
# Contains information about the partition dimensions in a data store.
|
727
|
+
#
|
724
728
|
# @return [Types::CreateDatastoreResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
725
729
|
#
|
726
730
|
# * {Types::CreateDatastoreResponse#datastore_name #datastore_name} => String
|
@@ -739,6 +743,12 @@ module Aws::IoTAnalytics
|
|
739
743
|
# key_prefix: "S3KeyPrefix",
|
740
744
|
# role_arn: "RoleArn", # required
|
741
745
|
# },
|
746
|
+
# iot_site_wise_multi_layer_storage: {
|
747
|
+
# customer_managed_s3_storage: { # required
|
748
|
+
# bucket: "BucketName", # required
|
749
|
+
# key_prefix: "S3KeyPrefix",
|
750
|
+
# },
|
751
|
+
# },
|
742
752
|
# },
|
743
753
|
# retention_period: {
|
744
754
|
# unlimited: false,
|
@@ -764,6 +774,19 @@ module Aws::IoTAnalytics
|
|
764
774
|
# },
|
765
775
|
# },
|
766
776
|
# },
|
777
|
+
# datastore_partitions: {
|
778
|
+
# partitions: [
|
779
|
+
# {
|
780
|
+
# attribute_partition: {
|
781
|
+
# attribute_name: "PartitionAttributeName", # required
|
782
|
+
# },
|
783
|
+
# timestamp_partition: {
|
784
|
+
# attribute_name: "PartitionAttributeName", # required
|
785
|
+
# timestamp_format: "TimestampFormat",
|
786
|
+
# },
|
787
|
+
# },
|
788
|
+
# ],
|
789
|
+
# },
|
767
790
|
# })
|
768
791
|
#
|
769
792
|
# @example Response structure
|
@@ -793,7 +816,7 @@ module Aws::IoTAnalytics
|
|
793
816
|
# A list of `PipelineActivity` objects. Activities perform
|
794
817
|
# transformations on your messages, such as removing, renaming or adding
|
795
818
|
# message attributes; filtering messages based on attribute values;
|
796
|
-
# invoking your Lambda
|
819
|
+
# invoking your Lambda unctions on messages for advanced processing; or
|
797
820
|
# performing mathematical transformations to normalize device data.
|
798
821
|
#
|
799
822
|
# The list can be 2-25 `PipelineActivity` objects and must contain both
|
@@ -922,7 +945,7 @@ module Aws::IoTAnalytics
|
|
922
945
|
# perform this operation.
|
923
946
|
#
|
924
947
|
# @option params [required, String] :dataset_name
|
925
|
-
# The name of the
|
948
|
+
# The name of the dataset to delete.
|
926
949
|
#
|
927
950
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
928
951
|
#
|
@@ -1013,7 +1036,7 @@ module Aws::IoTAnalytics
|
|
1013
1036
|
#
|
1014
1037
|
# @option params [Boolean] :include_statistics
|
1015
1038
|
# If true, additional statistical information about the channel is
|
1016
|
-
# included in the response. This feature
|
1039
|
+
# included in the response. This feature can't be used with a channel
|
1017
1040
|
# whose S3 storage is customer-managed.
|
1018
1041
|
#
|
1019
1042
|
# @return [Types::DescribeChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1054,7 +1077,7 @@ module Aws::IoTAnalytics
|
|
1054
1077
|
# Retrieves information about a dataset.
|
1055
1078
|
#
|
1056
1079
|
# @option params [required, String] :dataset_name
|
1057
|
-
# The name of the
|
1080
|
+
# The name of the dataset whose information is retrieved.
|
1058
1081
|
#
|
1059
1082
|
# @return [Types::DescribeDatasetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1060
1083
|
#
|
@@ -1123,7 +1146,7 @@ module Aws::IoTAnalytics
|
|
1123
1146
|
#
|
1124
1147
|
# @option params [Boolean] :include_statistics
|
1125
1148
|
# If true, additional statistical information about the data store is
|
1126
|
-
# included in the response. This feature
|
1149
|
+
# included in the response. This feature can't be used with a data
|
1127
1150
|
# store whose S3 storage is customer-managed.
|
1128
1151
|
#
|
1129
1152
|
# @return [Types::DescribeDatastoreResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1144,6 +1167,8 @@ module Aws::IoTAnalytics
|
|
1144
1167
|
# resp.datastore.storage.customer_managed_s3.bucket #=> String
|
1145
1168
|
# resp.datastore.storage.customer_managed_s3.key_prefix #=> String
|
1146
1169
|
# resp.datastore.storage.customer_managed_s3.role_arn #=> String
|
1170
|
+
# resp.datastore.storage.iot_site_wise_multi_layer_storage.customer_managed_s3_storage.bucket #=> String
|
1171
|
+
# resp.datastore.storage.iot_site_wise_multi_layer_storage.customer_managed_s3_storage.key_prefix #=> String
|
1147
1172
|
# resp.datastore.arn #=> String
|
1148
1173
|
# resp.datastore.status #=> String, one of "CREATING", "ACTIVE", "DELETING"
|
1149
1174
|
# resp.datastore.retention_period.unlimited #=> Boolean
|
@@ -1154,6 +1179,10 @@ module Aws::IoTAnalytics
|
|
1154
1179
|
# resp.datastore.file_format_configuration.parquet_configuration.schema_definition.columns #=> Array
|
1155
1180
|
# resp.datastore.file_format_configuration.parquet_configuration.schema_definition.columns[0].name #=> String
|
1156
1181
|
# resp.datastore.file_format_configuration.parquet_configuration.schema_definition.columns[0].type #=> String
|
1182
|
+
# resp.datastore.datastore_partitions.partitions #=> Array
|
1183
|
+
# resp.datastore.datastore_partitions.partitions[0].attribute_partition.attribute_name #=> String
|
1184
|
+
# resp.datastore.datastore_partitions.partitions[0].timestamp_partition.attribute_name #=> String
|
1185
|
+
# resp.datastore.datastore_partitions.partitions[0].timestamp_partition.timestamp_format #=> String
|
1157
1186
|
# resp.statistics.size.estimated_size_in_bytes #=> Float
|
1158
1187
|
# resp.statistics.size.estimated_on #=> Time
|
1159
1188
|
#
|
@@ -1164,8 +1193,7 @@ module Aws::IoTAnalytics
|
|
1164
1193
|
req.send_request(options)
|
1165
1194
|
end
|
1166
1195
|
|
1167
|
-
# Retrieves the current settings of the
|
1168
|
-
# options.
|
1196
|
+
# Retrieves the current settings of the IoT Analytics logging options.
|
1169
1197
|
#
|
1170
1198
|
# @return [Types::DescribeLoggingOptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1171
1199
|
#
|
@@ -1256,20 +1284,20 @@ module Aws::IoTAnalytics
|
|
1256
1284
|
req.send_request(options)
|
1257
1285
|
end
|
1258
1286
|
|
1259
|
-
# Retrieves the contents of a
|
1287
|
+
# Retrieves the contents of a dataset as presigned URIs.
|
1260
1288
|
#
|
1261
1289
|
# @option params [required, String] :dataset_name
|
1262
|
-
# The name of the
|
1290
|
+
# The name of the dataset whose contents are retrieved.
|
1263
1291
|
#
|
1264
1292
|
# @option params [String] :version_id
|
1265
|
-
# The version of the
|
1293
|
+
# The version of the dataset whose contents are retrieved. You can also
|
1266
1294
|
# use the strings "$LATEST" or "$LATEST\_SUCCEEDED" to retrieve the
|
1267
|
-
# contents of the latest or latest successfully completed
|
1295
|
+
# contents of the latest or latest successfully completed dataset. If
|
1268
1296
|
# not specified, "$LATEST\_SUCCEEDED" is the default.
|
1269
1297
|
#
|
1270
1298
|
# @return [Types::GetDatasetContentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1271
1299
|
#
|
1272
|
-
# * {Types::GetDatasetContentResponse#entries #entries} => Array<Types::DatasetEntry>
|
1300
|
+
# * {Types::GetDatasetContentResponse#entries #data.entries} => Array<Types::DatasetEntry> (This method conflicts with a method on Response, call it through the data member)
|
1273
1301
|
# * {Types::GetDatasetContentResponse#timestamp #timestamp} => Time
|
1274
1302
|
# * {Types::GetDatasetContentResponse#status #status} => Types::DatasetContentStatus
|
1275
1303
|
#
|
@@ -1282,9 +1310,9 @@ module Aws::IoTAnalytics
|
|
1282
1310
|
#
|
1283
1311
|
# @example Response structure
|
1284
1312
|
#
|
1285
|
-
# resp.entries #=> Array
|
1286
|
-
# resp.entries[0].entry_name #=> String
|
1287
|
-
# resp.entries[0].data_uri #=> String
|
1313
|
+
# resp.data.entries #=> Array
|
1314
|
+
# resp.data.entries[0].entry_name #=> String
|
1315
|
+
# resp.data.entries[0].data_uri #=> String
|
1288
1316
|
# resp.timestamp #=> Time
|
1289
1317
|
# resp.status.state #=> String, one of "CREATING", "SUCCEEDED", "FAILED"
|
1290
1318
|
# resp.status.reason #=> String
|
@@ -1340,10 +1368,10 @@ module Aws::IoTAnalytics
|
|
1340
1368
|
req.send_request(options)
|
1341
1369
|
end
|
1342
1370
|
|
1343
|
-
# Lists information about
|
1371
|
+
# Lists information about dataset contents that have been created.
|
1344
1372
|
#
|
1345
1373
|
# @option params [required, String] :dataset_name
|
1346
|
-
# The name of the
|
1374
|
+
# The name of the dataset whose contents information you want to list.
|
1347
1375
|
#
|
1348
1376
|
# @option params [String] :next_token
|
1349
1377
|
# The token for the next set of results.
|
@@ -1352,12 +1380,12 @@ module Aws::IoTAnalytics
|
|
1352
1380
|
# The maximum number of results to return in this request.
|
1353
1381
|
#
|
1354
1382
|
# @option params [Time,DateTime,Date,Integer,String] :scheduled_on_or_after
|
1355
|
-
# A filter to limit results to those
|
1383
|
+
# A filter to limit results to those dataset contents whose creation is
|
1356
1384
|
# scheduled on or after the given time. See the field
|
1357
1385
|
# `triggers.schedule` in the `CreateDataset` request. (timestamp)
|
1358
1386
|
#
|
1359
1387
|
# @option params [Time,DateTime,Date,Integer,String] :scheduled_before
|
1360
|
-
# A filter to limit results to those
|
1388
|
+
# A filter to limit results to those dataset contents whose creation is
|
1361
1389
|
# scheduled before the given time. See the field `triggers.schedule` in
|
1362
1390
|
# the `CreateDataset` request. (timestamp)
|
1363
1391
|
#
|
@@ -1396,7 +1424,7 @@ module Aws::IoTAnalytics
|
|
1396
1424
|
req.send_request(options)
|
1397
1425
|
end
|
1398
1426
|
|
1399
|
-
# Retrieves information about
|
1427
|
+
# Retrieves information about datasets.
|
1400
1428
|
#
|
1401
1429
|
# @option params [String] :next_token
|
1402
1430
|
# The token for the next set of results.
|
@@ -1473,11 +1501,17 @@ module Aws::IoTAnalytics
|
|
1473
1501
|
# resp.datastore_summaries[0].datastore_storage.customer_managed_s3.bucket #=> String
|
1474
1502
|
# resp.datastore_summaries[0].datastore_storage.customer_managed_s3.key_prefix #=> String
|
1475
1503
|
# resp.datastore_summaries[0].datastore_storage.customer_managed_s3.role_arn #=> String
|
1504
|
+
# resp.datastore_summaries[0].datastore_storage.iot_site_wise_multi_layer_storage.customer_managed_s3_storage.bucket #=> String
|
1505
|
+
# resp.datastore_summaries[0].datastore_storage.iot_site_wise_multi_layer_storage.customer_managed_s3_storage.key_prefix #=> String
|
1476
1506
|
# resp.datastore_summaries[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING"
|
1477
1507
|
# resp.datastore_summaries[0].creation_time #=> Time
|
1478
1508
|
# resp.datastore_summaries[0].last_update_time #=> Time
|
1479
1509
|
# resp.datastore_summaries[0].last_message_arrival_time #=> Time
|
1480
1510
|
# resp.datastore_summaries[0].file_format_type #=> String, one of "JSON", "PARQUET"
|
1511
|
+
# resp.datastore_summaries[0].datastore_partitions.partitions #=> Array
|
1512
|
+
# resp.datastore_summaries[0].datastore_partitions.partitions[0].attribute_partition.attribute_name #=> String
|
1513
|
+
# resp.datastore_summaries[0].datastore_partitions.partitions[0].timestamp_partition.attribute_name #=> String
|
1514
|
+
# resp.datastore_summaries[0].datastore_partitions.partitions[0].timestamp_partition.timestamp_format #=> String
|
1481
1515
|
# resp.next_token #=> String
|
1482
1516
|
#
|
1483
1517
|
# @overload list_datastores(params = {})
|
@@ -1558,7 +1592,7 @@ module Aws::IoTAnalytics
|
|
1558
1592
|
req.send_request(options)
|
1559
1593
|
end
|
1560
1594
|
|
1561
|
-
# Sets or updates the
|
1595
|
+
# Sets or updates the IoT Analytics logging options.
|
1562
1596
|
#
|
1563
1597
|
# If you update the value of any `loggingOptions` field, it takes up to
|
1564
1598
|
# one minute for the change to take effect. Also, if you change the
|
@@ -1567,7 +1601,7 @@ module Aws::IoTAnalytics
|
|
1567
1601
|
# for that change to take effect.
|
1568
1602
|
#
|
1569
1603
|
# @option params [required, Types::LoggingOptions] :logging_options
|
1570
|
-
# The new values of the
|
1604
|
+
# The new values of the IoT Analytics logging options.
|
1571
1605
|
#
|
1572
1606
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1573
1607
|
#
|
@@ -1593,9 +1627,9 @@ module Aws::IoTAnalytics
|
|
1593
1627
|
#
|
1594
1628
|
# @option params [required, Types::PipelineActivity] :pipeline_activity
|
1595
1629
|
# The pipeline activity that is run. This must not be a channel activity
|
1596
|
-
# or a
|
1630
|
+
# or a data store activity because these activities are used in a
|
1597
1631
|
# pipeline only to load the original message and to store the (possibly)
|
1598
|
-
# transformed message. If a
|
1632
|
+
# transformed message. If a Lambda activity is specified, only
|
1599
1633
|
# short-running Lambda functions (those with a timeout of less than 30
|
1600
1634
|
# seconds or less) can be used.
|
1601
1635
|
#
|
@@ -1830,7 +1864,7 @@ module Aws::IoTAnalytics
|
|
1830
1864
|
req.send_request(options)
|
1831
1865
|
end
|
1832
1866
|
|
1833
|
-
#
|
1867
|
+
# Used to update the settings of a channel.
|
1834
1868
|
#
|
1835
1869
|
# @option params [required, String] :channel_name
|
1836
1870
|
# The name of the channel to be updated.
|
@@ -1838,12 +1872,12 @@ module Aws::IoTAnalytics
|
|
1838
1872
|
# @option params [Types::ChannelStorage] :channel_storage
|
1839
1873
|
# Where channel data is stored. You can choose one of `serviceManagedS3`
|
1840
1874
|
# or `customerManagedS3` storage. If not specified, the default is
|
1841
|
-
# `serviceManagedS3`. You
|
1875
|
+
# `serviceManagedS3`. You can't change this storage option after the
|
1842
1876
|
# channel is created.
|
1843
1877
|
#
|
1844
1878
|
# @option params [Types::RetentionPeriod] :retention_period
|
1845
1879
|
# How long, in days, message data is kept for the channel. The retention
|
1846
|
-
# period
|
1880
|
+
# period can't be updated if the channel's Amazon S3 storage is
|
1847
1881
|
# customer-managed.
|
1848
1882
|
#
|
1849
1883
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -1874,10 +1908,10 @@ module Aws::IoTAnalytics
|
|
1874
1908
|
req.send_request(options)
|
1875
1909
|
end
|
1876
1910
|
|
1877
|
-
# Updates the settings of a
|
1911
|
+
# Updates the settings of a dataset.
|
1878
1912
|
#
|
1879
1913
|
# @option params [required, String] :dataset_name
|
1880
|
-
# The name of the
|
1914
|
+
# The name of the dataset to update.
|
1881
1915
|
#
|
1882
1916
|
# @option params [required, Array<Types::DatasetAction>] :actions
|
1883
1917
|
# A list of `DatasetAction` objects.
|
@@ -1898,17 +1932,17 @@ module Aws::IoTAnalytics
|
|
1898
1932
|
# specified or set to null, only the latest version plus the latest
|
1899
1933
|
# succeeded version (if they are different) are kept for the time period
|
1900
1934
|
# specified by the `retentionPeriod` parameter. For more information,
|
1901
|
-
# see [Keeping Multiple Versions of
|
1902
|
-
#
|
1935
|
+
# see [Keeping Multiple Versions of IoT Analytics datasets][1] in the
|
1936
|
+
# *IoT Analytics User Guide*.
|
1903
1937
|
#
|
1904
1938
|
#
|
1905
1939
|
#
|
1906
1940
|
# [1]: https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions
|
1907
1941
|
#
|
1908
1942
|
# @option params [Array<Types::LateDataRule>] :late_data_rules
|
1909
|
-
# A list of data rules that send notifications to
|
1910
|
-
#
|
1911
|
-
#
|
1943
|
+
# A list of data rules that send notifications to CloudWatch, when data
|
1944
|
+
# arrives late. To specify `lateDataRules`, the dataset must use a
|
1945
|
+
# [DeltaTimer][1] filter.
|
1912
1946
|
#
|
1913
1947
|
#
|
1914
1948
|
#
|
@@ -2014,25 +2048,26 @@ module Aws::IoTAnalytics
|
|
2014
2048
|
req.send_request(options)
|
2015
2049
|
end
|
2016
2050
|
|
2017
|
-
#
|
2051
|
+
# Used to update the settings of a data store.
|
2018
2052
|
#
|
2019
2053
|
# @option params [required, String] :datastore_name
|
2020
2054
|
# The name of the data store to be updated.
|
2021
2055
|
#
|
2022
2056
|
# @option params [Types::RetentionPeriod] :retention_period
|
2023
2057
|
# How long, in days, message data is kept for the data store. The
|
2024
|
-
# retention period
|
2025
|
-
# customer-managed.
|
2058
|
+
# retention period can't be updated if the data store's Amazon S3
|
2059
|
+
# storage is customer-managed.
|
2026
2060
|
#
|
2027
2061
|
# @option params [Types::DatastoreStorage] :datastore_storage
|
2028
|
-
# Where data
|
2029
|
-
# `serviceManagedS3`
|
2030
|
-
#
|
2031
|
-
#
|
2062
|
+
# Where data in a data store is stored.. You can choose
|
2063
|
+
# `serviceManagedS3` storage, `customerManagedS3` storage, or
|
2064
|
+
# `iotSiteWiseMultiLayerStorage` storage. The default is
|
2065
|
+
# `serviceManagedS3`. You can't change the choice of Amazon S3 storage
|
2066
|
+
# after your data store is created.
|
2032
2067
|
#
|
2033
2068
|
# @option params [Types::FileFormatConfiguration] :file_format_configuration
|
2034
|
-
# Contains the configuration information of file formats.
|
2035
|
-
#
|
2069
|
+
# Contains the configuration information of file formats. IoT Analytics
|
2070
|
+
# data stores support JSON and [Parquet][1].
|
2036
2071
|
#
|
2037
2072
|
# The default file format is JSON. You can specify only one format.
|
2038
2073
|
#
|
@@ -2060,6 +2095,12 @@ module Aws::IoTAnalytics
|
|
2060
2095
|
# key_prefix: "S3KeyPrefix",
|
2061
2096
|
# role_arn: "RoleArn", # required
|
2062
2097
|
# },
|
2098
|
+
# iot_site_wise_multi_layer_storage: {
|
2099
|
+
# customer_managed_s3_storage: { # required
|
2100
|
+
# bucket: "BucketName", # required
|
2101
|
+
# key_prefix: "S3KeyPrefix",
|
2102
|
+
# },
|
2103
|
+
# },
|
2063
2104
|
# },
|
2064
2105
|
# file_format_configuration: {
|
2065
2106
|
# json_configuration: {
|
@@ -2194,7 +2235,7 @@ module Aws::IoTAnalytics
|
|
2194
2235
|
params: params,
|
2195
2236
|
config: config)
|
2196
2237
|
context[:gem_name] = 'aws-sdk-iotanalytics'
|
2197
|
-
context[:gem_version] = '1.
|
2238
|
+
context[:gem_version] = '1.41.0'
|
2198
2239
|
Seahorse::Client::Request.new(handlers, context)
|
2199
2240
|
end
|
2200
2241
|
|