aws-sdk-iottwinmaker 1.2.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3bcc4f57a757fa057c272e64db9ff778d41a03a00c0d0e01115b872892265aef
4
- data.tar.gz: fa20c72f37b331167198dbae6376b68e33f4816e78995be393a15fb77c2879fa
3
+ metadata.gz: 28daec569f936a957b275dfa56774687c77ac8c93d8129e4a32d1d2f78de8a3b
4
+ data.tar.gz: bb63afe523002092c4995e10f8fc03e91bc1ad75c1b2554ea8c9b197ffd47be4
5
5
  SHA512:
6
- metadata.gz: 83aa272a14487e5cbbecbd9be891af3697adb45cbcc84bfd8f5f29c91be009c4e8ea59a7cf47e0263616fa3acb5137c6d940fef6757e2a191e1ec26adbb22835
7
- data.tar.gz: 91a918d1c7545ac8db12f62502c8f1339cb7d3a0630e6e3751675ffd4bac632232f159fe37428afd57a5a2199c32cf17cc66edbb953b41b6d5e8eb3fcd67ff02
6
+ metadata.gz: 104570e38b731888f0f2675172b2e16dd0d88bac8cecf106cdb02825816e95e027c1a7b855027eb54880717a98bc6124bf5aa32a999e5d80ce358487e2633b0b
7
+ data.tar.gz: 109c3ebe0606c5eba5357f1f155140cc06f8c894a691689ca025a3407aa89bde68e664bbe386bdf9e065f2c62a230cb3dab17157f6a84a4a9aadb9d1ecd6610b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.5.0 (2022-04-21)
5
+ ------------------
6
+
7
+ * Feature - General availability (GA) for AWS IoT TwinMaker. For more information, see https://docs.aws.amazon.com/iot-twinmaker/latest/apireference/Welcome.html
8
+
9
+ 1.4.0 (2022-04-12)
10
+ ------------------
11
+
12
+ * Feature - This release adds the following new features: 1) ListEntities API now supports search using ExternalId. 2) BatchPutPropertyValue and GetPropertyValueHistory API now allows users to represent time in sub-second level precisions.
13
+
14
+ 1.3.0 (2022-02-24)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.2.0 (2022-02-03)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.5.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
32
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
@@ -75,6 +76,7 @@ module Aws::IoTTwinMaker
75
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
78
80
  add_plugin(Aws::Plugins::DefaultsMode)
79
81
  add_plugin(Aws::Plugins::RecursionDetection)
80
82
  add_plugin(Aws::Plugins::SignatureV4)
@@ -377,7 +379,8 @@ module Aws::IoTTwinMaker
377
379
  # },
378
380
  # property_values: [
379
381
  # {
380
- # timestamp: Time.now, # required
382
+ # time: "Time",
383
+ # timestamp: Time.now,
381
384
  # value: { # required
382
385
  # boolean_value: false,
383
386
  # double_value: 1.0,
@@ -417,6 +420,7 @@ module Aws::IoTTwinMaker
417
420
  # resp.error_entries[0].errors[0].entry.entity_property_reference.external_id_property["String"] #=> String
418
421
  # resp.error_entries[0].errors[0].entry.entity_property_reference.property_name #=> String
419
422
  # resp.error_entries[0].errors[0].entry.property_values #=> Array
423
+ # resp.error_entries[0].errors[0].entry.property_values[0].time #=> String
420
424
  # resp.error_entries[0].errors[0].entry.property_values[0].timestamp #=> Time
421
425
  # resp.error_entries[0].errors[0].entry.property_values[0].value.boolean_value #=> Boolean
422
426
  # resp.error_entries[0].errors[0].entry.property_values[0].value.double_value #=> Float
@@ -442,8 +446,6 @@ module Aws::IoTTwinMaker
442
446
 
443
447
  # Creates a component type.
444
448
  #
445
- # TwinMaker is in public preview and is subject to change.
446
- #
447
449
  # @option params [required, String] :component_type_id
448
450
  # The ID of the component type.
449
451
  #
@@ -686,7 +688,7 @@ module Aws::IoTTwinMaker
686
688
  # is_stored_externally: false,
687
689
  # is_time_series: false,
688
690
  # },
689
- # update_type: "UPDATE", # accepts UPDATE, DELETE
691
+ # update_type: "UPDATE", # accepts UPDATE, DELETE, CREATE
690
692
  # value: {
691
693
  # boolean_value: false,
692
694
  # double_value: 1.0,
@@ -1232,9 +1234,19 @@ module Aws::IoTTwinMaker
1232
1234
  # @option params [String] :component_type_id
1233
1235
  # The ID of the component type.
1234
1236
  #
1235
- # @option params [required, Time,DateTime,Date,Integer,String] :end_date_time
1237
+ # @option params [Time,DateTime,Date,Integer,String] :end_date_time
1236
1238
  # The date and time of the latest property value to return.
1237
1239
  #
1240
+ # @option params [String] :end_time
1241
+ # The ISO8601 DateTime of the latest property value to return.
1242
+ #
1243
+ # For more information about the ISO8601 DateTime format, see the data
1244
+ # type [PropertyValue][1].
1245
+ #
1246
+ #
1247
+ #
1248
+ # [1]: https://docs.aws.amazon.com/roci/latest/roci-api/API_PropertyValue.html
1249
+ #
1238
1250
  # @option params [String] :entity_id
1239
1251
  # The ID of the entity.
1240
1252
  #
@@ -1257,9 +1269,19 @@ module Aws::IoTTwinMaker
1257
1269
  # @option params [required, Array<String>] :selected_properties
1258
1270
  # A list of properties whose value histories the request retrieves.
1259
1271
  #
1260
- # @option params [required, Time,DateTime,Date,Integer,String] :start_date_time
1272
+ # @option params [Time,DateTime,Date,Integer,String] :start_date_time
1261
1273
  # The date and time of the earliest property value to return.
1262
1274
  #
1275
+ # @option params [String] :start_time
1276
+ # The ISO8601 DateTime of the earliest property value to return.
1277
+ #
1278
+ # For more information about the ISO8601 DateTime format, see the data
1279
+ # type [PropertyValue][1].
1280
+ #
1281
+ #
1282
+ #
1283
+ # [1]: https://docs.aws.amazon.com/roci/latest/roci-api/API_PropertyValue.html
1284
+ #
1263
1285
  # @option params [required, String] :workspace_id
1264
1286
  # The ID of the workspace.
1265
1287
  #
@@ -1275,7 +1297,8 @@ module Aws::IoTTwinMaker
1275
1297
  # resp = client.get_property_value_history({
1276
1298
  # component_name: "Name",
1277
1299
  # component_type_id: "ComponentTypeId",
1278
- # end_date_time: Time.now, # required
1300
+ # end_date_time: Time.now,
1301
+ # end_time: "Time",
1279
1302
  # entity_id: "EntityId",
1280
1303
  # interpolation: {
1281
1304
  # interpolation_type: "LINEAR", # accepts LINEAR
@@ -1313,7 +1336,8 @@ module Aws::IoTTwinMaker
1313
1336
  # },
1314
1337
  # ],
1315
1338
  # selected_properties: ["String"], # required
1316
- # start_date_time: Time.now, # required
1339
+ # start_date_time: Time.now,
1340
+ # start_time: "Time",
1317
1341
  # workspace_id: "Id", # required
1318
1342
  # })
1319
1343
  #
@@ -1327,6 +1351,7 @@ module Aws::IoTTwinMaker
1327
1351
  # resp.property_values[0].entity_property_reference.external_id_property["String"] #=> String
1328
1352
  # resp.property_values[0].entity_property_reference.property_name #=> String
1329
1353
  # resp.property_values[0].values #=> Array
1354
+ # resp.property_values[0].values[0].time #=> String
1330
1355
  # resp.property_values[0].values[0].timestamp #=> Time
1331
1356
  # resp.property_values[0].values[0].value.boolean_value #=> Boolean
1332
1357
  # resp.property_values[0].values[0].value.double_value #=> Float
@@ -1496,6 +1521,10 @@ module Aws::IoTTwinMaker
1496
1521
  # @option params [Array<Types::ListEntitiesFilter>] :filters
1497
1522
  # A list of objects that filter the request.
1498
1523
  #
1524
+ # <note markdown="1"> Only one object is accepted as a valid input.
1525
+ #
1526
+ # </note>
1527
+ #
1499
1528
  # @option params [Integer] :max_results
1500
1529
  # The maximum number of results to display.
1501
1530
  #
@@ -1518,6 +1547,7 @@ module Aws::IoTTwinMaker
1518
1547
  # filters: [
1519
1548
  # {
1520
1549
  # component_type_id: "ComponentTypeId",
1550
+ # external_id: "String",
1521
1551
  # parent_entity_id: "ParentEntityId",
1522
1552
  # },
1523
1553
  # ],
@@ -1955,7 +1985,7 @@ module Aws::IoTTwinMaker
1955
1985
  # is_stored_externally: false,
1956
1986
  # is_time_series: false,
1957
1987
  # },
1958
- # update_type: "UPDATE", # accepts UPDATE, DELETE
1988
+ # update_type: "UPDATE", # accepts UPDATE, DELETE, CREATE
1959
1989
  # value: {
1960
1990
  # boolean_value: false,
1961
1991
  # double_value: 1.0,
@@ -2095,7 +2125,7 @@ module Aws::IoTTwinMaker
2095
2125
  params: params,
2096
2126
  config: config)
2097
2127
  context[:gem_name] = 'aws-sdk-iottwinmaker'
2098
- context[:gem_version] = '1.2.0'
2128
+ context[:gem_version] = '1.5.0'
2099
2129
  Seahorse::Client::Request.new(handlers, context)
2100
2130
  end
2101
2131
 
@@ -160,6 +160,7 @@ module Aws::IoTTwinMaker
160
160
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
161
161
  TagValue = Shapes::StringShape.new(name: 'TagValue')
162
162
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
163
+ Time = Shapes::StringShape.new(name: 'Time')
163
164
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
164
165
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
165
166
  TwinMakerArn = Shapes::StringShape.new(name: 'TwinMakerArn')
@@ -443,7 +444,8 @@ module Aws::IoTTwinMaker
443
444
 
444
445
  GetPropertyValueHistoryRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: Name, location_name: "componentName"))
445
446
  GetPropertyValueHistoryRequest.add_member(:component_type_id, Shapes::ShapeRef.new(shape: ComponentTypeId, location_name: "componentTypeId"))
446
- GetPropertyValueHistoryRequest.add_member(:end_date_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "endDateTime"))
447
+ GetPropertyValueHistoryRequest.add_member(:end_date_time, Shapes::ShapeRef.new(shape: Timestamp, deprecated: true, location_name: "endDateTime", metadata: {"deprecatedMessage"=>"This field is deprecated and will throw an error in the future. Use endTime instead."}))
448
+ GetPropertyValueHistoryRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Time, location_name: "endTime"))
447
449
  GetPropertyValueHistoryRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "entityId"))
448
450
  GetPropertyValueHistoryRequest.add_member(:interpolation, Shapes::ShapeRef.new(shape: InterpolationParameters, location_name: "interpolation"))
449
451
  GetPropertyValueHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
@@ -451,7 +453,8 @@ module Aws::IoTTwinMaker
451
453
  GetPropertyValueHistoryRequest.add_member(:order_by_time, Shapes::ShapeRef.new(shape: OrderByTime, location_name: "orderByTime"))
452
454
  GetPropertyValueHistoryRequest.add_member(:property_filters, Shapes::ShapeRef.new(shape: PropertyFilters, location_name: "propertyFilters"))
453
455
  GetPropertyValueHistoryRequest.add_member(:selected_properties, Shapes::ShapeRef.new(shape: SelectedPropertyList, required: true, location_name: "selectedProperties"))
454
- GetPropertyValueHistoryRequest.add_member(:start_date_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDateTime"))
456
+ GetPropertyValueHistoryRequest.add_member(:start_date_time, Shapes::ShapeRef.new(shape: Timestamp, deprecated: true, location_name: "startDateTime", metadata: {"deprecatedMessage"=>"This field is deprecated and will throw an error in the future. Use startTime instead."}))
457
+ GetPropertyValueHistoryRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Time, location_name: "startTime"))
455
458
  GetPropertyValueHistoryRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "workspaceId"))
456
459
  GetPropertyValueHistoryRequest.struct_class = Types::GetPropertyValueHistoryRequest
457
460
 
@@ -530,9 +533,11 @@ module Aws::IoTTwinMaker
530
533
  ListComponentTypesResponse.struct_class = Types::ListComponentTypesResponse
531
534
 
532
535
  ListEntitiesFilter.add_member(:component_type_id, Shapes::ShapeRef.new(shape: ComponentTypeId, location_name: "componentTypeId"))
536
+ ListEntitiesFilter.add_member(:external_id, Shapes::ShapeRef.new(shape: String, location_name: "externalId"))
533
537
  ListEntitiesFilter.add_member(:parent_entity_id, Shapes::ShapeRef.new(shape: ParentEntityId, location_name: "parentEntityId"))
534
538
  ListEntitiesFilter.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
535
539
  ListEntitiesFilter.add_member_subclass(:component_type_id, Types::ListEntitiesFilter::ComponentTypeId)
540
+ ListEntitiesFilter.add_member_subclass(:external_id, Types::ListEntitiesFilter::ExternalId)
536
541
  ListEntitiesFilter.add_member_subclass(:parent_entity_id, Types::ListEntitiesFilter::ParentEntityId)
537
542
  ListEntitiesFilter.add_member_subclass(:unknown, Types::ListEntitiesFilter::Unknown)
538
543
  ListEntitiesFilter.struct_class = Types::ListEntitiesFilter
@@ -635,7 +640,8 @@ module Aws::IoTTwinMaker
635
640
  PropertyResponses.key = Shapes::ShapeRef.new(shape: Name)
636
641
  PropertyResponses.value = Shapes::ShapeRef.new(shape: PropertyResponse)
637
642
 
638
- PropertyValue.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
643
+ PropertyValue.add_member(:time, Shapes::ShapeRef.new(shape: Time, location_name: "time"))
644
+ PropertyValue.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, deprecated: true, location_name: "timestamp", metadata: {"deprecatedMessage"=>"This field is deprecated and will throw an error in the future. Use time instead."}))
639
645
  PropertyValue.add_member(:value, Shapes::ShapeRef.new(shape: DataValue, required: true, location_name: "value"))
640
646
  PropertyValue.struct_class = Types::PropertyValue
641
647
 
@@ -74,7 +74,8 @@ module Aws::IoTTwinMaker
74
74
  # },
75
75
  # property_values: [
76
76
  # {
77
- # timestamp: Time.now, # required
77
+ # time: "Time",
78
+ # timestamp: Time.now,
78
79
  # value: { # required
79
80
  # boolean_value: false,
80
81
  # double_value: 1.0,
@@ -205,7 +206,7 @@ module Aws::IoTTwinMaker
205
206
  # is_stored_externally: false,
206
207
  # is_time_series: false,
207
208
  # },
208
- # update_type: "UPDATE", # accepts UPDATE, DELETE
209
+ # update_type: "UPDATE", # accepts UPDATE, DELETE, CREATE
209
210
  # value: {
210
211
  # boolean_value: false,
211
212
  # double_value: 1.0,
@@ -405,7 +406,7 @@ module Aws::IoTTwinMaker
405
406
  # is_stored_externally: false,
406
407
  # is_time_series: false,
407
408
  # },
408
- # update_type: "UPDATE", # accepts UPDATE, DELETE
409
+ # update_type: "UPDATE", # accepts UPDATE, DELETE, CREATE
409
410
  # value: {
410
411
  # boolean_value: false,
411
412
  # double_value: 1.0,
@@ -728,7 +729,7 @@ module Aws::IoTTwinMaker
728
729
  # is_stored_externally: false,
729
730
  # is_time_series: false,
730
731
  # },
731
- # update_type: "UPDATE", # accepts UPDATE, DELETE
732
+ # update_type: "UPDATE", # accepts UPDATE, DELETE, CREATE
732
733
  # value: {
733
734
  # boolean_value: false,
734
735
  # double_value: 1.0,
@@ -969,7 +970,7 @@ module Aws::IoTTwinMaker
969
970
  #
970
971
  # @!attribute [rw] is_native
971
972
  # A Boolean value that specifies whether the data connector is native
972
- # to TwinMaker.
973
+ # to IoT TwinMaker.
973
974
  # @return [Boolean]
974
975
  #
975
976
  # @!attribute [rw] lambda
@@ -1675,7 +1676,8 @@ module Aws::IoTTwinMaker
1675
1676
  # {
1676
1677
  # component_name: "Name",
1677
1678
  # component_type_id: "ComponentTypeId",
1678
- # end_date_time: Time.now, # required
1679
+ # end_date_time: Time.now,
1680
+ # end_time: "Time",
1679
1681
  # entity_id: "EntityId",
1680
1682
  # interpolation: {
1681
1683
  # interpolation_type: "LINEAR", # accepts LINEAR
@@ -1713,7 +1715,8 @@ module Aws::IoTTwinMaker
1713
1715
  # },
1714
1716
  # ],
1715
1717
  # selected_properties: ["String"], # required
1716
- # start_date_time: Time.now, # required
1718
+ # start_date_time: Time.now,
1719
+ # start_time: "Time",
1717
1720
  # workspace_id: "Id", # required
1718
1721
  # }
1719
1722
  #
@@ -1729,6 +1732,17 @@ module Aws::IoTTwinMaker
1729
1732
  # The date and time of the latest property value to return.
1730
1733
  # @return [Time]
1731
1734
  #
1735
+ # @!attribute [rw] end_time
1736
+ # The ISO8601 DateTime of the latest property value to return.
1737
+ #
1738
+ # For more information about the ISO8601 DateTime format, see the data
1739
+ # type [PropertyValue][1].
1740
+ #
1741
+ #
1742
+ #
1743
+ # [1]: https://docs.aws.amazon.com/roci/latest/roci-api/API_PropertyValue.html
1744
+ # @return [String]
1745
+ #
1732
1746
  # @!attribute [rw] entity_id
1733
1747
  # The ID of the entity.
1734
1748
  # @return [String]
@@ -1762,6 +1776,17 @@ module Aws::IoTTwinMaker
1762
1776
  # The date and time of the earliest property value to return.
1763
1777
  # @return [Time]
1764
1778
  #
1779
+ # @!attribute [rw] start_time
1780
+ # The ISO8601 DateTime of the earliest property value to return.
1781
+ #
1782
+ # For more information about the ISO8601 DateTime format, see the data
1783
+ # type [PropertyValue][1].
1784
+ #
1785
+ #
1786
+ #
1787
+ # [1]: https://docs.aws.amazon.com/roci/latest/roci-api/API_PropertyValue.html
1788
+ # @return [String]
1789
+ #
1765
1790
  # @!attribute [rw] workspace_id
1766
1791
  # The ID of the workspace.
1767
1792
  # @return [String]
@@ -1770,6 +1795,7 @@ module Aws::IoTTwinMaker
1770
1795
  :component_name,
1771
1796
  :component_type_id,
1772
1797
  :end_date_time,
1798
+ :end_time,
1773
1799
  :entity_id,
1774
1800
  :interpolation,
1775
1801
  :max_results,
@@ -1778,6 +1804,7 @@ module Aws::IoTTwinMaker
1778
1804
  :property_filters,
1779
1805
  :selected_properties,
1780
1806
  :start_date_time,
1807
+ :start_time,
1781
1808
  :workspace_id)
1782
1809
  SENSITIVE = []
1783
1810
  include Aws::Structure
@@ -2039,6 +2066,10 @@ module Aws::IoTTwinMaker
2039
2066
 
2040
2067
  # An object that filters items in a list of component types.
2041
2068
  #
2069
+ # <note markdown="1"> Only one object is accepted as a valid input.
2070
+ #
2071
+ # </note>
2072
+ #
2042
2073
  # @note ListComponentTypesFilter is a union - when making an API calls you must set exactly one of the members.
2043
2074
  #
2044
2075
  # @!attribute [rw] extends_from
@@ -2144,12 +2175,18 @@ module Aws::IoTTwinMaker
2144
2175
  # The ID of the component type in the entities in the list.
2145
2176
  # @return [String]
2146
2177
  #
2178
+ # @!attribute [rw] external_id
2179
+ # The external-Id property of a component. The external-Id property is
2180
+ # the primary key of an external storage system.
2181
+ # @return [String]
2182
+ #
2147
2183
  # @!attribute [rw] parent_entity_id
2148
2184
  # The parent of the entities in the list.
2149
2185
  # @return [String]
2150
2186
  #
2151
2187
  class ListEntitiesFilter < Struct.new(
2152
2188
  :component_type_id,
2189
+ :external_id,
2153
2190
  :parent_entity_id,
2154
2191
  :unknown)
2155
2192
  SENSITIVE = []
@@ -2157,6 +2194,7 @@ module Aws::IoTTwinMaker
2157
2194
  include Aws::Structure::Union
2158
2195
 
2159
2196
  class ComponentTypeId < ListEntitiesFilter; end
2197
+ class ExternalId < ListEntitiesFilter; end
2160
2198
  class ParentEntityId < ListEntitiesFilter; end
2161
2199
  class Unknown < ListEntitiesFilter; end
2162
2200
  end
@@ -2168,6 +2206,7 @@ module Aws::IoTTwinMaker
2168
2206
  # filters: [
2169
2207
  # {
2170
2208
  # component_type_id: "ComponentTypeId",
2209
+ # external_id: "String",
2171
2210
  # parent_entity_id: "ParentEntityId",
2172
2211
  # },
2173
2212
  # ],
@@ -2178,6 +2217,10 @@ module Aws::IoTTwinMaker
2178
2217
  #
2179
2218
  # @!attribute [rw] filters
2180
2219
  # A list of objects that filter the request.
2220
+ #
2221
+ # <note markdown="1"> Only one object is accepted as a valid input.
2222
+ #
2223
+ # </note>
2181
2224
  # @return [Array<Types::ListEntitiesFilter>]
2182
2225
  #
2183
2226
  # @!attribute [rw] max_results
@@ -2687,7 +2730,7 @@ module Aws::IoTTwinMaker
2687
2730
  # is_stored_externally: false,
2688
2731
  # is_time_series: false,
2689
2732
  # },
2690
- # update_type: "UPDATE", # accepts UPDATE, DELETE
2733
+ # update_type: "UPDATE", # accepts UPDATE, DELETE, CREATE
2691
2734
  # value: {
2692
2735
  # boolean_value: false,
2693
2736
  # double_value: 1.0,
@@ -2756,7 +2799,8 @@ module Aws::IoTTwinMaker
2756
2799
  # data as a hash:
2757
2800
  #
2758
2801
  # {
2759
- # timestamp: Time.now, # required
2802
+ # time: "Time",
2803
+ # timestamp: Time.now,
2760
2804
  # value: { # required
2761
2805
  # boolean_value: false,
2762
2806
  # double_value: 1.0,
@@ -2781,6 +2825,35 @@ module Aws::IoTTwinMaker
2781
2825
  # },
2782
2826
  # }
2783
2827
  #
2828
+ # @!attribute [rw] time
2829
+ # ISO8601 DateTime of a value for a time series property.
2830
+ #
2831
+ # The time for when the property value was recorded in ISO 8601
2832
+ # format: *YYYY-MM-DDThh:mm:ss\[.SSSSSSSSS\]\[Z/±HH:mm\]*.
2833
+ #
2834
+ # * *\[YYYY\]*\: year
2835
+ #
2836
+ # * *\[MM\]*\: month
2837
+ #
2838
+ # * *\[DD\]*\: day
2839
+ #
2840
+ # * *\[hh\]*\: hour
2841
+ #
2842
+ # * *\[mm\]*\: minute
2843
+ #
2844
+ # * *\[ss\]*\: seconds
2845
+ #
2846
+ # * *\[.SSSSSSSSS\]*\: additional precision, where precedence is
2847
+ # maintained. For example: \[.573123\] is equal to 573123000
2848
+ # nanoseconds.
2849
+ #
2850
+ # * *Z*\: default timezone UTC
2851
+ #
2852
+ # * *± HH:mm*\: time zone offset in Hours and Minutes.
2853
+ #
2854
+ # *Required sub-fields*\: YYYY-MM-DDThh:mm:ss and \[Z/±HH:mm\]
2855
+ # @return [String]
2856
+ #
2784
2857
  # @!attribute [rw] timestamp
2785
2858
  # The timestamp of a value for a time series property.
2786
2859
  # @return [Time]
@@ -2790,6 +2863,7 @@ module Aws::IoTTwinMaker
2790
2863
  # @return [Types::DataValue]
2791
2864
  #
2792
2865
  class PropertyValue < Struct.new(
2866
+ :time,
2793
2867
  :timestamp,
2794
2868
  :value)
2795
2869
  SENSITIVE = []
@@ -2797,7 +2871,12 @@ module Aws::IoTTwinMaker
2797
2871
  end
2798
2872
 
2799
2873
  # An object that specifies information about time series property
2800
- # values.
2874
+ # values. This object is used and consumed by the
2875
+ # [BatchPutPropertyValues][1] action.
2876
+ #
2877
+ #
2878
+ #
2879
+ # [1]: https://docs.aws.amazon.com/iot-twinmaker/latest/apireference/API_BatchPutPropertyValues.html
2801
2880
  #
2802
2881
  # @note When making an API call, you may pass PropertyValueEntry
2803
2882
  # data as a hash:
@@ -2813,7 +2892,8 @@ module Aws::IoTTwinMaker
2813
2892
  # },
2814
2893
  # property_values: [
2815
2894
  # {
2816
- # timestamp: Time.now, # required
2895
+ # time: "Time",
2896
+ # timestamp: Time.now,
2817
2897
  # value: { # required
2818
2898
  # boolean_value: false,
2819
2899
  # double_value: 1.0,
@@ -3313,7 +3393,7 @@ module Aws::IoTTwinMaker
3313
3393
  # is_stored_externally: false,
3314
3394
  # is_time_series: false,
3315
3395
  # },
3316
- # update_type: "UPDATE", # accepts UPDATE, DELETE
3396
+ # update_type: "UPDATE", # accepts UPDATE, DELETE, CREATE
3317
3397
  # value: {
3318
3398
  # boolean_value: false,
3319
3399
  # double_value: 1.0,
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-iottwinmaker/customizations'
49
49
  # @!group service
50
50
  module Aws::IoTTwinMaker
51
51
 
52
- GEM_VERSION = '1.2.0'
52
+ GEM_VERSION = '1.5.0'
53
53
 
54
54
  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.2.0
4
+ version: 1.5.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: 2022-02-03 00:00:00.000000000 Z
11
+ date: 2022-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.126.0
22
+ version: 3.127.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.126.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement