aws-sdk-iotsitewise 1.29.0 → 1.33.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b15c52a1ccd38347eb2aba9df61642c931974473f8cf1dbb75d4138fcc185b0a
4
- data.tar.gz: b9057dc2dcac4f3547cd595937c345789ca85aa23439b6148133056e67398e54
3
+ metadata.gz: 7b8056c58e0f38489dfe40b408bf503e3c6e1709067ca160896ee8636ca3a9d4
4
+ data.tar.gz: 63a49d3ec725ae56eba604e2d2a6fb382381bc3a3d9615ff6188fbf3ebd75cb7
5
5
  SHA512:
6
- metadata.gz: 4e44df64d007dcb9bfa2c0dd6727a11a607201e94a058ee713e4ae438fd7c56eeb7a12f4f9769e513f34aae72687dc7f950609399341118150518e085b3cb27c
7
- data.tar.gz: 90c043ed03ff2b66aad3cc968c26c4f8d55e31a6315672664f8ffc8a5385091926a781c21cc3c3327d630631672d4032a26d7a70ed7901df1ef157b4ac045adc
6
+ metadata.gz: 53dd92fa9904d3c94106f8910ecda9ef9e91cb86f21a0cead9eb2ac2bde4c80bc8734dda948008526da7b11878c0f108abb40b5a680690be7464fbb4450259bc
7
+ data.tar.gz: 635b63f2263776db518061c96335ea94ee6198eb9bb190b303756b011e00ee844553d7d596e83794319fc537df11cabc52c7a638c4734893f55b8f65ce05926b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.33.0 (2021-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.32.0 (2021-09-01)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.31.0 (2021-08-23)
15
+ ------------------
16
+
17
+ * Feature - Documentation updates for AWS IoT SiteWise
18
+
19
+ 1.30.0 (2021-08-16)
20
+ ------------------
21
+
22
+ * 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.
23
+
4
24
  1.29.0 (2021-08-03)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.33.0
@@ -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. For example, you can use the this
2460
- # operation to return the interpolated temperature values for a wind
2461
- # turbine every 24 hours over a duration of 7 days.
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
@@ -4056,7 +4115,7 @@ module Aws::IoTSiteWise
4056
4115
  params: params,
4057
4116
  config: config)
4058
4117
  context[:gem_name] = 'aws-sdk-iotsitewise'
4059
- context[:gem_version] = '1.29.0'
4118
+ context[:gem_version] = '1.33.0'
4060
4119
  Seahorse::Client::Request.new(handlers, context)
4061
4120
  end
4062
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')
@@ -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,64 @@ 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
+ # * `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
3845
3875
  # @return [String]
3846
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
+ #
3847
3903
  class GetInterpolatedAssetPropertyValuesRequest < Struct.new(
3848
3904
  :asset_id,
3849
3905
  :property_id,
@@ -3856,7 +3912,8 @@ module Aws::IoTSiteWise
3856
3912
  :interval_in_seconds,
3857
3913
  :next_token,
3858
3914
  :max_results,
3859
- :type)
3915
+ :type,
3916
+ :interval_window_in_seconds)
3860
3917
  SENSITIVE = []
3861
3918
  include Aws::Structure
3862
3919
  end
@@ -5897,12 +5954,12 @@ module Aws::IoTSiteWise
5897
5954
  # `interval`, IoT SiteWise aggregates data in one of the following
5898
5955
  # ways:
5899
5956
  #
5900
- # * If you create the metric before or at 6:00 p.m. (UTC), you get
5901
- # the first aggregation result at 6 p.m. (UTC) on the day when you
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
5902
5959
  # create the metric.
5903
5960
  #
5904
- # * If you create the metric after 6:00 p.m. (UTC), you get the
5905
- # first aggregation result at 6 p.m. (UTC) the next day.
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.
5906
5963
  #
5907
5964
  # * The ISO 8601 format.
5908
5965
  #
@@ -5910,19 +5967,19 @@ module Aws::IoTSiteWise
5910
5967
  # `interval`, IoT SiteWise aggregates data in one of the following
5911
5968
  # ways:
5912
5969
  #
5913
- # * If you create the metric before or at 6:00 p.m. (UTC), you get
5914
- # the first aggregation result at 6 p.m. (UTC) on the day when you
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
5915
5972
  # create the metric.
5916
5973
  #
5917
- # * If you create the metric after 6:00 p.m. (UTC), you get the
5918
- # first aggregation result at 6 p.m. (UTC) the next day.
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.
5919
5976
  #
5920
5977
  # * The 24-hour clock.
5921
5978
  #
5922
5979
  # For example, if you specify `00:03:00` for `offset` and `5m` for
5923
- # `interval`, and you create the metric at 2 p.m. (UTC), you get the
5924
- # first aggregation result at 2:03 p.m. (UTC). You get the second
5925
- # aggregation result at 2:08 p.m. (UTC).
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).
5926
5983
  #
5927
5984
  # * The offset time zone.
5928
5985
  #
@@ -5930,12 +5987,12 @@ module Aws::IoTSiteWise
5930
5987
  # `1d` for `interval`, IoT SiteWise aggregates data in one of the
5931
5988
  # following ways:
5932
5989
  #
5933
- # * If you create the metric before or at 6:00 p.m. (PST), you get
5934
- # the first aggregation result at 6 p.m. (PST) on the day when you
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
5935
5992
  # create the metric.
5936
5993
  #
5937
- # * If you create the metric after 6:00 p.m. (PST), you get the
5938
- # first aggregation result at 6 p.m. (PST) the next day.
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.
5939
5996
  # @return [String]
5940
5997
  #
5941
5998
  class TumblingWindow < Struct.new(
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-iotsitewise/customizations'
49
49
  # @!group service
50
50
  module Aws::IoTSiteWise
51
51
 
52
- GEM_VERSION = '1.29.0'
52
+ GEM_VERSION = '1.33.0'
53
53
 
54
54
  end
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.29.0
4
+ version: 1.33.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-03 00:00:00.000000000 Z
11
+ date: 2021-10-18 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.119.0
22
+ version: 3.121.2
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.119.0
32
+ version: 3.121.2
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -77,7 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - ">="
79
79
  - !ruby/object:Gem::Version
80
- version: '0'
80
+ version: '2.3'
81
81
  required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - ">="