File Coverage

blib/lib/Paws/SimpleWorkflow/PollForActivityTask.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::PollForActivityTask;
3 1     1   681 use Moose;
  1         3  
  1         9  
4             has Domain => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'domain' , required => 1);
5             has Identity => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'identity' );
6             has TaskList => (is => 'ro', isa => 'Paws::SimpleWorkflow::TaskList', traits => ['NameInRequest'], request_name => 'taskList' , required => 1);
7              
8 1     1   7085 use MooseX::ClassAttribute;
  1         5  
  1         12  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'PollForActivityTask');
11             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SimpleWorkflow::ActivityTask');
12             class_has _result_key => (isa => 'Str', is => 'ro');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::SimpleWorkflow::PollForActivityTask - Arguments for method PollForActivityTask on Paws::SimpleWorkflow
20              
21             =head1 DESCRIPTION
22              
23             This class represents the parameters used for calling the method PollForActivityTask on the
24             Amazon Simple Workflow Service service. Use the attributes of this class
25             as arguments to method PollForActivityTask.
26              
27             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PollForActivityTask.
28              
29             As an example:
30              
31             $service_obj->PollForActivityTask(Att1 => $value1, Att2 => $value2, ...);
32              
33             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.
34              
35             =head1 ATTRIBUTES
36              
37              
38             =head2 B<REQUIRED> Domain => Str
39              
40             The name of the domain that contains the task lists being polled.
41              
42              
43              
44             =head2 Identity => Str
45              
46             Identity of the worker making the request, recorded in the
47             C<ActivityTaskStarted> event in the workflow history. This enables
48             diagnostic tracing when problems arise. The form of this identity is
49             user defined.
50              
51              
52              
53             =head2 B<REQUIRED> TaskList => L<Paws::SimpleWorkflow::TaskList>
54              
55             Specifies the task list to poll for activity tasks.
56              
57             The specified string must not start or end with whitespace. It must not
58             contain a C<:> (colon), C</> (slash), C<|> (vertical bar), or any
59             control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not
60             contain the literal string quotarnquot.
61              
62              
63              
64              
65             =head1 SEE ALSO
66              
67             This class forms part of L<Paws>, documenting arguments for method PollForActivityTask in L<Paws::SimpleWorkflow>
68              
69             =head1 BUGS and CONTRIBUTIONS
70              
71             The source code is located here: https://github.com/pplu/aws-sdk-perl
72              
73             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
74              
75             =cut
76