aws-sdk-iotdataplane 1.41.0 → 1.42.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: 8d095bdd873c26177dc089f816f0b5517ada0daa223ebbe0025da406749c2616
4
- data.tar.gz: af36a813f82e02857c329975f364f5f413bbe1442a150aaa61c80a9e60680706
3
+ metadata.gz: f6e641cc03de331d6f4db527042e0da2c29fa40eee837e90c6dc11a65f43ac65
4
+ data.tar.gz: 8b4c09de754af3375f9d8ccb9155325d90d4ecd32f5ff3295b2f85cc66cd207b
5
5
  SHA512:
6
- metadata.gz: 817e5a65a853f48878639a50ec4a84cc8018173d40a8263c4b0f590542291d1c8d89d46d8609eb2445787359457beb38ff78777287db91e76a57a06150a3ffb7
7
- data.tar.gz: 93dd2836ad9804cc883f8c351032d837410282d70a068c5db703040e6eab5136b11b8c8b91d1f57a62b2b19d2c9340bac96903d3d0e8cc9da1709610a6ab908b
6
+ metadata.gz: 2b332036f399a1531748387fff5024f03fce50edd88d8e43543b13d4b9a06799d8d2a00472c14c99de1347273e8afffe53f4cafb6496589b16bfbad40958ac46
7
+ data.tar.gz: 356856fa29ef1100676345101954da8281e58342ee9c0709d74ad95c1ab1c9aeafc8d835cbdaf9bea1b6a332a408e9d9c119cc73e91b7583eb44a773cb6edd92
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.42.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.41.0 (2022-11-28)
5
12
  ------------------
6
13
 
@@ -270,4 +277,4 @@ Unreleased Changes
270
277
  1.0.0.rc1 (2016-12-05)
271
278
  ------------------
272
279
 
273
- * Feature - Initial preview release of the `aws-sdk-iotdataplane` gem.
280
+ * Feature - Initial preview release of the `aws-sdk-iotdataplane` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.41.0
1
+ 1.42.0
@@ -768,7 +768,7 @@ module Aws::IoTDataPlane
768
768
  params: params,
769
769
  config: config)
770
770
  context[:gem_name] = 'aws-sdk-iotdataplane'
771
- context[:gem_version] = '1.41.0'
771
+ context[:gem_version] = '1.42.0'
772
772
  Seahorse::Client::Request.new(handlers, context)
773
773
  end
774
774
 
@@ -9,134 +9,64 @@
9
9
 
10
10
  module Aws::IoTDataPlane
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 (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
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://data-ats.iot-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
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-east-1")
36
+ return Aws::Endpoints::Endpoint.new(url: "https://data.iot-fips.us-east-1.amazonaws.com", headers: {}, properties: {})
37
+ end
38
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-east-2")
39
+ return Aws::Endpoints::Endpoint.new(url: "https://data.iot-fips.us-east-2.amazonaws.com", headers: {}, properties: {})
40
+ end
41
+ if Aws::Endpoints::Matchers.string_equals?(region, "ca-central-1")
42
+ return Aws::Endpoints::Endpoint.new(url: "https://data.iot-fips.ca-central-1.amazonaws.com", headers: {}, properties: {})
43
+ end
44
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-west-1")
45
+ return Aws::Endpoints::Endpoint.new(url: "https://data.iot-fips.us-west-1.amazonaws.com", headers: {}, properties: {})
46
+ end
47
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-west-2")
48
+ return Aws::Endpoints::Endpoint.new(url: "https://data.iot-fips.us-west-2.amazonaws.com", headers: {}, properties: {})
49
+ end
50
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
51
+ return Aws::Endpoints::Endpoint.new(url: "https://data.iot-fips.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
52
+ end
53
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
54
+ return Aws::Endpoints::Endpoint.new(url: "https://data.iot-fips.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
55
+ end
56
+ return Aws::Endpoints::Endpoint.new(url: "https://data-ats.iot-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
57
+ end
58
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
59
+ end
60
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
61
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
62
+ return Aws::Endpoints::Endpoint.new(url: "https://data-ats.iot.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
63
+ end
64
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
65
+ end
66
+ return Aws::Endpoints::Endpoint.new(url: "https://data-ats.iot.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
67
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
68
+ raise ArgumentError, 'No endpoint could be resolved'
24
69
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
70
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9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9pbnQi
105
- fSx7ImNvbmRpdGlvbnMiOlt7ImZuIjoic3RyaW5nRXF1YWxzIiwiYXJndiI6
106
- W3sicmVmIjoiUmVnaW9uIn0sInVzLXdlc3QtMiJdfV0sImVuZHBvaW50Ijp7
107
- InVybCI6Imh0dHBzOi8vZGF0YS5pb3QtZmlwcy51cy13ZXN0LTIuYW1hem9u
108
- YXdzLmNvbSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUi
109
- OiJlbmRwb2ludCJ9LHsiY29uZGl0aW9ucyI6W3siZm4iOiJzdHJpbmdFcXVh
110
- bHMiLCJhcmd2IjpbeyJyZWYiOiJSZWdpb24ifSwidXMtZ292LXdlc3QtMSJd
111
- fV0sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vZGF0YS5pb3QtZmlwcy51
112
- cy1nb3Ytd2VzdC0xLmFtYXpvbmF3cy5jb20iLCJwcm9wZXJ0aWVzIjp7fSwi
113
- aGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifSx7ImNvbmRpdGlvbnMi
114
- Olt7ImZuIjoic3RyaW5nRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiUmVnaW9u
115
- In0sInVzLWdvdi1lYXN0LTEiXX1dLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRw
116
- czovL2RhdGEuaW90LWZpcHMudXMtZ292LWVhc3QtMS5hbWF6b25hd3MuY29t
117
- IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBv
118
- aW50In0seyJjb25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0
119
- cHM6Ly9kYXRhLWF0cy5pb3QtZmlwcy57UmVnaW9ufS57UGFydGl0aW9uUmVz
120
- dWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319
121
- LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0seyJjb25kaXR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9XX1dfQ==
139
-
140
- JSON
141
71
  end
142
72
  end
@@ -24,14 +24,6 @@ module Aws::IoTDataPlane
24
24
 
25
25
  # The input for the DeleteThingShadow operation.
26
26
  #
27
- # @note When making an API call, you may pass DeleteThingShadowRequest
28
- # data as a hash:
29
- #
30
- # {
31
- # thing_name: "ThingName", # required
32
- # shadow_name: "ShadowName",
33
- # }
34
- #
35
27
  # @!attribute [rw] thing_name
36
28
  # The name of the thing.
37
29
  # @return [String]
@@ -61,13 +53,6 @@ module Aws::IoTDataPlane
61
53
 
62
54
  # The input for the GetRetainedMessage operation.
63
55
  #
64
- # @note When making an API call, you may pass GetRetainedMessageRequest
65
- # data as a hash:
66
- #
67
- # {
68
- # topic: "Topic", # required
69
- # }
70
- #
71
56
  # @!attribute [rw] topic
72
57
  # The topic name of the retained message to retrieve.
73
58
  # @return [String]
@@ -109,14 +94,6 @@ module Aws::IoTDataPlane
109
94
 
110
95
  # The input for the GetThingShadow operation.
111
96
  #
112
- # @note When making an API call, you may pass GetThingShadowRequest
113
- # data as a hash:
114
- #
115
- # {
116
- # thing_name: "ThingName", # required
117
- # shadow_name: "ShadowName",
118
- # }
119
- #
120
97
  # @!attribute [rw] thing_name
121
98
  # The name of the thing.
122
99
  # @return [String]
@@ -168,15 +145,6 @@ module Aws::IoTDataPlane
168
145
  include Aws::Structure
169
146
  end
170
147
 
171
- # @note When making an API call, you may pass ListNamedShadowsForThingRequest
172
- # data as a hash:
173
- #
174
- # {
175
- # thing_name: "ThingName", # required
176
- # next_token: "NextToken",
177
- # page_size: 1,
178
- # }
179
- #
180
148
  # @!attribute [rw] thing_name
181
149
  # The name of the thing.
182
150
  # @return [String]
@@ -218,14 +186,6 @@ module Aws::IoTDataPlane
218
186
  include Aws::Structure
219
187
  end
220
188
 
221
- # @note When making an API call, you may pass ListRetainedMessagesRequest
222
- # data as a hash:
223
- #
224
- # {
225
- # next_token: "NextToken",
226
- # max_results: 1,
227
- # }
228
- #
229
189
  # @!attribute [rw] next_token
230
190
  # To retrieve the next set of results, the `nextToken` value from a
231
191
  # previous response; otherwise **null** to receive the first set of
@@ -275,22 +235,6 @@ module Aws::IoTDataPlane
275
235
 
276
236
  # The input for the Publish operation.
277
237
  #
278
- # @note When making an API call, you may pass PublishRequest
279
- # data as a hash:
280
- #
281
- # {
282
- # topic: "Topic", # required
283
- # qos: 1,
284
- # retain: false,
285
- # payload: "data",
286
- # user_properties: "UserProperties",
287
- # payload_format_indicator: "UNSPECIFIED_BYTES", # accepts UNSPECIFIED_BYTES, UTF8_DATA
288
- # content_type: "ContentType",
289
- # response_topic: "ResponseTopic",
290
- # correlation_data: "CorrelationData",
291
- # message_expiry: 1,
292
- # }
293
- #
294
238
  # @!attribute [rw] topic
295
239
  # The name of the MQTT topic.
296
240
  # @return [String]
@@ -488,15 +432,6 @@ module Aws::IoTDataPlane
488
432
 
489
433
  # The input for the UpdateThingShadow operation.
490
434
  #
491
- # @note When making an API call, you may pass UpdateThingShadowRequest
492
- # data as a hash:
493
- #
494
- # {
495
- # thing_name: "ThingName", # required
496
- # shadow_name: "ShadowName",
497
- # payload: "data", # required
498
- # }
499
- #
500
435
  # @!attribute [rw] thing_name
501
436
  # The name of the thing.
502
437
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-iotdataplane/customizations'
52
52
  # @!group service
53
53
  module Aws::IoTDataPlane
54
54
 
55
- GEM_VERSION = '1.41.0'
55
+ GEM_VERSION = '1.42.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iotdataplane
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.41.0
4
+ version: 1.42.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-11-28 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core