aws-sdk-iotsitewise 1.28.0 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +9 -13
- data/lib/aws-sdk-iotsitewise/client_api.rb +2 -0
- data/lib/aws-sdk-iotsitewise/types.rb +86 -9
- 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: b15c52a1ccd38347eb2aba9df61642c931974473f8cf1dbb75d4138fcc185b0a
|
4
|
+
data.tar.gz: b9057dc2dcac4f3547cd595937c345789ca85aa23439b6148133056e67398e54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e44df64d007dcb9bfa2c0dd6727a11a607201e94a058ee713e4ae438fd7c56eeb7a12f4f9769e513f34aae72687dc7f950609399341118150518e085b3cb27c
|
7
|
+
data.tar.gz: 90c043ed03ff2b66aad3cc968c26c4f8d55e31a6315672664f8ffc8a5385091926a781c21cc3c3327d630631672d4032a26d7a70ed7901df1ef157b4ac045adc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.29.0 (2021-08-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - My AWS Service (placeholder) - This release introduces custom Intervals and offset for tumbling window in metric for AWS IoT SiteWise.
|
8
|
+
|
4
9
|
1.28.0 (2021-07-30)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.29.0
|
data/lib/aws-sdk-iotsitewise.rb
CHANGED
@@ -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
|
@@ -3246,12 +3246,6 @@ module Aws::IoTSiteWise
|
|
3246
3246
|
|
3247
3247
|
# Configures storage settings for IoT SiteWise.
|
3248
3248
|
#
|
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
3249
|
# @option params [required, String] :storage_type
|
3256
3250
|
# The type of storage that you specified for your data. The storage type
|
3257
3251
|
# can be one of the following values:
|
@@ -3615,6 +3609,7 @@ module Aws::IoTSiteWise
|
|
3615
3609
|
# window: { # required
|
3616
3610
|
# tumbling: {
|
3617
3611
|
# interval: "Interval", # required
|
3612
|
+
# offset: "Offset",
|
3618
3613
|
# },
|
3619
3614
|
# },
|
3620
3615
|
# processing_config: {
|
@@ -3686,6 +3681,7 @@ module Aws::IoTSiteWise
|
|
3686
3681
|
# window: { # required
|
3687
3682
|
# tumbling: {
|
3688
3683
|
# interval: "Interval", # required
|
3684
|
+
# offset: "Offset",
|
3689
3685
|
# },
|
3690
3686
|
# },
|
3691
3687
|
# processing_config: {
|
@@ -4060,7 +4056,7 @@ module Aws::IoTSiteWise
|
|
4060
4056
|
params: params,
|
4061
4057
|
config: config)
|
4062
4058
|
context[:gem_name] = 'aws-sdk-iotsitewise'
|
4063
|
-
context[:gem_version] = '1.
|
4059
|
+
context[:gem_version] = '1.29.0'
|
4064
4060
|
Seahorse::Client::Request.new(handlers, context)
|
4065
4061
|
end
|
4066
4062
|
|
@@ -241,6 +241,7 @@ module Aws::IoTSiteWise
|
|
241
241
|
MultiLayerStorage = Shapes::StructureShape.new(name: 'MultiLayerStorage')
|
242
242
|
Name = Shapes::StringShape.new(name: 'Name')
|
243
243
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
244
|
+
Offset = Shapes::StringShape.new(name: 'Offset')
|
244
245
|
OffsetInNanos = Shapes::IntegerShape.new(name: 'OffsetInNanos')
|
245
246
|
Permission = Shapes::StringShape.new(name: 'Permission')
|
246
247
|
PortalClientId = Shapes::StringShape.new(name: 'PortalClientId')
|
@@ -1264,6 +1265,7 @@ module Aws::IoTSiteWise
|
|
1264
1265
|
TransformProcessingConfig.struct_class = Types::TransformProcessingConfig
|
1265
1266
|
|
1266
1267
|
TumblingWindow.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, required: true, location_name: "interval"))
|
1268
|
+
TumblingWindow.add_member(:offset, Shapes::ShapeRef.new(shape: Offset, location_name: "offset"))
|
1267
1269
|
TumblingWindow.struct_class = Types::TumblingWindow
|
1268
1270
|
|
1269
1271
|
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: {
|
@@ -4906,6 +4912,7 @@ module Aws::IoTSiteWise
|
|
4906
4912
|
# window: { # required
|
4907
4913
|
# tumbling: {
|
4908
4914
|
# interval: "Interval", # required
|
4915
|
+
# offset: "Offset",
|
4909
4916
|
# },
|
4910
4917
|
# },
|
4911
4918
|
# processing_config: {
|
@@ -4981,6 +4988,7 @@ module Aws::IoTSiteWise
|
|
4981
4988
|
# {
|
4982
4989
|
# tumbling: {
|
4983
4990
|
# interval: "Interval", # required
|
4991
|
+
# offset: "Offset",
|
4984
4992
|
# },
|
4985
4993
|
# }
|
4986
4994
|
#
|
@@ -5308,6 +5316,7 @@ module Aws::IoTSiteWise
|
|
5308
5316
|
# window: { # required
|
5309
5317
|
# tumbling: {
|
5310
5318
|
# interval: "Interval", # required
|
5319
|
+
# offset: "Offset",
|
5311
5320
|
# },
|
5312
5321
|
# },
|
5313
5322
|
# processing_config: {
|
@@ -5840,23 +5849,37 @@ module Aws::IoTSiteWise
|
|
5840
5849
|
end
|
5841
5850
|
|
5842
5851
|
# Contains a tumbling window, which is a repeating fixed-sized,
|
5843
|
-
# non-overlapping, and contiguous time
|
5844
|
-
#
|
5852
|
+
# non-overlapping, and contiguous time window. You use this window in
|
5853
|
+
# metrics to aggregate data from properties and other assets.
|
5854
|
+
#
|
5855
|
+
# You can use `m`, `h`, `d`, and `w` when you specify an interval or
|
5856
|
+
# offset. Note that `m` represents minutes, and `w` represents weeks.
|
5857
|
+
# You can also use `s` to represent seconds in `offset`.
|
5858
|
+
#
|
5859
|
+
# The `interval` and `offset` parameters support the [ISO 8601
|
5860
|
+
# format][1]. For example, `PT5S` represents five seconds, `PT5M`
|
5861
|
+
# represents five minutes, and `PT5H` represents five hours.
|
5862
|
+
#
|
5863
|
+
#
|
5864
|
+
#
|
5865
|
+
# [1]: https://en.wikipedia.org/wiki/ISO_8601
|
5845
5866
|
#
|
5846
5867
|
# @note When making an API call, you may pass TumblingWindow
|
5847
5868
|
# data as a hash:
|
5848
5869
|
#
|
5849
5870
|
# {
|
5850
5871
|
# interval: "Interval", # required
|
5872
|
+
# offset: "Offset",
|
5851
5873
|
# }
|
5852
5874
|
#
|
5853
5875
|
# @!attribute [rw] interval
|
5854
|
-
# The time interval for the tumbling window.
|
5855
|
-
#
|
5856
|
-
#
|
5857
|
-
#
|
5858
|
-
#
|
5859
|
-
# and so
|
5876
|
+
# The time interval for the tumbling window. The interval time must be
|
5877
|
+
# between 1 minute and 1 week.
|
5878
|
+
#
|
5879
|
+
# IoT SiteWise computes the `1w` interval the end of Sunday at
|
5880
|
+
# midnight each week (UTC), the `1d` interval at the end of each day
|
5881
|
+
# at midnight (UTC), the `1h` interval at the end of each hour, and so
|
5882
|
+
# on.
|
5860
5883
|
#
|
5861
5884
|
# When IoT SiteWise aggregates data points for metric computations,
|
5862
5885
|
# the start of each interval is exclusive and the end of each interval
|
@@ -5864,8 +5887,60 @@ module Aws::IoTSiteWise
|
|
5864
5887
|
# of the interval.
|
5865
5888
|
# @return [String]
|
5866
5889
|
#
|
5890
|
+
# @!attribute [rw] offset
|
5891
|
+
# The offset for the tumbling window. The `offset` parameter accepts
|
5892
|
+
# the following:
|
5893
|
+
#
|
5894
|
+
# * The offset time.
|
5895
|
+
#
|
5896
|
+
# For example, if you specify `18h` for `offset` and `1d` for
|
5897
|
+
# `interval`, IoT SiteWise aggregates data in one of the following
|
5898
|
+
# ways:
|
5899
|
+
#
|
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
|
5902
|
+
# create the metric.
|
5903
|
+
#
|
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.
|
5906
|
+
#
|
5907
|
+
# * The ISO 8601 format.
|
5908
|
+
#
|
5909
|
+
# For example, if you specify `PT18H` for `offset` and `1d` for
|
5910
|
+
# `interval`, IoT SiteWise aggregates data in one of the following
|
5911
|
+
# ways:
|
5912
|
+
#
|
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
|
5915
|
+
# create the metric.
|
5916
|
+
#
|
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.
|
5919
|
+
#
|
5920
|
+
# * The 24-hour clock.
|
5921
|
+
#
|
5922
|
+
# 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).
|
5926
|
+
#
|
5927
|
+
# * The offset time zone.
|
5928
|
+
#
|
5929
|
+
# For example, if you specify `2021-07-23T18:00-08` for `offset` and
|
5930
|
+
# `1d` for `interval`, IoT SiteWise aggregates data in one of the
|
5931
|
+
# following ways:
|
5932
|
+
#
|
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
|
5935
|
+
# create the metric.
|
5936
|
+
#
|
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.
|
5939
|
+
# @return [String]
|
5940
|
+
#
|
5867
5941
|
class TumblingWindow < Struct.new(
|
5868
|
-
:interval
|
5942
|
+
:interval,
|
5943
|
+
:offset)
|
5869
5944
|
SENSITIVE = []
|
5870
5945
|
include Aws::Structure
|
5871
5946
|
end
|
@@ -6038,6 +6113,7 @@ module Aws::IoTSiteWise
|
|
6038
6113
|
# window: { # required
|
6039
6114
|
# tumbling: {
|
6040
6115
|
# interval: "Interval", # required
|
6116
|
+
# offset: "Offset",
|
6041
6117
|
# },
|
6042
6118
|
# },
|
6043
6119
|
# processing_config: {
|
@@ -6109,6 +6185,7 @@ module Aws::IoTSiteWise
|
|
6109
6185
|
# window: { # required
|
6110
6186
|
# tumbling: {
|
6111
6187
|
# interval: "Interval", # required
|
6188
|
+
# offset: "Offset",
|
6112
6189
|
# },
|
6113
6190
|
# },
|
6114
6191
|
# processing_config: {
|
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.29.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-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|