aws-sdk-iotanalytics 1.3.0 → 1.4.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 +4 -4
- data/lib/aws-sdk-iotanalytics.rb +1 -1
- data/lib/aws-sdk-iotanalytics/client.rb +130 -18
- data/lib/aws-sdk-iotanalytics/client_api.rb +79 -1
- data/lib/aws-sdk-iotanalytics/types.rb +492 -27
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 170ec01f40dcdc97da7f98294861efef95b094af
|
4
|
+
data.tar.gz: f593cd2b6bed4d0dc581edf55262c303d771cef9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 334cea5b654069f9e9af4450bbf7abe0251ad59a2610f9048d72182d806c35ea85e38cebb83960aee8ebc15379db9fa4bd97eb01fc05431ef34bde5bcca752fa
|
7
|
+
data.tar.gz: 49462eb56c9e837c7849b8034d12075f56eb4b789b3c417b8a7446abcc2af35e6d0054ba02cad7d4ef68874b5f20ab559da3470ea70543f7ee205094e4e95b67
|
data/lib/aws-sdk-iotanalytics.rb
CHANGED
@@ -270,24 +270,29 @@ module Aws::IoTAnalytics
|
|
270
270
|
end
|
271
271
|
|
272
272
|
# Creates a data set. A data set stores data retrieved from a data store
|
273
|
-
# by applying
|
274
|
-
#
|
275
|
-
#
|
276
|
-
#
|
277
|
-
#
|
278
|
-
# </note>
|
273
|
+
# by applying a "queryAction" (a SQL query) or a "containerAction"
|
274
|
+
# (executing a containerized application). This operation creates the
|
275
|
+
# skeleton of a data set. The data set can be populated manually by
|
276
|
+
# calling "CreateDatasetContent" or automatically according to a
|
277
|
+
# "trigger" you specify.
|
279
278
|
#
|
280
279
|
# @option params [required, String] :dataset_name
|
281
280
|
# The name of the data set.
|
282
281
|
#
|
283
282
|
# @option params [required, Array<Types::DatasetAction>] :actions
|
284
|
-
# A list of actions that create the data set.
|
285
|
-
# supported at this time.
|
283
|
+
# A list of actions that create the data set contents.
|
286
284
|
#
|
287
285
|
# @option params [Array<Types::DatasetTrigger>] :triggers
|
288
|
-
# A list of triggers. A trigger causes data set
|
289
|
-
# at a specified time or
|
290
|
-
# empty or contain up to five
|
286
|
+
# A list of triggers. A trigger causes data set contents to be populated
|
287
|
+
# at a specified time interval or when another data set's contents are
|
288
|
+
# created. The list of triggers can be empty or contain up to five
|
289
|
+
# **DataSetTrigger** objects.
|
290
|
+
#
|
291
|
+
# @option params [Types::RetentionPeriod] :retention_period
|
292
|
+
# \[Optional\] How long, in days, message data is kept for the data set.
|
293
|
+
# If not given or set to null, the latest version of the dataset content
|
294
|
+
# plus the latest succeeded version (if they are different) are retained
|
295
|
+
# for at most 90 days.
|
291
296
|
#
|
292
297
|
# @option params [Array<Types::Tag>] :tags
|
293
298
|
# Metadata which can be used to manage the data set.
|
@@ -296,6 +301,7 @@ module Aws::IoTAnalytics
|
|
296
301
|
#
|
297
302
|
# * {Types::CreateDatasetResponse#dataset_name #dataset_name} => String
|
298
303
|
# * {Types::CreateDatasetResponse#dataset_arn #dataset_arn} => String
|
304
|
+
# * {Types::CreateDatasetResponse#retention_period #retention_period} => Types::RetentionPeriod
|
299
305
|
#
|
300
306
|
# @example Request syntax with placeholder values
|
301
307
|
#
|
@@ -306,6 +312,35 @@ module Aws::IoTAnalytics
|
|
306
312
|
# action_name: "DatasetActionName",
|
307
313
|
# query_action: {
|
308
314
|
# sql_query: "SqlQuery", # required
|
315
|
+
# filters: [
|
316
|
+
# {
|
317
|
+
# delta_time: {
|
318
|
+
# offset_seconds: 1, # required
|
319
|
+
# time_expression: "TimeExpression", # required
|
320
|
+
# },
|
321
|
+
# },
|
322
|
+
# ],
|
323
|
+
# },
|
324
|
+
# container_action: {
|
325
|
+
# image: "Image", # required
|
326
|
+
# execution_role_arn: "RoleArn", # required
|
327
|
+
# resource_configuration: { # required
|
328
|
+
# compute_type: "ACU_1", # required, accepts ACU_1, ACU_2
|
329
|
+
# volume_size_in_gb: 1, # required
|
330
|
+
# },
|
331
|
+
# variables: [
|
332
|
+
# {
|
333
|
+
# name: "VariableName", # required
|
334
|
+
# string_value: "StringValue",
|
335
|
+
# double_value: 1.0,
|
336
|
+
# dataset_content_version_value: {
|
337
|
+
# dataset_name: "DatasetName", # required
|
338
|
+
# },
|
339
|
+
# output_file_uri_value: {
|
340
|
+
# file_name: "OutputFileName", # required
|
341
|
+
# },
|
342
|
+
# },
|
343
|
+
# ],
|
309
344
|
# },
|
310
345
|
# },
|
311
346
|
# ],
|
@@ -314,8 +349,15 @@ module Aws::IoTAnalytics
|
|
314
349
|
# schedule: {
|
315
350
|
# expression: "ScheduleExpression",
|
316
351
|
# },
|
352
|
+
# dataset: {
|
353
|
+
# name: "DatasetName", # required
|
354
|
+
# },
|
317
355
|
# },
|
318
356
|
# ],
|
357
|
+
# retention_period: {
|
358
|
+
# unlimited: false,
|
359
|
+
# number_of_days: 1,
|
360
|
+
# },
|
319
361
|
# tags: [
|
320
362
|
# {
|
321
363
|
# key: "TagKey", # required
|
@@ -328,6 +370,8 @@ module Aws::IoTAnalytics
|
|
328
370
|
#
|
329
371
|
# resp.dataset_name #=> String
|
330
372
|
# resp.dataset_arn #=> String
|
373
|
+
# resp.retention_period.unlimited #=> Boolean
|
374
|
+
# resp.retention_period.number_of_days #=> Integer
|
331
375
|
#
|
332
376
|
# @overload create_dataset(params = {})
|
333
377
|
# @param [Hash] params ({})
|
@@ -336,12 +380,14 @@ module Aws::IoTAnalytics
|
|
336
380
|
req.send_request(options)
|
337
381
|
end
|
338
382
|
|
339
|
-
# Creates the content of a data set by applying
|
383
|
+
# Creates the content of a data set by applying a SQL action.
|
340
384
|
#
|
341
385
|
# @option params [required, String] :dataset_name
|
342
386
|
# The name of the data set.
|
343
387
|
#
|
344
|
-
# @return [
|
388
|
+
# @return [Types::CreateDatasetContentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
389
|
+
#
|
390
|
+
# * {Types::CreateDatasetContentResponse#version_id #version_id} => String
|
345
391
|
#
|
346
392
|
# @example Request syntax with placeholder values
|
347
393
|
#
|
@@ -349,6 +395,10 @@ module Aws::IoTAnalytics
|
|
349
395
|
# dataset_name: "DatasetName", # required
|
350
396
|
# })
|
351
397
|
#
|
398
|
+
# @example Response structure
|
399
|
+
#
|
400
|
+
# resp.version_id #=> String
|
401
|
+
#
|
352
402
|
# @overload create_dataset_content(params = {})
|
353
403
|
# @param [Hash] params ({})
|
354
404
|
def create_dataset_content(params = {}, options = {})
|
@@ -629,7 +679,8 @@ module Aws::IoTAnalytics
|
|
629
679
|
# The name of the channel whose information is retrieved.
|
630
680
|
#
|
631
681
|
# @option params [Boolean] :include_statistics
|
632
|
-
# If true,
|
682
|
+
# If true, additional statistical information about the channel is
|
683
|
+
# included in the response.
|
633
684
|
#
|
634
685
|
# @return [Types::DescribeChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
635
686
|
#
|
@@ -684,11 +735,27 @@ module Aws::IoTAnalytics
|
|
684
735
|
# resp.dataset.actions #=> Array
|
685
736
|
# resp.dataset.actions[0].action_name #=> String
|
686
737
|
# resp.dataset.actions[0].query_action.sql_query #=> String
|
738
|
+
# resp.dataset.actions[0].query_action.filters #=> Array
|
739
|
+
# resp.dataset.actions[0].query_action.filters[0].delta_time.offset_seconds #=> Integer
|
740
|
+
# resp.dataset.actions[0].query_action.filters[0].delta_time.time_expression #=> String
|
741
|
+
# resp.dataset.actions[0].container_action.image #=> String
|
742
|
+
# resp.dataset.actions[0].container_action.execution_role_arn #=> String
|
743
|
+
# resp.dataset.actions[0].container_action.resource_configuration.compute_type #=> String, one of "ACU_1", "ACU_2"
|
744
|
+
# resp.dataset.actions[0].container_action.resource_configuration.volume_size_in_gb #=> Integer
|
745
|
+
# resp.dataset.actions[0].container_action.variables #=> Array
|
746
|
+
# resp.dataset.actions[0].container_action.variables[0].name #=> String
|
747
|
+
# resp.dataset.actions[0].container_action.variables[0].string_value #=> String
|
748
|
+
# resp.dataset.actions[0].container_action.variables[0].double_value #=> Float
|
749
|
+
# resp.dataset.actions[0].container_action.variables[0].dataset_content_version_value.dataset_name #=> String
|
750
|
+
# resp.dataset.actions[0].container_action.variables[0].output_file_uri_value.file_name #=> String
|
687
751
|
# resp.dataset.triggers #=> Array
|
688
752
|
# resp.dataset.triggers[0].schedule.expression #=> String
|
753
|
+
# resp.dataset.triggers[0].dataset.name #=> String
|
689
754
|
# resp.dataset.status #=> String, one of "CREATING", "ACTIVE", "DELETING"
|
690
755
|
# resp.dataset.creation_time #=> Time
|
691
756
|
# resp.dataset.last_update_time #=> Time
|
757
|
+
# resp.dataset.retention_period.unlimited #=> Boolean
|
758
|
+
# resp.dataset.retention_period.number_of_days #=> Integer
|
692
759
|
#
|
693
760
|
# @overload describe_dataset(params = {})
|
694
761
|
# @param [Hash] params ({})
|
@@ -703,7 +770,8 @@ module Aws::IoTAnalytics
|
|
703
770
|
# The name of the data store
|
704
771
|
#
|
705
772
|
# @option params [Boolean] :include_statistics
|
706
|
-
# If true,
|
773
|
+
# If true, additional statistical information about the datastore is
|
774
|
+
# included in the response.
|
707
775
|
#
|
708
776
|
# @return [Types::DescribeDatastoreResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
709
777
|
#
|
@@ -935,6 +1003,12 @@ module Aws::IoTAnalytics
|
|
935
1003
|
# resp.dataset_summaries[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING"
|
936
1004
|
# resp.dataset_summaries[0].creation_time #=> Time
|
937
1005
|
# resp.dataset_summaries[0].last_update_time #=> Time
|
1006
|
+
# resp.dataset_summaries[0].triggers #=> Array
|
1007
|
+
# resp.dataset_summaries[0].triggers[0].schedule.expression #=> String
|
1008
|
+
# resp.dataset_summaries[0].triggers[0].dataset.name #=> String
|
1009
|
+
# resp.dataset_summaries[0].actions #=> Array
|
1010
|
+
# resp.dataset_summaries[0].actions[0].action_name #=> String
|
1011
|
+
# resp.dataset_summaries[0].actions[0].action_type #=> String, one of "QUERY", "CONTAINER"
|
938
1012
|
# resp.next_token #=> String
|
939
1013
|
#
|
940
1014
|
# @overload list_datasets(params = {})
|
@@ -1340,13 +1414,15 @@ module Aws::IoTAnalytics
|
|
1340
1414
|
# The name of the data set to update.
|
1341
1415
|
#
|
1342
1416
|
# @option params [required, Array<Types::DatasetAction>] :actions
|
1343
|
-
# A list of "DatasetAction" objects.
|
1344
|
-
# this time.
|
1417
|
+
# A list of "DatasetAction" objects.
|
1345
1418
|
#
|
1346
1419
|
# @option params [Array<Types::DatasetTrigger>] :triggers
|
1347
1420
|
# A list of "DatasetTrigger" objects. The list can be empty or can
|
1348
1421
|
# contain up to five **DataSetTrigger** objects.
|
1349
1422
|
#
|
1423
|
+
# @option params [Types::RetentionPeriod] :retention_period
|
1424
|
+
# How long, in days, message data is kept for the data set.
|
1425
|
+
#
|
1350
1426
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1351
1427
|
#
|
1352
1428
|
# @example Request syntax with placeholder values
|
@@ -1358,6 +1434,35 @@ module Aws::IoTAnalytics
|
|
1358
1434
|
# action_name: "DatasetActionName",
|
1359
1435
|
# query_action: {
|
1360
1436
|
# sql_query: "SqlQuery", # required
|
1437
|
+
# filters: [
|
1438
|
+
# {
|
1439
|
+
# delta_time: {
|
1440
|
+
# offset_seconds: 1, # required
|
1441
|
+
# time_expression: "TimeExpression", # required
|
1442
|
+
# },
|
1443
|
+
# },
|
1444
|
+
# ],
|
1445
|
+
# },
|
1446
|
+
# container_action: {
|
1447
|
+
# image: "Image", # required
|
1448
|
+
# execution_role_arn: "RoleArn", # required
|
1449
|
+
# resource_configuration: { # required
|
1450
|
+
# compute_type: "ACU_1", # required, accepts ACU_1, ACU_2
|
1451
|
+
# volume_size_in_gb: 1, # required
|
1452
|
+
# },
|
1453
|
+
# variables: [
|
1454
|
+
# {
|
1455
|
+
# name: "VariableName", # required
|
1456
|
+
# string_value: "StringValue",
|
1457
|
+
# double_value: 1.0,
|
1458
|
+
# dataset_content_version_value: {
|
1459
|
+
# dataset_name: "DatasetName", # required
|
1460
|
+
# },
|
1461
|
+
# output_file_uri_value: {
|
1462
|
+
# file_name: "OutputFileName", # required
|
1463
|
+
# },
|
1464
|
+
# },
|
1465
|
+
# ],
|
1361
1466
|
# },
|
1362
1467
|
# },
|
1363
1468
|
# ],
|
@@ -1366,8 +1471,15 @@ module Aws::IoTAnalytics
|
|
1366
1471
|
# schedule: {
|
1367
1472
|
# expression: "ScheduleExpression",
|
1368
1473
|
# },
|
1474
|
+
# dataset: {
|
1475
|
+
# name: "DatasetName", # required
|
1476
|
+
# },
|
1369
1477
|
# },
|
1370
1478
|
# ],
|
1479
|
+
# retention_period: {
|
1480
|
+
# unlimited: false,
|
1481
|
+
# number_of_days: 1,
|
1482
|
+
# },
|
1371
1483
|
# })
|
1372
1484
|
#
|
1373
1485
|
# @overload update_dataset(params = {})
|
@@ -1507,7 +1619,7 @@ module Aws::IoTAnalytics
|
|
1507
1619
|
params: params,
|
1508
1620
|
config: config)
|
1509
1621
|
context[:gem_name] = 'aws-sdk-iotanalytics'
|
1510
|
-
context[:gem_version] = '1.
|
1622
|
+
context[:gem_version] = '1.4.0'
|
1511
1623
|
Seahorse::Client::Request.new(handlers, context)
|
1512
1624
|
end
|
1513
1625
|
|
@@ -31,9 +31,12 @@ module Aws::IoTAnalytics
|
|
31
31
|
ChannelStatus = Shapes::StringShape.new(name: 'ChannelStatus')
|
32
32
|
ChannelSummaries = Shapes::ListShape.new(name: 'ChannelSummaries')
|
33
33
|
ChannelSummary = Shapes::StructureShape.new(name: 'ChannelSummary')
|
34
|
+
ComputeType = Shapes::StringShape.new(name: 'ComputeType')
|
35
|
+
ContainerDatasetAction = Shapes::StructureShape.new(name: 'ContainerDatasetAction')
|
34
36
|
CreateChannelRequest = Shapes::StructureShape.new(name: 'CreateChannelRequest')
|
35
37
|
CreateChannelResponse = Shapes::StructureShape.new(name: 'CreateChannelResponse')
|
36
38
|
CreateDatasetContentRequest = Shapes::StructureShape.new(name: 'CreateDatasetContentRequest')
|
39
|
+
CreateDatasetContentResponse = Shapes::StructureShape.new(name: 'CreateDatasetContentResponse')
|
37
40
|
CreateDatasetRequest = Shapes::StructureShape.new(name: 'CreateDatasetRequest')
|
38
41
|
CreateDatasetResponse = Shapes::StructureShape.new(name: 'CreateDatasetResponse')
|
39
42
|
CreateDatastoreRequest = Shapes::StructureShape.new(name: 'CreateDatastoreRequest')
|
@@ -43,11 +46,15 @@ module Aws::IoTAnalytics
|
|
43
46
|
Dataset = Shapes::StructureShape.new(name: 'Dataset')
|
44
47
|
DatasetAction = Shapes::StructureShape.new(name: 'DatasetAction')
|
45
48
|
DatasetActionName = Shapes::StringShape.new(name: 'DatasetActionName')
|
49
|
+
DatasetActionSummaries = Shapes::ListShape.new(name: 'DatasetActionSummaries')
|
50
|
+
DatasetActionSummary = Shapes::StructureShape.new(name: 'DatasetActionSummary')
|
51
|
+
DatasetActionType = Shapes::StringShape.new(name: 'DatasetActionType')
|
46
52
|
DatasetActions = Shapes::ListShape.new(name: 'DatasetActions')
|
47
53
|
DatasetArn = Shapes::StringShape.new(name: 'DatasetArn')
|
48
54
|
DatasetContentState = Shapes::StringShape.new(name: 'DatasetContentState')
|
49
55
|
DatasetContentStatus = Shapes::StructureShape.new(name: 'DatasetContentStatus')
|
50
56
|
DatasetContentVersion = Shapes::StringShape.new(name: 'DatasetContentVersion')
|
57
|
+
DatasetContentVersionValue = Shapes::StructureShape.new(name: 'DatasetContentVersionValue')
|
51
58
|
DatasetEntries = Shapes::ListShape.new(name: 'DatasetEntries')
|
52
59
|
DatasetEntry = Shapes::StructureShape.new(name: 'DatasetEntry')
|
53
60
|
DatasetName = Shapes::StringShape.new(name: 'DatasetName')
|
@@ -69,6 +76,7 @@ module Aws::IoTAnalytics
|
|
69
76
|
DeleteDatasetRequest = Shapes::StructureShape.new(name: 'DeleteDatasetRequest')
|
70
77
|
DeleteDatastoreRequest = Shapes::StructureShape.new(name: 'DeleteDatastoreRequest')
|
71
78
|
DeletePipelineRequest = Shapes::StructureShape.new(name: 'DeletePipelineRequest')
|
79
|
+
DeltaTime = Shapes::StructureShape.new(name: 'DeltaTime')
|
72
80
|
DescribeChannelRequest = Shapes::StructureShape.new(name: 'DescribeChannelRequest')
|
73
81
|
DescribeChannelResponse = Shapes::StructureShape.new(name: 'DescribeChannelResponse')
|
74
82
|
DescribeDatasetRequest = Shapes::StructureShape.new(name: 'DescribeDatasetRequest')
|
@@ -81,6 +89,7 @@ module Aws::IoTAnalytics
|
|
81
89
|
DescribePipelineResponse = Shapes::StructureShape.new(name: 'DescribePipelineResponse')
|
82
90
|
DeviceRegistryEnrichActivity = Shapes::StructureShape.new(name: 'DeviceRegistryEnrichActivity')
|
83
91
|
DeviceShadowEnrichActivity = Shapes::StructureShape.new(name: 'DeviceShadowEnrichActivity')
|
92
|
+
DoubleValue = Shapes::FloatShape.new(name: 'DoubleValue')
|
84
93
|
EndTime = Shapes::TimestampShape.new(name: 'EndTime')
|
85
94
|
EntryName = Shapes::StringShape.new(name: 'EntryName')
|
86
95
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
@@ -90,6 +99,7 @@ module Aws::IoTAnalytics
|
|
90
99
|
FilterExpression = Shapes::StringShape.new(name: 'FilterExpression')
|
91
100
|
GetDatasetContentRequest = Shapes::StructureShape.new(name: 'GetDatasetContentRequest')
|
92
101
|
GetDatasetContentResponse = Shapes::StructureShape.new(name: 'GetDatasetContentResponse')
|
102
|
+
Image = Shapes::StringShape.new(name: 'Image')
|
93
103
|
IncludeStatisticsFlag = Shapes::BooleanShape.new(name: 'IncludeStatisticsFlag')
|
94
104
|
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
95
105
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
@@ -120,6 +130,9 @@ module Aws::IoTAnalytics
|
|
120
130
|
MessagePayloads = Shapes::ListShape.new(name: 'MessagePayloads')
|
121
131
|
Messages = Shapes::ListShape.new(name: 'Messages')
|
122
132
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
133
|
+
OffsetSeconds = Shapes::IntegerShape.new(name: 'OffsetSeconds')
|
134
|
+
OutputFileName = Shapes::StringShape.new(name: 'OutputFileName')
|
135
|
+
OutputFileUriValue = Shapes::StructureShape.new(name: 'OutputFileUriValue')
|
123
136
|
Pipeline = Shapes::StructureShape.new(name: 'Pipeline')
|
124
137
|
PipelineActivities = Shapes::ListShape.new(name: 'PipelineActivities')
|
125
138
|
PipelineActivity = Shapes::StructureShape.new(name: 'PipelineActivity')
|
@@ -129,6 +142,8 @@ module Aws::IoTAnalytics
|
|
129
142
|
PipelineSummary = Shapes::StructureShape.new(name: 'PipelineSummary')
|
130
143
|
PresignedURI = Shapes::StringShape.new(name: 'PresignedURI')
|
131
144
|
PutLoggingOptionsRequest = Shapes::StructureShape.new(name: 'PutLoggingOptionsRequest')
|
145
|
+
QueryFilter = Shapes::StructureShape.new(name: 'QueryFilter')
|
146
|
+
QueryFilters = Shapes::ListShape.new(name: 'QueryFilters')
|
132
147
|
Reason = Shapes::StringShape.new(name: 'Reason')
|
133
148
|
RemoveAttributesActivity = Shapes::StructureShape.new(name: 'RemoveAttributesActivity')
|
134
149
|
ReprocessingId = Shapes::StringShape.new(name: 'ReprocessingId')
|
@@ -137,6 +152,7 @@ module Aws::IoTAnalytics
|
|
137
152
|
ReprocessingSummary = Shapes::StructureShape.new(name: 'ReprocessingSummary')
|
138
153
|
ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
|
139
154
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
155
|
+
ResourceConfiguration = Shapes::StructureShape.new(name: 'ResourceConfiguration')
|
140
156
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
141
157
|
RetentionPeriod = Shapes::StructureShape.new(name: 'RetentionPeriod')
|
142
158
|
RetentionPeriodInDays = Shapes::IntegerShape.new(name: 'RetentionPeriodInDays')
|
@@ -155,6 +171,7 @@ module Aws::IoTAnalytics
|
|
155
171
|
StartPipelineReprocessingRequest = Shapes::StructureShape.new(name: 'StartPipelineReprocessingRequest')
|
156
172
|
StartPipelineReprocessingResponse = Shapes::StructureShape.new(name: 'StartPipelineReprocessingResponse')
|
157
173
|
StartTime = Shapes::TimestampShape.new(name: 'StartTime')
|
174
|
+
StringValue = Shapes::StringShape.new(name: 'StringValue')
|
158
175
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
159
176
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
160
177
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -163,7 +180,9 @@ module Aws::IoTAnalytics
|
|
163
180
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
164
181
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
165
182
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
183
|
+
TimeExpression = Shapes::StringShape.new(name: 'TimeExpression')
|
166
184
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
185
|
+
TriggeringDataset = Shapes::StructureShape.new(name: 'TriggeringDataset')
|
167
186
|
UnlimitedRetentionPeriod = Shapes::BooleanShape.new(name: 'UnlimitedRetentionPeriod')
|
168
187
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
169
188
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
@@ -171,6 +190,10 @@ module Aws::IoTAnalytics
|
|
171
190
|
UpdateDatasetRequest = Shapes::StructureShape.new(name: 'UpdateDatasetRequest')
|
172
191
|
UpdateDatastoreRequest = Shapes::StructureShape.new(name: 'UpdateDatastoreRequest')
|
173
192
|
UpdatePipelineRequest = Shapes::StructureShape.new(name: 'UpdatePipelineRequest')
|
193
|
+
Variable = Shapes::StructureShape.new(name: 'Variable')
|
194
|
+
VariableName = Shapes::StringShape.new(name: 'VariableName')
|
195
|
+
Variables = Shapes::ListShape.new(name: 'Variables')
|
196
|
+
VolumeSizeInGB = Shapes::IntegerShape.new(name: 'VolumeSizeInGB')
|
174
197
|
errorMessage = Shapes::StringShape.new(name: 'errorMessage')
|
175
198
|
resourceArn = Shapes::StringShape.new(name: 'resourceArn')
|
176
199
|
resourceId = Shapes::StringShape.new(name: 'resourceId')
|
@@ -229,6 +252,12 @@ module Aws::IoTAnalytics
|
|
229
252
|
ChannelSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
|
230
253
|
ChannelSummary.struct_class = Types::ChannelSummary
|
231
254
|
|
255
|
+
ContainerDatasetAction.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "image"))
|
256
|
+
ContainerDatasetAction.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "executionRoleArn"))
|
257
|
+
ContainerDatasetAction.add_member(:resource_configuration, Shapes::ShapeRef.new(shape: ResourceConfiguration, required: true, location_name: "resourceConfiguration"))
|
258
|
+
ContainerDatasetAction.add_member(:variables, Shapes::ShapeRef.new(shape: Variables, location_name: "variables"))
|
259
|
+
ContainerDatasetAction.struct_class = Types::ContainerDatasetAction
|
260
|
+
|
232
261
|
CreateChannelRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location_name: "channelName"))
|
233
262
|
CreateChannelRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
|
234
263
|
CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
@@ -242,14 +271,19 @@ module Aws::IoTAnalytics
|
|
242
271
|
CreateDatasetContentRequest.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetName, required: true, location: "uri", location_name: "datasetName"))
|
243
272
|
CreateDatasetContentRequest.struct_class = Types::CreateDatasetContentRequest
|
244
273
|
|
274
|
+
CreateDatasetContentResponse.add_member(:version_id, Shapes::ShapeRef.new(shape: DatasetContentVersion, location_name: "versionId"))
|
275
|
+
CreateDatasetContentResponse.struct_class = Types::CreateDatasetContentResponse
|
276
|
+
|
245
277
|
CreateDatasetRequest.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetName, required: true, location_name: "datasetName"))
|
246
278
|
CreateDatasetRequest.add_member(:actions, Shapes::ShapeRef.new(shape: DatasetActions, required: true, location_name: "actions"))
|
247
279
|
CreateDatasetRequest.add_member(:triggers, Shapes::ShapeRef.new(shape: DatasetTriggers, location_name: "triggers"))
|
280
|
+
CreateDatasetRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
|
248
281
|
CreateDatasetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
249
282
|
CreateDatasetRequest.struct_class = Types::CreateDatasetRequest
|
250
283
|
|
251
284
|
CreateDatasetResponse.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetName, location_name: "datasetName"))
|
252
285
|
CreateDatasetResponse.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: DatasetArn, location_name: "datasetArn"))
|
286
|
+
CreateDatasetResponse.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
|
253
287
|
CreateDatasetResponse.struct_class = Types::CreateDatasetResponse
|
254
288
|
|
255
289
|
CreateDatastoreRequest.add_member(:datastore_name, Shapes::ShapeRef.new(shape: DatastoreName, required: true, location_name: "datastoreName"))
|
@@ -278,18 +312,29 @@ module Aws::IoTAnalytics
|
|
278
312
|
Dataset.add_member(:status, Shapes::ShapeRef.new(shape: DatasetStatus, location_name: "status"))
|
279
313
|
Dataset.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
280
314
|
Dataset.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
|
315
|
+
Dataset.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
|
281
316
|
Dataset.struct_class = Types::Dataset
|
282
317
|
|
283
318
|
DatasetAction.add_member(:action_name, Shapes::ShapeRef.new(shape: DatasetActionName, location_name: "actionName"))
|
284
319
|
DatasetAction.add_member(:query_action, Shapes::ShapeRef.new(shape: SqlQueryDatasetAction, location_name: "queryAction"))
|
320
|
+
DatasetAction.add_member(:container_action, Shapes::ShapeRef.new(shape: ContainerDatasetAction, location_name: "containerAction"))
|
285
321
|
DatasetAction.struct_class = Types::DatasetAction
|
286
322
|
|
323
|
+
DatasetActionSummaries.member = Shapes::ShapeRef.new(shape: DatasetActionSummary)
|
324
|
+
|
325
|
+
DatasetActionSummary.add_member(:action_name, Shapes::ShapeRef.new(shape: DatasetActionName, location_name: "actionName"))
|
326
|
+
DatasetActionSummary.add_member(:action_type, Shapes::ShapeRef.new(shape: DatasetActionType, location_name: "actionType"))
|
327
|
+
DatasetActionSummary.struct_class = Types::DatasetActionSummary
|
328
|
+
|
287
329
|
DatasetActions.member = Shapes::ShapeRef.new(shape: DatasetAction)
|
288
330
|
|
289
331
|
DatasetContentStatus.add_member(:state, Shapes::ShapeRef.new(shape: DatasetContentState, location_name: "state"))
|
290
332
|
DatasetContentStatus.add_member(:reason, Shapes::ShapeRef.new(shape: Reason, location_name: "reason"))
|
291
333
|
DatasetContentStatus.struct_class = Types::DatasetContentStatus
|
292
334
|
|
335
|
+
DatasetContentVersionValue.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetName, required: true, location_name: "datasetName"))
|
336
|
+
DatasetContentVersionValue.struct_class = Types::DatasetContentVersionValue
|
337
|
+
|
293
338
|
DatasetEntries.member = Shapes::ShapeRef.new(shape: DatasetEntry)
|
294
339
|
|
295
340
|
DatasetEntry.add_member(:entry_name, Shapes::ShapeRef.new(shape: EntryName, location_name: "entryName"))
|
@@ -302,9 +347,12 @@ module Aws::IoTAnalytics
|
|
302
347
|
DatasetSummary.add_member(:status, Shapes::ShapeRef.new(shape: DatasetStatus, location_name: "status"))
|
303
348
|
DatasetSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
304
349
|
DatasetSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
|
350
|
+
DatasetSummary.add_member(:triggers, Shapes::ShapeRef.new(shape: DatasetTriggers, location_name: "triggers"))
|
351
|
+
DatasetSummary.add_member(:actions, Shapes::ShapeRef.new(shape: DatasetActionSummaries, location_name: "actions"))
|
305
352
|
DatasetSummary.struct_class = Types::DatasetSummary
|
306
353
|
|
307
354
|
DatasetTrigger.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
|
355
|
+
DatasetTrigger.add_member(:dataset, Shapes::ShapeRef.new(shape: TriggeringDataset, location_name: "dataset"))
|
308
356
|
DatasetTrigger.struct_class = Types::DatasetTrigger
|
309
357
|
|
310
358
|
DatasetTriggers.member = Shapes::ShapeRef.new(shape: DatasetTrigger)
|
@@ -348,6 +396,10 @@ module Aws::IoTAnalytics
|
|
348
396
|
DeletePipelineRequest.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location: "uri", location_name: "pipelineName"))
|
349
397
|
DeletePipelineRequest.struct_class = Types::DeletePipelineRequest
|
350
398
|
|
399
|
+
DeltaTime.add_member(:offset_seconds, Shapes::ShapeRef.new(shape: OffsetSeconds, required: true, location_name: "offsetSeconds"))
|
400
|
+
DeltaTime.add_member(:time_expression, Shapes::ShapeRef.new(shape: TimeExpression, required: true, location_name: "timeExpression"))
|
401
|
+
DeltaTime.struct_class = Types::DeltaTime
|
402
|
+
|
351
403
|
DescribeChannelRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location: "uri", location_name: "channelName"))
|
352
404
|
DescribeChannelRequest.add_member(:include_statistics, Shapes::ShapeRef.new(shape: IncludeStatisticsFlag, location: "querystring", location_name: "includeStatistics"))
|
353
405
|
DescribeChannelRequest.struct_class = Types::DescribeChannelRequest
|
@@ -476,6 +528,9 @@ module Aws::IoTAnalytics
|
|
476
528
|
|
477
529
|
Messages.member = Shapes::ShapeRef.new(shape: Message)
|
478
530
|
|
531
|
+
OutputFileUriValue.add_member(:file_name, Shapes::ShapeRef.new(shape: OutputFileName, required: true, location_name: "fileName"))
|
532
|
+
OutputFileUriValue.struct_class = Types::OutputFileUriValue
|
533
|
+
|
479
534
|
Pipeline.add_member(:name, Shapes::ShapeRef.new(shape: PipelineName, location_name: "name"))
|
480
535
|
Pipeline.add_member(:arn, Shapes::ShapeRef.new(shape: PipelineArn, location_name: "arn"))
|
481
536
|
Pipeline.add_member(:activities, Shapes::ShapeRef.new(shape: PipelineActivities, location_name: "activities"))
|
@@ -509,6 +564,11 @@ module Aws::IoTAnalytics
|
|
509
564
|
PutLoggingOptionsRequest.add_member(:logging_options, Shapes::ShapeRef.new(shape: LoggingOptions, required: true, location_name: "loggingOptions"))
|
510
565
|
PutLoggingOptionsRequest.struct_class = Types::PutLoggingOptionsRequest
|
511
566
|
|
567
|
+
QueryFilter.add_member(:delta_time, Shapes::ShapeRef.new(shape: DeltaTime, location_name: "deltaTime"))
|
568
|
+
QueryFilter.struct_class = Types::QueryFilter
|
569
|
+
|
570
|
+
QueryFilters.member = Shapes::ShapeRef.new(shape: QueryFilter)
|
571
|
+
|
512
572
|
RemoveAttributesActivity.add_member(:name, Shapes::ShapeRef.new(shape: ActivityName, required: true, location_name: "name"))
|
513
573
|
RemoveAttributesActivity.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeNames, required: true, location_name: "attributes"))
|
514
574
|
RemoveAttributesActivity.add_member(:next, Shapes::ShapeRef.new(shape: ActivityName, location_name: "next"))
|
@@ -521,6 +581,10 @@ module Aws::IoTAnalytics
|
|
521
581
|
ReprocessingSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
522
582
|
ReprocessingSummary.struct_class = Types::ReprocessingSummary
|
523
583
|
|
584
|
+
ResourceConfiguration.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, required: true, location_name: "computeType"))
|
585
|
+
ResourceConfiguration.add_member(:volume_size_in_gb, Shapes::ShapeRef.new(shape: VolumeSizeInGB, required: true, location_name: "volumeSizeInGB"))
|
586
|
+
ResourceConfiguration.struct_class = Types::ResourceConfiguration
|
587
|
+
|
524
588
|
RetentionPeriod.add_member(:unlimited, Shapes::ShapeRef.new(shape: UnlimitedRetentionPeriod, location_name: "unlimited"))
|
525
589
|
RetentionPeriod.add_member(:number_of_days, Shapes::ShapeRef.new(shape: RetentionPeriodInDays, location_name: "numberOfDays"))
|
526
590
|
RetentionPeriod.struct_class = Types::RetentionPeriod
|
@@ -551,6 +615,7 @@ module Aws::IoTAnalytics
|
|
551
615
|
SelectAttributesActivity.struct_class = Types::SelectAttributesActivity
|
552
616
|
|
553
617
|
SqlQueryDatasetAction.add_member(:sql_query, Shapes::ShapeRef.new(shape: SqlQuery, required: true, location_name: "sqlQuery"))
|
618
|
+
SqlQueryDatasetAction.add_member(:filters, Shapes::ShapeRef.new(shape: QueryFilters, location_name: "filters"))
|
554
619
|
SqlQueryDatasetAction.struct_class = Types::SqlQueryDatasetAction
|
555
620
|
|
556
621
|
StartPipelineReprocessingRequest.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location: "uri", location_name: "pipelineName"))
|
@@ -575,6 +640,9 @@ module Aws::IoTAnalytics
|
|
575
640
|
|
576
641
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
577
642
|
|
643
|
+
TriggeringDataset.add_member(:name, Shapes::ShapeRef.new(shape: DatasetName, required: true, location_name: "name"))
|
644
|
+
TriggeringDataset.struct_class = Types::TriggeringDataset
|
645
|
+
|
578
646
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "querystring", location_name: "resourceArn"))
|
579
647
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
580
648
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -588,6 +656,7 @@ module Aws::IoTAnalytics
|
|
588
656
|
UpdateDatasetRequest.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetName, required: true, location: "uri", location_name: "datasetName"))
|
589
657
|
UpdateDatasetRequest.add_member(:actions, Shapes::ShapeRef.new(shape: DatasetActions, required: true, location_name: "actions"))
|
590
658
|
UpdateDatasetRequest.add_member(:triggers, Shapes::ShapeRef.new(shape: DatasetTriggers, location_name: "triggers"))
|
659
|
+
UpdateDatasetRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
|
591
660
|
UpdateDatasetRequest.struct_class = Types::UpdateDatasetRequest
|
592
661
|
|
593
662
|
UpdateDatastoreRequest.add_member(:datastore_name, Shapes::ShapeRef.new(shape: DatastoreName, required: true, location: "uri", location_name: "datastoreName"))
|
@@ -598,6 +667,15 @@ module Aws::IoTAnalytics
|
|
598
667
|
UpdatePipelineRequest.add_member(:pipeline_activities, Shapes::ShapeRef.new(shape: PipelineActivities, required: true, location_name: "pipelineActivities"))
|
599
668
|
UpdatePipelineRequest.struct_class = Types::UpdatePipelineRequest
|
600
669
|
|
670
|
+
Variable.add_member(:name, Shapes::ShapeRef.new(shape: VariableName, required: true, location_name: "name"))
|
671
|
+
Variable.add_member(:string_value, Shapes::ShapeRef.new(shape: StringValue, location_name: "stringValue"))
|
672
|
+
Variable.add_member(:double_value, Shapes::ShapeRef.new(shape: DoubleValue, location_name: "doubleValue", metadata: {"box"=>true}))
|
673
|
+
Variable.add_member(:dataset_content_version_value, Shapes::ShapeRef.new(shape: DatasetContentVersionValue, location_name: "datasetContentVersionValue"))
|
674
|
+
Variable.add_member(:output_file_uri_value, Shapes::ShapeRef.new(shape: OutputFileUriValue, location_name: "outputFileUriValue"))
|
675
|
+
Variable.struct_class = Types::Variable
|
676
|
+
|
677
|
+
Variables.member = Shapes::ShapeRef.new(shape: Variable)
|
678
|
+
|
601
679
|
|
602
680
|
# @api private
|
603
681
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -671,7 +749,7 @@ module Aws::IoTAnalytics
|
|
671
749
|
o.http_method = "POST"
|
672
750
|
o.http_request_uri = "/datasets/{datasetName}/content"
|
673
751
|
o.input = Shapes::ShapeRef.new(shape: CreateDatasetContentRequest)
|
674
|
-
o.output = Shapes::ShapeRef.new(shape:
|
752
|
+
o.output = Shapes::ShapeRef.new(shape: CreateDatasetContentResponse)
|
675
753
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
676
754
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
677
755
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|