Action
public struct Action : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Information needed to clear the timer.
Declaration
Swift
public let clearTimer: ClearTimerAction?
-
Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can also customize the payload. One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify. For more information, see Actions in AWS IoT Events Developer Guide.
Declaration
Swift
public let dynamoDB: DynamoDBAction?
-
Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can also customize the payload. A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify. For more information, see Actions in AWS IoT Events Developer Guide.
Declaration
Swift
public let dynamoDBv2: DynamoDBv2Action?
-
Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
Declaration
Swift
public let firehose: FirehoseAction?
-
Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.
Declaration
Swift
public let iotEvents: IotEventsAction?
-
Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .
Declaration
Swift
public let iotSiteWise: IotSiteWiseAction?
-
Publishes an MQTT message with the given topic to the AWS IoT message broker.
Declaration
Swift
public let iotTopicPublish: IotTopicPublishAction?
-
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
Declaration
Swift
public let lambda: LambdaAction?
-
Information needed to reset the timer.
Declaration
Swift
public let resetTimer: ResetTimerAction?
-
Information needed to set the timer.
Declaration
Swift
public let setTimer: SetTimerAction?
-
Sets a variable to a specified value.
Declaration
Swift
public let setVariable: SetVariableAction?
-
Sends an Amazon SNS message.
Declaration
Swift
public let sns: SNSTopicPublishAction?
-
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
Declaration
Swift
public let sqs: SqsAction?
-
init(clearTimer:dynamoDB:dynamoDBv2:firehose:iotEvents:iotSiteWise:iotTopicPublish:lambda:resetTimer:setTimer:setVariable:sns:sqs:)
Undocumented
Declaration
Swift
public init(clearTimer: ClearTimerAction? = nil, dynamoDB: DynamoDBAction? = nil, dynamoDBv2: DynamoDBv2Action? = nil, firehose: FirehoseAction? = nil, iotEvents: IotEventsAction? = nil, iotSiteWise: IotSiteWiseAction? = nil, iotTopicPublish: IotTopicPublishAction? = nil, lambda: LambdaAction? = nil, resetTimer: ResetTimerAction? = nil, setTimer: SetTimerAction? = nil, setVariable: SetVariableAction? = nil, sns: SNSTopicPublishAction? = nil, sqs: SqsAction? = nil)
-
Declaration
Swift
public func validate(name: String) throws