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   782 use Moose;
  1         3  
  1         13  
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 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 * Use a C<Resource> element with the domain name to limit the
44             action to only specified domains.
45              
46             =item * Use an C<Action> element to allow or deny permission to call
47             this action.
48              
49             =item * You cannot use an IAM policy to constrain this action's
50             parameters.
51              
52             =back
53              
54             If the caller does not have sufficient permissions to invoke the
55             action, or the parameter values fall outside the specified constraints,
56             the action fails. The associated event attribute's B<cause> parameter
57             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
58             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
59              
60             =head1 ATTRIBUTES
61              
62              
63             =head2 B<REQUIRED> ActivityId => Str
64              
65             The C<activityId> of the activity task to be canceled.
66              
67              
68              
69             =head1 SEE ALSO
70              
71             This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow>
72              
73             =head1 BUGS and CONTRIBUTIONS
74              
75             The source code is located here: https://github.com/pplu/aws-sdk-perl
76              
77             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
78              
79             =cut
80