aws-sdk-iottwinmaker 1.9.0 → 1.11.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a6b1c5055dec8695aea07f71ab3ad8678d833fe2fc25b4b7eb9b07b43c1248db
4
- data.tar.gz: c0b92e3d4125e525223a2aeee59a7586cbf4c89ac37ac280f532244a8866da09
3
+ metadata.gz: 207ff02b9f1788520d15584eb55e6ec683cbb8d2967d8992ae0c3627cbf29806
4
+ data.tar.gz: 237ba1f161544ff20d1b9628d88bd8f0d5154479a084f14f0ecac7d4a4dbe6ef
5
5
  SHA512:
6
- metadata.gz: b0d0b0b6777e54b936ad27d361504ad388084cbfac44c11408203153100f66070ed78d6f02e5d156800fd45f7e183af6d8634e133ab5827de3f7227a83fbd23e
7
- data.tar.gz: 4f0358612da3e63039fe45acfb25834e11df4e7f9feee0b2bb5784ab0c61ecf568f7da3164b8c292777acff0a8e037421e8b9499c5b8536536db8bafdbc55ee6
6
+ metadata.gz: cd5160c8a63c725764dec02dc0aac75bbdc4b864d4e7e82e0abc389a5aa574c6bd26566eadb0ed9dc0fdb08541fbfff0b61d97aeb0a49b912899d0fa60577ee8
7
+ data.tar.gz: 9f593d8369a40a4d6a0cca6a2e031789c3b81f00dedf165163b39eba736e5f7fa7e99184502df2eccd26b7331cb9b3936dbd63e1aa85b2666e6785af14a9f557
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.11.0 (2023-05-03)
5
+ ------------------
6
+
7
+ * Feature - This release adds a field for GetScene API to return error code and message from dependency services.
8
+
9
+ 1.10.0 (2023-03-22)
10
+ ------------------
11
+
12
+ * Feature - This release adds support of adding metadata when creating a new scene or updating an existing scene.
13
+
4
14
  1.9.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.11.0
@@ -798,6 +798,9 @@ module Aws::IoTTwinMaker
798
798
  # @option params [Hash<String,String>] :tags
799
799
  # Metadata that you can use to manage the scene.
800
800
  #
801
+ # @option params [Hash<String,String>] :scene_metadata
802
+ # The request metadata.
803
+ #
801
804
  # @return [Types::CreateSceneResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
802
805
  #
803
806
  # * {Types::CreateSceneResponse#arn #arn} => String
@@ -814,6 +817,9 @@ module Aws::IoTTwinMaker
814
817
  # tags: {
815
818
  # "TagKey" => "TagValue",
816
819
  # },
820
+ # scene_metadata: {
821
+ # "Name" => "SceneMetadataValue",
822
+ # },
817
823
  # })
818
824
  #
819
825
  # @example Response structure
@@ -831,18 +837,18 @@ module Aws::IoTTwinMaker
831
837
  # This action creates a SyncJob.
832
838
  #
833
839
  # @option params [required, String] :workspace_id
834
- # The workspace Id.
840
+ # The workspace ID.
835
841
  #
836
842
  # @option params [required, String] :sync_source
837
843
  # The sync source.
838
844
  #
839
- # <note markdown="1"> Currently the only supported syncSoucre is `SITEWISE `.
845
+ # <note markdown="1"> Currently the only supported syncSoource is `SITEWISE `.
840
846
  #
841
847
  # </note>
842
848
  #
843
849
  # @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
850
+ # The SyncJob IAM role. This IAM role is used by the SyncJob to read
851
+ # from the syncSource, and create, update, or delete the corresponding
846
852
  # resources.
847
853
  #
848
854
  # @option params [Hash<String,String>] :tags
@@ -1017,12 +1023,12 @@ module Aws::IoTTwinMaker
1017
1023
  # Delete the SyncJob.
1018
1024
  #
1019
1025
  # @option params [required, String] :workspace_id
1020
- # The workspace Id.
1026
+ # The workspace ID.
1021
1027
  #
1022
1028
  # @option params [required, String] :sync_source
1023
1029
  # The sync source.
1024
1030
  #
1025
- # <note markdown="1"> Currently the only supported syncSoucre is `SITEWISE `.
1031
+ # <note markdown="1"> Currently the only supported syncSource is `SITEWISE `.
1026
1032
  #
1027
1033
  # </note>
1028
1034
  #
@@ -1694,6 +1700,9 @@ module Aws::IoTTwinMaker
1694
1700
  # * {Types::GetSceneResponse#update_date_time #update_date_time} => Time
1695
1701
  # * {Types::GetSceneResponse#description #description} => String
1696
1702
  # * {Types::GetSceneResponse#capabilities #capabilities} => Array&lt;String&gt;
1703
+ # * {Types::GetSceneResponse#scene_metadata #scene_metadata} => Hash&lt;String,String&gt;
1704
+ # * {Types::GetSceneResponse#generated_scene_metadata #generated_scene_metadata} => Hash&lt;String,String&gt;
1705
+ # * {Types::GetSceneResponse#error #error} => Types::SceneError
1697
1706
  #
1698
1707
  # @example Request syntax with placeholder values
1699
1708
  #
@@ -1713,6 +1722,12 @@ module Aws::IoTTwinMaker
1713
1722
  # resp.description #=> String
1714
1723
  # resp.capabilities #=> Array
1715
1724
  # resp.capabilities[0] #=> String
1725
+ # resp.scene_metadata #=> Hash
1726
+ # resp.scene_metadata["Name"] #=> String
1727
+ # resp.generated_scene_metadata #=> Hash
1728
+ # resp.generated_scene_metadata["Name"] #=> String
1729
+ # resp.error.code #=> String, one of "MATTERPORT_ERROR"
1730
+ # resp.error.message #=> String
1716
1731
  #
1717
1732
  # @overload get_scene(params = {})
1718
1733
  # @param [Hash] params ({})
@@ -1724,14 +1739,14 @@ module Aws::IoTTwinMaker
1724
1739
  # Gets the SyncJob.
1725
1740
  #
1726
1741
  # @option params [required, String] :sync_source
1727
- # The sync soucre.
1742
+ # The sync source.
1728
1743
  #
1729
- # <note markdown="1"> Currently the only supported syncSoucre is `SITEWISE `.
1744
+ # <note markdown="1"> Currently the only supported syncSource is `SITEWISE `.
1730
1745
  #
1731
1746
  # </note>
1732
1747
  #
1733
1748
  # @option params [String] :workspace_id
1734
- # The workspace Id.
1749
+ # The workspace ID.
1735
1750
  #
1736
1751
  # @return [Types::GetSyncJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1737
1752
  #
@@ -2036,15 +2051,23 @@ module Aws::IoTTwinMaker
2036
2051
  # The ID of the workspace that contains the sync job.
2037
2052
  #
2038
2053
  # @option params [required, String] :sync_source
2039
- # The sync soucre.
2054
+ # The sync source.
2040
2055
  #
2041
- # <note markdown="1"> Currently the only supported syncSoucre is `SITEWISE `.
2056
+ # <note markdown="1"> Currently the only supported syncSource is `SITEWISE `.
2042
2057
  #
2043
2058
  # </note>
2044
2059
  #
2045
2060
  # @option params [Array<Types::SyncResourceFilter>] :filters
2046
2061
  # A list of objects that filter the request.
2047
2062
  #
2063
+ # The following filter combinations are supported:
2064
+ #
2065
+ # * Filter with state
2066
+ #
2067
+ # * Filter with ResourceType and ResourceId
2068
+ #
2069
+ # * Filter with ResourceType and ExternalId
2070
+ #
2048
2071
  # @option params [Integer] :max_results
2049
2072
  # The maximum number of results to return at one time. The default is
2050
2073
  # 50.
@@ -2258,7 +2281,7 @@ module Aws::IoTTwinMaker
2258
2281
  # Each string in the mapping must be unique to this object.
2259
2282
  #
2260
2283
  # @option params [Hash<String,Types::PropertyGroupRequest>] :property_groups
2261
- # The property groups
2284
+ # The property groups.
2262
2285
  #
2263
2286
  # @option params [String] :component_type_name
2264
2287
  # The component type name.
@@ -2601,6 +2624,9 @@ module Aws::IoTTwinMaker
2601
2624
  # @option params [Array<String>] :capabilities
2602
2625
  # A list of capabilities that the scene uses to render.
2603
2626
  #
2627
+ # @option params [Hash<String,String>] :scene_metadata
2628
+ # The scene metadata.
2629
+ #
2604
2630
  # @return [Types::UpdateSceneResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2605
2631
  #
2606
2632
  # * {Types::UpdateSceneResponse#update_date_time #update_date_time} => Time
@@ -2613,6 +2639,9 @@ module Aws::IoTTwinMaker
2613
2639
  # content_location: "S3Url",
2614
2640
  # description: "Description",
2615
2641
  # capabilities: ["SceneCapability"],
2642
+ # scene_metadata: {
2643
+ # "Name" => "SceneMetadataValue",
2644
+ # },
2616
2645
  # })
2617
2646
  #
2618
2647
  # @example Response structure
@@ -2673,7 +2702,7 @@ module Aws::IoTTwinMaker
2673
2702
  params: params,
2674
2703
  config: config)
2675
2704
  context[:gem_name] = 'aws-sdk-iottwinmaker'
2676
- context[:gem_version] = '1.9.0'
2705
+ context[:gem_version] = '1.11.0'
2677
2706
  Seahorse::Client::Request.new(handlers, context)
2678
2707
  end
2679
2708
 
@@ -92,6 +92,7 @@ module Aws::IoTTwinMaker
92
92
  FunctionResponse = Shapes::StructureShape.new(name: 'FunctionResponse')
93
93
  FunctionsRequest = Shapes::MapShape.new(name: 'FunctionsRequest')
94
94
  FunctionsResponse = Shapes::MapShape.new(name: 'FunctionsResponse')
95
+ GeneratedSceneMetadataMap = Shapes::MapShape.new(name: 'GeneratedSceneMetadataMap')
95
96
  GetComponentTypeRequest = Shapes::StructureShape.new(name: 'GetComponentTypeRequest')
96
97
  GetComponentTypeResponse = Shapes::StructureShape.new(name: 'GetComponentTypeResponse')
97
98
  GetEntityRequest = Shapes::StructureShape.new(name: 'GetEntityRequest')
@@ -193,6 +194,10 @@ module Aws::IoTTwinMaker
193
194
  S3Url = Shapes::StringShape.new(name: 'S3Url')
194
195
  SceneCapabilities = Shapes::ListShape.new(name: 'SceneCapabilities')
195
196
  SceneCapability = Shapes::StringShape.new(name: 'SceneCapability')
197
+ SceneError = Shapes::StructureShape.new(name: 'SceneError')
198
+ SceneErrorCode = Shapes::StringShape.new(name: 'SceneErrorCode')
199
+ SceneMetadataMap = Shapes::MapShape.new(name: 'SceneMetadataMap')
200
+ SceneMetadataValue = Shapes::StringShape.new(name: 'SceneMetadataValue')
196
201
  SceneSummaries = Shapes::ListShape.new(name: 'SceneSummaries')
197
202
  SceneSummary = Shapes::StructureShape.new(name: 'SceneSummary')
198
203
  Scope = Shapes::StringShape.new(name: 'Scope')
@@ -384,6 +389,7 @@ module Aws::IoTTwinMaker
384
389
  CreateSceneRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
385
390
  CreateSceneRequest.add_member(:capabilities, Shapes::ShapeRef.new(shape: SceneCapabilities, location_name: "capabilities"))
386
391
  CreateSceneRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
392
+ CreateSceneRequest.add_member(:scene_metadata, Shapes::ShapeRef.new(shape: SceneMetadataMap, location_name: "sceneMetadata"))
387
393
  CreateSceneRequest.struct_class = Types::CreateSceneRequest
388
394
 
389
395
  CreateSceneResponse.add_member(:arn, Shapes::ShapeRef.new(shape: TwinMakerArn, required: true, location_name: "arn"))
@@ -534,6 +540,9 @@ module Aws::IoTTwinMaker
534
540
  FunctionsResponse.key = Shapes::ShapeRef.new(shape: Name)
535
541
  FunctionsResponse.value = Shapes::ShapeRef.new(shape: FunctionResponse)
536
542
 
543
+ GeneratedSceneMetadataMap.key = Shapes::ShapeRef.new(shape: Name)
544
+ GeneratedSceneMetadataMap.value = Shapes::ShapeRef.new(shape: SceneMetadataValue)
545
+
537
546
  GetComponentTypeRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "workspaceId"))
538
547
  GetComponentTypeRequest.add_member(:component_type_id, Shapes::ShapeRef.new(shape: ComponentTypeId, required: true, location: "uri", location_name: "componentTypeId"))
539
548
  GetComponentTypeRequest.struct_class = Types::GetComponentTypeRequest
@@ -628,6 +637,9 @@ module Aws::IoTTwinMaker
628
637
  GetSceneResponse.add_member(:update_date_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updateDateTime"))
629
638
  GetSceneResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
630
639
  GetSceneResponse.add_member(:capabilities, Shapes::ShapeRef.new(shape: SceneCapabilities, location_name: "capabilities"))
640
+ GetSceneResponse.add_member(:scene_metadata, Shapes::ShapeRef.new(shape: SceneMetadataMap, location_name: "sceneMetadata"))
641
+ GetSceneResponse.add_member(:generated_scene_metadata, Shapes::ShapeRef.new(shape: GeneratedSceneMetadataMap, location_name: "generatedSceneMetadata"))
642
+ GetSceneResponse.add_member(:error, Shapes::ShapeRef.new(shape: SceneError, location_name: "error"))
631
643
  GetSceneResponse.struct_class = Types::GetSceneResponse
632
644
 
633
645
  GetSyncJobRequest.add_member(:sync_source, Shapes::ShapeRef.new(shape: SyncSource, required: true, location: "uri", location_name: "syncSource"))
@@ -897,6 +909,13 @@ module Aws::IoTTwinMaker
897
909
 
898
910
  SceneCapabilities.member = Shapes::ShapeRef.new(shape: SceneCapability)
899
911
 
912
+ SceneError.add_member(:code, Shapes::ShapeRef.new(shape: SceneErrorCode, location_name: "code"))
913
+ SceneError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
914
+ SceneError.struct_class = Types::SceneError
915
+
916
+ SceneMetadataMap.key = Shapes::ShapeRef.new(shape: Name)
917
+ SceneMetadataMap.value = Shapes::ShapeRef.new(shape: SceneMetadataValue)
918
+
900
919
  SceneSummaries.member = Shapes::ShapeRef.new(shape: SceneSummary)
901
920
 
902
921
  SceneSummary.add_member(:scene_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "sceneId"))
@@ -1030,6 +1049,7 @@ module Aws::IoTTwinMaker
1030
1049
  UpdateSceneRequest.add_member(:content_location, Shapes::ShapeRef.new(shape: S3Url, location_name: "contentLocation"))
1031
1050
  UpdateSceneRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1032
1051
  UpdateSceneRequest.add_member(:capabilities, Shapes::ShapeRef.new(shape: SceneCapabilities, location_name: "capabilities"))
1052
+ UpdateSceneRequest.add_member(:scene_metadata, Shapes::ShapeRef.new(shape: SceneMetadataMap, location_name: "sceneMetadata"))
1033
1053
  UpdateSceneRequest.struct_class = Types::UpdateSceneRequest
1034
1054
 
1035
1055
  UpdateSceneResponse.add_member(:update_date_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updateDateTime"))
@@ -50,9 +50,6 @@ module Aws::IoTTwinMaker
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::IoTTwinMaker
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://iottwinmaker-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://iottwinmaker-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://iottwinmaker.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://iottwinmaker-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://iottwinmaker-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://iottwinmaker.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://iottwinmaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://iottwinmaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -84,7 +84,7 @@ module Aws::IoTTwinMaker
84
84
  include Aws::Structure
85
85
  end
86
86
 
87
- # Information about pricing bundle.
87
+ # Information about the pricing bundle.
88
88
  #
89
89
  # @!attribute [rw] bundle_names
90
90
  # The bundle names.
@@ -118,6 +118,8 @@ module Aws::IoTTwinMaker
118
118
  include Aws::Structure
119
119
  end
120
120
 
121
+ # The component property group request.
122
+ #
121
123
  # @!attribute [rw] group_type
122
124
  # The group type.
123
125
  # @return [String]
@@ -520,13 +522,18 @@ module Aws::IoTTwinMaker
520
522
  # Metadata that you can use to manage the scene.
521
523
  # @return [Hash<String,String>]
522
524
  #
525
+ # @!attribute [rw] scene_metadata
526
+ # The request metadata.
527
+ # @return [Hash<String,String>]
528
+ #
523
529
  class CreateSceneRequest < Struct.new(
524
530
  :workspace_id,
525
531
  :scene_id,
526
532
  :content_location,
527
533
  :description,
528
534
  :capabilities,
529
- :tags)
535
+ :tags,
536
+ :scene_metadata)
530
537
  SENSITIVE = []
531
538
  include Aws::Structure
532
539
  end
@@ -547,20 +554,20 @@ module Aws::IoTTwinMaker
547
554
  end
548
555
 
549
556
  # @!attribute [rw] workspace_id
550
- # The workspace Id.
557
+ # The workspace ID.
551
558
  # @return [String]
552
559
  #
553
560
  # @!attribute [rw] sync_source
554
561
  # The sync source.
555
562
  #
556
- # <note markdown="1"> Currently the only supported syncSoucre is `SITEWISE `.
563
+ # <note markdown="1"> Currently the only supported syncSoource is `SITEWISE `.
557
564
  #
558
565
  # </note>
559
566
  # @return [String]
560
567
  #
561
568
  # @!attribute [rw] sync_role
562
- # The SyncJob IAM role. This IAM role is used by the sync job to read
563
- # from the syncSource, and create, update or delete the corresponding
569
+ # The SyncJob IAM role. This IAM role is used by the SyncJob to read
570
+ # from the syncSource, and create, update, or delete the corresponding
564
571
  # resources.
565
572
  # @return [String]
566
573
  #
@@ -819,13 +826,13 @@ module Aws::IoTTwinMaker
819
826
  class DeleteSceneResponse < Aws::EmptyStructure; end
820
827
 
821
828
  # @!attribute [rw] workspace_id
822
- # The workspace Id.
829
+ # The workspace ID.
823
830
  # @return [String]
824
831
  #
825
832
  # @!attribute [rw] sync_source
826
833
  # The sync source.
827
834
  #
828
- # <note markdown="1"> Currently the only supported syncSoucre is `SITEWISE `.
835
+ # <note markdown="1"> Currently the only supported syncSource is `SITEWISE `.
829
836
  #
830
837
  # </note>
831
838
  # @return [String]
@@ -1136,8 +1143,8 @@ module Aws::IoTTwinMaker
1136
1143
  # @return [Hash<String,Types::PropertyGroupResponse>]
1137
1144
  #
1138
1145
  # @!attribute [rw] sync_source
1139
- # The syncSource of the sync job, if this entity was created by a sync
1140
- # job.
1146
+ # The syncSource of the SyncJob, if this entity was created by a
1147
+ # SyncJob.
1141
1148
  # @return [String]
1142
1149
  #
1143
1150
  # @!attribute [rw] component_type_name
@@ -1502,6 +1509,18 @@ module Aws::IoTTwinMaker
1502
1509
  # A list of capabilities that the scene uses to render.
1503
1510
  # @return [Array<String>]
1504
1511
  #
1512
+ # @!attribute [rw] scene_metadata
1513
+ # The response metadata.
1514
+ # @return [Hash<String,String>]
1515
+ #
1516
+ # @!attribute [rw] generated_scene_metadata
1517
+ # The generated scene metadata.
1518
+ # @return [Hash<String,String>]
1519
+ #
1520
+ # @!attribute [rw] error
1521
+ # The SceneResponse error.
1522
+ # @return [Types::SceneError]
1523
+ #
1505
1524
  class GetSceneResponse < Struct.new(
1506
1525
  :workspace_id,
1507
1526
  :scene_id,
@@ -1510,21 +1529,24 @@ module Aws::IoTTwinMaker
1510
1529
  :creation_date_time,
1511
1530
  :update_date_time,
1512
1531
  :description,
1513
- :capabilities)
1532
+ :capabilities,
1533
+ :scene_metadata,
1534
+ :generated_scene_metadata,
1535
+ :error)
1514
1536
  SENSITIVE = []
1515
1537
  include Aws::Structure
1516
1538
  end
1517
1539
 
1518
1540
  # @!attribute [rw] sync_source
1519
- # The sync soucre.
1541
+ # The sync source.
1520
1542
  #
1521
- # <note markdown="1"> Currently the only supported syncSoucre is `SITEWISE `.
1543
+ # <note markdown="1"> Currently the only supported syncSource is `SITEWISE `.
1522
1544
  #
1523
1545
  # </note>
1524
1546
  # @return [String]
1525
1547
  #
1526
1548
  # @!attribute [rw] workspace_id
1527
- # The workspace Id.
1549
+ # The workspace ID.
1528
1550
  # @return [String]
1529
1551
  #
1530
1552
  class GetSyncJobRequest < Struct.new(
@@ -1545,7 +1567,7 @@ module Aws::IoTTwinMaker
1545
1567
  # @!attribute [rw] sync_source
1546
1568
  # The sync soucre.
1547
1569
  #
1548
- # <note markdown="1"> Currently the only supported syncSoucre is `SITEWISE `.
1570
+ # <note markdown="1"> Currently the only supported syncSource is `SITEWISE `.
1549
1571
  #
1550
1572
  # </note>
1551
1573
  # @return [String]
@@ -1916,15 +1938,23 @@ module Aws::IoTTwinMaker
1916
1938
  # @return [String]
1917
1939
  #
1918
1940
  # @!attribute [rw] sync_source
1919
- # The sync soucre.
1941
+ # The sync source.
1920
1942
  #
1921
- # <note markdown="1"> Currently the only supported syncSoucre is `SITEWISE `.
1943
+ # <note markdown="1"> Currently the only supported syncSource is `SITEWISE `.
1922
1944
  #
1923
1945
  # </note>
1924
1946
  # @return [String]
1925
1947
  #
1926
1948
  # @!attribute [rw] filters
1927
1949
  # A list of objects that filter the request.
1950
+ #
1951
+ # The following filter combinations are supported:
1952
+ #
1953
+ # * Filter with state
1954
+ #
1955
+ # * Filter with ResourceType and ResourceId
1956
+ #
1957
+ # * Filter with ResourceType and ExternalId
1928
1958
  # @return [Array<Types::SyncResourceFilter>]
1929
1959
  #
1930
1960
  # @!attribute [rw] max_results
@@ -2092,7 +2122,7 @@ module Aws::IoTTwinMaker
2092
2122
  # @return [Time]
2093
2123
  #
2094
2124
  # @!attribute [rw] update_reason
2095
- # The update reason, for changing a pricing plan.
2125
+ # The update reason for changing a pricing plan.
2096
2126
  # @return [String]
2097
2127
  #
2098
2128
  class PricingPlan < Struct.new(
@@ -2292,7 +2322,7 @@ module Aws::IoTTwinMaker
2292
2322
  # The latest value of the property.
2293
2323
  #
2294
2324
  # @!attribute [rw] property_reference
2295
- # An object that specifies information about a property.&gt;
2325
+ # An object that specifies information about a property.
2296
2326
  # @return [Types::EntityPropertyReference]
2297
2327
  #
2298
2328
  # @!attribute [rw] property_value
@@ -2362,27 +2392,27 @@ module Aws::IoTTwinMaker
2362
2392
  # The time for when the property value was recorded in ISO 8601
2363
2393
  # format: *YYYY-MM-DDThh:mm:ss\[.SSSSSSSSS\]\[Z/±HH:mm\]*.
2364
2394
  #
2365
- # * *\[YYYY\]*\: year
2395
+ # * *\[YYYY\]*: year
2366
2396
  #
2367
- # * *\[MM\]*\: month
2397
+ # * *\[MM\]*: month
2368
2398
  #
2369
- # * *\[DD\]*\: day
2399
+ # * *\[DD\]*: day
2370
2400
  #
2371
- # * *\[hh\]*\: hour
2401
+ # * *\[hh\]*: hour
2372
2402
  #
2373
- # * *\[mm\]*\: minute
2403
+ # * *\[mm\]*: minute
2374
2404
  #
2375
- # * *\[ss\]*\: seconds
2405
+ # * *\[ss\]*: seconds
2376
2406
  #
2377
- # * *\[.SSSSSSSSS\]*\: additional precision, where precedence is
2407
+ # * *\[.SSSSSSSSS\]*: additional precision, where precedence is
2378
2408
  # maintained. For example: \[.573123\] is equal to 573123000
2379
2409
  # nanoseconds.
2380
2410
  #
2381
- # * *Z*\: default timezone UTC
2411
+ # * *Z*: default timezone UTC
2382
2412
  #
2383
- # * *± HH:mm*\: time zone offset in Hours and Minutes.
2413
+ # * *± HH:mm*: time zone offset in Hours and Minutes.
2384
2414
  #
2385
- # *Required sub-fields*\: YYYY-MM-DDThh:mm:ss and \[Z/±HH:mm\]
2415
+ # *Required sub-fields*: YYYY-MM-DDThh:mm:ss and \[Z/±HH:mm\]
2386
2416
  # @return [String]
2387
2417
  #
2388
2418
  class PropertyValue < Struct.new(
@@ -2505,6 +2535,23 @@ module Aws::IoTTwinMaker
2505
2535
  include Aws::Structure
2506
2536
  end
2507
2537
 
2538
+ # The scene error.
2539
+ #
2540
+ # @!attribute [rw] code
2541
+ # The SceneError code.
2542
+ # @return [String]
2543
+ #
2544
+ # @!attribute [rw] message
2545
+ # The SceneError message.
2546
+ # @return [String]
2547
+ #
2548
+ class SceneError < Struct.new(
2549
+ :code,
2550
+ :message)
2551
+ SENSITIVE = []
2552
+ include Aws::Structure
2553
+ end
2554
+
2508
2555
  # An object that contains information about a scene.
2509
2556
  #
2510
2557
  # @!attribute [rw] scene_id
@@ -2636,15 +2683,15 @@ module Aws::IoTTwinMaker
2636
2683
  # @return [String]
2637
2684
  #
2638
2685
  # @!attribute [rw] resource_type
2639
- # The sync resource filter resoucre type
2686
+ # The sync resource filter resource type
2640
2687
  # @return [String]
2641
2688
  #
2642
2689
  # @!attribute [rw] resource_id
2643
- # The sync resource filter resource Id.
2690
+ # The sync resource filter resource ID.
2644
2691
  # @return [String]
2645
2692
  #
2646
2693
  # @!attribute [rw] external_id
2647
- # The external Id.
2694
+ # The external ID.
2648
2695
  # @return [String]
2649
2696
  #
2650
2697
  class SyncResourceFilter < Struct.new(
@@ -2688,11 +2735,11 @@ module Aws::IoTTwinMaker
2688
2735
  # @return [String]
2689
2736
  #
2690
2737
  # @!attribute [rw] external_id
2691
- # The external Id.
2738
+ # The external ID.
2692
2739
  # @return [String]
2693
2740
  #
2694
2741
  # @!attribute [rw] resource_id
2695
- # The resource Id.
2742
+ # The resource ID.
2696
2743
  # @return [String]
2697
2744
  #
2698
2745
  # @!attribute [rw] status
@@ -2825,7 +2872,7 @@ module Aws::IoTTwinMaker
2825
2872
  # @return [Hash<String,Types::FunctionRequest>]
2826
2873
  #
2827
2874
  # @!attribute [rw] property_groups
2828
- # The property groups
2875
+ # The property groups.
2829
2876
  # @return [Hash<String,Types::PropertyGroupRequest>]
2830
2877
  #
2831
2878
  # @!attribute [rw] component_type_name
@@ -2973,12 +3020,17 @@ module Aws::IoTTwinMaker
2973
3020
  # A list of capabilities that the scene uses to render.
2974
3021
  # @return [Array<String>]
2975
3022
  #
3023
+ # @!attribute [rw] scene_metadata
3024
+ # The scene metadata.
3025
+ # @return [Hash<String,String>]
3026
+ #
2976
3027
  class UpdateSceneRequest < Struct.new(
2977
3028
  :workspace_id,
2978
3029
  :scene_id,
2979
3030
  :content_location,
2980
3031
  :description,
2981
- :capabilities)
3032
+ :capabilities,
3033
+ :scene_metadata)
2982
3034
  SENSITIVE = []
2983
3035
  include Aws::Structure
2984
3036
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-iottwinmaker/customizations'
53
53
  # @!group service
54
54
  module Aws::IoTTwinMaker
55
55
 
56
- GEM_VERSION = '1.9.0'
56
+ GEM_VERSION = '1.11.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iottwinmaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core