Class: Aws::IoT::Types::BatchConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::BatchConfig
- Defined in:
- gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb
Overview
Configuration settings for batching.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#batch_across_topics ⇒ Boolean
Whether to allow batching messages from different MQTT topics into a single HTTP request.
-
#max_batch_open_ms ⇒ Integer
The maximum amount of time (in milliseconds) that an outgoing call waits for other calls with which it batches messages of the same type.
-
#max_batch_size ⇒ Integer
The maximum number of messages that are batched together in a single action execution.
-
#max_batch_size_bytes ⇒ Integer
Maximum size of a message batch, in bytes.
Instance Attribute Details
#batch_across_topics ⇒ Boolean
Whether to allow batching messages from different MQTT topics into a
single HTTP request. By default, only messages from the same topic
are batched together. The default value is false.
batchAcrossTopics is enabled, the error payload format
changes: the topic field moves from the top level to inside each
entry in the payloadsWithMetadata array, since each message in the
batch may originate from a different topic.
batchAcrossTopics setting.
1414 1415 1416 1417 1418 1419 1420 1421 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1414 class BatchConfig < Struct.new( :max_batch_open_ms, :max_batch_size, :max_batch_size_bytes, :batch_across_topics) SENSITIVE = [] include Aws::Structure end |
#max_batch_open_ms ⇒ Integer
The maximum amount of time (in milliseconds) that an outgoing call waits for other calls with which it batches messages of the same type. The higher the setting, the longer the latency of the batched HTTP Action will be.
1414 1415 1416 1417 1418 1419 1420 1421 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1414 class BatchConfig < Struct.new( :max_batch_open_ms, :max_batch_size, :max_batch_size_bytes, :batch_across_topics) SENSITIVE = [] include Aws::Structure end |
#max_batch_size ⇒ Integer
The maximum number of messages that are batched together in a single action execution.
1414 1415 1416 1417 1418 1419 1420 1421 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1414 class BatchConfig < Struct.new( :max_batch_open_ms, :max_batch_size, :max_batch_size_bytes, :batch_across_topics) SENSITIVE = [] include Aws::Structure end |
#max_batch_size_bytes ⇒ Integer
Maximum size of a message batch, in bytes.
1414 1415 1416 1417 1418 1419 1420 1421 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1414 class BatchConfig < Struct.new( :max_batch_open_ms, :max_batch_size, :max_batch_size_bytes, :batch_across_topics) SENSITIVE = [] include Aws::Structure end |