aws-sdk-iotsitewise 1.29.0 → 1.30.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.rb +1 -1
- data/lib/aws-sdk-iotsitewise/client.rb +41 -2
- data/lib/aws-sdk-iotsitewise/client_api.rb +2 -0
- data/lib/aws-sdk-iotsitewise/types.rb +58 -17
- 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: 98915b7d9ba277f8000f730d18b7fac03886583cb351dfe6a33c716668e80946
|
4
|
+
data.tar.gz: 178b1336e0b35362e53127dc1a48d70d73a09cf453d37d47a50e8070a1d9f678
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b26cad8029eda4e60a68a01105323cd2f1786b26a20e3fa94894a0db11cff2761695fbe217ad1364cdcfdf7e89fe5cf24434671b3edf5edeeb4ac9f352bad903
|
7
|
+
data.tar.gz: b7c08bf25c4b9ea93a2840022059a79835f4a61e8fc5ea904608e3f1b5fb79d4017bf93e6484424c89d63772eb4f99b06a55bbc9d603d25ba08c2e493c8961cf
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.30.0 (2021-08-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
4
9
|
1.29.0 (2021-08-03)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.0
|
data/lib/aws-sdk-iotsitewise.rb
CHANGED
@@ -2522,7 +2522,45 @@ module Aws::IoTSiteWise
|
|
2522
2522
|
# @option params [required, String] :type
|
2523
2523
|
# The interpolation type.
|
2524
2524
|
#
|
2525
|
-
# Valid values: `LINEAR_INTERPOLATION`
|
2525
|
+
# Valid values: `LINEAR_INTERPOLATION | LOCF_INTERPOLATION`
|
2526
|
+
#
|
2527
|
+
# For the `LOCF_INTERPOLATION` interpolation, if no data point is found
|
2528
|
+
# for an interval, IoT SiteWise returns the same interpolated value
|
2529
|
+
# calculated for the previous interval and carries forward this
|
2530
|
+
# interpolated value until a new data point is found.
|
2531
|
+
#
|
2532
|
+
# For example, you can get the interpolated temperature values for a
|
2533
|
+
# wind turbine every 24 hours over a duration of 7 days. If the
|
2534
|
+
# `LOCF_INTERPOLATION` interpolation starts on July 1, 2021, at 9 AM,
|
2535
|
+
# IoT SiteWise uses the data points from July 1, 2021, at 9 AM to July
|
2536
|
+
# 2, 2021, at 9 AM to compute the first interpolated value. If no data
|
2537
|
+
# points is found after 9 A.M. on July 2, 2021, IoT SiteWise uses the
|
2538
|
+
# same interpolated value for the rest of the days.
|
2539
|
+
#
|
2540
|
+
# @option params [Integer] :interval_window_in_seconds
|
2541
|
+
# The query interval for the window in seconds. IoT SiteWise computes
|
2542
|
+
# each interpolated value by using data points from the timestamp of
|
2543
|
+
# each interval minus the window to the timestamp of each interval plus
|
2544
|
+
# the window. If not specified, the window is between the start time
|
2545
|
+
# minus the interval and the end time plus the interval.
|
2546
|
+
#
|
2547
|
+
# <note markdown="1"> * If you specify a value for the `intervalWindowInSeconds` parameter,
|
2548
|
+
# the `type` parameter must be `LINEAR_INTERPOLATION`.
|
2549
|
+
#
|
2550
|
+
# * If no data point is found during the specified query window, IoT
|
2551
|
+
# SiteWise won't return an interpolated value for the interval. This
|
2552
|
+
# indicates that there's a gap in the ingested data points.
|
2553
|
+
#
|
2554
|
+
# </note>
|
2555
|
+
#
|
2556
|
+
# For example, you can get the interpolated temperature values for a
|
2557
|
+
# wind turbine every 24 hours over a duration of 7 days. If the
|
2558
|
+
# interpolation starts on July 1, 2021, at 9 AM with a window of 2
|
2559
|
+
# hours, IoT SiteWise uses the data points from 7 AM (9 AM - 2 hours) to
|
2560
|
+
# 11 AM (9 AM + 2 hours) on July 2, 2021 to compute the first
|
2561
|
+
# interpolated value, uses the data points from 7 AM (9 AM - 2 hours) to
|
2562
|
+
# 11 AM (9 AM + 2 hours) on July 3, 2021 to compute the second
|
2563
|
+
# interpolated value, and so on.
|
2526
2564
|
#
|
2527
2565
|
# @return [Types::GetInterpolatedAssetPropertyValuesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2528
2566
|
#
|
@@ -2546,6 +2584,7 @@ module Aws::IoTSiteWise
|
|
2546
2584
|
# next_token: "NextToken",
|
2547
2585
|
# max_results: 1,
|
2548
2586
|
# type: "InterpolationType", # required
|
2587
|
+
# interval_window_in_seconds: 1,
|
2549
2588
|
# })
|
2550
2589
|
#
|
2551
2590
|
# @example Response structure
|
@@ -4056,7 +4095,7 @@ module Aws::IoTSiteWise
|
|
4056
4095
|
params: params,
|
4057
4096
|
config: config)
|
4058
4097
|
context[:gem_name] = 'aws-sdk-iotsitewise'
|
4059
|
-
context[:gem_version] = '1.
|
4098
|
+
context[:gem_version] = '1.30.0'
|
4060
4099
|
Seahorse::Client::Request.new(handlers, context)
|
4061
4100
|
end
|
4062
4101
|
|
@@ -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')
|
@@ -947,6 +948,7 @@ module Aws::IoTSiteWise
|
|
947
948
|
GetInterpolatedAssetPropertyValuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
948
949
|
GetInterpolatedAssetPropertyValuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxInterpolatedResults, location: "querystring", location_name: "maxResults"))
|
949
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"))
|
950
952
|
GetInterpolatedAssetPropertyValuesRequest.struct_class = Types::GetInterpolatedAssetPropertyValuesRequest
|
951
953
|
|
952
954
|
GetInterpolatedAssetPropertyValuesResponse.add_member(:interpolated_asset_property_values, Shapes::ShapeRef.new(shape: InterpolatedAssetPropertyValues, required: true, location_name: "interpolatedAssetPropertyValues"))
|
@@ -3778,6 +3778,7 @@ module Aws::IoTSiteWise
|
|
3778
3778
|
# next_token: "NextToken",
|
3779
3779
|
# max_results: 1,
|
3780
3780
|
# type: "InterpolationType", # required
|
3781
|
+
# interval_window_in_seconds: 1,
|
3781
3782
|
# }
|
3782
3783
|
#
|
3783
3784
|
# @!attribute [rw] asset_id
|
@@ -3841,9 +3842,48 @@ module Aws::IoTSiteWise
|
|
3841
3842
|
# @!attribute [rw] type
|
3842
3843
|
# The interpolation type.
|
3843
3844
|
#
|
3844
|
-
# Valid values: `LINEAR_INTERPOLATION`
|
3845
|
+
# Valid values: `LINEAR_INTERPOLATION | LOCF_INTERPOLATION`
|
3846
|
+
#
|
3847
|
+
# For the `LOCF_INTERPOLATION` interpolation, if no data point is
|
3848
|
+
# found for an interval, IoT SiteWise returns the same interpolated
|
3849
|
+
# value calculated for the previous interval and carries forward this
|
3850
|
+
# interpolated value until a new data point is found.
|
3851
|
+
#
|
3852
|
+
# For example, you can get the interpolated temperature values for a
|
3853
|
+
# wind turbine every 24 hours over a duration of 7 days. If the
|
3854
|
+
# `LOCF_INTERPOLATION` interpolation starts on July 1, 2021, at 9 AM,
|
3855
|
+
# IoT SiteWise uses the data points from July 1, 2021, at 9 AM to July
|
3856
|
+
# 2, 2021, at 9 AM to compute the first interpolated value. If no data
|
3857
|
+
# points is found after 9 A.M. on July 2, 2021, IoT SiteWise uses the
|
3858
|
+
# same interpolated value for the rest of the days.
|
3845
3859
|
# @return [String]
|
3846
3860
|
#
|
3861
|
+
# @!attribute [rw] interval_window_in_seconds
|
3862
|
+
# The query interval for the window in seconds. IoT SiteWise computes
|
3863
|
+
# each interpolated value by using data points from the timestamp of
|
3864
|
+
# each interval minus the window to the timestamp of each interval
|
3865
|
+
# plus the window. If not specified, the window is between the start
|
3866
|
+
# time minus the interval and the end time plus the interval.
|
3867
|
+
#
|
3868
|
+
# <note markdown="1"> * If you specify a value for the `intervalWindowInSeconds`
|
3869
|
+
# parameter, the `type` parameter must be `LINEAR_INTERPOLATION`.
|
3870
|
+
#
|
3871
|
+
# * If no data point is found during the specified query window, IoT
|
3872
|
+
# SiteWise won't return an interpolated value for the interval.
|
3873
|
+
# This indicates that there's a gap in the ingested data points.
|
3874
|
+
#
|
3875
|
+
# </note>
|
3876
|
+
#
|
3877
|
+
# For example, you can get the interpolated temperature values for a
|
3878
|
+
# wind turbine every 24 hours over a duration of 7 days. If the
|
3879
|
+
# interpolation starts on July 1, 2021, at 9 AM with a window of 2
|
3880
|
+
# hours, IoT SiteWise uses the data points from 7 AM (9 AM - 2 hours)
|
3881
|
+
# to 11 AM (9 AM + 2 hours) on July 2, 2021 to compute the first
|
3882
|
+
# interpolated value, uses the data points from 7 AM (9 AM - 2 hours)
|
3883
|
+
# to 11 AM (9 AM + 2 hours) on July 3, 2021 to compute the second
|
3884
|
+
# interpolated value, and so on.
|
3885
|
+
# @return [Integer]
|
3886
|
+
#
|
3847
3887
|
class GetInterpolatedAssetPropertyValuesRequest < Struct.new(
|
3848
3888
|
:asset_id,
|
3849
3889
|
:property_id,
|
@@ -3856,7 +3896,8 @@ module Aws::IoTSiteWise
|
|
3856
3896
|
:interval_in_seconds,
|
3857
3897
|
:next_token,
|
3858
3898
|
:max_results,
|
3859
|
-
:type
|
3899
|
+
:type,
|
3900
|
+
:interval_window_in_seconds)
|
3860
3901
|
SENSITIVE = []
|
3861
3902
|
include Aws::Structure
|
3862
3903
|
end
|
@@ -5897,12 +5938,12 @@ module Aws::IoTSiteWise
|
|
5897
5938
|
# `interval`, IoT SiteWise aggregates data in one of the following
|
5898
5939
|
# ways:
|
5899
5940
|
#
|
5900
|
-
# * If you create the metric before or at 6:00
|
5901
|
-
#
|
5941
|
+
# * If you create the metric before or at 6:00 PM (UTC), you get the
|
5942
|
+
# first aggregation result at 6 PM (UTC) on the day when you
|
5902
5943
|
# create the metric.
|
5903
5944
|
#
|
5904
|
-
# * If you create the metric after 6:00
|
5905
|
-
#
|
5945
|
+
# * If you create the metric after 6:00 PM (UTC), you get the first
|
5946
|
+
# aggregation result at 6 PM (UTC) the next day.
|
5906
5947
|
#
|
5907
5948
|
# * The ISO 8601 format.
|
5908
5949
|
#
|
@@ -5910,19 +5951,19 @@ module Aws::IoTSiteWise
|
|
5910
5951
|
# `interval`, IoT SiteWise aggregates data in one of the following
|
5911
5952
|
# ways:
|
5912
5953
|
#
|
5913
|
-
# * If you create the metric before or at 6:00
|
5914
|
-
#
|
5954
|
+
# * If you create the metric before or at 6:00 PM (UTC), you get the
|
5955
|
+
# first aggregation result at 6 PM (UTC) on the day when you
|
5915
5956
|
# create the metric.
|
5916
5957
|
#
|
5917
|
-
# * If you create the metric after 6:00
|
5918
|
-
#
|
5958
|
+
# * If you create the metric after 6:00 PM (UTC), you get the first
|
5959
|
+
# aggregation result at 6 PM (UTC) the next day.
|
5919
5960
|
#
|
5920
5961
|
# * The 24-hour clock.
|
5921
5962
|
#
|
5922
5963
|
# For example, if you specify `00:03:00` for `offset` and `5m` for
|
5923
|
-
# `interval`, and you create the metric at 2
|
5924
|
-
# first aggregation result at 2:03
|
5925
|
-
# aggregation result at 2:08
|
5964
|
+
# `interval`, and you create the metric at 2 PM (UTC), you get the
|
5965
|
+
# first aggregation result at 2:03 PM (UTC). You get the second
|
5966
|
+
# aggregation result at 2:08 PM (UTC).
|
5926
5967
|
#
|
5927
5968
|
# * The offset time zone.
|
5928
5969
|
#
|
@@ -5930,12 +5971,12 @@ module Aws::IoTSiteWise
|
|
5930
5971
|
# `1d` for `interval`, IoT SiteWise aggregates data in one of the
|
5931
5972
|
# following ways:
|
5932
5973
|
#
|
5933
|
-
# * If you create the metric before or at 6:00
|
5934
|
-
#
|
5974
|
+
# * If you create the metric before or at 6:00 PM (PST), you get the
|
5975
|
+
# first aggregation result at 6 PM (PST) on the day when you
|
5935
5976
|
# create the metric.
|
5936
5977
|
#
|
5937
|
-
# * If you create the metric after 6:00
|
5938
|
-
#
|
5978
|
+
# * If you create the metric after 6:00 PM (PST), you get the first
|
5979
|
+
# aggregation result at 6 PM (PST) the next day.
|
5939
5980
|
# @return [String]
|
5940
5981
|
#
|
5941
5982
|
class TumblingWindow < Struct.new(
|
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.30.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-08-
|
11
|
+
date: 2021-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|