File Coverage

blib/lib/Paws/SimpleWorkflow/ScheduleLambdaFunctionDecisionAttributes.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::SimpleWorkflow::ScheduleLambdaFunctionDecisionAttributes;
2 1     1   527 use Moose;
  1         6  
  1         12  
3             has Control => (is => 'ro', isa => 'Str', request_name => 'control', traits => ['NameInRequest']);
4             has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest'], required => 1);
5             has Input => (is => 'ro', isa => 'Str', request_name => 'input', traits => ['NameInRequest']);
6             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
7             has StartToCloseTimeout => (is => 'ro', isa => 'Str', request_name => 'startToCloseTimeout', traits => ['NameInRequest']);
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::SimpleWorkflow::ScheduleLambdaFunctionDecisionAttributes
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::SimpleWorkflow::ScheduleLambdaFunctionDecisionAttributes object:
26              
27             $service_obj->Method(Att1 => { Control => $value, ..., StartToCloseTimeout => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::SimpleWorkflow::ScheduleLambdaFunctionDecisionAttributes object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->Control
35              
36             =head1 DESCRIPTION
37              
38             Decision attributes specified in
39             C<scheduleLambdaFunctionDecisionAttributes> within the list of
40             decisions C<decisions> passed to RespondDecisionTaskCompleted.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 Control => Str
46              
47             The data attached to the event that the decider can use in subsequent
48             workflow tasks. This data isn't sent to the Lambda task.
49              
50              
51             =head2 B<REQUIRED> Id => Str
52              
53             A string that identifies the Lambda function execution in the event
54             history.
55              
56              
57             =head2 Input => Str
58              
59             The optional input data to be supplied to the Lambda function.
60              
61              
62             =head2 B<REQUIRED> Name => Str
63              
64             The name, or ARN, of the Lambda function to schedule.
65              
66              
67             =head2 StartToCloseTimeout => Str
68              
69             The timeout value, in seconds, after which the Lambda function is
70             considered to be failed once it has started. This can be any integer
71             from 1-300 (1s-5m). If no value is supplied, than a default value of
72             300s is assumed.
73              
74              
75              
76             =head1 SEE ALSO
77              
78             This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow>
79              
80             =head1 BUGS and CONTRIBUTIONS
81              
82             The source code is located here: https://github.com/pplu/aws-sdk-perl
83              
84             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
85              
86             =cut
87