aws-sdk-iotsitewise 1.47.0 → 1.49.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: ae4de685b01181c1653efa1013dc02f9159dc46f4f4ee8fc40021b98e7801fcf
4
- data.tar.gz: d8cd34460d21abd5142777823c68f88d3e46d4691c521f86133d012f3a4c1819
3
+ metadata.gz: c3f6f8c18df43c6ebdee5d50b953629e02e4efa7dce186d76594b8ebe8e38505
4
+ data.tar.gz: 440fcd78f56449ae5b57579ab69ecd99bfd0c3c33f0aaa44aa1845d9f7169b40
5
5
  SHA512:
6
- metadata.gz: 18849c0f7747d57eca6aac61293fe698c7360b7272cdda6add054e9435cccbe1655927289669fcf5d625b75f5858f4ce5bd1ba84f47a331356aa7592e5721d22
7
- data.tar.gz: 2829b7eb9aedf931aeb55b70652f85bd2acdf0ff18929bd9f2a874088702bda0f39477ed62ea9053c2a0b0136c92ac14a28bb22fa9447fc1c06e5b4b8bb81052
6
+ metadata.gz: 263c224059900077bfc8de1a27a835f41cd50265913f1394fae205666f126f69e785a9b98a8cce95567aa0086e9b77db34d1f6ba11195e4474a0cabb03d74c63
7
+ data.tar.gz: 5aae619f5c074d209b483caa05de61424be7abddbf6cef6d58f1386f66cb825abeba7d35981988fac990e6ccbfe58ac6801ed08fc32517806015a336e8ce6df8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.49.0 (2023-03-21)
5
+ ------------------
6
+
7
+ * Feature - Provide support for tagging of data streams and enabling tag based authorization for property alias
8
+
9
+ 1.48.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.47.0 (2022-11-02)
5
17
  ------------------
6
18
 
@@ -245,4 +257,4 @@ Unreleased Changes
245
257
  1.0.0 (2020-04-29)
246
258
  ------------------
247
259
 
248
- * Feature - Initial release of `aws-sdk-iotsitewise`.
260
+ * Feature - Initial release of `aws-sdk-iotsitewise`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.47.0
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 16 entries per request.
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.47.0'
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)
@@ -9,104 +9,46 @@
9
9
 
10
10
  module Aws::IoTSiteWise
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
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)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
25
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- 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"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://iotsitewise.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
+ end
48
+ end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
+ raise ArgumentError, 'No endpoint could be resolved'
24
51
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
52
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gS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RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsi
105
- Y29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vaW90
106
- c2l0ZXdpc2Uue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9
107
- IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBv
108
- aW50In1dfV19
109
-
110
- JSON
111
53
  end
112
54
  end