aws-sdk-iotsitewise 1.79.0 → 1.81.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: 21bb299e9cac067b02bd040f8eea95f439b0cc28f121406201a4d17f0b3895ae
4
- data.tar.gz: 6d82c21788510c170732c4c9797343dd6289f8ceb8a0b118c57bc92fdff7d644
3
+ metadata.gz: 73adfa4a9b1b698d828f57b728e81fba18c2ea94c53f89da0d392242577747a7
4
+ data.tar.gz: 728c00b544242b8044dc97ee2e0d5db92f374e59a3f7ce0f8fec55b0bd3750a2
5
5
  SHA512:
6
- metadata.gz: 1e54b4640fee5ccaa6245dcc78651c5cc3c825e9cf308fef20f237ca119b6a5872420006bd55e6ff077a9d955032ea527e567e337d5d8777a3627a01962abd49
7
- data.tar.gz: 4f4f8a37fa49eb4e0b32a011b96a9166d50170cf9a968e774b37e4e6c16de1436ada343a324330cd9384d7613b17b7aa97bcd3602d277f8febe42e9cfb1e1a15
6
+ metadata.gz: 7a4155686cad35537918354ea7b0e3e3c5e297c6193d4b0255cea285203825b8e55fae7c664fec4e42c44d2b2214f344be135b9e80471eea48dc85826e73071b
7
+ data.tar.gz: 1282b0255698ae8e45ab049d14d298cf1ceff60976ba5f9cb3ab08e808943fedce74d7889362930cb478cbc092a874b52fadb52bcb718ee1c584e3230332a302
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.81.0 (2025-02-06)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.80.0 (2025-01-21)
10
+ ------------------
11
+
12
+ * Feature - AWS IoT SiteWise now supports ingestion and querying of Null (all data types) and NaN (double type) values of bad or uncertain data quality. New partial error handling prevents data loss during ingestion. Enabled by default for new customers; existing customers can opt-in.
13
+
4
14
  1.79.0 (2025-01-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.79.0
1
+ 1.81.0
@@ -822,6 +822,7 @@ module Aws::IoTSiteWise
822
822
  # resp.success_entries[0].asset_property_value.value.integer_value #=> Integer
823
823
  # resp.success_entries[0].asset_property_value.value.double_value #=> Float
824
824
  # resp.success_entries[0].asset_property_value.value.boolean_value #=> Boolean
825
+ # resp.success_entries[0].asset_property_value.value.null_value.value_type #=> String, one of "D", "B", "S", "I", "U"
825
826
  # resp.success_entries[0].asset_property_value.timestamp.time_in_seconds #=> Integer
826
827
  # resp.success_entries[0].asset_property_value.timestamp.offset_in_nanos #=> Integer
827
828
  # resp.success_entries[0].asset_property_value.quality #=> String, one of "GOOD", "BAD", "UNCERTAIN"
@@ -904,6 +905,7 @@ module Aws::IoTSiteWise
904
905
  # resp.success_entries[0].asset_property_value_history[0].value.integer_value #=> Integer
905
906
  # resp.success_entries[0].asset_property_value_history[0].value.double_value #=> Float
906
907
  # resp.success_entries[0].asset_property_value_history[0].value.boolean_value #=> Boolean
908
+ # resp.success_entries[0].asset_property_value_history[0].value.null_value.value_type #=> String, one of "D", "B", "S", "I", "U"
907
909
  # resp.success_entries[0].asset_property_value_history[0].timestamp.time_in_seconds #=> Integer
908
910
  # resp.success_entries[0].asset_property_value_history[0].timestamp.offset_in_nanos #=> Integer
909
911
  # resp.success_entries[0].asset_property_value_history[0].quality #=> String, one of "GOOD", "BAD", "UNCERTAIN"
@@ -955,6 +957,12 @@ module Aws::IoTSiteWise
955
957
  # [2]: https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html
956
958
  # [3]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-batchputassetpropertyvalue-action
957
959
  #
960
+ # @option params [Boolean] :enable_partial_entry_processing
961
+ # This setting enables partial ingestion at entry-level. If set to
962
+ # `true`, we ingest all TQVs not resulting in an error. If set to
963
+ # `false`, an invalid TQV fails ingestion of the entire entry that
964
+ # contains it.
965
+ #
958
966
  # @option params [required, Array<Types::PutAssetPropertyValueEntry>] :entries
959
967
  # The list of asset property value entries for the batch put request.
960
968
  # You can specify up to 10 entries per request.
@@ -966,6 +974,7 @@ module Aws::IoTSiteWise
966
974
  # @example Request syntax with placeholder values
967
975
  #
968
976
  # resp = client.batch_put_asset_property_value({
977
+ # enable_partial_entry_processing: false,
969
978
  # entries: [ # required
970
979
  # {
971
980
  # entry_id: "EntryId", # required
@@ -979,6 +988,9 @@ module Aws::IoTSiteWise
979
988
  # integer_value: 1,
980
989
  # double_value: 1.0,
981
990
  # boolean_value: false,
991
+ # null_value: {
992
+ # value_type: "D", # required, accepts D, B, S, I, U
993
+ # },
982
994
  # },
983
995
  # timestamp: { # required
984
996
  # time_in_seconds: 1, # required
@@ -3852,6 +3864,7 @@ module Aws::IoTSiteWise
3852
3864
  # * {Types::DescribeStorageConfigurationResponse#last_update_date #last_update_date} => Time
3853
3865
  # * {Types::DescribeStorageConfigurationResponse#warm_tier #warm_tier} => String
3854
3866
  # * {Types::DescribeStorageConfigurationResponse#warm_tier_retention_period #warm_tier_retention_period} => Types::WarmTierRetentionPeriod
3867
+ # * {Types::DescribeStorageConfigurationResponse#disallow_ingest_null_na_n #disallow_ingest_null_na_n} => Boolean
3855
3868
  #
3856
3869
  # @example Response structure
3857
3870
  #
@@ -3868,6 +3881,7 @@ module Aws::IoTSiteWise
3868
3881
  # resp.warm_tier #=> String, one of "ENABLED", "DISABLED"
3869
3882
  # resp.warm_tier_retention_period.number_of_days #=> Integer
3870
3883
  # resp.warm_tier_retention_period.unlimited #=> Boolean
3884
+ # resp.disallow_ingest_null_na_n #=> Boolean
3871
3885
  #
3872
3886
  # @overload describe_storage_configuration(params = {})
3873
3887
  # @param [Hash] params ({})
@@ -4333,6 +4347,7 @@ module Aws::IoTSiteWise
4333
4347
  # resp.property_value.value.integer_value #=> Integer
4334
4348
  # resp.property_value.value.double_value #=> Float
4335
4349
  # resp.property_value.value.boolean_value #=> Boolean
4350
+ # resp.property_value.value.null_value.value_type #=> String, one of "D", "B", "S", "I", "U"
4336
4351
  # resp.property_value.timestamp.time_in_seconds #=> Integer
4337
4352
  # resp.property_value.timestamp.offset_in_nanos #=> Integer
4338
4353
  # resp.property_value.quality #=> String, one of "GOOD", "BAD", "UNCERTAIN"
@@ -4433,6 +4448,7 @@ module Aws::IoTSiteWise
4433
4448
  # resp.asset_property_value_history[0].value.integer_value #=> Integer
4434
4449
  # resp.asset_property_value_history[0].value.double_value #=> Float
4435
4450
  # resp.asset_property_value_history[0].value.boolean_value #=> Boolean
4451
+ # resp.asset_property_value_history[0].value.null_value.value_type #=> String, one of "D", "B", "S", "I", "U"
4436
4452
  # resp.asset_property_value_history[0].timestamp.time_in_seconds #=> Integer
4437
4453
  # resp.asset_property_value_history[0].timestamp.offset_in_nanos #=> Integer
4438
4454
  # resp.asset_property_value_history[0].quality #=> String, one of "GOOD", "BAD", "UNCERTAIN"
@@ -4606,6 +4622,7 @@ module Aws::IoTSiteWise
4606
4622
  # resp.interpolated_asset_property_values[0].value.integer_value #=> Integer
4607
4623
  # resp.interpolated_asset_property_values[0].value.double_value #=> Float
4608
4624
  # resp.interpolated_asset_property_values[0].value.boolean_value #=> Boolean
4625
+ # resp.interpolated_asset_property_values[0].value.null_value.value_type #=> String, one of "D", "B", "S", "I", "U"
4609
4626
  # resp.next_token #=> String
4610
4627
  #
4611
4628
  # @overload get_interpolated_asset_property_values(params = {})
@@ -6160,6 +6177,11 @@ module Aws::IoTSiteWise
6160
6177
  # tier before it is deleted. You can set this only if cold tier is
6161
6178
  # enabled.
6162
6179
  #
6180
+ # @option params [Boolean] :disallow_ingest_null_na_n
6181
+ # Describes the configuration for ingesting NULL and NaN data. By
6182
+ # default the feature is allowed. The feature is disallowed if the value
6183
+ # is `true`.
6184
+ #
6163
6185
  # @return [Types::PutStorageConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6164
6186
  #
6165
6187
  # * {Types::PutStorageConfigurationResponse#storage_type #storage_type} => String
@@ -6169,6 +6191,7 @@ module Aws::IoTSiteWise
6169
6191
  # * {Types::PutStorageConfigurationResponse#configuration_status #configuration_status} => Types::ConfigurationStatus
6170
6192
  # * {Types::PutStorageConfigurationResponse#warm_tier #warm_tier} => String
6171
6193
  # * {Types::PutStorageConfigurationResponse#warm_tier_retention_period #warm_tier_retention_period} => Types::WarmTierRetentionPeriod
6194
+ # * {Types::PutStorageConfigurationResponse#disallow_ingest_null_na_n #disallow_ingest_null_na_n} => Boolean
6172
6195
  #
6173
6196
  # @example Request syntax with placeholder values
6174
6197
  #
@@ -6190,6 +6213,7 @@ module Aws::IoTSiteWise
6190
6213
  # number_of_days: 1,
6191
6214
  # unlimited: false,
6192
6215
  # },
6216
+ # disallow_ingest_null_na_n: false,
6193
6217
  # })
6194
6218
  #
6195
6219
  # @example Response structure
@@ -6206,6 +6230,7 @@ module Aws::IoTSiteWise
6206
6230
  # resp.warm_tier #=> String, one of "ENABLED", "DISABLED"
6207
6231
  # resp.warm_tier_retention_period.number_of_days #=> Integer
6208
6232
  # resp.warm_tier_retention_period.unlimited #=> Boolean
6233
+ # resp.disallow_ingest_null_na_n #=> Boolean
6209
6234
  #
6210
6235
  # @overload put_storage_configuration(params = {})
6211
6236
  # @param [Hash] params ({})
@@ -7406,7 +7431,7 @@ module Aws::IoTSiteWise
7406
7431
  tracer: tracer
7407
7432
  )
7408
7433
  context[:gem_name] = 'aws-sdk-iotsitewise'
7409
- context[:gem_version] = '1.79.0'
7434
+ context[:gem_version] = '1.81.0'
7410
7435
  Seahorse::Client::Request.new(handlers, context)
7411
7436
  end
7412
7437
 
@@ -148,6 +148,7 @@ module Aws::IoTSiteWise
148
148
  BatchPutAssetPropertyValueErrorCode = Shapes::StringShape.new(name: 'BatchPutAssetPropertyValueErrorCode')
149
149
  BatchPutAssetPropertyValueRequest = Shapes::StructureShape.new(name: 'BatchPutAssetPropertyValueRequest')
150
150
  BatchPutAssetPropertyValueResponse = Shapes::StructureShape.new(name: 'BatchPutAssetPropertyValueResponse')
151
+ BooleanValue = Shapes::BooleanShape.new(name: 'BooleanValue')
151
152
  Bucket = Shapes::StringShape.new(name: 'Bucket')
152
153
  CapabilityConfiguration = Shapes::StringShape.new(name: 'CapabilityConfiguration')
153
154
  CapabilityNamespace = Shapes::StringShape.new(name: 'CapabilityNamespace')
@@ -271,6 +272,7 @@ module Aws::IoTSiteWise
271
272
  DetailedErrorCode = Shapes::StringShape.new(name: 'DetailedErrorCode')
272
273
  DetailedErrorMessage = Shapes::StringShape.new(name: 'DetailedErrorMessage')
273
274
  DetailedErrors = Shapes::ListShape.new(name: 'DetailedErrors')
275
+ DisallowIngestNullNaN = Shapes::BooleanShape.new(name: 'DisallowIngestNullNaN')
274
276
  DisassociateAssetsRequest = Shapes::StructureShape.new(name: 'DisassociateAssetsRequest')
275
277
  DisassociateTimeSeriesFromAssetPropertyRequest = Shapes::StructureShape.new(name: 'DisassociateTimeSeriesFromAssetPropertyRequest')
276
278
  DisassociatedDataStorageState = Shapes::StringShape.new(name: 'DisassociatedDataStorageState')
@@ -445,6 +447,7 @@ module Aws::IoTSiteWise
445
447
  PropertyValueBooleanValue = Shapes::BooleanShape.new(name: 'PropertyValueBooleanValue')
446
448
  PropertyValueDoubleValue = Shapes::FloatShape.new(name: 'PropertyValueDoubleValue')
447
449
  PropertyValueIntegerValue = Shapes::IntegerShape.new(name: 'PropertyValueIntegerValue')
450
+ PropertyValueNullValue = Shapes::StructureShape.new(name: 'PropertyValueNullValue')
448
451
  PropertyValueStringValue = Shapes::StringShape.new(name: 'PropertyValueStringValue')
449
452
  PutAssetPropertyValueEntries = Shapes::ListShape.new(name: 'PutAssetPropertyValueEntries')
450
453
  PutAssetPropertyValueEntry = Shapes::StructureShape.new(name: 'PutAssetPropertyValueEntry')
@@ -458,6 +461,7 @@ module Aws::IoTSiteWise
458
461
  Quality = Shapes::StringShape.new(name: 'Quality')
459
462
  QueryStatement = Shapes::StringShape.new(name: 'QueryStatement')
460
463
  QueryTimeoutException = Shapes::StructureShape.new(name: 'QueryTimeoutException')
464
+ RawValueType = Shapes::StringShape.new(name: 'RawValueType')
461
465
  Reference = Shapes::StructureShape.new(name: 'Reference')
462
466
  Resolution = Shapes::StringShape.new(name: 'Resolution')
463
467
  Resource = Shapes::StructureShape.new(name: 'Resource')
@@ -1010,6 +1014,7 @@ module Aws::IoTSiteWise
1010
1014
 
1011
1015
  BatchPutAssetPropertyErrors.member = Shapes::ShapeRef.new(shape: BatchPutAssetPropertyError)
1012
1016
 
1017
+ BatchPutAssetPropertyValueRequest.add_member(:enable_partial_entry_processing, Shapes::ShapeRef.new(shape: BooleanValue, location_name: "enablePartialEntryProcessing"))
1013
1018
  BatchPutAssetPropertyValueRequest.add_member(:entries, Shapes::ShapeRef.new(shape: PutAssetPropertyValueEntries, required: true, location_name: "entries"))
1014
1019
  BatchPutAssetPropertyValueRequest.struct_class = Types::BatchPutAssetPropertyValueRequest
1015
1020
 
@@ -1560,6 +1565,7 @@ module Aws::IoTSiteWise
1560
1565
  DescribeStorageConfigurationResponse.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateDate"))
1561
1566
  DescribeStorageConfigurationResponse.add_member(:warm_tier, Shapes::ShapeRef.new(shape: WarmTierState, location_name: "warmTier"))
1562
1567
  DescribeStorageConfigurationResponse.add_member(:warm_tier_retention_period, Shapes::ShapeRef.new(shape: WarmTierRetentionPeriod, location_name: "warmTierRetentionPeriod"))
1568
+ DescribeStorageConfigurationResponse.add_member(:disallow_ingest_null_na_n, Shapes::ShapeRef.new(shape: DisallowIngestNullNaN, location_name: "disallowIngestNullNaN"))
1563
1569
  DescribeStorageConfigurationResponse.struct_class = Types::DescribeStorageConfigurationResponse
1564
1570
 
1565
1571
  DescribeTimeSeriesRequest.add_member(:alias, Shapes::ShapeRef.new(shape: PropertyAlias, location: "querystring", location_name: "alias"))
@@ -2087,6 +2093,9 @@ module Aws::IoTSiteWise
2087
2093
  PropertyType.add_member(:metric, Shapes::ShapeRef.new(shape: Metric, location_name: "metric"))
2088
2094
  PropertyType.struct_class = Types::PropertyType
2089
2095
 
2096
+ PropertyValueNullValue.add_member(:value_type, Shapes::ShapeRef.new(shape: RawValueType, required: true, location_name: "valueType"))
2097
+ PropertyValueNullValue.struct_class = Types::PropertyValueNullValue
2098
+
2090
2099
  PutAssetPropertyValueEntries.member = Shapes::ShapeRef.new(shape: PutAssetPropertyValueEntry)
2091
2100
 
2092
2101
  PutAssetPropertyValueEntry.add_member(:entry_id, Shapes::ShapeRef.new(shape: EntryId, required: true, location_name: "entryId"))
@@ -2116,6 +2125,7 @@ module Aws::IoTSiteWise
2116
2125
  PutStorageConfigurationRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
2117
2126
  PutStorageConfigurationRequest.add_member(:warm_tier, Shapes::ShapeRef.new(shape: WarmTierState, location_name: "warmTier"))
2118
2127
  PutStorageConfigurationRequest.add_member(:warm_tier_retention_period, Shapes::ShapeRef.new(shape: WarmTierRetentionPeriod, location_name: "warmTierRetentionPeriod"))
2128
+ PutStorageConfigurationRequest.add_member(:disallow_ingest_null_na_n, Shapes::ShapeRef.new(shape: DisallowIngestNullNaN, location_name: "disallowIngestNullNaN"))
2119
2129
  PutStorageConfigurationRequest.struct_class = Types::PutStorageConfigurationRequest
2120
2130
 
2121
2131
  PutStorageConfigurationResponse.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, required: true, location_name: "storageType"))
@@ -2125,6 +2135,7 @@ module Aws::IoTSiteWise
2125
2135
  PutStorageConfigurationResponse.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
2126
2136
  PutStorageConfigurationResponse.add_member(:warm_tier, Shapes::ShapeRef.new(shape: WarmTierState, location_name: "warmTier"))
2127
2137
  PutStorageConfigurationResponse.add_member(:warm_tier_retention_period, Shapes::ShapeRef.new(shape: WarmTierRetentionPeriod, location_name: "warmTierRetentionPeriod"))
2138
+ PutStorageConfigurationResponse.add_member(:disallow_ingest_null_na_n, Shapes::ShapeRef.new(shape: DisallowIngestNullNaN, location_name: "disallowIngestNullNaN"))
2128
2139
  PutStorageConfigurationResponse.struct_class = Types::PutStorageConfigurationResponse
2129
2140
 
2130
2141
  Qualities.member = Shapes::ShapeRef.new(shape: Quality)
@@ -2377,6 +2388,7 @@ module Aws::IoTSiteWise
2377
2388
  Variant.add_member(:integer_value, Shapes::ShapeRef.new(shape: PropertyValueIntegerValue, location_name: "integerValue"))
2378
2389
  Variant.add_member(:double_value, Shapes::ShapeRef.new(shape: PropertyValueDoubleValue, location_name: "doubleValue"))
2379
2390
  Variant.add_member(:boolean_value, Shapes::ShapeRef.new(shape: PropertyValueBooleanValue, location_name: "booleanValue"))
2391
+ Variant.add_member(:null_value, Shapes::ShapeRef.new(shape: PropertyValueNullValue, location_name: "nullValue"))
2380
2392
  Variant.struct_class = Types::Variant
2381
2393
 
2382
2394
  WarmTierRetentionPeriod.add_member(:number_of_days, Shapes::ShapeRef.new(shape: NumberOfDays, location_name: "numberOfDays"))
@@ -10,40 +10,36 @@
10
10
  module Aws::IoTSiteWise
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- region = parameters.region
14
- use_dual_stack = parameters.use_dual_stack
15
- use_fips = parameters.use_fips
16
- endpoint = parameters.endpoint
17
- if Aws::Endpoints::Matchers.set?(endpoint)
18
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
19
15
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
16
  end
21
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
17
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
22
18
  raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
19
  end
24
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
20
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
25
21
  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)
22
+ if Aws::Endpoints::Matchers.set?(parameters.region)
23
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
29
25
  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://iotsitewise-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
+ return Aws::Endpoints::Endpoint.new(url: "https://iotsitewise-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
27
  end
32
28
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
29
  end
34
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
30
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
35
31
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
- return Aws::Endpoints::Endpoint.new(url: "https://iotsitewise-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
32
+ return Aws::Endpoints::Endpoint.new(url: "https://iotsitewise-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
33
  end
38
34
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
35
  end
40
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
36
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
41
37
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
- return Aws::Endpoints::Endpoint.new(url: "https://iotsitewise.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
38
+ return Aws::Endpoints::Endpoint.new(url: "https://iotsitewise.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
39
  end
44
40
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
41
  end
46
- return Aws::Endpoints::Endpoint.new(url: "https://iotsitewise.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
42
+ return Aws::Endpoints::Endpoint.new(url: "https://iotsitewise.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
43
  end
48
44
  end
49
45
  raise ArgumentError, "Invalid Configuration: Missing Region"
@@ -2290,12 +2290,20 @@ module Aws::IoTSiteWise
2290
2290
  include Aws::Structure
2291
2291
  end
2292
2292
 
2293
+ # @!attribute [rw] enable_partial_entry_processing
2294
+ # This setting enables partial ingestion at entry-level. If set to
2295
+ # `true`, we ingest all TQVs not resulting in an error. If set to
2296
+ # `false`, an invalid TQV fails ingestion of the entire entry that
2297
+ # contains it.
2298
+ # @return [Boolean]
2299
+ #
2293
2300
  # @!attribute [rw] entries
2294
2301
  # The list of asset property value entries for the batch put request.
2295
2302
  # You can specify up to 10 entries per request.
2296
2303
  # @return [Array<Types::PutAssetPropertyValueEntry>]
2297
2304
  #
2298
2305
  class BatchPutAssetPropertyValueRequest < Struct.new(
2306
+ :enable_partial_entry_processing,
2299
2307
  :entries)
2300
2308
  SENSITIVE = []
2301
2309
  include Aws::Structure
@@ -5348,6 +5356,12 @@ module Aws::IoTSiteWise
5348
5356
  # enabled.
5349
5357
  # @return [Types::WarmTierRetentionPeriod]
5350
5358
  #
5359
+ # @!attribute [rw] disallow_ingest_null_na_n
5360
+ # Describes the configuration for ingesting NULL and NaN data. By
5361
+ # default the feature is allowed. The feature is disallowed if the
5362
+ # value is `true`.
5363
+ # @return [Boolean]
5364
+ #
5351
5365
  class DescribeStorageConfigurationResponse < Struct.new(
5352
5366
  :storage_type,
5353
5367
  :multi_layer_storage,
@@ -5356,7 +5370,8 @@ module Aws::IoTSiteWise
5356
5370
  :configuration_status,
5357
5371
  :last_update_date,
5358
5372
  :warm_tier,
5359
- :warm_tier_retention_period)
5373
+ :warm_tier_retention_period,
5374
+ :disallow_ingest_null_na_n)
5360
5375
  SENSITIVE = []
5361
5376
  include Aws::Structure
5362
5377
  end
@@ -8105,6 +8120,19 @@ module Aws::IoTSiteWise
8105
8120
  include Aws::Structure
8106
8121
  end
8107
8122
 
8123
+ # The value type of null asset property data with BAD and UNCERTAIN
8124
+ # qualities.
8125
+ #
8126
+ # @!attribute [rw] value_type
8127
+ # The type of null asset property data.
8128
+ # @return [String]
8129
+ #
8130
+ class PropertyValueNullValue < Struct.new(
8131
+ :value_type)
8132
+ SENSITIVE = []
8133
+ include Aws::Structure
8134
+ end
8135
+
8108
8136
  # Contains a list of value updates for an asset property in the list of
8109
8137
  # asset entries consumed by the [BatchPutAssetPropertyValue][1] API
8110
8138
  # operation.
@@ -8261,13 +8289,20 @@ module Aws::IoTSiteWise
8261
8289
  # enabled.
8262
8290
  # @return [Types::WarmTierRetentionPeriod]
8263
8291
  #
8292
+ # @!attribute [rw] disallow_ingest_null_na_n
8293
+ # Describes the configuration for ingesting NULL and NaN data. By
8294
+ # default the feature is allowed. The feature is disallowed if the
8295
+ # value is `true`.
8296
+ # @return [Boolean]
8297
+ #
8264
8298
  class PutStorageConfigurationRequest < Struct.new(
8265
8299
  :storage_type,
8266
8300
  :multi_layer_storage,
8267
8301
  :disassociated_data_storage,
8268
8302
  :retention_period,
8269
8303
  :warm_tier,
8270
- :warm_tier_retention_period)
8304
+ :warm_tier_retention_period,
8305
+ :disallow_ingest_null_na_n)
8271
8306
  SENSITIVE = []
8272
8307
  include Aws::Structure
8273
8308
  end
@@ -8331,6 +8366,12 @@ module Aws::IoTSiteWise
8331
8366
  # enabled.
8332
8367
  # @return [Types::WarmTierRetentionPeriod]
8333
8368
  #
8369
+ # @!attribute [rw] disallow_ingest_null_na_n
8370
+ # Describes the configuration for ingesting NULL and NaN data. By
8371
+ # default the feature is allowed. The feature is disallowed if the
8372
+ # value is `true`.
8373
+ # @return [Boolean]
8374
+ #
8334
8375
  class PutStorageConfigurationResponse < Struct.new(
8335
8376
  :storage_type,
8336
8377
  :multi_layer_storage,
@@ -8338,7 +8379,8 @@ module Aws::IoTSiteWise
8338
8379
  :retention_period,
8339
8380
  :configuration_status,
8340
8381
  :warm_tier,
8341
- :warm_tier_retention_period)
8382
+ :warm_tier_retention_period,
8383
+ :disallow_ingest_null_na_n)
8342
8384
  SENSITIVE = []
8343
8385
  include Aws::Structure
8344
8386
  end
@@ -9700,7 +9742,9 @@ module Aws::IoTSiteWise
9700
9742
  # Contains an asset property value (of a single type only).
9701
9743
  #
9702
9744
  # @!attribute [rw] string_value
9703
- # Asset property data of type string (sequence of characters).
9745
+ # Asset property data of type string (sequence of characters). The
9746
+ # allowed pattern: "^$\|\[^\\u0000-\\u001F\\u007F\]+". The max
9747
+ # length is 1024.
9704
9748
  # @return [String]
9705
9749
  #
9706
9750
  # @!attribute [rw] integer_value
@@ -9708,18 +9752,25 @@ module Aws::IoTSiteWise
9708
9752
  # @return [Integer]
9709
9753
  #
9710
9754
  # @!attribute [rw] double_value
9711
- # Asset property data of type double (floating point number).
9755
+ # Asset property data of type double (floating point number). The min
9756
+ # value is -10^10. The max value is 10^10. Double.NaN is allowed.
9712
9757
  # @return [Float]
9713
9758
  #
9714
9759
  # @!attribute [rw] boolean_value
9715
9760
  # Asset property data of type Boolean (true or false).
9716
9761
  # @return [Boolean]
9717
9762
  #
9763
+ # @!attribute [rw] null_value
9764
+ # The type of null asset property data with BAD and UNCERTAIN
9765
+ # qualities.
9766
+ # @return [Types::PropertyValueNullValue]
9767
+ #
9718
9768
  class Variant < Struct.new(
9719
9769
  :string_value,
9720
9770
  :integer_value,
9721
9771
  :double_value,
9722
- :boolean_value)
9772
+ :boolean_value,
9773
+ :null_value)
9723
9774
  SENSITIVE = []
9724
9775
  include Aws::Structure
9725
9776
  end
@@ -56,7 +56,7 @@ module Aws::IoTSiteWise
56
56
  autoload :Endpoints, 'aws-sdk-iotsitewise/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-iotsitewise/event_streams'
58
58
 
59
- GEM_VERSION = '1.79.0'
59
+ GEM_VERSION = '1.81.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -203,6 +203,7 @@ module Aws
203
203
  end
204
204
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#batch_put_asset_property_value-instance_method
205
205
  def batch_put_asset_property_value: (
206
+ ?enable_partial_entry_processing: bool,
206
207
  entries: Array[
207
208
  {
208
209
  entry_id: ::String,
@@ -215,7 +216,10 @@ module Aws
215
216
  string_value: ::String?,
216
217
  integer_value: ::Integer?,
217
218
  double_value: ::Float?,
218
- boolean_value: bool?
219
+ boolean_value: bool?,
220
+ null_value: {
221
+ value_type: ("D" | "B" | "S" | "I" | "U")
222
+ }?
219
223
  },
220
224
  timestamp: {
221
225
  time_in_seconds: ::Integer,
@@ -1108,6 +1112,7 @@ module Aws
1108
1112
  def last_update_date: () -> ::Time
1109
1113
  def warm_tier: () -> ("ENABLED" | "DISABLED")
1110
1114
  def warm_tier_retention_period: () -> Types::WarmTierRetentionPeriod
1115
+ def disallow_ingest_null_na_n: () -> bool
1111
1116
  end
1112
1117
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_storage_configuration-instance_method
1113
1118
  def describe_storage_configuration: (
@@ -1563,6 +1568,7 @@ module Aws
1563
1568
  def configuration_status: () -> Types::ConfigurationStatus
1564
1569
  def warm_tier: () -> ("ENABLED" | "DISABLED")
1565
1570
  def warm_tier_retention_period: () -> Types::WarmTierRetentionPeriod
1571
+ def disallow_ingest_null_na_n: () -> bool
1566
1572
  end
1567
1573
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#put_storage_configuration-instance_method
1568
1574
  def put_storage_configuration: (
@@ -1582,7 +1588,8 @@ module Aws
1582
1588
  ?warm_tier_retention_period: {
1583
1589
  number_of_days: ::Integer?,
1584
1590
  unlimited: bool?
1585
- }
1591
+ },
1592
+ ?disallow_ingest_null_na_n: bool
1586
1593
  ) -> _PutStorageConfigurationResponseSuccess
1587
1594
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutStorageConfigurationResponseSuccess
1588
1595
 
data/sig/types.rbs CHANGED
@@ -518,6 +518,7 @@ module Aws::IoTSiteWise
518
518
  end
519
519
 
520
520
  class BatchPutAssetPropertyValueRequest
521
+ attr_accessor enable_partial_entry_processing: bool
521
522
  attr_accessor entries: ::Array[Types::PutAssetPropertyValueEntry]
522
523
  SENSITIVE: []
523
524
  end
@@ -1231,6 +1232,7 @@ module Aws::IoTSiteWise
1231
1232
  attr_accessor last_update_date: ::Time
1232
1233
  attr_accessor warm_tier: ("ENABLED" | "DISABLED")
1233
1234
  attr_accessor warm_tier_retention_period: Types::WarmTierRetentionPeriod
1235
+ attr_accessor disallow_ingest_null_na_n: bool
1234
1236
  SENSITIVE: []
1235
1237
  end
1236
1238
 
@@ -1939,6 +1941,11 @@ module Aws::IoTSiteWise
1939
1941
  SENSITIVE: []
1940
1942
  end
1941
1943
 
1944
+ class PropertyValueNullValue
1945
+ attr_accessor value_type: ("D" | "B" | "S" | "I" | "U")
1946
+ SENSITIVE: []
1947
+ end
1948
+
1942
1949
  class PutAssetPropertyValueEntry
1943
1950
  attr_accessor entry_id: ::String
1944
1951
  attr_accessor asset_id: ::String
@@ -1976,6 +1983,7 @@ module Aws::IoTSiteWise
1976
1983
  attr_accessor retention_period: Types::RetentionPeriod
1977
1984
  attr_accessor warm_tier: ("ENABLED" | "DISABLED")
1978
1985
  attr_accessor warm_tier_retention_period: Types::WarmTierRetentionPeriod
1986
+ attr_accessor disallow_ingest_null_na_n: bool
1979
1987
  SENSITIVE: []
1980
1988
  end
1981
1989
 
@@ -1987,6 +1995,7 @@ module Aws::IoTSiteWise
1987
1995
  attr_accessor configuration_status: Types::ConfigurationStatus
1988
1996
  attr_accessor warm_tier: ("ENABLED" | "DISABLED")
1989
1997
  attr_accessor warm_tier_retention_period: Types::WarmTierRetentionPeriod
1998
+ attr_accessor disallow_ingest_null_na_n: bool
1990
1999
  SENSITIVE: []
1991
2000
  end
1992
2001
 
@@ -2311,6 +2320,7 @@ module Aws::IoTSiteWise
2311
2320
  attr_accessor integer_value: ::Integer
2312
2321
  attr_accessor double_value: ::Float
2313
2322
  attr_accessor boolean_value: bool
2323
+ attr_accessor null_value: Types::PropertyValueNullValue
2314
2324
  SENSITIVE: []
2315
2325
  end
2316
2326
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iotsitewise
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.79.0
4
+ version: 1.81.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: 2025-01-15 00:00:00.000000000 Z
11
+ date: 2025-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core