File Coverage

blib/lib/Paws/Greengrass/FunctionConfiguration.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::Greengrass::FunctionConfiguration;
2 1     1   743 use Moose;
  1         3  
  1         9  
3             has Environment => (is => 'ro', isa => 'Paws::Greengrass::FunctionConfigurationEnvironment');
4             has ExecArgs => (is => 'ro', isa => 'Str');
5             has Executable => (is => 'ro', isa => 'Str');
6             has MemorySize => (is => 'ro', isa => 'Int');
7             has Pinned => (is => 'ro', isa => 'Bool');
8             has Timeout => (is => 'ro', isa => 'Int');
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::Greengrass::FunctionConfiguration
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::Greengrass::FunctionConfiguration object:
27              
28             $service_obj->Method(Att1 => { Environment => $value, ..., Timeout => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::Greengrass::FunctionConfiguration object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->Environment
36              
37             =head1 DESCRIPTION
38              
39             Configuration of the function
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 Environment => L<Paws::Greengrass::FunctionConfigurationEnvironment>
45              
46             Environment of the function configuration
47              
48              
49             =head2 ExecArgs => Str
50              
51             Execution Arguments
52              
53              
54             =head2 Executable => Str
55              
56             Executable
57              
58              
59             =head2 MemorySize => Int
60              
61             The memory size, in KB, you configured for the function.
62              
63              
64             =head2 Pinned => Bool
65              
66             Whether the function is pinned or not. Pinned means the function is
67             long-lived and starts when the core starts.
68              
69              
70             =head2 Timeout => Int
71              
72             The function execution time at which Lambda should terminate the
73             function. This timeout still applies to pinned lambdas for each
74             request.
75              
76              
77              
78             =head1 SEE ALSO
79              
80             This class forms part of L<Paws>, describing an object used in L<Paws::Greengrass>
81              
82             =head1 BUGS and CONTRIBUTIONS
83              
84             The source code is located here: https://github.com/pplu/aws-sdk-perl
85              
86             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
87              
88             =cut
89