File Coverage

blib/lib/Paws/SimpleWorkflow/ChildWorkflowExecutionFailedEventAttributes.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::ChildWorkflowExecutionFailedEventAttributes;
2 1     1   529 use Moose;
  1         3  
  1         8  
3             has Details => (is => 'ro', isa => 'Str', request_name => 'details', traits => ['NameInRequest']);
4             has InitiatedEventId => (is => 'ro', isa => 'Int', request_name => 'initiatedEventId', traits => ['NameInRequest'], required => 1);
5             has Reason => (is => 'ro', isa => 'Str', request_name => 'reason', traits => ['NameInRequest']);
6             has StartedEventId => (is => 'ro', isa => 'Int', request_name => 'startedEventId', traits => ['NameInRequest'], required => 1);
7             has WorkflowExecution => (is => 'ro', isa => 'Paws::SimpleWorkflow::WorkflowExecution', request_name => 'workflowExecution', traits => ['NameInRequest'], required => 1);
8             has WorkflowType => (is => 'ro', isa => 'Paws::SimpleWorkflow::WorkflowType', request_name => 'workflowType', traits => ['NameInRequest'], required => 1);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::SimpleWorkflow::ChildWorkflowExecutionFailedEventAttributes
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::SimpleWorkflow::ChildWorkflowExecutionFailedEventAttributes object:
27              
28             $service_obj->Method(Att1 => { Details => $value, ..., WorkflowType => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::SimpleWorkflow::ChildWorkflowExecutionFailedEventAttributes object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->Details
36              
37             =head1 DESCRIPTION
38              
39             Provides the details of the C<ChildWorkflowExecutionFailed> event.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 Details => Str
45              
46             The details of the failure (if provided).
47              
48              
49             =head2 B<REQUIRED> InitiatedEventId => Int
50              
51             The ID of the C<StartChildWorkflowExecutionInitiated> event
52             corresponding to the C<StartChildWorkflowExecution> Decision to start
53             this child workflow execution. This information can be useful for
54             diagnosing problems by tracing back the chain of events leading up to
55             this event.
56              
57              
58             =head2 Reason => Str
59              
60             The reason for the failure (if provided).
61              
62              
63             =head2 B<REQUIRED> StartedEventId => Int
64              
65             The ID of the C<ChildWorkflowExecutionStarted> event recorded when this
66             child workflow execution was started. This information can be useful
67             for diagnosing problems by tracing back the chain of events leading up
68             to this event.
69              
70              
71             =head2 B<REQUIRED> WorkflowExecution => L<Paws::SimpleWorkflow::WorkflowExecution>
72              
73             The child workflow execution that failed.
74              
75              
76             =head2 B<REQUIRED> WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>
77              
78             The type of the child workflow execution.
79              
80              
81              
82             =head1 SEE ALSO
83              
84             This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow>
85              
86             =head1 BUGS and CONTRIBUTIONS
87              
88             The source code is located here: https://github.com/pplu/aws-sdk-perl
89              
90             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
91              
92             =cut
93