File Coverage

blib/lib/Paws/SimpleWorkflow/ScheduleLambdaFunctionFailedEventAttributes.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::ScheduleLambdaFunctionFailedEventAttributes;
2 1     1   542 use Moose;
  1         2  
  1         8  
3             has Cause => (is => 'ro', isa => 'Str', request_name => 'cause', traits => ['NameInRequest'], required => 1);
4             has DecisionTaskCompletedEventId => (is => 'ro', isa => 'Int', request_name => 'decisionTaskCompletedEventId', traits => ['NameInRequest'], required => 1);
5             has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest'], required => 1);
6             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
7             1;
8              
9             ### main pod documentation begin ###
10              
11             =head1 NAME
12              
13             Paws::SimpleWorkflow::ScheduleLambdaFunctionFailedEventAttributes
14              
15             =head1 USAGE
16              
17             This class represents one of two things:
18              
19             =head3 Arguments in a call to a service
20              
21             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22             Each attribute should be used as a named argument in the calls that expect this type of object.
23              
24             As an example, if Att1 is expected to be a Paws::SimpleWorkflow::ScheduleLambdaFunctionFailedEventAttributes object:
25              
26             $service_obj->Method(Att1 => { Cause => $value, ..., Name => $value });
27              
28             =head3 Results returned from an API call
29              
30             Use accessors for each attribute. If Att1 is expected to be an Paws::SimpleWorkflow::ScheduleLambdaFunctionFailedEventAttributes object:
31              
32             $result = $service_obj->Method(...);
33             $result->Att1->Cause
34              
35             =head1 DESCRIPTION
36              
37             Provides the details of the C<ScheduleLambdaFunctionFailed> event. It
38             isn't set for other event types.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 B<REQUIRED> Cause => Str
44              
45             The cause of the failure. To help diagnose issues, use this information
46             to trace back the chain of events leading up to this event.
47              
48             If C<cause> is set to C<OPERATION_NOT_PERMITTED>, the decision failed
49             because it lacked sufficient permissions. For details and example IAM
50             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
51             I<Amazon SWF Developer Guide>.
52              
53              
54             =head2 B<REQUIRED> DecisionTaskCompletedEventId => Int
55              
56             The ID of the C<LambdaFunctionCompleted> event corresponding to the
57             decision that resulted in scheduling this Lambda task. To help diagnose
58             issues, use this information to trace back the chain of events leading
59             up to this event.
60              
61              
62             =head2 B<REQUIRED> Id => Str
63              
64             The ID provided in the C<ScheduleLambdaFunction> decision that failed.
65              
66              
67             =head2 B<REQUIRED> Name => Str
68              
69             The name of the Lambda function.
70              
71              
72              
73             =head1 SEE ALSO
74              
75             This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow>
76              
77             =head1 BUGS and CONTRIBUTIONS
78              
79             The source code is located here: https://github.com/pplu/aws-sdk-perl
80              
81             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
82              
83             =cut
84