File Coverage

blib/lib/Paws/SimpleWorkflow/CountClosedWorkflowExecutions.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::SimpleWorkflow::CountClosedWorkflowExecutions;
3 1     1   666 use Moose;
  1         3  
  1         11  
4             has CloseStatusFilter => (is => 'ro', isa => 'Paws::SimpleWorkflow::CloseStatusFilter', traits => ['NameInRequest'], request_name => 'closeStatusFilter' );
5             has CloseTimeFilter => (is => 'ro', isa => 'Paws::SimpleWorkflow::ExecutionTimeFilter', traits => ['NameInRequest'], request_name => 'closeTimeFilter' );
6             has Domain => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'domain' , required => 1);
7             has ExecutionFilter => (is => 'ro', isa => 'Paws::SimpleWorkflow::WorkflowExecutionFilter', traits => ['NameInRequest'], request_name => 'executionFilter' );
8             has StartTimeFilter => (is => 'ro', isa => 'Paws::SimpleWorkflow::ExecutionTimeFilter', traits => ['NameInRequest'], request_name => 'startTimeFilter' );
9             has TagFilter => (is => 'ro', isa => 'Paws::SimpleWorkflow::TagFilter', traits => ['NameInRequest'], request_name => 'tagFilter' );
10             has TypeFilter => (is => 'ro', isa => 'Paws::SimpleWorkflow::WorkflowTypeFilter', traits => ['NameInRequest'], request_name => 'typeFilter' );
11              
12 1     1   11643 use MooseX::ClassAttribute;
  1         6  
  1         18  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CountClosedWorkflowExecutions');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SimpleWorkflow::WorkflowExecutionCount');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::SimpleWorkflow::CountClosedWorkflowExecutions - Arguments for method CountClosedWorkflowExecutions on Paws::SimpleWorkflow
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method CountClosedWorkflowExecutions on the
28             Amazon Simple Workflow Service service. Use the attributes of this class
29             as arguments to method CountClosedWorkflowExecutions.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CountClosedWorkflowExecutions.
32              
33             As an example:
34              
35             $service_obj->CountClosedWorkflowExecutions(Att1 => $value1, Att2 => $value2, ...);
36              
37             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 CloseStatusFilter => L<Paws::SimpleWorkflow::CloseStatusFilter>
43              
44             If specified, only workflow executions that match this close status are
45             counted. This filter has an affect only if C<executionStatus> is
46             specified as C<CLOSED>.
47              
48             C<closeStatusFilter>, C<executionFilter>, C<typeFilter> and
49             C<tagFilter> are mutually exclusive. You can specify at most one of
50             these in a request.
51              
52              
53              
54             =head2 CloseTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>
55              
56             If specified, only workflow executions that meet the close time
57             criteria of the filter are counted.
58              
59             C<startTimeFilter> and C<closeTimeFilter> are mutually exclusive. You
60             must specify one of these in a request but not both.
61              
62              
63              
64             =head2 B<REQUIRED> Domain => Str
65              
66             The name of the domain containing the workflow executions to count.
67              
68              
69              
70             =head2 ExecutionFilter => L<Paws::SimpleWorkflow::WorkflowExecutionFilter>
71              
72             If specified, only workflow executions matching the C<WorkflowId> in
73             the filter are counted.
74              
75             C<closeStatusFilter>, C<executionFilter>, C<typeFilter> and
76             C<tagFilter> are mutually exclusive. You can specify at most one of
77             these in a request.
78              
79              
80              
81             =head2 StartTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>
82              
83             If specified, only workflow executions that meet the start time
84             criteria of the filter are counted.
85              
86             C<startTimeFilter> and C<closeTimeFilter> are mutually exclusive. You
87             must specify one of these in a request but not both.
88              
89              
90              
91             =head2 TagFilter => L<Paws::SimpleWorkflow::TagFilter>
92              
93             If specified, only executions that have a tag that matches the filter
94             are counted.
95              
96             C<closeStatusFilter>, C<executionFilter>, C<typeFilter> and
97             C<tagFilter> are mutually exclusive. You can specify at most one of
98             these in a request.
99              
100              
101              
102             =head2 TypeFilter => L<Paws::SimpleWorkflow::WorkflowTypeFilter>
103              
104             If specified, indicates the type of the workflow executions to be
105             counted.
106              
107             C<closeStatusFilter>, C<executionFilter>, C<typeFilter> and
108             C<tagFilter> are mutually exclusive. You can specify at most one of
109             these in a request.
110              
111              
112              
113              
114             =head1 SEE ALSO
115              
116             This class forms part of L<Paws>, documenting arguments for method CountClosedWorkflowExecutions in L<Paws::SimpleWorkflow>
117              
118             =head1 BUGS and CONTRIBUTIONS
119              
120             The source code is located here: https://github.com/pplu/aws-sdk-perl
121              
122             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
123              
124             =cut
125