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
@@ -219,6 +219,7 @@ module Aws::IoTSiteWise
|
|
219
219
|
CreateDatasetResponse = Shapes::StructureShape.new(name: 'CreateDatasetResponse')
|
220
220
|
CreateGatewayRequest = Shapes::StructureShape.new(name: 'CreateGatewayRequest')
|
221
221
|
CreateGatewayResponse = Shapes::StructureShape.new(name: 'CreateGatewayResponse')
|
222
|
+
CreateMissingProperty = Shapes::BooleanShape.new(name: 'CreateMissingProperty')
|
222
223
|
CreatePortalRequest = Shapes::StructureShape.new(name: 'CreatePortalRequest')
|
223
224
|
CreatePortalResponse = Shapes::StructureShape.new(name: 'CreatePortalResponse')
|
224
225
|
CreateProjectRequest = Shapes::StructureShape.new(name: 'CreateProjectRequest')
|
@@ -246,6 +247,8 @@ module Aws::IoTSiteWise
|
|
246
247
|
DeleteAccessPolicyResponse = Shapes::StructureShape.new(name: 'DeleteAccessPolicyResponse')
|
247
248
|
DeleteAssetModelCompositeModelRequest = Shapes::StructureShape.new(name: 'DeleteAssetModelCompositeModelRequest')
|
248
249
|
DeleteAssetModelCompositeModelResponse = Shapes::StructureShape.new(name: 'DeleteAssetModelCompositeModelResponse')
|
250
|
+
DeleteAssetModelInterfaceRelationshipRequest = Shapes::StructureShape.new(name: 'DeleteAssetModelInterfaceRelationshipRequest')
|
251
|
+
DeleteAssetModelInterfaceRelationshipResponse = Shapes::StructureShape.new(name: 'DeleteAssetModelInterfaceRelationshipResponse')
|
249
252
|
DeleteAssetModelRequest = Shapes::StructureShape.new(name: 'DeleteAssetModelRequest')
|
250
253
|
DeleteAssetModelResponse = Shapes::StructureShape.new(name: 'DeleteAssetModelResponse')
|
251
254
|
DeleteAssetRequest = Shapes::StructureShape.new(name: 'DeleteAssetRequest')
|
@@ -271,6 +274,8 @@ module Aws::IoTSiteWise
|
|
271
274
|
DescribeAssetCompositeModelResponse = Shapes::StructureShape.new(name: 'DescribeAssetCompositeModelResponse')
|
272
275
|
DescribeAssetModelCompositeModelRequest = Shapes::StructureShape.new(name: 'DescribeAssetModelCompositeModelRequest')
|
273
276
|
DescribeAssetModelCompositeModelResponse = Shapes::StructureShape.new(name: 'DescribeAssetModelCompositeModelResponse')
|
277
|
+
DescribeAssetModelInterfaceRelationshipRequest = Shapes::StructureShape.new(name: 'DescribeAssetModelInterfaceRelationshipRequest')
|
278
|
+
DescribeAssetModelInterfaceRelationshipResponse = Shapes::StructureShape.new(name: 'DescribeAssetModelInterfaceRelationshipResponse')
|
274
279
|
DescribeAssetModelRequest = Shapes::StructureShape.new(name: 'DescribeAssetModelRequest')
|
275
280
|
DescribeAssetModelResponse = Shapes::StructureShape.new(name: 'DescribeAssetModelResponse')
|
276
281
|
DescribeAssetPropertyRequest = Shapes::StructureShape.new(name: 'DescribeAssetPropertyRequest')
|
@@ -369,6 +374,8 @@ module Aws::IoTSiteWise
|
|
369
374
|
Greengrass = Shapes::StructureShape.new(name: 'Greengrass')
|
370
375
|
GreengrassV2 = Shapes::StructureShape.new(name: 'GreengrassV2')
|
371
376
|
GroupIdentity = Shapes::StructureShape.new(name: 'GroupIdentity')
|
377
|
+
HierarchyMapping = Shapes::StructureShape.new(name: 'HierarchyMapping')
|
378
|
+
HierarchyMappings = Shapes::ListShape.new(name: 'HierarchyMappings')
|
372
379
|
IAMRoleIdentity = Shapes::StructureShape.new(name: 'IAMRoleIdentity')
|
373
380
|
IAMUserIdentity = Shapes::StructureShape.new(name: 'IAMUserIdentity')
|
374
381
|
ID = Shapes::StringShape.new(name: 'ID')
|
@@ -383,6 +390,12 @@ module Aws::IoTSiteWise
|
|
383
390
|
ImageFileType = Shapes::StringShape.new(name: 'ImageFileType')
|
384
391
|
ImageLocation = Shapes::StructureShape.new(name: 'ImageLocation')
|
385
392
|
InputProperties = Shapes::StringShape.new(name: 'InputProperties')
|
393
|
+
InterfaceDetails = Shapes::ListShape.new(name: 'InterfaceDetails')
|
394
|
+
InterfaceRelationship = Shapes::StructureShape.new(name: 'InterfaceRelationship')
|
395
|
+
InterfaceRelationshipSummaries = Shapes::ListShape.new(name: 'InterfaceRelationshipSummaries')
|
396
|
+
InterfaceRelationshipSummary = Shapes::StructureShape.new(name: 'InterfaceRelationshipSummary')
|
397
|
+
InterfaceSummaries = Shapes::ListShape.new(name: 'InterfaceSummaries')
|
398
|
+
InterfaceSummary = Shapes::StructureShape.new(name: 'InterfaceSummary')
|
386
399
|
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
387
400
|
InterpolatedAssetPropertyValue = Shapes::StructureShape.new(name: 'InterpolatedAssetPropertyValue')
|
388
401
|
InterpolatedAssetPropertyValues = Shapes::ListShape.new(name: 'InterpolatedAssetPropertyValues')
|
@@ -443,6 +456,8 @@ module Aws::IoTSiteWise
|
|
443
456
|
ListExecutionsResponse = Shapes::StructureShape.new(name: 'ListExecutionsResponse')
|
444
457
|
ListGatewaysRequest = Shapes::StructureShape.new(name: 'ListGatewaysRequest')
|
445
458
|
ListGatewaysResponse = Shapes::StructureShape.new(name: 'ListGatewaysResponse')
|
459
|
+
ListInterfaceRelationshipsRequest = Shapes::StructureShape.new(name: 'ListInterfaceRelationshipsRequest')
|
460
|
+
ListInterfaceRelationshipsResponse = Shapes::StructureShape.new(name: 'ListInterfaceRelationshipsResponse')
|
446
461
|
ListPortalsRequest = Shapes::StructureShape.new(name: 'ListPortalsRequest')
|
447
462
|
ListPortalsResponse = Shapes::StructureShape.new(name: 'ListPortalsResponse')
|
448
463
|
ListProjectAssetsRequest = Shapes::StructureShape.new(name: 'ListProjectAssetsRequest')
|
@@ -458,6 +473,7 @@ module Aws::IoTSiteWise
|
|
458
473
|
LoggingLevel = Shapes::StringShape.new(name: 'LoggingLevel')
|
459
474
|
LoggingOptions = Shapes::StructureShape.new(name: 'LoggingOptions')
|
460
475
|
Macro = Shapes::StringShape.new(name: 'Macro')
|
476
|
+
MatchByPropertyName = Shapes::BooleanShape.new(name: 'MatchByPropertyName')
|
461
477
|
MatchedDataBinding = Shapes::StructureShape.new(name: 'MatchedDataBinding')
|
462
478
|
MaxInterpolatedResults = Shapes::IntegerShape.new(name: 'MaxInterpolatedResults')
|
463
479
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
@@ -498,6 +514,9 @@ module Aws::IoTSiteWise
|
|
498
514
|
Property = Shapes::StructureShape.new(name: 'Property')
|
499
515
|
PropertyAlias = Shapes::StringShape.new(name: 'PropertyAlias')
|
500
516
|
PropertyDataType = Shapes::StringShape.new(name: 'PropertyDataType')
|
517
|
+
PropertyMapping = Shapes::StructureShape.new(name: 'PropertyMapping')
|
518
|
+
PropertyMappingConfiguration = Shapes::StructureShape.new(name: 'PropertyMappingConfiguration')
|
519
|
+
PropertyMappings = Shapes::ListShape.new(name: 'PropertyMappings')
|
501
520
|
PropertyNotification = Shapes::StructureShape.new(name: 'PropertyNotification')
|
502
521
|
PropertyNotificationState = Shapes::StringShape.new(name: 'PropertyNotificationState')
|
503
522
|
PropertyNotificationTopic = Shapes::StringShape.new(name: 'PropertyNotificationTopic')
|
@@ -508,6 +527,8 @@ module Aws::IoTSiteWise
|
|
508
527
|
PropertyValueIntegerValue = Shapes::IntegerShape.new(name: 'PropertyValueIntegerValue')
|
509
528
|
PropertyValueNullValue = Shapes::StructureShape.new(name: 'PropertyValueNullValue')
|
510
529
|
PropertyValueStringValue = Shapes::StringShape.new(name: 'PropertyValueStringValue')
|
530
|
+
PutAssetModelInterfaceRelationshipRequest = Shapes::StructureShape.new(name: 'PutAssetModelInterfaceRelationshipRequest')
|
531
|
+
PutAssetModelInterfaceRelationshipResponse = Shapes::StructureShape.new(name: 'PutAssetModelInterfaceRelationshipResponse')
|
511
532
|
PutAssetPropertyValueEntries = Shapes::ListShape.new(name: 'PutAssetPropertyValueEntries')
|
512
533
|
PutAssetPropertyValueEntry = Shapes::StructureShape.new(name: 'PutAssetPropertyValueEntry')
|
513
534
|
PutDefaultEncryptionConfigurationRequest = Shapes::StructureShape.new(name: 'PutDefaultEncryptionConfigurationRequest')
|
@@ -810,6 +831,7 @@ module Aws::IoTSiteWise
|
|
810
831
|
AssetModelPropertySummary.add_member(:type, Shapes::ShapeRef.new(shape: PropertyType, required: true, location_name: "type"))
|
811
832
|
AssetModelPropertySummary.add_member(:asset_model_composite_model_id, Shapes::ShapeRef.new(shape: ID, location_name: "assetModelCompositeModelId"))
|
812
833
|
AssetModelPropertySummary.add_member(:path, Shapes::ShapeRef.new(shape: AssetModelPropertyPath, location_name: "path"))
|
834
|
+
AssetModelPropertySummary.add_member(:interface_summaries, Shapes::ShapeRef.new(shape: InterfaceSummaries, location_name: "interfaceSummaries"))
|
813
835
|
AssetModelPropertySummary.struct_class = Types::AssetModelPropertySummary
|
814
836
|
|
815
837
|
AssetModelStatus.add_member(:state, Shapes::ShapeRef.new(shape: AssetModelState, required: true, location_name: "state"))
|
@@ -1444,6 +1466,17 @@ module Aws::IoTSiteWise
|
|
1444
1466
|
DeleteAssetModelCompositeModelResponse.add_member(:asset_model_status, Shapes::ShapeRef.new(shape: AssetModelStatus, required: true, location_name: "assetModelStatus"))
|
1445
1467
|
DeleteAssetModelCompositeModelResponse.struct_class = Types::DeleteAssetModelCompositeModelResponse
|
1446
1468
|
|
1469
|
+
DeleteAssetModelInterfaceRelationshipRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
1470
|
+
DeleteAssetModelInterfaceRelationshipRequest.add_member(:interface_asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "interfaceAssetModelId"))
|
1471
|
+
DeleteAssetModelInterfaceRelationshipRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
1472
|
+
DeleteAssetModelInterfaceRelationshipRequest.struct_class = Types::DeleteAssetModelInterfaceRelationshipRequest
|
1473
|
+
|
1474
|
+
DeleteAssetModelInterfaceRelationshipResponse.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetModelId"))
|
1475
|
+
DeleteAssetModelInterfaceRelationshipResponse.add_member(:interface_asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "interfaceAssetModelId"))
|
1476
|
+
DeleteAssetModelInterfaceRelationshipResponse.add_member(:asset_model_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "assetModelArn"))
|
1477
|
+
DeleteAssetModelInterfaceRelationshipResponse.add_member(:asset_model_status, Shapes::ShapeRef.new(shape: AssetModelStatus, required: true, location_name: "assetModelStatus"))
|
1478
|
+
DeleteAssetModelInterfaceRelationshipResponse.struct_class = Types::DeleteAssetModelInterfaceRelationshipResponse
|
1479
|
+
|
1447
1480
|
DeleteAssetModelRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
1448
1481
|
DeleteAssetModelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
1449
1482
|
DeleteAssetModelRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: ETag, location: "header", location_name: "If-Match"))
|
@@ -1560,6 +1593,16 @@ module Aws::IoTSiteWise
|
|
1560
1593
|
DescribeAssetModelCompositeModelResponse.add_member(:action_definitions, Shapes::ShapeRef.new(shape: ActionDefinitions, location_name: "actionDefinitions"))
|
1561
1594
|
DescribeAssetModelCompositeModelResponse.struct_class = Types::DescribeAssetModelCompositeModelResponse
|
1562
1595
|
|
1596
|
+
DescribeAssetModelInterfaceRelationshipRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
1597
|
+
DescribeAssetModelInterfaceRelationshipRequest.add_member(:interface_asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "interfaceAssetModelId"))
|
1598
|
+
DescribeAssetModelInterfaceRelationshipRequest.struct_class = Types::DescribeAssetModelInterfaceRelationshipRequest
|
1599
|
+
|
1600
|
+
DescribeAssetModelInterfaceRelationshipResponse.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetModelId"))
|
1601
|
+
DescribeAssetModelInterfaceRelationshipResponse.add_member(:interface_asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "interfaceAssetModelId"))
|
1602
|
+
DescribeAssetModelInterfaceRelationshipResponse.add_member(:property_mappings, Shapes::ShapeRef.new(shape: PropertyMappings, required: true, location_name: "propertyMappings"))
|
1603
|
+
DescribeAssetModelInterfaceRelationshipResponse.add_member(:hierarchy_mappings, Shapes::ShapeRef.new(shape: HierarchyMappings, required: true, location_name: "hierarchyMappings"))
|
1604
|
+
DescribeAssetModelInterfaceRelationshipResponse.struct_class = Types::DescribeAssetModelInterfaceRelationshipResponse
|
1605
|
+
|
1563
1606
|
DescribeAssetModelRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
1564
1607
|
DescribeAssetModelRequest.add_member(:exclude_properties, Shapes::ShapeRef.new(shape: ExcludeProperties, location: "querystring", location_name: "excludeProperties"))
|
1565
1608
|
DescribeAssetModelRequest.add_member(:asset_model_version, Shapes::ShapeRef.new(shape: AssetModelVersionFilter, location: "querystring", location_name: "assetModelVersion"))
|
@@ -1579,6 +1622,7 @@ module Aws::IoTSiteWise
|
|
1579
1622
|
DescribeAssetModelResponse.add_member(:asset_model_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "assetModelLastUpdateDate"))
|
1580
1623
|
DescribeAssetModelResponse.add_member(:asset_model_status, Shapes::ShapeRef.new(shape: AssetModelStatus, required: true, location_name: "assetModelStatus"))
|
1581
1624
|
DescribeAssetModelResponse.add_member(:asset_model_version, Shapes::ShapeRef.new(shape: Version, location_name: "assetModelVersion"))
|
1625
|
+
DescribeAssetModelResponse.add_member(:interface_details, Shapes::ShapeRef.new(shape: InterfaceDetails, location_name: "interfaceDetails"))
|
1582
1626
|
DescribeAssetModelResponse.add_member(:e_tag, Shapes::ShapeRef.new(shape: ETag, location: "header", location_name: "ETag"))
|
1583
1627
|
DescribeAssetModelResponse.struct_class = Types::DescribeAssetModelResponse
|
1584
1628
|
|
@@ -1977,6 +2021,12 @@ module Aws::IoTSiteWise
|
|
1977
2021
|
GroupIdentity.add_member(:id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "id"))
|
1978
2022
|
GroupIdentity.struct_class = Types::GroupIdentity
|
1979
2023
|
|
2024
|
+
HierarchyMapping.add_member(:asset_model_hierarchy_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetModelHierarchyId"))
|
2025
|
+
HierarchyMapping.add_member(:interface_asset_model_hierarchy_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "interfaceAssetModelHierarchyId"))
|
2026
|
+
HierarchyMapping.struct_class = Types::HierarchyMapping
|
2027
|
+
|
2028
|
+
HierarchyMappings.member = Shapes::ShapeRef.new(shape: HierarchyMapping)
|
2029
|
+
|
1980
2030
|
IAMRoleIdentity.add_member(:arn, Shapes::ShapeRef.new(shape: IamArn, required: true, location_name: "arn"))
|
1981
2031
|
IAMRoleIdentity.struct_class = Types::IAMRoleIdentity
|
1982
2032
|
|
@@ -2003,6 +2053,22 @@ module Aws::IoTSiteWise
|
|
2003
2053
|
ImageLocation.add_member(:url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "url"))
|
2004
2054
|
ImageLocation.struct_class = Types::ImageLocation
|
2005
2055
|
|
2056
|
+
InterfaceDetails.member = Shapes::ShapeRef.new(shape: InterfaceRelationship)
|
2057
|
+
|
2058
|
+
InterfaceRelationship.add_member(:id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "id"))
|
2059
|
+
InterfaceRelationship.struct_class = Types::InterfaceRelationship
|
2060
|
+
|
2061
|
+
InterfaceRelationshipSummaries.member = Shapes::ShapeRef.new(shape: InterfaceRelationshipSummary)
|
2062
|
+
|
2063
|
+
InterfaceRelationshipSummary.add_member(:id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "id"))
|
2064
|
+
InterfaceRelationshipSummary.struct_class = Types::InterfaceRelationshipSummary
|
2065
|
+
|
2066
|
+
InterfaceSummaries.member = Shapes::ShapeRef.new(shape: InterfaceSummary)
|
2067
|
+
|
2068
|
+
InterfaceSummary.add_member(:interface_asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "interfaceAssetModelId"))
|
2069
|
+
InterfaceSummary.add_member(:interface_asset_model_property_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "interfaceAssetModelPropertyId"))
|
2070
|
+
InterfaceSummary.struct_class = Types::InterfaceSummary
|
2071
|
+
|
2006
2072
|
InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
2007
2073
|
InternalFailureException.struct_class = Types::InternalFailureException
|
2008
2074
|
|
@@ -2230,6 +2296,15 @@ module Aws::IoTSiteWise
|
|
2230
2296
|
ListGatewaysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
2231
2297
|
ListGatewaysResponse.struct_class = Types::ListGatewaysResponse
|
2232
2298
|
|
2299
|
+
ListInterfaceRelationshipsRequest.add_member(:interface_asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "interfaceAssetModelId"))
|
2300
|
+
ListInterfaceRelationshipsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
2301
|
+
ListInterfaceRelationshipsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
2302
|
+
ListInterfaceRelationshipsRequest.struct_class = Types::ListInterfaceRelationshipsRequest
|
2303
|
+
|
2304
|
+
ListInterfaceRelationshipsResponse.add_member(:interface_relationship_summaries, Shapes::ShapeRef.new(shape: InterfaceRelationshipSummaries, required: true, location_name: "interfaceRelationshipSummaries"))
|
2305
|
+
ListInterfaceRelationshipsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
2306
|
+
ListInterfaceRelationshipsResponse.struct_class = Types::ListInterfaceRelationshipsResponse
|
2307
|
+
|
2233
2308
|
ListPortalsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
2234
2309
|
ListPortalsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
2235
2310
|
ListPortalsRequest.struct_class = Types::ListPortalsRequest
|
@@ -2288,8 +2363,8 @@ module Aws::IoTSiteWise
|
|
2288
2363
|
MeasurementProcessingConfig.add_member(:forwarding_config, Shapes::ShapeRef.new(shape: ForwardingConfig, required: true, location_name: "forwardingConfig"))
|
2289
2364
|
MeasurementProcessingConfig.struct_class = Types::MeasurementProcessingConfig
|
2290
2365
|
|
2291
|
-
Metric.add_member(:expression, Shapes::ShapeRef.new(shape: Expression,
|
2292
|
-
Metric.add_member(:variables, Shapes::ShapeRef.new(shape: ExpressionVariables,
|
2366
|
+
Metric.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, location_name: "expression"))
|
2367
|
+
Metric.add_member(:variables, Shapes::ShapeRef.new(shape: ExpressionVariables, location_name: "variables"))
|
2293
2368
|
Metric.add_member(:window, Shapes::ShapeRef.new(shape: MetricWindow, required: true, location_name: "window"))
|
2294
2369
|
Metric.add_member(:processing_config, Shapes::ShapeRef.new(shape: MetricProcessingConfig, location_name: "processingConfig"))
|
2295
2370
|
Metric.struct_class = Types::Metric
|
@@ -2365,6 +2440,17 @@ module Aws::IoTSiteWise
|
|
2365
2440
|
Property.add_member(:path, Shapes::ShapeRef.new(shape: AssetPropertyPath, location_name: "path"))
|
2366
2441
|
Property.struct_class = Types::Property
|
2367
2442
|
|
2443
|
+
PropertyMapping.add_member(:asset_model_property_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location_name: "assetModelPropertyId"))
|
2444
|
+
PropertyMapping.add_member(:interface_asset_model_property_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location_name: "interfaceAssetModelPropertyId"))
|
2445
|
+
PropertyMapping.struct_class = Types::PropertyMapping
|
2446
|
+
|
2447
|
+
PropertyMappingConfiguration.add_member(:match_by_property_name, Shapes::ShapeRef.new(shape: MatchByPropertyName, location_name: "matchByPropertyName"))
|
2448
|
+
PropertyMappingConfiguration.add_member(:create_missing_property, Shapes::ShapeRef.new(shape: CreateMissingProperty, location_name: "createMissingProperty"))
|
2449
|
+
PropertyMappingConfiguration.add_member(:overrides, Shapes::ShapeRef.new(shape: PropertyMappings, location_name: "overrides"))
|
2450
|
+
PropertyMappingConfiguration.struct_class = Types::PropertyMappingConfiguration
|
2451
|
+
|
2452
|
+
PropertyMappings.member = Shapes::ShapeRef.new(shape: PropertyMapping)
|
2453
|
+
|
2368
2454
|
PropertyNotification.add_member(:topic, Shapes::ShapeRef.new(shape: PropertyNotificationTopic, required: true, location_name: "topic"))
|
2369
2455
|
PropertyNotification.add_member(:state, Shapes::ShapeRef.new(shape: PropertyNotificationState, required: true, location_name: "state"))
|
2370
2456
|
PropertyNotification.struct_class = Types::PropertyNotification
|
@@ -2378,6 +2464,18 @@ module Aws::IoTSiteWise
|
|
2378
2464
|
PropertyValueNullValue.add_member(:value_type, Shapes::ShapeRef.new(shape: RawValueType, required: true, location_name: "valueType"))
|
2379
2465
|
PropertyValueNullValue.struct_class = Types::PropertyValueNullValue
|
2380
2466
|
|
2467
|
+
PutAssetModelInterfaceRelationshipRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "assetModelId"))
|
2468
|
+
PutAssetModelInterfaceRelationshipRequest.add_member(:interface_asset_model_id, Shapes::ShapeRef.new(shape: CustomID, required: true, location: "uri", location_name: "interfaceAssetModelId"))
|
2469
|
+
PutAssetModelInterfaceRelationshipRequest.add_member(:property_mapping_configuration, Shapes::ShapeRef.new(shape: PropertyMappingConfiguration, required: true, location_name: "propertyMappingConfiguration"))
|
2470
|
+
PutAssetModelInterfaceRelationshipRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
2471
|
+
PutAssetModelInterfaceRelationshipRequest.struct_class = Types::PutAssetModelInterfaceRelationshipRequest
|
2472
|
+
|
2473
|
+
PutAssetModelInterfaceRelationshipResponse.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetModelId"))
|
2474
|
+
PutAssetModelInterfaceRelationshipResponse.add_member(:interface_asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "interfaceAssetModelId"))
|
2475
|
+
PutAssetModelInterfaceRelationshipResponse.add_member(:asset_model_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "assetModelArn"))
|
2476
|
+
PutAssetModelInterfaceRelationshipResponse.add_member(:asset_model_status, Shapes::ShapeRef.new(shape: AssetModelStatus, required: true, location_name: "assetModelStatus"))
|
2477
|
+
PutAssetModelInterfaceRelationshipResponse.struct_class = Types::PutAssetModelInterfaceRelationshipResponse
|
2478
|
+
|
2381
2479
|
PutAssetPropertyValueEntries.member = Shapes::ShapeRef.new(shape: PutAssetPropertyValueEntry)
|
2382
2480
|
|
2383
2481
|
PutAssetPropertyValueEntry.add_member(:entry_id, Shapes::ShapeRef.new(shape: EntryId, required: true, location_name: "entryId"))
|
@@ -3111,6 +3209,22 @@ module Aws::IoTSiteWise
|
|
3111
3209
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
3112
3210
|
end)
|
3113
3211
|
|
3212
|
+
api.add_operation(:delete_asset_model_interface_relationship, Seahorse::Model::Operation.new.tap do |o|
|
3213
|
+
o.name = "DeleteAssetModelInterfaceRelationship"
|
3214
|
+
o.http_method = "DELETE"
|
3215
|
+
o.http_request_uri = "/asset-models/{assetModelId}/interface/{interfaceAssetModelId}/asset-model-interface-relationship"
|
3216
|
+
o.endpoint_pattern = {
|
3217
|
+
"hostPrefix" => "api.",
|
3218
|
+
}
|
3219
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteAssetModelInterfaceRelationshipRequest)
|
3220
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteAssetModelInterfaceRelationshipResponse)
|
3221
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
3222
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3223
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
3224
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3225
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
3226
|
+
end)
|
3227
|
+
|
3114
3228
|
api.add_operation(:delete_computation_model, Seahorse::Model::Operation.new.tap do |o|
|
3115
3229
|
o.name = "DeleteComputationModel"
|
3116
3230
|
o.http_method = "DELETE"
|
@@ -3311,6 +3425,21 @@ module Aws::IoTSiteWise
|
|
3311
3425
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3312
3426
|
end)
|
3313
3427
|
|
3428
|
+
api.add_operation(:describe_asset_model_interface_relationship, Seahorse::Model::Operation.new.tap do |o|
|
3429
|
+
o.name = "DescribeAssetModelInterfaceRelationship"
|
3430
|
+
o.http_method = "GET"
|
3431
|
+
o.http_request_uri = "/asset-models/{assetModelId}/interface/{interfaceAssetModelId}/asset-model-interface-relationship"
|
3432
|
+
o.endpoint_pattern = {
|
3433
|
+
"hostPrefix" => "api.",
|
3434
|
+
}
|
3435
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeAssetModelInterfaceRelationshipRequest)
|
3436
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeAssetModelInterfaceRelationshipResponse)
|
3437
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
3438
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3439
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
3440
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3441
|
+
end)
|
3442
|
+
|
3314
3443
|
api.add_operation(:describe_asset_property, Seahorse::Model::Operation.new.tap do |o|
|
3315
3444
|
o.name = "DescribeAssetProperty"
|
3316
3445
|
o.http_method = "GET"
|
@@ -4081,6 +4210,27 @@ module Aws::IoTSiteWise
|
|
4081
4210
|
)
|
4082
4211
|
end)
|
4083
4212
|
|
4213
|
+
api.add_operation(:list_interface_relationships, Seahorse::Model::Operation.new.tap do |o|
|
4214
|
+
o.name = "ListInterfaceRelationships"
|
4215
|
+
o.http_method = "GET"
|
4216
|
+
o.http_request_uri = "/interface/{interfaceAssetModelId}/asset-models"
|
4217
|
+
o.endpoint_pattern = {
|
4218
|
+
"hostPrefix" => "api.",
|
4219
|
+
}
|
4220
|
+
o.input = Shapes::ShapeRef.new(shape: ListInterfaceRelationshipsRequest)
|
4221
|
+
o.output = Shapes::ShapeRef.new(shape: ListInterfaceRelationshipsResponse)
|
4222
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
4223
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
4224
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
4225
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
4226
|
+
o[:pager] = Aws::Pager.new(
|
4227
|
+
limit_key: "max_results",
|
4228
|
+
tokens: {
|
4229
|
+
"next_token" => "next_token"
|
4230
|
+
}
|
4231
|
+
)
|
4232
|
+
end)
|
4233
|
+
|
4084
4234
|
api.add_operation(:list_portals, Seahorse::Model::Operation.new.tap do |o|
|
4085
4235
|
o.name = "ListPortals"
|
4086
4236
|
o.http_method = "GET"
|
@@ -4180,6 +4330,23 @@ module Aws::IoTSiteWise
|
|
4180
4330
|
)
|
4181
4331
|
end)
|
4182
4332
|
|
4333
|
+
api.add_operation(:put_asset_model_interface_relationship, Seahorse::Model::Operation.new.tap do |o|
|
4334
|
+
o.name = "PutAssetModelInterfaceRelationship"
|
4335
|
+
o.http_method = "PUT"
|
4336
|
+
o.http_request_uri = "/asset-models/{assetModelId}/interface/{interfaceAssetModelId}/asset-model-interface-relationship"
|
4337
|
+
o.endpoint_pattern = {
|
4338
|
+
"hostPrefix" => "api.",
|
4339
|
+
}
|
4340
|
+
o.input = Shapes::ShapeRef.new(shape: PutAssetModelInterfaceRelationshipRequest)
|
4341
|
+
o.output = Shapes::ShapeRef.new(shape: PutAssetModelInterfaceRelationshipResponse)
|
4342
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
4343
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
4344
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
4345
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
4346
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
4347
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
4348
|
+
end)
|
4349
|
+
|
4183
4350
|
api.add_operation(:put_default_encryption_configuration, Seahorse::Model::Operation.new.tap do |o|
|
4184
4351
|
o.name = "PutDefaultEncryptionConfiguration"
|
4185
4352
|
o.http_method = "POST"
|