blib/lib/Paws/IoTEvents/Action.pm untested

filter: Statementstmt 0.0% 0 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 30 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IoTEvents::Action;
3 use Moose;
4 has ClearTimer => (is => 'ro', isa => 'Paws::IoTEvents::ClearTimerAction', request_name => 'clearTimer', traits => ['NameInRequest']);
5 has DynamoDB => (is => 'ro', isa => 'Paws::IoTEvents::DynamoDBAction', request_name => 'dynamoDB', traits => ['NameInRequest']);
6 has DynamoDBv2 => (is => 'ro', isa => 'Paws::IoTEvents::DynamoDBv2Action', request_name => 'dynamoDBv2', traits => ['NameInRequest']);
7 has Firehose => (is => 'ro', isa => 'Paws::IoTEvents::FirehoseAction', request_name => 'firehose', traits => ['NameInRequest']);
8 has IotEvents => (is => 'ro', isa => 'Paws::IoTEvents::IotEventsAction', request_name => 'iotEvents', traits => ['NameInRequest']);
9 has IotSiteWise => (is => 'ro', isa => 'Paws::IoTEvents::IotSiteWiseAction', request_name => 'iotSiteWise', traits => ['NameInRequest']);
10 has IotTopicPublish => (is => 'ro', isa => 'Paws::IoTEvents::IotTopicPublishAction', request_name => 'iotTopicPublish', traits => ['NameInRequest']);
11 has Lambda => (is => 'ro', isa => 'Paws::IoTEvents::LambdaAction', request_name => 'lambda', traits => ['NameInRequest']);
12 has ResetTimer => (is => 'ro', isa => 'Paws::IoTEvents::ResetTimerAction', request_name => 'resetTimer', traits => ['NameInRequest']);
13 has SetTimer => (is => 'ro', isa => 'Paws::IoTEvents::SetTimerAction', request_name => 'setTimer', traits => ['NameInRequest']);
14 has SetVariable => (is => 'ro', isa => 'Paws::IoTEvents::SetVariableAction', request_name => 'setVariable', traits => ['NameInRequest']);
15 has Sns => (is => 'ro', isa => 'Paws::IoTEvents::SNSTopicPublishAction', request_name => 'sns', traits => ['NameInRequest']);
16 has Sqs => (is => 'ro', isa => 'Paws::IoTEvents::SqsAction', request_name => 'sqs', traits => ['NameInRequest']);
17  
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::IoTEvents::Action
25  
26 =head1 USAGE
27  
28 This class represents one of two things:
29  
30 =head3 Arguments in a call to a service
31  
32 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
33 Each attribute should be used as a named argument in the calls that expect this type of object.
34  
35 As an example, if Att1 is expected to be a Paws::IoTEvents::Action object:
36  
37 $service_obj->Method(Att1 => { ClearTimer => $value, ..., Sqs => $value });
38  
39 =head3 Results returned from an API call
40  
41 Use accessors for each attribute. If Att1 is expected to be an Paws::IoTEvents::Action object:
42  
43 $result = $service_obj->Method(...);
44 $result->Att1->ClearTimer
45  
46 =head1 DESCRIPTION
47  
48 An action to be performed when the C<condition> is TRUE.
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 ClearTimer => L<Paws::IoTEvents::ClearTimerAction>
54  
55 Information needed to clear the timer.
56  
57  
58 =head2 DynamoDB => L<Paws::IoTEvents::DynamoDBAction>
59  
60 Writes to the DynamoDB table that you created. The default action
61 payload contains all attribute-value pairs that have the information
62 about the detector model instance and the event that triggered the
63 action. You can customize the payload
64 (https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html).
65 One column of the DynamoDB table receives all attribute-value pairs in
66 the payload that you specify. For more information, see Actions
67 (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html)
68 in I<AWS IoT Events Developer Guide>.
69  
70  
71 =head2 DynamoDBv2 => L<Paws::IoTEvents::DynamoDBv2Action>
72  
73 Writes to the DynamoDB table that you created. The default action
74 payload contains all attribute-value pairs that have the information
75 about the detector model instance and the event that triggered the
76 action. You can customize the payload
77 (https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html).
78 A separate column of the DynamoDB table receives one attribute-value
79 pair in the payload that you specify. For more information, see Actions
80 (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html)
81 in I<AWS IoT Events Developer Guide>.
82  
83  
84 =head2 Firehose => L<Paws::IoTEvents::FirehoseAction>
85  
86 Sends information about the detector model instance and the event that
87 triggered the action to an Amazon Kinesis Data Firehose delivery
88 stream.
89  
90  
91 =head2 IotEvents => L<Paws::IoTEvents::IotEventsAction>
92  
93 Sends AWS IoT Events input, which passes information about the detector
94 model instance and the event that triggered the action.
95  
96  
97 =head2 IotSiteWise => L<Paws::IoTEvents::IotSiteWiseAction>
98  
99 Sends information about the detector model instance and the event that
100 triggered the action to an asset property in AWS IoT SiteWise .
101  
102  
103 =head2 IotTopicPublish => L<Paws::IoTEvents::IotTopicPublishAction>
104  
105 Publishes an MQTT message with the given topic to the AWS IoT message
106 broker.
107  
108  
109 =head2 Lambda => L<Paws::IoTEvents::LambdaAction>
110  
111 Calls a Lambda function, passing in information about the detector
112 model instance and the event that triggered the action.
113  
114  
115 =head2 ResetTimer => L<Paws::IoTEvents::ResetTimerAction>
116  
117 Information needed to reset the timer.
118  
119  
120 =head2 SetTimer => L<Paws::IoTEvents::SetTimerAction>
121  
122 Information needed to set the timer.
123  
124  
125 =head2 SetVariable => L<Paws::IoTEvents::SetVariableAction>
126  
127 Sets a variable to a specified value.
128  
129  
130 =head2 Sns => L<Paws::IoTEvents::SNSTopicPublishAction>
131  
132 Sends an Amazon SNS message.
133  
134  
135 =head2 Sqs => L<Paws::IoTEvents::SqsAction>
136  
137 Sends information about the detector model instance and the event that
138 triggered the action to an Amazon SQS queue.
139  
140  
141  
142 =head1 SEE ALSO
143  
144 This class forms part of L<Paws>, describing an object used in L<Paws::IoTEvents>
145  
146 =head1 BUGS and CONTRIBUTIONS
147  
148 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
149  
150 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
151  
152 =cut
153