aws-sdk-iot 1.166.0 → 1.167.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/params.rbs ADDED
@@ -0,0 +1,403 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module IoT
10
+ module Params
11
+ type resource_identifier = {
12
+ device_certificate_id: ::String?,
13
+ ca_certificate_id: ::String?,
14
+ cognito_identity_pool_id: ::String?,
15
+ client_id: ::String?,
16
+ policy_version_identifier: {
17
+ policy_name: ::String?,
18
+ policy_version_id: ::String?
19
+ }?,
20
+ account: ::String?,
21
+ iam_role_arn: ::String?,
22
+ role_alias_arn: ::String?,
23
+ issuer_certificate_identifier: {
24
+ issuer_certificate_subject: ::String?,
25
+ issuer_id: ::String?,
26
+ issuer_certificate_serial_number: ::String?
27
+ }?,
28
+ device_certificate_arn: ::String?
29
+ }
30
+
31
+ type command_parameter_value = {
32
+ s: ::String?,
33
+ b: bool?,
34
+ i: ::Integer?,
35
+ l: ::Integer?,
36
+ d: ::Float?,
37
+ bin: ::String?,
38
+ ul: ::String?
39
+ }
40
+
41
+ type exponential_rollout_rate = {
42
+ base_rate_per_minute: ::Integer,
43
+ increment_factor: ::Float,
44
+ rate_increase_criteria: {
45
+ number_of_notified_things: ::Integer?,
46
+ number_of_succeeded_things: ::Integer?
47
+ }
48
+ }
49
+
50
+ type job_executions_rollout_config = {
51
+ maximum_per_minute: ::Integer?,
52
+ exponential_rate: Params::exponential_rollout_rate?
53
+ }
54
+
55
+ type abort_config = {
56
+ criteria_list: Array[
57
+ {
58
+ failure_type: ("FAILED" | "REJECTED" | "TIMED_OUT" | "ALL"),
59
+ action: ("CANCEL"),
60
+ threshold_percentage: ::Float,
61
+ min_number_of_executed_things: ::Integer
62
+ }
63
+ ]
64
+ }
65
+
66
+ type mitigation_action_params = {
67
+ update_device_certificate_params: {
68
+ action: ("DEACTIVATE")
69
+ }?,
70
+ update_ca_certificate_params: {
71
+ action: ("DEACTIVATE")
72
+ }?,
73
+ add_things_to_thing_group_params: {
74
+ thing_group_names: Array[::String],
75
+ override_dynamic_groups: bool?
76
+ }?,
77
+ replace_default_policy_version_params: {
78
+ template_name: ("BLANK_POLICY")
79
+ }?,
80
+ enable_io_t_logging_params: {
81
+ role_arn_for_logging: ::String,
82
+ log_level: ("DEBUG" | "INFO" | "ERROR" | "WARN" | "DISABLED")
83
+ }?,
84
+ publish_finding_to_sns_params: {
85
+ topic_arn: ::String
86
+ }?
87
+ }
88
+
89
+ type metric_value = {
90
+ count: ::Integer?,
91
+ cidrs: Array[::String]?,
92
+ ports: Array[::Integer]?,
93
+ number: ::Float?,
94
+ numbers: Array[::Float]?,
95
+ strings: Array[::String]?
96
+ }
97
+
98
+ type behavior_criteria = {
99
+ comparison_operator: ("less-than" | "less-than-equals" | "greater-than" | "greater-than-equals" | "in-cidr-set" | "not-in-cidr-set" | "in-port-set" | "not-in-port-set" | "in-set" | "not-in-set")?,
100
+ value: Params::metric_value?,
101
+ duration_seconds: ::Integer?,
102
+ consecutive_datapoints_to_alarm: ::Integer?,
103
+ consecutive_datapoints_to_clear: ::Integer?,
104
+ statistical_threshold: {
105
+ statistic: ::String?
106
+ }?,
107
+ ml_detection_config: {
108
+ confidence_level: ("LOW" | "MEDIUM" | "HIGH")
109
+ }?
110
+ }
111
+
112
+ type behavior = {
113
+ name: ::String,
114
+ metric: ::String?,
115
+ metric_dimension: {
116
+ dimension_name: ::String,
117
+ operator: ("IN" | "NOT_IN")?
118
+ }?,
119
+ criteria: Params::behavior_criteria?,
120
+ suppress_alerts: bool?,
121
+ export_metric: bool?
122
+ }
123
+
124
+ type metric_to_retain = {
125
+ metric: ::String,
126
+ metric_dimension: {
127
+ dimension_name: ::String,
128
+ operator: ("IN" | "NOT_IN")?
129
+ }?,
130
+ export_metric: bool?
131
+ }
132
+
133
+ type stream_file = {
134
+ file_id: ::Integer?,
135
+ s3_location: {
136
+ bucket: ::String?,
137
+ key: ::String?,
138
+ version: ::String?
139
+ }?
140
+ }
141
+
142
+ type thing_type_properties = {
143
+ thing_type_description: ::String?,
144
+ searchable_attributes: Array[::String]?,
145
+ mqtt5_configuration: {
146
+ propagating_attributes: Array[
147
+ {
148
+ user_property_key: ::String?,
149
+ thing_attribute: ::String?,
150
+ connection_attribute: ::String?
151
+ }
152
+ ]?
153
+ }?
154
+ }
155
+
156
+ type dynamo_db_action = {
157
+ table_name: ::String,
158
+ role_arn: ::String,
159
+ operation: ::String?,
160
+ hash_key_field: ::String,
161
+ hash_key_value: ::String,
162
+ hash_key_type: ("STRING" | "NUMBER")?,
163
+ range_key_field: ::String?,
164
+ range_key_value: ::String?,
165
+ range_key_type: ("STRING" | "NUMBER")?,
166
+ payload_field: ::String?
167
+ }
168
+
169
+ type mqtt_headers = {
170
+ payload_format_indicator: ::String?,
171
+ content_type: ::String?,
172
+ response_topic: ::String?,
173
+ correlation_data: ::String?,
174
+ message_expiry: ::String?,
175
+ user_properties: Array[
176
+ {
177
+ key: ::String,
178
+ value: ::String
179
+ }
180
+ ]?
181
+ }
182
+
183
+ type republish_action = {
184
+ role_arn: ::String,
185
+ topic: ::String,
186
+ qos: ::Integer?,
187
+ headers: Params::mqtt_headers?
188
+ }
189
+
190
+ type cloudwatch_metric_action = {
191
+ role_arn: ::String,
192
+ metric_namespace: ::String,
193
+ metric_name: ::String,
194
+ metric_value: ::String,
195
+ metric_unit: ::String,
196
+ metric_timestamp: ::String?
197
+ }
198
+
199
+ type iot_site_wise_action = {
200
+ put_asset_property_value_entries: Array[
201
+ Params::put_asset_property_value_entry
202
+ ],
203
+ role_arn: ::String
204
+ }
205
+
206
+ type timestream_action = {
207
+ role_arn: ::String,
208
+ database_name: ::String,
209
+ table_name: ::String,
210
+ dimensions: Array[
211
+ {
212
+ name: ::String,
213
+ value: ::String
214
+ }
215
+ ],
216
+ timestamp: {
217
+ value: ::String,
218
+ unit: ::String
219
+ }?
220
+ }
221
+
222
+ type http_action = {
223
+ url: ::String,
224
+ confirmation_url: ::String?,
225
+ headers: Array[
226
+ {
227
+ key: ::String,
228
+ value: ::String
229
+ }
230
+ ]?,
231
+ auth: {
232
+ sigv4: {
233
+ signing_region: ::String,
234
+ service_name: ::String,
235
+ role_arn: ::String
236
+ }?
237
+ }?,
238
+ enable_batching: bool?,
239
+ batch_config: {
240
+ max_batch_open_ms: ::Integer?,
241
+ max_batch_size: ::Integer?,
242
+ max_batch_size_bytes: ::Integer?,
243
+ batch_across_topics: bool?
244
+ }?
245
+ }
246
+
247
+ type kafka_action = {
248
+ destination_arn: ::String,
249
+ topic: ::String,
250
+ key: ::String?,
251
+ partition: ::String?,
252
+ client_properties: Hash[::String, ::String],
253
+ headers: Array[
254
+ {
255
+ key: ::String,
256
+ value: ::String
257
+ }
258
+ ]?
259
+ }
260
+
261
+ type location_action = {
262
+ role_arn: ::String,
263
+ tracker_name: ::String,
264
+ device_id: ::String,
265
+ timestamp: {
266
+ value: ::String,
267
+ unit: ::String?
268
+ }?,
269
+ latitude: ::String,
270
+ longitude: ::String
271
+ }
272
+
273
+ type action = {
274
+ dynamo_db: Params::dynamo_db_action?,
275
+ dynamo_d_bv_2: {
276
+ role_arn: ::String,
277
+ put_item: {
278
+ table_name: ::String
279
+ }
280
+ }?,
281
+ lambda: {
282
+ function_arn: ::String
283
+ }?,
284
+ sns: {
285
+ target_arn: ::String,
286
+ role_arn: ::String,
287
+ message_format: ("RAW" | "JSON")?
288
+ }?,
289
+ sqs: {
290
+ role_arn: ::String,
291
+ queue_url: ::String,
292
+ use_base_64: bool?
293
+ }?,
294
+ kinesis: {
295
+ role_arn: ::String,
296
+ stream_name: ::String,
297
+ partition_key: ::String?
298
+ }?,
299
+ republish: Params::republish_action?,
300
+ s3: {
301
+ role_arn: ::String,
302
+ bucket_name: ::String,
303
+ key: ::String,
304
+ canned_acl: ("private" | "public-read" | "public-read-write" | "aws-exec-read" | "authenticated-read" | "bucket-owner-read" | "bucket-owner-full-control" | "log-delivery-write")?
305
+ }?,
306
+ firehose: {
307
+ role_arn: ::String,
308
+ delivery_stream_name: ::String,
309
+ separator: ::String?,
310
+ batch_mode: bool?
311
+ }?,
312
+ cloudwatch_metric: Params::cloudwatch_metric_action?,
313
+ cloudwatch_alarm: {
314
+ role_arn: ::String,
315
+ alarm_name: ::String,
316
+ state_reason: ::String,
317
+ state_value: ::String
318
+ }?,
319
+ cloudwatch_logs: {
320
+ role_arn: ::String,
321
+ log_group_name: ::String,
322
+ batch_mode: bool?
323
+ }?,
324
+ elasticsearch: {
325
+ role_arn: ::String,
326
+ endpoint: ::String,
327
+ index: ::String,
328
+ type: ::String,
329
+ id: ::String
330
+ }?,
331
+ salesforce: {
332
+ token: ::String,
333
+ url: ::String
334
+ }?,
335
+ iot_analytics: {
336
+ channel_arn: ::String?,
337
+ channel_name: ::String?,
338
+ batch_mode: bool?,
339
+ role_arn: ::String?
340
+ }?,
341
+ iot_events: {
342
+ input_name: ::String,
343
+ message_id: ::String?,
344
+ batch_mode: bool?,
345
+ role_arn: ::String
346
+ }?,
347
+ iot_site_wise: Params::iot_site_wise_action?,
348
+ step_functions: {
349
+ execution_name_prefix: ::String?,
350
+ state_machine_name: ::String,
351
+ role_arn: ::String
352
+ }?,
353
+ timestream: Params::timestream_action?,
354
+ http: Params::http_action?,
355
+ kafka: Params::kafka_action?,
356
+ open_search: {
357
+ role_arn: ::String,
358
+ endpoint: ::String,
359
+ index: ::String,
360
+ type: ::String,
361
+ id: ::String
362
+ }?,
363
+ location: Params::location_action?
364
+ }
365
+
366
+ type topic_rule_payload = {
367
+ sql: ::String,
368
+ description: ::String?,
369
+ actions: Array[
370
+ Params::action
371
+ ],
372
+ rule_disabled: bool?,
373
+ aws_iot_sql_version: ::String?,
374
+ error_action: Params::action?
375
+ }
376
+
377
+ type put_asset_property_value_entry = {
378
+ entry_id: ::String?,
379
+ asset_id: ::String?,
380
+ property_id: ::String?,
381
+ property_alias: ::String?,
382
+ property_values: Array[
383
+ Params::asset_property_value
384
+ ]
385
+ }
386
+
387
+ type asset_property_value = {
388
+ value: {
389
+ string_value: ::String?,
390
+ integer_value: ::String?,
391
+ double_value: ::String?,
392
+ boolean_value: ::String?
393
+ },
394
+ timestamp: {
395
+ time_in_seconds: ::String,
396
+ offset_in_nanos: ::String?
397
+ },
398
+ quality: ::String?
399
+ }
400
+
401
+ end
402
+ end
403
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.166.0
4
+ version: 1.167.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -67,6 +67,7 @@ files:
67
67
  - lib/aws-sdk-iot/types.rb
68
68
  - sig/client.rbs
69
69
  - sig/errors.rbs
70
+ - sig/params.rbs
70
71
  - sig/resource.rbs
71
72
  - sig/types.rbs
72
73
  - sig/waiters.rbs