@Generated(value="software.amazon.awssdk:codegen") public final class Action extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Action.Builder,Action>
Describes the actions associated with a rule.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Action.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Action.Builder |
builder() |
CloudwatchAlarmAction |
cloudwatchAlarm()
Change the state of a CloudWatch alarm.
|
CloudwatchLogsAction |
cloudwatchLogs()
Send data to CloudWatch Logs.
|
CloudwatchMetricAction |
cloudwatchMetric()
Capture a CloudWatch metric.
|
DynamoDBAction |
dynamoDB()
Write to a DynamoDB table.
|
DynamoDBv2Action |
dynamoDBv2()
Write to a DynamoDB table.
|
ElasticsearchAction |
elasticsearch()
Write data to an Amazon Elasticsearch Service domain.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FirehoseAction |
firehose()
Write to an Amazon Kinesis Firehose stream.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
HttpAction |
http()
Send data to an HTTPS endpoint.
|
IotAnalyticsAction |
iotAnalytics()
Sends message data to an AWS IoT Analytics channel.
|
IotEventsAction |
iotEvents()
Sends an input to an AWS IoT Events detector.
|
IotSiteWiseAction |
iotSiteWise()
Sends data from the MQTT message that triggered the rule to AWS IoT SiteWise asset properties.
|
KafkaAction |
kafka()
Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.
|
KinesisAction |
kinesis()
Write data to an Amazon Kinesis stream.
|
LambdaAction |
lambda()
Invoke a Lambda function.
|
RepublishAction |
republish()
Publish to another MQTT topic.
|
S3Action |
s3()
Write to an Amazon S3 bucket.
|
SalesforceAction |
salesforce()
Send a message to a Salesforce IoT Cloud Input Stream.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Action.Builder> |
serializableBuilderClass() |
SnsAction |
sns()
Publish to an Amazon SNS topic.
|
SqsAction |
sqs()
Publish to an Amazon SQS queue.
|
StepFunctionsAction |
stepFunctions()
Starts execution of a Step Functions state machine.
|
TimestreamAction |
timestream()
The Timestream rule action writes attributes (measures) from an MQTT message into an Amazon Timestream table.
|
Action.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DynamoDBAction dynamoDB()
Write to a DynamoDB table.
public final DynamoDBv2Action 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.
public final LambdaAction lambda()
Invoke a Lambda function.
public final SnsAction sns()
Publish to an Amazon SNS topic.
public final SqsAction sqs()
Publish to an Amazon SQS queue.
public final KinesisAction kinesis()
Write data to an Amazon Kinesis stream.
public final RepublishAction republish()
Publish to another MQTT topic.
public final S3Action s3()
Write to an Amazon S3 bucket.
public final FirehoseAction firehose()
Write to an Amazon Kinesis Firehose stream.
public final CloudwatchMetricAction cloudwatchMetric()
Capture a CloudWatch metric.
public final CloudwatchAlarmAction cloudwatchAlarm()
Change the state of a CloudWatch alarm.
public final CloudwatchLogsAction cloudwatchLogs()
Send data to CloudWatch Logs.
public final ElasticsearchAction elasticsearch()
Write data to an Amazon Elasticsearch Service domain.
public final SalesforceAction salesforce()
Send a message to a Salesforce IoT Cloud Input Stream.
public final IotAnalyticsAction iotAnalytics()
Sends message data to an AWS IoT Analytics channel.
public final IotEventsAction iotEvents()
Sends an input to an AWS IoT Events detector.
public final IotSiteWiseAction iotSiteWise()
Sends data from the MQTT message that triggered the rule to AWS IoT SiteWise asset properties.
public final StepFunctionsAction stepFunctions()
Starts execution of a Step Functions state machine.
public final TimestreamAction 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.
public final HttpAction http()
Send data to an HTTPS endpoint.
public final KafkaAction kafka()
Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.
public Action.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Action.Builder,Action>public static Action.Builder builder()
public static Class<? extends Action.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.