File Coverage

blib/lib/Paws/SimpleWorkflow/RegisterActivityType.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::RegisterActivityType;
3 1     1   479 use Moose;
  1         3  
  1         9  
4             has DefaultTaskHeartbeatTimeout => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'defaultTaskHeartbeatTimeout' );
5             has DefaultTaskList => (is => 'ro', isa => 'Paws::SimpleWorkflow::TaskList', traits => ['NameInRequest'], request_name => 'defaultTaskList' );
6             has DefaultTaskPriority => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'defaultTaskPriority' );
7             has DefaultTaskScheduleToCloseTimeout => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'defaultTaskScheduleToCloseTimeout' );
8             has DefaultTaskScheduleToStartTimeout => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'defaultTaskScheduleToStartTimeout' );
9             has DefaultTaskStartToCloseTimeout => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'defaultTaskStartToCloseTimeout' );
10             has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description' );
11             has Domain => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'domain' , required => 1);
12             has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name' , required => 1);
13             has Version => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'version' , required => 1);
14              
15 1     1   8062 use MooseX::ClassAttribute;
  1         3  
  1         9  
16              
17             class_has _api_call => (isa => 'Str', is => 'ro', default => 'RegisterActivityType');
18             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
19             class_has _result_key => (isa => 'Str', is => 'ro');
20             1;
21              
22             ### main pod documentation begin ###
23              
24             =head1 NAME
25              
26             Paws::SimpleWorkflow::RegisterActivityType - Arguments for method RegisterActivityType on Paws::SimpleWorkflow
27              
28             =head1 DESCRIPTION
29              
30             This class represents the parameters used for calling the method RegisterActivityType on the
31             Amazon Simple Workflow Service service. Use the attributes of this class
32             as arguments to method RegisterActivityType.
33              
34             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RegisterActivityType.
35              
36             As an example:
37              
38             $service_obj->RegisterActivityType(Att1 => $value1, Att2 => $value2, ...);
39              
40             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.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 DefaultTaskHeartbeatTimeout => Str
46              
47             If set, specifies the default maximum time before which a worker
48             processing a task of this type must report progress by calling
49             RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity
50             task is automatically timed out. This default can be overridden when
51             scheduling an activity task using the C<ScheduleActivityTask> Decision.
52             If the activity worker subsequently attempts to record a heartbeat or
53             returns a result, the activity worker receives an C<UnknownResource>
54             fault. In this case, Amazon SWF no longer considers the activity task
55             to be valid; the activity worker should clean up the activity task.
56              
57             The duration is specified in seconds, an integer greater than or equal
58             to C<0>. You can use C<NONE> to specify unlimited duration.
59              
60              
61              
62             =head2 DefaultTaskList => L<Paws::SimpleWorkflow::TaskList>
63              
64             If set, specifies the default task list to use for scheduling tasks of
65             this activity type. This default task list is used if a task list isn't
66             provided when a task is scheduled through the C<ScheduleActivityTask>
67             Decision.
68              
69              
70              
71             =head2 DefaultTaskPriority => Str
72              
73             The default task priority to assign to the activity type. If not
74             assigned, then C<0> is used. Valid values are integers that range from
75             Java's C<Integer.MIN_VALUE> (-2147483648) to C<Integer.MAX_VALUE>
76             (2147483647). Higher numbers indicate higher priority.
77              
78             For more information about setting task priority, see Setting Task
79             Priority in the I<in the I<Amazon SWF Developer Guide>.>.
80              
81              
82              
83             =head2 DefaultTaskScheduleToCloseTimeout => Str
84              
85             If set, specifies the default maximum duration for a task of this
86             activity type. This default can be overridden when scheduling an
87             activity task using the C<ScheduleActivityTask> Decision.
88              
89             The duration is specified in seconds, an integer greater than or equal
90             to C<0>. You can use C<NONE> to specify unlimited duration.
91              
92              
93              
94             =head2 DefaultTaskScheduleToStartTimeout => Str
95              
96             If set, specifies the default maximum duration that a task of this
97             activity type can wait before being assigned to a worker. This default
98             can be overridden when scheduling an activity task using the
99             C<ScheduleActivityTask> Decision.
100              
101             The duration is specified in seconds, an integer greater than or equal
102             to C<0>. You can use C<NONE> to specify unlimited duration.
103              
104              
105              
106             =head2 DefaultTaskStartToCloseTimeout => Str
107              
108             If set, specifies the default maximum duration that a worker can take
109             to process tasks of this activity type. This default can be overridden
110             when scheduling an activity task using the C<ScheduleActivityTask>
111             Decision.
112              
113             The duration is specified in seconds, an integer greater than or equal
114             to C<0>. You can use C<NONE> to specify unlimited duration.
115              
116              
117              
118             =head2 Description => Str
119              
120             A textual description of the activity type.
121              
122              
123              
124             =head2 B<REQUIRED> Domain => Str
125              
126             The name of the domain in which this activity is to be registered.
127              
128              
129              
130             =head2 B<REQUIRED> Name => Str
131              
132             The name of the activity type within the domain.
133              
134             The specified string must not start or end with whitespace. It must not
135             contain a C<:> (colon), C</> (slash), C<|> (vertical bar), or any
136             control characters (C<\u0000-\u001f> | C<\u007f-\u009f>). Also, it must
137             not contain the literal string C<arn>.
138              
139              
140              
141             =head2 B<REQUIRED> Version => Str
142              
143             The version of the activity type.
144              
145             The activity type consists of the name and version, the combination of
146             which must be unique within the domain.
147              
148             The specified string must not start or end with whitespace. It must not
149             contain a C<:> (colon), C</> (slash), C<|> (vertical bar), or any
150             control characters (C<\u0000-\u001f> | C<\u007f-\u009f>). Also, it must
151             not contain the literal string C<arn>.
152              
153              
154              
155              
156             =head1 SEE ALSO
157              
158             This class forms part of L<Paws>, documenting arguments for method RegisterActivityType in L<Paws::SimpleWorkflow>
159              
160             =head1 BUGS and CONTRIBUTIONS
161              
162             The source code is located here: https://github.com/pplu/aws-sdk-perl
163              
164             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
165              
166             =cut
167