blib/lib/Paws/AppSync/FunctionConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::AppSync::FunctionConfiguration;
3 use Moose;
4 has DataSourceName => (is => 'ro', isa => 'Str', request_name => 'dataSourceName', traits => ['NameInRequest']);
5 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
6 has FunctionArn => (is => 'ro', isa => 'Str', request_name => 'functionArn', traits => ['NameInRequest']);
7 has FunctionId => (is => 'ro', isa => 'Str', request_name => 'functionId', traits => ['NameInRequest']);
8 has FunctionVersion => (is => 'ro', isa => 'Str', request_name => 'functionVersion', traits => ['NameInRequest']);
9 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
10 has RequestMappingTemplate => (is => 'ro', isa => 'Str', request_name => 'requestMappingTemplate', traits => ['NameInRequest']);
11 has ResponseMappingTemplate => (is => 'ro', isa => 'Str', request_name => 'responseMappingTemplate', traits => ['NameInRequest']);
12 has SyncConfig => (is => 'ro', isa => 'Paws::AppSync::SyncConfig', request_name => 'syncConfig', traits => ['NameInRequest']);
13  
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::AppSync::FunctionConfiguration
21  
22 =head1 USAGE
23  
24 This class represents one of two things:
25  
26 =head3 Arguments in a call to a service
27  
28 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29 Each attribute should be used as a named argument in the calls that expect this type of object.
30  
31 As an example, if Att1 is expected to be a Paws::AppSync::FunctionConfiguration object:
32  
33 $service_obj->Method(Att1 => { DataSourceName => $value, ..., SyncConfig => $value });
34  
35 =head3 Results returned from an API call
36  
37 Use accessors for each attribute. If Att1 is expected to be an Paws::AppSync::FunctionConfiguration object:
38  
39 $result = $service_obj->Method(...);
40 $result->Att1->DataSourceName
41  
42 =head1 DESCRIPTION
43  
44 A function is a reusable entity. Multiple functions can be used to
45 compose the resolver logic.
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 DataSourceName => Str
51  
52 The name of the C<DataSource>.
53  
54  
55 =head2 Description => Str
56  
57 The C<Function> description.
58  
59  
60 =head2 FunctionArn => Str
61  
62 The ARN of the C<Function> object.
63  
64  
65 =head2 FunctionId => Str
66  
67 A unique ID representing the C<Function> object.
68  
69  
70 =head2 FunctionVersion => Str
71  
72 The version of the request mapping template. Currently only the
73 2018-05-29 version of the template is supported.
74  
75  
76 =head2 Name => Str
77  
78 The name of the C<Function> object.
79  
80  
81 =head2 RequestMappingTemplate => Str
82  
83 The C<Function> request mapping template. Functions support only the
84 2018-05-29 version of the request mapping template.
85  
86  
87 =head2 ResponseMappingTemplate => Str
88  
89 The C<Function> response mapping template.
90  
91  
92 =head2 SyncConfig => L<Paws::AppSync::SyncConfig>
93  
94  
95  
96  
97  
98 =head1 SEE ALSO
99  
100 This class forms part of L<Paws>, describing an object used in L<Paws::AppSync>
101  
102 =head1 BUGS and CONTRIBUTIONS
103  
104 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
105  
106 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
107  
108 =cut
109