Class: Aws::IoT::Types::IotAnalyticsAction

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iot/types.rb

Overview

Sends message data to an IoT Analytics channel.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#batch_modeBoolean

Whether to process the action as a batch. The default value is ‘false`.

When ‘batchMode` is `true` and the rule SQL statement evaluates to an Array, each Array element is delivered as a separate message when passed by [ `BatchPutMessage` ][1] to the IoT Analytics channel. The resulting array can’t have more than 100 messages.

[1]: docs.aws.amazon.com/iotanalytics/latest/APIReference/API_BatchPutMessage.html

Returns:

  • (Boolean)


8542
8543
8544
8545
8546
8547
8548
8549
# File 'lib/aws-sdk-iot/types.rb', line 8542

class IotAnalyticsAction < Struct.new(
  :channel_arn,
  :channel_name,
  :batch_mode,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#channel_arnString

(deprecated) The ARN of the IoT Analytics channel to which message data will be sent.

Returns:

  • (String)


8542
8543
8544
8545
8546
8547
8548
8549
# File 'lib/aws-sdk-iot/types.rb', line 8542

class IotAnalyticsAction < Struct.new(
  :channel_arn,
  :channel_name,
  :batch_mode,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#channel_nameString

The name of the IoT Analytics channel to which message data will be sent.

Returns:

  • (String)


8542
8543
8544
8545
8546
8547
8548
8549
# File 'lib/aws-sdk-iot/types.rb', line 8542

class IotAnalyticsAction < Struct.new(
  :channel_arn,
  :channel_name,
  :batch_mode,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).

Returns:

  • (String)


8542
8543
8544
8545
8546
8547
8548
8549
# File 'lib/aws-sdk-iot/types.rb', line 8542

class IotAnalyticsAction < Struct.new(
  :channel_arn,
  :channel_name,
  :batch_mode,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end