Class Action
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Action.Builder,Action>
Describes the actions associated with a rule.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Action.Builderbuilder()final CloudwatchAlarmActionChange the state of a CloudWatch alarm.final CloudwatchLogsActionSend data to CloudWatch Logs.final CloudwatchMetricActionCapture a CloudWatch metric.final DynamoDBActiondynamoDB()Write to a DynamoDB table.final DynamoDBv2ActionWrite to a DynamoDB table.final ElasticsearchActionWrite data to an Amazon OpenSearch Service domain.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FirehoseActionfirehose()Write to an Amazon Kinesis Firehose stream.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final HttpActionhttp()Send data to an HTTPS endpoint.final IotAnalyticsActionSends message data to an IoT Analytics channel.final IotEventsActionSends an input to an IoT Events detector.final IotSiteWiseActionSends data from the MQTT message that triggered the rule to IoT SiteWise asset properties.final KafkaActionkafka()Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.final KinesisActionkinesis()Write data to an Amazon Kinesis stream.final LambdaActionlambda()Invoke a Lambda function.final LocationActionlocation()The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.final OpenSearchActionWrite data to an Amazon OpenSearch Service domain.final RepublishActionPublish to another MQTT topic.final S3Actions3()Write to an Amazon S3 bucket.final SalesforceActionSend a message to a Salesforce IoT Cloud Input Stream.static Class<? extends Action.Builder> final SnsActionsns()Publish to an Amazon SNS topic.final SqsActionsqs()Publish to an Amazon SQS queue.final StepFunctionsActionStarts execution of a Step Functions state machine.final TimestreamActionThe Timestream rule action writes attributes (measures) from an MQTT message into an Amazon Timestream table.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
dynamoDB
Write to a DynamoDB table.
- Returns:
- Write to a DynamoDB table.
-
dynamoDBv2
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.
- Returns:
- 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.
-
lambda
-
sns
Publish to an Amazon SNS topic.
- Returns:
- Publish to an Amazon SNS topic.
-
sqs
Publish to an Amazon SQS queue.
- Returns:
- Publish to an Amazon SQS queue.
-
kinesis
Write data to an Amazon Kinesis stream.
- Returns:
- Write data to an Amazon Kinesis stream.
-
republish
Publish to another MQTT topic.
- Returns:
- Publish to another MQTT topic.
-
s3
-
firehose
Write to an Amazon Kinesis Firehose stream.
- Returns:
- Write to an Amazon Kinesis Firehose stream.
-
cloudwatchMetric
Capture a CloudWatch metric.
- Returns:
- Capture a CloudWatch metric.
-
cloudwatchAlarm
Change the state of a CloudWatch alarm.
- Returns:
- Change the state of a CloudWatch alarm.
-
cloudwatchLogs
Send data to CloudWatch Logs.
- Returns:
- Send data to CloudWatch Logs.
-
elasticsearch
Write data to an Amazon OpenSearch Service domain.
The
Elasticsearchaction can only be used by existing rule actions. To create a new rule action or to update an existing rule action, use theOpenSearchrule action instead. For more information, see OpenSearchAction.- Returns:
- Write data to an Amazon OpenSearch Service domain.
The
Elasticsearchaction can only be used by existing rule actions. To create a new rule action or to update an existing rule action, use theOpenSearchrule action instead. For more information, see OpenSearchAction.
-
salesforce
Send a message to a Salesforce IoT Cloud Input Stream.
- Returns:
- Send a message to a Salesforce IoT Cloud Input Stream.
-
iotAnalytics
Sends message data to an IoT Analytics channel.
- Returns:
- Sends message data to an IoT Analytics channel.
-
iotEvents
Sends an input to an IoT Events detector.
- Returns:
- Sends an input to an IoT Events detector.
-
iotSiteWise
Sends data from the MQTT message that triggered the rule to IoT SiteWise asset properties.
- Returns:
- Sends data from the MQTT message that triggered the rule to IoT SiteWise asset properties.
-
stepFunctions
Starts execution of a Step Functions state machine.
- Returns:
- Starts execution of a Step Functions state machine.
-
timestream
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.
- Returns:
- 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.
-
http
Send data to an HTTPS endpoint.
- Returns:
- Send data to an HTTPS endpoint.
-
kafka
Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.
- Returns:
- Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.
-
openSearch
Write data to an Amazon OpenSearch Service domain.
- Returns:
- Write data to an Amazon OpenSearch Service domain.
-
location
The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.
- Returns:
- The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Action.Builder,Action> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-