File Coverage

blib/lib/Paws/Lambda/GetFunction.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::Lambda::GetFunction;
3 1     1   581 use Moose;
  1         4  
  1         8  
4             has FunctionName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'FunctionName' , required => 1);
5             has Qualifier => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'Qualifier' );
6              
7 1     1   6368 use MooseX::ClassAttribute;
  1         3  
  1         8  
8              
9             class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetFunction');
10             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2015-03-31/functions/{FunctionName}');
11             class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Lambda::GetFunctionResponse');
13             class_has _result_key => (isa => 'Str', is => 'ro');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::Lambda::GetFunction - Arguments for method GetFunction on Paws::Lambda
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method GetFunction on the
25             AWS Lambda service. Use the attributes of this class
26             as arguments to method GetFunction.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetFunction.
29              
30             As an example:
31              
32             $service_obj->GetFunction(Att1 => $value1, Att2 => $value2, ...);
33              
34             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.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 B<REQUIRED> FunctionName => Str
40              
41             The Lambda function name.
42              
43             You can specify a function name (for example, C<Thumbnail>) or you can
44             specify Amazon Resource Name (ARN) of the function (for example,
45             C<arn:aws:lambda:us-west-2:account-id:function:ThumbNail>). AWS Lambda
46             also allows you to specify a partial ARN (for example,
47             C<account-id:Thumbnail>). Note that the length constraint applies only
48             to the ARN. If you specify only the function name, it is limited to 64
49             characters in length.
50              
51              
52              
53             =head2 Qualifier => Str
54              
55             Using this optional parameter to specify a function version or an alias
56             name. If you specify function version, the API uses qualified function
57             ARN for the request and returns information about the specific Lambda
58             function version. If you specify an alias name, the API uses the alias
59             ARN and returns information about the function version to which the
60             alias points. If you don't provide this parameter, the API uses
61             unqualified function ARN and returns information about the C<$LATEST>
62             version of the Lambda function.
63              
64              
65              
66              
67             =head1 SEE ALSO
68              
69             This class forms part of L<Paws>, documenting arguments for method GetFunction in L<Paws::Lambda>
70              
71             =head1 BUGS and CONTRIBUTIONS
72              
73             The source code is located here: https://github.com/pplu/aws-sdk-perl
74              
75             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
76              
77             =cut
78