aws-sdk-iottwinmaker 1.7.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iottwinmaker/client.rb +277 -7
- data/lib/aws-sdk-iottwinmaker/client_api.rb +220 -0
- data/lib/aws-sdk-iottwinmaker/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-iottwinmaker/endpoint_provider.rb +35 -96
- data/lib/aws-sdk-iottwinmaker/endpoints.rb +70 -0
- data/lib/aws-sdk-iottwinmaker/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-iottwinmaker/types.rb +422 -1525
- data/lib/aws-sdk-iottwinmaker.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6b1c5055dec8695aea07f71ab3ad8678d833fe2fc25b4b7eb9b07b43c1248db
|
4
|
+
data.tar.gz: c0b92e3d4125e525223a2aeee59a7586cbf4c89ac37ac280f532244a8866da09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0d0b0b6777e54b936ad27d361504ad388084cbfac44c11408203153100f66070ed78d6f02e5d156800fd45f7e183af6d8634e133ab5827de3f7227a83fbd23e
|
7
|
+
data.tar.gz: 4f0358612da3e63039fe45acfb25834e11df4e7f9feee0b2bb5784ab0c61ecf568f7da3164b8c292777acff0a8e037421e8b9499c5b8536536db8bafdbc55ee6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.9.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.8.0 (2022-12-08)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - This release adds the following new features: 1) New APIs for managing a continuous sync of assets and asset models from AWS IoT SiteWise. 2) Support user friendly names for component types (ComponentTypeName) and properties (DisplayName).
|
15
|
+
|
4
16
|
1.7.0 (2022-11-16)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.9.0
|
@@ -493,6 +493,9 @@ module Aws::IoTTwinMaker
|
|
493
493
|
#
|
494
494
|
# @option params [Hash<String,Types::PropertyGroupRequest>] :property_groups
|
495
495
|
#
|
496
|
+
# @option params [String] :component_type_name
|
497
|
+
# A friendly name for the component type.
|
498
|
+
#
|
496
499
|
# @return [Types::CreateComponentTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
497
500
|
#
|
498
501
|
# * {Types::CreateComponentTypeResponse#arn #arn} => String
|
@@ -570,6 +573,7 @@ module Aws::IoTTwinMaker
|
|
570
573
|
# configuration: {
|
571
574
|
# "Name" => "Value",
|
572
575
|
# },
|
576
|
+
# display_name: "PropertyDisplayName",
|
573
577
|
# },
|
574
578
|
# },
|
575
579
|
# extends_from: ["ComponentTypeId"],
|
@@ -594,6 +598,7 @@ module Aws::IoTTwinMaker
|
|
594
598
|
# property_names: ["Name"],
|
595
599
|
# },
|
596
600
|
# },
|
601
|
+
# component_type_name: "ComponentTypeName",
|
597
602
|
# })
|
598
603
|
#
|
599
604
|
# @example Response structure
|
@@ -716,6 +721,7 @@ module Aws::IoTTwinMaker
|
|
716
721
|
# configuration: {
|
717
722
|
# "Name" => "Value",
|
718
723
|
# },
|
724
|
+
# display_name: "PropertyDisplayName",
|
719
725
|
# },
|
720
726
|
# value: {
|
721
727
|
# boolean_value: false,
|
@@ -822,6 +828,56 @@ module Aws::IoTTwinMaker
|
|
822
828
|
req.send_request(options)
|
823
829
|
end
|
824
830
|
|
831
|
+
# This action creates a SyncJob.
|
832
|
+
#
|
833
|
+
# @option params [required, String] :workspace_id
|
834
|
+
# The workspace Id.
|
835
|
+
#
|
836
|
+
# @option params [required, String] :sync_source
|
837
|
+
# The sync source.
|
838
|
+
#
|
839
|
+
# <note markdown="1"> Currently the only supported syncSoucre is `SITEWISE `.
|
840
|
+
#
|
841
|
+
# </note>
|
842
|
+
#
|
843
|
+
# @option params [required, String] :sync_role
|
844
|
+
# The SyncJob IAM role. This IAM role is used by the sync job to read
|
845
|
+
# from the syncSource, and create, update or delete the corresponding
|
846
|
+
# resources.
|
847
|
+
#
|
848
|
+
# @option params [Hash<String,String>] :tags
|
849
|
+
# The SyncJob tags.
|
850
|
+
#
|
851
|
+
# @return [Types::CreateSyncJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
852
|
+
#
|
853
|
+
# * {Types::CreateSyncJobResponse#arn #arn} => String
|
854
|
+
# * {Types::CreateSyncJobResponse#creation_date_time #creation_date_time} => Time
|
855
|
+
# * {Types::CreateSyncJobResponse#state #state} => String
|
856
|
+
#
|
857
|
+
# @example Request syntax with placeholder values
|
858
|
+
#
|
859
|
+
# resp = client.create_sync_job({
|
860
|
+
# workspace_id: "Id", # required
|
861
|
+
# sync_source: "SyncSource", # required
|
862
|
+
# sync_role: "RoleArn", # required
|
863
|
+
# tags: {
|
864
|
+
# "TagKey" => "TagValue",
|
865
|
+
# },
|
866
|
+
# })
|
867
|
+
#
|
868
|
+
# @example Response structure
|
869
|
+
#
|
870
|
+
# resp.arn #=> String
|
871
|
+
# resp.creation_date_time #=> Time
|
872
|
+
# resp.state #=> String, one of "CREATING", "INITIALIZING", "ACTIVE", "DELETING", "ERROR"
|
873
|
+
#
|
874
|
+
# @overload create_sync_job(params = {})
|
875
|
+
# @param [Hash] params ({})
|
876
|
+
def create_sync_job(params = {}, options = {})
|
877
|
+
req = build_request(:create_sync_job, params)
|
878
|
+
req.send_request(options)
|
879
|
+
end
|
880
|
+
|
825
881
|
# Creates a workplace.
|
826
882
|
#
|
827
883
|
# @option params [required, String] :workspace_id
|
@@ -958,6 +1014,40 @@ module Aws::IoTTwinMaker
|
|
958
1014
|
req.send_request(options)
|
959
1015
|
end
|
960
1016
|
|
1017
|
+
# Delete the SyncJob.
|
1018
|
+
#
|
1019
|
+
# @option params [required, String] :workspace_id
|
1020
|
+
# The workspace Id.
|
1021
|
+
#
|
1022
|
+
# @option params [required, String] :sync_source
|
1023
|
+
# The sync source.
|
1024
|
+
#
|
1025
|
+
# <note markdown="1"> Currently the only supported syncSoucre is `SITEWISE `.
|
1026
|
+
#
|
1027
|
+
# </note>
|
1028
|
+
#
|
1029
|
+
# @return [Types::DeleteSyncJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1030
|
+
#
|
1031
|
+
# * {Types::DeleteSyncJobResponse#state #state} => String
|
1032
|
+
#
|
1033
|
+
# @example Request syntax with placeholder values
|
1034
|
+
#
|
1035
|
+
# resp = client.delete_sync_job({
|
1036
|
+
# workspace_id: "Id", # required
|
1037
|
+
# sync_source: "SyncSource", # required
|
1038
|
+
# })
|
1039
|
+
#
|
1040
|
+
# @example Response structure
|
1041
|
+
#
|
1042
|
+
# resp.state #=> String, one of "CREATING", "INITIALIZING", "ACTIVE", "DELETING", "ERROR"
|
1043
|
+
#
|
1044
|
+
# @overload delete_sync_job(params = {})
|
1045
|
+
# @param [Hash] params ({})
|
1046
|
+
def delete_sync_job(params = {}, options = {})
|
1047
|
+
req = build_request(:delete_sync_job, params)
|
1048
|
+
req.send_request(options)
|
1049
|
+
end
|
1050
|
+
|
961
1051
|
# Deletes a workspace.
|
962
1052
|
#
|
963
1053
|
# @option params [required, String] :workspace_id
|
@@ -1053,6 +1143,8 @@ module Aws::IoTTwinMaker
|
|
1053
1143
|
# * {Types::GetComponentTypeResponse#is_schema_initialized #is_schema_initialized} => Boolean
|
1054
1144
|
# * {Types::GetComponentTypeResponse#status #status} => Types::Status
|
1055
1145
|
# * {Types::GetComponentTypeResponse#property_groups #property_groups} => Hash<String,Types::PropertyGroupResponse>
|
1146
|
+
# * {Types::GetComponentTypeResponse#sync_source #sync_source} => String
|
1147
|
+
# * {Types::GetComponentTypeResponse#component_type_name #component_type_name} => String
|
1056
1148
|
#
|
1057
1149
|
# @example Request syntax with placeholder values
|
1058
1150
|
#
|
@@ -1106,6 +1198,7 @@ module Aws::IoTTwinMaker
|
|
1106
1198
|
# resp.property_definitions["Name"].default_value.expression #=> String
|
1107
1199
|
# resp.property_definitions["Name"].configuration #=> Hash
|
1108
1200
|
# resp.property_definitions["Name"].configuration["Name"] #=> String
|
1201
|
+
# resp.property_definitions["Name"].display_name #=> String
|
1109
1202
|
# resp.extends_from #=> Array
|
1110
1203
|
# resp.extends_from[0] #=> String
|
1111
1204
|
# resp.functions #=> Hash
|
@@ -1121,13 +1214,15 @@ module Aws::IoTTwinMaker
|
|
1121
1214
|
# resp.is_abstract #=> Boolean
|
1122
1215
|
# resp.is_schema_initialized #=> Boolean
|
1123
1216
|
# resp.status.state #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "ERROR"
|
1124
|
-
# resp.status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
1217
|
+
# resp.status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE", "SYNC_INITIALIZING_ERROR", "SYNC_CREATING_ERROR", "SYNC_PROCESSING_ERROR"
|
1125
1218
|
# resp.status.error.message #=> String
|
1126
1219
|
# resp.property_groups #=> Hash
|
1127
1220
|
# resp.property_groups["Name"].group_type #=> String, one of "TABULAR"
|
1128
1221
|
# resp.property_groups["Name"].property_names #=> Array
|
1129
1222
|
# resp.property_groups["Name"].property_names[0] #=> String
|
1130
1223
|
# resp.property_groups["Name"].is_inherited #=> Boolean
|
1224
|
+
# resp.sync_source #=> String
|
1225
|
+
# resp.component_type_name #=> String
|
1131
1226
|
#
|
1132
1227
|
# @overload get_component_type(params = {})
|
1133
1228
|
# @param [Hash] params ({})
|
@@ -1157,6 +1252,7 @@ module Aws::IoTTwinMaker
|
|
1157
1252
|
# * {Types::GetEntityResponse#has_child_entities #has_child_entities} => Boolean
|
1158
1253
|
# * {Types::GetEntityResponse#creation_date_time #creation_date_time} => Time
|
1159
1254
|
# * {Types::GetEntityResponse#update_date_time #update_date_time} => Time
|
1255
|
+
# * {Types::GetEntityResponse#sync_source #sync_source} => String
|
1160
1256
|
#
|
1161
1257
|
# @example Request syntax with placeholder values
|
1162
1258
|
#
|
@@ -1171,7 +1267,7 @@ module Aws::IoTTwinMaker
|
|
1171
1267
|
# resp.entity_name #=> String
|
1172
1268
|
# resp.arn #=> String
|
1173
1269
|
# resp.status.state #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "ERROR"
|
1174
|
-
# resp.status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
1270
|
+
# resp.status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE", "SYNC_INITIALIZING_ERROR", "SYNC_CREATING_ERROR", "SYNC_PROCESSING_ERROR"
|
1175
1271
|
# resp.status.error.message #=> String
|
1176
1272
|
# resp.workspace_id #=> String
|
1177
1273
|
# resp.description #=> String
|
@@ -1180,7 +1276,7 @@ module Aws::IoTTwinMaker
|
|
1180
1276
|
# resp.components["Name"].description #=> String
|
1181
1277
|
# resp.components["Name"].component_type_id #=> String
|
1182
1278
|
# resp.components["Name"].status.state #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "ERROR"
|
1183
|
-
# resp.components["Name"].status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
1279
|
+
# resp.components["Name"].status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE", "SYNC_INITIALIZING_ERROR", "SYNC_CREATING_ERROR", "SYNC_PROCESSING_ERROR"
|
1184
1280
|
# resp.components["Name"].status.error.message #=> String
|
1185
1281
|
# resp.components["Name"].defined_in #=> String
|
1186
1282
|
# resp.components["Name"].properties #=> Hash
|
@@ -1222,6 +1318,7 @@ module Aws::IoTTwinMaker
|
|
1222
1318
|
# resp.components["Name"].properties["Name"].definition.default_value.expression #=> String
|
1223
1319
|
# resp.components["Name"].properties["Name"].definition.configuration #=> Hash
|
1224
1320
|
# resp.components["Name"].properties["Name"].definition.configuration["Name"] #=> String
|
1321
|
+
# resp.components["Name"].properties["Name"].definition.display_name #=> String
|
1225
1322
|
# resp.components["Name"].properties["Name"].value.boolean_value #=> Boolean
|
1226
1323
|
# resp.components["Name"].properties["Name"].value.double_value #=> Float
|
1227
1324
|
# resp.components["Name"].properties["Name"].value.integer_value #=> Integer
|
@@ -1239,10 +1336,12 @@ module Aws::IoTTwinMaker
|
|
1239
1336
|
# resp.components["Name"].property_groups["Name"].property_names #=> Array
|
1240
1337
|
# resp.components["Name"].property_groups["Name"].property_names[0] #=> String
|
1241
1338
|
# resp.components["Name"].property_groups["Name"].is_inherited #=> Boolean
|
1339
|
+
# resp.components["Name"].sync_source #=> String
|
1242
1340
|
# resp.parent_entity_id #=> String
|
1243
1341
|
# resp.has_child_entities #=> Boolean
|
1244
1342
|
# resp.creation_date_time #=> Time
|
1245
1343
|
# resp.update_date_time #=> Time
|
1344
|
+
# resp.sync_source #=> String
|
1246
1345
|
#
|
1247
1346
|
# @overload get_entity(params = {})
|
1248
1347
|
# @param [Hash] params ({})
|
@@ -1622,6 +1721,54 @@ module Aws::IoTTwinMaker
|
|
1622
1721
|
req.send_request(options)
|
1623
1722
|
end
|
1624
1723
|
|
1724
|
+
# Gets the SyncJob.
|
1725
|
+
#
|
1726
|
+
# @option params [required, String] :sync_source
|
1727
|
+
# The sync soucre.
|
1728
|
+
#
|
1729
|
+
# <note markdown="1"> Currently the only supported syncSoucre is `SITEWISE `.
|
1730
|
+
#
|
1731
|
+
# </note>
|
1732
|
+
#
|
1733
|
+
# @option params [String] :workspace_id
|
1734
|
+
# The workspace Id.
|
1735
|
+
#
|
1736
|
+
# @return [Types::GetSyncJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1737
|
+
#
|
1738
|
+
# * {Types::GetSyncJobResponse#arn #arn} => String
|
1739
|
+
# * {Types::GetSyncJobResponse#workspace_id #workspace_id} => String
|
1740
|
+
# * {Types::GetSyncJobResponse#sync_source #sync_source} => String
|
1741
|
+
# * {Types::GetSyncJobResponse#sync_role #sync_role} => String
|
1742
|
+
# * {Types::GetSyncJobResponse#status #status} => Types::SyncJobStatus
|
1743
|
+
# * {Types::GetSyncJobResponse#creation_date_time #creation_date_time} => Time
|
1744
|
+
# * {Types::GetSyncJobResponse#update_date_time #update_date_time} => Time
|
1745
|
+
#
|
1746
|
+
# @example Request syntax with placeholder values
|
1747
|
+
#
|
1748
|
+
# resp = client.get_sync_job({
|
1749
|
+
# sync_source: "SyncSource", # required
|
1750
|
+
# workspace_id: "Id",
|
1751
|
+
# })
|
1752
|
+
#
|
1753
|
+
# @example Response structure
|
1754
|
+
#
|
1755
|
+
# resp.arn #=> String
|
1756
|
+
# resp.workspace_id #=> String
|
1757
|
+
# resp.sync_source #=> String
|
1758
|
+
# resp.sync_role #=> String
|
1759
|
+
# resp.status.state #=> String, one of "CREATING", "INITIALIZING", "ACTIVE", "DELETING", "ERROR"
|
1760
|
+
# resp.status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE", "SYNC_INITIALIZING_ERROR", "SYNC_CREATING_ERROR", "SYNC_PROCESSING_ERROR"
|
1761
|
+
# resp.status.error.message #=> String
|
1762
|
+
# resp.creation_date_time #=> Time
|
1763
|
+
# resp.update_date_time #=> Time
|
1764
|
+
#
|
1765
|
+
# @overload get_sync_job(params = {})
|
1766
|
+
# @param [Hash] params ({})
|
1767
|
+
def get_sync_job(params = {}, options = {})
|
1768
|
+
req = build_request(:get_sync_job, params)
|
1769
|
+
req.send_request(options)
|
1770
|
+
end
|
1771
|
+
|
1625
1772
|
# Retrieves information about a workspace.
|
1626
1773
|
#
|
1627
1774
|
# @option params [required, String] :workspace_id
|
@@ -1711,8 +1858,9 @@ module Aws::IoTTwinMaker
|
|
1711
1858
|
# resp.component_type_summaries[0].update_date_time #=> Time
|
1712
1859
|
# resp.component_type_summaries[0].description #=> String
|
1713
1860
|
# resp.component_type_summaries[0].status.state #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "ERROR"
|
1714
|
-
# resp.component_type_summaries[0].status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
1861
|
+
# resp.component_type_summaries[0].status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE", "SYNC_INITIALIZING_ERROR", "SYNC_CREATING_ERROR", "SYNC_PROCESSING_ERROR"
|
1715
1862
|
# resp.component_type_summaries[0].status.error.message #=> String
|
1863
|
+
# resp.component_type_summaries[0].component_type_name #=> String
|
1716
1864
|
# resp.next_token #=> String
|
1717
1865
|
# resp.max_results #=> Integer
|
1718
1866
|
#
|
@@ -1774,7 +1922,7 @@ module Aws::IoTTwinMaker
|
|
1774
1922
|
# resp.entity_summaries[0].arn #=> String
|
1775
1923
|
# resp.entity_summaries[0].parent_entity_id #=> String
|
1776
1924
|
# resp.entity_summaries[0].status.state #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "ERROR"
|
1777
|
-
# resp.entity_summaries[0].status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
|
1925
|
+
# resp.entity_summaries[0].status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE", "SYNC_INITIALIZING_ERROR", "SYNC_CREATING_ERROR", "SYNC_PROCESSING_ERROR"
|
1778
1926
|
# resp.entity_summaries[0].status.error.message #=> String
|
1779
1927
|
# resp.entity_summaries[0].description #=> String
|
1780
1928
|
# resp.entity_summaries[0].has_child_entities #=> Boolean
|
@@ -1833,6 +1981,122 @@ module Aws::IoTTwinMaker
|
|
1833
1981
|
req.send_request(options)
|
1834
1982
|
end
|
1835
1983
|
|
1984
|
+
# List all SyncJobs.
|
1985
|
+
#
|
1986
|
+
# @option params [required, String] :workspace_id
|
1987
|
+
# The ID of the workspace that contains the sync job.
|
1988
|
+
#
|
1989
|
+
# @option params [Integer] :max_results
|
1990
|
+
# The maximum number of results to return at one time. The default is
|
1991
|
+
# 50.
|
1992
|
+
#
|
1993
|
+
# Valid Range: Minimum value of 0. Maximum value of 200.
|
1994
|
+
#
|
1995
|
+
# @option params [String] :next_token
|
1996
|
+
# The string that specifies the next page of results.
|
1997
|
+
#
|
1998
|
+
# @return [Types::ListSyncJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1999
|
+
#
|
2000
|
+
# * {Types::ListSyncJobsResponse#sync_job_summaries #sync_job_summaries} => Array<Types::SyncJobSummary>
|
2001
|
+
# * {Types::ListSyncJobsResponse#next_token #next_token} => String
|
2002
|
+
#
|
2003
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2004
|
+
#
|
2005
|
+
# @example Request syntax with placeholder values
|
2006
|
+
#
|
2007
|
+
# resp = client.list_sync_jobs({
|
2008
|
+
# workspace_id: "Id", # required
|
2009
|
+
# max_results: 1,
|
2010
|
+
# next_token: "NextToken",
|
2011
|
+
# })
|
2012
|
+
#
|
2013
|
+
# @example Response structure
|
2014
|
+
#
|
2015
|
+
# resp.sync_job_summaries #=> Array
|
2016
|
+
# resp.sync_job_summaries[0].arn #=> String
|
2017
|
+
# resp.sync_job_summaries[0].workspace_id #=> String
|
2018
|
+
# resp.sync_job_summaries[0].sync_source #=> String
|
2019
|
+
# resp.sync_job_summaries[0].status.state #=> String, one of "CREATING", "INITIALIZING", "ACTIVE", "DELETING", "ERROR"
|
2020
|
+
# resp.sync_job_summaries[0].status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE", "SYNC_INITIALIZING_ERROR", "SYNC_CREATING_ERROR", "SYNC_PROCESSING_ERROR"
|
2021
|
+
# resp.sync_job_summaries[0].status.error.message #=> String
|
2022
|
+
# resp.sync_job_summaries[0].creation_date_time #=> Time
|
2023
|
+
# resp.sync_job_summaries[0].update_date_time #=> Time
|
2024
|
+
# resp.next_token #=> String
|
2025
|
+
#
|
2026
|
+
# @overload list_sync_jobs(params = {})
|
2027
|
+
# @param [Hash] params ({})
|
2028
|
+
def list_sync_jobs(params = {}, options = {})
|
2029
|
+
req = build_request(:list_sync_jobs, params)
|
2030
|
+
req.send_request(options)
|
2031
|
+
end
|
2032
|
+
|
2033
|
+
# Lists the sync resources.
|
2034
|
+
#
|
2035
|
+
# @option params [required, String] :workspace_id
|
2036
|
+
# The ID of the workspace that contains the sync job.
|
2037
|
+
#
|
2038
|
+
# @option params [required, String] :sync_source
|
2039
|
+
# The sync soucre.
|
2040
|
+
#
|
2041
|
+
# <note markdown="1"> Currently the only supported syncSoucre is `SITEWISE `.
|
2042
|
+
#
|
2043
|
+
# </note>
|
2044
|
+
#
|
2045
|
+
# @option params [Array<Types::SyncResourceFilter>] :filters
|
2046
|
+
# A list of objects that filter the request.
|
2047
|
+
#
|
2048
|
+
# @option params [Integer] :max_results
|
2049
|
+
# The maximum number of results to return at one time. The default is
|
2050
|
+
# 50.
|
2051
|
+
#
|
2052
|
+
# Valid Range: Minimum value of 0. Maximum value of 200.
|
2053
|
+
#
|
2054
|
+
# @option params [String] :next_token
|
2055
|
+
# The string that specifies the next page of results.
|
2056
|
+
#
|
2057
|
+
# @return [Types::ListSyncResourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2058
|
+
#
|
2059
|
+
# * {Types::ListSyncResourcesResponse#sync_resources #sync_resources} => Array<Types::SyncResourceSummary>
|
2060
|
+
# * {Types::ListSyncResourcesResponse#next_token #next_token} => String
|
2061
|
+
#
|
2062
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2063
|
+
#
|
2064
|
+
# @example Request syntax with placeholder values
|
2065
|
+
#
|
2066
|
+
# resp = client.list_sync_resources({
|
2067
|
+
# workspace_id: "Id", # required
|
2068
|
+
# sync_source: "SyncSource", # required
|
2069
|
+
# filters: [
|
2070
|
+
# {
|
2071
|
+
# state: "INITIALIZING", # accepts INITIALIZING, PROCESSING, DELETED, IN_SYNC, ERROR
|
2072
|
+
# resource_type: "ENTITY", # accepts ENTITY, COMPONENT_TYPE
|
2073
|
+
# resource_id: "Id",
|
2074
|
+
# external_id: "Id",
|
2075
|
+
# },
|
2076
|
+
# ],
|
2077
|
+
# max_results: 1,
|
2078
|
+
# next_token: "NextToken",
|
2079
|
+
# })
|
2080
|
+
#
|
2081
|
+
# @example Response structure
|
2082
|
+
#
|
2083
|
+
# resp.sync_resources #=> Array
|
2084
|
+
# resp.sync_resources[0].resource_type #=> String, one of "ENTITY", "COMPONENT_TYPE"
|
2085
|
+
# resp.sync_resources[0].external_id #=> String
|
2086
|
+
# resp.sync_resources[0].resource_id #=> String
|
2087
|
+
# resp.sync_resources[0].status.state #=> String, one of "INITIALIZING", "PROCESSING", "DELETED", "IN_SYNC", "ERROR"
|
2088
|
+
# resp.sync_resources[0].status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE", "SYNC_INITIALIZING_ERROR", "SYNC_CREATING_ERROR", "SYNC_PROCESSING_ERROR"
|
2089
|
+
# resp.sync_resources[0].status.error.message #=> String
|
2090
|
+
# resp.sync_resources[0].update_date_time #=> Time
|
2091
|
+
# resp.next_token #=> String
|
2092
|
+
#
|
2093
|
+
# @overload list_sync_resources(params = {})
|
2094
|
+
# @param [Hash] params ({})
|
2095
|
+
def list_sync_resources(params = {}, options = {})
|
2096
|
+
req = build_request(:list_sync_resources, params)
|
2097
|
+
req.send_request(options)
|
2098
|
+
end
|
2099
|
+
|
1836
2100
|
# Lists all tags associated with a resource.
|
1837
2101
|
#
|
1838
2102
|
# @option params [required, String] :resource_arn
|
@@ -1969,7 +2233,7 @@ module Aws::IoTTwinMaker
|
|
1969
2233
|
# Updates information in a component type.
|
1970
2234
|
#
|
1971
2235
|
# @option params [required, String] :workspace_id
|
1972
|
-
# The ID of the workspace
|
2236
|
+
# The ID of the workspace.
|
1973
2237
|
#
|
1974
2238
|
# @option params [Boolean] :is_singleton
|
1975
2239
|
# A Boolean value that specifies whether an entity can have more than
|
@@ -1996,6 +2260,9 @@ module Aws::IoTTwinMaker
|
|
1996
2260
|
# @option params [Hash<String,Types::PropertyGroupRequest>] :property_groups
|
1997
2261
|
# The property groups
|
1998
2262
|
#
|
2263
|
+
# @option params [String] :component_type_name
|
2264
|
+
# The component type name.
|
2265
|
+
#
|
1999
2266
|
# @return [Types::UpdateComponentTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2000
2267
|
#
|
2001
2268
|
# * {Types::UpdateComponentTypeResponse#workspace_id #workspace_id} => String
|
@@ -2074,6 +2341,7 @@ module Aws::IoTTwinMaker
|
|
2074
2341
|
# configuration: {
|
2075
2342
|
# "Name" => "Value",
|
2076
2343
|
# },
|
2344
|
+
# display_name: "PropertyDisplayName",
|
2077
2345
|
# },
|
2078
2346
|
# },
|
2079
2347
|
# extends_from: ["ComponentTypeId"],
|
@@ -2095,6 +2363,7 @@ module Aws::IoTTwinMaker
|
|
2095
2363
|
# property_names: ["Name"],
|
2096
2364
|
# },
|
2097
2365
|
# },
|
2366
|
+
# component_type_name: "ComponentTypeName",
|
2098
2367
|
# })
|
2099
2368
|
#
|
2100
2369
|
# @example Response structure
|
@@ -2214,6 +2483,7 @@ module Aws::IoTTwinMaker
|
|
2214
2483
|
# configuration: {
|
2215
2484
|
# "Name" => "Value",
|
2216
2485
|
# },
|
2486
|
+
# display_name: "PropertyDisplayName",
|
2217
2487
|
# },
|
2218
2488
|
# value: {
|
2219
2489
|
# boolean_value: false,
|
@@ -2403,7 +2673,7 @@ module Aws::IoTTwinMaker
|
|
2403
2673
|
params: params,
|
2404
2674
|
config: config)
|
2405
2675
|
context[:gem_name] = 'aws-sdk-iottwinmaker'
|
2406
|
-
context[:gem_version] = '1.
|
2676
|
+
context[:gem_version] = '1.9.0'
|
2407
2677
|
Seahorse::Client::Request.new(handlers, context)
|
2408
2678
|
end
|
2409
2679
|
|