| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IoT::Action; | ||
| 3 | use Moose; | ||
| 4 | has CloudwatchAlarm => (is => 'ro', isa => 'Paws::IoT::CloudwatchAlarmAction', request_name => 'cloudwatchAlarm', traits => ['NameInRequest']); | ||
| 5 | has CloudwatchLogs => (is => 'ro', isa => 'Paws::IoT::CloudwatchLogsAction', request_name => 'cloudwatchLogs', traits => ['NameInRequest']); | ||
| 6 | has CloudwatchMetric => (is => 'ro', isa => 'Paws::IoT::CloudwatchMetricAction', request_name => 'cloudwatchMetric', traits => ['NameInRequest']); | ||
| 7 | has DynamoDB => (is => 'ro', isa => 'Paws::IoT::DynamoDBAction', request_name => 'dynamoDB', traits => ['NameInRequest']); | ||
| 8 | has DynamoDBv2 => (is => 'ro', isa => 'Paws::IoT::DynamoDBv2Action', request_name => 'dynamoDBv2', traits => ['NameInRequest']); | ||
| 9 | has Elasticsearch => (is => 'ro', isa => 'Paws::IoT::ElasticsearchAction', request_name => 'elasticsearch', traits => ['NameInRequest']); | ||
| 10 | has Firehose => (is => 'ro', isa => 'Paws::IoT::FirehoseAction', request_name => 'firehose', traits => ['NameInRequest']); | ||
| 11 | has Http => (is => 'ro', isa => 'Paws::IoT::HttpAction', request_name => 'http', traits => ['NameInRequest']); | ||
| 12 | has IotAnalytics => (is => 'ro', isa => 'Paws::IoT::IotAnalyticsAction', request_name => 'iotAnalytics', traits => ['NameInRequest']); | ||
| 13 | has IotEvents => (is => 'ro', isa => 'Paws::IoT::IotEventsAction', request_name => 'iotEvents', traits => ['NameInRequest']); | ||
| 14 | has IotSiteWise => (is => 'ro', isa => 'Paws::IoT::IotSiteWiseAction', request_name => 'iotSiteWise', traits => ['NameInRequest']); | ||
| 15 | has Kafka => (is => 'ro', isa => 'Paws::IoT::KafkaAction', request_name => 'kafka', traits => ['NameInRequest']); | ||
| 16 | has Kinesis => (is => 'ro', isa => 'Paws::IoT::KinesisAction', request_name => 'kinesis', traits => ['NameInRequest']); | ||
| 17 | has Lambda => (is => 'ro', isa => 'Paws::IoT::LambdaAction', request_name => 'lambda', traits => ['NameInRequest']); | ||
| 18 | has Republish => (is => 'ro', isa => 'Paws::IoT::RepublishAction', request_name => 'republish', traits => ['NameInRequest']); | ||
| 19 | has S3 => (is => 'ro', isa => 'Paws::IoT::S3Action', request_name => 's3', traits => ['NameInRequest']); | ||
| 20 | has Salesforce => (is => 'ro', isa => 'Paws::IoT::SalesforceAction', request_name => 'salesforce', traits => ['NameInRequest']); | ||
| 21 | has Sns => (is => 'ro', isa => 'Paws::IoT::SnsAction', request_name => 'sns', traits => ['NameInRequest']); | ||
| 22 | has Sqs => (is => 'ro', isa => 'Paws::IoT::SqsAction', request_name => 'sqs', traits => ['NameInRequest']); | ||
| 23 | has StepFunctions => (is => 'ro', isa => 'Paws::IoT::StepFunctionsAction', request_name => 'stepFunctions', traits => ['NameInRequest']); | ||
| 24 | has Timestream => (is => 'ro', isa => 'Paws::IoT::TimestreamAction', request_name => 'timestream', traits => ['NameInRequest']); | ||
| 25 | |||
| 26 | 1; | ||
| 27 | |||
| 28 | ### main pod documentation begin ### | ||
| 29 | |||
| 30 | =head1 NAME | ||
| 31 | |||
| 32 | Paws::IoT::Action | ||
| 33 | |||
| 34 | =head1 USAGE | ||
| 35 | |||
| 36 | This class represents one of two things: | ||
| 37 | |||
| 38 | =head3 Arguments in a call to a service | ||
| 39 | |||
| 40 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 41 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 42 | |||
| 43 | As an example, if Att1 is expected to be a Paws::IoT::Action object: | ||
| 44 | |||
| 45 | $service_obj->Method(Att1 => { CloudwatchAlarm => $value, ..., Timestream => $value }); | ||
| 46 | |||
| 47 | =head3 Results returned from an API call | ||
| 48 | |||
| 49 | Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::Action object: | ||
| 50 | |||
| 51 | $result = $service_obj->Method(...); | ||
| 52 | $result->Att1->CloudwatchAlarm | ||
| 53 | |||
| 54 | =head1 DESCRIPTION | ||
| 55 | |||
| 56 | Describes the actions associated with a rule. | ||
| 57 | |||
| 58 | =head1 ATTRIBUTES | ||
| 59 | |||
| 60 | |||
| 61 | =head2 CloudwatchAlarm => L<Paws::IoT::CloudwatchAlarmAction> | ||
| 62 | |||
| 63 | Change the state of a CloudWatch alarm. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 CloudwatchLogs => L<Paws::IoT::CloudwatchLogsAction> | ||
| 67 | |||
| 68 | Send data to CloudWatch Logs. | ||
| 69 | |||
| 70 | |||
| 71 | =head2 CloudwatchMetric => L<Paws::IoT::CloudwatchMetricAction> | ||
| 72 | |||
| 73 | Capture a CloudWatch metric. | ||
| 74 | |||
| 75 | |||
| 76 | =head2 DynamoDB => L<Paws::IoT::DynamoDBAction> | ||
| 77 | |||
| 78 | Write to a DynamoDB table. | ||
| 79 | |||
| 80 | |||
| 81 | =head2 DynamoDBv2 => L<Paws::IoT::DynamoDBv2Action> | ||
| 82 | |||
| 83 | Write to a DynamoDB table. This is a new version of the DynamoDB | ||
| 84 | action. It allows you to write each attribute in an MQTT message | ||
| 85 | payload into a separate DynamoDB column. | ||
| 86 | |||
| 87 | |||
| 88 | =head2 Elasticsearch => L<Paws::IoT::ElasticsearchAction> | ||
| 89 | |||
| 90 | Write data to an Amazon Elasticsearch Service domain. | ||
| 91 | |||
| 92 | |||
| 93 | =head2 Firehose => L<Paws::IoT::FirehoseAction> | ||
| 94 | |||
| 95 | Write to an Amazon Kinesis Firehose stream. | ||
| 96 | |||
| 97 | |||
| 98 | =head2 Http => L<Paws::IoT::HttpAction> | ||
| 99 | |||
| 100 | Send data to an HTTPS endpoint. | ||
| 101 | |||
| 102 | |||
| 103 | =head2 IotAnalytics => L<Paws::IoT::IotAnalyticsAction> | ||
| 104 | |||
| 105 | Sends message data to an AWS IoT Analytics channel. | ||
| 106 | |||
| 107 | |||
| 108 | =head2 IotEvents => L<Paws::IoT::IotEventsAction> | ||
| 109 | |||
| 110 | Sends an input to an AWS IoT Events detector. | ||
| 111 | |||
| 112 | |||
| 113 | =head2 IotSiteWise => L<Paws::IoT::IotSiteWiseAction> | ||
| 114 | |||
| 115 | Sends data from the MQTT message that triggered the rule to AWS IoT | ||
| 116 | SiteWise asset properties. | ||
| 117 | |||
| 118 | |||
| 119 | =head2 Kafka => L<Paws::IoT::KafkaAction> | ||
| 120 | |||
| 121 | Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon | ||
| 122 | MSK) or self-managed Apache Kafka cluster. | ||
| 123 | |||
| 124 | |||
| 125 | =head2 Kinesis => L<Paws::IoT::KinesisAction> | ||
| 126 | |||
| 127 | Write data to an Amazon Kinesis stream. | ||
| 128 | |||
| 129 | |||
| 130 | =head2 Lambda => L<Paws::IoT::LambdaAction> | ||
| 131 | |||
| 132 | Invoke a Lambda function. | ||
| 133 | |||
| 134 | |||
| 135 | =head2 Republish => L<Paws::IoT::RepublishAction> | ||
| 136 | |||
| 137 | Publish to another MQTT topic. | ||
| 138 | |||
| 139 | |||
| 140 | =head2 S3 => L<Paws::IoT::S3Action> | ||
| 141 | |||
| 142 | Write to an Amazon S3 bucket. | ||
| 143 | |||
| 144 | |||
| 145 | =head2 Salesforce => L<Paws::IoT::SalesforceAction> | ||
| 146 | |||
| 147 | Send a message to a Salesforce IoT Cloud Input Stream. | ||
| 148 | |||
| 149 | |||
| 150 | =head2 Sns => L<Paws::IoT::SnsAction> | ||
| 151 | |||
| 152 | Publish to an Amazon SNS topic. | ||
| 153 | |||
| 154 | |||
| 155 | =head2 Sqs => L<Paws::IoT::SqsAction> | ||
| 156 | |||
| 157 | Publish to an Amazon SQS queue. | ||
| 158 | |||
| 159 | |||
| 160 | =head2 StepFunctions => L<Paws::IoT::StepFunctionsAction> | ||
| 161 | |||
| 162 | Starts execution of a Step Functions state machine. | ||
| 163 | |||
| 164 | |||
| 165 | =head2 Timestream => L<Paws::IoT::TimestreamAction> | ||
| 166 | |||
| 167 | The Timestream rule action writes attributes (measures) from an MQTT | ||
| 168 | message into an Amazon Timestream table. For more information, see the | ||
| 169 | Timestream | ||
| 170 | (https://docs.aws.amazon.com/iot/latest/developerguide/timestream-rule-action.html) | ||
| 171 | topic rule action documentation. | ||
| 172 | |||
| 173 | |||
| 174 | |||
| 175 | =head1 SEE ALSO | ||
| 176 | |||
| 177 | This class forms part of L<Paws>, describing an object used in L<Paws::IoT> | ||
| 178 | |||
| 179 | =head1 BUGS and CONTRIBUTIONS | ||
| 180 | |||
| 181 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 182 | |||
| 183 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 184 | |||
| 185 | =cut | ||
| 186 |