aws-sdk-iotsitewise 1.48.0 → 1.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotsitewise/client.rb +5 -2
- data/lib/aws-sdk-iotsitewise/client_api.rb +2 -0
- data/lib/aws-sdk-iotsitewise/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-iotsitewise/types.rb +25 -3
- data/lib/aws-sdk-iotsitewise.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3f6f8c18df43c6ebdee5d50b953629e02e4efa7dce186d76594b8ebe8e38505
|
4
|
+
data.tar.gz: 440fcd78f56449ae5b57579ab69ecd99bfd0c3c33f0aaa44aa1845d9f7169b40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 263c224059900077bfc8de1a27a835f41cd50265913f1394fae205666f126f69e785a9b98a8cce95567aa0086e9b77db34d1f6ba11195e4474a0cabb03d74c63
|
7
|
+
data.tar.gz: 5aae619f5c074d209b483caa05de61424be7abddbf6cef6d58f1386f66cb825abeba7d35981988fac990e6ccbfe58ac6801ed08fc32517806015a336e8ce6df8
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
@@ -636,7 +636,7 @@ module Aws::IoTSiteWise
|
|
636
636
|
#
|
637
637
|
# @option params [required, Array<Types::BatchGetAssetPropertyValueEntry>] :entries
|
638
638
|
# The list of asset property value entries for the batch get request.
|
639
|
-
# You can specify up to
|
639
|
+
# You can specify up to 128 entries per request.
|
640
640
|
#
|
641
641
|
# @option params [String] :next_token
|
642
642
|
# The token to be used for the next set of paginated results.
|
@@ -2698,6 +2698,7 @@ module Aws::IoTSiteWise
|
|
2698
2698
|
# * {Types::DescribeTimeSeriesResponse#data_type_spec #data_type_spec} => String
|
2699
2699
|
# * {Types::DescribeTimeSeriesResponse#time_series_creation_date #time_series_creation_date} => Time
|
2700
2700
|
# * {Types::DescribeTimeSeriesResponse#time_series_last_update_date #time_series_last_update_date} => Time
|
2701
|
+
# * {Types::DescribeTimeSeriesResponse#time_series_arn #time_series_arn} => String
|
2701
2702
|
#
|
2702
2703
|
# @example Request syntax with placeholder values
|
2703
2704
|
#
|
@@ -2717,6 +2718,7 @@ module Aws::IoTSiteWise
|
|
2717
2718
|
# resp.data_type_spec #=> String
|
2718
2719
|
# resp.time_series_creation_date #=> Time
|
2719
2720
|
# resp.time_series_last_update_date #=> Time
|
2721
|
+
# resp.time_series_arn #=> String
|
2720
2722
|
#
|
2721
2723
|
# @overload describe_time_series(params = {})
|
2722
2724
|
# @param [Hash] params ({})
|
@@ -4094,6 +4096,7 @@ module Aws::IoTSiteWise
|
|
4094
4096
|
# resp.time_series_summaries[0].data_type_spec #=> String
|
4095
4097
|
# resp.time_series_summaries[0].time_series_creation_date #=> Time
|
4096
4098
|
# resp.time_series_summaries[0].time_series_last_update_date #=> Time
|
4099
|
+
# resp.time_series_summaries[0].time_series_arn #=> String
|
4097
4100
|
# resp.next_token #=> String
|
4098
4101
|
#
|
4099
4102
|
# @overload list_time_series(params = {})
|
@@ -5026,7 +5029,7 @@ module Aws::IoTSiteWise
|
|
5026
5029
|
params: params,
|
5027
5030
|
config: config)
|
5028
5031
|
context[:gem_name] = 'aws-sdk-iotsitewise'
|
5029
|
-
context[:gem_version] = '1.
|
5032
|
+
context[:gem_version] = '1.49.0'
|
5030
5033
|
Seahorse::Client::Request.new(handlers, context)
|
5031
5034
|
end
|
5032
5035
|
|
@@ -1160,6 +1160,7 @@ module Aws::IoTSiteWise
|
|
1160
1160
|
DescribeTimeSeriesResponse.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
|
1161
1161
|
DescribeTimeSeriesResponse.add_member(:time_series_creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timeSeriesCreationDate"))
|
1162
1162
|
DescribeTimeSeriesResponse.add_member(:time_series_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timeSeriesLastUpdateDate"))
|
1163
|
+
DescribeTimeSeriesResponse.add_member(:time_series_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "timeSeriesArn"))
|
1163
1164
|
DescribeTimeSeriesResponse.struct_class = Types::DescribeTimeSeriesResponse
|
1164
1165
|
|
1165
1166
|
DetailedError.add_member(:code, Shapes::ShapeRef.new(shape: DetailedErrorCode, required: true, location_name: "code"))
|
@@ -1651,6 +1652,7 @@ module Aws::IoTSiteWise
|
|
1651
1652
|
TimeSeriesSummary.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
|
1652
1653
|
TimeSeriesSummary.add_member(:time_series_creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timeSeriesCreationDate"))
|
1653
1654
|
TimeSeriesSummary.add_member(:time_series_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timeSeriesLastUpdateDate"))
|
1655
|
+
TimeSeriesSummary.add_member(:time_series_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "timeSeriesArn"))
|
1654
1656
|
TimeSeriesSummary.struct_class = Types::TimeSeriesSummary
|
1655
1657
|
|
1656
1658
|
Timestamps.member = Shapes::ShapeRef.new(shape: TimeInNanos)
|
@@ -14,36 +14,39 @@ module Aws::IoTSiteWise
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(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://iotsitewise-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
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iotsitewise-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
|
-
|
41
|
-
|
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://iotsitewise-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://iotsitewise-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://iotsitewise.#{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
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iotsitewise.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iotsitewise.#{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
|
@@ -1590,7 +1590,7 @@ module Aws::IoTSiteWise
|
|
1590
1590
|
|
1591
1591
|
# @!attribute [rw] entries
|
1592
1592
|
# The list of asset property value entries for the batch get request.
|
1593
|
-
# You can specify up to
|
1593
|
+
# You can specify up to 128 entries per request.
|
1594
1594
|
# @return [Array<Types::BatchGetAssetPropertyValueEntry>]
|
1595
1595
|
#
|
1596
1596
|
# @!attribute [rw] next_token
|
@@ -3654,6 +3654,16 @@ module Aws::IoTSiteWise
|
|
3654
3654
|
# The date that the time series was last updated, in Unix epoch time.
|
3655
3655
|
# @return [Time]
|
3656
3656
|
#
|
3657
|
+
# @!attribute [rw] time_series_arn
|
3658
|
+
# The [ARN][1] of the time series, which has the following format.
|
3659
|
+
#
|
3660
|
+
# `arn:$\{Partition\}:iotsitewise:$\{Region\}:$\{Account\}:time-series/$\{TimeSeriesId\}`
|
3661
|
+
#
|
3662
|
+
#
|
3663
|
+
#
|
3664
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3665
|
+
# @return [String]
|
3666
|
+
#
|
3657
3667
|
class DescribeTimeSeriesResponse < Struct.new(
|
3658
3668
|
:asset_id,
|
3659
3669
|
:property_id,
|
@@ -3662,7 +3672,8 @@ module Aws::IoTSiteWise
|
|
3662
3672
|
:data_type,
|
3663
3673
|
:data_type_spec,
|
3664
3674
|
:time_series_creation_date,
|
3665
|
-
:time_series_last_update_date
|
3675
|
+
:time_series_last_update_date,
|
3676
|
+
:time_series_arn)
|
3666
3677
|
SENSITIVE = []
|
3667
3678
|
include Aws::Structure
|
3668
3679
|
end
|
@@ -6142,6 +6153,16 @@ module Aws::IoTSiteWise
|
|
6142
6153
|
# The date that the time series was last updated, in Unix epoch time.
|
6143
6154
|
# @return [Time]
|
6144
6155
|
#
|
6156
|
+
# @!attribute [rw] time_series_arn
|
6157
|
+
# The [ARN][1] of the time series, which has the following format.
|
6158
|
+
#
|
6159
|
+
# `arn:$\{Partition\}:iotsitewise:$\{Region\}:$\{Account\}:time-series/$\{TimeSeriesId\}`
|
6160
|
+
#
|
6161
|
+
#
|
6162
|
+
#
|
6163
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
6164
|
+
# @return [String]
|
6165
|
+
#
|
6145
6166
|
class TimeSeriesSummary < Struct.new(
|
6146
6167
|
:asset_id,
|
6147
6168
|
:property_id,
|
@@ -6150,7 +6171,8 @@ module Aws::IoTSiteWise
|
|
6150
6171
|
:data_type,
|
6151
6172
|
:data_type_spec,
|
6152
6173
|
:time_series_creation_date,
|
6153
|
-
:time_series_last_update_date
|
6174
|
+
:time_series_last_update_date,
|
6175
|
+
:time_series_arn)
|
6154
6176
|
SENSITIVE = []
|
6155
6177
|
include Aws::Structure
|
6156
6178
|
end
|
data/lib/aws-sdk-iotsitewise.rb
CHANGED
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.
|
4
|
+
version: 1.49.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-
|
11
|
+
date: 2023-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|