aws-sdk-ioteventsdata 1.27.0 → 1.29.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: 898dc31a30e4a618a2e7920ac235ab574e4672c216cb3e247feb144c1e0d7f91
4
- data.tar.gz: f2fb81e173ca9704b61fcf29a444431ef838b6fa577d6b9184dc86e14c405bff
3
+ metadata.gz: 8b5a768469de2742ae4336d7b532e7d13826ae693cd4eeaaf752364ad6722c25
4
+ data.tar.gz: 6c08a1c5b5a4b577b07e72b575193598ae661889f8403f42853c12eef29933da
5
5
  SHA512:
6
- metadata.gz: b44079fe0b9a5b85704541b9cd821d964ec9bd4d722e11b90c716702fedc9a25c96e4c29062d0c6ca3b89f7cb0fa5d422dee65be3771b486321b61c27f641f87
7
- data.tar.gz: db8e71efc2e30ddd5f01fd2eafbc6c5399c4a009952a5ee4c7bddafe6be93109d9152ab7f3980bc358cc6b984fe0cfd9698667ca1df244f9fa499d0c20b536ea
6
+ metadata.gz: a33c2b794bb6f1a8b6d19e0d546086af6e99545f0c3dc319a221dbd12fdced47605335890e34a90fcde8348763a9591af2df4ccf83f587fe06d936b8d71ecc3b
7
+ data.tar.gz: 94d2047d5c5517617c0596ee04caebbc261cb3dfa7d0324c0980b10df4e16a9d28bd928334ea287ad8daa44d703b0a794e164f11db157aa4e6e28e14bfb96f70
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.29.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
+
11
+ 1.28.0 (2022-10-25)
12
+ ------------------
13
+
14
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
15
+
4
16
  1.27.0 (2022-05-18)
5
17
  ------------------
6
18
 
@@ -145,4 +157,4 @@ Unreleased Changes
145
157
  1.0.0 (2019-05-30)
146
158
  ------------------
147
159
 
148
- * Feature - Initial release of `aws-sdk-ioteventsdata`.
160
+ * Feature - Initial release of `aws-sdk-ioteventsdata`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.27.0
1
+ 1.29.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:ioteventsdata)
@@ -79,8 +79,9 @@ module Aws::IoTEventsData
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::RestJson)
84
+ add_plugin(Aws::IoTEventsData::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -287,6 +288,19 @@ module Aws::IoTEventsData
287
288
  # ** Please note ** When response stubbing is enabled, no HTTP
288
289
  # requests are made, and retries are disabled.
289
290
  #
291
+ # @option options [Aws::TokenProvider] :token_provider
292
+ # A Bearer Token Provider. This can be an instance of any one of the
293
+ # following classes:
294
+ #
295
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
296
+ # tokens.
297
+ #
298
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
299
+ # access token generated from `aws login`.
300
+ #
301
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
302
+ # will be used to search for tokens configured for your profile in shared configuration files.
303
+ #
290
304
  # @option options [Boolean] :use_dualstack_endpoint
291
305
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
306
  # will be used if available.
@@ -300,6 +314,9 @@ module Aws::IoTEventsData
300
314
  # When `true`, request parameters are validated before
301
315
  # sending the request.
302
316
  #
317
+ # @option options [Aws::IoTEventsData::EndpointProvider] :endpoint_provider
318
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::IoTEventsData::EndpointParameters`
319
+ #
303
320
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
321
  # requests through. Formatted like 'http://proxy.com:123'.
305
322
  #
@@ -880,7 +897,7 @@ module Aws::IoTEventsData
880
897
  params: params,
881
898
  config: config)
882
899
  context[:gem_name] = 'aws-sdk-ioteventsdata'
883
- context[:gem_version] = '1.27.0'
900
+ context[:gem_version] = '1.29.0'
884
901
  Seahorse::Client::Request.new(handlers, context)
885
902
  end
886
903
 
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::IoTEventsData
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::IoTEventsData
11
+ class EndpointProvider
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.iotevents-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
+ return Aws::Endpoints::Endpoint.new(url: "https://data.iotevents-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://data.iotevents.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://data.iotevents.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
+ end
47
+ raise ArgumentError, 'No endpoint could be resolved'
48
+
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,183 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::IoTEventsData
12
+ module Endpoints
13
+
14
+ class BatchAcknowledgeAlarm
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::IoTEventsData::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class BatchDeleteDetector
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::IoTEventsData::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class BatchDisableAlarm
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::IoTEventsData::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class BatchEnableAlarm
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::IoTEventsData::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class BatchPutMessage
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::IoTEventsData::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class BatchResetAlarm
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::IoTEventsData::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ class BatchSnoozeAlarm
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::IoTEventsData::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ class BatchUpdateDetector
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::IoTEventsData::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
126
+ class DescribeAlarm
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::IoTEventsData::EndpointParameters.new(
132
+ region: context.config.region,
133
+ use_dual_stack: context.config.use_dualstack_endpoint,
134
+ use_fips: context.config.use_fips_endpoint,
135
+ endpoint: endpoint,
136
+ )
137
+ end
138
+ end
139
+
140
+ class DescribeDetector
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::IoTEventsData::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
154
+ class ListAlarms
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::IoTEventsData::EndpointParameters.new(
160
+ region: context.config.region,
161
+ use_dual_stack: context.config.use_dualstack_endpoint,
162
+ use_fips: context.config.use_fips_endpoint,
163
+ endpoint: endpoint,
164
+ )
165
+ end
166
+ end
167
+
168
+ class ListDetectors
169
+ def self.build(context)
170
+ unless context.config.regional_endpoint
171
+ endpoint = context.config.endpoint.to_s
172
+ end
173
+ Aws::IoTEventsData::EndpointParameters.new(
174
+ region: context.config.region,
175
+ use_dual_stack: context.config.use_dualstack_endpoint,
176
+ use_fips: context.config.use_fips_endpoint,
177
+ endpoint: endpoint,
178
+ )
179
+ end
180
+ end
181
+
182
+ end
183
+ end
@@ -0,0 +1,92 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::IoTEventsData
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::IoTEventsData::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::IoTEventsData::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::IoTEventsData::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :batch_acknowledge_alarm
60
+ Aws::IoTEventsData::Endpoints::BatchAcknowledgeAlarm.build(context)
61
+ when :batch_delete_detector
62
+ Aws::IoTEventsData::Endpoints::BatchDeleteDetector.build(context)
63
+ when :batch_disable_alarm
64
+ Aws::IoTEventsData::Endpoints::BatchDisableAlarm.build(context)
65
+ when :batch_enable_alarm
66
+ Aws::IoTEventsData::Endpoints::BatchEnableAlarm.build(context)
67
+ when :batch_put_message
68
+ Aws::IoTEventsData::Endpoints::BatchPutMessage.build(context)
69
+ when :batch_reset_alarm
70
+ Aws::IoTEventsData::Endpoints::BatchResetAlarm.build(context)
71
+ when :batch_snooze_alarm
72
+ Aws::IoTEventsData::Endpoints::BatchSnoozeAlarm.build(context)
73
+ when :batch_update_detector
74
+ Aws::IoTEventsData::Endpoints::BatchUpdateDetector.build(context)
75
+ when :describe_alarm
76
+ Aws::IoTEventsData::Endpoints::DescribeAlarm.build(context)
77
+ when :describe_detector
78
+ Aws::IoTEventsData::Endpoints::DescribeDetector.build(context)
79
+ when :list_alarms
80
+ Aws::IoTEventsData::Endpoints::ListAlarms.build(context)
81
+ when :list_detectors
82
+ Aws::IoTEventsData::Endpoints::ListDetectors.build(context)
83
+ end
84
+ end
85
+ end
86
+
87
+ def add_handlers(handlers, _config)
88
+ handlers.add(Handler, step: :build, priority: 75)
89
+ end
90
+ end
91
+ end
92
+ end
@@ -24,16 +24,6 @@ module Aws::IoTEventsData
24
24
 
25
25
  # Information needed to acknowledge the alarm.
26
26
  #
27
- # @note When making an API call, you may pass AcknowledgeAlarmActionRequest
28
- # data as a hash:
29
- #
30
- # {
31
- # request_id: "RequestId", # required
32
- # alarm_model_name: "AlarmModelName", # required
33
- # key_value: "KeyValue",
34
- # note: "Note",
35
- # }
36
- #
37
27
  # @!attribute [rw] request_id
38
28
  # The request ID. Each ID must be unique within each batch.
39
29
  # @return [String]
@@ -230,20 +220,6 @@ module Aws::IoTEventsData
230
220
  include Aws::Structure
231
221
  end
232
222
 
233
- # @note When making an API call, you may pass BatchAcknowledgeAlarmRequest
234
- # data as a hash:
235
- #
236
- # {
237
- # acknowledge_action_requests: [ # required
238
- # {
239
- # request_id: "RequestId", # required
240
- # alarm_model_name: "AlarmModelName", # required
241
- # key_value: "KeyValue",
242
- # note: "Note",
243
- # },
244
- # ],
245
- # }
246
- #
247
223
  # @!attribute [rw] acknowledge_action_requests
248
224
  # The list of acknowledge action requests. You can specify up to 10
249
225
  # requests per operation.
@@ -335,19 +311,6 @@ module Aws::IoTEventsData
335
311
  include Aws::Structure
336
312
  end
337
313
 
338
- # @note When making an API call, you may pass BatchDeleteDetectorRequest
339
- # data as a hash:
340
- #
341
- # {
342
- # detectors: [ # required
343
- # {
344
- # message_id: "MessageId", # required
345
- # detector_model_name: "DetectorModelName", # required
346
- # key_value: "KeyValue",
347
- # },
348
- # ],
349
- # }
350
- #
351
314
  # @!attribute [rw] detectors
352
315
  # The list of one or more detectors to be deleted.
353
316
  # @return [Array<Types::DeleteDetectorRequest>]
@@ -370,20 +333,6 @@ module Aws::IoTEventsData
370
333
  include Aws::Structure
371
334
  end
372
335
 
373
- # @note When making an API call, you may pass BatchDisableAlarmRequest
374
- # data as a hash:
375
- #
376
- # {
377
- # disable_action_requests: [ # required
378
- # {
379
- # request_id: "RequestId", # required
380
- # alarm_model_name: "AlarmModelName", # required
381
- # key_value: "KeyValue",
382
- # note: "Note",
383
- # },
384
- # ],
385
- # }
386
- #
387
336
  # @!attribute [rw] disable_action_requests
388
337
  # The list of disable action requests. You can specify up to 10
389
338
  # requests per operation.
@@ -407,20 +356,6 @@ module Aws::IoTEventsData
407
356
  include Aws::Structure
408
357
  end
409
358
 
410
- # @note When making an API call, you may pass BatchEnableAlarmRequest
411
- # data as a hash:
412
- #
413
- # {
414
- # enable_action_requests: [ # required
415
- # {
416
- # request_id: "RequestId", # required
417
- # alarm_model_name: "AlarmModelName", # required
418
- # key_value: "KeyValue",
419
- # note: "Note",
420
- # },
421
- # ],
422
- # }
423
- #
424
359
  # @!attribute [rw] enable_action_requests
425
360
  # The list of enable action requests. You can specify up to 10
426
361
  # requests per operation.
@@ -467,22 +402,6 @@ module Aws::IoTEventsData
467
402
  include Aws::Structure
468
403
  end
469
404
 
470
- # @note When making an API call, you may pass BatchPutMessageRequest
471
- # data as a hash:
472
- #
473
- # {
474
- # messages: [ # required
475
- # {
476
- # message_id: "MessageId", # required
477
- # input_name: "EphemeralInputName", # required
478
- # payload: "data", # required
479
- # timestamp: {
480
- # time_in_millis: 1,
481
- # },
482
- # },
483
- # ],
484
- # }
485
- #
486
405
  # @!attribute [rw] messages
487
406
  # The list of messages to send. Each message has the following format:
488
407
  # `'\{ "messageId": "string", "inputName": "string", "payload":
@@ -505,20 +424,6 @@ module Aws::IoTEventsData
505
424
  include Aws::Structure
506
425
  end
507
426
 
508
- # @note When making an API call, you may pass BatchResetAlarmRequest
509
- # data as a hash:
510
- #
511
- # {
512
- # reset_action_requests: [ # required
513
- # {
514
- # request_id: "RequestId", # required
515
- # alarm_model_name: "AlarmModelName", # required
516
- # key_value: "KeyValue",
517
- # note: "Note",
518
- # },
519
- # ],
520
- # }
521
- #
522
427
  # @!attribute [rw] reset_action_requests
523
428
  # The list of reset action requests. You can specify up to 10 requests
524
429
  # per operation.
@@ -542,21 +447,6 @@ module Aws::IoTEventsData
542
447
  include Aws::Structure
543
448
  end
544
449
 
545
- # @note When making an API call, you may pass BatchSnoozeAlarmRequest
546
- # data as a hash:
547
- #
548
- # {
549
- # snooze_action_requests: [ # required
550
- # {
551
- # request_id: "RequestId", # required
552
- # alarm_model_name: "AlarmModelName", # required
553
- # key_value: "KeyValue",
554
- # note: "Note",
555
- # snooze_duration: 1, # required
556
- # },
557
- # ],
558
- # }
559
- #
560
450
  # @!attribute [rw] snooze_action_requests
561
451
  # The list of snooze action requests. You can specify up to 10
562
452
  # requests per operation.
@@ -605,34 +495,6 @@ module Aws::IoTEventsData
605
495
  include Aws::Structure
606
496
  end
607
497
 
608
- # @note When making an API call, you may pass BatchUpdateDetectorRequest
609
- # data as a hash:
610
- #
611
- # {
612
- # detectors: [ # required
613
- # {
614
- # message_id: "MessageId", # required
615
- # detector_model_name: "DetectorModelName", # required
616
- # key_value: "KeyValue",
617
- # state: { # required
618
- # state_name: "StateName", # required
619
- # variables: [ # required
620
- # {
621
- # name: "VariableName", # required
622
- # value: "VariableValue", # required
623
- # },
624
- # ],
625
- # timers: [ # required
626
- # {
627
- # name: "TimerName", # required
628
- # seconds: 1, # required
629
- # },
630
- # ],
631
- # },
632
- # },
633
- # ],
634
- # }
635
- #
636
498
  # @!attribute [rw] detectors
637
499
  # The list of detectors (instances) to update, along with the values
638
500
  # to update.
@@ -717,15 +579,6 @@ module Aws::IoTEventsData
717
579
 
718
580
  # Information used to delete the detector model.
719
581
  #
720
- # @note When making an API call, you may pass DeleteDetectorRequest
721
- # data as a hash:
722
- #
723
- # {
724
- # message_id: "MessageId", # required
725
- # detector_model_name: "DetectorModelName", # required
726
- # key_value: "KeyValue",
727
- # }
728
- #
729
582
  # @!attribute [rw] message_id
730
583
  # The ID to assign to the `DeleteDetectorRequest`. Each `"messageId"`
731
584
  # must be unique within each batch sent.
@@ -752,14 +605,6 @@ module Aws::IoTEventsData
752
605
  include Aws::Structure
753
606
  end
754
607
 
755
- # @note When making an API call, you may pass DescribeAlarmRequest
756
- # data as a hash:
757
- #
758
- # {
759
- # alarm_model_name: "AlarmModelName", # required
760
- # key_value: "KeyValue",
761
- # }
762
- #
763
608
  # @!attribute [rw] alarm_model_name
764
609
  # The name of the alarm model.
765
610
  # @return [String]
@@ -790,14 +635,6 @@ module Aws::IoTEventsData
790
635
  include Aws::Structure
791
636
  end
792
637
 
793
- # @note When making an API call, you may pass DescribeDetectorRequest
794
- # data as a hash:
795
- #
796
- # {
797
- # detector_model_name: "DetectorModelName", # required
798
- # key_value: "KeyValue",
799
- # }
800
- #
801
638
  # @!attribute [rw] detector_model_name
802
639
  # The name of the detector model whose detectors (instances) you want
803
640
  # information about.
@@ -890,25 +727,6 @@ module Aws::IoTEventsData
890
727
  # The new state, variable values, and timer settings of the detector
891
728
  # (instance).
892
729
  #
893
- # @note When making an API call, you may pass DetectorStateDefinition
894
- # data as a hash:
895
- #
896
- # {
897
- # state_name: "StateName", # required
898
- # variables: [ # required
899
- # {
900
- # name: "VariableName", # required
901
- # value: "VariableValue", # required
902
- # },
903
- # ],
904
- # timers: [ # required
905
- # {
906
- # name: "TimerName", # required
907
- # seconds: 1, # required
908
- # },
909
- # ],
910
- # }
911
- #
912
730
  # @!attribute [rw] state_name
913
731
  # The name of the new state of the detector (instance).
914
732
  # @return [String]
@@ -997,16 +815,6 @@ module Aws::IoTEventsData
997
815
 
998
816
  # Information used to disable the alarm.
999
817
  #
1000
- # @note When making an API call, you may pass DisableAlarmActionRequest
1001
- # data as a hash:
1002
- #
1003
- # {
1004
- # request_id: "RequestId", # required
1005
- # alarm_model_name: "AlarmModelName", # required
1006
- # key_value: "KeyValue",
1007
- # note: "Note",
1008
- # }
1009
- #
1010
818
  # @!attribute [rw] request_id
1011
819
  # The request ID. Each ID must be unique within each batch.
1012
820
  # @return [String]
@@ -1051,16 +859,6 @@ module Aws::IoTEventsData
1051
859
 
1052
860
  # Information needed to enable the alarm.
1053
861
  #
1054
- # @note When making an API call, you may pass EnableAlarmActionRequest
1055
- # data as a hash:
1056
- #
1057
- # {
1058
- # request_id: "RequestId", # required
1059
- # alarm_model_name: "AlarmModelName", # required
1060
- # key_value: "KeyValue",
1061
- # note: "Note",
1062
- # }
1063
- #
1064
862
  # @!attribute [rw] request_id
1065
863
  # The request ID. Each ID must be unique within each batch.
1066
864
  # @return [String]
@@ -1115,15 +913,6 @@ module Aws::IoTEventsData
1115
913
  include Aws::Structure
1116
914
  end
1117
915
 
1118
- # @note When making an API call, you may pass ListAlarmsRequest
1119
- # data as a hash:
1120
- #
1121
- # {
1122
- # alarm_model_name: "AlarmModelName", # required
1123
- # next_token: "NextToken",
1124
- # max_results: 1,
1125
- # }
1126
- #
1127
916
  # @!attribute [rw] alarm_model_name
1128
917
  # The name of the alarm model.
1129
918
  # @return [String]
@@ -1160,16 +949,6 @@ module Aws::IoTEventsData
1160
949
  include Aws::Structure
1161
950
  end
1162
951
 
1163
- # @note When making an API call, you may pass ListDetectorsRequest
1164
- # data as a hash:
1165
- #
1166
- # {
1167
- # detector_model_name: "DetectorModelName", # required
1168
- # state_name: "StateName",
1169
- # next_token: "NextToken",
1170
- # max_results: 1,
1171
- # }
1172
- #
1173
952
  # @!attribute [rw] detector_model_name
1174
953
  # The name of the detector model whose detectors (instances) are
1175
954
  # listed.
@@ -1215,18 +994,6 @@ module Aws::IoTEventsData
1215
994
 
1216
995
  # Information about a message.
1217
996
  #
1218
- # @note When making an API call, you may pass Message
1219
- # data as a hash:
1220
- #
1221
- # {
1222
- # message_id: "MessageId", # required
1223
- # input_name: "EphemeralInputName", # required
1224
- # payload: "data", # required
1225
- # timestamp: {
1226
- # time_in_millis: 1,
1227
- # },
1228
- # }
1229
- #
1230
997
  # @!attribute [rw] message_id
1231
998
  # The ID to assign to the message. Within each batch sent, each
1232
999
  # `"messageId"` must be unique.
@@ -1269,16 +1036,6 @@ module Aws::IoTEventsData
1269
1036
 
1270
1037
  # Information needed to reset the alarm.
1271
1038
  #
1272
- # @note When making an API call, you may pass ResetAlarmActionRequest
1273
- # data as a hash:
1274
- #
1275
- # {
1276
- # request_id: "RequestId", # required
1277
- # alarm_model_name: "AlarmModelName", # required
1278
- # key_value: "KeyValue",
1279
- # note: "Note",
1280
- # }
1281
- #
1282
1039
  # @!attribute [rw] request_id
1283
1040
  # The request ID. Each ID must be unique within each batch.
1284
1041
  # @return [String]
@@ -1388,17 +1145,6 @@ module Aws::IoTEventsData
1388
1145
 
1389
1146
  # Information needed to snooze the alarm.
1390
1147
  #
1391
- # @note When making an API call, you may pass SnoozeAlarmActionRequest
1392
- # data as a hash:
1393
- #
1394
- # {
1395
- # request_id: "RequestId", # required
1396
- # alarm_model_name: "AlarmModelName", # required
1397
- # key_value: "KeyValue",
1398
- # note: "Note",
1399
- # snooze_duration: 1, # required
1400
- # }
1401
- #
1402
1148
  # @!attribute [rw] request_id
1403
1149
  # The request ID. Each ID must be unique within each batch.
1404
1150
  # @return [String]
@@ -1498,14 +1244,6 @@ module Aws::IoTEventsData
1498
1244
 
1499
1245
  # The new setting of a timer.
1500
1246
  #
1501
- # @note When making an API call, you may pass TimerDefinition
1502
- # data as a hash:
1503
- #
1504
- # {
1505
- # name: "TimerName", # required
1506
- # seconds: 1, # required
1507
- # }
1508
- #
1509
1247
  # @!attribute [rw] name
1510
1248
  # The name of the timer.
1511
1249
  # @return [String]
@@ -1524,13 +1262,6 @@ module Aws::IoTEventsData
1524
1262
 
1525
1263
  # Contains information about a timestamp.
1526
1264
  #
1527
- # @note When making an API call, you may pass TimestampValue
1528
- # data as a hash:
1529
- #
1530
- # {
1531
- # time_in_millis: 1,
1532
- # }
1533
- #
1534
1265
  # @!attribute [rw] time_in_millis
1535
1266
  # The value of the timestamp, in the Unix epoch format.
1536
1267
  # @return [Integer]
@@ -1543,30 +1274,6 @@ module Aws::IoTEventsData
1543
1274
 
1544
1275
  # Information used to update the detector (instance).
1545
1276
  #
1546
- # @note When making an API call, you may pass UpdateDetectorRequest
1547
- # data as a hash:
1548
- #
1549
- # {
1550
- # message_id: "MessageId", # required
1551
- # detector_model_name: "DetectorModelName", # required
1552
- # key_value: "KeyValue",
1553
- # state: { # required
1554
- # state_name: "StateName", # required
1555
- # variables: [ # required
1556
- # {
1557
- # name: "VariableName", # required
1558
- # value: "VariableValue", # required
1559
- # },
1560
- # ],
1561
- # timers: [ # required
1562
- # {
1563
- # name: "TimerName", # required
1564
- # seconds: 1, # required
1565
- # },
1566
- # ],
1567
- # },
1568
- # }
1569
- #
1570
1277
  # @!attribute [rw] message_id
1571
1278
  # The ID to assign to the detector update `"message"`. Each
1572
1279
  # `"messageId"` must be unique within each batch sent.
@@ -1615,14 +1322,6 @@ module Aws::IoTEventsData
1615
1322
 
1616
1323
  # The new value of the variable.
1617
1324
  #
1618
- # @note When making an API call, you may pass VariableDefinition
1619
- # data as a hash:
1620
- #
1621
- # {
1622
- # name: "VariableName", # required
1623
- # value: "VariableValue", # required
1624
- # }
1625
- #
1626
1325
  # @!attribute [rw] name
1627
1326
  # The name of the variable.
1628
1327
  # @return [String]
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-ioteventsdata/types'
15
15
  require_relative 'aws-sdk-ioteventsdata/client_api'
16
+ require_relative 'aws-sdk-ioteventsdata/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-ioteventsdata/client'
17
18
  require_relative 'aws-sdk-ioteventsdata/errors'
18
19
  require_relative 'aws-sdk-ioteventsdata/resource'
20
+ require_relative 'aws-sdk-ioteventsdata/endpoint_parameters'
21
+ require_relative 'aws-sdk-ioteventsdata/endpoint_provider'
22
+ require_relative 'aws-sdk-ioteventsdata/endpoints'
19
23
  require_relative 'aws-sdk-ioteventsdata/customizations'
20
24
 
21
25
  # This module provides support for AWS IoT Events Data. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-ioteventsdata/customizations'
48
52
  # @!group service
49
53
  module Aws::IoTEventsData
50
54
 
51
- GEM_VERSION = '1.27.0'
55
+ GEM_VERSION = '1.29.0'
52
56
 
53
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ioteventsdata
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.27.0
4
+ version: 1.29.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-05-18 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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.127.0
22
+ version: 3.165.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-ioteventsdata/client.rb
60
60
  - lib/aws-sdk-ioteventsdata/client_api.rb
61
61
  - lib/aws-sdk-ioteventsdata/customizations.rb
62
+ - lib/aws-sdk-ioteventsdata/endpoint_parameters.rb
63
+ - lib/aws-sdk-ioteventsdata/endpoint_provider.rb
64
+ - lib/aws-sdk-ioteventsdata/endpoints.rb
62
65
  - lib/aws-sdk-ioteventsdata/errors.rb
66
+ - lib/aws-sdk-ioteventsdata/plugins/endpoints.rb
63
67
  - lib/aws-sdk-ioteventsdata/resource.rb
64
68
  - lib/aws-sdk-ioteventsdata/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby