Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data IotAnalyticsAction = IotAnalyticsAction' {}
- newIotAnalyticsAction :: IotAnalyticsAction
- iotAnalyticsAction_batchMode :: Lens' IotAnalyticsAction (Maybe Bool)
- iotAnalyticsAction_channelArn :: Lens' IotAnalyticsAction (Maybe Text)
- iotAnalyticsAction_channelName :: Lens' IotAnalyticsAction (Maybe Text)
- iotAnalyticsAction_roleArn :: Lens' IotAnalyticsAction (Maybe Text)
Documentation
data IotAnalyticsAction Source #
Sends message data to an IoT Analytics channel.
See: newIotAnalyticsAction
smart constructor.
IotAnalyticsAction' | |
|
Instances
newIotAnalyticsAction :: IotAnalyticsAction Source #
Create a value of IotAnalyticsAction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:batchMode:IotAnalyticsAction'
, iotAnalyticsAction_batchMode
- 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
to the IoT Analytics channel. The resulting array can't have more than
100 messages.
$sel:channelArn:IotAnalyticsAction'
, iotAnalyticsAction_channelArn
- (deprecated) The ARN of the IoT Analytics channel to which message data
will be sent.
$sel:channelName:IotAnalyticsAction'
, iotAnalyticsAction_channelName
- The name of the IoT Analytics channel to which message data will be
sent.
$sel:roleArn:IotAnalyticsAction'
, iotAnalyticsAction_roleArn
- The ARN of the role which has a policy that grants IoT Analytics
permission to send message data via IoT Analytics
(iotanalytics:BatchPutMessage).
iotAnalyticsAction_batchMode :: Lens' IotAnalyticsAction (Maybe Bool) Source #
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
to the IoT Analytics channel. The resulting array can't have more than
100 messages.
iotAnalyticsAction_channelArn :: Lens' IotAnalyticsAction (Maybe Text) Source #
(deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
iotAnalyticsAction_channelName :: Lens' IotAnalyticsAction (Maybe Text) Source #
The name of the IoT Analytics channel to which message data will be sent.
iotAnalyticsAction_roleArn :: Lens' IotAnalyticsAction (Maybe Text) Source #
The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).