aws-sdk-iotsitewise 1.88.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotsitewise/client.rb +734 -85
- data/lib/aws-sdk-iotsitewise/client_api.rb +489 -19
- data/lib/aws-sdk-iotsitewise/types.rb +1206 -185
- data/lib/aws-sdk-iotsitewise.rb +1 -1
- data/sig/client.rbs +220 -11
- data/sig/types.rbs +295 -12
- metadata +1 -1
data/lib/aws-sdk-iotsitewise.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -279,11 +279,11 @@ module Aws
|
|
279
279
|
def create_asset: (
|
280
280
|
asset_name: ::String,
|
281
281
|
asset_model_id: ::String,
|
282
|
+
?asset_id: ::String,
|
283
|
+
?asset_external_id: ::String,
|
282
284
|
?client_token: ::String,
|
283
285
|
?tags: Hash[::String, ::String],
|
284
|
-
?asset_description: ::String
|
285
|
-
?asset_id: ::String,
|
286
|
-
?asset_external_id: ::String
|
286
|
+
?asset_description: ::String
|
287
287
|
) -> _CreateAssetResponseSuccess
|
288
288
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAssetResponseSuccess
|
289
289
|
|
@@ -599,6 +599,40 @@ module Aws
|
|
599
599
|
) -> _CreateBulkImportJobResponseSuccess
|
600
600
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBulkImportJobResponseSuccess
|
601
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
|
+
|
602
636
|
interface _CreateDashboardResponseSuccess
|
603
637
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDashboardResponse]
|
604
638
|
def dashboard_id: () -> ::String
|
@@ -764,6 +798,17 @@ module Aws
|
|
764
798
|
) -> _DeleteAssetModelCompositeModelResponseSuccess
|
765
799
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAssetModelCompositeModelResponseSuccess
|
766
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
|
+
|
767
812
|
interface _DeleteDashboardResponseSuccess
|
768
813
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDashboardResponse]
|
769
814
|
end
|
@@ -844,6 +889,7 @@ module Aws
|
|
844
889
|
def action_definition_id: () -> ::String
|
845
890
|
def action_payload: () -> Types::ActionPayload
|
846
891
|
def execution_time: () -> ::Time
|
892
|
+
def resolve_to: () -> Types::ResolveTo
|
847
893
|
end
|
848
894
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_action-instance_method
|
849
895
|
def describe_action: (
|
@@ -854,6 +900,7 @@ module Aws
|
|
854
900
|
interface _DescribeAssetResponseSuccess
|
855
901
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAssetResponse]
|
856
902
|
def asset_id: () -> ::String
|
903
|
+
def asset_external_id: () -> ::String
|
857
904
|
def asset_arn: () -> ::String
|
858
905
|
def asset_name: () -> ::String
|
859
906
|
def asset_model_id: () -> ::String
|
@@ -865,7 +912,6 @@ module Aws
|
|
865
912
|
def asset_status: () -> Types::AssetStatus
|
866
913
|
def asset_description: () -> ::String
|
867
914
|
def asset_composite_model_summaries: () -> ::Array[Types::AssetCompositeModelSummary]
|
868
|
-
def asset_external_id: () -> ::String
|
869
915
|
end
|
870
916
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_asset-instance_method
|
871
917
|
def describe_asset: (
|
@@ -945,11 +991,11 @@ module Aws
|
|
945
991
|
interface _DescribeAssetPropertyResponseSuccess
|
946
992
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAssetPropertyResponse]
|
947
993
|
def asset_id: () -> ::String
|
994
|
+
def asset_external_id: () -> ::String
|
948
995
|
def asset_name: () -> ::String
|
949
996
|
def asset_model_id: () -> ::String
|
950
997
|
def asset_property: () -> Types::Property
|
951
998
|
def composite_model: () -> Types::CompositeModelProperty
|
952
|
-
def asset_external_id: () -> ::String
|
953
999
|
end
|
954
1000
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_asset_property-instance_method
|
955
1001
|
def describe_asset_property: (
|
@@ -978,6 +1024,40 @@ module Aws
|
|
978
1024
|
) -> _DescribeBulkImportJobResponseSuccess
|
979
1025
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeBulkImportJobResponseSuccess
|
980
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
|
+
|
981
1061
|
interface _DescribeDashboardResponseSuccess
|
982
1062
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDashboardResponse]
|
983
1063
|
def dashboard_id: () -> ::String
|
@@ -1024,6 +1104,26 @@ module Aws
|
|
1024
1104
|
) -> _DescribeDefaultEncryptionConfigurationResponseSuccess
|
1025
1105
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDefaultEncryptionConfigurationResponseSuccess
|
1026
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
|
+
|
1027
1127
|
interface _DescribeGatewayResponseSuccess
|
1028
1128
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeGatewayResponse]
|
1029
1129
|
def gateway_id: () -> ::String
|
@@ -1168,13 +1268,17 @@ module Aws
|
|
1168
1268
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#execute_action-instance_method
|
1169
1269
|
def execute_action: (
|
1170
1270
|
target_resource: {
|
1171
|
-
asset_id: ::String
|
1271
|
+
asset_id: ::String?,
|
1272
|
+
computation_model_id: ::String?
|
1172
1273
|
},
|
1173
1274
|
action_definition_id: ::String,
|
1174
1275
|
action_payload: {
|
1175
1276
|
string_value: ::String
|
1176
1277
|
},
|
1177
|
-
?client_token: ::String
|
1278
|
+
?client_token: ::String,
|
1279
|
+
?resolve_to: {
|
1280
|
+
asset_id: ::String
|
1281
|
+
}
|
1178
1282
|
) -> _ExecuteActionResponseSuccess
|
1179
1283
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExecuteActionResponseSuccess
|
1180
1284
|
|
@@ -1305,10 +1409,12 @@ module Aws
|
|
1305
1409
|
end
|
1306
1410
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#list_actions-instance_method
|
1307
1411
|
def list_actions: (
|
1308
|
-
target_resource_type: ("ASSET"),
|
1412
|
+
target_resource_type: ("ASSET" | "COMPUTATION_MODEL"),
|
1309
1413
|
target_resource_id: ::String,
|
1310
1414
|
?next_token: ::String,
|
1311
|
-
?max_results: ::Integer
|
1415
|
+
?max_results: ::Integer,
|
1416
|
+
?resolve_to_resource_type: ("ASSET"),
|
1417
|
+
?resolve_to_resource_id: ::String
|
1312
1418
|
) -> _ListActionsResponseSuccess
|
1313
1419
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListActionsResponseSuccess
|
1314
1420
|
|
@@ -1438,6 +1544,60 @@ module Aws
|
|
1438
1544
|
) -> _ListCompositionRelationshipsResponseSuccess
|
1439
1545
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCompositionRelationshipsResponseSuccess
|
1440
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
|
+
|
1441
1601
|
interface _ListDashboardsResponseSuccess
|
1442
1602
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListDashboardsResponse]
|
1443
1603
|
def dashboard_summaries: () -> ::Array[Types::DashboardSummary]
|
@@ -1464,6 +1624,23 @@ module Aws
|
|
1464
1624
|
) -> _ListDatasetsResponseSuccess
|
1465
1625
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDatasetsResponseSuccess
|
1466
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
|
+
|
1467
1644
|
interface _ListGatewaysResponseSuccess
|
1468
1645
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListGatewaysResponse]
|
1469
1646
|
def gateway_summaries: () -> ::Array[Types::GatewaySummary]
|
@@ -1657,10 +1834,10 @@ module Aws
|
|
1657
1834
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#update_asset-instance_method
|
1658
1835
|
def update_asset: (
|
1659
1836
|
asset_id: ::String,
|
1837
|
+
?asset_external_id: ::String,
|
1660
1838
|
asset_name: ::String,
|
1661
1839
|
?client_token: ::String,
|
1662
|
-
?asset_description: ::String
|
1663
|
-
?asset_external_id: ::String
|
1840
|
+
?asset_description: ::String
|
1664
1841
|
) -> _UpdateAssetResponseSuccess
|
1665
1842
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAssetResponseSuccess
|
1666
1843
|
|
@@ -1965,6 +2142,38 @@ module Aws
|
|
1965
2142
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1966
2143
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1967
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
|
+
|
1968
2177
|
interface _UpdateDashboardResponseSuccess
|
1969
2178
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDashboardResponse]
|
1970
2179
|
end
|