Struct aws_sdk_iot::types::builders::ActionBuilder
source · #[non_exhaustive]pub struct ActionBuilder { /* private fields */ }
Expand description
A builder for Action
.
Implementations§
source§impl ActionBuilder
impl ActionBuilder
sourcepub fn dynamo_db(self, input: DynamoDbAction) -> Self
pub fn dynamo_db(self, input: DynamoDbAction) -> Self
Write to a DynamoDB table.
sourcepub fn set_dynamo_db(self, input: Option<DynamoDbAction>) -> Self
pub fn set_dynamo_db(self, input: Option<DynamoDbAction>) -> Self
Write to a DynamoDB table.
sourcepub fn get_dynamo_db(&self) -> &Option<DynamoDbAction>
pub fn get_dynamo_db(&self) -> &Option<DynamoDbAction>
Write to a DynamoDB table.
sourcepub fn dynamo_dbv2(self, input: DynamoDBv2Action) -> Self
pub fn dynamo_dbv2(self, input: DynamoDBv2Action) -> Self
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.
sourcepub fn set_dynamo_dbv2(self, input: Option<DynamoDBv2Action>) -> Self
pub fn set_dynamo_dbv2(self, input: Option<DynamoDBv2Action>) -> Self
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.
sourcepub fn get_dynamo_dbv2(&self) -> &Option<DynamoDBv2Action>
pub fn get_dynamo_dbv2(&self) -> &Option<DynamoDBv2Action>
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.
sourcepub fn lambda(self, input: LambdaAction) -> Self
pub fn lambda(self, input: LambdaAction) -> Self
Invoke a Lambda function.
sourcepub fn set_lambda(self, input: Option<LambdaAction>) -> Self
pub fn set_lambda(self, input: Option<LambdaAction>) -> Self
Invoke a Lambda function.
sourcepub fn get_lambda(&self) -> &Option<LambdaAction>
pub fn get_lambda(&self) -> &Option<LambdaAction>
Invoke a Lambda function.
sourcepub fn kinesis(self, input: KinesisAction) -> Self
pub fn kinesis(self, input: KinesisAction) -> Self
Write data to an Amazon Kinesis stream.
sourcepub fn set_kinesis(self, input: Option<KinesisAction>) -> Self
pub fn set_kinesis(self, input: Option<KinesisAction>) -> Self
Write data to an Amazon Kinesis stream.
sourcepub fn get_kinesis(&self) -> &Option<KinesisAction>
pub fn get_kinesis(&self) -> &Option<KinesisAction>
Write data to an Amazon Kinesis stream.
sourcepub fn republish(self, input: RepublishAction) -> Self
pub fn republish(self, input: RepublishAction) -> Self
Publish to another MQTT topic.
sourcepub fn set_republish(self, input: Option<RepublishAction>) -> Self
pub fn set_republish(self, input: Option<RepublishAction>) -> Self
Publish to another MQTT topic.
sourcepub fn get_republish(&self) -> &Option<RepublishAction>
pub fn get_republish(&self) -> &Option<RepublishAction>
Publish to another MQTT topic.
sourcepub fn firehose(self, input: FirehoseAction) -> Self
pub fn firehose(self, input: FirehoseAction) -> Self
Write to an Amazon Kinesis Firehose stream.
sourcepub fn set_firehose(self, input: Option<FirehoseAction>) -> Self
pub fn set_firehose(self, input: Option<FirehoseAction>) -> Self
Write to an Amazon Kinesis Firehose stream.
sourcepub fn get_firehose(&self) -> &Option<FirehoseAction>
pub fn get_firehose(&self) -> &Option<FirehoseAction>
Write to an Amazon Kinesis Firehose stream.
sourcepub fn cloudwatch_metric(self, input: CloudwatchMetricAction) -> Self
pub fn cloudwatch_metric(self, input: CloudwatchMetricAction) -> Self
Capture a CloudWatch metric.
sourcepub fn set_cloudwatch_metric(
self,
input: Option<CloudwatchMetricAction>
) -> Self
pub fn set_cloudwatch_metric( self, input: Option<CloudwatchMetricAction> ) -> Self
Capture a CloudWatch metric.
sourcepub fn get_cloudwatch_metric(&self) -> &Option<CloudwatchMetricAction>
pub fn get_cloudwatch_metric(&self) -> &Option<CloudwatchMetricAction>
Capture a CloudWatch metric.
sourcepub fn cloudwatch_alarm(self, input: CloudwatchAlarmAction) -> Self
pub fn cloudwatch_alarm(self, input: CloudwatchAlarmAction) -> Self
Change the state of a CloudWatch alarm.
sourcepub fn set_cloudwatch_alarm(self, input: Option<CloudwatchAlarmAction>) -> Self
pub fn set_cloudwatch_alarm(self, input: Option<CloudwatchAlarmAction>) -> Self
Change the state of a CloudWatch alarm.
sourcepub fn get_cloudwatch_alarm(&self) -> &Option<CloudwatchAlarmAction>
pub fn get_cloudwatch_alarm(&self) -> &Option<CloudwatchAlarmAction>
Change the state of a CloudWatch alarm.
sourcepub fn cloudwatch_logs(self, input: CloudwatchLogsAction) -> Self
pub fn cloudwatch_logs(self, input: CloudwatchLogsAction) -> Self
Send data to CloudWatch Logs.
sourcepub fn set_cloudwatch_logs(self, input: Option<CloudwatchLogsAction>) -> Self
pub fn set_cloudwatch_logs(self, input: Option<CloudwatchLogsAction>) -> Self
Send data to CloudWatch Logs.
sourcepub fn get_cloudwatch_logs(&self) -> &Option<CloudwatchLogsAction>
pub fn get_cloudwatch_logs(&self) -> &Option<CloudwatchLogsAction>
Send data to CloudWatch Logs.
sourcepub fn elasticsearch(self, input: ElasticsearchAction) -> Self
pub fn elasticsearch(self, input: ElasticsearchAction) -> Self
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 the OpenSearch
rule action instead. For more information, see OpenSearchAction.
sourcepub fn set_elasticsearch(self, input: Option<ElasticsearchAction>) -> Self
pub fn set_elasticsearch(self, input: Option<ElasticsearchAction>) -> Self
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 the OpenSearch
rule action instead. For more information, see OpenSearchAction.
sourcepub fn get_elasticsearch(&self) -> &Option<ElasticsearchAction>
pub fn get_elasticsearch(&self) -> &Option<ElasticsearchAction>
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 the OpenSearch
rule action instead. For more information, see OpenSearchAction.
sourcepub fn salesforce(self, input: SalesforceAction) -> Self
pub fn salesforce(self, input: SalesforceAction) -> Self
Send a message to a Salesforce IoT Cloud Input Stream.
sourcepub fn set_salesforce(self, input: Option<SalesforceAction>) -> Self
pub fn set_salesforce(self, input: Option<SalesforceAction>) -> Self
Send a message to a Salesforce IoT Cloud Input Stream.
sourcepub fn get_salesforce(&self) -> &Option<SalesforceAction>
pub fn get_salesforce(&self) -> &Option<SalesforceAction>
Send a message to a Salesforce IoT Cloud Input Stream.
sourcepub fn iot_analytics(self, input: IotAnalyticsAction) -> Self
pub fn iot_analytics(self, input: IotAnalyticsAction) -> Self
Sends message data to an IoT Analytics channel.
sourcepub fn set_iot_analytics(self, input: Option<IotAnalyticsAction>) -> Self
pub fn set_iot_analytics(self, input: Option<IotAnalyticsAction>) -> Self
Sends message data to an IoT Analytics channel.
sourcepub fn get_iot_analytics(&self) -> &Option<IotAnalyticsAction>
pub fn get_iot_analytics(&self) -> &Option<IotAnalyticsAction>
Sends message data to an IoT Analytics channel.
sourcepub fn iot_events(self, input: IotEventsAction) -> Self
pub fn iot_events(self, input: IotEventsAction) -> Self
Sends an input to an IoT Events detector.
sourcepub fn set_iot_events(self, input: Option<IotEventsAction>) -> Self
pub fn set_iot_events(self, input: Option<IotEventsAction>) -> Self
Sends an input to an IoT Events detector.
sourcepub fn get_iot_events(&self) -> &Option<IotEventsAction>
pub fn get_iot_events(&self) -> &Option<IotEventsAction>
Sends an input to an IoT Events detector.
sourcepub fn iot_site_wise(self, input: IotSiteWiseAction) -> Self
pub fn iot_site_wise(self, input: IotSiteWiseAction) -> Self
Sends data from the MQTT message that triggered the rule to IoT SiteWise asset properties.
sourcepub fn set_iot_site_wise(self, input: Option<IotSiteWiseAction>) -> Self
pub fn set_iot_site_wise(self, input: Option<IotSiteWiseAction>) -> Self
Sends data from the MQTT message that triggered the rule to IoT SiteWise asset properties.
sourcepub fn get_iot_site_wise(&self) -> &Option<IotSiteWiseAction>
pub fn get_iot_site_wise(&self) -> &Option<IotSiteWiseAction>
Sends data from the MQTT message that triggered the rule to IoT SiteWise asset properties.
sourcepub fn step_functions(self, input: StepFunctionsAction) -> Self
pub fn step_functions(self, input: StepFunctionsAction) -> Self
Starts execution of a Step Functions state machine.
sourcepub fn set_step_functions(self, input: Option<StepFunctionsAction>) -> Self
pub fn set_step_functions(self, input: Option<StepFunctionsAction>) -> Self
Starts execution of a Step Functions state machine.
sourcepub fn get_step_functions(&self) -> &Option<StepFunctionsAction>
pub fn get_step_functions(&self) -> &Option<StepFunctionsAction>
Starts execution of a Step Functions state machine.
sourcepub fn timestream(self, input: TimestreamAction) -> Self
pub fn timestream(self, input: TimestreamAction) -> Self
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.
sourcepub fn set_timestream(self, input: Option<TimestreamAction>) -> Self
pub fn set_timestream(self, input: Option<TimestreamAction>) -> Self
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.
sourcepub fn get_timestream(&self) -> &Option<TimestreamAction>
pub fn get_timestream(&self) -> &Option<TimestreamAction>
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.
sourcepub fn http(self, input: HttpAction) -> Self
pub fn http(self, input: HttpAction) -> Self
Send data to an HTTPS endpoint.
sourcepub fn set_http(self, input: Option<HttpAction>) -> Self
pub fn set_http(self, input: Option<HttpAction>) -> Self
Send data to an HTTPS endpoint.
sourcepub fn get_http(&self) -> &Option<HttpAction>
pub fn get_http(&self) -> &Option<HttpAction>
Send data to an HTTPS endpoint.
sourcepub fn kafka(self, input: KafkaAction) -> Self
pub fn kafka(self, input: KafkaAction) -> Self
Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.
sourcepub fn set_kafka(self, input: Option<KafkaAction>) -> Self
pub fn set_kafka(self, input: Option<KafkaAction>) -> Self
Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.
sourcepub fn get_kafka(&self) -> &Option<KafkaAction>
pub fn get_kafka(&self) -> &Option<KafkaAction>
Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.
sourcepub fn open_search(self, input: OpenSearchAction) -> Self
pub fn open_search(self, input: OpenSearchAction) -> Self
Write data to an Amazon OpenSearch Service domain.
sourcepub fn set_open_search(self, input: Option<OpenSearchAction>) -> Self
pub fn set_open_search(self, input: Option<OpenSearchAction>) -> Self
Write data to an Amazon OpenSearch Service domain.
sourcepub fn get_open_search(&self) -> &Option<OpenSearchAction>
pub fn get_open_search(&self) -> &Option<OpenSearchAction>
Write data to an Amazon OpenSearch Service domain.
sourcepub fn location(self, input: LocationAction) -> Self
pub fn location(self, input: LocationAction) -> Self
The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.
sourcepub fn set_location(self, input: Option<LocationAction>) -> Self
pub fn set_location(self, input: Option<LocationAction>) -> Self
The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.
sourcepub fn get_location(&self) -> &Option<LocationAction>
pub fn get_location(&self) -> &Option<LocationAction>
The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.
Trait Implementations§
source§impl Clone for ActionBuilder
impl Clone for ActionBuilder
source§fn clone(&self) -> ActionBuilder
fn clone(&self) -> ActionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ActionBuilder
impl Debug for ActionBuilder
source§impl Default for ActionBuilder
impl Default for ActionBuilder
source§fn default() -> ActionBuilder
fn default() -> ActionBuilder
source§impl PartialEq for ActionBuilder
impl PartialEq for ActionBuilder
source§fn eq(&self, other: &ActionBuilder) -> bool
fn eq(&self, other: &ActionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.