[][src]Struct rusoto_iotevents::Action

pub struct Action {
    pub clear_timer: Option<ClearTimerAction>,
    pub firehose: Option<FirehoseAction>,
    pub iot_events: Option<IotEventsAction>,
    pub iot_topic_publish: Option<IotTopicPublishAction>,
    pub lambda: Option<LambdaAction>,
    pub reset_timer: Option<ResetTimerAction>,
    pub set_timer: Option<SetTimerAction>,
    pub set_variable: Option<SetVariableAction>,
    pub sns: Option<SNSTopicPublishAction>,
    pub sqs: Option<SqsAction>,
}

An action to be performed when the "condition" is TRUE.

Fields

clear_timer: Option<ClearTimerAction>

Information needed to clear the timer.

firehose: Option<FirehoseAction>

Sends information about the detector model instance and the event that triggered the action to a Kinesis Data Firehose delivery stream.

iot_events: Option<IotEventsAction>

Sends an IoT Events input, passing in information about the detector model instance and the event that triggered the action.

iot_topic_publish: Option<IotTopicPublishAction>

Publishes an MQTT message with the given topic to the AWS IoT message broker.

lambda: Option<LambdaAction>

Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.

reset_timer: Option<ResetTimerAction>

Information needed to reset the timer.

set_timer: Option<SetTimerAction>

Information needed to set the timer.

set_variable: Option<SetVariableAction>

Sets a variable to a specified value.

sns: Option<SNSTopicPublishAction>

Sends an Amazon SNS message.

sqs: Option<SqsAction>

Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.

Trait Implementations

impl Clone for Action[src]

impl Debug for Action[src]

impl Default for Action[src]

impl<'de> Deserialize<'de> for Action[src]

impl PartialEq<Action> for Action[src]

impl Serialize for Action[src]

impl StructuralPartialEq for Action[src]

Auto Trait Implementations

impl RefUnwindSafe for Action

impl Send for Action

impl Sync for Action

impl Unpin for Action

impl UnwindSafe for Action

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.