aws-sdk-iotsitewise 1.18.0 → 1.23.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 +128 -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 +160 -33
- data/lib/aws-sdk-iotsitewise/client_api.rb +65 -27
- 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 +232 -40
- 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: af97c5fc1bae0732e47062bced832b10873250302dea4c9ff75720a132828e67
|
4
|
+
data.tar.gz: 0f02d47cbf5944af9ae663f643f7b79579af2d2563d3af0d433673526a63f0c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cc711b359d9f3cade65fca22e6fc2410206ed311d92d5f57c67498d2693ae41815ed22be6c672a889da6fd2e6c6b12bd6921884701052174cabf3d5f3a22f30
|
7
|
+
data.tar.gz: 14b228dbd31a586f44ea0babb5ecfbe9455aeeb960dc2185a252026b2492e198a6fe97e992a215ca8a0a05a9a44d91cddcba89e451ba16ec2bd9d28b5637b6e9
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,128 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.23.0 (2021-05-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - IoT SiteWise Monitor Portal API updates to add alarms feature configuration.
|
8
|
+
|
9
|
+
1.22.0 (2021-05-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for AWS IoT SiteWise.
|
13
|
+
|
14
|
+
1.21.0 (2021-04-28)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - AWS IoT SiteWise interpolation API will get interpolated values for an asset property per specified time interval during a period of time.
|
18
|
+
|
19
|
+
1.20.0 (2021-03-10)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.19.0 (2021-02-08)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Recall CreatePresignedPortalUrl API
|
28
|
+
|
29
|
+
1.18.0 (2021-02-03)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Update AccessPolicy API input to support IAM role for IAM mode. Iam role is added as part of accessPolicyIdentity.
|
33
|
+
|
34
|
+
1.17.0 (2021-02-02)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.16.0 (2020-12-11)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Added the ListAssetRelationships operation and support for composite asset models, which represent structured sets of properties within asset models.
|
43
|
+
|
44
|
+
1.15.0 (2020-11-24)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - This release adds support for customer managed customer master key (CMK) based encryption in IoT SiteWise.
|
48
|
+
|
49
|
+
1.14.0 (2020-11-16)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* 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.
|
53
|
+
|
54
|
+
1.13.0 (2020-11-06)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Remove the CreatePresignedPortalUrl API
|
58
|
+
|
59
|
+
1.12.0 (2020-09-30)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
63
|
+
|
64
|
+
1.11.0 (2020-09-21)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Feature - This release supports IAM mode for SiteWise Monitor portals
|
68
|
+
|
69
|
+
1.10.0 (2020-09-15)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
73
|
+
|
74
|
+
1.9.0 (2020-08-25)
|
75
|
+
------------------
|
76
|
+
|
77
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
78
|
+
|
79
|
+
1.8.0 (2020-08-24)
|
80
|
+
------------------
|
81
|
+
|
82
|
+
* Feature - Add traversalDirection to ListAssociatedAssetsRequest and add portal status to ListPortalsResponse
|
83
|
+
|
84
|
+
1.7.0 (2020-07-06)
|
85
|
+
------------------
|
86
|
+
|
87
|
+
* Feature - This release supports optional start date and end date parameters for the GetAssetPropertyValueHistory API.
|
88
|
+
|
89
|
+
1.6.0 (2020-06-23)
|
90
|
+
------------------
|
91
|
+
|
92
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
93
|
+
|
94
|
+
1.5.1 (2020-06-11)
|
95
|
+
------------------
|
96
|
+
|
97
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
98
|
+
|
99
|
+
1.5.0 (2020-06-10)
|
100
|
+
------------------
|
101
|
+
|
102
|
+
* Issue - This version has been yanked. (#2327).
|
103
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
104
|
+
|
105
|
+
1.4.0 (2020-05-28)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
109
|
+
|
110
|
+
1.3.0 (2020-05-22)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - This release adds support for the standard deviation auto-computed aggregate and improved support for portal logo images in SiteWise.
|
114
|
+
|
115
|
+
1.2.0 (2020-05-12)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - Documentation updates for iot-bifrost
|
119
|
+
|
120
|
+
1.1.0 (2020-05-07)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
124
|
+
|
125
|
+
1.0.0 (2020-04-29)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* 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.23.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.23.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
|
@@ -1097,6 +1097,23 @@ module Aws::IoTSiteWise
|
|
1097
1097
|
#
|
1098
1098
|
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-get-started.html#mon-gs-sso
|
1099
1099
|
#
|
1100
|
+
# @option params [String] :notification_sender_email
|
1101
|
+
# The email address that sends alarm notifications.
|
1102
|
+
#
|
1103
|
+
# If you use the AWS IoT Events managed AWS Lambda function to manage
|
1104
|
+
# your emails, you must [verify the sender email address in Amazon
|
1105
|
+
# SES][1].
|
1106
|
+
#
|
1107
|
+
#
|
1108
|
+
#
|
1109
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-email-addresses.html
|
1110
|
+
#
|
1111
|
+
# @option params [Types::Alarms] :alarms
|
1112
|
+
# Contains the configuration information of an alarm created in an AWS
|
1113
|
+
# IoT SiteWise Monitor portal. You can use the alarm to monitor an asset
|
1114
|
+
# property and get notified when the asset property value is outside a
|
1115
|
+
# specified range. For more information, see .
|
1116
|
+
#
|
1100
1117
|
# @return [Types::CreatePortalResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1101
1118
|
#
|
1102
1119
|
# * {Types::CreatePortalResponse#portal_id #portal_id} => String
|
@@ -1121,6 +1138,11 @@ module Aws::IoTSiteWise
|
|
1121
1138
|
# "TagKey" => "TagValue",
|
1122
1139
|
# },
|
1123
1140
|
# portal_auth_mode: "IAM", # accepts IAM, SSO
|
1141
|
+
# notification_sender_email: "Email",
|
1142
|
+
# alarms: {
|
1143
|
+
# alarm_role_arn: "ARN", # required
|
1144
|
+
# notification_lambda_arn: "ARN",
|
1145
|
+
# },
|
1124
1146
|
# })
|
1125
1147
|
#
|
1126
1148
|
# @example Response structure
|
@@ -1140,35 +1162,6 @@ module Aws::IoTSiteWise
|
|
1140
1162
|
req.send_request(options)
|
1141
1163
|
end
|
1142
1164
|
|
1143
|
-
# @option params [required, String] :portal_id
|
1144
|
-
#
|
1145
|
-
# @option params [Integer] :session_duration_seconds
|
1146
|
-
#
|
1147
|
-
# @option params [String] :state
|
1148
|
-
#
|
1149
|
-
# @return [Types::CreatePresignedPortalUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1150
|
-
#
|
1151
|
-
# * {Types::CreatePresignedPortalUrlResponse#presigned_portal_url #presigned_portal_url} => String
|
1152
|
-
#
|
1153
|
-
# @example Request syntax with placeholder values
|
1154
|
-
#
|
1155
|
-
# resp = client.create_presigned_portal_url({
|
1156
|
-
# portal_id: "ID", # required
|
1157
|
-
# session_duration_seconds: 1,
|
1158
|
-
# state: "state",
|
1159
|
-
# })
|
1160
|
-
#
|
1161
|
-
# @example Response structure
|
1162
|
-
#
|
1163
|
-
# resp.presigned_portal_url #=> String
|
1164
|
-
#
|
1165
|
-
# @overload create_presigned_portal_url(params = {})
|
1166
|
-
# @param [Hash] params ({})
|
1167
|
-
def create_presigned_portal_url(params = {}, options = {})
|
1168
|
-
req = build_request(:create_presigned_portal_url, params)
|
1169
|
-
req.send_request(options)
|
1170
|
-
end
|
1171
|
-
|
1172
1165
|
# Creates a project in the specified portal.
|
1173
1166
|
#
|
1174
1167
|
# @option params [required, String] :portal_id
|
@@ -1965,6 +1958,8 @@ module Aws::IoTSiteWise
|
|
1965
1958
|
# * {Types::DescribePortalResponse#portal_logo_image_location #portal_logo_image_location} => Types::ImageLocation
|
1966
1959
|
# * {Types::DescribePortalResponse#role_arn #role_arn} => String
|
1967
1960
|
# * {Types::DescribePortalResponse#portal_auth_mode #portal_auth_mode} => String
|
1961
|
+
# * {Types::DescribePortalResponse#notification_sender_email #notification_sender_email} => String
|
1962
|
+
# * {Types::DescribePortalResponse#alarms #alarms} => Types::Alarms
|
1968
1963
|
#
|
1969
1964
|
# @example Request syntax with placeholder values
|
1970
1965
|
#
|
@@ -1990,6 +1985,9 @@ module Aws::IoTSiteWise
|
|
1990
1985
|
# resp.portal_logo_image_location.url #=> String
|
1991
1986
|
# resp.role_arn #=> String
|
1992
1987
|
# resp.portal_auth_mode #=> String, one of "IAM", "SSO"
|
1988
|
+
# resp.notification_sender_email #=> String
|
1989
|
+
# resp.alarms.alarm_role_arn #=> String
|
1990
|
+
# resp.alarms.notification_lambda_arn #=> String
|
1993
1991
|
#
|
1994
1992
|
#
|
1995
1993
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -2354,6 +2352,121 @@ module Aws::IoTSiteWise
|
|
2354
2352
|
req.send_request(options)
|
2355
2353
|
end
|
2356
2354
|
|
2355
|
+
# Get interpolated values for an asset property for a specified time
|
2356
|
+
# interval, during a period of time. For example, you can use the this
|
2357
|
+
# operation to return the interpolated temperature values for a wind
|
2358
|
+
# turbine every 24 hours over a duration of 7 days.
|
2359
|
+
#
|
2360
|
+
# <note markdown="1"> This API isn't available in China (Beijing).
|
2361
|
+
#
|
2362
|
+
# </note>
|
2363
|
+
#
|
2364
|
+
# To identify an asset property, you must specify one of the following:
|
2365
|
+
#
|
2366
|
+
# * The `assetId` and `propertyId` of an asset property.
|
2367
|
+
#
|
2368
|
+
# * A `propertyAlias`, which is a data stream alias (for example,
|
2369
|
+
# `/company/windfarm/3/turbine/7/temperature`). To define an asset
|
2370
|
+
# property's alias, see [UpdateAssetProperty][1].
|
2371
|
+
#
|
2372
|
+
#
|
2373
|
+
#
|
2374
|
+
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html
|
2375
|
+
#
|
2376
|
+
# @option params [String] :asset_id
|
2377
|
+
# The ID of the asset.
|
2378
|
+
#
|
2379
|
+
# @option params [String] :property_id
|
2380
|
+
# The ID of the asset property.
|
2381
|
+
#
|
2382
|
+
# @option params [String] :property_alias
|
2383
|
+
# The property alias that identifies the property, such as an OPC-UA
|
2384
|
+
# server data stream path (for example,
|
2385
|
+
# `/company/windfarm/3/turbine/7/temperature`). For more information,
|
2386
|
+
# see [Mapping industrial data streams to asset properties][1] in the
|
2387
|
+
# *AWS IoT SiteWise User Guide*.
|
2388
|
+
#
|
2389
|
+
#
|
2390
|
+
#
|
2391
|
+
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html
|
2392
|
+
#
|
2393
|
+
# @option params [required, Integer] :start_time_in_seconds
|
2394
|
+
# The exclusive start of the range from which to interpolate data,
|
2395
|
+
# expressed in seconds in Unix epoch time.
|
2396
|
+
#
|
2397
|
+
# @option params [Integer] :start_time_offset_in_nanos
|
2398
|
+
# The nanosecond offset converted from `startTimeInSeconds`.
|
2399
|
+
#
|
2400
|
+
# @option params [required, Integer] :end_time_in_seconds
|
2401
|
+
# The inclusive end of the range from which to interpolate data,
|
2402
|
+
# expressed in seconds in Unix epoch time.
|
2403
|
+
#
|
2404
|
+
# @option params [Integer] :end_time_offset_in_nanos
|
2405
|
+
# The nanosecond offset converted from `endTimeInSeconds`.
|
2406
|
+
#
|
2407
|
+
# @option params [required, String] :quality
|
2408
|
+
# The quality of the asset property value. You can use this parameter as
|
2409
|
+
# a filter to choose only the asset property values that have a specific
|
2410
|
+
# quality.
|
2411
|
+
#
|
2412
|
+
# @option params [required, Integer] :interval_in_seconds
|
2413
|
+
# The time interval in seconds over which to interpolate data. Each
|
2414
|
+
# interval starts when the previous one ends.
|
2415
|
+
#
|
2416
|
+
# @option params [String] :next_token
|
2417
|
+
# The token to be used for the next set of paginated results.
|
2418
|
+
#
|
2419
|
+
# @option params [Integer] :max_results
|
2420
|
+
# The maximum number of results to be returned per paginated request. If
|
2421
|
+
# not specified, the default value is 10.
|
2422
|
+
#
|
2423
|
+
# @option params [required, String] :type
|
2424
|
+
# The interpolation type.
|
2425
|
+
#
|
2426
|
+
# Valid values: `LINEAR_INTERPOLATION`
|
2427
|
+
#
|
2428
|
+
# @return [Types::GetInterpolatedAssetPropertyValuesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2429
|
+
#
|
2430
|
+
# * {Types::GetInterpolatedAssetPropertyValuesResponse#interpolated_asset_property_values #interpolated_asset_property_values} => Array<Types::InterpolatedAssetPropertyValue>
|
2431
|
+
# * {Types::GetInterpolatedAssetPropertyValuesResponse#next_token #next_token} => String
|
2432
|
+
#
|
2433
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2434
|
+
#
|
2435
|
+
# @example Request syntax with placeholder values
|
2436
|
+
#
|
2437
|
+
# resp = client.get_interpolated_asset_property_values({
|
2438
|
+
# asset_id: "ID",
|
2439
|
+
# property_id: "ID",
|
2440
|
+
# property_alias: "AssetPropertyAlias",
|
2441
|
+
# start_time_in_seconds: 1, # required
|
2442
|
+
# start_time_offset_in_nanos: 1,
|
2443
|
+
# end_time_in_seconds: 1, # required
|
2444
|
+
# end_time_offset_in_nanos: 1,
|
2445
|
+
# quality: "GOOD", # required, accepts GOOD, BAD, UNCERTAIN
|
2446
|
+
# interval_in_seconds: 1, # required
|
2447
|
+
# next_token: "NextToken",
|
2448
|
+
# max_results: 1,
|
2449
|
+
# type: "InterpolationType", # required
|
2450
|
+
# })
|
2451
|
+
#
|
2452
|
+
# @example Response structure
|
2453
|
+
#
|
2454
|
+
# resp.interpolated_asset_property_values #=> Array
|
2455
|
+
# resp.interpolated_asset_property_values[0].timestamp.time_in_seconds #=> Integer
|
2456
|
+
# resp.interpolated_asset_property_values[0].timestamp.offset_in_nanos #=> Integer
|
2457
|
+
# resp.interpolated_asset_property_values[0].value.string_value #=> String
|
2458
|
+
# resp.interpolated_asset_property_values[0].value.integer_value #=> Integer
|
2459
|
+
# resp.interpolated_asset_property_values[0].value.double_value #=> Float
|
2460
|
+
# resp.interpolated_asset_property_values[0].value.boolean_value #=> Boolean
|
2461
|
+
# resp.next_token #=> String
|
2462
|
+
#
|
2463
|
+
# @overload get_interpolated_asset_property_values(params = {})
|
2464
|
+
# @param [Hash] params ({})
|
2465
|
+
def get_interpolated_asset_property_values(params = {}, options = {})
|
2466
|
+
req = build_request(:get_interpolated_asset_property_values, params)
|
2467
|
+
req.send_request(options)
|
2468
|
+
end
|
2469
|
+
|
2357
2470
|
# Retrieves a paginated list of access policies for an identity (an AWS
|
2358
2471
|
# SSO user, an AWS SSO group, or an IAM user) or an AWS IoT SiteWise
|
2359
2472
|
# Monitor resource (a portal or project).
|
@@ -3641,6 +3754,15 @@ module Aws::IoTSiteWise
|
|
3641
3754
|
# **A suitable default value is auto-generated.** You should normally
|
3642
3755
|
# not need to pass this option.**
|
3643
3756
|
#
|
3757
|
+
# @option params [String] :notification_sender_email
|
3758
|
+
# The email address that sends alarm notifications.
|
3759
|
+
#
|
3760
|
+
# @option params [Types::Alarms] :alarms
|
3761
|
+
# Contains the configuration information of an alarm created in an AWS
|
3762
|
+
# IoT SiteWise Monitor portal. You can use the alarm to monitor an asset
|
3763
|
+
# property and get notified when the asset property value is outside a
|
3764
|
+
# specified range. For more information, see .
|
3765
|
+
#
|
3644
3766
|
# @return [Types::UpdatePortalResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3645
3767
|
#
|
3646
3768
|
# * {Types::UpdatePortalResponse#portal_status #portal_status} => Types::PortalStatus
|
@@ -3661,6 +3783,11 @@ module Aws::IoTSiteWise
|
|
3661
3783
|
# },
|
3662
3784
|
# role_arn: "ARN", # required
|
3663
3785
|
# client_token: "ClientToken",
|
3786
|
+
# notification_sender_email: "Email",
|
3787
|
+
# alarms: {
|
3788
|
+
# alarm_role_arn: "ARN", # required
|
3789
|
+
# notification_lambda_arn: "ARN",
|
3790
|
+
# },
|
3664
3791
|
# })
|
3665
3792
|
#
|
3666
3793
|
# @example Response structure
|
@@ -3726,7 +3853,7 @@ module Aws::IoTSiteWise
|
|
3726
3853
|
params: params,
|
3727
3854
|
config: config)
|
3728
3855
|
context[:gem_name] = 'aws-sdk-iotsitewise'
|
3729
|
-
context[:gem_version] = '1.
|
3856
|
+
context[:gem_version] = '1.23.0'
|
3730
3857
|
Seahorse::Client::Request.new(handlers, context)
|
3731
3858
|
end
|
3732
3859
|
|
@@ -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
|
|
@@ -22,6 +22,7 @@ module Aws::IoTSiteWise
|
|
22
22
|
AggregatedValue = Shapes::StructureShape.new(name: 'AggregatedValue')
|
23
23
|
AggregatedValues = Shapes::ListShape.new(name: 'AggregatedValues')
|
24
24
|
Aggregates = Shapes::StructureShape.new(name: 'Aggregates')
|
25
|
+
Alarms = Shapes::StructureShape.new(name: 'Alarms')
|
25
26
|
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
26
27
|
AssetCompositeModel = Shapes::StructureShape.new(name: 'AssetCompositeModel')
|
27
28
|
AssetCompositeModels = Shapes::ListShape.new(name: 'AssetCompositeModels')
|
@@ -100,8 +101,6 @@ module Aws::IoTSiteWise
|
|
100
101
|
CreateGatewayResponse = Shapes::StructureShape.new(name: 'CreateGatewayResponse')
|
101
102
|
CreatePortalRequest = Shapes::StructureShape.new(name: 'CreatePortalRequest')
|
102
103
|
CreatePortalResponse = Shapes::StructureShape.new(name: 'CreatePortalResponse')
|
103
|
-
CreatePresignedPortalUrlRequest = Shapes::StructureShape.new(name: 'CreatePresignedPortalUrlRequest')
|
104
|
-
CreatePresignedPortalUrlResponse = Shapes::StructureShape.new(name: 'CreatePresignedPortalUrlResponse')
|
105
104
|
CreateProjectRequest = Shapes::StructureShape.new(name: 'CreateProjectRequest')
|
106
105
|
CreateProjectResponse = Shapes::StructureShape.new(name: 'CreateProjectResponse')
|
107
106
|
DashboardDefinition = Shapes::StringShape.new(name: 'DashboardDefinition')
|
@@ -166,6 +165,8 @@ module Aws::IoTSiteWise
|
|
166
165
|
GetAssetPropertyValueHistoryResponse = Shapes::StructureShape.new(name: 'GetAssetPropertyValueHistoryResponse')
|
167
166
|
GetAssetPropertyValueRequest = Shapes::StructureShape.new(name: 'GetAssetPropertyValueRequest')
|
168
167
|
GetAssetPropertyValueResponse = Shapes::StructureShape.new(name: 'GetAssetPropertyValueResponse')
|
168
|
+
GetInterpolatedAssetPropertyValuesRequest = Shapes::StructureShape.new(name: 'GetInterpolatedAssetPropertyValuesRequest')
|
169
|
+
GetInterpolatedAssetPropertyValuesResponse = Shapes::StructureShape.new(name: 'GetInterpolatedAssetPropertyValuesResponse')
|
169
170
|
Greengrass = Shapes::StructureShape.new(name: 'Greengrass')
|
170
171
|
GroupIdentity = Shapes::StructureShape.new(name: 'GroupIdentity')
|
171
172
|
IAMRoleIdentity = Shapes::StructureShape.new(name: 'IAMRoleIdentity')
|
@@ -181,7 +182,11 @@ module Aws::IoTSiteWise
|
|
181
182
|
ImageFileType = Shapes::StringShape.new(name: 'ImageFileType')
|
182
183
|
ImageLocation = Shapes::StructureShape.new(name: 'ImageLocation')
|
183
184
|
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
185
|
+
InterpolatedAssetPropertyValue = Shapes::StructureShape.new(name: 'InterpolatedAssetPropertyValue')
|
186
|
+
InterpolatedAssetPropertyValues = Shapes::ListShape.new(name: 'InterpolatedAssetPropertyValues')
|
187
|
+
InterpolationType = Shapes::StringShape.new(name: 'InterpolationType')
|
184
188
|
Interval = Shapes::StringShape.new(name: 'Interval')
|
189
|
+
IntervalInSeconds = Shapes::IntegerShape.new(name: 'IntervalInSeconds')
|
185
190
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
186
191
|
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
187
192
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
@@ -211,6 +216,7 @@ module Aws::IoTSiteWise
|
|
211
216
|
LoggingLevel = Shapes::StringShape.new(name: 'LoggingLevel')
|
212
217
|
LoggingOptions = Shapes::StructureShape.new(name: 'LoggingOptions')
|
213
218
|
Macro = Shapes::StringShape.new(name: 'Macro')
|
219
|
+
MaxInterpolatedResults = Shapes::IntegerShape.new(name: 'MaxInterpolatedResults')
|
214
220
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
215
221
|
Measurement = Shapes::StructureShape.new(name: 'Measurement')
|
216
222
|
Metric = Shapes::StructureShape.new(name: 'Metric')
|
@@ -260,7 +266,6 @@ module Aws::IoTSiteWise
|
|
260
266
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
261
267
|
SSOApplicationId = Shapes::StringShape.new(name: 'SSOApplicationId')
|
262
268
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
263
|
-
SessionDurationSeconds = Shapes::IntegerShape.new(name: 'SessionDurationSeconds')
|
264
269
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
265
270
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
266
271
|
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
@@ -302,7 +307,6 @@ module Aws::IoTSiteWise
|
|
302
307
|
VariableName = Shapes::StringShape.new(name: 'VariableName')
|
303
308
|
VariableValue = Shapes::StructureShape.new(name: 'VariableValue')
|
304
309
|
Variant = Shapes::StructureShape.new(name: 'Variant')
|
305
|
-
state = Shapes::StringShape.new(name: 'state')
|
306
310
|
|
307
311
|
AccessPolicySummaries.member = Shapes::ShapeRef.new(shape: AccessPolicySummary)
|
308
312
|
|
@@ -331,6 +335,10 @@ module Aws::IoTSiteWise
|
|
331
335
|
Aggregates.add_member(:standard_deviation, Shapes::ShapeRef.new(shape: AggregatedDoubleValue, location_name: "standardDeviation"))
|
332
336
|
Aggregates.struct_class = Types::Aggregates
|
333
337
|
|
338
|
+
Alarms.add_member(:alarm_role_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "alarmRoleArn"))
|
339
|
+
Alarms.add_member(:notification_lambda_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "notificationLambdaArn"))
|
340
|
+
Alarms.struct_class = Types::Alarms
|
341
|
+
|
334
342
|
AssetCompositeModel.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
335
343
|
AssetCompositeModel.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
336
344
|
AssetCompositeModel.add_member(:type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "type"))
|
@@ -604,6 +612,8 @@ module Aws::IoTSiteWise
|
|
604
612
|
CreatePortalRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "roleArn"))
|
605
613
|
CreatePortalRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
606
614
|
CreatePortalRequest.add_member(:portal_auth_mode, Shapes::ShapeRef.new(shape: AuthMode, location_name: "portalAuthMode"))
|
615
|
+
CreatePortalRequest.add_member(:notification_sender_email, Shapes::ShapeRef.new(shape: Email, location_name: "notificationSenderEmail"))
|
616
|
+
CreatePortalRequest.add_member(:alarms, Shapes::ShapeRef.new(shape: Alarms, location_name: "alarms"))
|
607
617
|
CreatePortalRequest.struct_class = Types::CreatePortalRequest
|
608
618
|
|
609
619
|
CreatePortalResponse.add_member(:portal_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "portalId"))
|
@@ -613,14 +623,6 @@ module Aws::IoTSiteWise
|
|
613
623
|
CreatePortalResponse.add_member(:sso_application_id, Shapes::ShapeRef.new(shape: SSOApplicationId, required: true, location_name: "ssoApplicationId"))
|
614
624
|
CreatePortalResponse.struct_class = Types::CreatePortalResponse
|
615
625
|
|
616
|
-
CreatePresignedPortalUrlRequest.add_member(:portal_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "portalId"))
|
617
|
-
CreatePresignedPortalUrlRequest.add_member(:session_duration_seconds, Shapes::ShapeRef.new(shape: SessionDurationSeconds, location_name: "sessionDurationSeconds"))
|
618
|
-
CreatePresignedPortalUrlRequest.add_member(:state, Shapes::ShapeRef.new(shape: state, location_name: "state"))
|
619
|
-
CreatePresignedPortalUrlRequest.struct_class = Types::CreatePresignedPortalUrlRequest
|
620
|
-
|
621
|
-
CreatePresignedPortalUrlResponse.add_member(:presigned_portal_url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "presignedPortalUrl"))
|
622
|
-
CreatePresignedPortalUrlResponse.struct_class = Types::CreatePresignedPortalUrlResponse
|
623
|
-
|
624
626
|
CreateProjectRequest.add_member(:portal_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "portalId"))
|
625
627
|
CreateProjectRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "projectName"))
|
626
628
|
CreateProjectRequest.add_member(:project_description, Shapes::ShapeRef.new(shape: Description, location_name: "projectDescription"))
|
@@ -799,6 +801,8 @@ module Aws::IoTSiteWise
|
|
799
801
|
DescribePortalResponse.add_member(:portal_logo_image_location, Shapes::ShapeRef.new(shape: ImageLocation, location_name: "portalLogoImageLocation"))
|
800
802
|
DescribePortalResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "roleArn"))
|
801
803
|
DescribePortalResponse.add_member(:portal_auth_mode, Shapes::ShapeRef.new(shape: AuthMode, location_name: "portalAuthMode"))
|
804
|
+
DescribePortalResponse.add_member(:notification_sender_email, Shapes::ShapeRef.new(shape: Email, location_name: "notificationSenderEmail"))
|
805
|
+
DescribePortalResponse.add_member(:alarms, Shapes::ShapeRef.new(shape: Alarms, location_name: "alarms"))
|
802
806
|
DescribePortalResponse.struct_class = Types::DescribePortalResponse
|
803
807
|
|
804
808
|
DescribeProjectRequest.add_member(:project_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "projectId"))
|
@@ -887,6 +891,24 @@ module Aws::IoTSiteWise
|
|
887
891
|
GetAssetPropertyValueResponse.add_member(:property_value, Shapes::ShapeRef.new(shape: AssetPropertyValue, location_name: "propertyValue"))
|
888
892
|
GetAssetPropertyValueResponse.struct_class = Types::GetAssetPropertyValueResponse
|
889
893
|
|
894
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, location: "querystring", location_name: "assetId"))
|
895
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:property_id, Shapes::ShapeRef.new(shape: ID, location: "querystring", location_name: "propertyId"))
|
896
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:property_alias, Shapes::ShapeRef.new(shape: AssetPropertyAlias, location: "querystring", location_name: "propertyAlias"))
|
897
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:start_time_in_seconds, Shapes::ShapeRef.new(shape: TimeInSeconds, required: true, location: "querystring", location_name: "startTimeInSeconds"))
|
898
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:start_time_offset_in_nanos, Shapes::ShapeRef.new(shape: OffsetInNanos, location: "querystring", location_name: "startTimeOffsetInNanos"))
|
899
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:end_time_in_seconds, Shapes::ShapeRef.new(shape: TimeInSeconds, required: true, location: "querystring", location_name: "endTimeInSeconds"))
|
900
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:end_time_offset_in_nanos, Shapes::ShapeRef.new(shape: OffsetInNanos, location: "querystring", location_name: "endTimeOffsetInNanos"))
|
901
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:quality, Shapes::ShapeRef.new(shape: Quality, required: true, location: "querystring", location_name: "quality"))
|
902
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:interval_in_seconds, Shapes::ShapeRef.new(shape: IntervalInSeconds, required: true, location: "querystring", location_name: "intervalInSeconds"))
|
903
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
904
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxInterpolatedResults, location: "querystring", location_name: "maxResults"))
|
905
|
+
GetInterpolatedAssetPropertyValuesRequest.add_member(:type, Shapes::ShapeRef.new(shape: InterpolationType, required: true, location: "querystring", location_name: "type"))
|
906
|
+
GetInterpolatedAssetPropertyValuesRequest.struct_class = Types::GetInterpolatedAssetPropertyValuesRequest
|
907
|
+
|
908
|
+
GetInterpolatedAssetPropertyValuesResponse.add_member(:interpolated_asset_property_values, Shapes::ShapeRef.new(shape: InterpolatedAssetPropertyValues, required: true, location_name: "interpolatedAssetPropertyValues"))
|
909
|
+
GetInterpolatedAssetPropertyValuesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
910
|
+
GetInterpolatedAssetPropertyValuesResponse.struct_class = Types::GetInterpolatedAssetPropertyValuesResponse
|
911
|
+
|
890
912
|
Greengrass.add_member(:group_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "groupArn"))
|
891
913
|
Greengrass.struct_class = Types::Greengrass
|
892
914
|
|
@@ -922,6 +944,12 @@ module Aws::IoTSiteWise
|
|
922
944
|
InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
923
945
|
InternalFailureException.struct_class = Types::InternalFailureException
|
924
946
|
|
947
|
+
InterpolatedAssetPropertyValue.add_member(:timestamp, Shapes::ShapeRef.new(shape: TimeInNanos, required: true, location_name: "timestamp"))
|
948
|
+
InterpolatedAssetPropertyValue.add_member(:value, Shapes::ShapeRef.new(shape: Variant, required: true, location_name: "value"))
|
949
|
+
InterpolatedAssetPropertyValue.struct_class = Types::InterpolatedAssetPropertyValue
|
950
|
+
|
951
|
+
InterpolatedAssetPropertyValues.member = Shapes::ShapeRef.new(shape: InterpolatedAssetPropertyValue)
|
952
|
+
|
925
953
|
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
926
954
|
InvalidRequestException.struct_class = Types::InvalidRequestException
|
927
955
|
|
@@ -1241,6 +1269,8 @@ module Aws::IoTSiteWise
|
|
1241
1269
|
UpdatePortalRequest.add_member(:portal_logo_image, Shapes::ShapeRef.new(shape: Image, location_name: "portalLogoImage"))
|
1242
1270
|
UpdatePortalRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "roleArn"))
|
1243
1271
|
UpdatePortalRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1272
|
+
UpdatePortalRequest.add_member(:notification_sender_email, Shapes::ShapeRef.new(shape: Email, location_name: "notificationSenderEmail"))
|
1273
|
+
UpdatePortalRequest.add_member(:alarms, Shapes::ShapeRef.new(shape: Alarms, location_name: "alarms"))
|
1244
1274
|
UpdatePortalRequest.struct_class = Types::UpdatePortalRequest
|
1245
1275
|
|
1246
1276
|
UpdatePortalResponse.add_member(:portal_status, Shapes::ShapeRef.new(shape: PortalStatus, required: true, location_name: "portalStatus"))
|
@@ -1451,20 +1481,6 @@ module Aws::IoTSiteWise
|
|
1451
1481
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1452
1482
|
end)
|
1453
1483
|
|
1454
|
-
api.add_operation(:create_presigned_portal_url, Seahorse::Model::Operation.new.tap do |o|
|
1455
|
-
o.name = "CreatePresignedPortalUrl"
|
1456
|
-
o.http_method = "POST"
|
1457
|
-
o.http_request_uri = "/portals/{portalId}/presigned-url"
|
1458
|
-
o.endpoint_pattern = {
|
1459
|
-
"hostPrefix" => "monitor.",
|
1460
|
-
}
|
1461
|
-
o.input = Shapes::ShapeRef.new(shape: CreatePresignedPortalUrlRequest)
|
1462
|
-
o.output = Shapes::ShapeRef.new(shape: CreatePresignedPortalUrlResponse)
|
1463
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1464
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1465
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1466
|
-
end)
|
1467
|
-
|
1468
1484
|
api.add_operation(:create_project, Seahorse::Model::Operation.new.tap do |o|
|
1469
1485
|
o.name = "CreateProject"
|
1470
1486
|
o.http_method = "POST"
|
@@ -1826,6 +1842,28 @@ module Aws::IoTSiteWise
|
|
1826
1842
|
)
|
1827
1843
|
end)
|
1828
1844
|
|
1845
|
+
api.add_operation(:get_interpolated_asset_property_values, Seahorse::Model::Operation.new.tap do |o|
|
1846
|
+
o.name = "GetInterpolatedAssetPropertyValues"
|
1847
|
+
o.http_method = "GET"
|
1848
|
+
o.http_request_uri = "/properties/interpolated"
|
1849
|
+
o.endpoint_pattern = {
|
1850
|
+
"hostPrefix" => "data.",
|
1851
|
+
}
|
1852
|
+
o.input = Shapes::ShapeRef.new(shape: GetInterpolatedAssetPropertyValuesRequest)
|
1853
|
+
o.output = Shapes::ShapeRef.new(shape: GetInterpolatedAssetPropertyValuesResponse)
|
1854
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1855
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1856
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1857
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1858
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1859
|
+
o[:pager] = Aws::Pager.new(
|
1860
|
+
limit_key: "max_results",
|
1861
|
+
tokens: {
|
1862
|
+
"next_token" => "next_token"
|
1863
|
+
}
|
1864
|
+
)
|
1865
|
+
end)
|
1866
|
+
|
1829
1867
|
api.add_operation(:list_access_policies, Seahorse::Model::Operation.new.tap do |o|
|
1830
1868
|
o.name = "ListAccessPolicies"
|
1831
1869
|
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
|
|
@@ -112,6 +112,46 @@ module Aws::IoTSiteWise
|
|
112
112
|
include Aws::Structure
|
113
113
|
end
|
114
114
|
|
115
|
+
# Contains the configuration information of an alarm created in an AWS
|
116
|
+
# IoT SiteWise Monitor portal. You can use the alarm to monitor an asset
|
117
|
+
# property and get notified when the asset property value is outside a
|
118
|
+
# specified range. For more information, see .
|
119
|
+
#
|
120
|
+
# @note When making an API call, you may pass Alarms
|
121
|
+
# data as a hash:
|
122
|
+
#
|
123
|
+
# {
|
124
|
+
# alarm_role_arn: "ARN", # required
|
125
|
+
# notification_lambda_arn: "ARN",
|
126
|
+
# }
|
127
|
+
#
|
128
|
+
# @!attribute [rw] alarm_role_arn
|
129
|
+
# The [ARN][1] of the IAM role that allows the alarm to perform
|
130
|
+
# actions and access AWS resources, including AWS IoT Events.
|
131
|
+
#
|
132
|
+
#
|
133
|
+
#
|
134
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
135
|
+
# @return [String]
|
136
|
+
#
|
137
|
+
# @!attribute [rw] notification_lambda_arn
|
138
|
+
# The [ARN][1] of the AWS Lambda function that manages alarm
|
139
|
+
# notifications. For more information, see [Managing alarm
|
140
|
+
# notifications][2] in the *AWS IoT Events Developer Guide*.
|
141
|
+
#
|
142
|
+
#
|
143
|
+
#
|
144
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
145
|
+
# [2]: https://docs.aws.amazon.com/
|
146
|
+
# @return [String]
|
147
|
+
#
|
148
|
+
class Alarms < Struct.new(
|
149
|
+
:alarm_role_arn,
|
150
|
+
:notification_lambda_arn)
|
151
|
+
SENSITIVE = []
|
152
|
+
include Aws::Structure
|
153
|
+
end
|
154
|
+
|
115
155
|
# Contains information about a composite model in an asset. This object
|
116
156
|
# contains the asset's properties that you define in the composite
|
117
157
|
# model.
|
@@ -1842,6 +1882,11 @@ module Aws::IoTSiteWise
|
|
1842
1882
|
# "TagKey" => "TagValue",
|
1843
1883
|
# },
|
1844
1884
|
# portal_auth_mode: "IAM", # accepts IAM, SSO
|
1885
|
+
# notification_sender_email: "Email",
|
1886
|
+
# alarms: {
|
1887
|
+
# alarm_role_arn: "ARN", # required
|
1888
|
+
# notification_lambda_arn: "ARN",
|
1889
|
+
# },
|
1845
1890
|
# }
|
1846
1891
|
#
|
1847
1892
|
# @!attribute [rw] portal_name
|
@@ -1916,6 +1961,25 @@ module Aws::IoTSiteWise
|
|
1916
1961
|
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-get-started.html#mon-gs-sso
|
1917
1962
|
# @return [String]
|
1918
1963
|
#
|
1964
|
+
# @!attribute [rw] notification_sender_email
|
1965
|
+
# The email address that sends alarm notifications.
|
1966
|
+
#
|
1967
|
+
# If you use the AWS IoT Events managed AWS Lambda function to manage
|
1968
|
+
# your emails, you must [verify the sender email address in Amazon
|
1969
|
+
# SES][1].
|
1970
|
+
#
|
1971
|
+
#
|
1972
|
+
#
|
1973
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-email-addresses.html
|
1974
|
+
# @return [String]
|
1975
|
+
#
|
1976
|
+
# @!attribute [rw] alarms
|
1977
|
+
# Contains the configuration information of an alarm created in an AWS
|
1978
|
+
# IoT SiteWise Monitor portal. You can use the alarm to monitor an
|
1979
|
+
# asset property and get notified when the asset property value is
|
1980
|
+
# outside a specified range. For more information, see .
|
1981
|
+
# @return [Types::Alarms]
|
1982
|
+
#
|
1919
1983
|
class CreatePortalRequest < Struct.new(
|
1920
1984
|
:portal_name,
|
1921
1985
|
:portal_description,
|
@@ -1924,7 +1988,9 @@ module Aws::IoTSiteWise
|
|
1924
1988
|
:portal_logo_image_file,
|
1925
1989
|
:role_arn,
|
1926
1990
|
:tags,
|
1927
|
-
:portal_auth_mode
|
1991
|
+
:portal_auth_mode,
|
1992
|
+
:notification_sender_email,
|
1993
|
+
:alarms)
|
1928
1994
|
SENSITIVE = []
|
1929
1995
|
include Aws::Structure
|
1930
1996
|
end
|
@@ -1969,41 +2035,6 @@ module Aws::IoTSiteWise
|
|
1969
2035
|
include Aws::Structure
|
1970
2036
|
end
|
1971
2037
|
|
1972
|
-
# @note When making an API call, you may pass CreatePresignedPortalUrlRequest
|
1973
|
-
# data as a hash:
|
1974
|
-
#
|
1975
|
-
# {
|
1976
|
-
# portal_id: "ID", # required
|
1977
|
-
# session_duration_seconds: 1,
|
1978
|
-
# state: "state",
|
1979
|
-
# }
|
1980
|
-
#
|
1981
|
-
# @!attribute [rw] portal_id
|
1982
|
-
# @return [String]
|
1983
|
-
#
|
1984
|
-
# @!attribute [rw] session_duration_seconds
|
1985
|
-
# @return [Integer]
|
1986
|
-
#
|
1987
|
-
# @!attribute [rw] state
|
1988
|
-
# @return [String]
|
1989
|
-
#
|
1990
|
-
class CreatePresignedPortalUrlRequest < Struct.new(
|
1991
|
-
:portal_id,
|
1992
|
-
:session_duration_seconds,
|
1993
|
-
:state)
|
1994
|
-
SENSITIVE = []
|
1995
|
-
include Aws::Structure
|
1996
|
-
end
|
1997
|
-
|
1998
|
-
# @!attribute [rw] presigned_portal_url
|
1999
|
-
# @return [String]
|
2000
|
-
#
|
2001
|
-
class CreatePresignedPortalUrlResponse < Struct.new(
|
2002
|
-
:presigned_portal_url)
|
2003
|
-
SENSITIVE = []
|
2004
|
-
include Aws::Structure
|
2005
|
-
end
|
2006
|
-
|
2007
2038
|
# @note When making an API call, you may pass CreateProjectRequest
|
2008
2039
|
# data as a hash:
|
2009
2040
|
#
|
@@ -2969,6 +3000,15 @@ module Aws::IoTSiteWise
|
|
2969
3000
|
# The service to use to authenticate users to the portal.
|
2970
3001
|
# @return [String]
|
2971
3002
|
#
|
3003
|
+
# @!attribute [rw] notification_sender_email
|
3004
|
+
# The email address that sends alarm notifications.
|
3005
|
+
# @return [String]
|
3006
|
+
#
|
3007
|
+
# @!attribute [rw] alarms
|
3008
|
+
# Contains the configuration information of an alarm created in a AWS
|
3009
|
+
# IoT SiteWise Monitor portal.
|
3010
|
+
# @return [Types::Alarms]
|
3011
|
+
#
|
2972
3012
|
class DescribePortalResponse < Struct.new(
|
2973
3013
|
:portal_id,
|
2974
3014
|
:portal_arn,
|
@@ -2982,7 +3022,9 @@ module Aws::IoTSiteWise
|
|
2982
3022
|
:portal_last_update_date,
|
2983
3023
|
:portal_logo_image_location,
|
2984
3024
|
:role_arn,
|
2985
|
-
:portal_auth_mode
|
3025
|
+
:portal_auth_mode,
|
3026
|
+
:notification_sender_email,
|
3027
|
+
:alarms)
|
2986
3028
|
SENSITIVE = []
|
2987
3029
|
include Aws::Structure
|
2988
3030
|
end
|
@@ -3483,6 +3525,121 @@ module Aws::IoTSiteWise
|
|
3483
3525
|
include Aws::Structure
|
3484
3526
|
end
|
3485
3527
|
|
3528
|
+
# @note When making an API call, you may pass GetInterpolatedAssetPropertyValuesRequest
|
3529
|
+
# data as a hash:
|
3530
|
+
#
|
3531
|
+
# {
|
3532
|
+
# asset_id: "ID",
|
3533
|
+
# property_id: "ID",
|
3534
|
+
# property_alias: "AssetPropertyAlias",
|
3535
|
+
# start_time_in_seconds: 1, # required
|
3536
|
+
# start_time_offset_in_nanos: 1,
|
3537
|
+
# end_time_in_seconds: 1, # required
|
3538
|
+
# end_time_offset_in_nanos: 1,
|
3539
|
+
# quality: "GOOD", # required, accepts GOOD, BAD, UNCERTAIN
|
3540
|
+
# interval_in_seconds: 1, # required
|
3541
|
+
# next_token: "NextToken",
|
3542
|
+
# max_results: 1,
|
3543
|
+
# type: "InterpolationType", # required
|
3544
|
+
# }
|
3545
|
+
#
|
3546
|
+
# @!attribute [rw] asset_id
|
3547
|
+
# The ID of the asset.
|
3548
|
+
# @return [String]
|
3549
|
+
#
|
3550
|
+
# @!attribute [rw] property_id
|
3551
|
+
# The ID of the asset property.
|
3552
|
+
# @return [String]
|
3553
|
+
#
|
3554
|
+
# @!attribute [rw] property_alias
|
3555
|
+
# The property alias that identifies the property, such as an OPC-UA
|
3556
|
+
# server data stream path (for example,
|
3557
|
+
# `/company/windfarm/3/turbine/7/temperature`). For more information,
|
3558
|
+
# see [Mapping industrial data streams to asset properties][1] in the
|
3559
|
+
# *AWS IoT SiteWise User Guide*.
|
3560
|
+
#
|
3561
|
+
#
|
3562
|
+
#
|
3563
|
+
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html
|
3564
|
+
# @return [String]
|
3565
|
+
#
|
3566
|
+
# @!attribute [rw] start_time_in_seconds
|
3567
|
+
# The exclusive start of the range from which to interpolate data,
|
3568
|
+
# expressed in seconds in Unix epoch time.
|
3569
|
+
# @return [Integer]
|
3570
|
+
#
|
3571
|
+
# @!attribute [rw] start_time_offset_in_nanos
|
3572
|
+
# The nanosecond offset converted from `startTimeInSeconds`.
|
3573
|
+
# @return [Integer]
|
3574
|
+
#
|
3575
|
+
# @!attribute [rw] end_time_in_seconds
|
3576
|
+
# The inclusive end of the range from which to interpolate data,
|
3577
|
+
# expressed in seconds in Unix epoch time.
|
3578
|
+
# @return [Integer]
|
3579
|
+
#
|
3580
|
+
# @!attribute [rw] end_time_offset_in_nanos
|
3581
|
+
# The nanosecond offset converted from `endTimeInSeconds`.
|
3582
|
+
# @return [Integer]
|
3583
|
+
#
|
3584
|
+
# @!attribute [rw] quality
|
3585
|
+
# The quality of the asset property value. You can use this parameter
|
3586
|
+
# as a filter to choose only the asset property values that have a
|
3587
|
+
# specific quality.
|
3588
|
+
# @return [String]
|
3589
|
+
#
|
3590
|
+
# @!attribute [rw] interval_in_seconds
|
3591
|
+
# The time interval in seconds over which to interpolate data. Each
|
3592
|
+
# interval starts when the previous one ends.
|
3593
|
+
# @return [Integer]
|
3594
|
+
#
|
3595
|
+
# @!attribute [rw] next_token
|
3596
|
+
# The token to be used for the next set of paginated results.
|
3597
|
+
# @return [String]
|
3598
|
+
#
|
3599
|
+
# @!attribute [rw] max_results
|
3600
|
+
# The maximum number of results to be returned per paginated request.
|
3601
|
+
# If not specified, the default value is 10.
|
3602
|
+
# @return [Integer]
|
3603
|
+
#
|
3604
|
+
# @!attribute [rw] type
|
3605
|
+
# The interpolation type.
|
3606
|
+
#
|
3607
|
+
# Valid values: `LINEAR_INTERPOLATION`
|
3608
|
+
# @return [String]
|
3609
|
+
#
|
3610
|
+
class GetInterpolatedAssetPropertyValuesRequest < Struct.new(
|
3611
|
+
:asset_id,
|
3612
|
+
:property_id,
|
3613
|
+
:property_alias,
|
3614
|
+
:start_time_in_seconds,
|
3615
|
+
:start_time_offset_in_nanos,
|
3616
|
+
:end_time_in_seconds,
|
3617
|
+
:end_time_offset_in_nanos,
|
3618
|
+
:quality,
|
3619
|
+
:interval_in_seconds,
|
3620
|
+
:next_token,
|
3621
|
+
:max_results,
|
3622
|
+
:type)
|
3623
|
+
SENSITIVE = []
|
3624
|
+
include Aws::Structure
|
3625
|
+
end
|
3626
|
+
|
3627
|
+
# @!attribute [rw] interpolated_asset_property_values
|
3628
|
+
# The requested interpolated values.
|
3629
|
+
# @return [Array<Types::InterpolatedAssetPropertyValue>]
|
3630
|
+
#
|
3631
|
+
# @!attribute [rw] next_token
|
3632
|
+
# The token for the next set of results, or null if there are no
|
3633
|
+
# additional results.
|
3634
|
+
# @return [String]
|
3635
|
+
#
|
3636
|
+
class GetInterpolatedAssetPropertyValuesResponse < Struct.new(
|
3637
|
+
:interpolated_asset_property_values,
|
3638
|
+
:next_token)
|
3639
|
+
SENSITIVE = []
|
3640
|
+
include Aws::Structure
|
3641
|
+
end
|
3642
|
+
|
3486
3643
|
# Contains details for a gateway that runs on AWS IoT Greengrass. To
|
3487
3644
|
# create a gateway that runs on AWS IoT Greengrass, you must add the IoT
|
3488
3645
|
# SiteWise connector to a Greengrass group and deploy it. Your
|
@@ -3559,7 +3716,7 @@ module Aws::IoTSiteWise
|
|
3559
3716
|
#
|
3560
3717
|
#
|
3561
3718
|
#
|
3562
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.
|
3719
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
|
3563
3720
|
# @return [String]
|
3564
3721
|
#
|
3565
3722
|
class IAMRoleIdentity < Struct.new(
|
@@ -3746,6 +3903,23 @@ module Aws::IoTSiteWise
|
|
3746
3903
|
include Aws::Structure
|
3747
3904
|
end
|
3748
3905
|
|
3906
|
+
# Contains information about an interpolated asset property value.
|
3907
|
+
#
|
3908
|
+
# @!attribute [rw] timestamp
|
3909
|
+
# Contains a timestamp with optional nanosecond granularity.
|
3910
|
+
# @return [Types::TimeInNanos]
|
3911
|
+
#
|
3912
|
+
# @!attribute [rw] value
|
3913
|
+
# Contains an asset property value (of a single type only).
|
3914
|
+
# @return [Types::Variant]
|
3915
|
+
#
|
3916
|
+
class InterpolatedAssetPropertyValue < Struct.new(
|
3917
|
+
:timestamp,
|
3918
|
+
:value)
|
3919
|
+
SENSITIVE = []
|
3920
|
+
include Aws::Structure
|
3921
|
+
end
|
3922
|
+
|
3749
3923
|
# The request isn't valid. This can occur if your request contains
|
3750
3924
|
# malformed JSON or unsupported characters. Check your request and try
|
3751
3925
|
# again.
|
@@ -5797,6 +5971,11 @@ module Aws::IoTSiteWise
|
|
5797
5971
|
# },
|
5798
5972
|
# role_arn: "ARN", # required
|
5799
5973
|
# client_token: "ClientToken",
|
5974
|
+
# notification_sender_email: "Email",
|
5975
|
+
# alarms: {
|
5976
|
+
# alarm_role_arn: "ARN", # required
|
5977
|
+
# notification_lambda_arn: "ARN",
|
5978
|
+
# },
|
5800
5979
|
# }
|
5801
5980
|
#
|
5802
5981
|
# @!attribute [rw] portal_id
|
@@ -5845,6 +6024,17 @@ module Aws::IoTSiteWise
|
|
5845
6024
|
# not need to pass this option.
|
5846
6025
|
# @return [String]
|
5847
6026
|
#
|
6027
|
+
# @!attribute [rw] notification_sender_email
|
6028
|
+
# The email address that sends alarm notifications.
|
6029
|
+
# @return [String]
|
6030
|
+
#
|
6031
|
+
# @!attribute [rw] alarms
|
6032
|
+
# Contains the configuration information of an alarm created in an AWS
|
6033
|
+
# IoT SiteWise Monitor portal. You can use the alarm to monitor an
|
6034
|
+
# asset property and get notified when the asset property value is
|
6035
|
+
# outside a specified range. For more information, see .
|
6036
|
+
# @return [Types::Alarms]
|
6037
|
+
#
|
5848
6038
|
class UpdatePortalRequest < Struct.new(
|
5849
6039
|
:portal_id,
|
5850
6040
|
:portal_name,
|
@@ -5852,7 +6042,9 @@ module Aws::IoTSiteWise
|
|
5852
6042
|
:portal_contact_email,
|
5853
6043
|
:portal_logo_image,
|
5854
6044
|
:role_arn,
|
5855
|
-
:client_token
|
6045
|
+
:client_token,
|
6046
|
+
:notification_sender_email,
|
6047
|
+
:alarms)
|
5856
6048
|
SENSITIVE = []
|
5857
6049
|
include Aws::Structure
|
5858
6050
|
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
|
|
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.23.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-27 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
|