aws-sdk-iotsitewise 1.90.0 → 1.91.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotsitewise/client.rb +252 -32
- data/lib/aws-sdk-iotsitewise/client_api.rb +169 -2
- data/lib/aws-sdk-iotsitewise/types.rb +350 -6
- data/lib/aws-sdk-iotsitewise.rb +1 -1
- data/sig/client.rbs +83 -15
- data/sig/types.rbs +99 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 114ea4a9e2b1de02d745a14845e899dd7672b811a28b0e49c3fab7d4afec1a07
|
4
|
+
data.tar.gz: 59d70e85578dd363797a32d99c79f4463c5393474c7a4b99595376065b2a74c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a16a6530c627c9bdce9228ba63549f52fd312af7ad5c32e713c413096baf57838e5243a7f722733c5b70f36a252e15ba87861603613d94c614248547d6d1fbc0
|
7
|
+
data.tar.gz: 0acb67c57fd077dd5f056fc31b8aa84f7bb82e87e77267cf165dc82d7af35d699e158a3f9e1a9708ef00f7fa04bb586c2a66459e8df34b39624a6a62b1a5c20b
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.91.0
|
@@ -97,8 +97,8 @@ module Aws::IoTSiteWise
|
|
97
97
|
# class name or an instance of a plugin class.
|
98
98
|
#
|
99
99
|
# @option options [required, Aws::CredentialProvider] :credentials
|
100
|
-
# Your AWS credentials used for authentication. This can be
|
101
|
-
# following classes:
|
100
|
+
# Your AWS credentials used for authentication. This can be any class that includes and implements
|
101
|
+
# `Aws::CredentialProvider`, or instance of any one of the following classes:
|
102
102
|
#
|
103
103
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
104
104
|
# credentials.
|
@@ -126,8 +126,7 @@ module Aws::IoTSiteWise
|
|
126
126
|
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
127
127
|
# from the Cognito Identity service.
|
128
128
|
#
|
129
|
-
# When `:credentials` are not configured directly, the following
|
130
|
-
# locations will be searched for credentials:
|
129
|
+
# When `:credentials` are not configured directly, the following locations will be searched for credentials:
|
131
130
|
#
|
132
131
|
# * `Aws.config[:credentials]`
|
133
132
|
#
|
@@ -141,12 +140,10 @@ module Aws::IoTSiteWise
|
|
141
140
|
#
|
142
141
|
# * `~/.aws/config`
|
143
142
|
#
|
144
|
-
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
145
|
-
#
|
146
|
-
#
|
147
|
-
#
|
148
|
-
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
149
|
-
# to `true`.
|
143
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
|
144
|
+
# Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
145
|
+
# enable retries and extended timeouts. Instance profile credential fetching can be disabled by
|
146
|
+
# setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
|
150
147
|
#
|
151
148
|
# @option options [required, String] :region
|
152
149
|
# The AWS region to connect to. The configured `:region` is
|
@@ -388,8 +385,8 @@ module Aws::IoTSiteWise
|
|
388
385
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
389
386
|
#
|
390
387
|
# @option options [Aws::TokenProvider] :token_provider
|
391
|
-
# Your Bearer token used for authentication. This can be
|
392
|
-
# following classes:
|
388
|
+
# Your Bearer token used for authentication. This can be any class that includes and implements
|
389
|
+
# `Aws::TokenProvider`, or instance of any one of the following classes:
|
393
390
|
#
|
394
391
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
395
392
|
# tokens.
|
@@ -1213,8 +1210,8 @@ module Aws::IoTSiteWise
|
|
1213
1210
|
# model's property and hierarchy definitions. For more information, see
|
1214
1211
|
# [Defining asset models][1] in the *IoT SiteWise User Guide*.
|
1215
1212
|
#
|
1216
|
-
# You can create
|
1217
|
-
# `COMPONENT_MODEL`.
|
1213
|
+
# You can create three types of asset models, `ASSET_MODEL`,
|
1214
|
+
# `COMPONENT_MODEL`, or an `INTERFACE`.
|
1218
1215
|
#
|
1219
1216
|
# * **ASSET\_MODEL** – (default) An asset model that you can use to
|
1220
1217
|
# create assets. Can't be included as a component in another asset
|
@@ -1224,6 +1221,9 @@ module Aws::IoTSiteWise
|
|
1224
1221
|
# the composite models of other asset models. You can't create assets
|
1225
1222
|
# directly from this type of asset model.
|
1226
1223
|
#
|
1224
|
+
# * **INTERFACE** – An interface is a type of model that defines a
|
1225
|
+
# standard structure that can be applied to different asset models.
|
1226
|
+
#
|
1227
1227
|
#
|
1228
1228
|
#
|
1229
1229
|
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/define-models.html
|
@@ -1334,7 +1334,7 @@ module Aws::IoTSiteWise
|
|
1334
1334
|
#
|
1335
1335
|
# resp = client.create_asset_model({
|
1336
1336
|
# asset_model_name: "Name", # required
|
1337
|
-
# asset_model_type: "ASSET_MODEL", # accepts ASSET_MODEL, COMPONENT_MODEL
|
1337
|
+
# asset_model_type: "ASSET_MODEL", # accepts ASSET_MODEL, COMPONENT_MODEL, INTERFACE
|
1338
1338
|
# asset_model_id: "ID",
|
1339
1339
|
# asset_model_external_id: "ExternalId",
|
1340
1340
|
# asset_model_description: "Description",
|
@@ -1382,8 +1382,8 @@ module Aws::IoTSiteWise
|
|
1382
1382
|
# },
|
1383
1383
|
# },
|
1384
1384
|
# metric: {
|
1385
|
-
# expression: "Expression",
|
1386
|
-
# variables: [
|
1385
|
+
# expression: "Expression",
|
1386
|
+
# variables: [
|
1387
1387
|
# {
|
1388
1388
|
# name: "VariableName", # required
|
1389
1389
|
# value: { # required
|
@@ -1470,8 +1470,8 @@ module Aws::IoTSiteWise
|
|
1470
1470
|
# },
|
1471
1471
|
# },
|
1472
1472
|
# metric: {
|
1473
|
-
# expression: "Expression",
|
1474
|
-
# variables: [
|
1473
|
+
# expression: "Expression",
|
1474
|
+
# variables: [
|
1475
1475
|
# {
|
1476
1476
|
# name: "VariableName", # required
|
1477
1477
|
# value: { # required
|
@@ -1693,8 +1693,8 @@ module Aws::IoTSiteWise
|
|
1693
1693
|
# },
|
1694
1694
|
# },
|
1695
1695
|
# metric: {
|
1696
|
-
# expression: "Expression",
|
1697
|
-
# variables: [
|
1696
|
+
# expression: "Expression",
|
1697
|
+
# variables: [
|
1698
1698
|
# {
|
1699
1699
|
# name: "VariableName", # required
|
1700
1700
|
# value: { # required
|
@@ -2647,6 +2647,59 @@ module Aws::IoTSiteWise
|
|
2647
2647
|
req.send_request(options)
|
2648
2648
|
end
|
2649
2649
|
|
2650
|
+
# Deletes an interface relationship between an asset model and an
|
2651
|
+
# interface asset model.
|
2652
|
+
#
|
2653
|
+
# @option params [required, String] :asset_model_id
|
2654
|
+
# The ID of the asset model. This can be either the actual ID in UUID
|
2655
|
+
# format, or else externalId: followed by the external ID.
|
2656
|
+
#
|
2657
|
+
# @option params [required, String] :interface_asset_model_id
|
2658
|
+
# The ID of the interface asset model. This can be either the actual ID
|
2659
|
+
# in UUID format, or else externalId: followed by the external ID.
|
2660
|
+
#
|
2661
|
+
# @option params [String] :client_token
|
2662
|
+
# A unique case-sensitive identifier that you can provide to ensure the
|
2663
|
+
# idempotency of the request. Don't reuse this client token if a new
|
2664
|
+
# idempotent request is required.
|
2665
|
+
#
|
2666
|
+
# **A suitable default value is auto-generated.** You should normally
|
2667
|
+
# not need to pass this option.**
|
2668
|
+
#
|
2669
|
+
# @return [Types::DeleteAssetModelInterfaceRelationshipResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2670
|
+
#
|
2671
|
+
# * {Types::DeleteAssetModelInterfaceRelationshipResponse#asset_model_id #asset_model_id} => String
|
2672
|
+
# * {Types::DeleteAssetModelInterfaceRelationshipResponse#interface_asset_model_id #interface_asset_model_id} => String
|
2673
|
+
# * {Types::DeleteAssetModelInterfaceRelationshipResponse#asset_model_arn #asset_model_arn} => String
|
2674
|
+
# * {Types::DeleteAssetModelInterfaceRelationshipResponse#asset_model_status #asset_model_status} => Types::AssetModelStatus
|
2675
|
+
#
|
2676
|
+
# @example Request syntax with placeholder values
|
2677
|
+
#
|
2678
|
+
# resp = client.delete_asset_model_interface_relationship({
|
2679
|
+
# asset_model_id: "CustomID", # required
|
2680
|
+
# interface_asset_model_id: "CustomID", # required
|
2681
|
+
# client_token: "ClientToken",
|
2682
|
+
# })
|
2683
|
+
#
|
2684
|
+
# @example Response structure
|
2685
|
+
#
|
2686
|
+
# resp.asset_model_id #=> String
|
2687
|
+
# resp.interface_asset_model_id #=> String
|
2688
|
+
# resp.asset_model_arn #=> String
|
2689
|
+
# resp.asset_model_status.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "PROPAGATING", "DELETING", "FAILED"
|
2690
|
+
# resp.asset_model_status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
2691
|
+
# resp.asset_model_status.error.message #=> String
|
2692
|
+
# resp.asset_model_status.error.details #=> Array
|
2693
|
+
# resp.asset_model_status.error.details[0].code #=> String, one of "INCOMPATIBLE_COMPUTE_LOCATION", "INCOMPATIBLE_FORWARDING_CONFIGURATION"
|
2694
|
+
# resp.asset_model_status.error.details[0].message #=> String
|
2695
|
+
#
|
2696
|
+
# @overload delete_asset_model_interface_relationship(params = {})
|
2697
|
+
# @param [Hash] params ({})
|
2698
|
+
def delete_asset_model_interface_relationship(params = {}, options = {})
|
2699
|
+
req = build_request(:delete_asset_model_interface_relationship, params)
|
2700
|
+
req.send_request(options)
|
2701
|
+
end
|
2702
|
+
|
2650
2703
|
# Deletes a computation model. This action can't be undone.
|
2651
2704
|
#
|
2652
2705
|
# @option params [required, String] :computation_model_id
|
@@ -3197,7 +3250,10 @@ module Aws::IoTSiteWise
|
|
3197
3250
|
req.send_request(options)
|
3198
3251
|
end
|
3199
3252
|
|
3200
|
-
# Retrieves information about an asset model.
|
3253
|
+
# Retrieves information about an asset model. This includes details
|
3254
|
+
# about the asset model's properties, hierarchies, composite models,
|
3255
|
+
# and any interface relationships if the asset model implements
|
3256
|
+
# interfaces.
|
3201
3257
|
#
|
3202
3258
|
# @option params [required, String] :asset_model_id
|
3203
3259
|
# The ID of the asset model. This can be either the actual ID in UUID
|
@@ -3238,6 +3294,7 @@ module Aws::IoTSiteWise
|
|
3238
3294
|
# * {Types::DescribeAssetModelResponse#asset_model_last_update_date #asset_model_last_update_date} => Time
|
3239
3295
|
# * {Types::DescribeAssetModelResponse#asset_model_status #asset_model_status} => Types::AssetModelStatus
|
3240
3296
|
# * {Types::DescribeAssetModelResponse#asset_model_version #asset_model_version} => String
|
3297
|
+
# * {Types::DescribeAssetModelResponse#interface_details #interface_details} => Array<Types::InterfaceRelationship>
|
3241
3298
|
# * {Types::DescribeAssetModelResponse#e_tag #e_tag} => String
|
3242
3299
|
#
|
3243
3300
|
# @example Request syntax with placeholder values
|
@@ -3254,7 +3311,7 @@ module Aws::IoTSiteWise
|
|
3254
3311
|
# resp.asset_model_external_id #=> String
|
3255
3312
|
# resp.asset_model_arn #=> String
|
3256
3313
|
# resp.asset_model_name #=> String
|
3257
|
-
# resp.asset_model_type #=> String, one of "ASSET_MODEL", "COMPONENT_MODEL"
|
3314
|
+
# resp.asset_model_type #=> String, one of "ASSET_MODEL", "COMPONENT_MODEL", "INTERFACE"
|
3258
3315
|
# resp.asset_model_description #=> String
|
3259
3316
|
# resp.asset_model_properties #=> Array
|
3260
3317
|
# resp.asset_model_properties[0].id #=> String
|
@@ -3351,6 +3408,8 @@ module Aws::IoTSiteWise
|
|
3351
3408
|
# resp.asset_model_status.error.details[0].code #=> String, one of "INCOMPATIBLE_COMPUTE_LOCATION", "INCOMPATIBLE_FORWARDING_CONFIGURATION"
|
3352
3409
|
# resp.asset_model_status.error.details[0].message #=> String
|
3353
3410
|
# resp.asset_model_version #=> String
|
3411
|
+
# resp.interface_details #=> Array
|
3412
|
+
# resp.interface_details[0].id #=> String
|
3354
3413
|
# resp.e_tag #=> String
|
3355
3414
|
#
|
3356
3415
|
#
|
@@ -3493,6 +3552,49 @@ module Aws::IoTSiteWise
|
|
3493
3552
|
req.send_request(options)
|
3494
3553
|
end
|
3495
3554
|
|
3555
|
+
# Retrieves information about an interface relationship between an asset
|
3556
|
+
# model and an interface asset model.
|
3557
|
+
#
|
3558
|
+
# @option params [required, String] :asset_model_id
|
3559
|
+
# The ID of the asset model. This can be either the actual ID in UUID
|
3560
|
+
# format, or else externalId: followed by the external ID.
|
3561
|
+
#
|
3562
|
+
# @option params [required, String] :interface_asset_model_id
|
3563
|
+
# The ID of the interface asset model. This can be either the actual ID
|
3564
|
+
# in UUID format, or else externalId: followed by the external ID.
|
3565
|
+
#
|
3566
|
+
# @return [Types::DescribeAssetModelInterfaceRelationshipResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3567
|
+
#
|
3568
|
+
# * {Types::DescribeAssetModelInterfaceRelationshipResponse#asset_model_id #asset_model_id} => String
|
3569
|
+
# * {Types::DescribeAssetModelInterfaceRelationshipResponse#interface_asset_model_id #interface_asset_model_id} => String
|
3570
|
+
# * {Types::DescribeAssetModelInterfaceRelationshipResponse#property_mappings #property_mappings} => Array<Types::PropertyMapping>
|
3571
|
+
# * {Types::DescribeAssetModelInterfaceRelationshipResponse#hierarchy_mappings #hierarchy_mappings} => Array<Types::HierarchyMapping>
|
3572
|
+
#
|
3573
|
+
# @example Request syntax with placeholder values
|
3574
|
+
#
|
3575
|
+
# resp = client.describe_asset_model_interface_relationship({
|
3576
|
+
# asset_model_id: "CustomID", # required
|
3577
|
+
# interface_asset_model_id: "CustomID", # required
|
3578
|
+
# })
|
3579
|
+
#
|
3580
|
+
# @example Response structure
|
3581
|
+
#
|
3582
|
+
# resp.asset_model_id #=> String
|
3583
|
+
# resp.interface_asset_model_id #=> String
|
3584
|
+
# resp.property_mappings #=> Array
|
3585
|
+
# resp.property_mappings[0].asset_model_property_id #=> String
|
3586
|
+
# resp.property_mappings[0].interface_asset_model_property_id #=> String
|
3587
|
+
# resp.hierarchy_mappings #=> Array
|
3588
|
+
# resp.hierarchy_mappings[0].asset_model_hierarchy_id #=> String
|
3589
|
+
# resp.hierarchy_mappings[0].interface_asset_model_hierarchy_id #=> String
|
3590
|
+
#
|
3591
|
+
# @overload describe_asset_model_interface_relationship(params = {})
|
3592
|
+
# @param [Hash] params ({})
|
3593
|
+
def describe_asset_model_interface_relationship(params = {}, options = {})
|
3594
|
+
req = build_request(:describe_asset_model_interface_relationship, params)
|
3595
|
+
req.send_request(options)
|
3596
|
+
end
|
3597
|
+
|
3496
3598
|
# Retrieves information about an asset property.
|
3497
3599
|
#
|
3498
3600
|
# <note markdown="1"> When you call this operation for an attribute property, this response
|
@@ -5536,6 +5638,9 @@ module Aws::IoTSiteWise
|
|
5536
5638
|
# resp.asset_model_property_summaries[0].path #=> Array
|
5537
5639
|
# resp.asset_model_property_summaries[0].path[0].id #=> String
|
5538
5640
|
# resp.asset_model_property_summaries[0].path[0].name #=> String
|
5641
|
+
# resp.asset_model_property_summaries[0].interface_summaries #=> Array
|
5642
|
+
# resp.asset_model_property_summaries[0].interface_summaries[0].interface_asset_model_id #=> String
|
5643
|
+
# resp.asset_model_property_summaries[0].interface_summaries[0].interface_asset_model_property_id #=> String
|
5539
5644
|
# resp.next_token #=> String
|
5540
5645
|
#
|
5541
5646
|
# @overload list_asset_model_properties(params = {})
|
@@ -5558,6 +5663,9 @@ module Aws::IoTSiteWise
|
|
5558
5663
|
# the composite models of other asset models. You can't create assets
|
5559
5664
|
# directly from this type of asset model.
|
5560
5665
|
#
|
5666
|
+
# * **INTERFACE** – An interface is a type of model that defines a
|
5667
|
+
# standard structure that can be applied to different asset models.
|
5668
|
+
#
|
5561
5669
|
# @option params [String] :next_token
|
5562
5670
|
# The token to be used for the next set of paginated results.
|
5563
5671
|
#
|
@@ -5586,7 +5694,7 @@ module Aws::IoTSiteWise
|
|
5586
5694
|
# @example Request syntax with placeholder values
|
5587
5695
|
#
|
5588
5696
|
# resp = client.list_asset_models({
|
5589
|
-
# asset_model_types: ["ASSET_MODEL"], # accepts ASSET_MODEL, COMPONENT_MODEL
|
5697
|
+
# asset_model_types: ["ASSET_MODEL"], # accepts ASSET_MODEL, COMPONENT_MODEL, INTERFACE
|
5590
5698
|
# next_token: "NextToken",
|
5591
5699
|
# max_results: 1,
|
5592
5700
|
# asset_model_version: "AssetModelVersionFilter",
|
@@ -5599,7 +5707,7 @@ module Aws::IoTSiteWise
|
|
5599
5707
|
# resp.asset_model_summaries[0].external_id #=> String
|
5600
5708
|
# resp.asset_model_summaries[0].arn #=> String
|
5601
5709
|
# resp.asset_model_summaries[0].name #=> String
|
5602
|
-
# resp.asset_model_summaries[0].asset_model_type #=> String, one of "ASSET_MODEL", "COMPONENT_MODEL"
|
5710
|
+
# resp.asset_model_summaries[0].asset_model_type #=> String, one of "ASSET_MODEL", "COMPONENT_MODEL", "INTERFACE"
|
5603
5711
|
# resp.asset_model_summaries[0].description #=> String
|
5604
5712
|
# resp.asset_model_summaries[0].creation_date #=> Time
|
5605
5713
|
# resp.asset_model_summaries[0].last_update_date #=> Time
|
@@ -6414,6 +6522,48 @@ module Aws::IoTSiteWise
|
|
6414
6522
|
req.send_request(options)
|
6415
6523
|
end
|
6416
6524
|
|
6525
|
+
# Retrieves a paginated list of asset models that have a specific
|
6526
|
+
# interface asset model applied to them.
|
6527
|
+
#
|
6528
|
+
# @option params [required, String] :interface_asset_model_id
|
6529
|
+
# The ID of the interface asset model. This can be either the actual ID
|
6530
|
+
# in UUID format, or else externalId: followed by the external ID.
|
6531
|
+
#
|
6532
|
+
# @option params [String] :next_token
|
6533
|
+
# The token to be used for the next set of paginated results.
|
6534
|
+
#
|
6535
|
+
# @option params [Integer] :max_results
|
6536
|
+
# The maximum number of results to return for each paginated request.
|
6537
|
+
# Default: 50
|
6538
|
+
#
|
6539
|
+
# @return [Types::ListInterfaceRelationshipsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6540
|
+
#
|
6541
|
+
# * {Types::ListInterfaceRelationshipsResponse#interface_relationship_summaries #interface_relationship_summaries} => Array<Types::InterfaceRelationshipSummary>
|
6542
|
+
# * {Types::ListInterfaceRelationshipsResponse#next_token #next_token} => String
|
6543
|
+
#
|
6544
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6545
|
+
#
|
6546
|
+
# @example Request syntax with placeholder values
|
6547
|
+
#
|
6548
|
+
# resp = client.list_interface_relationships({
|
6549
|
+
# interface_asset_model_id: "CustomID", # required
|
6550
|
+
# next_token: "NextToken",
|
6551
|
+
# max_results: 1,
|
6552
|
+
# })
|
6553
|
+
#
|
6554
|
+
# @example Response structure
|
6555
|
+
#
|
6556
|
+
# resp.interface_relationship_summaries #=> Array
|
6557
|
+
# resp.interface_relationship_summaries[0].id #=> String
|
6558
|
+
# resp.next_token #=> String
|
6559
|
+
#
|
6560
|
+
# @overload list_interface_relationships(params = {})
|
6561
|
+
# @param [Hash] params ({})
|
6562
|
+
def list_interface_relationships(params = {}, options = {})
|
6563
|
+
req = build_request(:list_interface_relationships, params)
|
6564
|
+
req.send_request(options)
|
6565
|
+
end
|
6566
|
+
|
6417
6567
|
# Retrieves a paginated list of IoT SiteWise Monitor portals.
|
6418
6568
|
#
|
6419
6569
|
# @option params [String] :next_token
|
@@ -6649,6 +6799,76 @@ module Aws::IoTSiteWise
|
|
6649
6799
|
req.send_request(options)
|
6650
6800
|
end
|
6651
6801
|
|
6802
|
+
# Creates or updates an interface relationship between an asset model
|
6803
|
+
# and an interface asset model. This operation applies an interface to
|
6804
|
+
# an asset model.
|
6805
|
+
#
|
6806
|
+
# @option params [required, String] :asset_model_id
|
6807
|
+
# The ID of the asset model. This can be either the actual ID in UUID
|
6808
|
+
# format, or else externalId: followed by the external ID.
|
6809
|
+
#
|
6810
|
+
# @option params [required, String] :interface_asset_model_id
|
6811
|
+
# The ID of the interface asset model. This can be either the actual ID
|
6812
|
+
# in UUID format, or else externalId: followed by the external ID.
|
6813
|
+
#
|
6814
|
+
# @option params [required, Types::PropertyMappingConfiguration] :property_mapping_configuration
|
6815
|
+
# The configuration for mapping properties from the interface asset
|
6816
|
+
# model to the asset model where the interface is applied. This
|
6817
|
+
# configuration controls how properties are matched and created during
|
6818
|
+
# the interface application process.
|
6819
|
+
#
|
6820
|
+
# @option params [String] :client_token
|
6821
|
+
# A unique case-sensitive identifier that you can provide to ensure the
|
6822
|
+
# idempotency of the request. Don't reuse this client token if a new
|
6823
|
+
# idempotent request is required.
|
6824
|
+
#
|
6825
|
+
# **A suitable default value is auto-generated.** You should normally
|
6826
|
+
# not need to pass this option.**
|
6827
|
+
#
|
6828
|
+
# @return [Types::PutAssetModelInterfaceRelationshipResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6829
|
+
#
|
6830
|
+
# * {Types::PutAssetModelInterfaceRelationshipResponse#asset_model_id #asset_model_id} => String
|
6831
|
+
# * {Types::PutAssetModelInterfaceRelationshipResponse#interface_asset_model_id #interface_asset_model_id} => String
|
6832
|
+
# * {Types::PutAssetModelInterfaceRelationshipResponse#asset_model_arn #asset_model_arn} => String
|
6833
|
+
# * {Types::PutAssetModelInterfaceRelationshipResponse#asset_model_status #asset_model_status} => Types::AssetModelStatus
|
6834
|
+
#
|
6835
|
+
# @example Request syntax with placeholder values
|
6836
|
+
#
|
6837
|
+
# resp = client.put_asset_model_interface_relationship({
|
6838
|
+
# asset_model_id: "CustomID", # required
|
6839
|
+
# interface_asset_model_id: "CustomID", # required
|
6840
|
+
# property_mapping_configuration: { # required
|
6841
|
+
# match_by_property_name: false,
|
6842
|
+
# create_missing_property: false,
|
6843
|
+
# overrides: [
|
6844
|
+
# {
|
6845
|
+
# asset_model_property_id: "CustomID", # required
|
6846
|
+
# interface_asset_model_property_id: "CustomID", # required
|
6847
|
+
# },
|
6848
|
+
# ],
|
6849
|
+
# },
|
6850
|
+
# client_token: "ClientToken",
|
6851
|
+
# })
|
6852
|
+
#
|
6853
|
+
# @example Response structure
|
6854
|
+
#
|
6855
|
+
# resp.asset_model_id #=> String
|
6856
|
+
# resp.interface_asset_model_id #=> String
|
6857
|
+
# resp.asset_model_arn #=> String
|
6858
|
+
# resp.asset_model_status.state #=> String, one of "CREATING", "ACTIVE", "UPDATING", "PROPAGATING", "DELETING", "FAILED"
|
6859
|
+
# resp.asset_model_status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
6860
|
+
# resp.asset_model_status.error.message #=> String
|
6861
|
+
# resp.asset_model_status.error.details #=> Array
|
6862
|
+
# resp.asset_model_status.error.details[0].code #=> String, one of "INCOMPATIBLE_COMPUTE_LOCATION", "INCOMPATIBLE_FORWARDING_CONFIGURATION"
|
6863
|
+
# resp.asset_model_status.error.details[0].message #=> String
|
6864
|
+
#
|
6865
|
+
# @overload put_asset_model_interface_relationship(params = {})
|
6866
|
+
# @param [Hash] params ({})
|
6867
|
+
def put_asset_model_interface_relationship(params = {}, options = {})
|
6868
|
+
req = build_request(:put_asset_model_interface_relationship, params)
|
6869
|
+
req.send_request(options)
|
6870
|
+
end
|
6871
|
+
|
6652
6872
|
# Sets the default encryption configuration for the Amazon Web Services
|
6653
6873
|
# account. For more information, see [Key management][1] in the *IoT
|
6654
6874
|
# SiteWise User Guide*.
|
@@ -7211,8 +7431,8 @@ module Aws::IoTSiteWise
|
|
7211
7431
|
# },
|
7212
7432
|
# },
|
7213
7433
|
# metric: {
|
7214
|
-
# expression: "Expression",
|
7215
|
-
# variables: [
|
7434
|
+
# expression: "Expression",
|
7435
|
+
# variables: [
|
7216
7436
|
# {
|
7217
7437
|
# name: "VariableName", # required
|
7218
7438
|
# value: { # required
|
@@ -7303,8 +7523,8 @@ module Aws::IoTSiteWise
|
|
7303
7523
|
# },
|
7304
7524
|
# },
|
7305
7525
|
# metric: {
|
7306
|
-
# expression: "Expression",
|
7307
|
-
# variables: [
|
7526
|
+
# expression: "Expression",
|
7527
|
+
# variables: [
|
7308
7528
|
# {
|
7309
7529
|
# name: "VariableName", # required
|
7310
7530
|
# value: { # required
|
@@ -7507,8 +7727,8 @@ module Aws::IoTSiteWise
|
|
7507
7727
|
# },
|
7508
7728
|
# },
|
7509
7729
|
# metric: {
|
7510
|
-
# expression: "Expression",
|
7511
|
-
# variables: [
|
7730
|
+
# expression: "Expression",
|
7731
|
+
# variables: [
|
7512
7732
|
# {
|
7513
7733
|
# name: "VariableName", # required
|
7514
7734
|
# value: { # required
|
@@ -8117,7 +8337,7 @@ module Aws::IoTSiteWise
|
|
8117
8337
|
tracer: tracer
|
8118
8338
|
)
|
8119
8339
|
context[:gem_name] = 'aws-sdk-iotsitewise'
|
8120
|
-
context[:gem_version] = '1.
|
8340
|
+
context[:gem_version] = '1.91.0'
|
8121
8341
|
Seahorse::Client::Request.new(handlers, context)
|
8122
8342
|
end
|
8123
8343
|
|