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/client.rbs CHANGED
@@ -263,25 +263,7 @@ module Aws
263
263
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#create_audit_suppression-instance_method
264
264
  def create_audit_suppression: (
265
265
  check_name: ::String,
266
- resource_identifier: {
267
- device_certificate_id: ::String?,
268
- ca_certificate_id: ::String?,
269
- cognito_identity_pool_id: ::String?,
270
- client_id: ::String?,
271
- policy_version_identifier: {
272
- policy_name: ::String?,
273
- policy_version_id: ::String?
274
- }?,
275
- account: ::String?,
276
- iam_role_arn: ::String?,
277
- role_alias_arn: ::String?,
278
- issuer_certificate_identifier: {
279
- issuer_certificate_subject: ::String?,
280
- issuer_id: ::String?,
281
- issuer_certificate_serial_number: ::String?
282
- }?,
283
- device_certificate_arn: ::String?
284
- },
266
+ resource_identifier: Params::resource_identifier,
285
267
  ?expiration_date: ::Time,
286
268
  ?suppress_indefinitely: bool,
287
269
  ?description: ::String,
@@ -305,7 +287,7 @@ module Aws
305
287
  {
306
288
  key: ::String,
307
289
  value: ::String?
308
- },
290
+ }
309
291
  ],
310
292
  ?signing_disabled: bool,
311
293
  ?enable_caching_for_http: bool
@@ -328,7 +310,7 @@ module Aws
328
310
  {
329
311
  key: ::String,
330
312
  value: ::String?
331
- },
313
+ }
332
314
  ]
333
315
  ) -> _CreateBillingGroupResponseSuccess
334
316
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBillingGroupResponseSuccess
@@ -361,7 +343,7 @@ module Aws
361
343
  {
362
344
  key: ::String,
363
345
  value: ::String?
364
- },
346
+ }
365
347
  ]
366
348
  ) -> _CreateCertificateProviderResponseSuccess
367
349
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCertificateProviderResponseSuccess
@@ -391,24 +373,8 @@ module Aws
391
373
  {
392
374
  name: ::String,
393
375
  type: ("STRING" | "INTEGER" | "DOUBLE" | "LONG" | "UNSIGNEDLONG" | "BOOLEAN" | "BINARY")?,
394
- value: {
395
- s: ::String?,
396
- b: bool?,
397
- i: ::Integer?,
398
- l: ::Integer?,
399
- d: ::Float?,
400
- bin: ::String?,
401
- ul: ::String?
402
- }?,
403
- default_value: {
404
- s: ::String?,
405
- b: bool?,
406
- i: ::Integer?,
407
- l: ::Integer?,
408
- d: ::Float?,
409
- bin: ::String?,
410
- ul: ::String?
411
- }?,
376
+ value: Params::command_parameter_value?,
377
+ default_value: Params::command_parameter_value?,
412
378
  value_conditions: Array[
413
379
  {
414
380
  comparison_operator: ("EQUALS" | "NOT_EQUALS" | "LESS_THAN" | "LESS_THAN_EQUALS" | "GREATER_THAN" | "GREATER_THAN_EQUALS" | "IN_SET" | "NOT_IN_SET" | "IN_RANGE" | "NOT_IN_RANGE"),
@@ -422,17 +388,17 @@ module Aws
422
388
  max: ::String
423
389
  }?
424
390
  }
425
- },
391
+ }
426
392
  ]?,
427
393
  description: ::String?
428
- },
394
+ }
429
395
  ],
430
396
  ?role_arn: ::String,
431
397
  ?tags: Array[
432
398
  {
433
399
  key: ::String,
434
400
  value: ::String?
435
- },
401
+ }
436
402
  ]
437
403
  ) -> _CreateCommandResponseSuccess
438
404
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCommandResponseSuccess
@@ -451,7 +417,7 @@ module Aws
451
417
  {
452
418
  key: ::String,
453
419
  value: ::String?
454
- },
420
+ }
455
421
  ],
456
422
  client_request_token: ::String
457
423
  ) -> _CreateCustomMetricResponseSuccess
@@ -471,7 +437,7 @@ module Aws
471
437
  {
472
438
  key: ::String,
473
439
  value: ::String?
474
- },
440
+ }
475
441
  ],
476
442
  client_request_token: ::String
477
443
  ) -> _CreateDimensionResponseSuccess
@@ -497,7 +463,7 @@ module Aws
497
463
  {
498
464
  key: ::String,
499
465
  value: ::String?
500
- },
466
+ }
501
467
  ],
502
468
  ?tls_config: {
503
469
  security_policy: ::String?
@@ -541,7 +507,7 @@ module Aws
541
507
  {
542
508
  key: ::String,
543
509
  value: ::String?
544
- },
510
+ }
545
511
  ]
546
512
  ) -> _CreateDynamicThingGroupResponseSuccess
547
513
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDynamicThingGroupResponseSuccess
@@ -569,7 +535,7 @@ module Aws
569
535
  {
570
536
  key: ::String,
571
537
  value: ::String?
572
- },
538
+ }
573
539
  ]
574
540
  ) -> _CreateFleetMetricResponseSuccess
575
541
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFleetMetricResponseSuccess
@@ -592,27 +558,8 @@ module Aws
592
558
  expires_in_sec: ::Integer?
593
559
  },
594
560
  ?target_selection: ("CONTINUOUS" | "SNAPSHOT"),
595
- ?job_executions_rollout_config: {
596
- maximum_per_minute: ::Integer?,
597
- exponential_rate: {
598
- base_rate_per_minute: ::Integer,
599
- increment_factor: ::Float,
600
- rate_increase_criteria: {
601
- number_of_notified_things: ::Integer?,
602
- number_of_succeeded_things: ::Integer?
603
- }
604
- }?
605
- },
606
- ?abort_config: {
607
- criteria_list: Array[
608
- {
609
- failure_type: ("FAILED" | "REJECTED" | "TIMED_OUT" | "ALL"),
610
- action: ("CANCEL"),
611
- threshold_percentage: ::Float,
612
- min_number_of_executed_things: ::Integer
613
- },
614
- ]
615
- },
561
+ ?job_executions_rollout_config: Params::job_executions_rollout_config,
562
+ ?abort_config: Params::abort_config,
616
563
  ?timeout_config: {
617
564
  in_progress_timeout_in_minutes: ::Integer?
618
565
  },
@@ -620,7 +567,7 @@ module Aws
620
567
  {
621
568
  key: ::String,
622
569
  value: ::String?
623
- },
570
+ }
624
571
  ],
625
572
  ?namespace_id: ::String,
626
573
  ?job_template_arn: ::String,
@@ -629,7 +576,7 @@ module Aws
629
576
  {
630
577
  failure_type: ("FAILED" | "TIMED_OUT" | "ALL"),
631
578
  number_of_retries: ::Integer
632
- },
579
+ }
633
580
  ]
634
581
  },
635
582
  ?document_parameters: Hash[::String, ::String],
@@ -641,7 +588,7 @@ module Aws
641
588
  {
642
589
  start_time: ::String,
643
590
  duration_in_minutes: ::Integer
644
- },
591
+ }
645
592
  ]?
646
593
  },
647
594
  ?destination_package_versions: Array[::String]
@@ -664,27 +611,8 @@ module Aws
664
611
  role_arn: ::String?,
665
612
  expires_in_sec: ::Integer?
666
613
  },
667
- ?job_executions_rollout_config: {
668
- maximum_per_minute: ::Integer?,
669
- exponential_rate: {
670
- base_rate_per_minute: ::Integer,
671
- increment_factor: ::Float,
672
- rate_increase_criteria: {
673
- number_of_notified_things: ::Integer?,
674
- number_of_succeeded_things: ::Integer?
675
- }
676
- }?
677
- },
678
- ?abort_config: {
679
- criteria_list: Array[
680
- {
681
- failure_type: ("FAILED" | "REJECTED" | "TIMED_OUT" | "ALL"),
682
- action: ("CANCEL"),
683
- threshold_percentage: ::Float,
684
- min_number_of_executed_things: ::Integer
685
- },
686
- ]
687
- },
614
+ ?job_executions_rollout_config: Params::job_executions_rollout_config,
615
+ ?abort_config: Params::abort_config,
688
616
  ?timeout_config: {
689
617
  in_progress_timeout_in_minutes: ::Integer?
690
618
  },
@@ -692,21 +620,21 @@ module Aws
692
620
  {
693
621
  key: ::String,
694
622
  value: ::String?
695
- },
623
+ }
696
624
  ],
697
625
  ?job_executions_retry_config: {
698
626
  criteria_list: Array[
699
627
  {
700
628
  failure_type: ("FAILED" | "TIMED_OUT" | "ALL"),
701
629
  number_of_retries: ::Integer
702
- },
630
+ }
703
631
  ]
704
632
  },
705
633
  ?maintenance_windows: Array[
706
634
  {
707
635
  start_time: ::String,
708
636
  duration_in_minutes: ::Integer
709
- },
637
+ }
710
638
  ],
711
639
  ?destination_package_versions: Array[::String]
712
640
  ) -> _CreateJobTemplateResponseSuccess
@@ -734,33 +662,12 @@ module Aws
734
662
  def create_mitigation_action: (
735
663
  action_name: ::String,
736
664
  role_arn: ::String,
737
- action_params: {
738
- update_device_certificate_params: {
739
- action: ("DEACTIVATE")
740
- }?,
741
- update_ca_certificate_params: {
742
- action: ("DEACTIVATE")
743
- }?,
744
- add_things_to_thing_group_params: {
745
- thing_group_names: Array[::String],
746
- override_dynamic_groups: bool?
747
- }?,
748
- replace_default_policy_version_params: {
749
- template_name: ("BLANK_POLICY")
750
- }?,
751
- enable_io_t_logging_params: {
752
- role_arn_for_logging: ::String,
753
- log_level: ("DEBUG" | "INFO" | "ERROR" | "WARN" | "DISABLED")
754
- }?,
755
- publish_finding_to_sns_params: {
756
- topic_arn: ::String
757
- }?
758
- },
665
+ action_params: Params::mitigation_action_params,
759
666
  ?tags: Array[
760
667
  {
761
668
  key: ::String,
762
669
  value: ::String?
763
- },
670
+ }
764
671
  ]
765
672
  ) -> _CreateMitigationActionResponseSuccess
766
673
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMitigationActionResponseSuccess
@@ -801,7 +708,7 @@ module Aws
801
708
  action: ("CANCEL"),
802
709
  threshold_percentage: ::Float,
803
710
  min_number_of_executed_things: ::Integer
804
- },
711
+ }
805
712
  ]
806
713
  },
807
714
  ?aws_job_timeout_config: {
@@ -852,7 +759,7 @@ module Aws
852
759
  }?
853
760
  }?,
854
761
  attributes: Hash[::String, ::String]?
855
- },
762
+ }
856
763
  ],
857
764
  role_arn: ::String,
858
765
  ?additional_parameters: Hash[::String, ::String],
@@ -860,7 +767,7 @@ module Aws
860
767
  {
861
768
  key: ::String,
862
769
  value: ::String?
863
- },
770
+ }
864
771
  ]
865
772
  ) -> _CreateOTAUpdateResponseSuccess
866
773
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateOTAUpdateResponseSuccess
@@ -924,7 +831,7 @@ module Aws
924
831
  {
925
832
  key: ::String,
926
833
  value: ::String?
927
- },
834
+ }
928
835
  ]
929
836
  ) -> _CreatePolicyResponseSuccess
930
837
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePolicyResponseSuccess
@@ -978,7 +885,7 @@ module Aws
978
885
  {
979
886
  key: ::String,
980
887
  value: ::String?
981
- },
888
+ }
982
889
  ],
983
890
  ?type: ("FLEET_PROVISIONING" | "JITP")
984
891
  ) -> _CreateProvisioningTemplateResponseSuccess
@@ -1013,7 +920,7 @@ module Aws
1013
920
  {
1014
921
  key: ::String,
1015
922
  value: ::String?
1016
- },
923
+ }
1017
924
  ]
1018
925
  ) -> _CreateRoleAliasResponseSuccess
1019
926
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRoleAliasResponseSuccess
@@ -1033,7 +940,7 @@ module Aws
1033
940
  {
1034
941
  key: ::String,
1035
942
  value: ::String?
1036
- },
943
+ }
1037
944
  ]
1038
945
  ) -> _CreateScheduledAuditResponseSuccess
1039
946
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScheduledAuditResponseSuccess
@@ -1048,36 +955,7 @@ module Aws
1048
955
  security_profile_name: ::String,
1049
956
  ?security_profile_description: ::String,
1050
957
  ?behaviors: Array[
1051
- {
1052
- name: ::String,
1053
- metric: ::String?,
1054
- metric_dimension: {
1055
- dimension_name: ::String,
1056
- operator: ("IN" | "NOT_IN")?
1057
- }?,
1058
- criteria: {
1059
- 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")?,
1060
- value: {
1061
- count: ::Integer?,
1062
- cidrs: Array[::String]?,
1063
- ports: Array[::Integer]?,
1064
- number: ::Float?,
1065
- numbers: Array[::Float]?,
1066
- strings: Array[::String]?
1067
- }?,
1068
- duration_seconds: ::Integer?,
1069
- consecutive_datapoints_to_alarm: ::Integer?,
1070
- consecutive_datapoints_to_clear: ::Integer?,
1071
- statistical_threshold: {
1072
- statistic: ::String?
1073
- }?,
1074
- ml_detection_config: {
1075
- confidence_level: ("LOW" | "MEDIUM" | "HIGH")
1076
- }?
1077
- }?,
1078
- suppress_alerts: bool?,
1079
- export_metric: bool?
1080
- },
958
+ Params::behavior
1081
959
  ],
1082
960
  ?alert_targets: Hash[("SNS"), {
1083
961
  alert_target_arn: ::String,
@@ -1085,20 +963,13 @@ module Aws
1085
963
  }],
1086
964
  ?additional_metrics_to_retain: Array[::String],
1087
965
  ?additional_metrics_to_retain_v2: Array[
1088
- {
1089
- metric: ::String,
1090
- metric_dimension: {
1091
- dimension_name: ::String,
1092
- operator: ("IN" | "NOT_IN")?
1093
- }?,
1094
- export_metric: bool?
1095
- },
966
+ Params::metric_to_retain
1096
967
  ],
1097
968
  ?tags: Array[
1098
969
  {
1099
970
  key: ::String,
1100
971
  value: ::String?
1101
- },
972
+ }
1102
973
  ],
1103
974
  ?metrics_export_config: {
1104
975
  mqtt_topic: ::String,
@@ -1119,21 +990,14 @@ module Aws
1119
990
  stream_id: ::String,
1120
991
  ?description: ::String,
1121
992
  files: Array[
1122
- {
1123
- file_id: ::Integer?,
1124
- s3_location: {
1125
- bucket: ::String?,
1126
- key: ::String?,
1127
- version: ::String?
1128
- }?
1129
- },
993
+ Params::stream_file
1130
994
  ],
1131
995
  role_arn: ::String,
1132
996
  ?tags: Array[
1133
997
  {
1134
998
  key: ::String,
1135
999
  value: ::String?
1136
- },
1000
+ }
1137
1001
  ]
1138
1002
  ) -> _CreateStreamResponseSuccess
1139
1003
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStreamResponseSuccess
@@ -1177,7 +1041,7 @@ module Aws
1177
1041
  {
1178
1042
  key: ::String,
1179
1043
  value: ::String?
1180
- },
1044
+ }
1181
1045
  ]
1182
1046
  ) -> _CreateThingGroupResponseSuccess
1183
1047
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateThingGroupResponseSuccess
@@ -1191,24 +1055,12 @@ module Aws
1191
1055
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#create_thing_type-instance_method
1192
1056
  def create_thing_type: (
1193
1057
  thing_type_name: ::String,
1194
- ?thing_type_properties: {
1195
- thing_type_description: ::String?,
1196
- searchable_attributes: Array[::String]?,
1197
- mqtt5_configuration: {
1198
- propagating_attributes: Array[
1199
- {
1200
- user_property_key: ::String?,
1201
- thing_attribute: ::String?,
1202
- connection_attribute: ::String?
1203
- },
1204
- ]?
1205
- }?
1206
- },
1058
+ ?thing_type_properties: Params::thing_type_properties,
1207
1059
  ?tags: Array[
1208
1060
  {
1209
1061
  key: ::String,
1210
1062
  value: ::String?
1211
- },
1063
+ }
1212
1064
  ]
1213
1065
  ) -> _CreateThingTypeResponseSuccess
1214
1066
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateThingTypeResponseSuccess
@@ -1216,436 +1068,7 @@ module Aws
1216
1068
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#create_topic_rule-instance_method
1217
1069
  def create_topic_rule: (
1218
1070
  rule_name: ::String,
1219
- topic_rule_payload: {
1220
- sql: ::String,
1221
- description: ::String?,
1222
- actions: Array[
1223
- {
1224
- dynamo_db: {
1225
- table_name: ::String,
1226
- role_arn: ::String,
1227
- operation: ::String?,
1228
- hash_key_field: ::String,
1229
- hash_key_value: ::String,
1230
- hash_key_type: ("STRING" | "NUMBER")?,
1231
- range_key_field: ::String?,
1232
- range_key_value: ::String?,
1233
- range_key_type: ("STRING" | "NUMBER")?,
1234
- payload_field: ::String?
1235
- }?,
1236
- dynamo_d_bv_2: {
1237
- role_arn: ::String,
1238
- put_item: {
1239
- table_name: ::String
1240
- }
1241
- }?,
1242
- lambda: {
1243
- function_arn: ::String
1244
- }?,
1245
- sns: {
1246
- target_arn: ::String,
1247
- role_arn: ::String,
1248
- message_format: ("RAW" | "JSON")?
1249
- }?,
1250
- sqs: {
1251
- role_arn: ::String,
1252
- queue_url: ::String,
1253
- use_base_64: bool?
1254
- }?,
1255
- kinesis: {
1256
- role_arn: ::String,
1257
- stream_name: ::String,
1258
- partition_key: ::String?
1259
- }?,
1260
- republish: {
1261
- role_arn: ::String,
1262
- topic: ::String,
1263
- qos: ::Integer?,
1264
- headers: {
1265
- payload_format_indicator: ::String?,
1266
- content_type: ::String?,
1267
- response_topic: ::String?,
1268
- correlation_data: ::String?,
1269
- message_expiry: ::String?,
1270
- user_properties: Array[
1271
- {
1272
- key: ::String,
1273
- value: ::String
1274
- },
1275
- ]?
1276
- }?
1277
- }?,
1278
- s3: {
1279
- role_arn: ::String,
1280
- bucket_name: ::String,
1281
- key: ::String,
1282
- canned_acl: ("private" | "public-read" | "public-read-write" | "aws-exec-read" | "authenticated-read" | "bucket-owner-read" | "bucket-owner-full-control" | "log-delivery-write")?
1283
- }?,
1284
- firehose: {
1285
- role_arn: ::String,
1286
- delivery_stream_name: ::String,
1287
- separator: ::String?,
1288
- batch_mode: bool?
1289
- }?,
1290
- cloudwatch_metric: {
1291
- role_arn: ::String,
1292
- metric_namespace: ::String,
1293
- metric_name: ::String,
1294
- metric_value: ::String,
1295
- metric_unit: ::String,
1296
- metric_timestamp: ::String?
1297
- }?,
1298
- cloudwatch_alarm: {
1299
- role_arn: ::String,
1300
- alarm_name: ::String,
1301
- state_reason: ::String,
1302
- state_value: ::String
1303
- }?,
1304
- cloudwatch_logs: {
1305
- role_arn: ::String,
1306
- log_group_name: ::String,
1307
- batch_mode: bool?
1308
- }?,
1309
- elasticsearch: {
1310
- role_arn: ::String,
1311
- endpoint: ::String,
1312
- index: ::String,
1313
- type: ::String,
1314
- id: ::String
1315
- }?,
1316
- salesforce: {
1317
- token: ::String,
1318
- url: ::String
1319
- }?,
1320
- iot_analytics: {
1321
- channel_arn: ::String?,
1322
- channel_name: ::String?,
1323
- batch_mode: bool?,
1324
- role_arn: ::String?
1325
- }?,
1326
- iot_events: {
1327
- input_name: ::String,
1328
- message_id: ::String?,
1329
- batch_mode: bool?,
1330
- role_arn: ::String
1331
- }?,
1332
- iot_site_wise: {
1333
- put_asset_property_value_entries: Array[
1334
- {
1335
- entry_id: ::String?,
1336
- asset_id: ::String?,
1337
- property_id: ::String?,
1338
- property_alias: ::String?,
1339
- property_values: Array[
1340
- {
1341
- value: {
1342
- string_value: ::String?,
1343
- integer_value: ::String?,
1344
- double_value: ::String?,
1345
- boolean_value: ::String?
1346
- },
1347
- timestamp: {
1348
- time_in_seconds: ::String,
1349
- offset_in_nanos: ::String?
1350
- },
1351
- quality: ::String?
1352
- },
1353
- ]
1354
- },
1355
- ],
1356
- role_arn: ::String
1357
- }?,
1358
- step_functions: {
1359
- execution_name_prefix: ::String?,
1360
- state_machine_name: ::String,
1361
- role_arn: ::String
1362
- }?,
1363
- timestream: {
1364
- role_arn: ::String,
1365
- database_name: ::String,
1366
- table_name: ::String,
1367
- dimensions: Array[
1368
- {
1369
- name: ::String,
1370
- value: ::String
1371
- },
1372
- ],
1373
- timestamp: {
1374
- value: ::String,
1375
- unit: ::String
1376
- }?
1377
- }?,
1378
- http: {
1379
- url: ::String,
1380
- confirmation_url: ::String?,
1381
- headers: Array[
1382
- {
1383
- key: ::String,
1384
- value: ::String
1385
- },
1386
- ]?,
1387
- auth: {
1388
- sigv4: {
1389
- signing_region: ::String,
1390
- service_name: ::String,
1391
- role_arn: ::String
1392
- }?
1393
- }?,
1394
- enable_batching: bool?,
1395
- batch_config: {
1396
- max_batch_open_ms: ::Integer?,
1397
- max_batch_size: ::Integer?,
1398
- max_batch_size_bytes: ::Integer?,
1399
- batch_across_topics: bool?
1400
- }?
1401
- }?,
1402
- kafka: {
1403
- destination_arn: ::String,
1404
- topic: ::String,
1405
- key: ::String?,
1406
- partition: ::String?,
1407
- client_properties: Hash[::String, ::String],
1408
- headers: Array[
1409
- {
1410
- key: ::String,
1411
- value: ::String
1412
- },
1413
- ]?
1414
- }?,
1415
- open_search: {
1416
- role_arn: ::String,
1417
- endpoint: ::String,
1418
- index: ::String,
1419
- type: ::String,
1420
- id: ::String
1421
- }?,
1422
- location: {
1423
- role_arn: ::String,
1424
- tracker_name: ::String,
1425
- device_id: ::String,
1426
- timestamp: {
1427
- value: ::String,
1428
- unit: ::String?
1429
- }?,
1430
- latitude: ::String,
1431
- longitude: ::String
1432
- }?
1433
- },
1434
- ],
1435
- rule_disabled: bool?,
1436
- aws_iot_sql_version: ::String?,
1437
- error_action: {
1438
- dynamo_db: {
1439
- table_name: ::String,
1440
- role_arn: ::String,
1441
- operation: ::String?,
1442
- hash_key_field: ::String,
1443
- hash_key_value: ::String,
1444
- hash_key_type: ("STRING" | "NUMBER")?,
1445
- range_key_field: ::String?,
1446
- range_key_value: ::String?,
1447
- range_key_type: ("STRING" | "NUMBER")?,
1448
- payload_field: ::String?
1449
- }?,
1450
- dynamo_d_bv_2: {
1451
- role_arn: ::String,
1452
- put_item: {
1453
- table_name: ::String
1454
- }
1455
- }?,
1456
- lambda: {
1457
- function_arn: ::String
1458
- }?,
1459
- sns: {
1460
- target_arn: ::String,
1461
- role_arn: ::String,
1462
- message_format: ("RAW" | "JSON")?
1463
- }?,
1464
- sqs: {
1465
- role_arn: ::String,
1466
- queue_url: ::String,
1467
- use_base_64: bool?
1468
- }?,
1469
- kinesis: {
1470
- role_arn: ::String,
1471
- stream_name: ::String,
1472
- partition_key: ::String?
1473
- }?,
1474
- republish: {
1475
- role_arn: ::String,
1476
- topic: ::String,
1477
- qos: ::Integer?,
1478
- headers: {
1479
- payload_format_indicator: ::String?,
1480
- content_type: ::String?,
1481
- response_topic: ::String?,
1482
- correlation_data: ::String?,
1483
- message_expiry: ::String?,
1484
- user_properties: Array[
1485
- {
1486
- key: ::String,
1487
- value: ::String
1488
- },
1489
- ]?
1490
- }?
1491
- }?,
1492
- s3: {
1493
- role_arn: ::String,
1494
- bucket_name: ::String,
1495
- key: ::String,
1496
- canned_acl: ("private" | "public-read" | "public-read-write" | "aws-exec-read" | "authenticated-read" | "bucket-owner-read" | "bucket-owner-full-control" | "log-delivery-write")?
1497
- }?,
1498
- firehose: {
1499
- role_arn: ::String,
1500
- delivery_stream_name: ::String,
1501
- separator: ::String?,
1502
- batch_mode: bool?
1503
- }?,
1504
- cloudwatch_metric: {
1505
- role_arn: ::String,
1506
- metric_namespace: ::String,
1507
- metric_name: ::String,
1508
- metric_value: ::String,
1509
- metric_unit: ::String,
1510
- metric_timestamp: ::String?
1511
- }?,
1512
- cloudwatch_alarm: {
1513
- role_arn: ::String,
1514
- alarm_name: ::String,
1515
- state_reason: ::String,
1516
- state_value: ::String
1517
- }?,
1518
- cloudwatch_logs: {
1519
- role_arn: ::String,
1520
- log_group_name: ::String,
1521
- batch_mode: bool?
1522
- }?,
1523
- elasticsearch: {
1524
- role_arn: ::String,
1525
- endpoint: ::String,
1526
- index: ::String,
1527
- type: ::String,
1528
- id: ::String
1529
- }?,
1530
- salesforce: {
1531
- token: ::String,
1532
- url: ::String
1533
- }?,
1534
- iot_analytics: {
1535
- channel_arn: ::String?,
1536
- channel_name: ::String?,
1537
- batch_mode: bool?,
1538
- role_arn: ::String?
1539
- }?,
1540
- iot_events: {
1541
- input_name: ::String,
1542
- message_id: ::String?,
1543
- batch_mode: bool?,
1544
- role_arn: ::String
1545
- }?,
1546
- iot_site_wise: {
1547
- put_asset_property_value_entries: Array[
1548
- {
1549
- entry_id: ::String?,
1550
- asset_id: ::String?,
1551
- property_id: ::String?,
1552
- property_alias: ::String?,
1553
- property_values: Array[
1554
- {
1555
- value: {
1556
- string_value: ::String?,
1557
- integer_value: ::String?,
1558
- double_value: ::String?,
1559
- boolean_value: ::String?
1560
- },
1561
- timestamp: {
1562
- time_in_seconds: ::String,
1563
- offset_in_nanos: ::String?
1564
- },
1565
- quality: ::String?
1566
- },
1567
- ]
1568
- },
1569
- ],
1570
- role_arn: ::String
1571
- }?,
1572
- step_functions: {
1573
- execution_name_prefix: ::String?,
1574
- state_machine_name: ::String,
1575
- role_arn: ::String
1576
- }?,
1577
- timestream: {
1578
- role_arn: ::String,
1579
- database_name: ::String,
1580
- table_name: ::String,
1581
- dimensions: Array[
1582
- {
1583
- name: ::String,
1584
- value: ::String
1585
- },
1586
- ],
1587
- timestamp: {
1588
- value: ::String,
1589
- unit: ::String
1590
- }?
1591
- }?,
1592
- http: {
1593
- url: ::String,
1594
- confirmation_url: ::String?,
1595
- headers: Array[
1596
- {
1597
- key: ::String,
1598
- value: ::String
1599
- },
1600
- ]?,
1601
- auth: {
1602
- sigv4: {
1603
- signing_region: ::String,
1604
- service_name: ::String,
1605
- role_arn: ::String
1606
- }?
1607
- }?,
1608
- enable_batching: bool?,
1609
- batch_config: {
1610
- max_batch_open_ms: ::Integer?,
1611
- max_batch_size: ::Integer?,
1612
- max_batch_size_bytes: ::Integer?,
1613
- batch_across_topics: bool?
1614
- }?
1615
- }?,
1616
- kafka: {
1617
- destination_arn: ::String,
1618
- topic: ::String,
1619
- key: ::String?,
1620
- partition: ::String?,
1621
- client_properties: Hash[::String, ::String],
1622
- headers: Array[
1623
- {
1624
- key: ::String,
1625
- value: ::String
1626
- },
1627
- ]?
1628
- }?,
1629
- open_search: {
1630
- role_arn: ::String,
1631
- endpoint: ::String,
1632
- index: ::String,
1633
- type: ::String,
1634
- id: ::String
1635
- }?,
1636
- location: {
1637
- role_arn: ::String,
1638
- tracker_name: ::String,
1639
- device_id: ::String,
1640
- timestamp: {
1641
- value: ::String,
1642
- unit: ::String?
1643
- }?,
1644
- latitude: ::String,
1645
- longitude: ::String
1646
- }?
1647
- }?
1648
- },
1071
+ topic_rule_payload: Params::topic_rule_payload,
1649
1072
  ?tags: ::String
1650
1073
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1651
1074
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -1685,25 +1108,7 @@ module Aws
1685
1108
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#delete_audit_suppression-instance_method
1686
1109
  def delete_audit_suppression: (
1687
1110
  check_name: ::String,
1688
- resource_identifier: {
1689
- device_certificate_id: ::String?,
1690
- ca_certificate_id: ::String?,
1691
- cognito_identity_pool_id: ::String?,
1692
- client_id: ::String?,
1693
- policy_version_identifier: {
1694
- policy_name: ::String?,
1695
- policy_version_id: ::String?
1696
- }?,
1697
- account: ::String?,
1698
- iam_role_arn: ::String?,
1699
- role_alias_arn: ::String?,
1700
- issuer_certificate_identifier: {
1701
- issuer_certificate_subject: ::String?,
1702
- issuer_id: ::String?,
1703
- issuer_certificate_serial_number: ::String?
1704
- }?,
1705
- device_certificate_arn: ::String?
1706
- }
1111
+ resource_identifier: Params::resource_identifier
1707
1112
  ) -> _DeleteAuditSuppressionResponseSuccess
1708
1113
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAuditSuppressionResponseSuccess
1709
1114
 
@@ -2066,25 +1471,7 @@ module Aws
2066
1471
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#describe_audit_suppression-instance_method
2067
1472
  def describe_audit_suppression: (
2068
1473
  check_name: ::String,
2069
- resource_identifier: {
2070
- device_certificate_id: ::String?,
2071
- ca_certificate_id: ::String?,
2072
- cognito_identity_pool_id: ::String?,
2073
- client_id: ::String?,
2074
- policy_version_identifier: {
2075
- policy_name: ::String?,
2076
- policy_version_id: ::String?
2077
- }?,
2078
- account: ::String?,
2079
- iam_role_arn: ::String?,
2080
- role_alias_arn: ::String?,
2081
- issuer_certificate_identifier: {
2082
- issuer_certificate_subject: ::String?,
2083
- issuer_id: ::String?,
2084
- issuer_certificate_serial_number: ::String?
2085
- }?,
2086
- device_certificate_arn: ::String?
2087
- }
1474
+ resource_identifier: Params::resource_identifier
2088
1475
  ) -> _DescribeAuditSuppressionResponseSuccess
2089
1476
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAuditSuppressionResponseSuccess
2090
1477
 
@@ -2950,25 +2337,7 @@ module Aws
2950
2337
  def list_audit_findings: (
2951
2338
  ?task_id: ::String,
2952
2339
  ?check_name: ::String,
2953
- ?resource_identifier: {
2954
- device_certificate_id: ::String?,
2955
- ca_certificate_id: ::String?,
2956
- cognito_identity_pool_id: ::String?,
2957
- client_id: ::String?,
2958
- policy_version_identifier: {
2959
- policy_name: ::String?,
2960
- policy_version_id: ::String?
2961
- }?,
2962
- account: ::String?,
2963
- iam_role_arn: ::String?,
2964
- role_alias_arn: ::String?,
2965
- issuer_certificate_identifier: {
2966
- issuer_certificate_subject: ::String?,
2967
- issuer_id: ::String?,
2968
- issuer_certificate_serial_number: ::String?
2969
- }?,
2970
- device_certificate_arn: ::String?
2971
- },
2340
+ ?resource_identifier: Params::resource_identifier,
2972
2341
  ?max_results: ::Integer,
2973
2342
  ?next_token: ::String,
2974
2343
  ?start_time: ::Time,
@@ -3017,25 +2386,7 @@ module Aws
3017
2386
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#list_audit_suppressions-instance_method
3018
2387
  def list_audit_suppressions: (
3019
2388
  ?check_name: ::String,
3020
- ?resource_identifier: {
3021
- device_certificate_id: ::String?,
3022
- ca_certificate_id: ::String?,
3023
- cognito_identity_pool_id: ::String?,
3024
- client_id: ::String?,
3025
- policy_version_identifier: {
3026
- policy_name: ::String?,
3027
- policy_version_id: ::String?
3028
- }?,
3029
- account: ::String?,
3030
- iam_role_arn: ::String?,
3031
- role_alias_arn: ::String?,
3032
- issuer_certificate_identifier: {
3033
- issuer_certificate_subject: ::String?,
3034
- issuer_id: ::String?,
3035
- issuer_certificate_serial_number: ::String?
3036
- }?,
3037
- device_certificate_arn: ::String?
3038
- },
2389
+ ?resource_identifier: Params::resource_identifier,
3039
2390
  ?ascending_order: bool,
3040
2391
  ?next_token: ::String,
3041
2392
  ?max_results: ::Integer
@@ -3888,7 +3239,7 @@ module Aws
3888
3239
  {
3889
3240
  key: ::String,
3890
3241
  value: ::String?
3891
- },
3242
+ }
3892
3243
  ],
3893
3244
  ?certificate_mode: ("DEFAULT" | "SNI_ONLY")
3894
3245
  ) -> _RegisterCACertificateResponseSuccess
@@ -3966,436 +3317,7 @@ module Aws
3966
3317
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#replace_topic_rule-instance_method
3967
3318
  def replace_topic_rule: (
3968
3319
  rule_name: ::String,
3969
- topic_rule_payload: {
3970
- sql: ::String,
3971
- description: ::String?,
3972
- actions: Array[
3973
- {
3974
- dynamo_db: {
3975
- table_name: ::String,
3976
- role_arn: ::String,
3977
- operation: ::String?,
3978
- hash_key_field: ::String,
3979
- hash_key_value: ::String,
3980
- hash_key_type: ("STRING" | "NUMBER")?,
3981
- range_key_field: ::String?,
3982
- range_key_value: ::String?,
3983
- range_key_type: ("STRING" | "NUMBER")?,
3984
- payload_field: ::String?
3985
- }?,
3986
- dynamo_d_bv_2: {
3987
- role_arn: ::String,
3988
- put_item: {
3989
- table_name: ::String
3990
- }
3991
- }?,
3992
- lambda: {
3993
- function_arn: ::String
3994
- }?,
3995
- sns: {
3996
- target_arn: ::String,
3997
- role_arn: ::String,
3998
- message_format: ("RAW" | "JSON")?
3999
- }?,
4000
- sqs: {
4001
- role_arn: ::String,
4002
- queue_url: ::String,
4003
- use_base_64: bool?
4004
- }?,
4005
- kinesis: {
4006
- role_arn: ::String,
4007
- stream_name: ::String,
4008
- partition_key: ::String?
4009
- }?,
4010
- republish: {
4011
- role_arn: ::String,
4012
- topic: ::String,
4013
- qos: ::Integer?,
4014
- headers: {
4015
- payload_format_indicator: ::String?,
4016
- content_type: ::String?,
4017
- response_topic: ::String?,
4018
- correlation_data: ::String?,
4019
- message_expiry: ::String?,
4020
- user_properties: Array[
4021
- {
4022
- key: ::String,
4023
- value: ::String
4024
- },
4025
- ]?
4026
- }?
4027
- }?,
4028
- s3: {
4029
- role_arn: ::String,
4030
- bucket_name: ::String,
4031
- key: ::String,
4032
- canned_acl: ("private" | "public-read" | "public-read-write" | "aws-exec-read" | "authenticated-read" | "bucket-owner-read" | "bucket-owner-full-control" | "log-delivery-write")?
4033
- }?,
4034
- firehose: {
4035
- role_arn: ::String,
4036
- delivery_stream_name: ::String,
4037
- separator: ::String?,
4038
- batch_mode: bool?
4039
- }?,
4040
- cloudwatch_metric: {
4041
- role_arn: ::String,
4042
- metric_namespace: ::String,
4043
- metric_name: ::String,
4044
- metric_value: ::String,
4045
- metric_unit: ::String,
4046
- metric_timestamp: ::String?
4047
- }?,
4048
- cloudwatch_alarm: {
4049
- role_arn: ::String,
4050
- alarm_name: ::String,
4051
- state_reason: ::String,
4052
- state_value: ::String
4053
- }?,
4054
- cloudwatch_logs: {
4055
- role_arn: ::String,
4056
- log_group_name: ::String,
4057
- batch_mode: bool?
4058
- }?,
4059
- elasticsearch: {
4060
- role_arn: ::String,
4061
- endpoint: ::String,
4062
- index: ::String,
4063
- type: ::String,
4064
- id: ::String
4065
- }?,
4066
- salesforce: {
4067
- token: ::String,
4068
- url: ::String
4069
- }?,
4070
- iot_analytics: {
4071
- channel_arn: ::String?,
4072
- channel_name: ::String?,
4073
- batch_mode: bool?,
4074
- role_arn: ::String?
4075
- }?,
4076
- iot_events: {
4077
- input_name: ::String,
4078
- message_id: ::String?,
4079
- batch_mode: bool?,
4080
- role_arn: ::String
4081
- }?,
4082
- iot_site_wise: {
4083
- put_asset_property_value_entries: Array[
4084
- {
4085
- entry_id: ::String?,
4086
- asset_id: ::String?,
4087
- property_id: ::String?,
4088
- property_alias: ::String?,
4089
- property_values: Array[
4090
- {
4091
- value: {
4092
- string_value: ::String?,
4093
- integer_value: ::String?,
4094
- double_value: ::String?,
4095
- boolean_value: ::String?
4096
- },
4097
- timestamp: {
4098
- time_in_seconds: ::String,
4099
- offset_in_nanos: ::String?
4100
- },
4101
- quality: ::String?
4102
- },
4103
- ]
4104
- },
4105
- ],
4106
- role_arn: ::String
4107
- }?,
4108
- step_functions: {
4109
- execution_name_prefix: ::String?,
4110
- state_machine_name: ::String,
4111
- role_arn: ::String
4112
- }?,
4113
- timestream: {
4114
- role_arn: ::String,
4115
- database_name: ::String,
4116
- table_name: ::String,
4117
- dimensions: Array[
4118
- {
4119
- name: ::String,
4120
- value: ::String
4121
- },
4122
- ],
4123
- timestamp: {
4124
- value: ::String,
4125
- unit: ::String
4126
- }?
4127
- }?,
4128
- http: {
4129
- url: ::String,
4130
- confirmation_url: ::String?,
4131
- headers: Array[
4132
- {
4133
- key: ::String,
4134
- value: ::String
4135
- },
4136
- ]?,
4137
- auth: {
4138
- sigv4: {
4139
- signing_region: ::String,
4140
- service_name: ::String,
4141
- role_arn: ::String
4142
- }?
4143
- }?,
4144
- enable_batching: bool?,
4145
- batch_config: {
4146
- max_batch_open_ms: ::Integer?,
4147
- max_batch_size: ::Integer?,
4148
- max_batch_size_bytes: ::Integer?,
4149
- batch_across_topics: bool?
4150
- }?
4151
- }?,
4152
- kafka: {
4153
- destination_arn: ::String,
4154
- topic: ::String,
4155
- key: ::String?,
4156
- partition: ::String?,
4157
- client_properties: Hash[::String, ::String],
4158
- headers: Array[
4159
- {
4160
- key: ::String,
4161
- value: ::String
4162
- },
4163
- ]?
4164
- }?,
4165
- open_search: {
4166
- role_arn: ::String,
4167
- endpoint: ::String,
4168
- index: ::String,
4169
- type: ::String,
4170
- id: ::String
4171
- }?,
4172
- location: {
4173
- role_arn: ::String,
4174
- tracker_name: ::String,
4175
- device_id: ::String,
4176
- timestamp: {
4177
- value: ::String,
4178
- unit: ::String?
4179
- }?,
4180
- latitude: ::String,
4181
- longitude: ::String
4182
- }?
4183
- },
4184
- ],
4185
- rule_disabled: bool?,
4186
- aws_iot_sql_version: ::String?,
4187
- error_action: {
4188
- dynamo_db: {
4189
- table_name: ::String,
4190
- role_arn: ::String,
4191
- operation: ::String?,
4192
- hash_key_field: ::String,
4193
- hash_key_value: ::String,
4194
- hash_key_type: ("STRING" | "NUMBER")?,
4195
- range_key_field: ::String?,
4196
- range_key_value: ::String?,
4197
- range_key_type: ("STRING" | "NUMBER")?,
4198
- payload_field: ::String?
4199
- }?,
4200
- dynamo_d_bv_2: {
4201
- role_arn: ::String,
4202
- put_item: {
4203
- table_name: ::String
4204
- }
4205
- }?,
4206
- lambda: {
4207
- function_arn: ::String
4208
- }?,
4209
- sns: {
4210
- target_arn: ::String,
4211
- role_arn: ::String,
4212
- message_format: ("RAW" | "JSON")?
4213
- }?,
4214
- sqs: {
4215
- role_arn: ::String,
4216
- queue_url: ::String,
4217
- use_base_64: bool?
4218
- }?,
4219
- kinesis: {
4220
- role_arn: ::String,
4221
- stream_name: ::String,
4222
- partition_key: ::String?
4223
- }?,
4224
- republish: {
4225
- role_arn: ::String,
4226
- topic: ::String,
4227
- qos: ::Integer?,
4228
- headers: {
4229
- payload_format_indicator: ::String?,
4230
- content_type: ::String?,
4231
- response_topic: ::String?,
4232
- correlation_data: ::String?,
4233
- message_expiry: ::String?,
4234
- user_properties: Array[
4235
- {
4236
- key: ::String,
4237
- value: ::String
4238
- },
4239
- ]?
4240
- }?
4241
- }?,
4242
- s3: {
4243
- role_arn: ::String,
4244
- bucket_name: ::String,
4245
- key: ::String,
4246
- canned_acl: ("private" | "public-read" | "public-read-write" | "aws-exec-read" | "authenticated-read" | "bucket-owner-read" | "bucket-owner-full-control" | "log-delivery-write")?
4247
- }?,
4248
- firehose: {
4249
- role_arn: ::String,
4250
- delivery_stream_name: ::String,
4251
- separator: ::String?,
4252
- batch_mode: bool?
4253
- }?,
4254
- cloudwatch_metric: {
4255
- role_arn: ::String,
4256
- metric_namespace: ::String,
4257
- metric_name: ::String,
4258
- metric_value: ::String,
4259
- metric_unit: ::String,
4260
- metric_timestamp: ::String?
4261
- }?,
4262
- cloudwatch_alarm: {
4263
- role_arn: ::String,
4264
- alarm_name: ::String,
4265
- state_reason: ::String,
4266
- state_value: ::String
4267
- }?,
4268
- cloudwatch_logs: {
4269
- role_arn: ::String,
4270
- log_group_name: ::String,
4271
- batch_mode: bool?
4272
- }?,
4273
- elasticsearch: {
4274
- role_arn: ::String,
4275
- endpoint: ::String,
4276
- index: ::String,
4277
- type: ::String,
4278
- id: ::String
4279
- }?,
4280
- salesforce: {
4281
- token: ::String,
4282
- url: ::String
4283
- }?,
4284
- iot_analytics: {
4285
- channel_arn: ::String?,
4286
- channel_name: ::String?,
4287
- batch_mode: bool?,
4288
- role_arn: ::String?
4289
- }?,
4290
- iot_events: {
4291
- input_name: ::String,
4292
- message_id: ::String?,
4293
- batch_mode: bool?,
4294
- role_arn: ::String
4295
- }?,
4296
- iot_site_wise: {
4297
- put_asset_property_value_entries: Array[
4298
- {
4299
- entry_id: ::String?,
4300
- asset_id: ::String?,
4301
- property_id: ::String?,
4302
- property_alias: ::String?,
4303
- property_values: Array[
4304
- {
4305
- value: {
4306
- string_value: ::String?,
4307
- integer_value: ::String?,
4308
- double_value: ::String?,
4309
- boolean_value: ::String?
4310
- },
4311
- timestamp: {
4312
- time_in_seconds: ::String,
4313
- offset_in_nanos: ::String?
4314
- },
4315
- quality: ::String?
4316
- },
4317
- ]
4318
- },
4319
- ],
4320
- role_arn: ::String
4321
- }?,
4322
- step_functions: {
4323
- execution_name_prefix: ::String?,
4324
- state_machine_name: ::String,
4325
- role_arn: ::String
4326
- }?,
4327
- timestream: {
4328
- role_arn: ::String,
4329
- database_name: ::String,
4330
- table_name: ::String,
4331
- dimensions: Array[
4332
- {
4333
- name: ::String,
4334
- value: ::String
4335
- },
4336
- ],
4337
- timestamp: {
4338
- value: ::String,
4339
- unit: ::String
4340
- }?
4341
- }?,
4342
- http: {
4343
- url: ::String,
4344
- confirmation_url: ::String?,
4345
- headers: Array[
4346
- {
4347
- key: ::String,
4348
- value: ::String
4349
- },
4350
- ]?,
4351
- auth: {
4352
- sigv4: {
4353
- signing_region: ::String,
4354
- service_name: ::String,
4355
- role_arn: ::String
4356
- }?
4357
- }?,
4358
- enable_batching: bool?,
4359
- batch_config: {
4360
- max_batch_open_ms: ::Integer?,
4361
- max_batch_size: ::Integer?,
4362
- max_batch_size_bytes: ::Integer?,
4363
- batch_across_topics: bool?
4364
- }?
4365
- }?,
4366
- kafka: {
4367
- destination_arn: ::String,
4368
- topic: ::String,
4369
- key: ::String?,
4370
- partition: ::String?,
4371
- client_properties: Hash[::String, ::String],
4372
- headers: Array[
4373
- {
4374
- key: ::String,
4375
- value: ::String
4376
- },
4377
- ]?
4378
- }?,
4379
- open_search: {
4380
- role_arn: ::String,
4381
- endpoint: ::String,
4382
- index: ::String,
4383
- type: ::String,
4384
- id: ::String
4385
- }?,
4386
- location: {
4387
- role_arn: ::String,
4388
- tracker_name: ::String,
4389
- device_id: ::String,
4390
- timestamp: {
4391
- value: ::String,
4392
- unit: ::String?
4393
- }?,
4394
- latitude: ::String,
4395
- longitude: ::String
4396
- }?
4397
- }?
4398
- }
3320
+ topic_rule_payload: Params::topic_rule_payload
4399
3321
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4400
3322
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4401
3323
 
@@ -4462,7 +3384,7 @@ module Aws
4462
3384
  event_type: ::String,
4463
3385
  log_level: ("DEBUG" | "INFO" | "ERROR" | "WARN" | "DISABLED")?,
4464
3386
  log_destination: ::String?
4465
- },
3387
+ }
4466
3388
  ]
4467
3389
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4468
3390
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -4549,7 +3471,7 @@ module Aws
4549
3471
  {
4550
3472
  key: ::String,
4551
3473
  value: ::String?
4552
- },
3474
+ }
4553
3475
  ]
4554
3476
  ) -> _TagResourceResponseSuccess
4555
3477
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
@@ -4566,7 +3488,7 @@ module Aws
4566
3488
  {
4567
3489
  action_type: ("PUBLISH" | "SUBSCRIBE" | "RECEIVE" | "CONNECT")?,
4568
3490
  resources: Array[::String]
4569
- },
3491
+ }
4570
3492
  ],
4571
3493
  ?client_id: ::String,
4572
3494
  ?policy_names_to_add: Array[::String],
@@ -4648,25 +3570,7 @@ module Aws
4648
3570
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#update_audit_suppression-instance_method
4649
3571
  def update_audit_suppression: (
4650
3572
  check_name: ::String,
4651
- resource_identifier: {
4652
- device_certificate_id: ::String?,
4653
- ca_certificate_id: ::String?,
4654
- cognito_identity_pool_id: ::String?,
4655
- client_id: ::String?,
4656
- policy_version_identifier: {
4657
- policy_name: ::String?,
4658
- policy_version_id: ::String?
4659
- }?,
4660
- account: ::String?,
4661
- iam_role_arn: ::String?,
4662
- role_alias_arn: ::String?,
4663
- issuer_certificate_identifier: {
4664
- issuer_certificate_subject: ::String?,
4665
- issuer_id: ::String?,
4666
- issuer_certificate_serial_number: ::String?
4667
- }?,
4668
- device_certificate_arn: ::String?
4669
- },
3573
+ resource_identifier: Params::resource_identifier,
4670
3574
  ?expiration_date: ::Time,
4671
3575
  ?suppress_indefinitely: bool,
4672
3576
  ?description: ::String
@@ -4891,13 +3795,13 @@ module Aws
4891
3795
  {
4892
3796
  name: ::String?,
4893
3797
  type: ("Number" | "String" | "Boolean")?
4894
- },
3798
+ }
4895
3799
  ]?,
4896
3800
  custom_fields: Array[
4897
3801
  {
4898
3802
  name: ::String?,
4899
3803
  type: ("Number" | "String" | "Boolean")?
4900
- },
3804
+ }
4901
3805
  ]?,
4902
3806
  filter: {
4903
3807
  named_shadow_names: Array[::String]?,
@@ -4905,7 +3809,7 @@ module Aws
4905
3809
  {
4906
3810
  name: ::String?,
4907
3811
  order: ("LatLon" | "LonLat")?
4908
- },
3812
+ }
4909
3813
  ]?
4910
3814
  }?
4911
3815
  },
@@ -4915,13 +3819,13 @@ module Aws
4915
3819
  {
4916
3820
  name: ::String?,
4917
3821
  type: ("Number" | "String" | "Boolean")?
4918
- },
3822
+ }
4919
3823
  ]?,
4920
3824
  custom_fields: Array[
4921
3825
  {
4922
3826
  name: ::String?,
4923
3827
  type: ("Number" | "String" | "Boolean")?
4924
- },
3828
+ }
4925
3829
  ]?
4926
3830
  }
4927
3831
  ) -> _UpdateIndexingConfigurationResponseSuccess
@@ -4935,27 +3839,8 @@ module Aws
4935
3839
  role_arn: ::String?,
4936
3840
  expires_in_sec: ::Integer?
4937
3841
  },
4938
- ?job_executions_rollout_config: {
4939
- maximum_per_minute: ::Integer?,
4940
- exponential_rate: {
4941
- base_rate_per_minute: ::Integer,
4942
- increment_factor: ::Float,
4943
- rate_increase_criteria: {
4944
- number_of_notified_things: ::Integer?,
4945
- number_of_succeeded_things: ::Integer?
4946
- }
4947
- }?
4948
- },
4949
- ?abort_config: {
4950
- criteria_list: Array[
4951
- {
4952
- failure_type: ("FAILED" | "REJECTED" | "TIMED_OUT" | "ALL"),
4953
- action: ("CANCEL"),
4954
- threshold_percentage: ::Float,
4955
- min_number_of_executed_things: ::Integer
4956
- },
4957
- ]
4958
- },
3842
+ ?job_executions_rollout_config: Params::job_executions_rollout_config,
3843
+ ?abort_config: Params::abort_config,
4959
3844
  ?timeout_config: {
4960
3845
  in_progress_timeout_in_minutes: ::Integer?
4961
3846
  },
@@ -4965,7 +3850,7 @@ module Aws
4965
3850
  {
4966
3851
  failure_type: ("FAILED" | "TIMED_OUT" | "ALL"),
4967
3852
  number_of_retries: ::Integer
4968
- },
3853
+ }
4969
3854
  ]
4970
3855
  }
4971
3856
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -4980,28 +3865,7 @@ module Aws
4980
3865
  def update_mitigation_action: (
4981
3866
  action_name: ::String,
4982
3867
  ?role_arn: ::String,
4983
- ?action_params: {
4984
- update_device_certificate_params: {
4985
- action: ("DEACTIVATE")
4986
- }?,
4987
- update_ca_certificate_params: {
4988
- action: ("DEACTIVATE")
4989
- }?,
4990
- add_things_to_thing_group_params: {
4991
- thing_group_names: Array[::String],
4992
- override_dynamic_groups: bool?
4993
- }?,
4994
- replace_default_policy_version_params: {
4995
- template_name: ("BLANK_POLICY")
4996
- }?,
4997
- enable_io_t_logging_params: {
4998
- role_arn_for_logging: ::String,
4999
- log_level: ("DEBUG" | "INFO" | "ERROR" | "WARN" | "DISABLED")
5000
- }?,
5001
- publish_finding_to_sns_params: {
5002
- topic_arn: ::String
5003
- }?
5004
- }
3868
+ ?action_params: Params::mitigation_action_params
5005
3869
  ) -> _UpdateMitigationActionResponseSuccess
5006
3870
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMitigationActionResponseSuccess
5007
3871
 
@@ -5117,36 +3981,7 @@ module Aws
5117
3981
  security_profile_name: ::String,
5118
3982
  ?security_profile_description: ::String,
5119
3983
  ?behaviors: Array[
5120
- {
5121
- name: ::String,
5122
- metric: ::String?,
5123
- metric_dimension: {
5124
- dimension_name: ::String,
5125
- operator: ("IN" | "NOT_IN")?
5126
- }?,
5127
- criteria: {
5128
- 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")?,
5129
- value: {
5130
- count: ::Integer?,
5131
- cidrs: Array[::String]?,
5132
- ports: Array[::Integer]?,
5133
- number: ::Float?,
5134
- numbers: Array[::Float]?,
5135
- strings: Array[::String]?
5136
- }?,
5137
- duration_seconds: ::Integer?,
5138
- consecutive_datapoints_to_alarm: ::Integer?,
5139
- consecutive_datapoints_to_clear: ::Integer?,
5140
- statistical_threshold: {
5141
- statistic: ::String?
5142
- }?,
5143
- ml_detection_config: {
5144
- confidence_level: ("LOW" | "MEDIUM" | "HIGH")
5145
- }?
5146
- }?,
5147
- suppress_alerts: bool?,
5148
- export_metric: bool?
5149
- },
3984
+ Params::behavior
5150
3985
  ],
5151
3986
  ?alert_targets: Hash[("SNS"), {
5152
3987
  alert_target_arn: ::String,
@@ -5154,14 +3989,7 @@ module Aws
5154
3989
  }],
5155
3990
  ?additional_metrics_to_retain: Array[::String],
5156
3991
  ?additional_metrics_to_retain_v2: Array[
5157
- {
5158
- metric: ::String,
5159
- metric_dimension: {
5160
- dimension_name: ::String,
5161
- operator: ("IN" | "NOT_IN")?
5162
- }?,
5163
- export_metric: bool?
5164
- },
3992
+ Params::metric_to_retain
5165
3993
  ],
5166
3994
  ?delete_behaviors: bool,
5167
3995
  ?delete_alert_targets: bool,
@@ -5187,14 +4015,7 @@ module Aws
5187
4015
  stream_id: ::String,
5188
4016
  ?description: ::String,
5189
4017
  ?files: Array[
5190
- {
5191
- file_id: ::Integer?,
5192
- s3_location: {
5193
- bucket: ::String?,
5194
- key: ::String?,
5195
- version: ::String?
5196
- }?
5197
- },
4018
+ Params::stream_file
5198
4019
  ],
5199
4020
  ?role_arn: ::String
5200
4021
  ) -> _UpdateStreamResponseSuccess
@@ -5252,19 +4073,7 @@ module Aws
5252
4073
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#update_thing_type-instance_method
5253
4074
  def update_thing_type: (
5254
4075
  thing_type_name: ::String,
5255
- ?thing_type_properties: {
5256
- thing_type_description: ::String?,
5257
- searchable_attributes: Array[::String]?,
5258
- mqtt5_configuration: {
5259
- propagating_attributes: Array[
5260
- {
5261
- user_property_key: ::String?,
5262
- thing_attribute: ::String?,
5263
- connection_attribute: ::String?
5264
- },
5265
- ]?
5266
- }?
5267
- }
4076
+ ?thing_type_properties: Params::thing_type_properties
5268
4077
  ) -> _UpdateThingTypeResponseSuccess
5269
4078
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateThingTypeResponseSuccess
5270
4079
 
@@ -5286,36 +4095,7 @@ module Aws
5286
4095
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#validate_security_profile_behaviors-instance_method
5287
4096
  def validate_security_profile_behaviors: (
5288
4097
  behaviors: Array[
5289
- {
5290
- name: ::String,
5291
- metric: ::String?,
5292
- metric_dimension: {
5293
- dimension_name: ::String,
5294
- operator: ("IN" | "NOT_IN")?
5295
- }?,
5296
- criteria: {
5297
- 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")?,
5298
- value: {
5299
- count: ::Integer?,
5300
- cidrs: Array[::String]?,
5301
- ports: Array[::Integer]?,
5302
- number: ::Float?,
5303
- numbers: Array[::Float]?,
5304
- strings: Array[::String]?
5305
- }?,
5306
- duration_seconds: ::Integer?,
5307
- consecutive_datapoints_to_alarm: ::Integer?,
5308
- consecutive_datapoints_to_clear: ::Integer?,
5309
- statistical_threshold: {
5310
- statistic: ::String?
5311
- }?,
5312
- ml_detection_config: {
5313
- confidence_level: ("LOW" | "MEDIUM" | "HIGH")
5314
- }?
5315
- }?,
5316
- suppress_alerts: bool?,
5317
- export_metric: bool?
5318
- },
4098
+ Params::behavior
5319
4099
  ]
5320
4100
  ) -> _ValidateSecurityProfileBehaviorsResponseSuccess
5321
4101
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ValidateSecurityProfileBehaviorsResponseSuccess