aws-sdk-iotsitewise 1.17.0 → 1.22.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 +123 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-iotsitewise.rb +2 -2
- data/lib/aws-sdk-iotsitewise/client.rb +127 -4
- data/lib/aws-sdk-iotsitewise/client_api.rb +59 -1
- data/lib/aws-sdk-iotsitewise/errors.rb +1 -1
- data/lib/aws-sdk-iotsitewise/resource.rb +1 -1
- data/lib/aws-sdk-iotsitewise/types.rb +180 -5
- data/lib/aws-sdk-iotsitewise/waiters.rb +1 -1
- metadata +9 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 475b664f08aa75fff087661240437ba7ac4feec495f2c786009bfcef7862801a
|
4
|
+
data.tar.gz: '088f081cddad3d8c913bcfeb837c13f9f059446606a82f13fb20d3a97e5699e8'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d07039e97c726330f1de60b65a9962705df1f53c6043cf4083adbdc1696a250b7db83f6584618d388881dc06e9bf75ec984d098fedbff833d599e346a2c9766
|
7
|
+
data.tar.gz: 37d627465c8d7dbebd22c01a8ce4d1ef245ea77127056c1b8bbe4c0d344882eec103461ffad07cb25bd5a1e8a49e531efd108dd37fb697361f8e2c927b2d8e9a
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,123 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.22.0 (2021-05-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for AWS IoT SiteWise.
|
8
|
+
|
9
|
+
1.21.0 (2021-04-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS IoT SiteWise interpolation API will get interpolated values for an asset property per specified time interval during a period of time.
|
13
|
+
|
14
|
+
1.20.0 (2021-03-10)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.19.0 (2021-02-08)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Recall CreatePresignedPortalUrl API
|
23
|
+
|
24
|
+
1.18.0 (2021-02-03)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Update AccessPolicy API input to support IAM role for IAM mode. Iam role is added as part of accessPolicyIdentity.
|
28
|
+
|
29
|
+
1.17.0 (2021-02-02)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.16.0 (2020-12-11)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Added the ListAssetRelationships operation and support for composite asset models, which represent structured sets of properties within asset models.
|
38
|
+
|
39
|
+
1.15.0 (2020-11-24)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - This release adds support for customer managed customer master key (CMK) based encryption in IoT SiteWise.
|
43
|
+
|
44
|
+
1.14.0 (2020-11-16)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - This release supports Unicode characters for string operations in formulae computes in SiteWise. For more information, search for SiteWise in Amazon What's new or refer the SiteWise documentation.
|
48
|
+
|
49
|
+
1.13.0 (2020-11-06)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Remove the CreatePresignedPortalUrl API
|
53
|
+
|
54
|
+
1.12.0 (2020-09-30)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
58
|
+
|
59
|
+
1.11.0 (2020-09-21)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - This release supports IAM mode for SiteWise Monitor portals
|
63
|
+
|
64
|
+
1.10.0 (2020-09-15)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
68
|
+
|
69
|
+
1.9.0 (2020-08-25)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
73
|
+
|
74
|
+
1.8.0 (2020-08-24)
|
75
|
+
------------------
|
76
|
+
|
77
|
+
* Feature - Add traversalDirection to ListAssociatedAssetsRequest and add portal status to ListPortalsResponse
|
78
|
+
|
79
|
+
1.7.0 (2020-07-06)
|
80
|
+
------------------
|
81
|
+
|
82
|
+
* Feature - This release supports optional start date and end date parameters for the GetAssetPropertyValueHistory API.
|
83
|
+
|
84
|
+
1.6.0 (2020-06-23)
|
85
|
+
------------------
|
86
|
+
|
87
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
88
|
+
|
89
|
+
1.5.1 (2020-06-11)
|
90
|
+
------------------
|
91
|
+
|
92
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
93
|
+
|
94
|
+
1.5.0 (2020-06-10)
|
95
|
+
------------------
|
96
|
+
|
97
|
+
* Issue - This version has been yanked. (#2327).
|
98
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
99
|
+
|
100
|
+
1.4.0 (2020-05-28)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
104
|
+
|
105
|
+
1.3.0 (2020-05-22)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - This release adds support for the standard deviation auto-computed aggregate and improved support for portal logo images in SiteWise.
|
109
|
+
|
110
|
+
1.2.0 (2020-05-12)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - Documentation updates for iot-bifrost
|
114
|
+
|
115
|
+
1.1.0 (2020-05-07)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
119
|
+
|
120
|
+
1.0.0 (2020-04-29)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - Initial release of `aws-sdk-iotsitewise`.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.22.0
|
data/lib/aws-sdk-iotsitewise.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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.
|
52
|
+
GEM_VERSION = '1.22.0'
|
53
53
|
|
54
54
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -478,8 +478,8 @@ module Aws::IoTSiteWise
|
|
478
478
|
#
|
479
479
|
# With respect to Unix epoch time, AWS IoT SiteWise accepts only TQVs
|
480
480
|
# that have a timestamp of no more than 7 days in the past and no more
|
481
|
-
# than
|
482
|
-
# outside of the inclusive range of \[-7 days, +
|
481
|
+
# than 10 minutes in the future. AWS IoT SiteWise rejects timestamps
|
482
|
+
# outside of the inclusive range of \[-7 days, +10 minutes\] and returns
|
483
483
|
# a `TimestampOutOfRangeException` error.
|
484
484
|
#
|
485
485
|
# For each asset property, AWS IoT SiteWise overwrites TQVs with
|
@@ -603,6 +603,9 @@ module Aws::IoTSiteWise
|
|
603
603
|
# iam_user: {
|
604
604
|
# arn: "ARN", # required
|
605
605
|
# },
|
606
|
+
# iam_role: {
|
607
|
+
# arn: "ARN", # required
|
608
|
+
# },
|
606
609
|
# },
|
607
610
|
# access_policy_resource: { # required
|
608
611
|
# portal: {
|
@@ -1465,6 +1468,7 @@ module Aws::IoTSiteWise
|
|
1465
1468
|
# resp.access_policy_identity.user.id #=> String
|
1466
1469
|
# resp.access_policy_identity.group.id #=> String
|
1467
1470
|
# resp.access_policy_identity.iam_user.arn #=> String
|
1471
|
+
# resp.access_policy_identity.iam_role.arn #=> String
|
1468
1472
|
# resp.access_policy_resource.portal.id #=> String
|
1469
1473
|
# resp.access_policy_resource.project.id #=> String
|
1470
1474
|
# resp.access_policy_permission #=> String, one of "ADMINISTRATOR", "VIEWER"
|
@@ -2321,6 +2325,121 @@ module Aws::IoTSiteWise
|
|
2321
2325
|
req.send_request(options)
|
2322
2326
|
end
|
2323
2327
|
|
2328
|
+
# Get interpolated values for an asset property for a specified time
|
2329
|
+
# interval, during a period of time. For example, you can use the this
|
2330
|
+
# operation to return the interpolated temperature values for a wind
|
2331
|
+
# turbine every 24 hours over a duration of 7 days.
|
2332
|
+
#
|
2333
|
+
# <note markdown="1"> This API isn't available in China (Beijing).
|
2334
|
+
#
|
2335
|
+
# </note>
|
2336
|
+
#
|
2337
|
+
# To identify an asset property, you must specify one of the following:
|
2338
|
+
#
|
2339
|
+
# * The `assetId` and `propertyId` of an asset property.
|
2340
|
+
#
|
2341
|
+
# * A `propertyAlias`, which is a data stream alias (for example,
|
2342
|
+
# `/company/windfarm/3/turbine/7/temperature`). To define an asset
|
2343
|
+
# property's alias, see [UpdateAssetProperty][1].
|
2344
|
+
#
|
2345
|
+
#
|
2346
|
+
#
|
2347
|
+
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html
|
2348
|
+
#
|
2349
|
+
# @option params [String] :asset_id
|
2350
|
+
# The ID of the asset.
|
2351
|
+
#
|
2352
|
+
# @option params [String] :property_id
|
2353
|
+
# The ID of the asset property.
|
2354
|
+
#
|
2355
|
+
# @option params [String] :property_alias
|
2356
|
+
# The property alias that identifies the property, such as an OPC-UA
|
2357
|
+
# server data stream path (for example,
|
2358
|
+
# `/company/windfarm/3/turbine/7/temperature`). For more information,
|
2359
|
+
# see [Mapping industrial data streams to asset properties][1] in the
|
2360
|
+
# *AWS IoT SiteWise User Guide*.
|
2361
|
+
#
|
2362
|
+
#
|
2363
|
+
#
|
2364
|
+
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html
|
2365
|
+
#
|
2366
|
+
# @option params [required, Integer] :start_time_in_seconds
|
2367
|
+
# The exclusive start of the range from which to interpolate data,
|
2368
|
+
# expressed in seconds in Unix epoch time.
|
2369
|
+
#
|
2370
|
+
# @option params [Integer] :start_time_offset_in_nanos
|
2371
|
+
# The nanosecond offset converted from `startTimeInSeconds`.
|
2372
|
+
#
|
2373
|
+
# @option params [required, Integer] :end_time_in_seconds
|
2374
|
+
# The inclusive end of the range from which to interpolate data,
|
2375
|
+
# expressed in seconds in Unix epoch time.
|
2376
|
+
#
|
2377
|
+
# @option params [Integer] :end_time_offset_in_nanos
|
2378
|
+
# The nanosecond offset converted from `endTimeInSeconds`.
|
2379
|
+
#
|
2380
|
+
# @option params [required, String] :quality
|
2381
|
+
# The quality of the asset property value. You can use this parameter as
|
2382
|
+
# a filter to choose only the asset property values that have a specific
|
2383
|
+
# quality.
|
2384
|
+
#
|
2385
|
+
# @option params [required, Integer] :interval_in_seconds
|
2386
|
+
# The time interval in seconds over which to interpolate data. Each
|
2387
|
+
# interval starts when the previous one ends.
|
2388
|
+
#
|
2389
|
+
# @option params [String] :next_token
|
2390
|
+
# The token to be used for the next set of paginated results.
|
2391
|
+
#
|
2392
|
+
# @option params [Integer] :max_results
|
2393
|
+
# The maximum number of results to be returned per paginated request. If
|
2394
|
+
# not specified, the default value is 10.
|
2395
|
+
#
|
2396
|
+
# @option params [required, String] :type
|
2397
|
+
# The interpolation type.
|
2398
|
+
#
|
2399
|
+
# Valid values: `LINEAR_INTERPOLATION`
|
2400
|
+
#
|
2401
|
+
# @return [Types::GetInterpolatedAssetPropertyValuesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2402
|
+
#
|
2403
|
+
# * {Types::GetInterpolatedAssetPropertyValuesResponse#interpolated_asset_property_values #interpolated_asset_property_values} => Array<Types::InterpolatedAssetPropertyValue>
|
2404
|
+
# * {Types::GetInterpolatedAssetPropertyValuesResponse#next_token #next_token} => String
|
2405
|
+
#
|
2406
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2407
|
+
#
|
2408
|
+
# @example Request syntax with placeholder values
|
2409
|
+
#
|
2410
|
+
# resp = client.get_interpolated_asset_property_values({
|
2411
|
+
# asset_id: "ID",
|
2412
|
+
# property_id: "ID",
|
2413
|
+
# property_alias: "AssetPropertyAlias",
|
2414
|
+
# start_time_in_seconds: 1, # required
|
2415
|
+
# start_time_offset_in_nanos: 1,
|
2416
|
+
# end_time_in_seconds: 1, # required
|
2417
|
+
# end_time_offset_in_nanos: 1,
|
2418
|
+
# quality: "GOOD", # required, accepts GOOD, BAD, UNCERTAIN
|
2419
|
+
# interval_in_seconds: 1, # required
|
2420
|
+
# next_token: "NextToken",
|
2421
|
+
# max_results: 1,
|
2422
|
+
# type: "InterpolationType", # required
|
2423
|
+
# })
|
2424
|
+
#
|
2425
|
+
# @example Response structure
|
2426
|
+
#
|
2427
|
+
# resp.interpolated_asset_property_values #=> Array
|
2428
|
+
# resp.interpolated_asset_property_values[0].timestamp.time_in_seconds #=> Integer
|
2429
|
+
# resp.interpolated_asset_property_values[0].timestamp.offset_in_nanos #=> Integer
|
2430
|
+
# resp.interpolated_asset_property_values[0].value.string_value #=> String
|
2431
|
+
# resp.interpolated_asset_property_values[0].value.integer_value #=> Integer
|
2432
|
+
# resp.interpolated_asset_property_values[0].value.double_value #=> Float
|
2433
|
+
# resp.interpolated_asset_property_values[0].value.boolean_value #=> Boolean
|
2434
|
+
# resp.next_token #=> String
|
2435
|
+
#
|
2436
|
+
# @overload get_interpolated_asset_property_values(params = {})
|
2437
|
+
# @param [Hash] params ({})
|
2438
|
+
def get_interpolated_asset_property_values(params = {}, options = {})
|
2439
|
+
req = build_request(:get_interpolated_asset_property_values, params)
|
2440
|
+
req.send_request(options)
|
2441
|
+
end
|
2442
|
+
|
2324
2443
|
# Retrieves a paginated list of access policies for an identity (an AWS
|
2325
2444
|
# SSO user, an AWS SSO group, or an IAM user) or an AWS IoT SiteWise
|
2326
2445
|
# Monitor resource (a portal or project).
|
@@ -2384,6 +2503,7 @@ module Aws::IoTSiteWise
|
|
2384
2503
|
# resp.access_policy_summaries[0].identity.user.id #=> String
|
2385
2504
|
# resp.access_policy_summaries[0].identity.group.id #=> String
|
2386
2505
|
# resp.access_policy_summaries[0].identity.iam_user.arn #=> String
|
2506
|
+
# resp.access_policy_summaries[0].identity.iam_role.arn #=> String
|
2387
2507
|
# resp.access_policy_summaries[0].resource.portal.id #=> String
|
2388
2508
|
# resp.access_policy_summaries[0].resource.project.id #=> String
|
2389
2509
|
# resp.access_policy_summaries[0].permission #=> String, one of "ADMINISTRATOR", "VIEWER"
|
@@ -3094,6 +3214,9 @@ module Aws::IoTSiteWise
|
|
3094
3214
|
# iam_user: {
|
3095
3215
|
# arn: "ARN", # required
|
3096
3216
|
# },
|
3217
|
+
# iam_role: {
|
3218
|
+
# arn: "ARN", # required
|
3219
|
+
# },
|
3097
3220
|
# },
|
3098
3221
|
# access_policy_resource: { # required
|
3099
3222
|
# portal: {
|
@@ -3689,7 +3812,7 @@ module Aws::IoTSiteWise
|
|
3689
3812
|
params: params,
|
3690
3813
|
config: config)
|
3691
3814
|
context[:gem_name] = 'aws-sdk-iotsitewise'
|
3692
|
-
context[:gem_version] = '1.
|
3815
|
+
context[:gem_version] = '1.22.0'
|
3693
3816
|
Seahorse::Client::Request.new(handlers, context)
|
3694
3817
|
end
|
3695
3818
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -164,8 +164,11 @@ module Aws::IoTSiteWise
|
|
164
164
|
GetAssetPropertyValueHistoryResponse = Shapes::StructureShape.new(name: 'GetAssetPropertyValueHistoryResponse')
|
165
165
|
GetAssetPropertyValueRequest = Shapes::StructureShape.new(name: 'GetAssetPropertyValueRequest')
|
166
166
|
GetAssetPropertyValueResponse = Shapes::StructureShape.new(name: 'GetAssetPropertyValueResponse')
|
167
|
+
GetInterpolatedAssetPropertyValuesRequest = Shapes::StructureShape.new(name: 'GetInterpolatedAssetPropertyValuesRequest')
|
168
|
+
GetInterpolatedAssetPropertyValuesResponse = Shapes::StructureShape.new(name: 'GetInterpolatedAssetPropertyValuesResponse')
|
167
169
|
Greengrass = Shapes::StructureShape.new(name: 'Greengrass')
|
168
170
|
GroupIdentity = Shapes::StructureShape.new(name: 'GroupIdentity')
|
171
|
+
IAMRoleIdentity = Shapes::StructureShape.new(name: 'IAMRoleIdentity')
|
169
172
|
IAMUserIdentity = Shapes::StructureShape.new(name: 'IAMUserIdentity')
|
170
173
|
ID = Shapes::StringShape.new(name: 'ID')
|
171
174
|
IDs = Shapes::ListShape.new(name: 'IDs')
|
@@ -178,7 +181,11 @@ module Aws::IoTSiteWise
|
|
178
181
|
ImageFileType = Shapes::StringShape.new(name: 'ImageFileType')
|
179
182
|
ImageLocation = Shapes::StructureShape.new(name: 'ImageLocation')
|
180
183
|
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
184
|
+
InterpolatedAssetPropertyValue = Shapes::StructureShape.new(name: 'InterpolatedAssetPropertyValue')
|
185
|
+
InterpolatedAssetPropertyValues = Shapes::ListShape.new(name: 'InterpolatedAssetPropertyValues')
|
186
|
+
InterpolationType = Shapes::StringShape.new(name: 'InterpolationType')
|
181
187
|
Interval = Shapes::StringShape.new(name: 'Interval')
|
188
|
+
IntervalInSeconds = Shapes::IntegerShape.new(name: 'IntervalInSeconds')
|
182
189
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
183
190
|
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
184
191
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
@@ -208,6 +215,7 @@ module Aws::IoTSiteWise
|
|
208
215
|
LoggingLevel = Shapes::StringShape.new(name: 'LoggingLevel')
|
209
216
|
LoggingOptions = Shapes::StructureShape.new(name: 'LoggingOptions')
|
210
217
|
Macro = Shapes::StringShape.new(name: 'Macro')
|
218
|
+
MaxInterpolatedResults = Shapes::IntegerShape.new(name: 'MaxInterpolatedResults')
|
211
219
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
212
220
|
Measurement = Shapes::StructureShape.new(name: 'Measurement')
|
213
221
|
Metric = Shapes::StructureShape.new(name: 'Metric')
|
@@ -874,12 +882,33 @@ module Aws::IoTSiteWise
|
|
874
882
|
GetAssetPropertyValueResponse.add_member(:property_value, Shapes::ShapeRef.new(shape: AssetPropertyValue, location_name: "propertyValue"))
|
875
883
|
GetAssetPropertyValueResponse.struct_class = Types::GetAssetPropertyValueResponse
|
876
884
|
|
885
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, location: "querystring", location_name: "assetId"))
|
886
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:property_id, Shapes::ShapeRef.new(shape: ID, location: "querystring", location_name: "propertyId"))
|
887
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:property_alias, Shapes::ShapeRef.new(shape: AssetPropertyAlias, location: "querystring", location_name: "propertyAlias"))
|
888
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:start_time_in_seconds, Shapes::ShapeRef.new(shape: TimeInSeconds, required: true, location: "querystring", location_name: "startTimeInSeconds"))
|
889
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:start_time_offset_in_nanos, Shapes::ShapeRef.new(shape: OffsetInNanos, location: "querystring", location_name: "startTimeOffsetInNanos"))
|
890
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:end_time_in_seconds, Shapes::ShapeRef.new(shape: TimeInSeconds, required: true, location: "querystring", location_name: "endTimeInSeconds"))
|
891
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:end_time_offset_in_nanos, Shapes::ShapeRef.new(shape: OffsetInNanos, location: "querystring", location_name: "endTimeOffsetInNanos"))
|
892
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:quality, Shapes::ShapeRef.new(shape: Quality, required: true, location: "querystring", location_name: "quality"))
|
893
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:interval_in_seconds, Shapes::ShapeRef.new(shape: IntervalInSeconds, required: true, location: "querystring", location_name: "intervalInSeconds"))
|
894
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
895
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxInterpolatedResults, location: "querystring", location_name: "maxResults"))
|
896
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:type, Shapes::ShapeRef.new(shape: InterpolationType, required: true, location: "querystring", location_name: "type"))
|
897
|
+
GetInterpolatedAssetPropertyValuesRequest.struct_class = Types::GetInterpolatedAssetPropertyValuesRequest
|
898
|
+
|
899
|
+
GetInterpolatedAssetPropertyValuesResponse.add_member(:interpolated_asset_property_values, Shapes::ShapeRef.new(shape: InterpolatedAssetPropertyValues, required: true, location_name: "interpolatedAssetPropertyValues"))
|
900
|
+
GetInterpolatedAssetPropertyValuesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
901
|
+
GetInterpolatedAssetPropertyValuesResponse.struct_class = Types::GetInterpolatedAssetPropertyValuesResponse
|
902
|
+
|
877
903
|
Greengrass.add_member(:group_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "groupArn"))
|
878
904
|
Greengrass.struct_class = Types::Greengrass
|
879
905
|
|
880
906
|
GroupIdentity.add_member(:id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "id"))
|
881
907
|
GroupIdentity.struct_class = Types::GroupIdentity
|
882
908
|
|
909
|
+
IAMRoleIdentity.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "arn"))
|
910
|
+
IAMRoleIdentity.struct_class = Types::IAMRoleIdentity
|
911
|
+
|
883
912
|
IAMUserIdentity.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "arn"))
|
884
913
|
IAMUserIdentity.struct_class = Types::IAMUserIdentity
|
885
914
|
|
@@ -888,6 +917,7 @@ module Aws::IoTSiteWise
|
|
888
917
|
Identity.add_member(:user, Shapes::ShapeRef.new(shape: UserIdentity, location_name: "user"))
|
889
918
|
Identity.add_member(:group, Shapes::ShapeRef.new(shape: GroupIdentity, location_name: "group"))
|
890
919
|
Identity.add_member(:iam_user, Shapes::ShapeRef.new(shape: IAMUserIdentity, location_name: "iamUser"))
|
920
|
+
Identity.add_member(:iam_role, Shapes::ShapeRef.new(shape: IAMRoleIdentity, location_name: "iamRole"))
|
891
921
|
Identity.struct_class = Types::Identity
|
892
922
|
|
893
923
|
Image.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
@@ -905,6 +935,12 @@ module Aws::IoTSiteWise
|
|
905
935
|
InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
906
936
|
InternalFailureException.struct_class = Types::InternalFailureException
|
907
937
|
|
938
|
+
InterpolatedAssetPropertyValue.add_member(:timestamp, Shapes::ShapeRef.new(shape: TimeInNanos, required: true, location_name: "timestamp"))
|
939
|
+
InterpolatedAssetPropertyValue.add_member(:value, Shapes::ShapeRef.new(shape: Variant, required: true, location_name: "value"))
|
940
|
+
InterpolatedAssetPropertyValue.struct_class = Types::InterpolatedAssetPropertyValue
|
941
|
+
|
942
|
+
InterpolatedAssetPropertyValues.member = Shapes::ShapeRef.new(shape: InterpolatedAssetPropertyValue)
|
943
|
+
|
908
944
|
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
909
945
|
InvalidRequestException.struct_class = Types::InvalidRequestException
|
910
946
|
|
@@ -1795,6 +1831,28 @@ module Aws::IoTSiteWise
|
|
1795
1831
|
)
|
1796
1832
|
end)
|
1797
1833
|
|
1834
|
+
api.add_operation(:get_interpolated_asset_property_values, Seahorse::Model::Operation.new.tap do |o|
|
1835
|
+
o.name = "GetInterpolatedAssetPropertyValues"
|
1836
|
+
o.http_method = "GET"
|
1837
|
+
o.http_request_uri = "/properties/interpolated"
|
1838
|
+
o.endpoint_pattern = {
|
1839
|
+
"hostPrefix" => "data.",
|
1840
|
+
}
|
1841
|
+
o.input = Shapes::ShapeRef.new(shape: GetInterpolatedAssetPropertyValuesRequest)
|
1842
|
+
o.output = Shapes::ShapeRef.new(shape: GetInterpolatedAssetPropertyValuesResponse)
|
1843
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1844
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1845
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1846
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1847
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1848
|
+
o[:pager] = Aws::Pager.new(
|
1849
|
+
limit_key: "max_results",
|
1850
|
+
tokens: {
|
1851
|
+
"next_token" => "next_token"
|
1852
|
+
}
|
1853
|
+
)
|
1854
|
+
end)
|
1855
|
+
|
1798
1856
|
api.add_operation(:list_access_policies, Seahorse::Model::Operation.new.tap do |o|
|
1799
1857
|
o.name = "ListAccessPolicies"
|
1800
1858
|
o.http_method = "GET"
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -1298,6 +1298,9 @@ module Aws::IoTSiteWise
|
|
1298
1298
|
# iam_user: {
|
1299
1299
|
# arn: "ARN", # required
|
1300
1300
|
# },
|
1301
|
+
# iam_role: {
|
1302
|
+
# arn: "ARN", # required
|
1303
|
+
# },
|
1301
1304
|
# },
|
1302
1305
|
# access_policy_resource: { # required
|
1303
1306
|
# portal: {
|
@@ -3445,6 +3448,121 @@ module Aws::IoTSiteWise
|
|
3445
3448
|
include Aws::Structure
|
3446
3449
|
end
|
3447
3450
|
|
3451
|
+
# @note When making an API call, you may pass GetInterpolatedAssetPropertyValuesRequest
|
3452
|
+
# data as a hash:
|
3453
|
+
#
|
3454
|
+
# {
|
3455
|
+
# asset_id: "ID",
|
3456
|
+
# property_id: "ID",
|
3457
|
+
# property_alias: "AssetPropertyAlias",
|
3458
|
+
# start_time_in_seconds: 1, # required
|
3459
|
+
# start_time_offset_in_nanos: 1,
|
3460
|
+
# end_time_in_seconds: 1, # required
|
3461
|
+
# end_time_offset_in_nanos: 1,
|
3462
|
+
# quality: "GOOD", # required, accepts GOOD, BAD, UNCERTAIN
|
3463
|
+
# interval_in_seconds: 1, # required
|
3464
|
+
# next_token: "NextToken",
|
3465
|
+
# max_results: 1,
|
3466
|
+
# type: "InterpolationType", # required
|
3467
|
+
# }
|
3468
|
+
#
|
3469
|
+
# @!attribute [rw] asset_id
|
3470
|
+
# The ID of the asset.
|
3471
|
+
# @return [String]
|
3472
|
+
#
|
3473
|
+
# @!attribute [rw] property_id
|
3474
|
+
# The ID of the asset property.
|
3475
|
+
# @return [String]
|
3476
|
+
#
|
3477
|
+
# @!attribute [rw] property_alias
|
3478
|
+
# The property alias that identifies the property, such as an OPC-UA
|
3479
|
+
# server data stream path (for example,
|
3480
|
+
# `/company/windfarm/3/turbine/7/temperature`). For more information,
|
3481
|
+
# see [Mapping industrial data streams to asset properties][1] in the
|
3482
|
+
# *AWS IoT SiteWise User Guide*.
|
3483
|
+
#
|
3484
|
+
#
|
3485
|
+
#
|
3486
|
+
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html
|
3487
|
+
# @return [String]
|
3488
|
+
#
|
3489
|
+
# @!attribute [rw] start_time_in_seconds
|
3490
|
+
# The exclusive start of the range from which to interpolate data,
|
3491
|
+
# expressed in seconds in Unix epoch time.
|
3492
|
+
# @return [Integer]
|
3493
|
+
#
|
3494
|
+
# @!attribute [rw] start_time_offset_in_nanos
|
3495
|
+
# The nanosecond offset converted from `startTimeInSeconds`.
|
3496
|
+
# @return [Integer]
|
3497
|
+
#
|
3498
|
+
# @!attribute [rw] end_time_in_seconds
|
3499
|
+
# The inclusive end of the range from which to interpolate data,
|
3500
|
+
# expressed in seconds in Unix epoch time.
|
3501
|
+
# @return [Integer]
|
3502
|
+
#
|
3503
|
+
# @!attribute [rw] end_time_offset_in_nanos
|
3504
|
+
# The nanosecond offset converted from `endTimeInSeconds`.
|
3505
|
+
# @return [Integer]
|
3506
|
+
#
|
3507
|
+
# @!attribute [rw] quality
|
3508
|
+
# The quality of the asset property value. You can use this parameter
|
3509
|
+
# as a filter to choose only the asset property values that have a
|
3510
|
+
# specific quality.
|
3511
|
+
# @return [String]
|
3512
|
+
#
|
3513
|
+
# @!attribute [rw] interval_in_seconds
|
3514
|
+
# The time interval in seconds over which to interpolate data. Each
|
3515
|
+
# interval starts when the previous one ends.
|
3516
|
+
# @return [Integer]
|
3517
|
+
#
|
3518
|
+
# @!attribute [rw] next_token
|
3519
|
+
# The token to be used for the next set of paginated results.
|
3520
|
+
# @return [String]
|
3521
|
+
#
|
3522
|
+
# @!attribute [rw] max_results
|
3523
|
+
# The maximum number of results to be returned per paginated request.
|
3524
|
+
# If not specified, the default value is 10.
|
3525
|
+
# @return [Integer]
|
3526
|
+
#
|
3527
|
+
# @!attribute [rw] type
|
3528
|
+
# The interpolation type.
|
3529
|
+
#
|
3530
|
+
# Valid values: `LINEAR_INTERPOLATION`
|
3531
|
+
# @return [String]
|
3532
|
+
#
|
3533
|
+
class GetInterpolatedAssetPropertyValuesRequest < Struct.new(
|
3534
|
+
:asset_id,
|
3535
|
+
:property_id,
|
3536
|
+
:property_alias,
|
3537
|
+
:start_time_in_seconds,
|
3538
|
+
:start_time_offset_in_nanos,
|
3539
|
+
:end_time_in_seconds,
|
3540
|
+
:end_time_offset_in_nanos,
|
3541
|
+
:quality,
|
3542
|
+
:interval_in_seconds,
|
3543
|
+
:next_token,
|
3544
|
+
:max_results,
|
3545
|
+
:type)
|
3546
|
+
SENSITIVE = []
|
3547
|
+
include Aws::Structure
|
3548
|
+
end
|
3549
|
+
|
3550
|
+
# @!attribute [rw] interpolated_asset_property_values
|
3551
|
+
# The requested interpolated values.
|
3552
|
+
# @return [Array<Types::InterpolatedAssetPropertyValue>]
|
3553
|
+
#
|
3554
|
+
# @!attribute [rw] next_token
|
3555
|
+
# The token for the next set of results, or null if there are no
|
3556
|
+
# additional results.
|
3557
|
+
# @return [String]
|
3558
|
+
#
|
3559
|
+
class GetInterpolatedAssetPropertyValuesResponse < Struct.new(
|
3560
|
+
:interpolated_asset_property_values,
|
3561
|
+
:next_token)
|
3562
|
+
SENSITIVE = []
|
3563
|
+
include Aws::Structure
|
3564
|
+
end
|
3565
|
+
|
3448
3566
|
# Contains details for a gateway that runs on AWS IoT Greengrass. To
|
3449
3567
|
# create a gateway that runs on AWS IoT Greengrass, you must add the IoT
|
3450
3568
|
# SiteWise connector to a Greengrass group and deploy it. Your
|
@@ -3500,6 +3618,36 @@ module Aws::IoTSiteWise
|
|
3500
3618
|
include Aws::Structure
|
3501
3619
|
end
|
3502
3620
|
|
3621
|
+
# Contains information about an AWS Identity and Access Management (IAM)
|
3622
|
+
# role. For more information, see [IAM roles][1] in the *IAM User
|
3623
|
+
# Guide*.
|
3624
|
+
#
|
3625
|
+
#
|
3626
|
+
#
|
3627
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html
|
3628
|
+
#
|
3629
|
+
# @note When making an API call, you may pass IAMRoleIdentity
|
3630
|
+
# data as a hash:
|
3631
|
+
#
|
3632
|
+
# {
|
3633
|
+
# arn: "ARN", # required
|
3634
|
+
# }
|
3635
|
+
#
|
3636
|
+
# @!attribute [rw] arn
|
3637
|
+
# The ARN of the IAM role. For more information, see [IAM ARNs][1] in
|
3638
|
+
# the *IAM User Guide*.
|
3639
|
+
#
|
3640
|
+
#
|
3641
|
+
#
|
3642
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
|
3643
|
+
# @return [String]
|
3644
|
+
#
|
3645
|
+
class IAMRoleIdentity < Struct.new(
|
3646
|
+
:arn)
|
3647
|
+
SENSITIVE = []
|
3648
|
+
include Aws::Structure
|
3649
|
+
end
|
3650
|
+
|
3503
3651
|
# Contains information about an AWS Identity and Access Management (IAM)
|
3504
3652
|
# user.
|
3505
3653
|
#
|
@@ -3557,6 +3705,9 @@ module Aws::IoTSiteWise
|
|
3557
3705
|
# iam_user: {
|
3558
3706
|
# arn: "ARN", # required
|
3559
3707
|
# },
|
3708
|
+
# iam_role: {
|
3709
|
+
# arn: "ARN", # required
|
3710
|
+
# },
|
3560
3711
|
# }
|
3561
3712
|
#
|
3562
3713
|
# @!attribute [rw] user
|
@@ -3571,10 +3722,15 @@ module Aws::IoTSiteWise
|
|
3571
3722
|
# An IAM user identity.
|
3572
3723
|
# @return [Types::IAMUserIdentity]
|
3573
3724
|
#
|
3725
|
+
# @!attribute [rw] iam_role
|
3726
|
+
# An IAM role identity.
|
3727
|
+
# @return [Types::IAMRoleIdentity]
|
3728
|
+
#
|
3574
3729
|
class Identity < Struct.new(
|
3575
3730
|
:user,
|
3576
3731
|
:group,
|
3577
|
-
:iam_user
|
3732
|
+
:iam_user,
|
3733
|
+
:iam_role)
|
3578
3734
|
SENSITIVE = []
|
3579
3735
|
include Aws::Structure
|
3580
3736
|
end
|
@@ -3670,6 +3826,23 @@ module Aws::IoTSiteWise
|
|
3670
3826
|
include Aws::Structure
|
3671
3827
|
end
|
3672
3828
|
|
3829
|
+
# Contains information about an interpolated asset property value.
|
3830
|
+
#
|
3831
|
+
# @!attribute [rw] timestamp
|
3832
|
+
# Contains a timestamp with optional nanosecond granularity.
|
3833
|
+
# @return [Types::TimeInNanos]
|
3834
|
+
#
|
3835
|
+
# @!attribute [rw] value
|
3836
|
+
# Contains an asset property value (of a single type only).
|
3837
|
+
# @return [Types::Variant]
|
3838
|
+
#
|
3839
|
+
class InterpolatedAssetPropertyValue < Struct.new(
|
3840
|
+
:timestamp,
|
3841
|
+
:value)
|
3842
|
+
SENSITIVE = []
|
3843
|
+
include Aws::Structure
|
3844
|
+
end
|
3845
|
+
|
3673
3846
|
# The request isn't valid. This can occur if your request contains
|
3674
3847
|
# malformed JSON or unsupported characters. Check your request and try
|
3675
3848
|
# again.
|
@@ -4308,9 +4481,8 @@ module Aws::IoTSiteWise
|
|
4308
4481
|
include Aws::Structure
|
4309
4482
|
end
|
4310
4483
|
|
4311
|
-
# Contains an asset measurement property.
|
4312
|
-
#
|
4313
|
-
# Guide*.
|
4484
|
+
# Contains an asset measurement property. For more information, see
|
4485
|
+
# [Measurements][1] in the *AWS IoT SiteWise User Guide*.
|
4314
4486
|
#
|
4315
4487
|
#
|
4316
4488
|
#
|
@@ -5199,6 +5371,9 @@ module Aws::IoTSiteWise
|
|
5199
5371
|
# iam_user: {
|
5200
5372
|
# arn: "ARN", # required
|
5201
5373
|
# },
|
5374
|
+
# iam_role: {
|
5375
|
+
# arn: "ARN", # required
|
5376
|
+
# },
|
5202
5377
|
# },
|
5203
5378
|
# access_policy_resource: { # required
|
5204
5379
|
# portal: {
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
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.22.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-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -47,11 +47,14 @@ dependencies:
|
|
47
47
|
description: Official AWS Ruby gem for AWS IoT SiteWise. This gem is part of the AWS
|
48
48
|
SDK for Ruby.
|
49
49
|
email:
|
50
|
-
-
|
50
|
+
- aws-dr-rubygems@amazon.com
|
51
51
|
executables: []
|
52
52
|
extensions: []
|
53
53
|
extra_rdoc_files: []
|
54
54
|
files:
|
55
|
+
- CHANGELOG.md
|
56
|
+
- LICENSE.txt
|
57
|
+
- VERSION
|
55
58
|
- lib/aws-sdk-iotsitewise.rb
|
56
59
|
- lib/aws-sdk-iotsitewise/client.rb
|
57
60
|
- lib/aws-sdk-iotsitewise/client_api.rb
|
@@ -64,8 +67,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
64
67
|
licenses:
|
65
68
|
- Apache-2.0
|
66
69
|
metadata:
|
67
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
68
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
70
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iotsitewise
|
71
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iotsitewise/CHANGELOG.md
|
69
72
|
post_install_message:
|
70
73
|
rdoc_options: []
|
71
74
|
require_paths:
|
@@ -81,8 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
84
|
- !ruby/object:Gem::Version
|
82
85
|
version: '0'
|
83
86
|
requirements: []
|
84
|
-
|
85
|
-
rubygems_version: 2.7.6.2
|
87
|
+
rubygems_version: 3.1.6
|
86
88
|
signing_key:
|
87
89
|
specification_version: 4
|
88
90
|
summary: AWS SDK for Ruby - AWS IoT SiteWise
|