aws-sdk-iotsitewise 1.15.0 → 1.20.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 +113 -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 +256 -50
- data/lib/aws-sdk-iotsitewise/client_api.rb +112 -26
- data/lib/aws-sdk-iotsitewise/errors.rb +17 -1
- data/lib/aws-sdk-iotsitewise/resource.rb +1 -1
- data/lib/aws-sdk-iotsitewise/types.rb +582 -78
- data/lib/aws-sdk-iotsitewise/waiters.rb +1 -1
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13009361c45d7e330614a973b39a0383f9ad019668865a0fef6724281e954ef4
|
4
|
+
data.tar.gz: 1b616702b3cddd23488527717567f618e650a5d369237be493a75ef46525227d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ed37dd23f87c55a9b9860d0305dec40fa296ae4802a3e7f745c87de14096f3978e052abd646ace207b6c8912935bb21103971b7c6f4b4ec5d21affdb1aef15c
|
7
|
+
data.tar.gz: 392780877cf6b4158466571310c6034c2d13e08e136a1446ab45b8e0c5810b1bcd824b8cfb9ce2c0f78debc5f4e166e44d757a49df749c76312e1b2fb063f245
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.20.0 (2021-03-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.19.0 (2021-02-08)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Recall CreatePresignedPortalUrl API
|
13
|
+
|
14
|
+
1.18.0 (2021-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Update AccessPolicy API input to support IAM role for IAM mode. Iam role is added as part of accessPolicyIdentity.
|
18
|
+
|
19
|
+
1.17.0 (2021-02-02)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.16.0 (2020-12-11)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Added the ListAssetRelationships operation and support for composite asset models, which represent structured sets of properties within asset models.
|
28
|
+
|
29
|
+
1.15.0 (2020-11-24)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - This release adds support for customer managed customer master key (CMK) based encryption in IoT SiteWise.
|
33
|
+
|
34
|
+
1.14.0 (2020-11-16)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* 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.
|
38
|
+
|
39
|
+
1.13.0 (2020-11-06)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Remove the CreatePresignedPortalUrl API
|
43
|
+
|
44
|
+
1.12.0 (2020-09-30)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
49
|
+
1.11.0 (2020-09-21)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - This release supports IAM mode for SiteWise Monitor portals
|
53
|
+
|
54
|
+
1.10.0 (2020-09-15)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
58
|
+
|
59
|
+
1.9.0 (2020-08-25)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
63
|
+
|
64
|
+
1.8.0 (2020-08-24)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Feature - Add traversalDirection to ListAssociatedAssetsRequest and add portal status to ListPortalsResponse
|
68
|
+
|
69
|
+
1.7.0 (2020-07-06)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* Feature - This release supports optional start date and end date parameters for the GetAssetPropertyValueHistory API.
|
73
|
+
|
74
|
+
1.6.0 (2020-06-23)
|
75
|
+
------------------
|
76
|
+
|
77
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
78
|
+
|
79
|
+
1.5.1 (2020-06-11)
|
80
|
+
------------------
|
81
|
+
|
82
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
83
|
+
|
84
|
+
1.5.0 (2020-06-10)
|
85
|
+
------------------
|
86
|
+
|
87
|
+
* Issue - This version has been yanked. (#2327).
|
88
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
89
|
+
|
90
|
+
1.4.0 (2020-05-28)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
94
|
+
|
95
|
+
1.3.0 (2020-05-22)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - This release adds support for the standard deviation auto-computed aggregate and improved support for portal logo images in SiteWise.
|
99
|
+
|
100
|
+
1.2.0 (2020-05-12)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - Documentation updates for iot-bifrost
|
104
|
+
|
105
|
+
1.1.0 (2020-05-07)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
109
|
+
|
110
|
+
1.0.0 (2020-04-29)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* 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.20.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.20.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
|
|
@@ -477,10 +477,10 @@ module Aws::IoTSiteWise
|
|
477
477
|
# property's alias, see [UpdateAssetProperty][2].
|
478
478
|
#
|
479
479
|
# With respect to Unix epoch time, AWS IoT SiteWise accepts only TQVs
|
480
|
-
# that have a timestamp of no more than
|
481
|
-
#
|
482
|
-
# outside of the inclusive range of \[-
|
483
|
-
# `TimestampOutOfRangeException` error.
|
480
|
+
# that have a timestamp of no more than 7 days in the past and no more
|
481
|
+
# than 5 minutes in the future. AWS IoT SiteWise rejects timestamps
|
482
|
+
# outside of the inclusive range of \[-7 days, +5 minutes\] and returns
|
483
|
+
# a `TimestampOutOfRangeException` error.
|
484
484
|
#
|
485
485
|
# For each asset property, AWS IoT SiteWise overwrites TQVs with
|
486
486
|
# duplicate timestamps unless the newer TQV has a different quality. For
|
@@ -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: {
|
@@ -736,6 +739,13 @@ module Aws::IoTSiteWise
|
|
736
739
|
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html
|
737
740
|
# [2]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html
|
738
741
|
#
|
742
|
+
# @option params [Array<Types::AssetModelCompositeModelDefinition>] :asset_model_composite_models
|
743
|
+
# The composite asset models that are part of this asset model.
|
744
|
+
# Composite asset models are asset models that contain specific
|
745
|
+
# properties. Each composite model has a type that defines the
|
746
|
+
# properties that the composite model supports. Use composite asset
|
747
|
+
# models to define alarms on this asset model.
|
748
|
+
#
|
739
749
|
# @option params [String] :client_token
|
740
750
|
# A unique case-sensitive identifier that you can provide to ensure the
|
741
751
|
# idempotency of the request. Don't reuse this client token if a new
|
@@ -767,7 +777,8 @@ module Aws::IoTSiteWise
|
|
767
777
|
# asset_model_properties: [
|
768
778
|
# {
|
769
779
|
# name: "Name", # required
|
770
|
-
# data_type: "STRING", # required, accepts STRING, INTEGER, DOUBLE, BOOLEAN
|
780
|
+
# data_type: "STRING", # required, accepts STRING, INTEGER, DOUBLE, BOOLEAN, STRUCT
|
781
|
+
# data_type_spec: "Name",
|
771
782
|
# unit: "PropertyUnit",
|
772
783
|
# type: { # required
|
773
784
|
# attribute: {
|
@@ -813,6 +824,57 @@ module Aws::IoTSiteWise
|
|
813
824
|
# child_asset_model_id: "ID", # required
|
814
825
|
# },
|
815
826
|
# ],
|
827
|
+
# asset_model_composite_models: [
|
828
|
+
# {
|
829
|
+
# name: "Name", # required
|
830
|
+
# description: "Description",
|
831
|
+
# type: "Name", # required
|
832
|
+
# properties: [
|
833
|
+
# {
|
834
|
+
# name: "Name", # required
|
835
|
+
# data_type: "STRING", # required, accepts STRING, INTEGER, DOUBLE, BOOLEAN, STRUCT
|
836
|
+
# data_type_spec: "Name",
|
837
|
+
# unit: "PropertyUnit",
|
838
|
+
# type: { # required
|
839
|
+
# attribute: {
|
840
|
+
# default_value: "DefaultValue",
|
841
|
+
# },
|
842
|
+
# measurement: {
|
843
|
+
# },
|
844
|
+
# transform: {
|
845
|
+
# expression: "Expression", # required
|
846
|
+
# variables: [ # required
|
847
|
+
# {
|
848
|
+
# name: "VariableName", # required
|
849
|
+
# value: { # required
|
850
|
+
# property_id: "Macro", # required
|
851
|
+
# hierarchy_id: "Macro",
|
852
|
+
# },
|
853
|
+
# },
|
854
|
+
# ],
|
855
|
+
# },
|
856
|
+
# metric: {
|
857
|
+
# expression: "Expression", # required
|
858
|
+
# variables: [ # required
|
859
|
+
# {
|
860
|
+
# name: "VariableName", # required
|
861
|
+
# value: { # required
|
862
|
+
# property_id: "Macro", # required
|
863
|
+
# hierarchy_id: "Macro",
|
864
|
+
# },
|
865
|
+
# },
|
866
|
+
# ],
|
867
|
+
# window: { # required
|
868
|
+
# tumbling: {
|
869
|
+
# interval: "Interval", # required
|
870
|
+
# },
|
871
|
+
# },
|
872
|
+
# },
|
873
|
+
# },
|
874
|
+
# },
|
875
|
+
# ],
|
876
|
+
# },
|
877
|
+
# ],
|
816
878
|
# client_token: "ClientToken",
|
817
879
|
# tags: {
|
818
880
|
# "TagKey" => "TagValue",
|
@@ -1024,9 +1086,8 @@ module Aws::IoTSiteWise
|
|
1024
1086
|
# Regions.
|
1025
1087
|
#
|
1026
1088
|
# * `IAM` – The portal uses AWS Identity and Access Management (IAM) to
|
1027
|
-
# authenticate users and manage user permissions.
|
1028
|
-
#
|
1029
|
-
# the portal. This option is only available in the China Regions.
|
1089
|
+
# authenticate users and manage user permissions. This option is only
|
1090
|
+
# available in the China Regions.
|
1030
1091
|
#
|
1031
1092
|
# You can't change this value after you create a portal.
|
1032
1093
|
#
|
@@ -1079,42 +1140,6 @@ module Aws::IoTSiteWise
|
|
1079
1140
|
req.send_request(options)
|
1080
1141
|
end
|
1081
1142
|
|
1082
|
-
# Creates a pre-signed URL to a portal. Use this operation to create
|
1083
|
-
# URLs to portals that use AWS Identity and Access Management (IAM) to
|
1084
|
-
# authenticate users. An IAM user with access to a portal can call this
|
1085
|
-
# API to get a URL to that portal. The URL contains an authentication
|
1086
|
-
# token that lets the IAM user access the portal.
|
1087
|
-
#
|
1088
|
-
# @option params [required, String] :portal_id
|
1089
|
-
# The ID of the portal to access.
|
1090
|
-
#
|
1091
|
-
# @option params [Integer] :session_duration_seconds
|
1092
|
-
# The duration (in seconds) for which the session at the URL is valid.
|
1093
|
-
#
|
1094
|
-
# Default: 43,200 seconds (12 hours)
|
1095
|
-
#
|
1096
|
-
# @return [Types::CreatePresignedPortalUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1097
|
-
#
|
1098
|
-
# * {Types::CreatePresignedPortalUrlResponse#presigned_portal_url #presigned_portal_url} => String
|
1099
|
-
#
|
1100
|
-
# @example Request syntax with placeholder values
|
1101
|
-
#
|
1102
|
-
# resp = client.create_presigned_portal_url({
|
1103
|
-
# portal_id: "ID", # required
|
1104
|
-
# session_duration_seconds: 1,
|
1105
|
-
# })
|
1106
|
-
#
|
1107
|
-
# @example Response structure
|
1108
|
-
#
|
1109
|
-
# resp.presigned_portal_url #=> String
|
1110
|
-
#
|
1111
|
-
# @overload create_presigned_portal_url(params = {})
|
1112
|
-
# @param [Hash] params ({})
|
1113
|
-
def create_presigned_portal_url(params = {}, options = {})
|
1114
|
-
req = build_request(:create_presigned_portal_url, params)
|
1115
|
-
req.send_request(options)
|
1116
|
-
end
|
1117
|
-
|
1118
1143
|
# Creates a project in the specified portal.
|
1119
1144
|
#
|
1120
1145
|
# @option params [required, String] :portal_id
|
@@ -1443,6 +1468,7 @@ module Aws::IoTSiteWise
|
|
1443
1468
|
# resp.access_policy_identity.user.id #=> String
|
1444
1469
|
# resp.access_policy_identity.group.id #=> String
|
1445
1470
|
# resp.access_policy_identity.iam_user.arn #=> String
|
1471
|
+
# resp.access_policy_identity.iam_role.arn #=> String
|
1446
1472
|
# resp.access_policy_resource.portal.id #=> String
|
1447
1473
|
# resp.access_policy_resource.project.id #=> String
|
1448
1474
|
# resp.access_policy_permission #=> String, one of "ADMINISTRATOR", "VIEWER"
|
@@ -1469,6 +1495,7 @@ module Aws::IoTSiteWise
|
|
1469
1495
|
# * {Types::DescribeAssetResponse#asset_model_id #asset_model_id} => String
|
1470
1496
|
# * {Types::DescribeAssetResponse#asset_properties #asset_properties} => Array<Types::AssetProperty>
|
1471
1497
|
# * {Types::DescribeAssetResponse#asset_hierarchies #asset_hierarchies} => Array<Types::AssetHierarchy>
|
1498
|
+
# * {Types::DescribeAssetResponse#asset_composite_models #asset_composite_models} => Array<Types::AssetCompositeModel>
|
1472
1499
|
# * {Types::DescribeAssetResponse#asset_creation_date #asset_creation_date} => Time
|
1473
1500
|
# * {Types::DescribeAssetResponse#asset_last_update_date #asset_last_update_date} => Time
|
1474
1501
|
# * {Types::DescribeAssetResponse#asset_status #asset_status} => Types::AssetStatus
|
@@ -1491,11 +1518,25 @@ module Aws::IoTSiteWise
|
|
1491
1518
|
# resp.asset_properties[0].alias #=> String
|
1492
1519
|
# resp.asset_properties[0].notification.topic #=> String
|
1493
1520
|
# resp.asset_properties[0].notification.state #=> String, one of "ENABLED", "DISABLED"
|
1494
|
-
# resp.asset_properties[0].data_type #=> String, one of "STRING", "INTEGER", "DOUBLE", "BOOLEAN"
|
1521
|
+
# resp.asset_properties[0].data_type #=> String, one of "STRING", "INTEGER", "DOUBLE", "BOOLEAN", "STRUCT"
|
1522
|
+
# resp.asset_properties[0].data_type_spec #=> String
|
1495
1523
|
# resp.asset_properties[0].unit #=> String
|
1496
1524
|
# resp.asset_hierarchies #=> Array
|
1497
1525
|
# resp.asset_hierarchies[0].id #=> String
|
1498
1526
|
# resp.asset_hierarchies[0].name #=> String
|
1527
|
+
# resp.asset_composite_models #=> Array
|
1528
|
+
# resp.asset_composite_models[0].name #=> String
|
1529
|
+
# resp.asset_composite_models[0].description #=> String
|
1530
|
+
# resp.asset_composite_models[0].type #=> String
|
1531
|
+
# resp.asset_composite_models[0].properties #=> Array
|
1532
|
+
# resp.asset_composite_models[0].properties[0].id #=> String
|
1533
|
+
# resp.asset_composite_models[0].properties[0].name #=> String
|
1534
|
+
# resp.asset_composite_models[0].properties[0].alias #=> String
|
1535
|
+
# resp.asset_composite_models[0].properties[0].notification.topic #=> String
|
1536
|
+
# resp.asset_composite_models[0].properties[0].notification.state #=> String, one of "ENABLED", "DISABLED"
|
1537
|
+
# resp.asset_composite_models[0].properties[0].data_type #=> String, one of "STRING", "INTEGER", "DOUBLE", "BOOLEAN", "STRUCT"
|
1538
|
+
# resp.asset_composite_models[0].properties[0].data_type_spec #=> String
|
1539
|
+
# resp.asset_composite_models[0].properties[0].unit #=> String
|
1499
1540
|
# resp.asset_creation_date #=> Time
|
1500
1541
|
# resp.asset_last_update_date #=> Time
|
1501
1542
|
# resp.asset_status.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED"
|
@@ -1528,6 +1569,7 @@ module Aws::IoTSiteWise
|
|
1528
1569
|
# * {Types::DescribeAssetModelResponse#asset_model_description #asset_model_description} => String
|
1529
1570
|
# * {Types::DescribeAssetModelResponse#asset_model_properties #asset_model_properties} => Array<Types::AssetModelProperty>
|
1530
1571
|
# * {Types::DescribeAssetModelResponse#asset_model_hierarchies #asset_model_hierarchies} => Array<Types::AssetModelHierarchy>
|
1572
|
+
# * {Types::DescribeAssetModelResponse#asset_model_composite_models #asset_model_composite_models} => Array<Types::AssetModelCompositeModel>
|
1531
1573
|
# * {Types::DescribeAssetModelResponse#asset_model_creation_date #asset_model_creation_date} => Time
|
1532
1574
|
# * {Types::DescribeAssetModelResponse#asset_model_last_update_date #asset_model_last_update_date} => Time
|
1533
1575
|
# * {Types::DescribeAssetModelResponse#asset_model_status #asset_model_status} => Types::AssetModelStatus
|
@@ -1547,7 +1589,8 @@ module Aws::IoTSiteWise
|
|
1547
1589
|
# resp.asset_model_properties #=> Array
|
1548
1590
|
# resp.asset_model_properties[0].id #=> String
|
1549
1591
|
# resp.asset_model_properties[0].name #=> String
|
1550
|
-
# resp.asset_model_properties[0].data_type #=> String, one of "STRING", "INTEGER", "DOUBLE", "BOOLEAN"
|
1592
|
+
# resp.asset_model_properties[0].data_type #=> String, one of "STRING", "INTEGER", "DOUBLE", "BOOLEAN", "STRUCT"
|
1593
|
+
# resp.asset_model_properties[0].data_type_spec #=> String
|
1551
1594
|
# resp.asset_model_properties[0].unit #=> String
|
1552
1595
|
# resp.asset_model_properties[0].type.attribute.default_value #=> String
|
1553
1596
|
# resp.asset_model_properties[0].type.transform.expression #=> String
|
@@ -1565,6 +1608,28 @@ module Aws::IoTSiteWise
|
|
1565
1608
|
# resp.asset_model_hierarchies[0].id #=> String
|
1566
1609
|
# resp.asset_model_hierarchies[0].name #=> String
|
1567
1610
|
# resp.asset_model_hierarchies[0].child_asset_model_id #=> String
|
1611
|
+
# resp.asset_model_composite_models #=> Array
|
1612
|
+
# resp.asset_model_composite_models[0].name #=> String
|
1613
|
+
# resp.asset_model_composite_models[0].description #=> String
|
1614
|
+
# resp.asset_model_composite_models[0].type #=> String
|
1615
|
+
# resp.asset_model_composite_models[0].properties #=> Array
|
1616
|
+
# resp.asset_model_composite_models[0].properties[0].id #=> String
|
1617
|
+
# resp.asset_model_composite_models[0].properties[0].name #=> String
|
1618
|
+
# resp.asset_model_composite_models[0].properties[0].data_type #=> String, one of "STRING", "INTEGER", "DOUBLE", "BOOLEAN", "STRUCT"
|
1619
|
+
# resp.asset_model_composite_models[0].properties[0].data_type_spec #=> String
|
1620
|
+
# resp.asset_model_composite_models[0].properties[0].unit #=> String
|
1621
|
+
# resp.asset_model_composite_models[0].properties[0].type.attribute.default_value #=> String
|
1622
|
+
# resp.asset_model_composite_models[0].properties[0].type.transform.expression #=> String
|
1623
|
+
# resp.asset_model_composite_models[0].properties[0].type.transform.variables #=> Array
|
1624
|
+
# resp.asset_model_composite_models[0].properties[0].type.transform.variables[0].name #=> String
|
1625
|
+
# resp.asset_model_composite_models[0].properties[0].type.transform.variables[0].value.property_id #=> String
|
1626
|
+
# resp.asset_model_composite_models[0].properties[0].type.transform.variables[0].value.hierarchy_id #=> String
|
1627
|
+
# resp.asset_model_composite_models[0].properties[0].type.metric.expression #=> String
|
1628
|
+
# resp.asset_model_composite_models[0].properties[0].type.metric.variables #=> Array
|
1629
|
+
# resp.asset_model_composite_models[0].properties[0].type.metric.variables[0].name #=> String
|
1630
|
+
# resp.asset_model_composite_models[0].properties[0].type.metric.variables[0].value.property_id #=> String
|
1631
|
+
# resp.asset_model_composite_models[0].properties[0].type.metric.variables[0].value.hierarchy_id #=> String
|
1632
|
+
# resp.asset_model_composite_models[0].properties[0].type.metric.window.tumbling.interval #=> String
|
1568
1633
|
# resp.asset_model_creation_date #=> Time
|
1569
1634
|
# resp.asset_model_last_update_date #=> Time
|
1570
1635
|
# resp.asset_model_status.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "PROPAGATING", "DELETING", "FAILED"
|
@@ -1612,6 +1677,7 @@ module Aws::IoTSiteWise
|
|
1612
1677
|
# * {Types::DescribeAssetPropertyResponse#asset_name #asset_name} => String
|
1613
1678
|
# * {Types::DescribeAssetPropertyResponse#asset_model_id #asset_model_id} => String
|
1614
1679
|
# * {Types::DescribeAssetPropertyResponse#asset_property #asset_property} => Types::Property
|
1680
|
+
# * {Types::DescribeAssetPropertyResponse#composite_model #composite_model} => Types::CompositeModelProperty
|
1615
1681
|
#
|
1616
1682
|
# @example Request syntax with placeholder values
|
1617
1683
|
#
|
@@ -1630,7 +1696,7 @@ module Aws::IoTSiteWise
|
|
1630
1696
|
# resp.asset_property.alias #=> String
|
1631
1697
|
# resp.asset_property.notification.topic #=> String
|
1632
1698
|
# resp.asset_property.notification.state #=> String, one of "ENABLED", "DISABLED"
|
1633
|
-
# resp.asset_property.data_type #=> String, one of "STRING", "INTEGER", "DOUBLE", "BOOLEAN"
|
1699
|
+
# resp.asset_property.data_type #=> String, one of "STRING", "INTEGER", "DOUBLE", "BOOLEAN", "STRUCT"
|
1634
1700
|
# resp.asset_property.unit #=> String
|
1635
1701
|
# resp.asset_property.type.attribute.default_value #=> String
|
1636
1702
|
# resp.asset_property.type.transform.expression #=> String
|
@@ -1644,6 +1710,27 @@ module Aws::IoTSiteWise
|
|
1644
1710
|
# resp.asset_property.type.metric.variables[0].value.property_id #=> String
|
1645
1711
|
# resp.asset_property.type.metric.variables[0].value.hierarchy_id #=> String
|
1646
1712
|
# resp.asset_property.type.metric.window.tumbling.interval #=> String
|
1713
|
+
# resp.composite_model.name #=> String
|
1714
|
+
# resp.composite_model.type #=> String
|
1715
|
+
# resp.composite_model.asset_property.id #=> String
|
1716
|
+
# resp.composite_model.asset_property.name #=> String
|
1717
|
+
# resp.composite_model.asset_property.alias #=> String
|
1718
|
+
# resp.composite_model.asset_property.notification.topic #=> String
|
1719
|
+
# resp.composite_model.asset_property.notification.state #=> String, one of "ENABLED", "DISABLED"
|
1720
|
+
# resp.composite_model.asset_property.data_type #=> String, one of "STRING", "INTEGER", "DOUBLE", "BOOLEAN", "STRUCT"
|
1721
|
+
# resp.composite_model.asset_property.unit #=> String
|
1722
|
+
# resp.composite_model.asset_property.type.attribute.default_value #=> String
|
1723
|
+
# resp.composite_model.asset_property.type.transform.expression #=> String
|
1724
|
+
# resp.composite_model.asset_property.type.transform.variables #=> Array
|
1725
|
+
# resp.composite_model.asset_property.type.transform.variables[0].name #=> String
|
1726
|
+
# resp.composite_model.asset_property.type.transform.variables[0].value.property_id #=> String
|
1727
|
+
# resp.composite_model.asset_property.type.transform.variables[0].value.hierarchy_id #=> String
|
1728
|
+
# resp.composite_model.asset_property.type.metric.expression #=> String
|
1729
|
+
# resp.composite_model.asset_property.type.metric.variables #=> Array
|
1730
|
+
# resp.composite_model.asset_property.type.metric.variables[0].name #=> String
|
1731
|
+
# resp.composite_model.asset_property.type.metric.variables[0].value.property_id #=> String
|
1732
|
+
# resp.composite_model.asset_property.type.metric.variables[0].value.hierarchy_id #=> String
|
1733
|
+
# resp.composite_model.asset_property.type.metric.window.tumbling.interval #=> String
|
1647
1734
|
#
|
1648
1735
|
# @overload describe_asset_property(params = {})
|
1649
1736
|
# @param [Hash] params ({})
|
@@ -2301,6 +2388,7 @@ module Aws::IoTSiteWise
|
|
2301
2388
|
# resp.access_policy_summaries[0].identity.user.id #=> String
|
2302
2389
|
# resp.access_policy_summaries[0].identity.group.id #=> String
|
2303
2390
|
# resp.access_policy_summaries[0].identity.iam_user.arn #=> String
|
2391
|
+
# resp.access_policy_summaries[0].identity.iam_role.arn #=> String
|
2304
2392
|
# resp.access_policy_summaries[0].resource.portal.id #=> String
|
2305
2393
|
# resp.access_policy_summaries[0].resource.project.id #=> String
|
2306
2394
|
# resp.access_policy_summaries[0].permission #=> String, one of "ADMINISTRATOR", "VIEWER"
|
@@ -2360,6 +2448,61 @@ module Aws::IoTSiteWise
|
|
2360
2448
|
req.send_request(options)
|
2361
2449
|
end
|
2362
2450
|
|
2451
|
+
# Retrieves a paginated list of asset relationships for an asset. You
|
2452
|
+
# can use this operation to identify an asset's root asset and all
|
2453
|
+
# associated assets between that asset and its root.
|
2454
|
+
#
|
2455
|
+
# @option params [required, String] :asset_id
|
2456
|
+
# The ID of the asset.
|
2457
|
+
#
|
2458
|
+
# @option params [required, String] :traversal_type
|
2459
|
+
# The type of traversal to use to identify asset relationships. Choose
|
2460
|
+
# the following option:
|
2461
|
+
#
|
2462
|
+
# * `PATH_TO_ROOT` – Identify the asset's parent assets up to the root
|
2463
|
+
# asset. The asset that you specify in `assetId` is the first result
|
2464
|
+
# in the list of `assetRelationshipSummaries`, and the root asset is
|
2465
|
+
# the last result.
|
2466
|
+
#
|
2467
|
+
# ^
|
2468
|
+
#
|
2469
|
+
# @option params [String] :next_token
|
2470
|
+
# The token to be used for the next set of paginated results.
|
2471
|
+
#
|
2472
|
+
# @option params [Integer] :max_results
|
2473
|
+
# The maximum number of results to be returned per paginated request.
|
2474
|
+
#
|
2475
|
+
# @return [Types::ListAssetRelationshipsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2476
|
+
#
|
2477
|
+
# * {Types::ListAssetRelationshipsResponse#asset_relationship_summaries #asset_relationship_summaries} => Array<Types::AssetRelationshipSummary>
|
2478
|
+
# * {Types::ListAssetRelationshipsResponse#next_token #next_token} => String
|
2479
|
+
#
|
2480
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2481
|
+
#
|
2482
|
+
# @example Request syntax with placeholder values
|
2483
|
+
#
|
2484
|
+
# resp = client.list_asset_relationships({
|
2485
|
+
# asset_id: "ID", # required
|
2486
|
+
# traversal_type: "PATH_TO_ROOT", # required, accepts PATH_TO_ROOT
|
2487
|
+
# next_token: "NextToken",
|
2488
|
+
# max_results: 1,
|
2489
|
+
# })
|
2490
|
+
#
|
2491
|
+
# @example Response structure
|
2492
|
+
#
|
2493
|
+
# resp.asset_relationship_summaries #=> Array
|
2494
|
+
# resp.asset_relationship_summaries[0].hierarchy_info.parent_asset_id #=> String
|
2495
|
+
# resp.asset_relationship_summaries[0].hierarchy_info.child_asset_id #=> String
|
2496
|
+
# resp.asset_relationship_summaries[0].relationship_type #=> String, one of "HIERARCHY"
|
2497
|
+
# resp.next_token #=> String
|
2498
|
+
#
|
2499
|
+
# @overload list_asset_relationships(params = {})
|
2500
|
+
# @param [Hash] params ({})
|
2501
|
+
def list_asset_relationships(params = {}, options = {})
|
2502
|
+
req = build_request(:list_asset_relationships, params)
|
2503
|
+
req.send_request(options)
|
2504
|
+
end
|
2505
|
+
|
2363
2506
|
# Retrieves a paginated list of asset summaries.
|
2364
2507
|
#
|
2365
2508
|
# You can use this operation to do the following:
|
@@ -2956,6 +3099,9 @@ module Aws::IoTSiteWise
|
|
2956
3099
|
# iam_user: {
|
2957
3100
|
# arn: "ARN", # required
|
2958
3101
|
# },
|
3102
|
+
# iam_role: {
|
3103
|
+
# arn: "ARN", # required
|
3104
|
+
# },
|
2959
3105
|
# },
|
2960
3106
|
# access_policy_resource: { # required
|
2961
3107
|
# portal: {
|
@@ -3081,6 +3227,13 @@ module Aws::IoTSiteWise
|
|
3081
3227
|
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html
|
3082
3228
|
# [2]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html
|
3083
3229
|
#
|
3230
|
+
# @option params [Array<Types::AssetModelCompositeModel>] :asset_model_composite_models
|
3231
|
+
# The composite asset models that are part of this asset model.
|
3232
|
+
# Composite asset models are asset models that contain specific
|
3233
|
+
# properties. Each composite model has a type that defines the
|
3234
|
+
# properties that the composite model supports. Use composite asset
|
3235
|
+
# models to define alarms on this asset model.
|
3236
|
+
#
|
3084
3237
|
# @option params [String] :client_token
|
3085
3238
|
# A unique case-sensitive identifier that you can provide to ensure the
|
3086
3239
|
# idempotency of the request. Don't reuse this client token if a new
|
@@ -3103,7 +3256,8 @@ module Aws::IoTSiteWise
|
|
3103
3256
|
# {
|
3104
3257
|
# id: "ID",
|
3105
3258
|
# name: "Name", # required
|
3106
|
-
# data_type: "STRING", # required, accepts STRING, INTEGER, DOUBLE, BOOLEAN
|
3259
|
+
# data_type: "STRING", # required, accepts STRING, INTEGER, DOUBLE, BOOLEAN, STRUCT
|
3260
|
+
# data_type_spec: "Name",
|
3107
3261
|
# unit: "PropertyUnit",
|
3108
3262
|
# type: { # required
|
3109
3263
|
# attribute: {
|
@@ -3150,6 +3304,58 @@ module Aws::IoTSiteWise
|
|
3150
3304
|
# child_asset_model_id: "ID", # required
|
3151
3305
|
# },
|
3152
3306
|
# ],
|
3307
|
+
# asset_model_composite_models: [
|
3308
|
+
# {
|
3309
|
+
# name: "Name", # required
|
3310
|
+
# description: "Description",
|
3311
|
+
# type: "Name", # required
|
3312
|
+
# properties: [
|
3313
|
+
# {
|
3314
|
+
# id: "ID",
|
3315
|
+
# name: "Name", # required
|
3316
|
+
# data_type: "STRING", # required, accepts STRING, INTEGER, DOUBLE, BOOLEAN, STRUCT
|
3317
|
+
# data_type_spec: "Name",
|
3318
|
+
# unit: "PropertyUnit",
|
3319
|
+
# type: { # required
|
3320
|
+
# attribute: {
|
3321
|
+
# default_value: "DefaultValue",
|
3322
|
+
# },
|
3323
|
+
# measurement: {
|
3324
|
+
# },
|
3325
|
+
# transform: {
|
3326
|
+
# expression: "Expression", # required
|
3327
|
+
# variables: [ # required
|
3328
|
+
# {
|
3329
|
+
# name: "VariableName", # required
|
3330
|
+
# value: { # required
|
3331
|
+
# property_id: "Macro", # required
|
3332
|
+
# hierarchy_id: "Macro",
|
3333
|
+
# },
|
3334
|
+
# },
|
3335
|
+
# ],
|
3336
|
+
# },
|
3337
|
+
# metric: {
|
3338
|
+
# expression: "Expression", # required
|
3339
|
+
# variables: [ # required
|
3340
|
+
# {
|
3341
|
+
# name: "VariableName", # required
|
3342
|
+
# value: { # required
|
3343
|
+
# property_id: "Macro", # required
|
3344
|
+
# hierarchy_id: "Macro",
|
3345
|
+
# },
|
3346
|
+
# },
|
3347
|
+
# ],
|
3348
|
+
# window: { # required
|
3349
|
+
# tumbling: {
|
3350
|
+
# interval: "Interval", # required
|
3351
|
+
# },
|
3352
|
+
# },
|
3353
|
+
# },
|
3354
|
+
# },
|
3355
|
+
# },
|
3356
|
+
# ],
|
3357
|
+
# },
|
3358
|
+
# ],
|
3153
3359
|
# client_token: "ClientToken",
|
3154
3360
|
# })
|
3155
3361
|
#
|
@@ -3491,7 +3697,7 @@ module Aws::IoTSiteWise
|
|
3491
3697
|
params: params,
|
3492
3698
|
config: config)
|
3493
3699
|
context[:gem_name] = 'aws-sdk-iotsitewise'
|
3494
|
-
context[:gem_version] = '1.
|
3700
|
+
context[:gem_version] = '1.20.0'
|
3495
3701
|
Seahorse::Client::Request.new(handlers, context)
|
3496
3702
|
end
|
3497
3703
|
|