aws-sdk-iotsitewise 1.27.0 → 1.31.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotsitewise/client.rb +72 -17
- data/lib/aws-sdk-iotsitewise/client_api.rb +4 -0
- data/lib/aws-sdk-iotsitewise/types.rb +145 -11
- data/lib/aws-sdk-iotsitewise.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 484f699838e0578c0b4dd8ad299e5f582afb594e19be1f38d3161a1c95572e91
|
4
|
+
data.tar.gz: 0de0eb2d0d61e8e3b1942eb2f738337f7523851bd2ff9f1b157789826f963d94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ceefa1503579b39ca0e13487a67518183a7f4cac37f78ccbe37bb22f162fd0c8abe1a120959ac610d55a548cd66135e7980ad110ee00e9dae22b91ce38d6922
|
7
|
+
data.tar.gz: 14ffc954160d5a8c55e2191c5a98a12aca5495e6a1b50f8ab3bde560c1920913ca4b23b6da21813f0e7c16db9c4682e58f793c4dd514b949637e82f40effb4cc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.31.0 (2021-08-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for AWS IoT SiteWise
|
8
|
+
|
9
|
+
1.30.0 (2021-08-16)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS IoT SiteWise added query window for the interpolation interval. AWS IoT SiteWise computes each interpolated value by using data points from the timestamp of each interval minus the window to the timestamp of each interval plus the window.
|
13
|
+
|
14
|
+
1.29.0 (2021-08-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - My AWS Service (placeholder) - This release introduces custom Intervals and offset for tumbling window in metric for AWS IoT SiteWise.
|
18
|
+
|
19
|
+
1.28.0 (2021-07-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.27.0 (2021-07-29)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.31.0
|
@@ -826,6 +826,7 @@ module Aws::IoTSiteWise
|
|
826
826
|
# window: { # required
|
827
827
|
# tumbling: {
|
828
828
|
# interval: "Interval", # required
|
829
|
+
# offset: "Offset",
|
829
830
|
# },
|
830
831
|
# },
|
831
832
|
# processing_config: {
|
@@ -895,6 +896,7 @@ module Aws::IoTSiteWise
|
|
895
896
|
# window: { # required
|
896
897
|
# tumbling: {
|
897
898
|
# interval: "Interval", # required
|
899
|
+
# offset: "Offset",
|
898
900
|
# },
|
899
901
|
# },
|
900
902
|
# processing_config: {
|
@@ -1680,6 +1682,7 @@ module Aws::IoTSiteWise
|
|
1680
1682
|
# resp.asset_model_properties[0].type.metric.variables[0].value.property_id #=> String
|
1681
1683
|
# resp.asset_model_properties[0].type.metric.variables[0].value.hierarchy_id #=> String
|
1682
1684
|
# resp.asset_model_properties[0].type.metric.window.tumbling.interval #=> String
|
1685
|
+
# resp.asset_model_properties[0].type.metric.window.tumbling.offset #=> String
|
1683
1686
|
# resp.asset_model_properties[0].type.metric.processing_config.compute_location #=> String, one of "EDGE", "CLOUD"
|
1684
1687
|
# resp.asset_model_hierarchies #=> Array
|
1685
1688
|
# resp.asset_model_hierarchies[0].id #=> String
|
@@ -1710,6 +1713,7 @@ module Aws::IoTSiteWise
|
|
1710
1713
|
# resp.asset_model_composite_models[0].properties[0].type.metric.variables[0].value.property_id #=> String
|
1711
1714
|
# resp.asset_model_composite_models[0].properties[0].type.metric.variables[0].value.hierarchy_id #=> String
|
1712
1715
|
# resp.asset_model_composite_models[0].properties[0].type.metric.window.tumbling.interval #=> String
|
1716
|
+
# resp.asset_model_composite_models[0].properties[0].type.metric.window.tumbling.offset #=> String
|
1713
1717
|
# resp.asset_model_composite_models[0].properties[0].type.metric.processing_config.compute_location #=> String, one of "EDGE", "CLOUD"
|
1714
1718
|
# resp.asset_model_creation_date #=> Time
|
1715
1719
|
# resp.asset_model_last_update_date #=> Time
|
@@ -1797,6 +1801,7 @@ module Aws::IoTSiteWise
|
|
1797
1801
|
# resp.asset_property.type.metric.variables[0].value.property_id #=> String
|
1798
1802
|
# resp.asset_property.type.metric.variables[0].value.hierarchy_id #=> String
|
1799
1803
|
# resp.asset_property.type.metric.window.tumbling.interval #=> String
|
1804
|
+
# resp.asset_property.type.metric.window.tumbling.offset #=> String
|
1800
1805
|
# resp.asset_property.type.metric.processing_config.compute_location #=> String, one of "EDGE", "CLOUD"
|
1801
1806
|
# resp.composite_model.name #=> String
|
1802
1807
|
# resp.composite_model.type #=> String
|
@@ -1822,6 +1827,7 @@ module Aws::IoTSiteWise
|
|
1822
1827
|
# resp.composite_model.asset_property.type.metric.variables[0].value.property_id #=> String
|
1823
1828
|
# resp.composite_model.asset_property.type.metric.variables[0].value.hierarchy_id #=> String
|
1824
1829
|
# resp.composite_model.asset_property.type.metric.window.tumbling.interval #=> String
|
1830
|
+
# resp.composite_model.asset_property.type.metric.window.tumbling.offset #=> String
|
1825
1831
|
# resp.composite_model.asset_property.type.metric.processing_config.compute_location #=> String, one of "EDGE", "CLOUD"
|
1826
1832
|
#
|
1827
1833
|
# @overload describe_asset_property(params = {})
|
@@ -2114,12 +2120,6 @@ module Aws::IoTSiteWise
|
|
2114
2120
|
# Retrieves information about the storage configuration for IoT
|
2115
2121
|
# SiteWise.
|
2116
2122
|
#
|
2117
|
-
# <note markdown="1"> Exporting data to Amazon S3 is currently in preview release and is
|
2118
|
-
# subject to change. We recommend that you use this feature only with
|
2119
|
-
# test data, and not in production environments.
|
2120
|
-
#
|
2121
|
-
# </note>
|
2122
|
-
#
|
2123
2123
|
# @return [Types::DescribeStorageConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2124
2124
|
#
|
2125
2125
|
# * {Types::DescribeStorageConfigurationResponse#storage_type #storage_type} => String
|
@@ -2456,9 +2456,13 @@ module Aws::IoTSiteWise
|
|
2456
2456
|
end
|
2457
2457
|
|
2458
2458
|
# Get interpolated values for an asset property for a specified time
|
2459
|
-
# interval, during a period of time.
|
2460
|
-
#
|
2461
|
-
#
|
2459
|
+
# interval, during a period of time. If your time series is missing data
|
2460
|
+
# points during the specified time interval, you can use interpolation
|
2461
|
+
# to estimate the missing data.
|
2462
|
+
#
|
2463
|
+
# For example, you can use this operation to return the interpolated
|
2464
|
+
# temperature values for a wind turbine every 24 hours over a duration
|
2465
|
+
# of 7 days.
|
2462
2466
|
#
|
2463
2467
|
# To identify an asset property, you must specify one of the following:
|
2464
2468
|
#
|
@@ -2522,7 +2526,61 @@ module Aws::IoTSiteWise
|
|
2522
2526
|
# @option params [required, String] :type
|
2523
2527
|
# The interpolation type.
|
2524
2528
|
#
|
2525
|
-
# Valid values: `LINEAR_INTERPOLATION`
|
2529
|
+
# Valid values: `LINEAR_INTERPOLATION | LOCF_INTERPOLATION`
|
2530
|
+
#
|
2531
|
+
# * `LINEAR_INTERPOLATION` – Estimates missing data using [linear
|
2532
|
+
# interpolation][1].
|
2533
|
+
#
|
2534
|
+
# For example, you can use this operation to return the interpolated
|
2535
|
+
# temperature values for a wind turbine every 24 hours over a duration
|
2536
|
+
# of 7 days. If the interpolation starts on July 1, 2021, at 9 AM, IoT
|
2537
|
+
# SiteWise returns the first interpolated value on July 2, 2021, at 9
|
2538
|
+
# AM, the second interpolated value on July 3, 2021, at 9 AM, and so
|
2539
|
+
# on.
|
2540
|
+
#
|
2541
|
+
# * `LOCF_INTERPOLATION` – Estimates missing data using last observation
|
2542
|
+
# carried forward interpolation
|
2543
|
+
#
|
2544
|
+
# If no data point is found for an interval, IoT SiteWise returns the
|
2545
|
+
# last observed data point for the previous interval and carries
|
2546
|
+
# forward this interpolated value until a new data point is found.
|
2547
|
+
#
|
2548
|
+
# For example, you can get the state of an on-off valve every 24 hours
|
2549
|
+
# over a duration of 7 days. If the interpolation starts on July 1,
|
2550
|
+
# 2021, at 9 AM, IoT SiteWise returns the last observed data point
|
2551
|
+
# between July 1, 2021, at 9 AM and July 2, 2021, at 9 AM as the first
|
2552
|
+
# interpolated value. If no data point is found after 9 AM on July 2,
|
2553
|
+
# 2021, IoT SiteWise uses the same interpolated value for the rest of
|
2554
|
+
# the days.
|
2555
|
+
#
|
2556
|
+
#
|
2557
|
+
#
|
2558
|
+
# [1]: https://en.wikipedia.org/wiki/Linear_interpolation
|
2559
|
+
#
|
2560
|
+
# @option params [Integer] :interval_window_in_seconds
|
2561
|
+
# The query interval for the window in seconds. IoT SiteWise computes
|
2562
|
+
# each interpolated value by using data points from the timestamp of
|
2563
|
+
# each interval minus the window to the timestamp of each interval plus
|
2564
|
+
# the window. If not specified, the window is between the start time
|
2565
|
+
# minus the interval and the end time plus the interval.
|
2566
|
+
#
|
2567
|
+
# <note markdown="1"> * If you specify a value for the `intervalWindowInSeconds` parameter,
|
2568
|
+
# the `type` parameter must be `LINEAR_INTERPOLATION`.
|
2569
|
+
#
|
2570
|
+
# * If no data point is found during the specified query window, IoT
|
2571
|
+
# SiteWise won't return an interpolated value for the interval. This
|
2572
|
+
# indicates that there's a gap in the ingested data points.
|
2573
|
+
#
|
2574
|
+
# </note>
|
2575
|
+
#
|
2576
|
+
# For example, you can get the interpolated temperature values for a
|
2577
|
+
# wind turbine every 24 hours over a duration of 7 days. If the
|
2578
|
+
# interpolation starts on July 1, 2021, at 9 AM with a window of 2
|
2579
|
+
# hours, IoT SiteWise uses the data points from 7 AM (9 AM - 2 hours) to
|
2580
|
+
# 11 AM (9 AM + 2 hours) on July 2, 2021 to compute the first
|
2581
|
+
# interpolated value, uses the data points from 7 AM (9 AM - 2 hours) to
|
2582
|
+
# 11 AM (9 AM + 2 hours) on July 3, 2021 to compute the second
|
2583
|
+
# interpolated value, and so on.
|
2526
2584
|
#
|
2527
2585
|
# @return [Types::GetInterpolatedAssetPropertyValuesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2528
2586
|
#
|
@@ -2546,6 +2604,7 @@ module Aws::IoTSiteWise
|
|
2546
2604
|
# next_token: "NextToken",
|
2547
2605
|
# max_results: 1,
|
2548
2606
|
# type: "InterpolationType", # required
|
2607
|
+
# interval_window_in_seconds: 1,
|
2549
2608
|
# })
|
2550
2609
|
#
|
2551
2610
|
# @example Response structure
|
@@ -3246,12 +3305,6 @@ module Aws::IoTSiteWise
|
|
3246
3305
|
|
3247
3306
|
# Configures storage settings for IoT SiteWise.
|
3248
3307
|
#
|
3249
|
-
# <note markdown="1"> Exporting data to Amazon S3 is currently in preview release and is
|
3250
|
-
# subject to change. We recommend that you use this feature only with
|
3251
|
-
# test data, and not in production environments.
|
3252
|
-
#
|
3253
|
-
# </note>
|
3254
|
-
#
|
3255
3308
|
# @option params [required, String] :storage_type
|
3256
3309
|
# The type of storage that you specified for your data. The storage type
|
3257
3310
|
# can be one of the following values:
|
@@ -3615,6 +3668,7 @@ module Aws::IoTSiteWise
|
|
3615
3668
|
# window: { # required
|
3616
3669
|
# tumbling: {
|
3617
3670
|
# interval: "Interval", # required
|
3671
|
+
# offset: "Offset",
|
3618
3672
|
# },
|
3619
3673
|
# },
|
3620
3674
|
# processing_config: {
|
@@ -3686,6 +3740,7 @@ module Aws::IoTSiteWise
|
|
3686
3740
|
# window: { # required
|
3687
3741
|
# tumbling: {
|
3688
3742
|
# interval: "Interval", # required
|
3743
|
+
# offset: "Offset",
|
3689
3744
|
# },
|
3690
3745
|
# },
|
3691
3746
|
# processing_config: {
|
@@ -4060,7 +4115,7 @@ module Aws::IoTSiteWise
|
|
4060
4115
|
params: params,
|
4061
4116
|
config: config)
|
4062
4117
|
context[:gem_name] = 'aws-sdk-iotsitewise'
|
4063
|
-
context[:gem_version] = '1.
|
4118
|
+
context[:gem_version] = '1.31.0'
|
4064
4119
|
Seahorse::Client::Request.new(handlers, context)
|
4065
4120
|
end
|
4066
4121
|
|
@@ -199,6 +199,7 @@ module Aws::IoTSiteWise
|
|
199
199
|
InterpolationType = Shapes::StringShape.new(name: 'InterpolationType')
|
200
200
|
Interval = Shapes::StringShape.new(name: 'Interval')
|
201
201
|
IntervalInSeconds = Shapes::IntegerShape.new(name: 'IntervalInSeconds')
|
202
|
+
IntervalWindowInSeconds = Shapes::IntegerShape.new(name: 'IntervalWindowInSeconds')
|
202
203
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
203
204
|
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
204
205
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
@@ -241,6 +242,7 @@ module Aws::IoTSiteWise
|
|
241
242
|
MultiLayerStorage = Shapes::StructureShape.new(name: 'MultiLayerStorage')
|
242
243
|
Name = Shapes::StringShape.new(name: 'Name')
|
243
244
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
245
|
+
Offset = Shapes::StringShape.new(name: 'Offset')
|
244
246
|
OffsetInNanos = Shapes::IntegerShape.new(name: 'OffsetInNanos')
|
245
247
|
Permission = Shapes::StringShape.new(name: 'Permission')
|
246
248
|
PortalClientId = Shapes::StringShape.new(name: 'PortalClientId')
|
@@ -946,6 +948,7 @@ module Aws::IoTSiteWise
|
|
946
948
|
GetInterpolatedAssetPropertyValuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
947
949
|
GetInterpolatedAssetPropertyValuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxInterpolatedResults, location: "querystring", location_name: "maxResults"))
|
948
950
|
GetInterpolatedAssetPropertyValuesRequest.add_member(:type, Shapes::ShapeRef.new(shape: InterpolationType, required: true, location: "querystring", location_name: "type"))
|
951
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:interval_window_in_seconds, Shapes::ShapeRef.new(shape: IntervalWindowInSeconds, location: "querystring", location_name: "intervalWindowInSeconds"))
|
949
952
|
GetInterpolatedAssetPropertyValuesRequest.struct_class = Types::GetInterpolatedAssetPropertyValuesRequest
|
950
953
|
|
951
954
|
GetInterpolatedAssetPropertyValuesResponse.add_member(:interpolated_asset_property_values, Shapes::ShapeRef.new(shape: InterpolatedAssetPropertyValues, required: true, location_name: "interpolatedAssetPropertyValues"))
|
@@ -1264,6 +1267,7 @@ module Aws::IoTSiteWise
|
|
1264
1267
|
TransformProcessingConfig.struct_class = Types::TransformProcessingConfig
|
1265
1268
|
|
1266
1269
|
TumblingWindow.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, required: true, location_name: "interval"))
|
1270
|
+
TumblingWindow.add_member(:offset, Shapes::ShapeRef.new(shape: Offset, location_name: "offset"))
|
1267
1271
|
TumblingWindow.struct_class = Types::TumblingWindow
|
1268
1272
|
|
1269
1273
|
UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
@@ -314,6 +314,7 @@ module Aws::IoTSiteWise
|
|
314
314
|
# window: { # required
|
315
315
|
# tumbling: {
|
316
316
|
# interval: "Interval", # required
|
317
|
+
# offset: "Offset",
|
317
318
|
# },
|
318
319
|
# },
|
319
320
|
# processing_config: {
|
@@ -411,6 +412,7 @@ module Aws::IoTSiteWise
|
|
411
412
|
# window: { # required
|
412
413
|
# tumbling: {
|
413
414
|
# interval: "Interval", # required
|
415
|
+
# offset: "Offset",
|
414
416
|
# },
|
415
417
|
# },
|
416
418
|
# processing_config: {
|
@@ -575,6 +577,7 @@ module Aws::IoTSiteWise
|
|
575
577
|
# window: { # required
|
576
578
|
# tumbling: {
|
577
579
|
# interval: "Interval", # required
|
580
|
+
# offset: "Offset",
|
578
581
|
# },
|
579
582
|
# },
|
580
583
|
# processing_config: {
|
@@ -674,6 +677,7 @@ module Aws::IoTSiteWise
|
|
674
677
|
# window: { # required
|
675
678
|
# tumbling: {
|
676
679
|
# interval: "Interval", # required
|
680
|
+
# offset: "Offset",
|
677
681
|
# },
|
678
682
|
# },
|
679
683
|
# processing_config: {
|
@@ -1540,6 +1544,7 @@ module Aws::IoTSiteWise
|
|
1540
1544
|
# window: { # required
|
1541
1545
|
# tumbling: {
|
1542
1546
|
# interval: "Interval", # required
|
1547
|
+
# offset: "Offset",
|
1543
1548
|
# },
|
1544
1549
|
# },
|
1545
1550
|
# processing_config: {
|
@@ -1609,6 +1614,7 @@ module Aws::IoTSiteWise
|
|
1609
1614
|
# window: { # required
|
1610
1615
|
# tumbling: {
|
1611
1616
|
# interval: "Interval", # required
|
1617
|
+
# offset: "Offset",
|
1612
1618
|
# },
|
1613
1619
|
# },
|
1614
1620
|
# processing_config: {
|
@@ -3772,6 +3778,7 @@ module Aws::IoTSiteWise
|
|
3772
3778
|
# next_token: "NextToken",
|
3773
3779
|
# max_results: 1,
|
3774
3780
|
# type: "InterpolationType", # required
|
3781
|
+
# interval_window_in_seconds: 1,
|
3775
3782
|
# }
|
3776
3783
|
#
|
3777
3784
|
# @!attribute [rw] asset_id
|
@@ -3835,9 +3842,64 @@ module Aws::IoTSiteWise
|
|
3835
3842
|
# @!attribute [rw] type
|
3836
3843
|
# The interpolation type.
|
3837
3844
|
#
|
3838
|
-
# Valid values: `LINEAR_INTERPOLATION`
|
3845
|
+
# Valid values: `LINEAR_INTERPOLATION | LOCF_INTERPOLATION`
|
3846
|
+
#
|
3847
|
+
# * `LINEAR_INTERPOLATION` – Estimates missing data using [linear
|
3848
|
+
# interpolation][1].
|
3849
|
+
#
|
3850
|
+
# For example, you can use this operation to return the interpolated
|
3851
|
+
# temperature values for a wind turbine every 24 hours over a
|
3852
|
+
# duration of 7 days. If the interpolation starts on July 1, 2021,
|
3853
|
+
# at 9 AM, IoT SiteWise returns the first interpolated value on July
|
3854
|
+
# 2, 2021, at 9 AM, the second interpolated value on July 3, 2021,
|
3855
|
+
# at 9 AM, and so on.
|
3856
|
+
#
|
3857
|
+
# * `LOCF_INTERPOLATION` – Estimates missing data using last
|
3858
|
+
# observation carried forward interpolation
|
3859
|
+
#
|
3860
|
+
# If no data point is found for an interval, IoT SiteWise returns
|
3861
|
+
# the last observed data point for the previous interval and carries
|
3862
|
+
# forward this interpolated value until a new data point is found.
|
3863
|
+
#
|
3864
|
+
# For example, you can get the state of an on-off valve every 24
|
3865
|
+
# hours over a duration of 7 days. If the interpolation starts on
|
3866
|
+
# July 1, 2021, at 9 AM, IoT SiteWise returns the last observed data
|
3867
|
+
# point between July 1, 2021, at 9 AM and July 2, 2021, at 9 AM as
|
3868
|
+
# the first interpolated value. If no data point is found after 9 AM
|
3869
|
+
# on July 2, 2021, IoT SiteWise uses the same interpolated value for
|
3870
|
+
# the rest of the days.
|
3871
|
+
#
|
3872
|
+
#
|
3873
|
+
#
|
3874
|
+
# [1]: https://en.wikipedia.org/wiki/Linear_interpolation
|
3839
3875
|
# @return [String]
|
3840
3876
|
#
|
3877
|
+
# @!attribute [rw] interval_window_in_seconds
|
3878
|
+
# The query interval for the window in seconds. IoT SiteWise computes
|
3879
|
+
# each interpolated value by using data points from the timestamp of
|
3880
|
+
# each interval minus the window to the timestamp of each interval
|
3881
|
+
# plus the window. If not specified, the window is between the start
|
3882
|
+
# time minus the interval and the end time plus the interval.
|
3883
|
+
#
|
3884
|
+
# <note markdown="1"> * If you specify a value for the `intervalWindowInSeconds`
|
3885
|
+
# parameter, the `type` parameter must be `LINEAR_INTERPOLATION`.
|
3886
|
+
#
|
3887
|
+
# * If no data point is found during the specified query window, IoT
|
3888
|
+
# SiteWise won't return an interpolated value for the interval.
|
3889
|
+
# This indicates that there's a gap in the ingested data points.
|
3890
|
+
#
|
3891
|
+
# </note>
|
3892
|
+
#
|
3893
|
+
# For example, you can get the interpolated temperature values for a
|
3894
|
+
# wind turbine every 24 hours over a duration of 7 days. If the
|
3895
|
+
# interpolation starts on July 1, 2021, at 9 AM with a window of 2
|
3896
|
+
# hours, IoT SiteWise uses the data points from 7 AM (9 AM - 2 hours)
|
3897
|
+
# to 11 AM (9 AM + 2 hours) on July 2, 2021 to compute the first
|
3898
|
+
# interpolated value, uses the data points from 7 AM (9 AM - 2 hours)
|
3899
|
+
# to 11 AM (9 AM + 2 hours) on July 3, 2021 to compute the second
|
3900
|
+
# interpolated value, and so on.
|
3901
|
+
# @return [Integer]
|
3902
|
+
#
|
3841
3903
|
class GetInterpolatedAssetPropertyValuesRequest < Struct.new(
|
3842
3904
|
:asset_id,
|
3843
3905
|
:property_id,
|
@@ -3850,7 +3912,8 @@ module Aws::IoTSiteWise
|
|
3850
3912
|
:interval_in_seconds,
|
3851
3913
|
:next_token,
|
3852
3914
|
:max_results,
|
3853
|
-
:type
|
3915
|
+
:type,
|
3916
|
+
:interval_window_in_seconds)
|
3854
3917
|
SENSITIVE = []
|
3855
3918
|
include Aws::Structure
|
3856
3919
|
end
|
@@ -4906,6 +4969,7 @@ module Aws::IoTSiteWise
|
|
4906
4969
|
# window: { # required
|
4907
4970
|
# tumbling: {
|
4908
4971
|
# interval: "Interval", # required
|
4972
|
+
# offset: "Offset",
|
4909
4973
|
# },
|
4910
4974
|
# },
|
4911
4975
|
# processing_config: {
|
@@ -4981,6 +5045,7 @@ module Aws::IoTSiteWise
|
|
4981
5045
|
# {
|
4982
5046
|
# tumbling: {
|
4983
5047
|
# interval: "Interval", # required
|
5048
|
+
# offset: "Offset",
|
4984
5049
|
# },
|
4985
5050
|
# }
|
4986
5051
|
#
|
@@ -5308,6 +5373,7 @@ module Aws::IoTSiteWise
|
|
5308
5373
|
# window: { # required
|
5309
5374
|
# tumbling: {
|
5310
5375
|
# interval: "Interval", # required
|
5376
|
+
# offset: "Offset",
|
5311
5377
|
# },
|
5312
5378
|
# },
|
5313
5379
|
# processing_config: {
|
@@ -5840,23 +5906,37 @@ module Aws::IoTSiteWise
|
|
5840
5906
|
end
|
5841
5907
|
|
5842
5908
|
# Contains a tumbling window, which is a repeating fixed-sized,
|
5843
|
-
# non-overlapping, and contiguous time
|
5844
|
-
#
|
5909
|
+
# non-overlapping, and contiguous time window. You use this window in
|
5910
|
+
# metrics to aggregate data from properties and other assets.
|
5911
|
+
#
|
5912
|
+
# You can use `m`, `h`, `d`, and `w` when you specify an interval or
|
5913
|
+
# offset. Note that `m` represents minutes, and `w` represents weeks.
|
5914
|
+
# You can also use `s` to represent seconds in `offset`.
|
5915
|
+
#
|
5916
|
+
# The `interval` and `offset` parameters support the [ISO 8601
|
5917
|
+
# format][1]. For example, `PT5S` represents five seconds, `PT5M`
|
5918
|
+
# represents five minutes, and `PT5H` represents five hours.
|
5919
|
+
#
|
5920
|
+
#
|
5921
|
+
#
|
5922
|
+
# [1]: https://en.wikipedia.org/wiki/ISO_8601
|
5845
5923
|
#
|
5846
5924
|
# @note When making an API call, you may pass TumblingWindow
|
5847
5925
|
# data as a hash:
|
5848
5926
|
#
|
5849
5927
|
# {
|
5850
5928
|
# interval: "Interval", # required
|
5929
|
+
# offset: "Offset",
|
5851
5930
|
# }
|
5852
5931
|
#
|
5853
5932
|
# @!attribute [rw] interval
|
5854
|
-
# The time interval for the tumbling window.
|
5855
|
-
#
|
5856
|
-
#
|
5857
|
-
#
|
5858
|
-
#
|
5859
|
-
# and so
|
5933
|
+
# The time interval for the tumbling window. The interval time must be
|
5934
|
+
# between 1 minute and 1 week.
|
5935
|
+
#
|
5936
|
+
# IoT SiteWise computes the `1w` interval the end of Sunday at
|
5937
|
+
# midnight each week (UTC), the `1d` interval at the end of each day
|
5938
|
+
# at midnight (UTC), the `1h` interval at the end of each hour, and so
|
5939
|
+
# on.
|
5860
5940
|
#
|
5861
5941
|
# When IoT SiteWise aggregates data points for metric computations,
|
5862
5942
|
# the start of each interval is exclusive and the end of each interval
|
@@ -5864,8 +5944,60 @@ module Aws::IoTSiteWise
|
|
5864
5944
|
# of the interval.
|
5865
5945
|
# @return [String]
|
5866
5946
|
#
|
5947
|
+
# @!attribute [rw] offset
|
5948
|
+
# The offset for the tumbling window. The `offset` parameter accepts
|
5949
|
+
# the following:
|
5950
|
+
#
|
5951
|
+
# * The offset time.
|
5952
|
+
#
|
5953
|
+
# For example, if you specify `18h` for `offset` and `1d` for
|
5954
|
+
# `interval`, IoT SiteWise aggregates data in one of the following
|
5955
|
+
# ways:
|
5956
|
+
#
|
5957
|
+
# * If you create the metric before or at 6:00 PM (UTC), you get the
|
5958
|
+
# first aggregation result at 6 PM (UTC) on the day when you
|
5959
|
+
# create the metric.
|
5960
|
+
#
|
5961
|
+
# * If you create the metric after 6:00 PM (UTC), you get the first
|
5962
|
+
# aggregation result at 6 PM (UTC) the next day.
|
5963
|
+
#
|
5964
|
+
# * The ISO 8601 format.
|
5965
|
+
#
|
5966
|
+
# For example, if you specify `PT18H` for `offset` and `1d` for
|
5967
|
+
# `interval`, IoT SiteWise aggregates data in one of the following
|
5968
|
+
# ways:
|
5969
|
+
#
|
5970
|
+
# * If you create the metric before or at 6:00 PM (UTC), you get the
|
5971
|
+
# first aggregation result at 6 PM (UTC) on the day when you
|
5972
|
+
# create the metric.
|
5973
|
+
#
|
5974
|
+
# * If you create the metric after 6:00 PM (UTC), you get the first
|
5975
|
+
# aggregation result at 6 PM (UTC) the next day.
|
5976
|
+
#
|
5977
|
+
# * The 24-hour clock.
|
5978
|
+
#
|
5979
|
+
# For example, if you specify `00:03:00` for `offset` and `5m` for
|
5980
|
+
# `interval`, and you create the metric at 2 PM (UTC), you get the
|
5981
|
+
# first aggregation result at 2:03 PM (UTC). You get the second
|
5982
|
+
# aggregation result at 2:08 PM (UTC).
|
5983
|
+
#
|
5984
|
+
# * The offset time zone.
|
5985
|
+
#
|
5986
|
+
# For example, if you specify `2021-07-23T18:00-08` for `offset` and
|
5987
|
+
# `1d` for `interval`, IoT SiteWise aggregates data in one of the
|
5988
|
+
# following ways:
|
5989
|
+
#
|
5990
|
+
# * If you create the metric before or at 6:00 PM (PST), you get the
|
5991
|
+
# first aggregation result at 6 PM (PST) on the day when you
|
5992
|
+
# create the metric.
|
5993
|
+
#
|
5994
|
+
# * If you create the metric after 6:00 PM (PST), you get the first
|
5995
|
+
# aggregation result at 6 PM (PST) the next day.
|
5996
|
+
# @return [String]
|
5997
|
+
#
|
5867
5998
|
class TumblingWindow < Struct.new(
|
5868
|
-
:interval
|
5999
|
+
:interval,
|
6000
|
+
:offset)
|
5869
6001
|
SENSITIVE = []
|
5870
6002
|
include Aws::Structure
|
5871
6003
|
end
|
@@ -6038,6 +6170,7 @@ module Aws::IoTSiteWise
|
|
6038
6170
|
# window: { # required
|
6039
6171
|
# tumbling: {
|
6040
6172
|
# interval: "Interval", # required
|
6173
|
+
# offset: "Offset",
|
6041
6174
|
# },
|
6042
6175
|
# },
|
6043
6176
|
# processing_config: {
|
@@ -6109,6 +6242,7 @@ module Aws::IoTSiteWise
|
|
6109
6242
|
# window: { # required
|
6110
6243
|
# tumbling: {
|
6111
6244
|
# interval: "Interval", # required
|
6245
|
+
# offset: "Offset",
|
6112
6246
|
# },
|
6113
6247
|
# },
|
6114
6248
|
# processing_config: {
|
data/lib/aws-sdk-iotsitewise.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iotsitewise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.31.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: 2021-
|
11
|
+
date: 2021-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.119.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.119.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|