File Coverage

blib/lib/Paws/SimpleWorkflow/CountOpenWorkflowExecutions.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::CountOpenWorkflowExecutions;
3 1     1   458 use Moose;
  1         4  
  1         9  
4             has Domain => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'domain' , required => 1);
5             has ExecutionFilter => (is => 'ro', isa => 'Paws::SimpleWorkflow::WorkflowExecutionFilter', traits => ['NameInRequest'], request_name => 'executionFilter' );
6             has StartTimeFilter => (is => 'ro', isa => 'Paws::SimpleWorkflow::ExecutionTimeFilter', traits => ['NameInRequest'], request_name => 'startTimeFilter' , required => 1);
7             has TagFilter => (is => 'ro', isa => 'Paws::SimpleWorkflow::TagFilter', traits => ['NameInRequest'], request_name => 'tagFilter' );
8             has TypeFilter => (is => 'ro', isa => 'Paws::SimpleWorkflow::WorkflowTypeFilter', traits => ['NameInRequest'], request_name => 'typeFilter' );
9              
10 1     1   6356 use MooseX::ClassAttribute;
  1         4  
  1         12  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CountOpenWorkflowExecutions');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SimpleWorkflow::WorkflowExecutionCount');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::SimpleWorkflow::CountOpenWorkflowExecutions - Arguments for method CountOpenWorkflowExecutions on Paws::SimpleWorkflow
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method CountOpenWorkflowExecutions on the
26             Amazon Simple Workflow Service service. Use the attributes of this class
27             as arguments to method CountOpenWorkflowExecutions.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CountOpenWorkflowExecutions.
30              
31             As an example:
32              
33             $service_obj->CountOpenWorkflowExecutions(Att1 => $value1, Att2 => $value2, ...);
34              
35             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.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 B<REQUIRED> Domain => Str
41              
42             The name of the domain containing the workflow executions to count.
43              
44              
45              
46             =head2 ExecutionFilter => L<Paws::SimpleWorkflow::WorkflowExecutionFilter>
47              
48             If specified, only workflow executions matching the C<WorkflowId> in
49             the filter are counted.
50              
51             C<executionFilter>, C<typeFilter> and C<tagFilter> are mutually
52             exclusive. You can specify at most one of these in a request.
53              
54              
55              
56             =head2 B<REQUIRED> StartTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>
57              
58             Specifies the start time criteria that workflow executions must meet in
59             order to be counted.
60              
61              
62              
63             =head2 TagFilter => L<Paws::SimpleWorkflow::TagFilter>
64              
65             If specified, only executions that have a tag that matches the filter
66             are counted.
67              
68             C<executionFilter>, C<typeFilter> and C<tagFilter> are mutually
69             exclusive. You can specify at most one of these in a request.
70              
71              
72              
73             =head2 TypeFilter => L<Paws::SimpleWorkflow::WorkflowTypeFilter>
74              
75             Specifies the type of the workflow executions to be counted.
76              
77             C<executionFilter>, C<typeFilter> and C<tagFilter> are mutually
78             exclusive. You can specify at most one of these in a request.
79              
80              
81              
82              
83             =head1 SEE ALSO
84              
85             This class forms part of L<Paws>, documenting arguments for method CountOpenWorkflowExecutions in L<Paws::SimpleWorkflow>
86              
87             =head1 BUGS and CONTRIBUTIONS
88              
89             The source code is located here: https://github.com/pplu/aws-sdk-perl
90              
91             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
92              
93             =cut
94