aws-sdk-iotsitewise 1.46.0 → 1.48.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 +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-iotsitewise/client.rb +171 -23
- data/lib/aws-sdk-iotsitewise/client_api.rb +98 -0
- data/lib/aws-sdk-iotsitewise/endpoint_provider.rb +35 -96
- data/lib/aws-sdk-iotsitewise/endpoints.rb +28 -0
- data/lib/aws-sdk-iotsitewise/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-iotsitewise/types.rb +258 -1874
- data/lib/aws-sdk-iotsitewise.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 332d456f7874abacaa0e5c9a3c436ec24568634f99c27f70de17c4359f9e7340
|
4
|
+
data.tar.gz: 9c804624f2014093990ef1c7198662df2978f1b876d9c9d61024f2af1d78d026
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc519ef51b201f422e2df5948da486d8ba98365ae9a173a5146402a7df1c7e2c45e35a787441d873b1bf6bf67daba7f4432b3ce20d67a25aa09b1c8d16f8f24c
|
7
|
+
data.tar.gz: f5877cae94f374cafcd7cd9357b9785cc725685c97b51db2bb81e15e63029e013f6347764b2f8cecc1af0e58aaac721edb74996c613d1f386d071791432340e0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.48.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.47.0 (2022-11-02)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - This release adds the ListAssetModelProperties and ListAssetProperties APIs. You can list all properties that belong to a single asset model or asset using these two new APIs.
|
15
|
+
|
4
16
|
1.46.0 (2022-10-25)
|
5
17
|
------------------
|
6
18
|
|
@@ -240,4 +252,4 @@ Unreleased Changes
|
|
240
252
|
1.0.0 (2020-04-29)
|
241
253
|
------------------
|
242
254
|
|
243
|
-
* Feature - Initial release of `aws-sdk-iotsitewise`.
|
255
|
+
* Feature - Initial release of `aws-sdk-iotsitewise`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.48.0
|
@@ -863,14 +863,13 @@ module Aws::IoTSiteWise
|
|
863
863
|
req.send_request(options)
|
864
864
|
end
|
865
865
|
|
866
|
-
# Creates an access policy that grants the specified identity (
|
867
|
-
#
|
868
|
-
#
|
869
|
-
# resource.
|
866
|
+
# Creates an access policy that grants the specified identity (IAM
|
867
|
+
# Identity Center user, IAM Identity Center group, or IAM user) access
|
868
|
+
# to the specified IoT SiteWise Monitor portal or project resource.
|
870
869
|
#
|
871
870
|
# @option params [required, Types::Identity] :access_policy_identity
|
872
|
-
# The identity for this access policy. Choose an
|
873
|
-
# user, an
|
871
|
+
# The identity for this access policy. Choose an IAM Identity Center
|
872
|
+
# user, an IAM Identity Center group, or an IAM user.
|
874
873
|
#
|
875
874
|
# @option params [required, Types::Resource] :access_policy_resource
|
876
875
|
# The IoT SiteWise Monitor resource for this access policy. Choose
|
@@ -1454,7 +1453,7 @@ module Aws::IoTSiteWise
|
|
1454
1453
|
end
|
1455
1454
|
|
1456
1455
|
# Creates a portal, which can contain projects and dashboards. IoT
|
1457
|
-
# SiteWise Monitor uses
|
1456
|
+
# SiteWise Monitor uses IAM Identity Center or IAM to authenticate
|
1458
1457
|
# portal users and manage user permissions.
|
1459
1458
|
#
|
1460
1459
|
# <note markdown="1"> Before you can sign in to a new portal, you must add at least one
|
@@ -1512,13 +1511,13 @@ module Aws::IoTSiteWise
|
|
1512
1511
|
# The service to use to authenticate users to the portal. Choose from
|
1513
1512
|
# the following options:
|
1514
1513
|
#
|
1515
|
-
# * `SSO` – The portal uses
|
1516
|
-
# authenticate users and manage user permissions. Before
|
1517
|
-
# create a portal that uses
|
1518
|
-
#
|
1519
|
-
#
|
1520
|
-
#
|
1521
|
-
#
|
1514
|
+
# * `SSO` – The portal uses IAM Identity Center (successor to Single
|
1515
|
+
# Sign-On) to authenticate users and manage user permissions. Before
|
1516
|
+
# you can create a portal that uses IAM Identity Center, you must
|
1517
|
+
# enable IAM Identity Center. For more information, see [Enabling IAM
|
1518
|
+
# Identity Center][1] in the *IoT SiteWise User Guide*. This option is
|
1519
|
+
# only available in Amazon Web Services Regions other than the China
|
1520
|
+
# Regions.
|
1522
1521
|
#
|
1523
1522
|
# * `IAM` – The portal uses Identity and Access Management to
|
1524
1523
|
# authenticate users and manage user permissions.
|
@@ -2010,6 +2009,9 @@ module Aws::IoTSiteWise
|
|
2010
2009
|
# @option params [required, String] :asset_id
|
2011
2010
|
# The ID of the asset.
|
2012
2011
|
#
|
2012
|
+
# @option params [Boolean] :exclude_properties
|
2013
|
+
# Whether or not to exclude asset properties from the response.
|
2014
|
+
#
|
2013
2015
|
# @return [Types::DescribeAssetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2014
2016
|
#
|
2015
2017
|
# * {Types::DescribeAssetResponse#asset_id #asset_id} => String
|
@@ -2028,6 +2030,7 @@ module Aws::IoTSiteWise
|
|
2028
2030
|
#
|
2029
2031
|
# resp = client.describe_asset({
|
2030
2032
|
# asset_id: "ID", # required
|
2033
|
+
# exclude_properties: false,
|
2031
2034
|
# })
|
2032
2035
|
#
|
2033
2036
|
# @example Response structure
|
@@ -2061,6 +2064,7 @@ module Aws::IoTSiteWise
|
|
2061
2064
|
# resp.asset_composite_models[0].properties[0].data_type #=> String, one of "STRING", "INTEGER", "DOUBLE", "BOOLEAN", "STRUCT"
|
2062
2065
|
# resp.asset_composite_models[0].properties[0].data_type_spec #=> String
|
2063
2066
|
# resp.asset_composite_models[0].properties[0].unit #=> String
|
2067
|
+
# resp.asset_composite_models[0].id #=> String
|
2064
2068
|
# resp.asset_creation_date #=> Time
|
2065
2069
|
# resp.asset_last_update_date #=> Time
|
2066
2070
|
# resp.asset_status.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED"
|
@@ -2089,6 +2093,9 @@ module Aws::IoTSiteWise
|
|
2089
2093
|
# @option params [required, String] :asset_model_id
|
2090
2094
|
# The ID of the asset model.
|
2091
2095
|
#
|
2096
|
+
# @option params [Boolean] :exclude_properties
|
2097
|
+
# Whether or not to exclude asset model properties from the response.
|
2098
|
+
#
|
2092
2099
|
# @return [Types::DescribeAssetModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2093
2100
|
#
|
2094
2101
|
# * {Types::DescribeAssetModelResponse#asset_model_id #asset_model_id} => String
|
@@ -2106,6 +2113,7 @@ module Aws::IoTSiteWise
|
|
2106
2113
|
#
|
2107
2114
|
# resp = client.describe_asset_model({
|
2108
2115
|
# asset_model_id: "ID", # required
|
2116
|
+
# exclude_properties: false,
|
2109
2117
|
# })
|
2110
2118
|
#
|
2111
2119
|
# @example Response structure
|
@@ -2168,6 +2176,7 @@ module Aws::IoTSiteWise
|
|
2168
2176
|
# resp.asset_model_composite_models[0].properties[0].type.metric.window.tumbling.interval #=> String
|
2169
2177
|
# resp.asset_model_composite_models[0].properties[0].type.metric.window.tumbling.offset #=> String
|
2170
2178
|
# resp.asset_model_composite_models[0].properties[0].type.metric.processing_config.compute_location #=> String, one of "EDGE", "CLOUD"
|
2179
|
+
# resp.asset_model_composite_models[0].id #=> String
|
2171
2180
|
# resp.asset_model_creation_date #=> Time
|
2172
2181
|
# resp.asset_model_last_update_date #=> Time
|
2173
2182
|
# resp.asset_model_status.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "PROPAGATING", "DELETING", "FAILED"
|
@@ -2282,6 +2291,7 @@ module Aws::IoTSiteWise
|
|
2282
2291
|
# resp.composite_model.asset_property.type.metric.window.tumbling.interval #=> String
|
2283
2292
|
# resp.composite_model.asset_property.type.metric.window.tumbling.offset #=> String
|
2284
2293
|
# resp.composite_model.asset_property.type.metric.processing_config.compute_location #=> String, one of "EDGE", "CLOUD"
|
2294
|
+
# resp.composite_model.id #=> String
|
2285
2295
|
#
|
2286
2296
|
# @overload describe_asset_property(params = {})
|
2287
2297
|
# @param [Hash] params ({})
|
@@ -3233,14 +3243,14 @@ module Aws::IoTSiteWise
|
|
3233
3243
|
req.send_request(options)
|
3234
3244
|
end
|
3235
3245
|
|
3236
|
-
# Retrieves a paginated list of access policies for an identity (an
|
3237
|
-
#
|
3238
|
-
#
|
3246
|
+
# Retrieves a paginated list of access policies for an identity (an IAM
|
3247
|
+
# Identity Center user, an IAM Identity Center group, or an IAM user) or
|
3248
|
+
# an IoT SiteWise Monitor resource (a portal or project).
|
3239
3249
|
#
|
3240
3250
|
# @option params [String] :identity_type
|
3241
|
-
# The type of identity (
|
3242
|
-
#
|
3243
|
-
#
|
3251
|
+
# The type of identity (IAM Identity Center user, IAM Identity Center
|
3252
|
+
# group, or IAM user). This parameter is required if you specify
|
3253
|
+
# `identityId`.
|
3244
3254
|
#
|
3245
3255
|
# @option params [String] :identity_id
|
3246
3256
|
# The ID of the identity. This parameter is required if you specify
|
@@ -3312,6 +3322,83 @@ module Aws::IoTSiteWise
|
|
3312
3322
|
req.send_request(options)
|
3313
3323
|
end
|
3314
3324
|
|
3325
|
+
# Retrieves a paginated list of properties associated with an asset
|
3326
|
+
# model. If you update properties associated with the model before you
|
3327
|
+
# finish listing all the properties, you need to start all over again.
|
3328
|
+
#
|
3329
|
+
# @option params [required, String] :asset_model_id
|
3330
|
+
# The ID of the asset model.
|
3331
|
+
#
|
3332
|
+
# @option params [String] :next_token
|
3333
|
+
# The token to be used for the next set of paginated results.
|
3334
|
+
#
|
3335
|
+
# @option params [Integer] :max_results
|
3336
|
+
# The maximum number of results to return for each paginated request. If
|
3337
|
+
# not specified, the default value is 50.
|
3338
|
+
#
|
3339
|
+
# @option params [String] :filter
|
3340
|
+
# Filters the requested list of asset model properties. You can choose
|
3341
|
+
# one of the following options:
|
3342
|
+
#
|
3343
|
+
# * `ALL` – The list includes all asset model properties for a given
|
3344
|
+
# asset model ID.
|
3345
|
+
#
|
3346
|
+
# * `BASE` – The list includes only base asset model properties for a
|
3347
|
+
# given asset model ID.
|
3348
|
+
#
|
3349
|
+
# Default: `BASE`
|
3350
|
+
#
|
3351
|
+
# @return [Types::ListAssetModelPropertiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3352
|
+
#
|
3353
|
+
# * {Types::ListAssetModelPropertiesResponse#asset_model_property_summaries #asset_model_property_summaries} => Array<Types::AssetModelPropertySummary>
|
3354
|
+
# * {Types::ListAssetModelPropertiesResponse#next_token #next_token} => String
|
3355
|
+
#
|
3356
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3357
|
+
#
|
3358
|
+
# @example Request syntax with placeholder values
|
3359
|
+
#
|
3360
|
+
# resp = client.list_asset_model_properties({
|
3361
|
+
# asset_model_id: "ID", # required
|
3362
|
+
# next_token: "NextToken",
|
3363
|
+
# max_results: 1,
|
3364
|
+
# filter: "ALL", # accepts ALL, BASE
|
3365
|
+
# })
|
3366
|
+
#
|
3367
|
+
# @example Response structure
|
3368
|
+
#
|
3369
|
+
# resp.asset_model_property_summaries #=> Array
|
3370
|
+
# resp.asset_model_property_summaries[0].id #=> String
|
3371
|
+
# resp.asset_model_property_summaries[0].name #=> String
|
3372
|
+
# resp.asset_model_property_summaries[0].data_type #=> String, one of "STRING", "INTEGER", "DOUBLE", "BOOLEAN", "STRUCT"
|
3373
|
+
# resp.asset_model_property_summaries[0].data_type_spec #=> String
|
3374
|
+
# resp.asset_model_property_summaries[0].unit #=> String
|
3375
|
+
# resp.asset_model_property_summaries[0].type.attribute.default_value #=> String
|
3376
|
+
# resp.asset_model_property_summaries[0].type.measurement.processing_config.forwarding_config.state #=> String, one of "DISABLED", "ENABLED"
|
3377
|
+
# resp.asset_model_property_summaries[0].type.transform.expression #=> String
|
3378
|
+
# resp.asset_model_property_summaries[0].type.transform.variables #=> Array
|
3379
|
+
# resp.asset_model_property_summaries[0].type.transform.variables[0].name #=> String
|
3380
|
+
# resp.asset_model_property_summaries[0].type.transform.variables[0].value.property_id #=> String
|
3381
|
+
# resp.asset_model_property_summaries[0].type.transform.variables[0].value.hierarchy_id #=> String
|
3382
|
+
# resp.asset_model_property_summaries[0].type.transform.processing_config.compute_location #=> String, one of "EDGE", "CLOUD"
|
3383
|
+
# resp.asset_model_property_summaries[0].type.transform.processing_config.forwarding_config.state #=> String, one of "DISABLED", "ENABLED"
|
3384
|
+
# resp.asset_model_property_summaries[0].type.metric.expression #=> String
|
3385
|
+
# resp.asset_model_property_summaries[0].type.metric.variables #=> Array
|
3386
|
+
# resp.asset_model_property_summaries[0].type.metric.variables[0].name #=> String
|
3387
|
+
# resp.asset_model_property_summaries[0].type.metric.variables[0].value.property_id #=> String
|
3388
|
+
# resp.asset_model_property_summaries[0].type.metric.variables[0].value.hierarchy_id #=> String
|
3389
|
+
# resp.asset_model_property_summaries[0].type.metric.window.tumbling.interval #=> String
|
3390
|
+
# resp.asset_model_property_summaries[0].type.metric.window.tumbling.offset #=> String
|
3391
|
+
# resp.asset_model_property_summaries[0].type.metric.processing_config.compute_location #=> String, one of "EDGE", "CLOUD"
|
3392
|
+
# resp.asset_model_property_summaries[0].asset_model_composite_model_id #=> String
|
3393
|
+
# resp.next_token #=> String
|
3394
|
+
#
|
3395
|
+
# @overload list_asset_model_properties(params = {})
|
3396
|
+
# @param [Hash] params ({})
|
3397
|
+
def list_asset_model_properties(params = {}, options = {})
|
3398
|
+
req = build_request(:list_asset_model_properties, params)
|
3399
|
+
req.send_request(options)
|
3400
|
+
end
|
3401
|
+
|
3315
3402
|
# Retrieves a paginated list of summaries of all asset models.
|
3316
3403
|
#
|
3317
3404
|
# @option params [String] :next_token
|
@@ -3360,6 +3447,66 @@ module Aws::IoTSiteWise
|
|
3360
3447
|
req.send_request(options)
|
3361
3448
|
end
|
3362
3449
|
|
3450
|
+
# Retrieves a paginated list of properties associated with an asset. If
|
3451
|
+
# you update properties associated with the model before you finish
|
3452
|
+
# listing all the properties, you need to start all over again.
|
3453
|
+
#
|
3454
|
+
# @option params [required, String] :asset_id
|
3455
|
+
# The ID of the asset.
|
3456
|
+
#
|
3457
|
+
# @option params [String] :next_token
|
3458
|
+
# The token to be used for the next set of paginated results.
|
3459
|
+
#
|
3460
|
+
# @option params [Integer] :max_results
|
3461
|
+
# The maximum number of results to return for each paginated request. If
|
3462
|
+
# not specified, the default value is 50.
|
3463
|
+
#
|
3464
|
+
# @option params [String] :filter
|
3465
|
+
# Filters the requested list of asset properties. You can choose one of
|
3466
|
+
# the following options:
|
3467
|
+
#
|
3468
|
+
# * `ALL` – The list includes all asset properties for a given asset
|
3469
|
+
# model ID.
|
3470
|
+
#
|
3471
|
+
# * `BASE` – The list includes only base asset properties for a given
|
3472
|
+
# asset model ID.
|
3473
|
+
#
|
3474
|
+
# Default: `BASE`
|
3475
|
+
#
|
3476
|
+
# @return [Types::ListAssetPropertiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3477
|
+
#
|
3478
|
+
# * {Types::ListAssetPropertiesResponse#asset_property_summaries #asset_property_summaries} => Array<Types::AssetPropertySummary>
|
3479
|
+
# * {Types::ListAssetPropertiesResponse#next_token #next_token} => String
|
3480
|
+
#
|
3481
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3482
|
+
#
|
3483
|
+
# @example Request syntax with placeholder values
|
3484
|
+
#
|
3485
|
+
# resp = client.list_asset_properties({
|
3486
|
+
# asset_id: "ID", # required
|
3487
|
+
# next_token: "NextToken",
|
3488
|
+
# max_results: 1,
|
3489
|
+
# filter: "ALL", # accepts ALL, BASE
|
3490
|
+
# })
|
3491
|
+
#
|
3492
|
+
# @example Response structure
|
3493
|
+
#
|
3494
|
+
# resp.asset_property_summaries #=> Array
|
3495
|
+
# resp.asset_property_summaries[0].id #=> String
|
3496
|
+
# resp.asset_property_summaries[0].alias #=> String
|
3497
|
+
# resp.asset_property_summaries[0].unit #=> String
|
3498
|
+
# resp.asset_property_summaries[0].notification.topic #=> String
|
3499
|
+
# resp.asset_property_summaries[0].notification.state #=> String, one of "ENABLED", "DISABLED"
|
3500
|
+
# resp.asset_property_summaries[0].asset_composite_model_id #=> String
|
3501
|
+
# resp.next_token #=> String
|
3502
|
+
#
|
3503
|
+
# @overload list_asset_properties(params = {})
|
3504
|
+
# @param [Hash] params ({})
|
3505
|
+
def list_asset_properties(params = {}, options = {})
|
3506
|
+
req = build_request(:list_asset_properties, params)
|
3507
|
+
req.send_request(options)
|
3508
|
+
end
|
3509
|
+
|
3363
3510
|
# Retrieves a paginated list of asset relationships for an asset. You
|
3364
3511
|
# can use this operation to identify an asset's root asset and all
|
3365
3512
|
# associated assets between that asset and its root.
|
@@ -4180,8 +4327,8 @@ module Aws::IoTSiteWise
|
|
4180
4327
|
# The ID of the access policy.
|
4181
4328
|
#
|
4182
4329
|
# @option params [required, Types::Identity] :access_policy_identity
|
4183
|
-
# The identity for this access policy. Choose an
|
4184
|
-
# user, an
|
4330
|
+
# The identity for this access policy. Choose an IAM Identity Center
|
4331
|
+
# user, an IAM Identity Center group, or an IAM user.
|
4185
4332
|
#
|
4186
4333
|
# @option params [required, Types::Resource] :access_policy_resource
|
4187
4334
|
# The IoT SiteWise Monitor resource for this access policy. Choose
|
@@ -4507,6 +4654,7 @@ module Aws::IoTSiteWise
|
|
4507
4654
|
# },
|
4508
4655
|
# },
|
4509
4656
|
# ],
|
4657
|
+
# id: "ID",
|
4510
4658
|
# },
|
4511
4659
|
# ],
|
4512
4660
|
# client_token: "ClientToken",
|
@@ -4878,7 +5026,7 @@ module Aws::IoTSiteWise
|
|
4878
5026
|
params: params,
|
4879
5027
|
config: config)
|
4880
5028
|
context[:gem_name] = 'aws-sdk-iotsitewise'
|
4881
|
-
context[:gem_version] = '1.
|
5029
|
+
context[:gem_version] = '1.48.0'
|
4882
5030
|
Seahorse::Client::Request.new(handlers, context)
|
4883
5031
|
end
|
4884
5032
|
|
@@ -45,6 +45,8 @@ module Aws::IoTSiteWise
|
|
45
45
|
AssetModelProperty = Shapes::StructureShape.new(name: 'AssetModelProperty')
|
46
46
|
AssetModelPropertyDefinition = Shapes::StructureShape.new(name: 'AssetModelPropertyDefinition')
|
47
47
|
AssetModelPropertyDefinitions = Shapes::ListShape.new(name: 'AssetModelPropertyDefinitions')
|
48
|
+
AssetModelPropertySummaries = Shapes::ListShape.new(name: 'AssetModelPropertySummaries')
|
49
|
+
AssetModelPropertySummary = Shapes::StructureShape.new(name: 'AssetModelPropertySummary')
|
48
50
|
AssetModelState = Shapes::StringShape.new(name: 'AssetModelState')
|
49
51
|
AssetModelStatus = Shapes::StructureShape.new(name: 'AssetModelStatus')
|
50
52
|
AssetModelSummaries = Shapes::ListShape.new(name: 'AssetModelSummaries')
|
@@ -52,6 +54,8 @@ module Aws::IoTSiteWise
|
|
52
54
|
AssetProperties = Shapes::ListShape.new(name: 'AssetProperties')
|
53
55
|
AssetProperty = Shapes::StructureShape.new(name: 'AssetProperty')
|
54
56
|
AssetPropertyAlias = Shapes::StringShape.new(name: 'AssetPropertyAlias')
|
57
|
+
AssetPropertySummaries = Shapes::ListShape.new(name: 'AssetPropertySummaries')
|
58
|
+
AssetPropertySummary = Shapes::StructureShape.new(name: 'AssetPropertySummary')
|
55
59
|
AssetPropertyValue = Shapes::StructureShape.new(name: 'AssetPropertyValue')
|
56
60
|
AssetPropertyValueHistory = Shapes::ListShape.new(name: 'AssetPropertyValueHistory')
|
57
61
|
AssetPropertyValues = Shapes::ListShape.new(name: 'AssetPropertyValues')
|
@@ -214,6 +218,7 @@ module Aws::IoTSiteWise
|
|
214
218
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
215
219
|
ErrorReportLocation = Shapes::StructureShape.new(name: 'ErrorReportLocation')
|
216
220
|
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
221
|
+
ExcludeProperties = Shapes::BooleanShape.new(name: 'ExcludeProperties')
|
217
222
|
Expression = Shapes::StringShape.new(name: 'Expression')
|
218
223
|
ExpressionVariable = Shapes::StructureShape.new(name: 'ExpressionVariable')
|
219
224
|
ExpressionVariables = Shapes::ListShape.new(name: 'ExpressionVariables')
|
@@ -266,8 +271,14 @@ module Aws::IoTSiteWise
|
|
266
271
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
267
272
|
ListAccessPoliciesRequest = Shapes::StructureShape.new(name: 'ListAccessPoliciesRequest')
|
268
273
|
ListAccessPoliciesResponse = Shapes::StructureShape.new(name: 'ListAccessPoliciesResponse')
|
274
|
+
ListAssetModelPropertiesFilter = Shapes::StringShape.new(name: 'ListAssetModelPropertiesFilter')
|
275
|
+
ListAssetModelPropertiesRequest = Shapes::StructureShape.new(name: 'ListAssetModelPropertiesRequest')
|
276
|
+
ListAssetModelPropertiesResponse = Shapes::StructureShape.new(name: 'ListAssetModelPropertiesResponse')
|
269
277
|
ListAssetModelsRequest = Shapes::StructureShape.new(name: 'ListAssetModelsRequest')
|
270
278
|
ListAssetModelsResponse = Shapes::StructureShape.new(name: 'ListAssetModelsResponse')
|
279
|
+
ListAssetPropertiesFilter = Shapes::StringShape.new(name: 'ListAssetPropertiesFilter')
|
280
|
+
ListAssetPropertiesRequest = Shapes::StructureShape.new(name: 'ListAssetPropertiesRequest')
|
281
|
+
ListAssetPropertiesResponse = Shapes::StructureShape.new(name: 'ListAssetPropertiesResponse')
|
271
282
|
ListAssetRelationshipsRequest = Shapes::StructureShape.new(name: 'ListAssetRelationshipsRequest')
|
272
283
|
ListAssetRelationshipsResponse = Shapes::StructureShape.new(name: 'ListAssetRelationshipsResponse')
|
273
284
|
ListAssetsFilter = Shapes::StringShape.new(name: 'ListAssetsFilter')
|
@@ -438,6 +449,7 @@ module Aws::IoTSiteWise
|
|
438
449
|
AssetCompositeModel.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
439
450
|
AssetCompositeModel.add_member(:type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "type"))
|
440
451
|
AssetCompositeModel.add_member(:properties, Shapes::ShapeRef.new(shape: AssetProperties, required: true, location_name: "properties"))
|
452
|
+
AssetCompositeModel.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
441
453
|
AssetCompositeModel.struct_class = Types::AssetCompositeModel
|
442
454
|
|
443
455
|
AssetCompositeModels.member = Shapes::ShapeRef.new(shape: AssetCompositeModel)
|
@@ -463,6 +475,7 @@ module Aws::IoTSiteWise
|
|
463
475
|
AssetModelCompositeModel.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
464
476
|
AssetModelCompositeModel.add_member(:type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "type"))
|
465
477
|
AssetModelCompositeModel.add_member(:properties, Shapes::ShapeRef.new(shape: AssetModelProperties, location_name: "properties"))
|
478
|
+
AssetModelCompositeModel.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
466
479
|
AssetModelCompositeModel.struct_class = Types::AssetModelCompositeModel
|
467
480
|
|
468
481
|
AssetModelCompositeModelDefinition.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
@@ -507,6 +520,17 @@ module Aws::IoTSiteWise
|
|
507
520
|
|
508
521
|
AssetModelPropertyDefinitions.member = Shapes::ShapeRef.new(shape: AssetModelPropertyDefinition)
|
509
522
|
|
523
|
+
AssetModelPropertySummaries.member = Shapes::ShapeRef.new(shape: AssetModelPropertySummary)
|
524
|
+
|
525
|
+
AssetModelPropertySummary.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
526
|
+
AssetModelPropertySummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
527
|
+
AssetModelPropertySummary.add_member(:data_type, Shapes::ShapeRef.new(shape: PropertyDataType, required: true, location_name: "dataType"))
|
528
|
+
AssetModelPropertySummary.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
|
529
|
+
AssetModelPropertySummary.add_member(:unit, Shapes::ShapeRef.new(shape: PropertyUnit, location_name: "unit"))
|
530
|
+
AssetModelPropertySummary.add_member(:type, Shapes::ShapeRef.new(shape: PropertyType, required: true, location_name: "type"))
|
531
|
+
AssetModelPropertySummary.add_member(:asset_model_composite_model_id, Shapes::ShapeRef.new(shape: ID, location_name: "assetModelCompositeModelId"))
|
532
|
+
AssetModelPropertySummary.struct_class = Types::AssetModelPropertySummary
|
533
|
+
|
510
534
|
AssetModelStatus.add_member(:state, Shapes::ShapeRef.new(shape: AssetModelState, required: true, location_name: "state"))
|
511
535
|
AssetModelStatus.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "error"))
|
512
536
|
AssetModelStatus.struct_class = Types::AssetModelStatus
|
@@ -533,6 +557,15 @@ module Aws::IoTSiteWise
|
|
533
557
|
AssetProperty.add_member(:unit, Shapes::ShapeRef.new(shape: PropertyUnit, location_name: "unit"))
|
534
558
|
AssetProperty.struct_class = Types::AssetProperty
|
535
559
|
|
560
|
+
AssetPropertySummaries.member = Shapes::ShapeRef.new(shape: AssetPropertySummary)
|
561
|
+
|
562
|
+
AssetPropertySummary.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
563
|
+
AssetPropertySummary.add_member(:alias, Shapes::ShapeRef.new(shape: PropertyAlias, location_name: "alias"))
|
564
|
+
AssetPropertySummary.add_member(:unit, Shapes::ShapeRef.new(shape: PropertyUnit, location_name: "unit"))
|
565
|
+
AssetPropertySummary.add_member(:notification, Shapes::ShapeRef.new(shape: PropertyNotification, location_name: "notification"))
|
566
|
+
AssetPropertySummary.add_member(:asset_composite_model_id, Shapes::ShapeRef.new(shape: ID, location_name: "assetCompositeModelId"))
|
567
|
+
AssetPropertySummary.struct_class = Types::AssetPropertySummary
|
568
|
+
|
536
569
|
AssetPropertyValue.add_member(:value, Shapes::ShapeRef.new(shape: Variant, required: true, location_name: "value"))
|
537
570
|
AssetPropertyValue.add_member(:timestamp, Shapes::ShapeRef.new(shape: TimeInNanos, required: true, location_name: "timestamp"))
|
538
571
|
AssetPropertyValue.add_member(:quality, Shapes::ShapeRef.new(shape: Quality, location_name: "quality"))
|
@@ -775,6 +808,7 @@ module Aws::IoTSiteWise
|
|
775
808
|
CompositeModelProperty.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
776
809
|
CompositeModelProperty.add_member(:type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "type"))
|
777
810
|
CompositeModelProperty.add_member(:asset_property, Shapes::ShapeRef.new(shape: Property, required: true, location_name: "assetProperty"))
|
811
|
+
CompositeModelProperty.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
778
812
|
CompositeModelProperty.struct_class = Types::CompositeModelProperty
|
779
813
|
|
780
814
|
ConfigurationErrorDetails.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "code"))
|
@@ -967,6 +1001,7 @@ module Aws::IoTSiteWise
|
|
967
1001
|
DescribeAccessPolicyResponse.struct_class = Types::DescribeAccessPolicyResponse
|
968
1002
|
|
969
1003
|
DescribeAssetModelRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "assetModelId"))
|
1004
|
+
DescribeAssetModelRequest.add_member(:exclude_properties, Shapes::ShapeRef.new(shape: ExcludeProperties, location: "querystring", location_name: "excludeProperties"))
|
970
1005
|
DescribeAssetModelRequest.struct_class = Types::DescribeAssetModelRequest
|
971
1006
|
|
972
1007
|
DescribeAssetModelResponse.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetModelId"))
|
@@ -993,6 +1028,7 @@ module Aws::IoTSiteWise
|
|
993
1028
|
DescribeAssetPropertyResponse.struct_class = Types::DescribeAssetPropertyResponse
|
994
1029
|
|
995
1030
|
DescribeAssetRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "assetId"))
|
1031
|
+
DescribeAssetRequest.add_member(:exclude_properties, Shapes::ShapeRef.new(shape: ExcludeProperties, location: "querystring", location_name: "excludeProperties"))
|
996
1032
|
DescribeAssetRequest.struct_class = Types::DescribeAssetRequest
|
997
1033
|
|
998
1034
|
DescribeAssetResponse.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetId"))
|
@@ -1324,6 +1360,16 @@ module Aws::IoTSiteWise
|
|
1324
1360
|
ListAccessPoliciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1325
1361
|
ListAccessPoliciesResponse.struct_class = Types::ListAccessPoliciesResponse
|
1326
1362
|
|
1363
|
+
ListAssetModelPropertiesRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "assetModelId"))
|
1364
|
+
ListAssetModelPropertiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1365
|
+
ListAssetModelPropertiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1366
|
+
ListAssetModelPropertiesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ListAssetModelPropertiesFilter, location: "querystring", location_name: "filter"))
|
1367
|
+
ListAssetModelPropertiesRequest.struct_class = Types::ListAssetModelPropertiesRequest
|
1368
|
+
|
1369
|
+
ListAssetModelPropertiesResponse.add_member(:asset_model_property_summaries, Shapes::ShapeRef.new(shape: AssetModelPropertySummaries, required: true, location_name: "assetModelPropertySummaries"))
|
1370
|
+
ListAssetModelPropertiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1371
|
+
ListAssetModelPropertiesResponse.struct_class = Types::ListAssetModelPropertiesResponse
|
1372
|
+
|
1327
1373
|
ListAssetModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1328
1374
|
ListAssetModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1329
1375
|
ListAssetModelsRequest.struct_class = Types::ListAssetModelsRequest
|
@@ -1332,6 +1378,16 @@ module Aws::IoTSiteWise
|
|
1332
1378
|
ListAssetModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1333
1379
|
ListAssetModelsResponse.struct_class = Types::ListAssetModelsResponse
|
1334
1380
|
|
1381
|
+
ListAssetPropertiesRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "assetId"))
|
1382
|
+
ListAssetPropertiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1383
|
+
ListAssetPropertiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1384
|
+
ListAssetPropertiesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ListAssetPropertiesFilter, location: "querystring", location_name: "filter"))
|
1385
|
+
ListAssetPropertiesRequest.struct_class = Types::ListAssetPropertiesRequest
|
1386
|
+
|
1387
|
+
ListAssetPropertiesResponse.add_member(:asset_property_summaries, Shapes::ShapeRef.new(shape: AssetPropertySummaries, required: true, location_name: "assetPropertySummaries"))
|
1388
|
+
ListAssetPropertiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1389
|
+
ListAssetPropertiesResponse.struct_class = Types::ListAssetPropertiesResponse
|
1390
|
+
|
1335
1391
|
ListAssetRelationshipsRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "assetId"))
|
1336
1392
|
ListAssetRelationshipsRequest.add_member(:traversal_type, Shapes::ShapeRef.new(shape: TraversalType, required: true, location: "querystring", location_name: "traversalType"))
|
1337
1393
|
ListAssetRelationshipsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
@@ -2486,6 +2542,27 @@ module Aws::IoTSiteWise
|
|
2486
2542
|
)
|
2487
2543
|
end)
|
2488
2544
|
|
2545
|
+
api.add_operation(:list_asset_model_properties, Seahorse::Model::Operation.new.tap do |o|
|
2546
|
+
o.name = "ListAssetModelProperties"
|
2547
|
+
o.http_method = "GET"
|
2548
|
+
o.http_request_uri = "/asset-models/{assetModelId}/properties"
|
2549
|
+
o.endpoint_pattern = {
|
2550
|
+
"hostPrefix" => "api.",
|
2551
|
+
}
|
2552
|
+
o.input = Shapes::ShapeRef.new(shape: ListAssetModelPropertiesRequest)
|
2553
|
+
o.output = Shapes::ShapeRef.new(shape: ListAssetModelPropertiesResponse)
|
2554
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2555
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
2556
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2557
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2558
|
+
o[:pager] = Aws::Pager.new(
|
2559
|
+
limit_key: "max_results",
|
2560
|
+
tokens: {
|
2561
|
+
"next_token" => "next_token"
|
2562
|
+
}
|
2563
|
+
)
|
2564
|
+
end)
|
2565
|
+
|
2489
2566
|
api.add_operation(:list_asset_models, Seahorse::Model::Operation.new.tap do |o|
|
2490
2567
|
o.name = "ListAssetModels"
|
2491
2568
|
o.http_method = "GET"
|
@@ -2506,6 +2583,27 @@ module Aws::IoTSiteWise
|
|
2506
2583
|
)
|
2507
2584
|
end)
|
2508
2585
|
|
2586
|
+
api.add_operation(:list_asset_properties, Seahorse::Model::Operation.new.tap do |o|
|
2587
|
+
o.name = "ListAssetProperties"
|
2588
|
+
o.http_method = "GET"
|
2589
|
+
o.http_request_uri = "/assets/{assetId}/properties"
|
2590
|
+
o.endpoint_pattern = {
|
2591
|
+
"hostPrefix" => "api.",
|
2592
|
+
}
|
2593
|
+
o.input = Shapes::ShapeRef.new(shape: ListAssetPropertiesRequest)
|
2594
|
+
o.output = Shapes::ShapeRef.new(shape: ListAssetPropertiesResponse)
|
2595
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2596
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
2597
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2598
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2599
|
+
o[:pager] = Aws::Pager.new(
|
2600
|
+
limit_key: "max_results",
|
2601
|
+
tokens: {
|
2602
|
+
"next_token" => "next_token"
|
2603
|
+
}
|
2604
|
+
)
|
2605
|
+
end)
|
2606
|
+
|
2509
2607
|
api.add_operation(:list_asset_relationships, Seahorse::Model::Operation.new.tap do |o|
|
2510
2608
|
o.name = "ListAssetRelationships"
|
2511
2609
|
o.http_method = "GET"
|