AWSIoTAction
Objective-C
@interface AWSIoTAction
Swift
class AWSIoTAction
Describes the actions associated with a rule.
-
Change the state of a CloudWatch alarm.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTCloudwatchAlarmAction *_Nullable cloudwatchAlarm;
Swift
var cloudwatchAlarm: AWSIoTCloudwatchAlarmAction? { get set }
-
Send data to CloudWatch Logs.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTCloudwatchLogsAction *_Nullable cloudwatchLogs;
Swift
var cloudwatchLogs: AWSIoTCloudwatchLogsAction? { get set }
-
Capture a CloudWatch metric.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTCloudwatchMetricAction *_Nullable cloudwatchMetric;
Swift
var cloudwatchMetric: AWSIoTCloudwatchMetricAction? { get set }
-
Write to a DynamoDB table.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTDynamoDBAction *_Nullable dynamoDB;
Swift
var dynamoDB: AWSIoTDynamoDBAction? { get set }
-
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.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTDynamoDBv2Action *_Nullable dynamoDBv2;
Swift
var dynamoDBv2: AWSIoTDynamoDBv2Action? { get set }
-
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.Declaration
Objective-C
@property (nonatomic, strong) AWSIoTElasticsearchAction *_Nullable elasticsearch;
Swift
var elasticsearch: AWSIoTElasticsearchAction? { get set }
-
Write to an Amazon Kinesis Firehose stream.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTFirehoseAction *_Nullable firehose;
Swift
var firehose: AWSIoTFirehoseAction? { get set }
-
Send data to an HTTPS endpoint.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTHttpAction *_Nullable http;
Swift
var http: AWSIoTHttpAction? { get set }
-
Sends message data to an IoT Analytics channel.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTIotAnalyticsAction *_Nullable iotAnalytics;
Swift
var iotAnalytics: AWSIoTIotAnalyticsAction? { get set }
-
Sends an input to an IoT Events detector.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTIotEventsAction *_Nullable iotEvents;
Swift
var iotEvents: AWSIoTIotEventsAction? { get set }
-
Sends data from the MQTT message that triggered the rule to IoT SiteWise asset properties.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTIotSiteWiseAction *_Nullable iotSiteWise;
Swift
var iotSiteWise: AWSIoTIotSiteWiseAction? { get set }
-
Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTKafkaAction *_Nullable kafka;
Swift
var kafka: AWSIoTKafkaAction? { get set }
-
Write data to an Amazon Kinesis stream.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTKinesisAction *_Nullable kinesis;
Swift
var kinesis: AWSIoTKinesisAction? { get set }
-
Invoke a Lambda function.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTLambdaAction *_Nullable lambda;
Swift
var lambda: AWSIoTLambdaAction? { get set }
-
The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTLocationAction *_Nullable location;
Swift
var location: AWSIoTLocationAction? { get set }
-
Write data to an Amazon OpenSearch Service domain.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTOpenSearchAction *_Nullable openSearch;
Swift
var openSearch: AWSIoTOpenSearchAction? { get set }
-
Publish to another MQTT topic.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTRepublishAction *_Nullable republish;
Swift
var republish: AWSIoTRepublishAction? { get set }
-
Write to an Amazon S3 bucket.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTS3Action *_Nullable s3;
Swift
var s3: AWSIoTS3Action? { get set }
-
Send a message to a Salesforce IoT Cloud Input Stream.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTSalesforceAction *_Nullable salesforce;
Swift
var salesforce: AWSIoTSalesforceAction? { get set }
-
Publish to an Amazon SNS topic.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTSnsAction *_Nullable sns;
Swift
var sns: AWSIoTSnsAction? { get set }
-
Publish to an Amazon SQS queue.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTSqsAction *_Nullable sqs;
Swift
var sqs: AWSIoTSqsAction? { get set }
-
Starts execution of a Step Functions state machine.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTStepFunctionsAction *_Nullable stepFunctions;
Swift
var stepFunctions: AWSIoTStepFunctionsAction? { get set }
-
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.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTTimestreamAction *_Nullable timestream;
Swift
var timestream: AWSIoTTimestreamAction? { get set }