aws-sdk-iotsitewise 1.26.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotsitewise.rb +1 -1
- data/lib/aws-sdk-iotsitewise/client.rb +165 -7
- data/lib/aws-sdk-iotsitewise/client_api.rb +45 -1
- data/lib/aws-sdk-iotsitewise/types.rb +468 -19
- 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: 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,26 @@
|
|
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
|
+
|
9
|
+
1.29.0 (2021-08-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - My AWS Service (placeholder) - This release introduces custom Intervals and offset for tumbling window in metric for AWS IoT SiteWise.
|
13
|
+
|
14
|
+
1.28.0 (2021-07-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.27.0 (2021-07-29)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Added support for AWS IoT SiteWise Edge. You can now create an AWS IoT SiteWise gateway that runs on AWS IoT Greengrass V2. With the gateway, you can collect local server and equipment data, process the data, and export the selected data from the edge to the AWS Cloud.
|
23
|
+
|
4
24
|
1.26.0 (2021-07-28)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.0
|
data/lib/aws-sdk-iotsitewise.rb
CHANGED
@@ -688,6 +688,9 @@ module Aws::IoTSiteWise
|
|
688
688
|
# resp.asset_status.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED"
|
689
689
|
# resp.asset_status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
690
690
|
# resp.asset_status.error.message #=> String
|
691
|
+
# resp.asset_status.error.details #=> Array
|
692
|
+
# resp.asset_status.error.details[0].code #=> String, one of "INCOMPATIBLE_COMPUTE_LOCATION", "INCOMPATIBLE_FORWARDING_CONFIGURATION"
|
693
|
+
# resp.asset_status.error.details[0].message #=> String
|
691
694
|
#
|
692
695
|
# @overload create_asset(params = {})
|
693
696
|
# @param [Hash] params ({})
|
@@ -785,6 +788,11 @@ module Aws::IoTSiteWise
|
|
785
788
|
# default_value: "DefaultValue",
|
786
789
|
# },
|
787
790
|
# measurement: {
|
791
|
+
# processing_config: {
|
792
|
+
# forwarding_config: { # required
|
793
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
794
|
+
# },
|
795
|
+
# },
|
788
796
|
# },
|
789
797
|
# transform: {
|
790
798
|
# expression: "Expression", # required
|
@@ -797,6 +805,12 @@ module Aws::IoTSiteWise
|
|
797
805
|
# },
|
798
806
|
# },
|
799
807
|
# ],
|
808
|
+
# processing_config: {
|
809
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
810
|
+
# forwarding_config: {
|
811
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
812
|
+
# },
|
813
|
+
# },
|
800
814
|
# },
|
801
815
|
# metric: {
|
802
816
|
# expression: "Expression", # required
|
@@ -812,8 +826,12 @@ module Aws::IoTSiteWise
|
|
812
826
|
# window: { # required
|
813
827
|
# tumbling: {
|
814
828
|
# interval: "Interval", # required
|
829
|
+
# offset: "Offset",
|
815
830
|
# },
|
816
831
|
# },
|
832
|
+
# processing_config: {
|
833
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
834
|
+
# },
|
817
835
|
# },
|
818
836
|
# },
|
819
837
|
# },
|
@@ -840,6 +858,11 @@ module Aws::IoTSiteWise
|
|
840
858
|
# default_value: "DefaultValue",
|
841
859
|
# },
|
842
860
|
# measurement: {
|
861
|
+
# processing_config: {
|
862
|
+
# forwarding_config: { # required
|
863
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
864
|
+
# },
|
865
|
+
# },
|
843
866
|
# },
|
844
867
|
# transform: {
|
845
868
|
# expression: "Expression", # required
|
@@ -852,6 +875,12 @@ module Aws::IoTSiteWise
|
|
852
875
|
# },
|
853
876
|
# },
|
854
877
|
# ],
|
878
|
+
# processing_config: {
|
879
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
880
|
+
# forwarding_config: {
|
881
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
882
|
+
# },
|
883
|
+
# },
|
855
884
|
# },
|
856
885
|
# metric: {
|
857
886
|
# expression: "Expression", # required
|
@@ -867,8 +896,12 @@ module Aws::IoTSiteWise
|
|
867
896
|
# window: { # required
|
868
897
|
# tumbling: {
|
869
898
|
# interval: "Interval", # required
|
899
|
+
# offset: "Offset",
|
870
900
|
# },
|
871
901
|
# },
|
902
|
+
# processing_config: {
|
903
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
904
|
+
# },
|
872
905
|
# },
|
873
906
|
# },
|
874
907
|
# },
|
@@ -888,6 +921,9 @@ module Aws::IoTSiteWise
|
|
888
921
|
# resp.asset_model_status.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "PROPAGATING", "DELETING", "FAILED"
|
889
922
|
# resp.asset_model_status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
890
923
|
# resp.asset_model_status.error.message #=> String
|
924
|
+
# resp.asset_model_status.error.details #=> Array
|
925
|
+
# resp.asset_model_status.error.details[0].code #=> String, one of "INCOMPATIBLE_COMPUTE_LOCATION", "INCOMPATIBLE_FORWARDING_CONFIGURATION"
|
926
|
+
# resp.asset_model_status.error.details[0].message #=> String
|
891
927
|
#
|
892
928
|
# @overload create_asset_model(params = {})
|
893
929
|
# @param [Hash] params ({})
|
@@ -998,9 +1034,12 @@ module Aws::IoTSiteWise
|
|
998
1034
|
# resp = client.create_gateway({
|
999
1035
|
# gateway_name: "Name", # required
|
1000
1036
|
# gateway_platform: { # required
|
1001
|
-
# greengrass: {
|
1037
|
+
# greengrass: {
|
1002
1038
|
# group_arn: "ARN", # required
|
1003
1039
|
# },
|
1040
|
+
# greengrass_v2: {
|
1041
|
+
# core_device_thing_name: "CoreDeviceThingName", # required
|
1042
|
+
# },
|
1004
1043
|
# },
|
1005
1044
|
# tags: {
|
1006
1045
|
# "TagKey" => "TagValue",
|
@@ -1296,6 +1335,9 @@ module Aws::IoTSiteWise
|
|
1296
1335
|
# resp.asset_status.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED"
|
1297
1336
|
# resp.asset_status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
1298
1337
|
# resp.asset_status.error.message #=> String
|
1338
|
+
# resp.asset_status.error.details #=> Array
|
1339
|
+
# resp.asset_status.error.details[0].code #=> String, one of "INCOMPATIBLE_COMPUTE_LOCATION", "INCOMPATIBLE_FORWARDING_CONFIGURATION"
|
1340
|
+
# resp.asset_status.error.details[0].message #=> String
|
1299
1341
|
#
|
1300
1342
|
# @overload delete_asset(params = {})
|
1301
1343
|
# @param [Hash] params ({})
|
@@ -1342,6 +1384,9 @@ module Aws::IoTSiteWise
|
|
1342
1384
|
# resp.asset_model_status.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "PROPAGATING", "DELETING", "FAILED"
|
1343
1385
|
# resp.asset_model_status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
1344
1386
|
# resp.asset_model_status.error.message #=> String
|
1387
|
+
# resp.asset_model_status.error.details #=> Array
|
1388
|
+
# resp.asset_model_status.error.details[0].code #=> String, one of "INCOMPATIBLE_COMPUTE_LOCATION", "INCOMPATIBLE_FORWARDING_CONFIGURATION"
|
1389
|
+
# resp.asset_model_status.error.details[0].message #=> String
|
1345
1390
|
#
|
1346
1391
|
# @overload delete_asset_model(params = {})
|
1347
1392
|
# @param [Hash] params ({})
|
@@ -1569,6 +1614,9 @@ module Aws::IoTSiteWise
|
|
1569
1614
|
# resp.asset_status.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED"
|
1570
1615
|
# resp.asset_status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
1571
1616
|
# resp.asset_status.error.message #=> String
|
1617
|
+
# resp.asset_status.error.details #=> Array
|
1618
|
+
# resp.asset_status.error.details[0].code #=> String, one of "INCOMPATIBLE_COMPUTE_LOCATION", "INCOMPATIBLE_FORWARDING_CONFIGURATION"
|
1619
|
+
# resp.asset_status.error.details[0].message #=> String
|
1572
1620
|
#
|
1573
1621
|
#
|
1574
1622
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -1620,17 +1668,22 @@ module Aws::IoTSiteWise
|
|
1620
1668
|
# resp.asset_model_properties[0].data_type_spec #=> String
|
1621
1669
|
# resp.asset_model_properties[0].unit #=> String
|
1622
1670
|
# resp.asset_model_properties[0].type.attribute.default_value #=> String
|
1671
|
+
# resp.asset_model_properties[0].type.measurement.processing_config.forwarding_config.state #=> String, one of "DISABLED", "ENABLED"
|
1623
1672
|
# resp.asset_model_properties[0].type.transform.expression #=> String
|
1624
1673
|
# resp.asset_model_properties[0].type.transform.variables #=> Array
|
1625
1674
|
# resp.asset_model_properties[0].type.transform.variables[0].name #=> String
|
1626
1675
|
# resp.asset_model_properties[0].type.transform.variables[0].value.property_id #=> String
|
1627
1676
|
# resp.asset_model_properties[0].type.transform.variables[0].value.hierarchy_id #=> String
|
1677
|
+
# resp.asset_model_properties[0].type.transform.processing_config.compute_location #=> String, one of "EDGE", "CLOUD"
|
1678
|
+
# resp.asset_model_properties[0].type.transform.processing_config.forwarding_config.state #=> String, one of "DISABLED", "ENABLED"
|
1628
1679
|
# resp.asset_model_properties[0].type.metric.expression #=> String
|
1629
1680
|
# resp.asset_model_properties[0].type.metric.variables #=> Array
|
1630
1681
|
# resp.asset_model_properties[0].type.metric.variables[0].name #=> String
|
1631
1682
|
# resp.asset_model_properties[0].type.metric.variables[0].value.property_id #=> String
|
1632
1683
|
# resp.asset_model_properties[0].type.metric.variables[0].value.hierarchy_id #=> String
|
1633
1684
|
# resp.asset_model_properties[0].type.metric.window.tumbling.interval #=> String
|
1685
|
+
# resp.asset_model_properties[0].type.metric.window.tumbling.offset #=> String
|
1686
|
+
# resp.asset_model_properties[0].type.metric.processing_config.compute_location #=> String, one of "EDGE", "CLOUD"
|
1634
1687
|
# resp.asset_model_hierarchies #=> Array
|
1635
1688
|
# resp.asset_model_hierarchies[0].id #=> String
|
1636
1689
|
# resp.asset_model_hierarchies[0].name #=> String
|
@@ -1646,22 +1699,30 @@ module Aws::IoTSiteWise
|
|
1646
1699
|
# resp.asset_model_composite_models[0].properties[0].data_type_spec #=> String
|
1647
1700
|
# resp.asset_model_composite_models[0].properties[0].unit #=> String
|
1648
1701
|
# resp.asset_model_composite_models[0].properties[0].type.attribute.default_value #=> String
|
1702
|
+
# resp.asset_model_composite_models[0].properties[0].type.measurement.processing_config.forwarding_config.state #=> String, one of "DISABLED", "ENABLED"
|
1649
1703
|
# resp.asset_model_composite_models[0].properties[0].type.transform.expression #=> String
|
1650
1704
|
# resp.asset_model_composite_models[0].properties[0].type.transform.variables #=> Array
|
1651
1705
|
# resp.asset_model_composite_models[0].properties[0].type.transform.variables[0].name #=> String
|
1652
1706
|
# resp.asset_model_composite_models[0].properties[0].type.transform.variables[0].value.property_id #=> String
|
1653
1707
|
# resp.asset_model_composite_models[0].properties[0].type.transform.variables[0].value.hierarchy_id #=> String
|
1708
|
+
# resp.asset_model_composite_models[0].properties[0].type.transform.processing_config.compute_location #=> String, one of "EDGE", "CLOUD"
|
1709
|
+
# resp.asset_model_composite_models[0].properties[0].type.transform.processing_config.forwarding_config.state #=> String, one of "DISABLED", "ENABLED"
|
1654
1710
|
# resp.asset_model_composite_models[0].properties[0].type.metric.expression #=> String
|
1655
1711
|
# resp.asset_model_composite_models[0].properties[0].type.metric.variables #=> Array
|
1656
1712
|
# resp.asset_model_composite_models[0].properties[0].type.metric.variables[0].name #=> String
|
1657
1713
|
# resp.asset_model_composite_models[0].properties[0].type.metric.variables[0].value.property_id #=> String
|
1658
1714
|
# resp.asset_model_composite_models[0].properties[0].type.metric.variables[0].value.hierarchy_id #=> String
|
1659
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
|
1717
|
+
# resp.asset_model_composite_models[0].properties[0].type.metric.processing_config.compute_location #=> String, one of "EDGE", "CLOUD"
|
1660
1718
|
# resp.asset_model_creation_date #=> Time
|
1661
1719
|
# resp.asset_model_last_update_date #=> Time
|
1662
1720
|
# resp.asset_model_status.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "PROPAGATING", "DELETING", "FAILED"
|
1663
1721
|
# resp.asset_model_status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
1664
1722
|
# resp.asset_model_status.error.message #=> String
|
1723
|
+
# resp.asset_model_status.error.details #=> Array
|
1724
|
+
# resp.asset_model_status.error.details[0].code #=> String, one of "INCOMPATIBLE_COMPUTE_LOCATION", "INCOMPATIBLE_FORWARDING_CONFIGURATION"
|
1725
|
+
# resp.asset_model_status.error.details[0].message #=> String
|
1665
1726
|
#
|
1666
1727
|
#
|
1667
1728
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -1726,17 +1787,22 @@ module Aws::IoTSiteWise
|
|
1726
1787
|
# resp.asset_property.data_type #=> String, one of "STRING", "INTEGER", "DOUBLE", "BOOLEAN", "STRUCT"
|
1727
1788
|
# resp.asset_property.unit #=> String
|
1728
1789
|
# resp.asset_property.type.attribute.default_value #=> String
|
1790
|
+
# resp.asset_property.type.measurement.processing_config.forwarding_config.state #=> String, one of "DISABLED", "ENABLED"
|
1729
1791
|
# resp.asset_property.type.transform.expression #=> String
|
1730
1792
|
# resp.asset_property.type.transform.variables #=> Array
|
1731
1793
|
# resp.asset_property.type.transform.variables[0].name #=> String
|
1732
1794
|
# resp.asset_property.type.transform.variables[0].value.property_id #=> String
|
1733
1795
|
# resp.asset_property.type.transform.variables[0].value.hierarchy_id #=> String
|
1796
|
+
# resp.asset_property.type.transform.processing_config.compute_location #=> String, one of "EDGE", "CLOUD"
|
1797
|
+
# resp.asset_property.type.transform.processing_config.forwarding_config.state #=> String, one of "DISABLED", "ENABLED"
|
1734
1798
|
# resp.asset_property.type.metric.expression #=> String
|
1735
1799
|
# resp.asset_property.type.metric.variables #=> Array
|
1736
1800
|
# resp.asset_property.type.metric.variables[0].name #=> String
|
1737
1801
|
# resp.asset_property.type.metric.variables[0].value.property_id #=> String
|
1738
1802
|
# resp.asset_property.type.metric.variables[0].value.hierarchy_id #=> String
|
1739
1803
|
# resp.asset_property.type.metric.window.tumbling.interval #=> String
|
1804
|
+
# resp.asset_property.type.metric.window.tumbling.offset #=> String
|
1805
|
+
# resp.asset_property.type.metric.processing_config.compute_location #=> String, one of "EDGE", "CLOUD"
|
1740
1806
|
# resp.composite_model.name #=> String
|
1741
1807
|
# resp.composite_model.type #=> String
|
1742
1808
|
# resp.composite_model.asset_property.id #=> String
|
@@ -1747,17 +1813,22 @@ module Aws::IoTSiteWise
|
|
1747
1813
|
# resp.composite_model.asset_property.data_type #=> String, one of "STRING", "INTEGER", "DOUBLE", "BOOLEAN", "STRUCT"
|
1748
1814
|
# resp.composite_model.asset_property.unit #=> String
|
1749
1815
|
# resp.composite_model.asset_property.type.attribute.default_value #=> String
|
1816
|
+
# resp.composite_model.asset_property.type.measurement.processing_config.forwarding_config.state #=> String, one of "DISABLED", "ENABLED"
|
1750
1817
|
# resp.composite_model.asset_property.type.transform.expression #=> String
|
1751
1818
|
# resp.composite_model.asset_property.type.transform.variables #=> Array
|
1752
1819
|
# resp.composite_model.asset_property.type.transform.variables[0].name #=> String
|
1753
1820
|
# resp.composite_model.asset_property.type.transform.variables[0].value.property_id #=> String
|
1754
1821
|
# resp.composite_model.asset_property.type.transform.variables[0].value.hierarchy_id #=> String
|
1822
|
+
# resp.composite_model.asset_property.type.transform.processing_config.compute_location #=> String, one of "EDGE", "CLOUD"
|
1823
|
+
# resp.composite_model.asset_property.type.transform.processing_config.forwarding_config.state #=> String, one of "DISABLED", "ENABLED"
|
1755
1824
|
# resp.composite_model.asset_property.type.metric.expression #=> String
|
1756
1825
|
# resp.composite_model.asset_property.type.metric.variables #=> Array
|
1757
1826
|
# resp.composite_model.asset_property.type.metric.variables[0].name #=> String
|
1758
1827
|
# resp.composite_model.asset_property.type.metric.variables[0].value.property_id #=> String
|
1759
1828
|
# resp.composite_model.asset_property.type.metric.variables[0].value.hierarchy_id #=> String
|
1760
1829
|
# resp.composite_model.asset_property.type.metric.window.tumbling.interval #=> String
|
1830
|
+
# resp.composite_model.asset_property.type.metric.window.tumbling.offset #=> String
|
1831
|
+
# resp.composite_model.asset_property.type.metric.processing_config.compute_location #=> String, one of "EDGE", "CLOUD"
|
1761
1832
|
#
|
1762
1833
|
# @overload describe_asset_property(params = {})
|
1763
1834
|
# @param [Hash] params ({})
|
@@ -1863,9 +1934,10 @@ module Aws::IoTSiteWise
|
|
1863
1934
|
# resp.gateway_name #=> String
|
1864
1935
|
# resp.gateway_arn #=> String
|
1865
1936
|
# resp.gateway_platform.greengrass.group_arn #=> String
|
1937
|
+
# resp.gateway_platform.greengrass_v2.core_device_thing_name #=> String
|
1866
1938
|
# resp.gateway_capability_summaries #=> Array
|
1867
1939
|
# resp.gateway_capability_summaries[0].capability_namespace #=> String
|
1868
|
-
# resp.gateway_capability_summaries[0].capability_sync_status #=> String, one of "IN_SYNC", "OUT_OF_SYNC", "SYNC_FAILED"
|
1940
|
+
# resp.gateway_capability_summaries[0].capability_sync_status #=> String, one of "IN_SYNC", "OUT_OF_SYNC", "SYNC_FAILED", "UNKNOWN"
|
1869
1941
|
# resp.creation_date #=> Time
|
1870
1942
|
# resp.last_update_date #=> Time
|
1871
1943
|
#
|
@@ -1917,7 +1989,7 @@ module Aws::IoTSiteWise
|
|
1917
1989
|
# resp.gateway_id #=> String
|
1918
1990
|
# resp.capability_namespace #=> String
|
1919
1991
|
# resp.capability_configuration #=> String
|
1920
|
-
# resp.capability_sync_status #=> String, one of "IN_SYNC", "OUT_OF_SYNC", "SYNC_FAILED"
|
1992
|
+
# resp.capability_sync_status #=> String, one of "IN_SYNC", "OUT_OF_SYNC", "SYNC_FAILED", "UNKNOWN"
|
1921
1993
|
#
|
1922
1994
|
# @overload describe_gateway_capability_configuration(params = {})
|
1923
1995
|
# @param [Hash] params ({})
|
@@ -2450,7 +2522,45 @@ module Aws::IoTSiteWise
|
|
2450
2522
|
# @option params [required, String] :type
|
2451
2523
|
# The interpolation type.
|
2452
2524
|
#
|
2453
|
-
# 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.
|
2454
2564
|
#
|
2455
2565
|
# @return [Types::GetInterpolatedAssetPropertyValuesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2456
2566
|
#
|
@@ -2474,6 +2584,7 @@ module Aws::IoTSiteWise
|
|
2474
2584
|
# next_token: "NextToken",
|
2475
2585
|
# max_results: 1,
|
2476
2586
|
# type: "InterpolationType", # required
|
2587
|
+
# interval_window_in_seconds: 1,
|
2477
2588
|
# })
|
2478
2589
|
#
|
2479
2590
|
# @example Response structure
|
@@ -2609,6 +2720,9 @@ module Aws::IoTSiteWise
|
|
2609
2720
|
# resp.asset_model_summaries[0].status.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "PROPAGATING", "DELETING", "FAILED"
|
2610
2721
|
# resp.asset_model_summaries[0].status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
2611
2722
|
# resp.asset_model_summaries[0].status.error.message #=> String
|
2723
|
+
# resp.asset_model_summaries[0].status.error.details #=> Array
|
2724
|
+
# resp.asset_model_summaries[0].status.error.details[0].code #=> String, one of "INCOMPATIBLE_COMPUTE_LOCATION", "INCOMPATIBLE_FORWARDING_CONFIGURATION"
|
2725
|
+
# resp.asset_model_summaries[0].status.error.details[0].message #=> String
|
2612
2726
|
# resp.next_token #=> String
|
2613
2727
|
#
|
2614
2728
|
# @overload list_asset_models(params = {})
|
@@ -2742,6 +2856,9 @@ module Aws::IoTSiteWise
|
|
2742
2856
|
# resp.asset_summaries[0].status.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED"
|
2743
2857
|
# resp.asset_summaries[0].status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
2744
2858
|
# resp.asset_summaries[0].status.error.message #=> String
|
2859
|
+
# resp.asset_summaries[0].status.error.details #=> Array
|
2860
|
+
# resp.asset_summaries[0].status.error.details[0].code #=> String, one of "INCOMPATIBLE_COMPUTE_LOCATION", "INCOMPATIBLE_FORWARDING_CONFIGURATION"
|
2861
|
+
# resp.asset_summaries[0].status.error.details[0].message #=> String
|
2745
2862
|
# resp.asset_summaries[0].hierarchies #=> Array
|
2746
2863
|
# resp.asset_summaries[0].hierarchies[0].id #=> String
|
2747
2864
|
# resp.asset_summaries[0].hierarchies[0].name #=> String
|
@@ -2830,6 +2947,9 @@ module Aws::IoTSiteWise
|
|
2830
2947
|
# resp.asset_summaries[0].status.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED"
|
2831
2948
|
# resp.asset_summaries[0].status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
2832
2949
|
# resp.asset_summaries[0].status.error.message #=> String
|
2950
|
+
# resp.asset_summaries[0].status.error.details #=> Array
|
2951
|
+
# resp.asset_summaries[0].status.error.details[0].code #=> String, one of "INCOMPATIBLE_COMPUTE_LOCATION", "INCOMPATIBLE_FORWARDING_CONFIGURATION"
|
2952
|
+
# resp.asset_summaries[0].status.error.details[0].message #=> String
|
2833
2953
|
# resp.asset_summaries[0].hierarchies #=> Array
|
2834
2954
|
# resp.asset_summaries[0].hierarchies[0].id #=> String
|
2835
2955
|
# resp.asset_summaries[0].hierarchies[0].name #=> String
|
@@ -2917,9 +3037,11 @@ module Aws::IoTSiteWise
|
|
2917
3037
|
# resp.gateway_summaries #=> Array
|
2918
3038
|
# resp.gateway_summaries[0].gateway_id #=> String
|
2919
3039
|
# resp.gateway_summaries[0].gateway_name #=> String
|
3040
|
+
# resp.gateway_summaries[0].gateway_platform.greengrass.group_arn #=> String
|
3041
|
+
# resp.gateway_summaries[0].gateway_platform.greengrass_v2.core_device_thing_name #=> String
|
2920
3042
|
# resp.gateway_summaries[0].gateway_capability_summaries #=> Array
|
2921
3043
|
# resp.gateway_summaries[0].gateway_capability_summaries[0].capability_namespace #=> String
|
2922
|
-
# resp.gateway_summaries[0].gateway_capability_summaries[0].capability_sync_status #=> String, one of "IN_SYNC", "OUT_OF_SYNC", "SYNC_FAILED"
|
3044
|
+
# resp.gateway_summaries[0].gateway_capability_summaries[0].capability_sync_status #=> String, one of "IN_SYNC", "OUT_OF_SYNC", "SYNC_FAILED", "UNKNOWN"
|
2923
3045
|
# resp.gateway_summaries[0].creation_date #=> Time
|
2924
3046
|
# resp.gateway_summaries[0].last_update_date #=> Time
|
2925
3047
|
# resp.next_token #=> String
|
@@ -3381,6 +3503,9 @@ module Aws::IoTSiteWise
|
|
3381
3503
|
# resp.asset_status.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED"
|
3382
3504
|
# resp.asset_status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
3383
3505
|
# resp.asset_status.error.message #=> String
|
3506
|
+
# resp.asset_status.error.details #=> Array
|
3507
|
+
# resp.asset_status.error.details[0].code #=> String, one of "INCOMPATIBLE_COMPUTE_LOCATION", "INCOMPATIBLE_FORWARDING_CONFIGURATION"
|
3508
|
+
# resp.asset_status.error.details[0].message #=> String
|
3384
3509
|
#
|
3385
3510
|
# @overload update_asset(params = {})
|
3386
3511
|
# @param [Hash] params ({})
|
@@ -3485,6 +3610,11 @@ module Aws::IoTSiteWise
|
|
3485
3610
|
# default_value: "DefaultValue",
|
3486
3611
|
# },
|
3487
3612
|
# measurement: {
|
3613
|
+
# processing_config: {
|
3614
|
+
# forwarding_config: { # required
|
3615
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
3616
|
+
# },
|
3617
|
+
# },
|
3488
3618
|
# },
|
3489
3619
|
# transform: {
|
3490
3620
|
# expression: "Expression", # required
|
@@ -3497,6 +3627,12 @@ module Aws::IoTSiteWise
|
|
3497
3627
|
# },
|
3498
3628
|
# },
|
3499
3629
|
# ],
|
3630
|
+
# processing_config: {
|
3631
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
3632
|
+
# forwarding_config: {
|
3633
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
3634
|
+
# },
|
3635
|
+
# },
|
3500
3636
|
# },
|
3501
3637
|
# metric: {
|
3502
3638
|
# expression: "Expression", # required
|
@@ -3512,8 +3648,12 @@ module Aws::IoTSiteWise
|
|
3512
3648
|
# window: { # required
|
3513
3649
|
# tumbling: {
|
3514
3650
|
# interval: "Interval", # required
|
3651
|
+
# offset: "Offset",
|
3515
3652
|
# },
|
3516
3653
|
# },
|
3654
|
+
# processing_config: {
|
3655
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
3656
|
+
# },
|
3517
3657
|
# },
|
3518
3658
|
# },
|
3519
3659
|
# },
|
@@ -3542,6 +3682,11 @@ module Aws::IoTSiteWise
|
|
3542
3682
|
# default_value: "DefaultValue",
|
3543
3683
|
# },
|
3544
3684
|
# measurement: {
|
3685
|
+
# processing_config: {
|
3686
|
+
# forwarding_config: { # required
|
3687
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
3688
|
+
# },
|
3689
|
+
# },
|
3545
3690
|
# },
|
3546
3691
|
# transform: {
|
3547
3692
|
# expression: "Expression", # required
|
@@ -3554,6 +3699,12 @@ module Aws::IoTSiteWise
|
|
3554
3699
|
# },
|
3555
3700
|
# },
|
3556
3701
|
# ],
|
3702
|
+
# processing_config: {
|
3703
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
3704
|
+
# forwarding_config: {
|
3705
|
+
# state: "DISABLED", # required, accepts DISABLED, ENABLED
|
3706
|
+
# },
|
3707
|
+
# },
|
3557
3708
|
# },
|
3558
3709
|
# metric: {
|
3559
3710
|
# expression: "Expression", # required
|
@@ -3569,8 +3720,12 @@ module Aws::IoTSiteWise
|
|
3569
3720
|
# window: { # required
|
3570
3721
|
# tumbling: {
|
3571
3722
|
# interval: "Interval", # required
|
3723
|
+
# offset: "Offset",
|
3572
3724
|
# },
|
3573
3725
|
# },
|
3726
|
+
# processing_config: {
|
3727
|
+
# compute_location: "EDGE", # required, accepts EDGE, CLOUD
|
3728
|
+
# },
|
3574
3729
|
# },
|
3575
3730
|
# },
|
3576
3731
|
# },
|
@@ -3585,6 +3740,9 @@ module Aws::IoTSiteWise
|
|
3585
3740
|
# resp.asset_model_status.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "PROPAGATING", "DELETING", "FAILED"
|
3586
3741
|
# resp.asset_model_status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
3587
3742
|
# resp.asset_model_status.error.message #=> String
|
3743
|
+
# resp.asset_model_status.error.details #=> Array
|
3744
|
+
# resp.asset_model_status.error.details[0].code #=> String, one of "INCOMPATIBLE_COMPUTE_LOCATION", "INCOMPATIBLE_FORWARDING_CONFIGURATION"
|
3745
|
+
# resp.asset_model_status.error.details[0].message #=> String
|
3588
3746
|
#
|
3589
3747
|
# @overload update_asset_model(params = {})
|
3590
3748
|
# @param [Hash] params ({})
|
@@ -3783,7 +3941,7 @@ module Aws::IoTSiteWise
|
|
3783
3941
|
# @example Response structure
|
3784
3942
|
#
|
3785
3943
|
# resp.capability_namespace #=> String
|
3786
|
-
# resp.capability_sync_status #=> String, one of "IN_SYNC", "OUT_OF_SYNC", "SYNC_FAILED"
|
3944
|
+
# resp.capability_sync_status #=> String, one of "IN_SYNC", "OUT_OF_SYNC", "SYNC_FAILED", "UNKNOWN"
|
3787
3945
|
#
|
3788
3946
|
# @overload update_gateway_capability_configuration(params = {})
|
3789
3947
|
# @param [Hash] params ({})
|
@@ -3937,7 +4095,7 @@ module Aws::IoTSiteWise
|
|
3937
4095
|
params: params,
|
3938
4096
|
config: config)
|
3939
4097
|
context[:gem_name] = 'aws-sdk-iotsitewise'
|
3940
|
-
context[:gem_version] = '1.
|
4098
|
+
context[:gem_version] = '1.30.0'
|
3941
4099
|
Seahorse::Client::Request.new(handlers, context)
|
3942
4100
|
end
|
3943
4101
|
|