aws-sdk-iotsitewise 1.34.0 → 1.35.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotsitewise/client.rb +297 -20
- data/lib/aws-sdk-iotsitewise/client_api.rb +155 -0
- data/lib/aws-sdk-iotsitewise/types.rb +435 -41
- data/lib/aws-sdk-iotsitewise.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 391bb213817954ffbf1b4c6e8f3c970450c8d7b1fdc911ea6a794887057a55f4
|
4
|
+
data.tar.gz: 9a631f419ca4d3a4f0a4e0bccc2caed17f6a52293a2f047afe8cb296bac801a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebbc4cc1e2c498642a8d38364c2cab1e55f413ba99b9a6b53ccb0e4f09bbca4f81405bcfd094967d041a72dd3986a2e4225c859436c93414762221536dc802b6
|
7
|
+
data.tar.gz: 167fda50a943d520651c82038abef954ca9c3fc840661846344a862a704b99c696de04bef4a54f310c5a5f6db3a08374be7e0d0eb548fe2513ba000baed2d258
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.35.0 (2021-11-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS IoT SiteWise now accepts data streams that aren't associated with any asset properties. You can organize data by updating data stream associations.
|
8
|
+
|
4
9
|
1.34.0 (2021-11-04)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.35.0
|
@@ -386,6 +386,43 @@ module Aws::IoTSiteWise
|
|
386
386
|
req.send_request(options)
|
387
387
|
end
|
388
388
|
|
389
|
+
# Associates a time series (data stream) with an asset property.
|
390
|
+
#
|
391
|
+
# @option params [required, String] :alias
|
392
|
+
# The alias that identifies the time series.
|
393
|
+
#
|
394
|
+
# @option params [required, String] :asset_id
|
395
|
+
# The ID of the asset in which the asset property was created.
|
396
|
+
#
|
397
|
+
# @option params [required, String] :property_id
|
398
|
+
# The ID of the asset property.
|
399
|
+
#
|
400
|
+
# @option params [String] :client_token
|
401
|
+
# A unique case-sensitive identifier that you can provide to ensure the
|
402
|
+
# idempotency of the request. Don't reuse this client token if a new
|
403
|
+
# idempotent request is required.
|
404
|
+
#
|
405
|
+
# **A suitable default value is auto-generated.** You should normally
|
406
|
+
# not need to pass this option.**
|
407
|
+
#
|
408
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
409
|
+
#
|
410
|
+
# @example Request syntax with placeholder values
|
411
|
+
#
|
412
|
+
# resp = client.associate_time_series_to_asset_property({
|
413
|
+
# alias: "PropertyAlias", # required
|
414
|
+
# asset_id: "ID", # required
|
415
|
+
# property_id: "ID", # required
|
416
|
+
# client_token: "ClientToken",
|
417
|
+
# })
|
418
|
+
#
|
419
|
+
# @overload associate_time_series_to_asset_property(params = {})
|
420
|
+
# @param [Hash] params ({})
|
421
|
+
def associate_time_series_to_asset_property(params = {}, options = {})
|
422
|
+
req = build_request(:associate_time_series_to_asset_property, params)
|
423
|
+
req.send_request(options)
|
424
|
+
end
|
425
|
+
|
389
426
|
# Associates a group (batch) of assets with an IoT SiteWise Monitor
|
390
427
|
# project.
|
391
428
|
#
|
@@ -1218,6 +1255,11 @@ module Aws::IoTSiteWise
|
|
1218
1255
|
|
1219
1256
|
# Creates a project in the specified portal.
|
1220
1257
|
#
|
1258
|
+
# <note markdown="1"> Make sure that the project name and description don't contain
|
1259
|
+
# confidential information.
|
1260
|
+
#
|
1261
|
+
# </note>
|
1262
|
+
#
|
1221
1263
|
# @option params [required, String] :portal_id
|
1222
1264
|
# The ID of the portal in which to create the project.
|
1223
1265
|
#
|
@@ -1520,6 +1562,58 @@ module Aws::IoTSiteWise
|
|
1520
1562
|
req.send_request(options)
|
1521
1563
|
end
|
1522
1564
|
|
1565
|
+
# Deletes a time series (data stream). If you delete a time series
|
1566
|
+
# that's associated with an asset property, the asset property still
|
1567
|
+
# exists, but the time series will no longer be associated with this
|
1568
|
+
# asset property.
|
1569
|
+
#
|
1570
|
+
# To identify a time series, do one of the following:
|
1571
|
+
#
|
1572
|
+
# * If the time series isn't associated with an asset property, specify
|
1573
|
+
# the `alias` of the time series.
|
1574
|
+
#
|
1575
|
+
# * If the time series is associated with an asset property, specify one
|
1576
|
+
# of the following:
|
1577
|
+
#
|
1578
|
+
# * The `alias` of the time series.
|
1579
|
+
#
|
1580
|
+
# * The `assetId` and `propertyId` that identifies the asset property.
|
1581
|
+
#
|
1582
|
+
# @option params [String] :alias
|
1583
|
+
# The alias that identifies the time series.
|
1584
|
+
#
|
1585
|
+
# @option params [String] :asset_id
|
1586
|
+
# The ID of the asset in which the asset property was created.
|
1587
|
+
#
|
1588
|
+
# @option params [String] :property_id
|
1589
|
+
# The ID of the asset property.
|
1590
|
+
#
|
1591
|
+
# @option params [String] :client_token
|
1592
|
+
# A unique case-sensitive identifier that you can provide to ensure the
|
1593
|
+
# idempotency of the request. Don't reuse this client token if a new
|
1594
|
+
# idempotent request is required.
|
1595
|
+
#
|
1596
|
+
# **A suitable default value is auto-generated.** You should normally
|
1597
|
+
# not need to pass this option.**
|
1598
|
+
#
|
1599
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1600
|
+
#
|
1601
|
+
# @example Request syntax with placeholder values
|
1602
|
+
#
|
1603
|
+
# resp = client.delete_time_series({
|
1604
|
+
# alias: "PropertyAlias",
|
1605
|
+
# asset_id: "ID",
|
1606
|
+
# property_id: "ID",
|
1607
|
+
# client_token: "ClientToken",
|
1608
|
+
# })
|
1609
|
+
#
|
1610
|
+
# @overload delete_time_series(params = {})
|
1611
|
+
# @param [Hash] params ({})
|
1612
|
+
def delete_time_series(params = {}, options = {})
|
1613
|
+
req = build_request(:delete_time_series, params)
|
1614
|
+
req.send_request(options)
|
1615
|
+
end
|
1616
|
+
|
1523
1617
|
# Describes an access policy, which specifies an identity's access to
|
1524
1618
|
# an IoT SiteWise Monitor portal or project.
|
1525
1619
|
#
|
@@ -2133,6 +2227,7 @@ module Aws::IoTSiteWise
|
|
2133
2227
|
#
|
2134
2228
|
# * {Types::DescribeStorageConfigurationResponse#storage_type #storage_type} => String
|
2135
2229
|
# * {Types::DescribeStorageConfigurationResponse#multi_layer_storage #multi_layer_storage} => Types::MultiLayerStorage
|
2230
|
+
# * {Types::DescribeStorageConfigurationResponse#disassociated_data_storage #disassociated_data_storage} => String
|
2136
2231
|
# * {Types::DescribeStorageConfigurationResponse#configuration_status #configuration_status} => Types::ConfigurationStatus
|
2137
2232
|
# * {Types::DescribeStorageConfigurationResponse#last_update_date #last_update_date} => Time
|
2138
2233
|
#
|
@@ -2141,6 +2236,7 @@ module Aws::IoTSiteWise
|
|
2141
2236
|
# resp.storage_type #=> String, one of "SITEWISE_DEFAULT_STORAGE", "MULTI_LAYER_STORAGE"
|
2142
2237
|
# resp.multi_layer_storage.customer_managed_s3_storage.s3_resource_arn #=> String
|
2143
2238
|
# resp.multi_layer_storage.customer_managed_s3_storage.role_arn #=> String
|
2239
|
+
# resp.disassociated_data_storage #=> String, one of "ENABLED", "DISABLED"
|
2144
2240
|
# resp.configuration_status.state #=> String, one of "ACTIVE", "UPDATE_IN_PROGRESS", "UPDATE_FAILED"
|
2145
2241
|
# resp.configuration_status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
2146
2242
|
# resp.configuration_status.error.message #=> String
|
@@ -2153,6 +2249,66 @@ module Aws::IoTSiteWise
|
|
2153
2249
|
req.send_request(options)
|
2154
2250
|
end
|
2155
2251
|
|
2252
|
+
# Retrieves information about a time series (data stream).
|
2253
|
+
#
|
2254
|
+
# To identify a time series, do one of the following:
|
2255
|
+
#
|
2256
|
+
# * If the time series isn't associated with an asset property, specify
|
2257
|
+
# the `alias` of the time series.
|
2258
|
+
#
|
2259
|
+
# * If the time series is associated with an asset property, specify one
|
2260
|
+
# of the following:
|
2261
|
+
#
|
2262
|
+
# * The `alias` of the time series.
|
2263
|
+
#
|
2264
|
+
# * The `assetId` and `propertyId` that identifies the asset property.
|
2265
|
+
#
|
2266
|
+
# @option params [String] :alias
|
2267
|
+
# The alias that identifies the time series.
|
2268
|
+
#
|
2269
|
+
# @option params [String] :asset_id
|
2270
|
+
# The ID of the asset in which the asset property was created.
|
2271
|
+
#
|
2272
|
+
# @option params [String] :property_id
|
2273
|
+
# The ID of the asset property.
|
2274
|
+
#
|
2275
|
+
# @return [Types::DescribeTimeSeriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2276
|
+
#
|
2277
|
+
# * {Types::DescribeTimeSeriesResponse#asset_id #asset_id} => String
|
2278
|
+
# * {Types::DescribeTimeSeriesResponse#property_id #property_id} => String
|
2279
|
+
# * {Types::DescribeTimeSeriesResponse#alias #alias} => String
|
2280
|
+
# * {Types::DescribeTimeSeriesResponse#time_series_id #time_series_id} => String
|
2281
|
+
# * {Types::DescribeTimeSeriesResponse#data_type #data_type} => String
|
2282
|
+
# * {Types::DescribeTimeSeriesResponse#data_type_spec #data_type_spec} => String
|
2283
|
+
# * {Types::DescribeTimeSeriesResponse#time_series_creation_date #time_series_creation_date} => Time
|
2284
|
+
# * {Types::DescribeTimeSeriesResponse#time_series_last_update_date #time_series_last_update_date} => Time
|
2285
|
+
#
|
2286
|
+
# @example Request syntax with placeholder values
|
2287
|
+
#
|
2288
|
+
# resp = client.describe_time_series({
|
2289
|
+
# alias: "PropertyAlias",
|
2290
|
+
# asset_id: "ID",
|
2291
|
+
# property_id: "ID",
|
2292
|
+
# })
|
2293
|
+
#
|
2294
|
+
# @example Response structure
|
2295
|
+
#
|
2296
|
+
# resp.asset_id #=> String
|
2297
|
+
# resp.property_id #=> String
|
2298
|
+
# resp.alias #=> String
|
2299
|
+
# resp.time_series_id #=> String
|
2300
|
+
# resp.data_type #=> String, one of "STRING", "INTEGER", "DOUBLE", "BOOLEAN", "STRUCT"
|
2301
|
+
# resp.data_type_spec #=> String
|
2302
|
+
# resp.time_series_creation_date #=> Time
|
2303
|
+
# resp.time_series_last_update_date #=> Time
|
2304
|
+
#
|
2305
|
+
# @overload describe_time_series(params = {})
|
2306
|
+
# @param [Hash] params ({})
|
2307
|
+
def describe_time_series(params = {}, options = {})
|
2308
|
+
req = build_request(:describe_time_series, params)
|
2309
|
+
req.send_request(options)
|
2310
|
+
end
|
2311
|
+
|
2156
2312
|
# Disassociates a child asset from the given parent asset through a
|
2157
2313
|
# hierarchy defined in the parent asset's model.
|
2158
2314
|
#
|
@@ -2199,6 +2355,43 @@ module Aws::IoTSiteWise
|
|
2199
2355
|
req.send_request(options)
|
2200
2356
|
end
|
2201
2357
|
|
2358
|
+
# Disassociates a time series (data stream) from an asset property.
|
2359
|
+
#
|
2360
|
+
# @option params [required, String] :alias
|
2361
|
+
# The alias that identifies the time series.
|
2362
|
+
#
|
2363
|
+
# @option params [required, String] :asset_id
|
2364
|
+
# The ID of the asset in which the asset property was created.
|
2365
|
+
#
|
2366
|
+
# @option params [required, String] :property_id
|
2367
|
+
# The ID of the asset property.
|
2368
|
+
#
|
2369
|
+
# @option params [String] :client_token
|
2370
|
+
# A unique case-sensitive identifier that you can provide to ensure the
|
2371
|
+
# idempotency of the request. Don't reuse this client token if a new
|
2372
|
+
# idempotent request is required.
|
2373
|
+
#
|
2374
|
+
# **A suitable default value is auto-generated.** You should normally
|
2375
|
+
# not need to pass this option.**
|
2376
|
+
#
|
2377
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2378
|
+
#
|
2379
|
+
# @example Request syntax with placeholder values
|
2380
|
+
#
|
2381
|
+
# resp = client.disassociate_time_series_from_asset_property({
|
2382
|
+
# alias: "PropertyAlias", # required
|
2383
|
+
# asset_id: "ID", # required
|
2384
|
+
# property_id: "ID", # required
|
2385
|
+
# client_token: "ClientToken",
|
2386
|
+
# })
|
2387
|
+
#
|
2388
|
+
# @overload disassociate_time_series_from_asset_property(params = {})
|
2389
|
+
# @param [Hash] params ({})
|
2390
|
+
def disassociate_time_series_from_asset_property(params = {}, options = {})
|
2391
|
+
req = build_request(:disassociate_time_series_from_asset_property, params)
|
2392
|
+
req.send_request(options)
|
2393
|
+
end
|
2394
|
+
|
2202
2395
|
# Gets aggregated values for an asset property. For more information,
|
2203
2396
|
# see [Querying aggregates][1] in the *IoT SiteWise User Guide*.
|
2204
2397
|
#
|
@@ -2542,7 +2735,7 @@ module Aws::IoTSiteWise
|
|
2542
2735
|
#
|
2543
2736
|
# For example, you can use this operation to return the interpolated
|
2544
2737
|
# temperature values for a wind turbine every 24 hours over a duration
|
2545
|
-
# of 7 days. If the interpolation starts
|
2738
|
+
# of 7 days. If the interpolation starts July 1, 2021, at 9 AM, IoT
|
2546
2739
|
# SiteWise returns the first interpolated value on July 2, 2021, at 9
|
2547
2740
|
# AM, the second interpolated value on July 3, 2021, at 9 AM, and so
|
2548
2741
|
# on.
|
@@ -2555,28 +2748,28 @@ module Aws::IoTSiteWise
|
|
2555
2748
|
# forward this interpolated value until a new data point is found.
|
2556
2749
|
#
|
2557
2750
|
# For example, you can get the state of an on-off valve every 24 hours
|
2558
|
-
# over a duration of 7 days. If the interpolation starts
|
2559
|
-
#
|
2560
|
-
#
|
2561
|
-
# interpolated value. If
|
2562
|
-
# 2021, IoT SiteWise uses the same interpolated value for the rest
|
2563
|
-
# the days.
|
2751
|
+
# over a duration of 7 days. If the interpolation starts July 1, 2021,
|
2752
|
+
# at 9 AM, IoT SiteWise returns the last observed data point between
|
2753
|
+
# July 1, 2021, at 9 AM and July 2, 2021, at 9 AM as the first
|
2754
|
+
# interpolated value. If a data point isn't found after 9 AM on July
|
2755
|
+
# 2, 2021, IoT SiteWise uses the same interpolated value for the rest
|
2756
|
+
# of the days.
|
2564
2757
|
#
|
2565
2758
|
#
|
2566
2759
|
#
|
2567
2760
|
# [1]: https://en.wikipedia.org/wiki/Linear_interpolation
|
2568
2761
|
#
|
2569
2762
|
# @option params [Integer] :interval_window_in_seconds
|
2570
|
-
# The query interval for the window in seconds. IoT SiteWise computes
|
2763
|
+
# The query interval for the window, in seconds. IoT SiteWise computes
|
2571
2764
|
# each interpolated value by using data points from the timestamp of
|
2572
|
-
# each interval minus the window to the timestamp of each interval plus
|
2573
|
-
# the window. If not specified, the window
|
2765
|
+
# each interval, minus the window to the timestamp of each interval plus
|
2766
|
+
# the window. If not specified, the window ranges between the start time
|
2574
2767
|
# minus the interval and the end time plus the interval.
|
2575
2768
|
#
|
2576
2769
|
# <note markdown="1"> * If you specify a value for the `intervalWindowInSeconds` parameter,
|
2577
|
-
# the `type` parameter must be `LINEAR_INTERPOLATION`.
|
2770
|
+
# the value for the `type` parameter must be `LINEAR_INTERPOLATION`.
|
2578
2771
|
#
|
2579
|
-
# * If
|
2772
|
+
# * If a data point isn't found during the specified query window, IoT
|
2580
2773
|
# SiteWise won't return an interpolated value for the interval. This
|
2581
2774
|
# indicates that there's a gap in the ingested data points.
|
2582
2775
|
#
|
@@ -2585,11 +2778,11 @@ module Aws::IoTSiteWise
|
|
2585
2778
|
# For example, you can get the interpolated temperature values for a
|
2586
2779
|
# wind turbine every 24 hours over a duration of 7 days. If the
|
2587
2780
|
# interpolation starts on July 1, 2021, at 9 AM with a window of 2
|
2588
|
-
# hours, IoT SiteWise uses the data points from 7 AM (9 AM
|
2589
|
-
# 11 AM (9 AM
|
2590
|
-
# interpolated value, uses the data points from
|
2591
|
-
# 11 AM (9 AM
|
2592
|
-
# interpolated value, and so on.
|
2781
|
+
# hours, IoT SiteWise uses the data points from 7 AM (9 AM minus 2
|
2782
|
+
# hours) to 11 AM (9 AM plus 2 hours) on July 2, 2021 to compute the
|
2783
|
+
# first interpolated value. Next, IoT SiteWise uses the data points from
|
2784
|
+
# 7 AM (9 AM minus 2 hours) to 11 AM (9 AM plus 2 hours) on July 3, 2021
|
2785
|
+
# to compute the second interpolated value, and so on.
|
2593
2786
|
#
|
2594
2787
|
# @return [Types::GetInterpolatedAssetPropertyValuesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2595
2788
|
#
|
@@ -3247,6 +3440,66 @@ module Aws::IoTSiteWise
|
|
3247
3440
|
req.send_request(options)
|
3248
3441
|
end
|
3249
3442
|
|
3443
|
+
# Retrieves a paginated list of time series (data streams).
|
3444
|
+
#
|
3445
|
+
# @option params [String] :next_token
|
3446
|
+
# The token to be used for the next set of paginated results.
|
3447
|
+
#
|
3448
|
+
# @option params [Integer] :max_results
|
3449
|
+
# The maximum number of results to return for each paginated request.
|
3450
|
+
#
|
3451
|
+
# @option params [String] :asset_id
|
3452
|
+
# The ID of the asset in which the asset property was created.
|
3453
|
+
#
|
3454
|
+
# @option params [String] :alias_prefix
|
3455
|
+
# The alias prefix of the time series.
|
3456
|
+
#
|
3457
|
+
# @option params [String] :time_series_type
|
3458
|
+
# The type of the time series. The time series type can be one of the
|
3459
|
+
# following values:
|
3460
|
+
#
|
3461
|
+
# * `ASSOCIATED` – The time series is associated with an asset property.
|
3462
|
+
#
|
3463
|
+
# * `DISASSOCIATED` – The time series isn't associated with any asset
|
3464
|
+
# property.
|
3465
|
+
#
|
3466
|
+
# @return [Types::ListTimeSeriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3467
|
+
#
|
3468
|
+
# * {Types::ListTimeSeriesResponse#time_series_summaries #time_series_summaries} => Array<Types::TimeSeriesSummary>
|
3469
|
+
# * {Types::ListTimeSeriesResponse#next_token #next_token} => String
|
3470
|
+
#
|
3471
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3472
|
+
#
|
3473
|
+
# @example Request syntax with placeholder values
|
3474
|
+
#
|
3475
|
+
# resp = client.list_time_series({
|
3476
|
+
# next_token: "NextToken",
|
3477
|
+
# max_results: 1,
|
3478
|
+
# asset_id: "ID",
|
3479
|
+
# alias_prefix: "PropertyAlias",
|
3480
|
+
# time_series_type: "ASSOCIATED", # accepts ASSOCIATED, DISASSOCIATED
|
3481
|
+
# })
|
3482
|
+
#
|
3483
|
+
# @example Response structure
|
3484
|
+
#
|
3485
|
+
# resp.time_series_summaries #=> Array
|
3486
|
+
# resp.time_series_summaries[0].asset_id #=> String
|
3487
|
+
# resp.time_series_summaries[0].property_id #=> String
|
3488
|
+
# resp.time_series_summaries[0].alias #=> String
|
3489
|
+
# resp.time_series_summaries[0].time_series_id #=> String
|
3490
|
+
# resp.time_series_summaries[0].data_type #=> String, one of "STRING", "INTEGER", "DOUBLE", "BOOLEAN", "STRUCT"
|
3491
|
+
# resp.time_series_summaries[0].data_type_spec #=> String
|
3492
|
+
# resp.time_series_summaries[0].time_series_creation_date #=> Time
|
3493
|
+
# resp.time_series_summaries[0].time_series_last_update_date #=> Time
|
3494
|
+
# resp.next_token #=> String
|
3495
|
+
#
|
3496
|
+
# @overload list_time_series(params = {})
|
3497
|
+
# @param [Hash] params ({})
|
3498
|
+
def list_time_series(params = {}, options = {})
|
3499
|
+
req = build_request(:list_time_series, params)
|
3500
|
+
req.send_request(options)
|
3501
|
+
end
|
3502
|
+
|
3250
3503
|
# Sets the default encryption configuration for the Amazon Web Services
|
3251
3504
|
# account. For more information, see [Key management][1] in the *IoT
|
3252
3505
|
# SiteWise User Guide*.
|
@@ -3259,8 +3512,8 @@ module Aws::IoTSiteWise
|
|
3259
3512
|
# The type of encryption used for the encryption configuration.
|
3260
3513
|
#
|
3261
3514
|
# @option params [String] :kms_key_id
|
3262
|
-
# The Key ID of the customer managed
|
3263
|
-
#
|
3515
|
+
# The Key ID of the customer managed key used for KMS encryption. This
|
3516
|
+
# is required if you use `KMS_BASED_ENCRYPTION`.
|
3264
3517
|
#
|
3265
3518
|
# @return [Types::PutDefaultEncryptionConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3266
3519
|
#
|
@@ -3330,10 +3583,32 @@ module Aws::IoTSiteWise
|
|
3330
3583
|
# `MULTI_LAYER_STORAGE` for the storage type, you must specify a
|
3331
3584
|
# `MultiLayerStorage` object.
|
3332
3585
|
#
|
3586
|
+
# @option params [String] :disassociated_data_storage
|
3587
|
+
# Contains the storage configuration for time series (data streams) that
|
3588
|
+
# aren't associated with asset properties. The
|
3589
|
+
# `disassociatedDataStorage` can be one of the following values:
|
3590
|
+
#
|
3591
|
+
# * `ENABLED` – IoT SiteWise accepts time series that aren't associated
|
3592
|
+
# with asset properties.
|
3593
|
+
#
|
3594
|
+
# After the `disassociatedDataStorage` is enabled, you can't disable
|
3595
|
+
# it.
|
3596
|
+
#
|
3597
|
+
# * `DISABLED` – IoT SiteWise doesn't accept time series (data streams)
|
3598
|
+
# that aren't associated with asset properties.
|
3599
|
+
#
|
3600
|
+
# For more information, see [Data streams][1] in the *IoT SiteWise User
|
3601
|
+
# Guide*.
|
3602
|
+
#
|
3603
|
+
#
|
3604
|
+
#
|
3605
|
+
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/data-streams.html
|
3606
|
+
#
|
3333
3607
|
# @return [Types::PutStorageConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3334
3608
|
#
|
3335
3609
|
# * {Types::PutStorageConfigurationResponse#storage_type #storage_type} => String
|
3336
3610
|
# * {Types::PutStorageConfigurationResponse#multi_layer_storage #multi_layer_storage} => Types::MultiLayerStorage
|
3611
|
+
# * {Types::PutStorageConfigurationResponse#disassociated_data_storage #disassociated_data_storage} => String
|
3337
3612
|
# * {Types::PutStorageConfigurationResponse#configuration_status #configuration_status} => Types::ConfigurationStatus
|
3338
3613
|
#
|
3339
3614
|
# @example Request syntax with placeholder values
|
@@ -3346,6 +3621,7 @@ module Aws::IoTSiteWise
|
|
3346
3621
|
# role_arn: "ARN", # required
|
3347
3622
|
# },
|
3348
3623
|
# },
|
3624
|
+
# disassociated_data_storage: "ENABLED", # accepts ENABLED, DISABLED
|
3349
3625
|
# })
|
3350
3626
|
#
|
3351
3627
|
# @example Response structure
|
@@ -3353,6 +3629,7 @@ module Aws::IoTSiteWise
|
|
3353
3629
|
# resp.storage_type #=> String, one of "SITEWISE_DEFAULT_STORAGE", "MULTI_LAYER_STORAGE"
|
3354
3630
|
# resp.multi_layer_storage.customer_managed_s3_storage.s3_resource_arn #=> String
|
3355
3631
|
# resp.multi_layer_storage.customer_managed_s3_storage.role_arn #=> String
|
3632
|
+
# resp.disassociated_data_storage #=> String, one of "ENABLED", "DISABLED"
|
3356
3633
|
# resp.configuration_status.state #=> String, one of "ACTIVE", "UPDATE_IN_PROGRESS", "UPDATE_FAILED"
|
3357
3634
|
# resp.configuration_status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
3358
3635
|
# resp.configuration_status.error.message #=> String
|
@@ -4124,7 +4401,7 @@ module Aws::IoTSiteWise
|
|
4124
4401
|
params: params,
|
4125
4402
|
config: config)
|
4126
4403
|
context[:gem_name] = 'aws-sdk-iotsitewise'
|
4127
|
-
context[:gem_version] = '1.
|
4404
|
+
context[:gem_version] = '1.35.0'
|
4128
4405
|
Seahorse::Client::Request.new(handlers, context)
|
4129
4406
|
end
|
4130
4407
|
|