aws-sdk-iotsitewise 1.87.0 → 1.89.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.
@@ -56,7 +56,7 @@ module Aws::IoTSiteWise
56
56
  autoload :Endpoints, 'aws-sdk-iotsitewise/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-iotsitewise/event_streams'
58
58
 
59
- GEM_VERSION = '1.87.0'
59
+ GEM_VERSION = '1.89.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
@@ -278,11 +279,11 @@ module Aws
278
279
  def create_asset: (
279
280
  asset_name: ::String,
280
281
  asset_model_id: ::String,
282
+ ?asset_id: ::String,
283
+ ?asset_external_id: ::String,
281
284
  ?client_token: ::String,
282
285
  ?tags: Hash[::String, ::String],
283
- ?asset_description: ::String,
284
- ?asset_id: ::String,
285
- ?asset_external_id: ::String
286
+ ?asset_description: ::String
286
287
  ) -> _CreateAssetResponseSuccess
287
288
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAssetResponseSuccess
288
289
 
@@ -598,6 +599,40 @@ module Aws
598
599
  ) -> _CreateBulkImportJobResponseSuccess
599
600
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBulkImportJobResponseSuccess
600
601
 
602
+ interface _CreateComputationModelResponseSuccess
603
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateComputationModelResponse]
604
+ def computation_model_id: () -> ::String
605
+ def computation_model_arn: () -> ::String
606
+ def computation_model_status: () -> Types::ComputationModelStatus
607
+ end
608
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#create_computation_model-instance_method
609
+ def create_computation_model: (
610
+ computation_model_name: ::String,
611
+ ?computation_model_description: ::String,
612
+ computation_model_configuration: {
613
+ anomaly_detection: {
614
+ input_properties: ::String,
615
+ result_property: ::String
616
+ }?
617
+ },
618
+ computation_model_data_binding: Hash[::String, {
619
+ asset_model_property: {
620
+ asset_model_id: ::String,
621
+ property_id: ::String
622
+ }?,
623
+ asset_property: {
624
+ asset_id: ::String,
625
+ property_id: ::String
626
+ }?,
627
+ list: Array[
628
+ untyped,
629
+ ]?
630
+ }],
631
+ ?client_token: ::String,
632
+ ?tags: Hash[::String, ::String]
633
+ ) -> _CreateComputationModelResponseSuccess
634
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateComputationModelResponseSuccess
635
+
601
636
  interface _CreateDashboardResponseSuccess
602
637
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateDashboardResponse]
603
638
  def dashboard_id: () -> ::String
@@ -763,6 +798,17 @@ module Aws
763
798
  ) -> _DeleteAssetModelCompositeModelResponseSuccess
764
799
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAssetModelCompositeModelResponseSuccess
765
800
 
801
+ interface _DeleteComputationModelResponseSuccess
802
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteComputationModelResponse]
803
+ def computation_model_status: () -> Types::ComputationModelStatus
804
+ end
805
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#delete_computation_model-instance_method
806
+ def delete_computation_model: (
807
+ computation_model_id: ::String,
808
+ ?client_token: ::String
809
+ ) -> _DeleteComputationModelResponseSuccess
810
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteComputationModelResponseSuccess
811
+
766
812
  interface _DeleteDashboardResponseSuccess
767
813
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDashboardResponse]
768
814
  end
@@ -843,6 +889,7 @@ module Aws
843
889
  def action_definition_id: () -> ::String
844
890
  def action_payload: () -> Types::ActionPayload
845
891
  def execution_time: () -> ::Time
892
+ def resolve_to: () -> Types::ResolveTo
846
893
  end
847
894
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_action-instance_method
848
895
  def describe_action: (
@@ -853,6 +900,7 @@ module Aws
853
900
  interface _DescribeAssetResponseSuccess
854
901
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAssetResponse]
855
902
  def asset_id: () -> ::String
903
+ def asset_external_id: () -> ::String
856
904
  def asset_arn: () -> ::String
857
905
  def asset_name: () -> ::String
858
906
  def asset_model_id: () -> ::String
@@ -864,7 +912,6 @@ module Aws
864
912
  def asset_status: () -> Types::AssetStatus
865
913
  def asset_description: () -> ::String
866
914
  def asset_composite_model_summaries: () -> ::Array[Types::AssetCompositeModelSummary]
867
- def asset_external_id: () -> ::String
868
915
  end
869
916
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_asset-instance_method
870
917
  def describe_asset: (
@@ -944,11 +991,11 @@ module Aws
944
991
  interface _DescribeAssetPropertyResponseSuccess
945
992
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAssetPropertyResponse]
946
993
  def asset_id: () -> ::String
994
+ def asset_external_id: () -> ::String
947
995
  def asset_name: () -> ::String
948
996
  def asset_model_id: () -> ::String
949
997
  def asset_property: () -> Types::Property
950
998
  def composite_model: () -> Types::CompositeModelProperty
951
- def asset_external_id: () -> ::String
952
999
  end
953
1000
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_asset_property-instance_method
954
1001
  def describe_asset_property: (
@@ -977,6 +1024,40 @@ module Aws
977
1024
  ) -> _DescribeBulkImportJobResponseSuccess
978
1025
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeBulkImportJobResponseSuccess
979
1026
 
1027
+ interface _DescribeComputationModelResponseSuccess
1028
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeComputationModelResponse]
1029
+ def computation_model_id: () -> ::String
1030
+ def computation_model_arn: () -> ::String
1031
+ def computation_model_name: () -> ::String
1032
+ def computation_model_description: () -> ::String
1033
+ def computation_model_configuration: () -> Types::ComputationModelConfiguration
1034
+ def computation_model_data_binding: () -> ::Hash[::String, Types::ComputationModelDataBindingValue]
1035
+ def computation_model_creation_date: () -> ::Time
1036
+ def computation_model_last_update_date: () -> ::Time
1037
+ def computation_model_status: () -> Types::ComputationModelStatus
1038
+ def computation_model_version: () -> ::String
1039
+ def action_definitions: () -> ::Array[Types::ActionDefinition]
1040
+ end
1041
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_computation_model-instance_method
1042
+ def describe_computation_model: (
1043
+ computation_model_id: ::String
1044
+ ) -> _DescribeComputationModelResponseSuccess
1045
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeComputationModelResponseSuccess
1046
+
1047
+ interface _DescribeComputationModelExecutionSummaryResponseSuccess
1048
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeComputationModelExecutionSummaryResponse]
1049
+ def computation_model_id: () -> ::String
1050
+ def resolve_to: () -> Types::ResolveTo
1051
+ def computation_model_execution_summary: () -> ::Hash[::String, ::String]
1052
+ end
1053
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_computation_model_execution_summary-instance_method
1054
+ def describe_computation_model_execution_summary: (
1055
+ computation_model_id: ::String,
1056
+ ?resolve_to_resource_type: ("ASSET"),
1057
+ ?resolve_to_resource_id: ::String
1058
+ ) -> _DescribeComputationModelExecutionSummaryResponseSuccess
1059
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeComputationModelExecutionSummaryResponseSuccess
1060
+
980
1061
  interface _DescribeDashboardResponseSuccess
981
1062
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDashboardResponse]
982
1063
  def dashboard_id: () -> ::String
@@ -1023,6 +1104,26 @@ module Aws
1023
1104
  ) -> _DescribeDefaultEncryptionConfigurationResponseSuccess
1024
1105
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDefaultEncryptionConfigurationResponseSuccess
1025
1106
 
1107
+ interface _DescribeExecutionResponseSuccess
1108
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeExecutionResponse]
1109
+ def execution_id: () -> ::String
1110
+ def action_type: () -> ::String
1111
+ def target_resource: () -> Types::TargetResource
1112
+ def target_resource_version: () -> ::String
1113
+ def resolve_to: () -> Types::ResolveTo
1114
+ def execution_start_time: () -> ::Time
1115
+ def execution_end_time: () -> ::Time
1116
+ def execution_status: () -> Types::ExecutionStatus
1117
+ def execution_result: () -> ::Hash[::String, ::String]
1118
+ def execution_details: () -> ::Hash[::String, ::String]
1119
+ def execution_entity_version: () -> ::String
1120
+ end
1121
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_execution-instance_method
1122
+ def describe_execution: (
1123
+ execution_id: ::String
1124
+ ) -> _DescribeExecutionResponseSuccess
1125
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeExecutionResponseSuccess
1126
+
1026
1127
  interface _DescribeGatewayResponseSuccess
1027
1128
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeGatewayResponse]
1028
1129
  def gateway_id: () -> ::String
@@ -1167,13 +1268,17 @@ module Aws
1167
1268
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#execute_action-instance_method
1168
1269
  def execute_action: (
1169
1270
  target_resource: {
1170
- asset_id: ::String
1271
+ asset_id: ::String?,
1272
+ computation_model_id: ::String?
1171
1273
  },
1172
1274
  action_definition_id: ::String,
1173
1275
  action_payload: {
1174
1276
  string_value: ::String
1175
1277
  },
1176
- ?client_token: ::String
1278
+ ?client_token: ::String,
1279
+ ?resolve_to: {
1280
+ asset_id: ::String
1281
+ }
1177
1282
  ) -> _ExecuteActionResponseSuccess
1178
1283
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExecuteActionResponseSuccess
1179
1284
 
@@ -1304,10 +1409,12 @@ module Aws
1304
1409
  end
1305
1410
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#list_actions-instance_method
1306
1411
  def list_actions: (
1307
- target_resource_type: ("ASSET"),
1412
+ target_resource_type: ("ASSET" | "COMPUTATION_MODEL"),
1308
1413
  target_resource_id: ::String,
1309
1414
  ?next_token: ::String,
1310
- ?max_results: ::Integer
1415
+ ?max_results: ::Integer,
1416
+ ?resolve_to_resource_type: ("ASSET"),
1417
+ ?resolve_to_resource_id: ::String
1311
1418
  ) -> _ListActionsResponseSuccess
1312
1419
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListActionsResponseSuccess
1313
1420
 
@@ -1437,6 +1544,60 @@ module Aws
1437
1544
  ) -> _ListCompositionRelationshipsResponseSuccess
1438
1545
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCompositionRelationshipsResponseSuccess
1439
1546
 
1547
+ interface _ListComputationModelDataBindingUsagesResponseSuccess
1548
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListComputationModelDataBindingUsagesResponse]
1549
+ def data_binding_usage_summaries: () -> ::Array[Types::ComputationModelDataBindingUsageSummary]
1550
+ def next_token: () -> ::String
1551
+ end
1552
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#list_computation_model_data_binding_usages-instance_method
1553
+ def list_computation_model_data_binding_usages: (
1554
+ data_binding_value_filter: {
1555
+ asset: {
1556
+ asset_id: ::String
1557
+ }?,
1558
+ asset_model: {
1559
+ asset_model_id: ::String
1560
+ }?,
1561
+ asset_property: {
1562
+ asset_id: ::String,
1563
+ property_id: ::String
1564
+ }?,
1565
+ asset_model_property: {
1566
+ asset_model_id: ::String,
1567
+ property_id: ::String
1568
+ }?
1569
+ },
1570
+ ?next_token: ::String,
1571
+ ?max_results: ::Integer
1572
+ ) -> _ListComputationModelDataBindingUsagesResponseSuccess
1573
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListComputationModelDataBindingUsagesResponseSuccess
1574
+
1575
+ interface _ListComputationModelResolveToResourcesResponseSuccess
1576
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListComputationModelResolveToResourcesResponse]
1577
+ def computation_model_resolve_to_resource_summaries: () -> ::Array[Types::ComputationModelResolveToResourceSummary]
1578
+ def next_token: () -> ::String
1579
+ end
1580
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#list_computation_model_resolve_to_resources-instance_method
1581
+ def list_computation_model_resolve_to_resources: (
1582
+ computation_model_id: ::String,
1583
+ ?next_token: ::String,
1584
+ ?max_results: ::Integer
1585
+ ) -> _ListComputationModelResolveToResourcesResponseSuccess
1586
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListComputationModelResolveToResourcesResponseSuccess
1587
+
1588
+ interface _ListComputationModelsResponseSuccess
1589
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListComputationModelsResponse]
1590
+ def computation_model_summaries: () -> ::Array[Types::ComputationModelSummary]
1591
+ def next_token: () -> ::String
1592
+ end
1593
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#list_computation_models-instance_method
1594
+ def list_computation_models: (
1595
+ ?computation_model_type: ("ANOMALY_DETECTION"),
1596
+ ?next_token: ::String,
1597
+ ?max_results: ::Integer
1598
+ ) -> _ListComputationModelsResponseSuccess
1599
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListComputationModelsResponseSuccess
1600
+
1440
1601
  interface _ListDashboardsResponseSuccess
1441
1602
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDashboardsResponse]
1442
1603
  def dashboard_summaries: () -> ::Array[Types::DashboardSummary]
@@ -1463,6 +1624,23 @@ module Aws
1463
1624
  ) -> _ListDatasetsResponseSuccess
1464
1625
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDatasetsResponseSuccess
1465
1626
 
1627
+ interface _ListExecutionsResponseSuccess
1628
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListExecutionsResponse]
1629
+ def execution_summaries: () -> ::Array[Types::ExecutionSummary]
1630
+ def next_token: () -> ::String
1631
+ end
1632
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#list_executions-instance_method
1633
+ def list_executions: (
1634
+ target_resource_type: ("ASSET" | "COMPUTATION_MODEL"),
1635
+ target_resource_id: ::String,
1636
+ ?resolve_to_resource_type: ("ASSET"),
1637
+ ?resolve_to_resource_id: ::String,
1638
+ ?next_token: ::String,
1639
+ ?max_results: ::Integer,
1640
+ ?action_type: ::String
1641
+ ) -> _ListExecutionsResponseSuccess
1642
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListExecutionsResponseSuccess
1643
+
1466
1644
  interface _ListGatewaysResponseSuccess
1467
1645
  include ::Seahorse::Client::_ResponseSuccess[Types::ListGatewaysResponse]
1468
1646
  def gateway_summaries: () -> ::Array[Types::GatewaySummary]
@@ -1656,10 +1834,10 @@ module Aws
1656
1834
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#update_asset-instance_method
1657
1835
  def update_asset: (
1658
1836
  asset_id: ::String,
1837
+ ?asset_external_id: ::String,
1659
1838
  asset_name: ::String,
1660
1839
  ?client_token: ::String,
1661
- ?asset_description: ::String,
1662
- ?asset_external_id: ::String
1840
+ ?asset_description: ::String
1663
1841
  ) -> _UpdateAssetResponseSuccess
1664
1842
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAssetResponseSuccess
1665
1843
 
@@ -1964,6 +2142,38 @@ module Aws
1964
2142
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1965
2143
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1966
2144
 
2145
+ interface _UpdateComputationModelResponseSuccess
2146
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateComputationModelResponse]
2147
+ def computation_model_status: () -> Types::ComputationModelStatus
2148
+ end
2149
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#update_computation_model-instance_method
2150
+ def update_computation_model: (
2151
+ computation_model_id: ::String,
2152
+ computation_model_name: ::String,
2153
+ ?computation_model_description: ::String,
2154
+ computation_model_configuration: {
2155
+ anomaly_detection: {
2156
+ input_properties: ::String,
2157
+ result_property: ::String
2158
+ }?
2159
+ },
2160
+ computation_model_data_binding: Hash[::String, {
2161
+ asset_model_property: {
2162
+ asset_model_id: ::String,
2163
+ property_id: ::String
2164
+ }?,
2165
+ asset_property: {
2166
+ asset_id: ::String,
2167
+ property_id: ::String
2168
+ }?,
2169
+ list: Array[
2170
+ untyped,
2171
+ ]?
2172
+ }],
2173
+ ?client_token: ::String
2174
+ ) -> _UpdateComputationModelResponseSuccess
2175
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateComputationModelResponseSuccess
2176
+
1967
2177
  interface _UpdateDashboardResponseSuccess
1968
2178
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDashboardResponse]
1969
2179
  end
data/sig/resource.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,