aws-sdk-iottwinmaker 1.3.0 → 1.4.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: a89707e6207e64e8d51b6c5b6f5715e8f48cd79c6ae871e02889e3782b159ad2
4
- data.tar.gz: 16783360f98f1aa84a528bdff106248ec1cabfa07e349ccc49f5e1e20e7b5957
3
+ metadata.gz: d8bc357098ce056084b3a0508c422763ec47e2ac7de84f5095908c26d31305e7
4
+ data.tar.gz: a083f6a582a01158504a32a57504238021a01bd50a25191daaca062f3460b4fa
5
5
  SHA512:
6
- metadata.gz: 5962a3d0887e18a8741ff0855ea01546dc4c762ef2af06a5415682bd857ab199e4fb693047fb375d23849ade0a08739429ef35c565c52c689e927737394e4cca
7
- data.tar.gz: 83307e4939e5fe750493c30968626a081ebb518d48259e9b7ba4b31e0b7bed8ed6988f9a9ab830bc4061d1a199e39f607fdd31908f04769ddc90dbf3acd3afb7
6
+ metadata.gz: f7ebd66d7dd66af97c4696497a98ea381590afc59922868623543ee2cc34e6bedf945059889dfb77c4775889744ae8498a364953260196f7fe30733f2ecb2eb7
7
+ data.tar.gz: 8c647523b81a31bc0b9ec8f436827321d5ae896ba535517c815ecbb1a3a04973124a3ba45957d8bc05d40357c99834d3b2d6f5b860cd4a4832c18d3c8d5d052c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2022-04-12)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.3.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.4.0
@@ -379,7 +379,8 @@ module Aws::IoTTwinMaker
379
379
  # },
380
380
  # property_values: [
381
381
  # {
382
- # timestamp: Time.now, # required
382
+ # time: "Time",
383
+ # timestamp: Time.now,
383
384
  # value: { # required
384
385
  # boolean_value: false,
385
386
  # double_value: 1.0,
@@ -419,6 +420,7 @@ module Aws::IoTTwinMaker
419
420
  # resp.error_entries[0].errors[0].entry.entity_property_reference.external_id_property["String"] #=> String
420
421
  # resp.error_entries[0].errors[0].entry.entity_property_reference.property_name #=> String
421
422
  # resp.error_entries[0].errors[0].entry.property_values #=> Array
423
+ # resp.error_entries[0].errors[0].entry.property_values[0].time #=> String
422
424
  # resp.error_entries[0].errors[0].entry.property_values[0].timestamp #=> Time
423
425
  # resp.error_entries[0].errors[0].entry.property_values[0].value.boolean_value #=> Boolean
424
426
  # resp.error_entries[0].errors[0].entry.property_values[0].value.double_value #=> Float
@@ -444,8 +446,6 @@ module Aws::IoTTwinMaker
444
446
 
445
447
  # Creates a component type.
446
448
  #
447
- # TwinMaker is in public preview and is subject to change.
448
- #
449
449
  # @option params [required, String] :component_type_id
450
450
  # The ID of the component type.
451
451
  #
@@ -688,7 +688,7 @@ module Aws::IoTTwinMaker
688
688
  # is_stored_externally: false,
689
689
  # is_time_series: false,
690
690
  # },
691
- # update_type: "UPDATE", # accepts UPDATE, DELETE
691
+ # update_type: "UPDATE", # accepts UPDATE, DELETE, CREATE
692
692
  # value: {
693
693
  # boolean_value: false,
694
694
  # double_value: 1.0,
@@ -1234,9 +1234,12 @@ module Aws::IoTTwinMaker
1234
1234
  # @option params [String] :component_type_id
1235
1235
  # The ID of the component type.
1236
1236
  #
1237
- # @option params [required, Time,DateTime,Date,Integer,String] :end_date_time
1237
+ # @option params [Time,DateTime,Date,Integer,String] :end_date_time
1238
1238
  # The date and time of the latest property value to return.
1239
1239
  #
1240
+ # @option params [String] :end_time
1241
+ # Timestamp represented in ISO 8601 format
1242
+ #
1240
1243
  # @option params [String] :entity_id
1241
1244
  # The ID of the entity.
1242
1245
  #
@@ -1259,9 +1262,12 @@ module Aws::IoTTwinMaker
1259
1262
  # @option params [required, Array<String>] :selected_properties
1260
1263
  # A list of properties whose value histories the request retrieves.
1261
1264
  #
1262
- # @option params [required, Time,DateTime,Date,Integer,String] :start_date_time
1265
+ # @option params [Time,DateTime,Date,Integer,String] :start_date_time
1263
1266
  # The date and time of the earliest property value to return.
1264
1267
  #
1268
+ # @option params [String] :start_time
1269
+ # Timestamp represented in ISO 8601 format
1270
+ #
1265
1271
  # @option params [required, String] :workspace_id
1266
1272
  # The ID of the workspace.
1267
1273
  #
@@ -1277,7 +1283,8 @@ module Aws::IoTTwinMaker
1277
1283
  # resp = client.get_property_value_history({
1278
1284
  # component_name: "Name",
1279
1285
  # component_type_id: "ComponentTypeId",
1280
- # end_date_time: Time.now, # required
1286
+ # end_date_time: Time.now,
1287
+ # end_time: "Time",
1281
1288
  # entity_id: "EntityId",
1282
1289
  # interpolation: {
1283
1290
  # interpolation_type: "LINEAR", # accepts LINEAR
@@ -1315,7 +1322,8 @@ module Aws::IoTTwinMaker
1315
1322
  # },
1316
1323
  # ],
1317
1324
  # selected_properties: ["String"], # required
1318
- # start_date_time: Time.now, # required
1325
+ # start_date_time: Time.now,
1326
+ # start_time: "Time",
1319
1327
  # workspace_id: "Id", # required
1320
1328
  # })
1321
1329
  #
@@ -1329,6 +1337,7 @@ module Aws::IoTTwinMaker
1329
1337
  # resp.property_values[0].entity_property_reference.external_id_property["String"] #=> String
1330
1338
  # resp.property_values[0].entity_property_reference.property_name #=> String
1331
1339
  # resp.property_values[0].values #=> Array
1340
+ # resp.property_values[0].values[0].time #=> String
1332
1341
  # resp.property_values[0].values[0].timestamp #=> Time
1333
1342
  # resp.property_values[0].values[0].value.boolean_value #=> Boolean
1334
1343
  # resp.property_values[0].values[0].value.double_value #=> Float
@@ -1520,6 +1529,7 @@ module Aws::IoTTwinMaker
1520
1529
  # filters: [
1521
1530
  # {
1522
1531
  # component_type_id: "ComponentTypeId",
1532
+ # external_id: "String",
1523
1533
  # parent_entity_id: "ParentEntityId",
1524
1534
  # },
1525
1535
  # ],
@@ -1957,7 +1967,7 @@ module Aws::IoTTwinMaker
1957
1967
  # is_stored_externally: false,
1958
1968
  # is_time_series: false,
1959
1969
  # },
1960
- # update_type: "UPDATE", # accepts UPDATE, DELETE
1970
+ # update_type: "UPDATE", # accepts UPDATE, DELETE, CREATE
1961
1971
  # value: {
1962
1972
  # boolean_value: false,
1963
1973
  # double_value: 1.0,
@@ -2097,7 +2107,7 @@ module Aws::IoTTwinMaker
2097
2107
  params: params,
2098
2108
  config: config)
2099
2109
  context[:gem_name] = 'aws-sdk-iottwinmaker'
2100
- context[:gem_version] = '1.3.0'
2110
+ context[:gem_version] = '1.4.0'
2101
2111
  Seahorse::Client::Request.new(handlers, context)
2102
2112
  end
2103
2113
 
@@ -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,10 @@ 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
+ # Timestamp represented in ISO 8601 format
1737
+ # @return [String]
1738
+ #
1732
1739
  # @!attribute [rw] entity_id
1733
1740
  # The ID of the entity.
1734
1741
  # @return [String]
@@ -1762,6 +1769,10 @@ module Aws::IoTTwinMaker
1762
1769
  # The date and time of the earliest property value to return.
1763
1770
  # @return [Time]
1764
1771
  #
1772
+ # @!attribute [rw] start_time
1773
+ # Timestamp represented in ISO 8601 format
1774
+ # @return [String]
1775
+ #
1765
1776
  # @!attribute [rw] workspace_id
1766
1777
  # The ID of the workspace.
1767
1778
  # @return [String]
@@ -1770,6 +1781,7 @@ module Aws::IoTTwinMaker
1770
1781
  :component_name,
1771
1782
  :component_type_id,
1772
1783
  :end_date_time,
1784
+ :end_time,
1773
1785
  :entity_id,
1774
1786
  :interpolation,
1775
1787
  :max_results,
@@ -1778,6 +1790,7 @@ module Aws::IoTTwinMaker
1778
1790
  :property_filters,
1779
1791
  :selected_properties,
1780
1792
  :start_date_time,
1793
+ :start_time,
1781
1794
  :workspace_id)
1782
1795
  SENSITIVE = []
1783
1796
  include Aws::Structure
@@ -2144,12 +2157,18 @@ module Aws::IoTTwinMaker
2144
2157
  # The ID of the component type in the entities in the list.
2145
2158
  # @return [String]
2146
2159
  #
2160
+ # @!attribute [rw] external_id
2161
+ # The external-Id property of a component. The external-Id property is
2162
+ # the primary key of an external storage system.
2163
+ # @return [String]
2164
+ #
2147
2165
  # @!attribute [rw] parent_entity_id
2148
2166
  # The parent of the entities in the list.
2149
2167
  # @return [String]
2150
2168
  #
2151
2169
  class ListEntitiesFilter < Struct.new(
2152
2170
  :component_type_id,
2171
+ :external_id,
2153
2172
  :parent_entity_id,
2154
2173
  :unknown)
2155
2174
  SENSITIVE = []
@@ -2157,6 +2176,7 @@ module Aws::IoTTwinMaker
2157
2176
  include Aws::Structure::Union
2158
2177
 
2159
2178
  class ComponentTypeId < ListEntitiesFilter; end
2179
+ class ExternalId < ListEntitiesFilter; end
2160
2180
  class ParentEntityId < ListEntitiesFilter; end
2161
2181
  class Unknown < ListEntitiesFilter; end
2162
2182
  end
@@ -2168,6 +2188,7 @@ module Aws::IoTTwinMaker
2168
2188
  # filters: [
2169
2189
  # {
2170
2190
  # component_type_id: "ComponentTypeId",
2191
+ # external_id: "String",
2171
2192
  # parent_entity_id: "ParentEntityId",
2172
2193
  # },
2173
2194
  # ],
@@ -2687,7 +2708,7 @@ module Aws::IoTTwinMaker
2687
2708
  # is_stored_externally: false,
2688
2709
  # is_time_series: false,
2689
2710
  # },
2690
- # update_type: "UPDATE", # accepts UPDATE, DELETE
2711
+ # update_type: "UPDATE", # accepts UPDATE, DELETE, CREATE
2691
2712
  # value: {
2692
2713
  # boolean_value: false,
2693
2714
  # double_value: 1.0,
@@ -2756,7 +2777,8 @@ module Aws::IoTTwinMaker
2756
2777
  # data as a hash:
2757
2778
  #
2758
2779
  # {
2759
- # timestamp: Time.now, # required
2780
+ # time: "Time",
2781
+ # timestamp: Time.now,
2760
2782
  # value: { # required
2761
2783
  # boolean_value: false,
2762
2784
  # double_value: 1.0,
@@ -2781,6 +2803,10 @@ module Aws::IoTTwinMaker
2781
2803
  # },
2782
2804
  # }
2783
2805
  #
2806
+ # @!attribute [rw] time
2807
+ # Timestamp represented in ISO 8601 format
2808
+ # @return [String]
2809
+ #
2784
2810
  # @!attribute [rw] timestamp
2785
2811
  # The timestamp of a value for a time series property.
2786
2812
  # @return [Time]
@@ -2790,6 +2816,7 @@ module Aws::IoTTwinMaker
2790
2816
  # @return [Types::DataValue]
2791
2817
  #
2792
2818
  class PropertyValue < Struct.new(
2819
+ :time,
2793
2820
  :timestamp,
2794
2821
  :value)
2795
2822
  SENSITIVE = []
@@ -2813,7 +2840,8 @@ module Aws::IoTTwinMaker
2813
2840
  # },
2814
2841
  # property_values: [
2815
2842
  # {
2816
- # timestamp: Time.now, # required
2843
+ # time: "Time",
2844
+ # timestamp: Time.now,
2817
2845
  # value: { # required
2818
2846
  # boolean_value: false,
2819
2847
  # double_value: 1.0,
@@ -3313,7 +3341,7 @@ module Aws::IoTTwinMaker
3313
3341
  # is_stored_externally: false,
3314
3342
  # is_time_series: false,
3315
3343
  # },
3316
- # update_type: "UPDATE", # accepts UPDATE, DELETE
3344
+ # update_type: "UPDATE", # accepts UPDATE, DELETE, CREATE
3317
3345
  # value: {
3318
3346
  # boolean_value: false,
3319
3347
  # 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.3.0'
52
+ GEM_VERSION = '1.4.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.3.0
4
+ version: 1.4.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-24 00:00:00.000000000 Z
11
+ date: 2022-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core