File Coverage

blib/lib/Paws/SimpleWorkflow/ScheduleLambdaFunctionDecisionAttributes.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::ScheduleLambdaFunctionDecisionAttributes;
2 1     1   643 use Moose;
  1         5  
  1         12  
3             has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest'], required => 1);
4             has Input => (is => 'ro', isa => 'Str', request_name => 'input', traits => ['NameInRequest']);
5             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
6             has StartToCloseTimeout => (is => 'ro', isa => 'Str', request_name => 'startToCloseTimeout', traits => ['NameInRequest']);
7             1;
8              
9             ### main pod documentation begin ###
10              
11             =head1 NAME
12              
13             Paws::SimpleWorkflow::ScheduleLambdaFunctionDecisionAttributes
14              
15             =head1 USAGE
16              
17             This class represents one of two things:
18              
19             =head3 Arguments in a call to a service
20              
21             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22             Each attribute should be used as a named argument in the calls that expect this type of object.
23              
24             As an example, if Att1 is expected to be a Paws::SimpleWorkflow::ScheduleLambdaFunctionDecisionAttributes object:
25              
26             $service_obj->Method(Att1 => { Id => $value, ..., StartToCloseTimeout => $value });
27              
28             =head3 Results returned from an API call
29              
30             Use accessors for each attribute. If Att1 is expected to be an Paws::SimpleWorkflow::ScheduleLambdaFunctionDecisionAttributes object:
31              
32             $result = $service_obj->Method(...);
33             $result->Att1->Id
34              
35             =head1 DESCRIPTION
36              
37             Provides details of the C<ScheduleLambdaFunction> decision.
38              
39             B<Access Control>
40              
41             You can use IAM policies to control this decision's access to Amazon
42             SWF resources as follows:
43              
44             =over
45              
46             =item * Use a C<Resource> element with the domain name to limit the
47             action to only specified domains.
48              
49             =item * Use an C<Action> element to allow or deny permission to call
50             this action.
51              
52             =item * Constrain the following parameters by using a C<Condition>
53             element with the appropriate keys.
54              
55             =over
56              
57             =item * C<activityType.name>: String constraint. The key is
58             C<swf:activityType.name>.
59              
60             =item * C<activityType.version>: String constraint. The key is
61             C<swf:activityType.version>.
62              
63             =item * C<taskList>: String constraint. The key is
64             C<swf:taskList.name>.
65              
66             =back
67              
68             =back
69              
70             If the caller does not have sufficient permissions to invoke the
71             action, or the parameter values fall outside the specified constraints,
72             the action fails. The associated event attribute's B<cause> parameter
73             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
74             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
75              
76             =head1 ATTRIBUTES
77              
78              
79             =head2 B<REQUIRED> Id => Str
80              
81             B<Required.> The SWF C<id> of the AWS Lambda task.
82              
83             The specified string must not start or end with whitespace. It must not
84             contain a C<:> (colon), C</> (slash), C<|> (vertical bar), or any
85             control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not
86             contain the literal string quotarnquot.
87              
88              
89             =head2 Input => Str
90              
91             The input provided to the AWS Lambda function.
92              
93              
94             =head2 B<REQUIRED> Name => Str
95              
96             B<Required.> The name of the AWS Lambda function to invoke.
97              
98              
99             =head2 StartToCloseTimeout => Str
100              
101             If set, specifies the maximum duration the function may take to
102             execute.
103              
104              
105              
106             =head1 SEE ALSO
107              
108             This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow>
109              
110             =head1 BUGS and CONTRIBUTIONS
111              
112             The source code is located here: https://github.com/pplu/aws-sdk-perl
113              
114             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
115              
116             =cut
117