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.Builder
builder()
final CloudwatchAlarmAction
Change the state of a CloudWatch alarm.final CloudwatchLogsAction
Send data to CloudWatch Logs.final CloudwatchMetricAction
Capture a CloudWatch metric.final DynamoDBAction
dynamoDB()
Write to a DynamoDB table.final DynamoDBv2Action
Write to a DynamoDB table.final ElasticsearchAction
Write data to an Amazon OpenSearch Service domain.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FirehoseAction
firehose()
Write to an Amazon Kinesis Firehose stream.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final HttpAction
http()
Send data to an HTTPS endpoint.final IotAnalyticsAction
Sends message data to an IoT Analytics channel.final IotEventsAction
Sends an input to an IoT Events detector.final IotSiteWiseAction
Sends data from the MQTT message that triggered the rule to IoT SiteWise asset properties.final KafkaAction
kafka()
Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.final KinesisAction
kinesis()
Write data to an Amazon Kinesis stream.final LambdaAction
lambda()
Invoke a Lambda function.final LocationAction
location()
The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.final OpenSearchAction
Write data to an Amazon OpenSearch Service domain.final RepublishAction
Publish to another MQTT topic.final S3Action
s3()
Write to an Amazon S3 bucket.final SalesforceAction
Send a message to a Salesforce IoT Cloud Input Stream.static Class
<? extends Action.Builder> final SnsAction
sns()
Publish to an Amazon SNS topic.final SqsAction
sqs()
Publish to an Amazon SQS queue.final StepFunctionsAction
Starts execution of a Step Functions state machine.final TimestreamAction
The 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 String
toString()
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
Elasticsearch
action can only be used by existing rule actions. To create a new rule action or to update an existing rule action, use theOpenSearch
rule action instead. For more information, see OpenSearchAction.- Returns:
- 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 theOpenSearch
rule 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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<Action.Builder,
Action> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
-