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

filter: Statementstmt 0.0% 0 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 24 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::Resolver;
3 use Moose;
4 has CachingConfig => (is => 'ro', isa => 'Paws::AppSync::CachingConfig', request_name => 'cachingConfig', traits => ['NameInRequest']);
5 has DataSourceName => (is => 'ro', isa => 'Str', request_name => 'dataSourceName', traits => ['NameInRequest']);
6 has FieldName => (is => 'ro', isa => 'Str', request_name => 'fieldName', traits => ['NameInRequest']);
7 has Kind => (is => 'ro', isa => 'Str', request_name => 'kind', traits => ['NameInRequest']);
8 has PipelineConfig => (is => 'ro', isa => 'Paws::AppSync::PipelineConfig', request_name => 'pipelineConfig', traits => ['NameInRequest']);
9 has RequestMappingTemplate => (is => 'ro', isa => 'Str', request_name => 'requestMappingTemplate', traits => ['NameInRequest']);
10 has ResolverArn => (is => 'ro', isa => 'Str', request_name => 'resolverArn', 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 has TypeName => (is => 'ro', isa => 'Str', request_name => 'typeName', traits => ['NameInRequest']);
14  
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::AppSync::Resolver
22  
23 =head1 USAGE
24  
25 This class represents one of two things:
26  
27 =head3 Arguments in a call to a service
28  
29 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30 Each attribute should be used as a named argument in the calls that expect this type of object.
31  
32 As an example, if Att1 is expected to be a Paws::AppSync::Resolver object:
33  
34 $service_obj->Method(Att1 => { CachingConfig => $value, ..., TypeName => $value });
35  
36 =head3 Results returned from an API call
37  
38 Use accessors for each attribute. If Att1 is expected to be an Paws::AppSync::Resolver object:
39  
40 $result = $service_obj->Method(...);
41 $result->Att1->CachingConfig
42  
43 =head1 DESCRIPTION
44  
45 Describes a resolver.
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 CachingConfig => L<Paws::AppSync::CachingConfig>
51  
52 The caching configuration for the resolver.
53  
54  
55 =head2 DataSourceName => Str
56  
57 The resolver data source name.
58  
59  
60 =head2 FieldName => Str
61  
62 The resolver field name.
63  
64  
65 =head2 Kind => Str
66  
67 The resolver type.
68  
69 =over
70  
71 =item *
72  
73 B<UNIT>: A UNIT resolver type. A UNIT resolver is the default resolver
74 type. A UNIT resolver enables you to execute a GraphQL query against a
75 single data source.
76  
77 =item *
78  
79 B<PIPELINE>: A PIPELINE resolver type. A PIPELINE resolver enables you
80 to execute a series of C<Function> in a serial manner. You can use a
81 pipeline resolver to execute a GraphQL query against multiple data
82 sources.
83  
84 =back
85  
86  
87  
88 =head2 PipelineConfig => L<Paws::AppSync::PipelineConfig>
89  
90 The C<PipelineConfig>.
91  
92  
93 =head2 RequestMappingTemplate => Str
94  
95 The request mapping template.
96  
97  
98 =head2 ResolverArn => Str
99  
100 The resolver ARN.
101  
102  
103 =head2 ResponseMappingTemplate => Str
104  
105 The response mapping template.
106  
107  
108 =head2 SyncConfig => L<Paws::AppSync::SyncConfig>
109  
110 The C<SyncConfig> for a resolver attached to a versioned datasource.
111  
112  
113 =head2 TypeName => Str
114  
115 The resolver type name.
116  
117  
118  
119 =head1 SEE ALSO
120  
121 This class forms part of L<Paws>, describing an object used in L<Paws::AppSync>
122  
123 =head1 BUGS and CONTRIBUTIONS
124  
125 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
126  
127 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
128  
129 =cut
130