Module Values_0.ActionSource

Describes the actions associated with a rule.

Sourcetype nonrec t = {
  1. dynamoDB : DynamoDBAction.t option;
    (*

    Write to a DynamoDB table.

    *)
  2. dynamoDBv2 : DynamoDBv2Action.t option;
    (*

    Write to a DynamoDB table. This is a new version of the DynamoDB action. It allows you to write each attribute in an MQTT message payload into a separate DynamoDB column.

    *)
  3. lambda : LambdaAction.t option;
    (*

    Invoke a Lambda function.

    *)
  4. sns : SnsAction.t option;
    (*

    Publish to an Amazon SNS topic.

    *)
  5. sqs : SqsAction.t option;
    (*

    Publish to an Amazon SQS queue.

    *)
  6. kinesis : KinesisAction.t option;
    (*

    Write data to an Amazon Kinesis stream.

    *)
  7. republish : RepublishAction.t option;
    (*

    Publish to another MQTT topic.

    *)
  8. s3 : S3Action.t option;
    (*

    Write to an Amazon S3 bucket.

    *)
  9. firehose : FirehoseAction.t option;
    (*

    Write to an Amazon Kinesis Firehose stream.

    *)
  10. cloudwatchMetric : CloudwatchMetricAction.t option;
    (*

    Capture a CloudWatch metric.

    *)
  11. cloudwatchAlarm : CloudwatchAlarmAction.t option;
    (*

    Change the state of a CloudWatch alarm.

    *)
  12. cloudwatchLogs : CloudwatchLogsAction.t option;
    (*

    Send data to CloudWatch Logs.

    *)
  13. elasticsearch : ElasticsearchAction.t option;
    (*

    Write data to an Amazon OpenSearch Service domain. The Elasticsearch action can only be used by existing rule actions. To create a new rule action or to update an existing rule action, use the OpenSearch rule action instead. For more information, see OpenSearchAction.

    *)
  14. salesforce : SalesforceAction.t option;
    (*

    Send a message to a Salesforce IoT Cloud Input Stream.

    *)
  15. iotAnalytics : IotAnalyticsAction.t option;
    (*

    Sends message data to an IoT Analytics channel.

    *)
  16. iotEvents : IotEventsAction.t option;
    (*

    Sends an input to an IoT Events detector.

    *)
  17. iotSiteWise : IotSiteWiseAction.t option;
    (*

    Sends data from the MQTT message that triggered the rule to IoT SiteWise asset properties.

    *)
  18. stepFunctions : StepFunctionsAction.t option;
    (*

    Starts execution of a Step Functions state machine.

    *)
  19. timestream : TimestreamAction.t option;
    (*

    The Timestream rule action writes attributes (measures) from an MQTT message into an Amazon Timestream table. For more information, see the Timestream topic rule action documentation.

    *)
  20. http : HttpAction.t option;
    (*

    Send data to an HTTPS endpoint.

    *)
  21. kafka : KafkaAction.t option;
    (*

    Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.

    *)
  22. openSearch : OpenSearchAction.t option;
    (*

    Write data to an Amazon OpenSearch Service domain.

    *)
  23. location : LocationAction.t option;
    (*

    The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.

    *)
}
Sourceval make : ?dynamoDB:??? -> ?dynamoDBv2:??? -> ?lambda:??? -> ?sns:??? -> ?sqs:??? -> ?kinesis:??? -> ?republish:??? -> ?s3:??? -> ?firehose:??? -> ?cloudwatchMetric:??? -> ?cloudwatchAlarm:??? -> ?cloudwatchLogs:??? -> ?elasticsearch:??? -> ?salesforce:??? -> ?iotAnalytics:??? -> ?iotEvents:??? -> ?iotSiteWise:??? -> ?stepFunctions:??? -> ?timestream:??? -> ?http:??? -> ?kafka:??? -> ?openSearch:??? -> ?location:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Boolean of UseBase64.t | `Enum of string | `Integer of Qos.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of AssetPropertyQuality.t | `Structure of (string * [> `String of AssetPropertyStringValue.t ]) list ]) list ] list | `String of AssetPropertyEntryId.t ]) list ] list | `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of TableName.t | `Structure of (string * [> `Boolean of BatchAcrossTopics.t | `Integer of MaxBatchOpenMs.t | `List of [> `Structure of (string * [> `String of UserPropertyKey.t ]) list ] list | `String of TableName.t | `Structure of (string * [> `String of SigningRegion.t ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t