File Coverage

blib/lib/Paws/SimpleWorkflow/RequestCancelActivityTaskDecisionAttributes.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::RequestCancelActivityTaskDecisionAttributes;
2 1     1   699 use Moose;
  1         5  
  1         11  
3             has ActivityId => (is => 'ro', isa => 'Str', request_name => 'activityId', traits => ['NameInRequest'], required => 1);
4             1;
5              
6             ### main pod documentation begin ###
7              
8             =head1 NAME
9              
10             Paws::SimpleWorkflow::RequestCancelActivityTaskDecisionAttributes
11              
12             =head1 USAGE
13              
14             This class represents one of two things:
15              
16             =head3 Arguments in a call to a service
17              
18             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
19             Each attribute should be used as a named argument in the calls that expect this type of object.
20              
21             As an example, if Att1 is expected to be a Paws::SimpleWorkflow::RequestCancelActivityTaskDecisionAttributes object:
22              
23             $service_obj->Method(Att1 => { ActivityId => $value, ..., ActivityId => $value });
24              
25             =head3 Results returned from an API call
26              
27             Use accessors for each attribute. If Att1 is expected to be an Paws::SimpleWorkflow::RequestCancelActivityTaskDecisionAttributes object:
28              
29             $result = $service_obj->Method(...);
30             $result->Att1->ActivityId
31              
32             =head1 DESCRIPTION
33              
34             Provides the details of the C<RequestCancelActivityTask> decision.
35              
36             B<Access Control>
37              
38             You can use IAM policies to control this decision's access to Amazon
39             SWF resources as follows:
40              
41             =over
42              
43             =item *
44              
45             Use a C<Resource> element with the domain name to limit the action to
46             only specified domains.
47              
48             =item *
49              
50             Use an C<Action> element to allow or deny permission to call this
51             action.
52              
53             =item *
54              
55             You cannot use an IAM policy to constrain this action's parameters.
56              
57             =back
58              
59             If the caller doesn't have sufficient permissions to invoke the action,
60             or the parameter values fall outside the specified constraints, the
61             action fails. The associated event attribute's C<cause> parameter is
62             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
63             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
64             I<Amazon SWF Developer Guide>.
65              
66             =head1 ATTRIBUTES
67              
68              
69             =head2 B<REQUIRED> ActivityId => Str
70              
71             The C<activityId> of the activity task to be canceled.
72              
73              
74              
75             =head1 SEE ALSO
76              
77             This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow>
78              
79             =head1 BUGS and CONTRIBUTIONS
80              
81             The source code is located here: https://github.com/pplu/aws-sdk-perl
82              
83             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
84              
85             =cut
86