File Coverage

blib/lib/Paws/Lambda/GetFunctionConfiguration.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::GetFunctionConfiguration;
3 1     1   387 use Moose;
  1         2  
  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   5617 use MooseX::ClassAttribute;
  1         3  
  1         10  
8              
9             class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetFunctionConfiguration');
10             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2015-03-31/functions/{FunctionName}/configuration');
11             class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Lambda::FunctionConfiguration');
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::GetFunctionConfiguration - Arguments for method GetFunctionConfiguration on Paws::Lambda
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method GetFunctionConfiguration on the
25             AWS Lambda service. Use the attributes of this class
26             as arguments to method GetFunctionConfiguration.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetFunctionConfiguration.
29              
30             As an example:
31              
32             $service_obj->GetFunctionConfiguration(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 name of the Lambda function for which you want to retrieve the
42             configuration information.
43              
44             You can specify a function name (for example, C<Thumbnail>) or you can
45             specify Amazon Resource Name (ARN) of the function (for example,
46             C<arn:aws:lambda:us-west-2:account-id:function:ThumbNail>). AWS Lambda
47             also allows you to specify a partial ARN (for example,
48             C<account-id:Thumbnail>). Note that the length constraint applies only
49             to the ARN. If you specify only the function name, it is limited to 64
50             characters in length.
51              
52              
53              
54             =head2 Qualifier => Str
55              
56             Using this optional parameter you can specify a function version or an
57             alias name. If you specify function version, the API uses qualified
58             function ARN and returns information about the specific function
59             version. If you specify an alias name, the API uses the alias ARN and
60             returns information about the function version to which the alias
61             points.
62              
63             If you don't specify this parameter, the API uses unqualified function
64             ARN, and returns information about the C<$LATEST> function version.
65              
66              
67              
68              
69             =head1 SEE ALSO
70              
71             This class forms part of L<Paws>, documenting arguments for method GetFunctionConfiguration in L<Paws::Lambda>
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