File Coverage

blib/lib/Paws/Lambda/TracingConfig.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::Lambda::TracingConfig;
2 1     1   584 use Moose;
  1         3  
  1         11  
3             has Mode => (is => 'ro', isa => 'Str');
4             1;
5              
6             ### main pod documentation begin ###
7              
8             =head1 NAME
9              
10             Paws::Lambda::TracingConfig
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::Lambda::TracingConfig object:
22              
23             $service_obj->Method(Att1 => { Mode => $value, ..., Mode => $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::Lambda::TracingConfig object:
28              
29             $result = $service_obj->Method(...);
30             $result->Att1->Mode
31              
32             =head1 DESCRIPTION
33              
34             The parent object that contains your function's tracing settings.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 Mode => Str
40              
41             Can be either PassThrough or Active. If PassThrough, Lambda will only
42             trace the request from an upstream service if it contains a tracing
43             header with "sampled=1". If Active, Lambda will respect any tracing
44             header it receives from an upstream service. If no tracing header is
45             received, Lambda will call X-Ray for a tracing decision.
46              
47              
48              
49             =head1 SEE ALSO
50              
51             This class forms part of L<Paws>, describing an object used in L<Paws::Lambda>
52              
53             =head1 BUGS and CONTRIBUTIONS
54              
55             The source code is located here: https://github.com/pplu/aws-sdk-perl
56              
57             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
58              
59             =cut
60