File Coverage

blib/lib/Paws/IoT/Action.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::IoT::Action;
2 1     1   430 use Moose;
  1         3  
  1         6  
3             has CloudwatchAlarm => (is => 'ro', isa => 'Paws::IoT::CloudwatchAlarmAction', request_name => 'cloudwatchAlarm', traits => ['NameInRequest']);
4             has CloudwatchMetric => (is => 'ro', isa => 'Paws::IoT::CloudwatchMetricAction', request_name => 'cloudwatchMetric', traits => ['NameInRequest']);
5             has DynamoDB => (is => 'ro', isa => 'Paws::IoT::DynamoDBAction', request_name => 'dynamoDB', traits => ['NameInRequest']);
6             has DynamoDBv2 => (is => 'ro', isa => 'Paws::IoT::DynamoDBv2Action', request_name => 'dynamoDBv2', traits => ['NameInRequest']);
7             has Elasticsearch => (is => 'ro', isa => 'Paws::IoT::ElasticsearchAction', request_name => 'elasticsearch', traits => ['NameInRequest']);
8             has Firehose => (is => 'ro', isa => 'Paws::IoT::FirehoseAction', request_name => 'firehose', traits => ['NameInRequest']);
9             has Kinesis => (is => 'ro', isa => 'Paws::IoT::KinesisAction', request_name => 'kinesis', traits => ['NameInRequest']);
10             has Lambda => (is => 'ro', isa => 'Paws::IoT::LambdaAction', request_name => 'lambda', traits => ['NameInRequest']);
11             has Republish => (is => 'ro', isa => 'Paws::IoT::RepublishAction', request_name => 'republish', traits => ['NameInRequest']);
12             has S3 => (is => 'ro', isa => 'Paws::IoT::S3Action', request_name => 's3', traits => ['NameInRequest']);
13             has Salesforce => (is => 'ro', isa => 'Paws::IoT::SalesforceAction', request_name => 'salesforce', traits => ['NameInRequest']);
14             has Sns => (is => 'ro', isa => 'Paws::IoT::SnsAction', request_name => 'sns', traits => ['NameInRequest']);
15             has Sqs => (is => 'ro', isa => 'Paws::IoT::SqsAction', request_name => 'sqs', traits => ['NameInRequest']);
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::IoT::Action
23              
24             =head1 USAGE
25              
26             This class represents one of two things:
27              
28             =head3 Arguments in a call to a service
29              
30             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
31             Each attribute should be used as a named argument in the calls that expect this type of object.
32              
33             As an example, if Att1 is expected to be a Paws::IoT::Action object:
34              
35             $service_obj->Method(Att1 => { CloudwatchAlarm => $value, ..., Sqs => $value });
36              
37             =head3 Results returned from an API call
38              
39             Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::Action object:
40              
41             $result = $service_obj->Method(...);
42             $result->Att1->CloudwatchAlarm
43              
44             =head1 DESCRIPTION
45              
46             Describes the actions associated with a rule.
47              
48             =head1 ATTRIBUTES
49              
50              
51             =head2 CloudwatchAlarm => L<Paws::IoT::CloudwatchAlarmAction>
52              
53             Change the state of a CloudWatch alarm.
54              
55              
56             =head2 CloudwatchMetric => L<Paws::IoT::CloudwatchMetricAction>
57              
58             Capture a CloudWatch metric.
59              
60              
61             =head2 DynamoDB => L<Paws::IoT::DynamoDBAction>
62              
63             Write to a DynamoDB table.
64              
65              
66             =head2 DynamoDBv2 => L<Paws::IoT::DynamoDBv2Action>
67              
68             Write to a DynamoDB table. This is a new version of the DynamoDB
69             action. It allows you to write each attribute in an MQTT message
70             payload into a separate DynamoDB column.
71              
72              
73             =head2 Elasticsearch => L<Paws::IoT::ElasticsearchAction>
74              
75             Write data to an Amazon Elasticsearch Service domain.
76              
77              
78             =head2 Firehose => L<Paws::IoT::FirehoseAction>
79              
80             Write to an Amazon Kinesis Firehose stream.
81              
82              
83             =head2 Kinesis => L<Paws::IoT::KinesisAction>
84              
85             Write data to an Amazon Kinesis stream.
86              
87              
88             =head2 Lambda => L<Paws::IoT::LambdaAction>
89              
90             Invoke a Lambda function.
91              
92              
93             =head2 Republish => L<Paws::IoT::RepublishAction>
94              
95             Publish to another MQTT topic.
96              
97              
98             =head2 S3 => L<Paws::IoT::S3Action>
99              
100             Write to an Amazon S3 bucket.
101              
102              
103             =head2 Salesforce => L<Paws::IoT::SalesforceAction>
104              
105             Send a message to a Salesforce IoT Cloud Input Stream.
106              
107              
108             =head2 Sns => L<Paws::IoT::SnsAction>
109              
110             Publish to an Amazon SNS topic.
111              
112              
113             =head2 Sqs => L<Paws::IoT::SqsAction>
114              
115             Publish to an Amazon SQS queue.
116              
117              
118              
119             =head1 SEE ALSO
120              
121             This class forms part of L<Paws>, describing an object used in L<Paws::IoT>
122              
123             =head1 BUGS and CONTRIBUTIONS
124              
125             The source code is located here: https://github.com/pplu/aws-sdk-perl
126              
127             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
128              
129             =cut
130