aws-sdk-iot 1.158.0 → 1.159.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e10ebdad95b1a29e3f98d3abb270e9a59120374064441cc1901c9e1a7e1b1c0
4
- data.tar.gz: 8267795bd471aeeb16e1e482282f68a222220d6173d31ff598fddfc5c1da1f74
3
+ metadata.gz: cab6da1568b511b480d260febcad1482bc5dbe259d13d04536921b37f8ba1cac
4
+ data.tar.gz: cef7224c16ad273574363689e7434bf38c5f04fbea91fed4b411ed7a165c537a
5
5
  SHA512:
6
- metadata.gz: 135b4face451a2601c09a3d365be7db79a04284e2912ecaf03e8dfe8fb077f648bdf2aaa4ddf84164f73e6df797919f5d3875490e971b46cc0a6ca51c0f13e7b
7
- data.tar.gz: 7d8b9997b255b3f4da66633aec1036c11ce87c65208a8dae2e2841ae31c7b548cf21920e829b0c6e44b6d42c88108c784fa0063607d440be6bde3df1bcf69e62
6
+ metadata.gz: c2f42f8e80bbfc5bccdad69f4664f4e7f963641dbe29c38931d2c437de82688b16451950518054d22e2c9b2ce90eed43369e24a87499d19c230af0eb228330e7
7
+ data.tar.gz: 3f2141fa84c65b2711f065520e171a74432004341f5424e0ae6e3c446927190864c34f53c2b1f64e3b9f80c9fd7ec31c0494f90eb7423eea885e25bda377b760
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.159.0 (2025-12-18)
5
+ ------------------
6
+
7
+ * Feature - This release adds message batching for the IoT Rules Engine HTTP action.
8
+
4
9
  1.158.0 (2025-12-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.158.0
1
+ 1.159.0
@@ -4100,6 +4100,12 @@ module Aws::IoT
4100
4100
  # role_arn: "AwsArn", # required
4101
4101
  # },
4102
4102
  # },
4103
+ # enable_batching: false,
4104
+ # batch_config: {
4105
+ # max_batch_open_ms: 1,
4106
+ # max_batch_size: 1,
4107
+ # max_batch_size_bytes: 1,
4108
+ # },
4103
4109
  # },
4104
4110
  # kafka: {
4105
4111
  # destination_arn: "AwsArn", # required
@@ -4309,6 +4315,12 @@ module Aws::IoT
4309
4315
  # role_arn: "AwsArn", # required
4310
4316
  # },
4311
4317
  # },
4318
+ # enable_batching: false,
4319
+ # batch_config: {
4320
+ # max_batch_open_ms: 1,
4321
+ # max_batch_size: 1,
4322
+ # max_batch_size_bytes: 1,
4323
+ # },
4312
4324
  # },
4313
4325
  # kafka: {
4314
4326
  # destination_arn: "AwsArn", # required
@@ -8795,6 +8807,10 @@ module Aws::IoT
8795
8807
  # resp.rule.actions[0].http.auth.sigv4.signing_region #=> String
8796
8808
  # resp.rule.actions[0].http.auth.sigv4.service_name #=> String
8797
8809
  # resp.rule.actions[0].http.auth.sigv4.role_arn #=> String
8810
+ # resp.rule.actions[0].http.enable_batching #=> Boolean
8811
+ # resp.rule.actions[0].http.batch_config.max_batch_open_ms #=> Integer
8812
+ # resp.rule.actions[0].http.batch_config.max_batch_size #=> Integer
8813
+ # resp.rule.actions[0].http.batch_config.max_batch_size_bytes #=> Integer
8798
8814
  # resp.rule.actions[0].kafka.destination_arn #=> String
8799
8815
  # resp.rule.actions[0].kafka.topic #=> String
8800
8816
  # resp.rule.actions[0].kafka.key #=> String
@@ -8920,6 +8936,10 @@ module Aws::IoT
8920
8936
  # resp.rule.error_action.http.auth.sigv4.signing_region #=> String
8921
8937
  # resp.rule.error_action.http.auth.sigv4.service_name #=> String
8922
8938
  # resp.rule.error_action.http.auth.sigv4.role_arn #=> String
8939
+ # resp.rule.error_action.http.enable_batching #=> Boolean
8940
+ # resp.rule.error_action.http.batch_config.max_batch_open_ms #=> Integer
8941
+ # resp.rule.error_action.http.batch_config.max_batch_size #=> Integer
8942
+ # resp.rule.error_action.http.batch_config.max_batch_size_bytes #=> Integer
8923
8943
  # resp.rule.error_action.kafka.destination_arn #=> String
8924
8944
  # resp.rule.error_action.kafka.topic #=> String
8925
8945
  # resp.rule.error_action.kafka.key #=> String
@@ -13487,6 +13507,12 @@ module Aws::IoT
13487
13507
  # role_arn: "AwsArn", # required
13488
13508
  # },
13489
13509
  # },
13510
+ # enable_batching: false,
13511
+ # batch_config: {
13512
+ # max_batch_open_ms: 1,
13513
+ # max_batch_size: 1,
13514
+ # max_batch_size_bytes: 1,
13515
+ # },
13490
13516
  # },
13491
13517
  # kafka: {
13492
13518
  # destination_arn: "AwsArn", # required
@@ -13696,6 +13722,12 @@ module Aws::IoT
13696
13722
  # role_arn: "AwsArn", # required
13697
13723
  # },
13698
13724
  # },
13725
+ # enable_batching: false,
13726
+ # batch_config: {
13727
+ # max_batch_open_ms: 1,
13728
+ # max_batch_size: 1,
13729
+ # max_batch_size_bytes: 1,
13730
+ # },
13699
13731
  # },
13700
13732
  # kafka: {
13701
13733
  # destination_arn: "AwsArn", # required
@@ -16601,7 +16633,7 @@ module Aws::IoT
16601
16633
  tracer: tracer
16602
16634
  )
16603
16635
  context[:gem_name] = 'aws-sdk-iot'
16604
- context[:gem_version] = '1.158.0'
16636
+ context[:gem_version] = '1.159.0'
16605
16637
  Seahorse::Client::Request.new(handlers, context)
16606
16638
  end
16607
16639
 
@@ -150,6 +150,7 @@ module Aws::IoT
150
150
  AwsJobTimeoutConfig = Shapes::StructureShape.new(name: 'AwsJobTimeoutConfig')
151
151
  AwsJobTimeoutInProgressTimeoutInMinutes = Shapes::IntegerShape.new(name: 'AwsJobTimeoutInProgressTimeoutInMinutes')
152
152
  AwsJsonSubstitutionCommandPreprocessorConfig = Shapes::StructureShape.new(name: 'AwsJsonSubstitutionCommandPreprocessorConfig')
153
+ BatchConfig = Shapes::StructureShape.new(name: 'BatchConfig')
153
154
  BatchMode = Shapes::BooleanShape.new(name: 'BatchMode')
154
155
  BeforeSubstitutionFlag = Shapes::BooleanShape.new(name: 'BeforeSubstitutionFlag')
155
156
  Behavior = Shapes::StructureShape.new(name: 'Behavior')
@@ -580,6 +581,7 @@ module Aws::IoT
580
581
  ElasticsearchId = Shapes::StringShape.new(name: 'ElasticsearchId')
581
582
  ElasticsearchIndex = Shapes::StringShape.new(name: 'ElasticsearchIndex')
582
583
  ElasticsearchType = Shapes::StringShape.new(name: 'ElasticsearchType')
584
+ EnableBatching = Shapes::BooleanShape.new(name: 'EnableBatching')
583
585
  EnableCachingForHttp = Shapes::BooleanShape.new(name: 'EnableCachingForHttp')
584
586
  EnableIoTLoggingParams = Shapes::StructureShape.new(name: 'EnableIoTLoggingParams')
585
587
  EnableOCSPCheck = Shapes::BooleanShape.new(name: 'EnableOCSPCheck')
@@ -930,6 +932,9 @@ module Aws::IoT
930
932
  ManagedJobTemplatesSummaryList = Shapes::ListShape.new(name: 'ManagedJobTemplatesSummaryList')
931
933
  ManagedTemplateVersion = Shapes::StringShape.new(name: 'ManagedTemplateVersion')
932
934
  Marker = Shapes::StringShape.new(name: 'Marker')
935
+ MaxBatchOpenMs = Shapes::IntegerShape.new(name: 'MaxBatchOpenMs')
936
+ MaxBatchSize = Shapes::IntegerShape.new(name: 'MaxBatchSize')
937
+ MaxBatchSizeBytes = Shapes::IntegerShape.new(name: 'MaxBatchSizeBytes')
933
938
  MaxBuckets = Shapes::IntegerShape.new(name: 'MaxBuckets')
934
939
  MaxJobExecutionsPerMin = Shapes::IntegerShape.new(name: 'MaxJobExecutionsPerMin')
935
940
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
@@ -1833,6 +1838,11 @@ module Aws::IoT
1833
1838
  AwsJsonSubstitutionCommandPreprocessorConfig.add_member(:output_format, Shapes::ShapeRef.new(shape: OutputFormat, required: true, location_name: "outputFormat"))
1834
1839
  AwsJsonSubstitutionCommandPreprocessorConfig.struct_class = Types::AwsJsonSubstitutionCommandPreprocessorConfig
1835
1840
 
1841
+ BatchConfig.add_member(:max_batch_open_ms, Shapes::ShapeRef.new(shape: MaxBatchOpenMs, location_name: "maxBatchOpenMs"))
1842
+ BatchConfig.add_member(:max_batch_size, Shapes::ShapeRef.new(shape: MaxBatchSize, location_name: "maxBatchSize"))
1843
+ BatchConfig.add_member(:max_batch_size_bytes, Shapes::ShapeRef.new(shape: MaxBatchSizeBytes, location_name: "maxBatchSizeBytes"))
1844
+ BatchConfig.struct_class = Types::BatchConfig
1845
+
1836
1846
  Behavior.add_member(:name, Shapes::ShapeRef.new(shape: BehaviorName, required: true, location_name: "name"))
1837
1847
  Behavior.add_member(:metric, Shapes::ShapeRef.new(shape: BehaviorMetric, location_name: "metric"))
1838
1848
  Behavior.add_member(:metric_dimension, Shapes::ShapeRef.new(shape: MetricDimension, location_name: "metricDimension"))
@@ -3511,6 +3521,8 @@ module Aws::IoT
3511
3521
  HttpAction.add_member(:confirmation_url, Shapes::ShapeRef.new(shape: Url, location_name: "confirmationUrl"))
3512
3522
  HttpAction.add_member(:headers, Shapes::ShapeRef.new(shape: HeaderList, location_name: "headers"))
3513
3523
  HttpAction.add_member(:auth, Shapes::ShapeRef.new(shape: HttpAuthorization, location_name: "auth"))
3524
+ HttpAction.add_member(:enable_batching, Shapes::ShapeRef.new(shape: EnableBatching, location_name: "enableBatching"))
3525
+ HttpAction.add_member(:batch_config, Shapes::ShapeRef.new(shape: BatchConfig, location_name: "batchConfig"))
3514
3526
  HttpAction.struct_class = Types::HttpAction
3515
3527
 
3516
3528
  HttpActionHeader.add_member(:key, Shapes::ShapeRef.new(shape: HeaderKey, required: true, location_name: "key"))
@@ -1373,6 +1373,32 @@ module Aws::IoT
1373
1373
  include Aws::Structure
1374
1374
  end
1375
1375
 
1376
+ # Configuration settings for batching.
1377
+ #
1378
+ # @!attribute [rw] max_batch_open_ms
1379
+ # The maximum amount of time (in milliseconds) that an outgoing call
1380
+ # waits for other calls with which it batches messages of the same
1381
+ # type. The higher the setting, the longer the latency of the batched
1382
+ # HTTP Action will be.
1383
+ # @return [Integer]
1384
+ #
1385
+ # @!attribute [rw] max_batch_size
1386
+ # The maximum number of messages that are batched together in a single
1387
+ # action execution.
1388
+ # @return [Integer]
1389
+ #
1390
+ # @!attribute [rw] max_batch_size_bytes
1391
+ # Maximum size of a message batch, in bytes.
1392
+ # @return [Integer]
1393
+ #
1394
+ class BatchConfig < Struct.new(
1395
+ :max_batch_open_ms,
1396
+ :max_batch_size,
1397
+ :max_batch_size_bytes)
1398
+ SENSITIVE = []
1399
+ include Aws::Structure
1400
+ end
1401
+
1376
1402
  # A Device Defender security profile behavior.
1377
1403
  #
1378
1404
  # @!attribute [rw] name
@@ -9041,11 +9067,24 @@ module Aws::IoT
9041
9067
  # endpoint.
9042
9068
  # @return [Types::HttpAuthorization]
9043
9069
  #
9070
+ # @!attribute [rw] enable_batching
9071
+ # Whether to process the HTTP action messages into a single request.
9072
+ # Value can be true or false.
9073
+ # @return [Boolean]
9074
+ #
9075
+ # @!attribute [rw] batch_config
9076
+ # The configuration settings for batching. For more information, see
9077
+ # [Batching HTTP action
9078
+ # messages](/iot/latest/developerguide/http_batching.html).
9079
+ # @return [Types::BatchConfig]
9080
+ #
9044
9081
  class HttpAction < Struct.new(
9045
9082
  :url,
9046
9083
  :confirmation_url,
9047
9084
  :headers,
9048
- :auth)
9085
+ :auth,
9086
+ :enable_batching,
9087
+ :batch_config)
9049
9088
  SENSITIVE = []
9050
9089
  include Aws::Structure
9051
9090
  end
data/lib/aws-sdk-iot.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::IoT
54
54
  autoload :EndpointProvider, 'aws-sdk-iot/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-iot/endpoints'
56
56
 
57
- GEM_VERSION = '1.158.0'
57
+ GEM_VERSION = '1.159.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -1390,6 +1390,12 @@ module Aws
1390
1390
  service_name: ::String,
1391
1391
  role_arn: ::String
1392
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?
1393
1399
  }?
1394
1400
  }?,
1395
1401
  kafka: {
@@ -1597,6 +1603,12 @@ module Aws
1597
1603
  service_name: ::String,
1598
1604
  role_arn: ::String
1599
1605
  }?
1606
+ }?,
1607
+ enable_batching: bool?,
1608
+ batch_config: {
1609
+ max_batch_open_ms: ::Integer?,
1610
+ max_batch_size: ::Integer?,
1611
+ max_batch_size_bytes: ::Integer?
1600
1612
  }?
1601
1613
  }?,
1602
1614
  kafka: {
@@ -4124,6 +4136,12 @@ module Aws
4124
4136
  service_name: ::String,
4125
4137
  role_arn: ::String
4126
4138
  }?
4139
+ }?,
4140
+ enable_batching: bool?,
4141
+ batch_config: {
4142
+ max_batch_open_ms: ::Integer?,
4143
+ max_batch_size: ::Integer?,
4144
+ max_batch_size_bytes: ::Integer?
4127
4145
  }?
4128
4146
  }?,
4129
4147
  kafka: {
@@ -4331,6 +4349,12 @@ module Aws
4331
4349
  service_name: ::String,
4332
4350
  role_arn: ::String
4333
4351
  }?
4352
+ }?,
4353
+ enable_batching: bool?,
4354
+ batch_config: {
4355
+ max_batch_open_ms: ::Integer?,
4356
+ max_batch_size: ::Integer?,
4357
+ max_batch_size_bytes: ::Integer?
4334
4358
  }?
4335
4359
  }?,
4336
4360
  kafka: {
data/sig/types.rbs CHANGED
@@ -373,6 +373,13 @@ module Aws::IoT
373
373
  SENSITIVE: []
374
374
  end
375
375
 
376
+ class BatchConfig
377
+ attr_accessor max_batch_open_ms: ::Integer
378
+ attr_accessor max_batch_size: ::Integer
379
+ attr_accessor max_batch_size_bytes: ::Integer
380
+ SENSITIVE: []
381
+ end
382
+
376
383
  class Behavior
377
384
  attr_accessor name: ::String
378
385
  attr_accessor metric: ::String
@@ -2581,6 +2588,8 @@ module Aws::IoT
2581
2588
  attr_accessor confirmation_url: ::String
2582
2589
  attr_accessor headers: ::Array[Types::HttpActionHeader]
2583
2590
  attr_accessor auth: Types::HttpAuthorization
2591
+ attr_accessor enable_batching: bool
2592
+ attr_accessor batch_config: Types::BatchConfig
2584
2593
  SENSITIVE: []
2585
2594
  end
2586
2595
 
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.158.0
4
+ version: 1.159.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services