aws-sdk-iotanalytics 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iotanalytics.rb +1 -1
- data/lib/aws-sdk-iotanalytics/client.rb +125 -1
- data/lib/aws-sdk-iotanalytics/client_api.rb +84 -0
- data/lib/aws-sdk-iotanalytics/types.rb +152 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e774956292ce5d788e6cdaa13b025598850d3774
|
4
|
+
data.tar.gz: 6cba2ed7450949d3ca8d2d8318df30cd0511bfb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbcca25e54a1b9034e93a30b230aad2b80f7279b3099fe4762004bc459dfebbdc724c776d60254846a9c0767a7b37af948d71ec861e20b756d62c5f36b941e95
|
7
|
+
data.tar.gz: a249b3fe3477887102ed11ef6d474113e8201081ee7879b4f379160bfcfa3acd32e30ebed36bfae01613aaaa7fed40306fc5efdb65d884bca307122c8e5fbaa6
|
data/lib/aws-sdk-iotanalytics.rb
CHANGED
@@ -219,6 +219,9 @@ module Aws::IoTAnalytics
|
|
219
219
|
# @option params [Types::RetentionPeriod] :retention_period
|
220
220
|
# How long, in days, message data is kept for the channel.
|
221
221
|
#
|
222
|
+
# @option params [Array<Types::Tag>] :tags
|
223
|
+
# Metadata which can be used to manage the channel.
|
224
|
+
#
|
222
225
|
# @return [Types::CreateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
223
226
|
#
|
224
227
|
# * {Types::CreateChannelResponse#channel_name #channel_name} => String
|
@@ -233,6 +236,12 @@ module Aws::IoTAnalytics
|
|
233
236
|
# unlimited: false,
|
234
237
|
# number_of_days: 1,
|
235
238
|
# },
|
239
|
+
# tags: [
|
240
|
+
# {
|
241
|
+
# key: "TagKey", # required
|
242
|
+
# value: "TagValue", # required
|
243
|
+
# },
|
244
|
+
# ],
|
236
245
|
# })
|
237
246
|
#
|
238
247
|
# @example Response structure
|
@@ -269,6 +278,9 @@ module Aws::IoTAnalytics
|
|
269
278
|
# at a specified time or time interval. The list of triggers can be
|
270
279
|
# empty or contain up to five **DataSetTrigger** objects.
|
271
280
|
#
|
281
|
+
# @option params [Array<Types::Tag>] :tags
|
282
|
+
# Metadata which can be used to manage the data set.
|
283
|
+
#
|
272
284
|
# @return [Types::CreateDatasetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
273
285
|
#
|
274
286
|
# * {Types::CreateDatasetResponse#dataset_name #dataset_name} => String
|
@@ -293,6 +305,12 @@ module Aws::IoTAnalytics
|
|
293
305
|
# },
|
294
306
|
# },
|
295
307
|
# ],
|
308
|
+
# tags: [
|
309
|
+
# {
|
310
|
+
# key: "TagKey", # required
|
311
|
+
# value: "TagValue", # required
|
312
|
+
# },
|
313
|
+
# ],
|
296
314
|
# })
|
297
315
|
#
|
298
316
|
# @example Response structure
|
@@ -335,6 +353,9 @@ module Aws::IoTAnalytics
|
|
335
353
|
# @option params [Types::RetentionPeriod] :retention_period
|
336
354
|
# How long, in days, message data is kept for the data store.
|
337
355
|
#
|
356
|
+
# @option params [Array<Types::Tag>] :tags
|
357
|
+
# Metadata which can be used to manage the data store.
|
358
|
+
#
|
338
359
|
# @return [Types::CreateDatastoreResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
339
360
|
#
|
340
361
|
# * {Types::CreateDatastoreResponse#datastore_name #datastore_name} => String
|
@@ -349,6 +370,12 @@ module Aws::IoTAnalytics
|
|
349
370
|
# unlimited: false,
|
350
371
|
# number_of_days: 1,
|
351
372
|
# },
|
373
|
+
# tags: [
|
374
|
+
# {
|
375
|
+
# key: "TagKey", # required
|
376
|
+
# value: "TagValue", # required
|
377
|
+
# },
|
378
|
+
# ],
|
352
379
|
# })
|
353
380
|
#
|
354
381
|
# @example Response structure
|
@@ -382,6 +409,9 @@ module Aws::IoTAnalytics
|
|
382
409
|
# processing; or performing mathematical transformations to normalize
|
383
410
|
# device data.
|
384
411
|
#
|
412
|
+
# @option params [Array<Types::Tag>] :tags
|
413
|
+
# Metadata which can be used to manage the pipeline.
|
414
|
+
#
|
385
415
|
# @return [Types::CreatePipelineResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
386
416
|
#
|
387
417
|
# * {Types::CreatePipelineResponse#pipeline_name #pipeline_name} => String
|
@@ -452,6 +482,12 @@ module Aws::IoTAnalytics
|
|
452
482
|
# },
|
453
483
|
# },
|
454
484
|
# ],
|
485
|
+
# tags: [
|
486
|
+
# {
|
487
|
+
# key: "TagKey", # required
|
488
|
+
# value: "TagValue", # required
|
489
|
+
# },
|
490
|
+
# ],
|
455
491
|
# })
|
456
492
|
#
|
457
493
|
# @example Response structure
|
@@ -962,8 +998,42 @@ module Aws::IoTAnalytics
|
|
962
998
|
req.send_request(options)
|
963
999
|
end
|
964
1000
|
|
1001
|
+
# Lists the tags (metadata) which you have assigned to the resource.
|
1002
|
+
#
|
1003
|
+
# @option params [required, String] :resource_arn
|
1004
|
+
# The ARN of the resource whose tags you want to list.
|
1005
|
+
#
|
1006
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1007
|
+
#
|
1008
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
|
1009
|
+
#
|
1010
|
+
# @example Request syntax with placeholder values
|
1011
|
+
#
|
1012
|
+
# resp = client.list_tags_for_resource({
|
1013
|
+
# resource_arn: "ResourceArn", # required
|
1014
|
+
# })
|
1015
|
+
#
|
1016
|
+
# @example Response structure
|
1017
|
+
#
|
1018
|
+
# resp.tags #=> Array
|
1019
|
+
# resp.tags[0].key #=> String
|
1020
|
+
# resp.tags[0].value #=> String
|
1021
|
+
#
|
1022
|
+
# @overload list_tags_for_resource(params = {})
|
1023
|
+
# @param [Hash] params ({})
|
1024
|
+
def list_tags_for_resource(params = {}, options = {})
|
1025
|
+
req = build_request(:list_tags_for_resource, params)
|
1026
|
+
req.send_request(options)
|
1027
|
+
end
|
1028
|
+
|
965
1029
|
# Sets or updates the AWS IoT Analytics logging options.
|
966
1030
|
#
|
1031
|
+
# Note that if you update the value of any `loggingOptions` field, it
|
1032
|
+
# takes up to one minute for the change to take effect. Also, if you
|
1033
|
+
# change the policy attached to the role you specified in the roleArn
|
1034
|
+
# field (for example, to correct an invalid policy) it takes up to 5
|
1035
|
+
# minutes for that change to take effect.
|
1036
|
+
#
|
967
1037
|
# @option params [required, Types::LoggingOptions] :logging_options
|
968
1038
|
# The new values of the AWS IoT Analytics logging options.
|
969
1039
|
#
|
@@ -1158,6 +1228,60 @@ module Aws::IoTAnalytics
|
|
1158
1228
|
req.send_request(options)
|
1159
1229
|
end
|
1160
1230
|
|
1231
|
+
# Adds to or modifies the tags of the given resource. Tags are metadata
|
1232
|
+
# which can be used to manage a resource.
|
1233
|
+
#
|
1234
|
+
# @option params [required, String] :resource_arn
|
1235
|
+
# The ARN of the resource whose tags will be modified.
|
1236
|
+
#
|
1237
|
+
# @option params [required, Array<Types::Tag>] :tags
|
1238
|
+
# The new or modified tags for the resource.
|
1239
|
+
#
|
1240
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1241
|
+
#
|
1242
|
+
# @example Request syntax with placeholder values
|
1243
|
+
#
|
1244
|
+
# resp = client.tag_resource({
|
1245
|
+
# resource_arn: "ResourceArn", # required
|
1246
|
+
# tags: [ # required
|
1247
|
+
# {
|
1248
|
+
# key: "TagKey", # required
|
1249
|
+
# value: "TagValue", # required
|
1250
|
+
# },
|
1251
|
+
# ],
|
1252
|
+
# })
|
1253
|
+
#
|
1254
|
+
# @overload tag_resource(params = {})
|
1255
|
+
# @param [Hash] params ({})
|
1256
|
+
def tag_resource(params = {}, options = {})
|
1257
|
+
req = build_request(:tag_resource, params)
|
1258
|
+
req.send_request(options)
|
1259
|
+
end
|
1260
|
+
|
1261
|
+
# Removes the given tags (metadata) from the resource.
|
1262
|
+
#
|
1263
|
+
# @option params [required, String] :resource_arn
|
1264
|
+
# The ARN of the resource whose tags will be removed.
|
1265
|
+
#
|
1266
|
+
# @option params [required, Array<String>] :tag_keys
|
1267
|
+
# The keys of those tags which will be removed.
|
1268
|
+
#
|
1269
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1270
|
+
#
|
1271
|
+
# @example Request syntax with placeholder values
|
1272
|
+
#
|
1273
|
+
# resp = client.untag_resource({
|
1274
|
+
# resource_arn: "ResourceArn", # required
|
1275
|
+
# tag_keys: ["TagKey"], # required
|
1276
|
+
# })
|
1277
|
+
#
|
1278
|
+
# @overload untag_resource(params = {})
|
1279
|
+
# @param [Hash] params ({})
|
1280
|
+
def untag_resource(params = {}, options = {})
|
1281
|
+
req = build_request(:untag_resource, params)
|
1282
|
+
req.send_request(options)
|
1283
|
+
end
|
1284
|
+
|
1161
1285
|
# Updates the settings of a channel.
|
1162
1286
|
#
|
1163
1287
|
# @option params [required, String] :channel_name
|
@@ -1358,7 +1482,7 @@ module Aws::IoTAnalytics
|
|
1358
1482
|
params: params,
|
1359
1483
|
config: config)
|
1360
1484
|
context[:gem_name] = 'aws-sdk-iotanalytics'
|
1361
|
-
context[:gem_version] = '1.
|
1485
|
+
context[:gem_version] = '1.1.0'
|
1362
1486
|
Seahorse::Client::Request.new(handlers, context)
|
1363
1487
|
end
|
1364
1488
|
|
@@ -100,6 +100,8 @@ module Aws::IoTAnalytics
|
|
100
100
|
ListDatastoresResponse = Shapes::StructureShape.new(name: 'ListDatastoresResponse')
|
101
101
|
ListPipelinesRequest = Shapes::StructureShape.new(name: 'ListPipelinesRequest')
|
102
102
|
ListPipelinesResponse = Shapes::StructureShape.new(name: 'ListPipelinesResponse')
|
103
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
104
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
103
105
|
LogResult = Shapes::StringShape.new(name: 'LogResult')
|
104
106
|
LoggingEnabled = Shapes::BooleanShape.new(name: 'LoggingEnabled')
|
105
107
|
LoggingLevel = Shapes::StringShape.new(name: 'LoggingLevel')
|
@@ -130,6 +132,7 @@ module Aws::IoTAnalytics
|
|
130
132
|
ReprocessingSummaries = Shapes::ListShape.new(name: 'ReprocessingSummaries')
|
131
133
|
ReprocessingSummary = Shapes::StructureShape.new(name: 'ReprocessingSummary')
|
132
134
|
ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
|
135
|
+
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
133
136
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
134
137
|
RetentionPeriod = Shapes::StructureShape.new(name: 'RetentionPeriod')
|
135
138
|
RetentionPeriodInDays = Shapes::IntegerShape.new(name: 'RetentionPeriodInDays')
|
@@ -147,9 +150,18 @@ module Aws::IoTAnalytics
|
|
147
150
|
StartPipelineReprocessingRequest = Shapes::StructureShape.new(name: 'StartPipelineReprocessingRequest')
|
148
151
|
StartPipelineReprocessingResponse = Shapes::StructureShape.new(name: 'StartPipelineReprocessingResponse')
|
149
152
|
StartTime = Shapes::TimestampShape.new(name: 'StartTime')
|
153
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
154
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
155
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
156
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
157
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
158
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
159
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
150
160
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
151
161
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
152
162
|
UnlimitedRetentionPeriod = Shapes::BooleanShape.new(name: 'UnlimitedRetentionPeriod')
|
163
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
164
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
153
165
|
UpdateChannelRequest = Shapes::StructureShape.new(name: 'UpdateChannelRequest')
|
154
166
|
UpdateDatasetRequest = Shapes::StructureShape.new(name: 'UpdateDatasetRequest')
|
155
167
|
UpdateDatastoreRequest = Shapes::StructureShape.new(name: 'UpdateDatastoreRequest')
|
@@ -211,6 +223,7 @@ module Aws::IoTAnalytics
|
|
211
223
|
|
212
224
|
CreateChannelRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location_name: "channelName"))
|
213
225
|
CreateChannelRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
|
226
|
+
CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
214
227
|
CreateChannelRequest.struct_class = Types::CreateChannelRequest
|
215
228
|
|
216
229
|
CreateChannelResponse.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "channelName"))
|
@@ -224,6 +237,7 @@ module Aws::IoTAnalytics
|
|
224
237
|
CreateDatasetRequest.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetName, required: true, location_name: "datasetName"))
|
225
238
|
CreateDatasetRequest.add_member(:actions, Shapes::ShapeRef.new(shape: DatasetActions, required: true, location_name: "actions"))
|
226
239
|
CreateDatasetRequest.add_member(:triggers, Shapes::ShapeRef.new(shape: DatasetTriggers, location_name: "triggers"))
|
240
|
+
CreateDatasetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
227
241
|
CreateDatasetRequest.struct_class = Types::CreateDatasetRequest
|
228
242
|
|
229
243
|
CreateDatasetResponse.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetName, location_name: "datasetName"))
|
@@ -232,6 +246,7 @@ module Aws::IoTAnalytics
|
|
232
246
|
|
233
247
|
CreateDatastoreRequest.add_member(:datastore_name, Shapes::ShapeRef.new(shape: DatastoreName, required: true, location_name: "datastoreName"))
|
234
248
|
CreateDatastoreRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
|
249
|
+
CreateDatastoreRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
235
250
|
CreateDatastoreRequest.struct_class = Types::CreateDatastoreRequest
|
236
251
|
|
237
252
|
CreateDatastoreResponse.add_member(:datastore_name, Shapes::ShapeRef.new(shape: DatastoreName, location_name: "datastoreName"))
|
@@ -241,6 +256,7 @@ module Aws::IoTAnalytics
|
|
241
256
|
|
242
257
|
CreatePipelineRequest.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
|
243
258
|
CreatePipelineRequest.add_member(:pipeline_activities, Shapes::ShapeRef.new(shape: PipelineActivities, required: true, location_name: "pipelineActivities"))
|
259
|
+
CreatePipelineRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
244
260
|
CreatePipelineRequest.struct_class = Types::CreatePipelineRequest
|
245
261
|
|
246
262
|
CreatePipelineResponse.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, location_name: "pipelineName"))
|
@@ -416,6 +432,12 @@ module Aws::IoTAnalytics
|
|
416
432
|
ListPipelinesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
417
433
|
ListPipelinesResponse.struct_class = Types::ListPipelinesResponse
|
418
434
|
|
435
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "querystring", location_name: "resourceArn"))
|
436
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
437
|
+
|
438
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
439
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
440
|
+
|
419
441
|
LoggingOptions.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
420
442
|
LoggingOptions.add_member(:level, Shapes::ShapeRef.new(shape: LoggingLevel, required: true, location_name: "level"))
|
421
443
|
LoggingOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: LoggingEnabled, required: true, location_name: "enabled"))
|
@@ -520,6 +542,26 @@ module Aws::IoTAnalytics
|
|
520
542
|
StartPipelineReprocessingResponse.add_member(:reprocessing_id, Shapes::ShapeRef.new(shape: ReprocessingId, location_name: "reprocessingId"))
|
521
543
|
StartPipelineReprocessingResponse.struct_class = Types::StartPipelineReprocessingResponse
|
522
544
|
|
545
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
|
546
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
|
547
|
+
Tag.struct_class = Types::Tag
|
548
|
+
|
549
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
550
|
+
|
551
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
552
|
+
|
553
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "querystring", location_name: "resourceArn"))
|
554
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
|
555
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
556
|
+
|
557
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
558
|
+
|
559
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "querystring", location_name: "resourceArn"))
|
560
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
561
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
562
|
+
|
563
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
564
|
+
|
523
565
|
UpdateChannelRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location: "uri", location_name: "channelName"))
|
524
566
|
UpdateChannelRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
|
525
567
|
UpdateChannelRequest.struct_class = Types::UpdateChannelRequest
|
@@ -861,6 +903,20 @@ module Aws::IoTAnalytics
|
|
861
903
|
)
|
862
904
|
end)
|
863
905
|
|
906
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
907
|
+
o.name = "ListTagsForResource"
|
908
|
+
o.http_method = "GET"
|
909
|
+
o.http_request_uri = "/tags"
|
910
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
911
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
912
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
913
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
914
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
915
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
916
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
917
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
918
|
+
end)
|
919
|
+
|
864
920
|
api.add_operation(:put_logging_options, Seahorse::Model::Operation.new.tap do |o|
|
865
921
|
o.name = "PutLoggingOptions"
|
866
922
|
o.http_method = "PUT"
|
@@ -912,6 +968,34 @@ module Aws::IoTAnalytics
|
|
912
968
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
913
969
|
end)
|
914
970
|
|
971
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
972
|
+
o.name = "TagResource"
|
973
|
+
o.http_method = "POST"
|
974
|
+
o.http_request_uri = "/tags"
|
975
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
976
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
977
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
978
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
979
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
980
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
981
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
982
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
983
|
+
end)
|
984
|
+
|
985
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
986
|
+
o.name = "UntagResource"
|
987
|
+
o.http_method = "DELETE"
|
988
|
+
o.http_request_uri = "/tags"
|
989
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
990
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
991
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
992
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
993
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
994
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
995
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
996
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
997
|
+
end)
|
998
|
+
|
915
999
|
api.add_operation(:update_channel, Seahorse::Model::Operation.new.tap do |o|
|
916
1000
|
o.name = "UpdateChannel"
|
917
1001
|
o.http_method = "PUT"
|
@@ -235,6 +235,12 @@ module Aws::IoTAnalytics
|
|
235
235
|
# unlimited: false,
|
236
236
|
# number_of_days: 1,
|
237
237
|
# },
|
238
|
+
# tags: [
|
239
|
+
# {
|
240
|
+
# key: "TagKey", # required
|
241
|
+
# value: "TagValue", # required
|
242
|
+
# },
|
243
|
+
# ],
|
238
244
|
# }
|
239
245
|
#
|
240
246
|
# @!attribute [rw] channel_name
|
@@ -245,9 +251,14 @@ module Aws::IoTAnalytics
|
|
245
251
|
# How long, in days, message data is kept for the channel.
|
246
252
|
# @return [Types::RetentionPeriod]
|
247
253
|
#
|
254
|
+
# @!attribute [rw] tags
|
255
|
+
# Metadata which can be used to manage the channel.
|
256
|
+
# @return [Array<Types::Tag>]
|
257
|
+
#
|
248
258
|
class CreateChannelRequest < Struct.new(
|
249
259
|
:channel_name,
|
250
|
-
:retention_period
|
260
|
+
:retention_period,
|
261
|
+
:tags)
|
251
262
|
include Aws::Structure
|
252
263
|
end
|
253
264
|
|
@@ -306,6 +317,12 @@ module Aws::IoTAnalytics
|
|
306
317
|
# },
|
307
318
|
# },
|
308
319
|
# ],
|
320
|
+
# tags: [
|
321
|
+
# {
|
322
|
+
# key: "TagKey", # required
|
323
|
+
# value: "TagValue", # required
|
324
|
+
# },
|
325
|
+
# ],
|
309
326
|
# }
|
310
327
|
#
|
311
328
|
# @!attribute [rw] dataset_name
|
@@ -323,10 +340,15 @@ module Aws::IoTAnalytics
|
|
323
340
|
# can be empty or contain up to five **DataSetTrigger** objects.
|
324
341
|
# @return [Array<Types::DatasetTrigger>]
|
325
342
|
#
|
343
|
+
# @!attribute [rw] tags
|
344
|
+
# Metadata which can be used to manage the data set.
|
345
|
+
# @return [Array<Types::Tag>]
|
346
|
+
#
|
326
347
|
class CreateDatasetRequest < Struct.new(
|
327
348
|
:dataset_name,
|
328
349
|
:actions,
|
329
|
-
:triggers
|
350
|
+
:triggers,
|
351
|
+
:tags)
|
330
352
|
include Aws::Structure
|
331
353
|
end
|
332
354
|
|
@@ -353,6 +375,12 @@ module Aws::IoTAnalytics
|
|
353
375
|
# unlimited: false,
|
354
376
|
# number_of_days: 1,
|
355
377
|
# },
|
378
|
+
# tags: [
|
379
|
+
# {
|
380
|
+
# key: "TagKey", # required
|
381
|
+
# value: "TagValue", # required
|
382
|
+
# },
|
383
|
+
# ],
|
356
384
|
# }
|
357
385
|
#
|
358
386
|
# @!attribute [rw] datastore_name
|
@@ -363,9 +391,14 @@ module Aws::IoTAnalytics
|
|
363
391
|
# How long, in days, message data is kept for the data store.
|
364
392
|
# @return [Types::RetentionPeriod]
|
365
393
|
#
|
394
|
+
# @!attribute [rw] tags
|
395
|
+
# Metadata which can be used to manage the data store.
|
396
|
+
# @return [Array<Types::Tag>]
|
397
|
+
#
|
366
398
|
class CreateDatastoreRequest < Struct.new(
|
367
399
|
:datastore_name,
|
368
|
-
:retention_period
|
400
|
+
:retention_period,
|
401
|
+
:tags)
|
369
402
|
include Aws::Structure
|
370
403
|
end
|
371
404
|
|
@@ -454,6 +487,12 @@ module Aws::IoTAnalytics
|
|
454
487
|
# },
|
455
488
|
# },
|
456
489
|
# ],
|
490
|
+
# tags: [
|
491
|
+
# {
|
492
|
+
# key: "TagKey", # required
|
493
|
+
# value: "TagValue", # required
|
494
|
+
# },
|
495
|
+
# ],
|
457
496
|
# }
|
458
497
|
#
|
459
498
|
# @!attribute [rw] pipeline_name
|
@@ -471,9 +510,14 @@ module Aws::IoTAnalytics
|
|
471
510
|
# normalize device data.
|
472
511
|
# @return [Array<Types::PipelineActivity>]
|
473
512
|
#
|
513
|
+
# @!attribute [rw] tags
|
514
|
+
# Metadata which can be used to manage the pipeline.
|
515
|
+
# @return [Array<Types::Tag>]
|
516
|
+
#
|
474
517
|
class CreatePipelineRequest < Struct.new(
|
475
518
|
:pipeline_name,
|
476
|
-
:pipeline_activities
|
519
|
+
:pipeline_activities,
|
520
|
+
:tags)
|
477
521
|
include Aws::Structure
|
478
522
|
end
|
479
523
|
|
@@ -1302,6 +1346,31 @@ module Aws::IoTAnalytics
|
|
1302
1346
|
include Aws::Structure
|
1303
1347
|
end
|
1304
1348
|
|
1349
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1350
|
+
# data as a hash:
|
1351
|
+
#
|
1352
|
+
# {
|
1353
|
+
# resource_arn: "ResourceArn", # required
|
1354
|
+
# }
|
1355
|
+
#
|
1356
|
+
# @!attribute [rw] resource_arn
|
1357
|
+
# The ARN of the resource whose tags you want to list.
|
1358
|
+
# @return [String]
|
1359
|
+
#
|
1360
|
+
class ListTagsForResourceRequest < Struct.new(
|
1361
|
+
:resource_arn)
|
1362
|
+
include Aws::Structure
|
1363
|
+
end
|
1364
|
+
|
1365
|
+
# @!attribute [rw] tags
|
1366
|
+
# The tags (metadata) which you have assigned to the resource.
|
1367
|
+
# @return [Array<Types::Tag>]
|
1368
|
+
#
|
1369
|
+
class ListTagsForResourceResponse < Struct.new(
|
1370
|
+
:tags)
|
1371
|
+
include Aws::Structure
|
1372
|
+
end
|
1373
|
+
|
1305
1374
|
# Information about logging options.
|
1306
1375
|
#
|
1307
1376
|
# @note When making an API call, you may pass LoggingOptions
|
@@ -1383,7 +1452,8 @@ module Aws::IoTAnalytics
|
|
1383
1452
|
# }
|
1384
1453
|
#
|
1385
1454
|
# @!attribute [rw] message_id
|
1386
|
-
# The ID you wish to assign to the message.
|
1455
|
+
# The ID you wish to assign to the message. Each "messageId" must be
|
1456
|
+
# unique within each batch sent.
|
1387
1457
|
# @return [String]
|
1388
1458
|
#
|
1389
1459
|
# @!attribute [rw] payload
|
@@ -1934,6 +2004,83 @@ module Aws::IoTAnalytics
|
|
1934
2004
|
include Aws::Structure
|
1935
2005
|
end
|
1936
2006
|
|
2007
|
+
# A set of key/value pairs which are used to manage the resource.
|
2008
|
+
#
|
2009
|
+
# @note When making an API call, you may pass Tag
|
2010
|
+
# data as a hash:
|
2011
|
+
#
|
2012
|
+
# {
|
2013
|
+
# key: "TagKey", # required
|
2014
|
+
# value: "TagValue", # required
|
2015
|
+
# }
|
2016
|
+
#
|
2017
|
+
# @!attribute [rw] key
|
2018
|
+
# The tag's key.
|
2019
|
+
# @return [String]
|
2020
|
+
#
|
2021
|
+
# @!attribute [rw] value
|
2022
|
+
# The tag's value.
|
2023
|
+
# @return [String]
|
2024
|
+
#
|
2025
|
+
class Tag < Struct.new(
|
2026
|
+
:key,
|
2027
|
+
:value)
|
2028
|
+
include Aws::Structure
|
2029
|
+
end
|
2030
|
+
|
2031
|
+
# @note When making an API call, you may pass TagResourceRequest
|
2032
|
+
# data as a hash:
|
2033
|
+
#
|
2034
|
+
# {
|
2035
|
+
# resource_arn: "ResourceArn", # required
|
2036
|
+
# tags: [ # required
|
2037
|
+
# {
|
2038
|
+
# key: "TagKey", # required
|
2039
|
+
# value: "TagValue", # required
|
2040
|
+
# },
|
2041
|
+
# ],
|
2042
|
+
# }
|
2043
|
+
#
|
2044
|
+
# @!attribute [rw] resource_arn
|
2045
|
+
# The ARN of the resource whose tags will be modified.
|
2046
|
+
# @return [String]
|
2047
|
+
#
|
2048
|
+
# @!attribute [rw] tags
|
2049
|
+
# The new or modified tags for the resource.
|
2050
|
+
# @return [Array<Types::Tag>]
|
2051
|
+
#
|
2052
|
+
class TagResourceRequest < Struct.new(
|
2053
|
+
:resource_arn,
|
2054
|
+
:tags)
|
2055
|
+
include Aws::Structure
|
2056
|
+
end
|
2057
|
+
|
2058
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
2059
|
+
|
2060
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
2061
|
+
# data as a hash:
|
2062
|
+
#
|
2063
|
+
# {
|
2064
|
+
# resource_arn: "ResourceArn", # required
|
2065
|
+
# tag_keys: ["TagKey"], # required
|
2066
|
+
# }
|
2067
|
+
#
|
2068
|
+
# @!attribute [rw] resource_arn
|
2069
|
+
# The ARN of the resource whose tags will be removed.
|
2070
|
+
# @return [String]
|
2071
|
+
#
|
2072
|
+
# @!attribute [rw] tag_keys
|
2073
|
+
# The keys of those tags which will be removed.
|
2074
|
+
# @return [Array<String>]
|
2075
|
+
#
|
2076
|
+
class UntagResourceRequest < Struct.new(
|
2077
|
+
:resource_arn,
|
2078
|
+
:tag_keys)
|
2079
|
+
include Aws::Structure
|
2080
|
+
end
|
2081
|
+
|
2082
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
2083
|
+
|
1937
2084
|
# @note When making an API call, you may pass UpdateChannelRequest
|
1938
2085
|
# data as a hash:
|
1939
2086
|
#
|
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.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.5.2.
|
78
|
+
rubygems_version: 2.5.2.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: AWS SDK for Ruby - AWS IoT Analytics
|