blib/lib/Paws/AppSync.pm untested

filter: Statementstmt 0.0% 0 / 276 Branchbran 0.0% 0 / 28 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 54 Podpod 0.0% 0 / 53 totaltotal 0.0% 0 / 411 CC 15 SCAR 16.3
CC
15
Cov
0%
ListAllApiKeys
12.0
ListAllDataSources
12.0
ListAllFunctions
12.0
CRAP 5.1
1 package Paws::AppSync;
2 use Moose;
3 sub service { 'appsync' }
4 sub signing_name { 'appsync' }
5 sub version { '2017-07-25' }
6 sub flattened_arrays { 0 }
7 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8 has retry => (is => 'ro', isa => 'HashRef', default => sub {
9 { base => 'rand', type => 'exponential', growth_factor => 2 }
10 });
11 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
12 ] });
13  
14 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller';
15  
16
17 sub CreateApiCache {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::AppSync::CreateApiCache', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub CreateApiKey {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::AppSync::CreateApiKey', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27 sub CreateDataSource {
28 my $self = shift;
29 my $call_object = $self->new_with_coercions('Paws::AppSync::CreateDataSource', @_);
30 return $self->caller->do_call($self, $call_object);
31 }
32 sub CreateFunction {
33 my $self = shift;
34 my $call_object = $self->new_with_coercions('Paws::AppSync::CreateFunction', @_);
35 return $self->caller->do_call($self, $call_object);
36 }
37 sub CreateGraphqlApi {
38 my $self = shift;
39 my $call_object = $self->new_with_coercions('Paws::AppSync::CreateGraphqlApi', @_);
40 return $self->caller->do_call($self, $call_object);
41 }
42 sub CreateResolver {
43 my $self = shift;
44 my $call_object = $self->new_with_coercions('Paws::AppSync::CreateResolver', @_);
45 return $self->caller->do_call($self, $call_object);
46 }
47 sub CreateType {
48 my $self = shift;
49 my $call_object = $self->new_with_coercions('Paws::AppSync::CreateType', @_);
50 return $self->caller->do_call($self, $call_object);
51 }
52 sub DeleteApiCache {
53 my $self = shift;
54 my $call_object = $self->new_with_coercions('Paws::AppSync::DeleteApiCache', @_);
55 return $self->caller->do_call($self, $call_object);
56 }
57 sub DeleteApiKey {
58 my $self = shift;
59 my $call_object = $self->new_with_coercions('Paws::AppSync::DeleteApiKey', @_);
60 return $self->caller->do_call($self, $call_object);
61 }
62 sub DeleteDataSource {
63 my $self = shift;
64 my $call_object = $self->new_with_coercions('Paws::AppSync::DeleteDataSource', @_);
65 return $self->caller->do_call($self, $call_object);
66 }
67 sub DeleteFunction {
68 my $self = shift;
69 my $call_object = $self->new_with_coercions('Paws::AppSync::DeleteFunction', @_);
70 return $self->caller->do_call($self, $call_object);
71 }
72 sub DeleteGraphqlApi {
73 my $self = shift;
74 my $call_object = $self->new_with_coercions('Paws::AppSync::DeleteGraphqlApi', @_);
75 return $self->caller->do_call($self, $call_object);
76 }
77 sub DeleteResolver {
78 my $self = shift;
79 my $call_object = $self->new_with_coercions('Paws::AppSync::DeleteResolver', @_);
80 return $self->caller->do_call($self, $call_object);
81 }
82 sub DeleteType {
83 my $self = shift;
84 my $call_object = $self->new_with_coercions('Paws::AppSync::DeleteType', @_);
85 return $self->caller->do_call($self, $call_object);
86 }
87 sub FlushApiCache {
88 my $self = shift;
89 my $call_object = $self->new_with_coercions('Paws::AppSync::FlushApiCache', @_);
90 return $self->caller->do_call($self, $call_object);
91 }
92 sub GetApiCache {
93 my $self = shift;
94 my $call_object = $self->new_with_coercions('Paws::AppSync::GetApiCache', @_);
95 return $self->caller->do_call($self, $call_object);
96 }
97 sub GetDataSource {
98 my $self = shift;
99 my $call_object = $self->new_with_coercions('Paws::AppSync::GetDataSource', @_);
100 return $self->caller->do_call($self, $call_object);
101 }
102 sub GetFunction {
103 my $self = shift;
104 my $call_object = $self->new_with_coercions('Paws::AppSync::GetFunction', @_);
105 return $self->caller->do_call($self, $call_object);
106 }
107 sub GetGraphqlApi {
108 my $self = shift;
109 my $call_object = $self->new_with_coercions('Paws::AppSync::GetGraphqlApi', @_);
110 return $self->caller->do_call($self, $call_object);
111 }
112 sub GetIntrospectionSchema {
113 my $self = shift;
114 my $call_object = $self->new_with_coercions('Paws::AppSync::GetIntrospectionSchema', @_);
115 return $self->caller->do_call($self, $call_object);
116 }
117 sub GetResolver {
118 my $self = shift;
119 my $call_object = $self->new_with_coercions('Paws::AppSync::GetResolver', @_);
120 return $self->caller->do_call($self, $call_object);
121 }
122 sub GetSchemaCreationStatus {
123 my $self = shift;
124 my $call_object = $self->new_with_coercions('Paws::AppSync::GetSchemaCreationStatus', @_);
125 return $self->caller->do_call($self, $call_object);
126 }
127 sub GetType {
128 my $self = shift;
129 my $call_object = $self->new_with_coercions('Paws::AppSync::GetType', @_);
130 return $self->caller->do_call($self, $call_object);
131 }
132 sub ListApiKeys {
133 my $self = shift;
134 my $call_object = $self->new_with_coercions('Paws::AppSync::ListApiKeys', @_);
135 return $self->caller->do_call($self, $call_object);
136 }
137 sub ListDataSources {
138 my $self = shift;
139 my $call_object = $self->new_with_coercions('Paws::AppSync::ListDataSources', @_);
140 return $self->caller->do_call($self, $call_object);
141 }
142 sub ListFunctions {
143 my $self = shift;
144 my $call_object = $self->new_with_coercions('Paws::AppSync::ListFunctions', @_);
145 return $self->caller->do_call($self, $call_object);
146 }
147 sub ListGraphqlApis {
148 my $self = shift;
149 my $call_object = $self->new_with_coercions('Paws::AppSync::ListGraphqlApis', @_);
150 return $self->caller->do_call($self, $call_object);
151 }
152 sub ListResolvers {
153 my $self = shift;
154 my $call_object = $self->new_with_coercions('Paws::AppSync::ListResolvers', @_);
155 return $self->caller->do_call($self, $call_object);
156 }
157 sub ListResolversByFunction {
158 my $self = shift;
159 my $call_object = $self->new_with_coercions('Paws::AppSync::ListResolversByFunction', @_);
160 return $self->caller->do_call($self, $call_object);
161 }
162 sub ListTagsForResource {
163 my $self = shift;
164 my $call_object = $self->new_with_coercions('Paws::AppSync::ListTagsForResource', @_);
165 return $self->caller->do_call($self, $call_object);
166 }
167 sub ListTypes {
168 my $self = shift;
169 my $call_object = $self->new_with_coercions('Paws::AppSync::ListTypes', @_);
170 return $self->caller->do_call($self, $call_object);
171 }
172 sub StartSchemaCreation {
173 my $self = shift;
174 my $call_object = $self->new_with_coercions('Paws::AppSync::StartSchemaCreation', @_);
175 return $self->caller->do_call($self, $call_object);
176 }
177 sub TagResource {
178 my $self = shift;
179 my $call_object = $self->new_with_coercions('Paws::AppSync::TagResource', @_);
180 return $self->caller->do_call($self, $call_object);
181 }
182 sub UntagResource {
183 my $self = shift;
184 my $call_object = $self->new_with_coercions('Paws::AppSync::UntagResource', @_);
185 return $self->caller->do_call($self, $call_object);
186 }
187 sub UpdateApiCache {
188 my $self = shift;
189 my $call_object = $self->new_with_coercions('Paws::AppSync::UpdateApiCache', @_);
190 return $self->caller->do_call($self, $call_object);
191 }
192 sub UpdateApiKey {
193 my $self = shift;
194 my $call_object = $self->new_with_coercions('Paws::AppSync::UpdateApiKey', @_);
195 return $self->caller->do_call($self, $call_object);
196 }
197 sub UpdateDataSource {
198 my $self = shift;
199 my $call_object = $self->new_with_coercions('Paws::AppSync::UpdateDataSource', @_);
200 return $self->caller->do_call($self, $call_object);
201 }
202 sub UpdateFunction {
203 my $self = shift;
204 my $call_object = $self->new_with_coercions('Paws::AppSync::UpdateFunction', @_);
205 return $self->caller->do_call($self, $call_object);
206 }
207 sub UpdateGraphqlApi {
208 my $self = shift;
209 my $call_object = $self->new_with_coercions('Paws::AppSync::UpdateGraphqlApi', @_);
210 return $self->caller->do_call($self, $call_object);
211 }
212 sub UpdateResolver {
213 my $self = shift;
214 my $call_object = $self->new_with_coercions('Paws::AppSync::UpdateResolver', @_);
215 return $self->caller->do_call($self, $call_object);
216 }
217 sub UpdateType {
218 my $self = shift;
219 my $call_object = $self->new_with_coercions('Paws::AppSync::UpdateType', @_);
220 return $self->caller->do_call($self, $call_object);
221 }
222
223 sub ListAllApiKeys {
224 my $self = shift;
225  
226 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
227 my $result = $self->ListApiKeys(@_);
228 my $next_result = $result;
229  
230 if (not defined $callback) {
231 while ($next_result->nextToken) {
232 $next_result = $self->ListApiKeys(@_, nextToken => $next_result->nextToken);
233 push @{ $result->apiKeys }, @{ $next_result->apiKeys };
234 }
235 return $result;
236 } else {
237 while ($result->nextToken) {
238 $callback->($_ => 'apiKeys') foreach (@{ $result->apiKeys });
239 $result = $self->ListApiKeys(@_, nextToken => $result->nextToken);
240 }
241 $callback->($_ => 'apiKeys') foreach (@{ $result->apiKeys });
242 }
243  
244 return undef
245 }
246 sub ListAllDataSources {
247 my $self = shift;
248  
249 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
250 my $result = $self->ListDataSources(@_);
251 my $next_result = $result;
252  
253 if (not defined $callback) {
254 while ($next_result->nextToken) {
255 $next_result = $self->ListDataSources(@_, nextToken => $next_result->nextToken);
256 push @{ $result->dataSources }, @{ $next_result->dataSources };
257 }
258 return $result;
259 } else {
260 while ($result->nextToken) {
261 $callback->($_ => 'dataSources') foreach (@{ $result->dataSources });
262 $result = $self->ListDataSources(@_, nextToken => $result->nextToken);
263 }
264 $callback->($_ => 'dataSources') foreach (@{ $result->dataSources });
265 }
266  
267 return undef
268 }
269 sub ListAllFunctions {
270 my $self = shift;
271  
272 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
273 my $result = $self->ListFunctions(@_);
274 my $next_result = $result;
275  
276 if (not defined $callback) {
277 while ($next_result->nextToken) {
278 $next_result = $self->ListFunctions(@_, nextToken => $next_result->nextToken);
279 push @{ $result->functions }, @{ $next_result->functions };
280 }
281 return $result;
282 } else {
283 while ($result->nextToken) {
284 $callback->($_ => 'functions') foreach (@{ $result->functions });
285 $result = $self->ListFunctions(@_, nextToken => $result->nextToken);
286 }
287 $callback->($_ => 'functions') foreach (@{ $result->functions });
288 }
289  
290 return undef
291 }
292 sub ListAllGraphqlApis {
293 my $self = shift;
294  
295 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
296 my $result = $self->ListGraphqlApis(@_);
297 my $next_result = $result;
298  
299 if (not defined $callback) {
300 while ($next_result->nextToken) {
301 $next_result = $self->ListGraphqlApis(@_, nextToken => $next_result->nextToken);
302 push @{ $result->graphqlApis }, @{ $next_result->graphqlApis };
303 }
304 return $result;
305 } else {
306 while ($result->nextToken) {
307 $callback->($_ => 'graphqlApis') foreach (@{ $result->graphqlApis });
308 $result = $self->ListGraphqlApis(@_, nextToken => $result->nextToken);
309 }
310 $callback->($_ => 'graphqlApis') foreach (@{ $result->graphqlApis });
311 }
312  
313 return undef
314 }
315 sub ListAllResolvers {
316 my $self = shift;
317  
318 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
319 my $result = $self->ListResolvers(@_);
320 my $next_result = $result;
321  
322 if (not defined $callback) {
323 while ($next_result->nextToken) {
324 $next_result = $self->ListResolvers(@_, nextToken => $next_result->nextToken);
325 push @{ $result->resolvers }, @{ $next_result->resolvers };
326 }
327 return $result;
328 } else {
329 while ($result->nextToken) {
330 $callback->($_ => 'resolvers') foreach (@{ $result->resolvers });
331 $result = $self->ListResolvers(@_, nextToken => $result->nextToken);
332 }
333 $callback->($_ => 'resolvers') foreach (@{ $result->resolvers });
334 }
335  
336 return undef
337 }
338 sub ListAllResolversByFunction {
339 my $self = shift;
340  
341 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
342 my $result = $self->ListResolversByFunction(@_);
343 my $next_result = $result;
344  
345 if (not defined $callback) {
346 while ($next_result->nextToken) {
347 $next_result = $self->ListResolversByFunction(@_, nextToken => $next_result->nextToken);
348 push @{ $result->resolvers }, @{ $next_result->resolvers };
349 }
350 return $result;
351 } else {
352 while ($result->nextToken) {
353 $callback->($_ => 'resolvers') foreach (@{ $result->resolvers });
354 $result = $self->ListResolversByFunction(@_, nextToken => $result->nextToken);
355 }
356 $callback->($_ => 'resolvers') foreach (@{ $result->resolvers });
357 }
358  
359 return undef
360 }
361 sub ListAllTypes {
362 my $self = shift;
363  
364 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
365 my $result = $self->ListTypes(@_);
366 my $next_result = $result;
367  
368 if (not defined $callback) {
369 while ($next_result->nextToken) {
370 $next_result = $self->ListTypes(@_, nextToken => $next_result->nextToken);
371 push @{ $result->types }, @{ $next_result->types };
372 }
373 return $result;
374 } else {
375 while ($result->nextToken) {
376 $callback->($_ => 'types') foreach (@{ $result->types });
377 $result = $self->ListTypes(@_, nextToken => $result->nextToken);
378 }
379 $callback->($_ => 'types') foreach (@{ $result->types });
380 }
381  
382 return undef
383 }
384  
385  
386 sub operations { qw/CreateApiCache CreateApiKey CreateDataSource CreateFunction CreateGraphqlApi CreateResolver CreateType DeleteApiCache DeleteApiKey DeleteDataSource DeleteFunction DeleteGraphqlApi DeleteResolver DeleteType FlushApiCache GetApiCache GetDataSource GetFunction GetGraphqlApi GetIntrospectionSchema GetResolver GetSchemaCreationStatus GetType ListApiKeys ListDataSources ListFunctions ListGraphqlApis ListResolvers ListResolversByFunction ListTagsForResource ListTypes StartSchemaCreation TagResource UntagResource UpdateApiCache UpdateApiKey UpdateDataSource UpdateFunction UpdateGraphqlApi UpdateResolver UpdateType / }
387  
388 1;
389  
390 ### main pod documentation begin ###
391  
392 =head1 NAME
393  
394 Paws::AppSync - Perl Interface to AWS AWS AppSync
395  
396 =head1 SYNOPSIS
397  
398 use Paws;
399  
400 my $obj = Paws->service('AppSync');
401 my $res = $obj->Method(
402 Arg1 => $val1,
403 Arg2 => [ 'V1', 'V2' ],
404 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
405 # of the arguments type
406 Arg3 => { Att1 => 'Val1' },
407 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
408 # the constructor of the arguments type
409 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
410 );
411  
412 =head1 DESCRIPTION
413  
414 AWS AppSync provides API actions for creating and interacting with data
415 sources using GraphQL from your application.
416  
417 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25>
418  
419  
420 =head1 METHODS
421  
422 =head2 CreateApiCache
423  
424 =over
425  
426 =item ApiCachingBehavior => Str
427  
428 =item ApiId => Str
429  
430 =item Ttl => Int
431  
432 =item Type => Str
433  
434 =item [AtRestEncryptionEnabled => Bool]
435  
436 =item [TransitEncryptionEnabled => Bool]
437  
438  
439 =back
440  
441 Each argument is described in detail in: L<Paws::AppSync::CreateApiCache>
442  
443 Returns: a L<Paws::AppSync::CreateApiCacheResponse> instance
444  
445 Creates a cache for the GraphQL API.
446  
447  
448 =head2 CreateApiKey
449  
450 =over
451  
452 =item ApiId => Str
453  
454 =item [Description => Str]
455  
456 =item [Expires => Int]
457  
458  
459 =back
460  
461 Each argument is described in detail in: L<Paws::AppSync::CreateApiKey>
462  
463 Returns: a L<Paws::AppSync::CreateApiKeyResponse> instance
464  
465 Creates a unique key that you can distribute to clients who are
466 executing your API.
467  
468  
469 =head2 CreateDataSource
470  
471 =over
472  
473 =item ApiId => Str
474  
475 =item Name => Str
476  
477 =item Type => Str
478  
479 =item [Description => Str]
480  
481 =item [DynamodbConfig => L<Paws::AppSync::DynamodbDataSourceConfig>]
482  
483 =item [ElasticsearchConfig => L<Paws::AppSync::ElasticsearchDataSourceConfig>]
484  
485 =item [HttpConfig => L<Paws::AppSync::HttpDataSourceConfig>]
486  
487 =item [LambdaConfig => L<Paws::AppSync::LambdaDataSourceConfig>]
488  
489 =item [RelationalDatabaseConfig => L<Paws::AppSync::RelationalDatabaseDataSourceConfig>]
490  
491 =item [ServiceRoleArn => Str]
492  
493  
494 =back
495  
496 Each argument is described in detail in: L<Paws::AppSync::CreateDataSource>
497  
498 Returns: a L<Paws::AppSync::CreateDataSourceResponse> instance
499  
500 Creates a C<DataSource> object.
501  
502  
503 =head2 CreateFunction
504  
505 =over
506  
507 =item ApiId => Str
508  
509 =item DataSourceName => Str
510  
511 =item FunctionVersion => Str
512  
513 =item Name => Str
514  
515 =item [Description => Str]
516  
517 =item [RequestMappingTemplate => Str]
518  
519 =item [ResponseMappingTemplate => Str]
520  
521 =item [SyncConfig => L<Paws::AppSync::SyncConfig>]
522  
523  
524 =back
525  
526 Each argument is described in detail in: L<Paws::AppSync::CreateFunction>
527  
528 Returns: a L<Paws::AppSync::CreateFunctionResponse> instance
529  
530 Creates a C<Function> object.
531  
532 A function is a reusable entity. Multiple functions can be used to
533 compose the resolver logic.
534  
535  
536 =head2 CreateGraphqlApi
537  
538 =over
539  
540 =item AuthenticationType => Str
541  
542 =item Name => Str
543  
544 =item [AdditionalAuthenticationProviders => ArrayRef[L<Paws::AppSync::AdditionalAuthenticationProvider>]]
545  
546 =item [LogConfig => L<Paws::AppSync::LogConfig>]
547  
548 =item [OpenIDConnectConfig => L<Paws::AppSync::OpenIDConnectConfig>]
549  
550 =item [Tags => L<Paws::AppSync::TagMap>]
551  
552 =item [UserPoolConfig => L<Paws::AppSync::UserPoolConfig>]
553  
554 =item [XrayEnabled => Bool]
555  
556  
557 =back
558  
559 Each argument is described in detail in: L<Paws::AppSync::CreateGraphqlApi>
560  
561 Returns: a L<Paws::AppSync::CreateGraphqlApiResponse> instance
562  
563 Creates a C<GraphqlApi> object.
564  
565  
566 =head2 CreateResolver
567  
568 =over
569  
570 =item ApiId => Str
571  
572 =item FieldName => Str
573  
574 =item TypeName => Str
575  
576 =item [CachingConfig => L<Paws::AppSync::CachingConfig>]
577  
578 =item [DataSourceName => Str]
579  
580 =item [Kind => Str]
581  
582 =item [PipelineConfig => L<Paws::AppSync::PipelineConfig>]
583  
584 =item [RequestMappingTemplate => Str]
585  
586 =item [ResponseMappingTemplate => Str]
587  
588 =item [SyncConfig => L<Paws::AppSync::SyncConfig>]
589  
590  
591 =back
592  
593 Each argument is described in detail in: L<Paws::AppSync::CreateResolver>
594  
595 Returns: a L<Paws::AppSync::CreateResolverResponse> instance
596  
597 Creates a C<Resolver> object.
598  
599 A resolver converts incoming requests into a format that a data source
600 can understand and converts the data source's responses into GraphQL.
601  
602  
603 =head2 CreateType
604  
605 =over
606  
607 =item ApiId => Str
608  
609 =item Definition => Str
610  
611 =item Format => Str
612  
613  
614 =back
615  
616 Each argument is described in detail in: L<Paws::AppSync::CreateType>
617  
618 Returns: a L<Paws::AppSync::CreateTypeResponse> instance
619  
620 Creates a C<Type> object.
621  
622  
623 =head2 DeleteApiCache
624  
625 =over
626  
627 =item ApiId => Str
628  
629  
630 =back
631  
632 Each argument is described in detail in: L<Paws::AppSync::DeleteApiCache>
633  
634 Returns: a L<Paws::AppSync::DeleteApiCacheResponse> instance
635  
636 Deletes an C<ApiCache> object.
637  
638  
639 =head2 DeleteApiKey
640  
641 =over
642  
643 =item ApiId => Str
644  
645 =item Id => Str
646  
647  
648 =back
649  
650 Each argument is described in detail in: L<Paws::AppSync::DeleteApiKey>
651  
652 Returns: a L<Paws::AppSync::DeleteApiKeyResponse> instance
653  
654 Deletes an API key.
655  
656  
657 =head2 DeleteDataSource
658  
659 =over
660  
661 =item ApiId => Str
662  
663 =item Name => Str
664  
665  
666 =back
667  
668 Each argument is described in detail in: L<Paws::AppSync::DeleteDataSource>
669  
670 Returns: a L<Paws::AppSync::DeleteDataSourceResponse> instance
671  
672 Deletes a C<DataSource> object.
673  
674  
675 =head2 DeleteFunction
676  
677 =over
678  
679 =item ApiId => Str
680  
681 =item FunctionId => Str
682  
683  
684 =back
685  
686 Each argument is described in detail in: L<Paws::AppSync::DeleteFunction>
687  
688 Returns: a L<Paws::AppSync::DeleteFunctionResponse> instance
689  
690 Deletes a C<Function>.
691  
692  
693 =head2 DeleteGraphqlApi
694  
695 =over
696  
697 =item ApiId => Str
698  
699  
700 =back
701  
702 Each argument is described in detail in: L<Paws::AppSync::DeleteGraphqlApi>
703  
704 Returns: a L<Paws::AppSync::DeleteGraphqlApiResponse> instance
705  
706 Deletes a C<GraphqlApi> object.
707  
708  
709 =head2 DeleteResolver
710  
711 =over
712  
713 =item ApiId => Str
714  
715 =item FieldName => Str
716  
717 =item TypeName => Str
718  
719  
720 =back
721  
722 Each argument is described in detail in: L<Paws::AppSync::DeleteResolver>
723  
724 Returns: a L<Paws::AppSync::DeleteResolverResponse> instance
725  
726 Deletes a C<Resolver> object.
727  
728  
729 =head2 DeleteType
730  
731 =over
732  
733 =item ApiId => Str
734  
735 =item TypeName => Str
736  
737  
738 =back
739  
740 Each argument is described in detail in: L<Paws::AppSync::DeleteType>
741  
742 Returns: a L<Paws::AppSync::DeleteTypeResponse> instance
743  
744 Deletes a C<Type> object.
745  
746  
747 =head2 FlushApiCache
748  
749 =over
750  
751 =item ApiId => Str
752  
753  
754 =back
755  
756 Each argument is described in detail in: L<Paws::AppSync::FlushApiCache>
757  
758 Returns: a L<Paws::AppSync::FlushApiCacheResponse> instance
759  
760 Flushes an C<ApiCache> object.
761  
762  
763 =head2 GetApiCache
764  
765 =over
766  
767 =item ApiId => Str
768  
769  
770 =back
771  
772 Each argument is described in detail in: L<Paws::AppSync::GetApiCache>
773  
774 Returns: a L<Paws::AppSync::GetApiCacheResponse> instance
775  
776 Retrieves an C<ApiCache> object.
777  
778  
779 =head2 GetDataSource
780  
781 =over
782  
783 =item ApiId => Str
784  
785 =item Name => Str
786  
787  
788 =back
789  
790 Each argument is described in detail in: L<Paws::AppSync::GetDataSource>
791  
792 Returns: a L<Paws::AppSync::GetDataSourceResponse> instance
793  
794 Retrieves a C<DataSource> object.
795  
796  
797 =head2 GetFunction
798  
799 =over
800  
801 =item ApiId => Str
802  
803 =item FunctionId => Str
804  
805  
806 =back
807  
808 Each argument is described in detail in: L<Paws::AppSync::GetFunction>
809  
810 Returns: a L<Paws::AppSync::GetFunctionResponse> instance
811  
812 Get a C<Function>.
813  
814  
815 =head2 GetGraphqlApi
816  
817 =over
818  
819 =item ApiId => Str
820  
821  
822 =back
823  
824 Each argument is described in detail in: L<Paws::AppSync::GetGraphqlApi>
825  
826 Returns: a L<Paws::AppSync::GetGraphqlApiResponse> instance
827  
828 Retrieves a C<GraphqlApi> object.
829  
830  
831 =head2 GetIntrospectionSchema
832  
833 =over
834  
835 =item ApiId => Str
836  
837 =item Format => Str
838  
839 =item [IncludeDirectives => Bool]
840  
841  
842 =back
843  
844 Each argument is described in detail in: L<Paws::AppSync::GetIntrospectionSchema>
845  
846 Returns: a L<Paws::AppSync::GetIntrospectionSchemaResponse> instance
847  
848 Retrieves the introspection schema for a GraphQL API.
849  
850  
851 =head2 GetResolver
852  
853 =over
854  
855 =item ApiId => Str
856  
857 =item FieldName => Str
858  
859 =item TypeName => Str
860  
861  
862 =back
863  
864 Each argument is described in detail in: L<Paws::AppSync::GetResolver>
865  
866 Returns: a L<Paws::AppSync::GetResolverResponse> instance
867  
868 Retrieves a C<Resolver> object.
869  
870  
871 =head2 GetSchemaCreationStatus
872  
873 =over
874  
875 =item ApiId => Str
876  
877  
878 =back
879  
880 Each argument is described in detail in: L<Paws::AppSync::GetSchemaCreationStatus>
881  
882 Returns: a L<Paws::AppSync::GetSchemaCreationStatusResponse> instance
883  
884 Retrieves the current status of a schema creation operation.
885  
886  
887 =head2 GetType
888  
889 =over
890  
891 =item ApiId => Str
892  
893 =item Format => Str
894  
895 =item TypeName => Str
896  
897  
898 =back
899  
900 Each argument is described in detail in: L<Paws::AppSync::GetType>
901  
902 Returns: a L<Paws::AppSync::GetTypeResponse> instance
903  
904 Retrieves a C<Type> object.
905  
906  
907 =head2 ListApiKeys
908  
909 =over
910  
911 =item ApiId => Str
912  
913 =item [MaxResults => Int]
914  
915 =item [NextToken => Str]
916  
917  
918 =back
919  
920 Each argument is described in detail in: L<Paws::AppSync::ListApiKeys>
921  
922 Returns: a L<Paws::AppSync::ListApiKeysResponse> instance
923  
924 Lists the API keys for a given API.
925  
926 API keys are deleted automatically 60 days after they expire. However,
927 they may still be included in the response until they have actually
928 been deleted. You can safely call C<DeleteApiKey> to manually delete a
929 key before it's automatically deleted.
930  
931  
932 =head2 ListDataSources
933  
934 =over
935  
936 =item ApiId => Str
937  
938 =item [MaxResults => Int]
939  
940 =item [NextToken => Str]
941  
942  
943 =back
944  
945 Each argument is described in detail in: L<Paws::AppSync::ListDataSources>
946  
947 Returns: a L<Paws::AppSync::ListDataSourcesResponse> instance
948  
949 Lists the data sources for a given API.
950  
951  
952 =head2 ListFunctions
953  
954 =over
955  
956 =item ApiId => Str
957  
958 =item [MaxResults => Int]
959  
960 =item [NextToken => Str]
961  
962  
963 =back
964  
965 Each argument is described in detail in: L<Paws::AppSync::ListFunctions>
966  
967 Returns: a L<Paws::AppSync::ListFunctionsResponse> instance
968  
969 List multiple functions.
970  
971  
972 =head2 ListGraphqlApis
973  
974 =over
975  
976 =item [MaxResults => Int]
977  
978 =item [NextToken => Str]
979  
980  
981 =back
982  
983 Each argument is described in detail in: L<Paws::AppSync::ListGraphqlApis>
984  
985 Returns: a L<Paws::AppSync::ListGraphqlApisResponse> instance
986  
987 Lists your GraphQL APIs.
988  
989  
990 =head2 ListResolvers
991  
992 =over
993  
994 =item ApiId => Str
995  
996 =item TypeName => Str
997  
998 =item [MaxResults => Int]
999  
1000 =item [NextToken => Str]
1001  
1002  
1003 =back
1004  
1005 Each argument is described in detail in: L<Paws::AppSync::ListResolvers>
1006  
1007 Returns: a L<Paws::AppSync::ListResolversResponse> instance
1008  
1009 Lists the resolvers for a given API and type.
1010  
1011  
1012 =head2 ListResolversByFunction
1013  
1014 =over
1015  
1016 =item ApiId => Str
1017  
1018 =item FunctionId => Str
1019  
1020 =item [MaxResults => Int]
1021  
1022 =item [NextToken => Str]
1023  
1024  
1025 =back
1026  
1027 Each argument is described in detail in: L<Paws::AppSync::ListResolversByFunction>
1028  
1029 Returns: a L<Paws::AppSync::ListResolversByFunctionResponse> instance
1030  
1031 List the resolvers that are associated with a specific function.
1032  
1033  
1034 =head2 ListTagsForResource
1035  
1036 =over
1037  
1038 =item ResourceArn => Str
1039  
1040  
1041 =back
1042  
1043 Each argument is described in detail in: L<Paws::AppSync::ListTagsForResource>
1044  
1045 Returns: a L<Paws::AppSync::ListTagsForResourceResponse> instance
1046  
1047 Lists the tags for a resource.
1048  
1049  
1050 =head2 ListTypes
1051  
1052 =over
1053  
1054 =item ApiId => Str
1055  
1056 =item Format => Str
1057  
1058 =item [MaxResults => Int]
1059  
1060 =item [NextToken => Str]
1061  
1062  
1063 =back
1064  
1065 Each argument is described in detail in: L<Paws::AppSync::ListTypes>
1066  
1067 Returns: a L<Paws::AppSync::ListTypesResponse> instance
1068  
1069 Lists the types for a given API.
1070  
1071  
1072 =head2 StartSchemaCreation
1073  
1074 =over
1075  
1076 =item ApiId => Str
1077  
1078 =item Definition => Str
1079  
1080  
1081 =back
1082  
1083 Each argument is described in detail in: L<Paws::AppSync::StartSchemaCreation>
1084  
1085 Returns: a L<Paws::AppSync::StartSchemaCreationResponse> instance
1086  
1087 Adds a new schema to your GraphQL API.
1088  
1089 This operation is asynchronous. Use to determine when it has completed.
1090  
1091  
1092 =head2 TagResource
1093  
1094 =over
1095  
1096 =item ResourceArn => Str
1097  
1098 =item Tags => L<Paws::AppSync::TagMap>
1099  
1100  
1101 =back
1102  
1103 Each argument is described in detail in: L<Paws::AppSync::TagResource>
1104  
1105 Returns: a L<Paws::AppSync::TagResourceResponse> instance
1106  
1107 Tags a resource with user-supplied tags.
1108  
1109  
1110 =head2 UntagResource
1111  
1112 =over
1113  
1114 =item ResourceArn => Str
1115  
1116 =item TagKeys => ArrayRef[Str|Undef]
1117  
1118  
1119 =back
1120  
1121 Each argument is described in detail in: L<Paws::AppSync::UntagResource>
1122  
1123 Returns: a L<Paws::AppSync::UntagResourceResponse> instance
1124  
1125 Untags a resource.
1126  
1127  
1128 =head2 UpdateApiCache
1129  
1130 =over
1131  
1132 =item ApiCachingBehavior => Str
1133  
1134 =item ApiId => Str
1135  
1136 =item Ttl => Int
1137  
1138 =item Type => Str
1139  
1140  
1141 =back
1142  
1143 Each argument is described in detail in: L<Paws::AppSync::UpdateApiCache>
1144  
1145 Returns: a L<Paws::AppSync::UpdateApiCacheResponse> instance
1146  
1147 Updates the cache for the GraphQL API.
1148  
1149  
1150 =head2 UpdateApiKey
1151  
1152 =over
1153  
1154 =item ApiId => Str
1155  
1156 =item Id => Str
1157  
1158 =item [Description => Str]
1159  
1160 =item [Expires => Int]
1161  
1162  
1163 =back
1164  
1165 Each argument is described in detail in: L<Paws::AppSync::UpdateApiKey>
1166  
1167 Returns: a L<Paws::AppSync::UpdateApiKeyResponse> instance
1168  
1169 Updates an API key. The key can be updated while it is not deleted.
1170  
1171  
1172 =head2 UpdateDataSource
1173  
1174 =over
1175  
1176 =item ApiId => Str
1177  
1178 =item Name => Str
1179  
1180 =item Type => Str
1181  
1182 =item [Description => Str]
1183  
1184 =item [DynamodbConfig => L<Paws::AppSync::DynamodbDataSourceConfig>]
1185  
1186 =item [ElasticsearchConfig => L<Paws::AppSync::ElasticsearchDataSourceConfig>]
1187  
1188 =item [HttpConfig => L<Paws::AppSync::HttpDataSourceConfig>]
1189  
1190 =item [LambdaConfig => L<Paws::AppSync::LambdaDataSourceConfig>]
1191  
1192 =item [RelationalDatabaseConfig => L<Paws::AppSync::RelationalDatabaseDataSourceConfig>]
1193  
1194 =item [ServiceRoleArn => Str]
1195  
1196  
1197 =back
1198  
1199 Each argument is described in detail in: L<Paws::AppSync::UpdateDataSource>
1200  
1201 Returns: a L<Paws::AppSync::UpdateDataSourceResponse> instance
1202  
1203 Updates a C<DataSource> object.
1204  
1205  
1206 =head2 UpdateFunction
1207  
1208 =over
1209  
1210 =item ApiId => Str
1211  
1212 =item DataSourceName => Str
1213  
1214 =item FunctionId => Str
1215  
1216 =item FunctionVersion => Str
1217  
1218 =item Name => Str
1219  
1220 =item [Description => Str]
1221  
1222 =item [RequestMappingTemplate => Str]
1223  
1224 =item [ResponseMappingTemplate => Str]
1225  
1226 =item [SyncConfig => L<Paws::AppSync::SyncConfig>]
1227  
1228  
1229 =back
1230  
1231 Each argument is described in detail in: L<Paws::AppSync::UpdateFunction>
1232  
1233 Returns: a L<Paws::AppSync::UpdateFunctionResponse> instance
1234  
1235 Updates a C<Function> object.
1236  
1237  
1238 =head2 UpdateGraphqlApi
1239  
1240 =over
1241  
1242 =item ApiId => Str
1243  
1244 =item Name => Str
1245  
1246 =item [AdditionalAuthenticationProviders => ArrayRef[L<Paws::AppSync::AdditionalAuthenticationProvider>]]
1247  
1248 =item [AuthenticationType => Str]
1249  
1250 =item [LogConfig => L<Paws::AppSync::LogConfig>]
1251  
1252 =item [OpenIDConnectConfig => L<Paws::AppSync::OpenIDConnectConfig>]
1253  
1254 =item [UserPoolConfig => L<Paws::AppSync::UserPoolConfig>]
1255  
1256 =item [XrayEnabled => Bool]
1257  
1258  
1259 =back
1260  
1261 Each argument is described in detail in: L<Paws::AppSync::UpdateGraphqlApi>
1262  
1263 Returns: a L<Paws::AppSync::UpdateGraphqlApiResponse> instance
1264  
1265 Updates a C<GraphqlApi> object.
1266  
1267  
1268 =head2 UpdateResolver
1269  
1270 =over
1271  
1272 =item ApiId => Str
1273  
1274 =item FieldName => Str
1275  
1276 =item TypeName => Str
1277  
1278 =item [CachingConfig => L<Paws::AppSync::CachingConfig>]
1279  
1280 =item [DataSourceName => Str]
1281  
1282 =item [Kind => Str]
1283  
1284 =item [PipelineConfig => L<Paws::AppSync::PipelineConfig>]
1285  
1286 =item [RequestMappingTemplate => Str]
1287  
1288 =item [ResponseMappingTemplate => Str]
1289  
1290 =item [SyncConfig => L<Paws::AppSync::SyncConfig>]
1291  
1292  
1293 =back
1294  
1295 Each argument is described in detail in: L<Paws::AppSync::UpdateResolver>
1296  
1297 Returns: a L<Paws::AppSync::UpdateResolverResponse> instance
1298  
1299 Updates a C<Resolver> object.
1300  
1301  
1302 =head2 UpdateType
1303  
1304 =over
1305  
1306 =item ApiId => Str
1307  
1308 =item Format => Str
1309  
1310 =item TypeName => Str
1311  
1312 =item [Definition => Str]
1313  
1314  
1315 =back
1316  
1317 Each argument is described in detail in: L<Paws::AppSync::UpdateType>
1318  
1319 Returns: a L<Paws::AppSync::UpdateTypeResponse> instance
1320  
1321 Updates a C<Type> object.
1322  
1323  
1324  
1325  
1326 =head1 PAGINATORS
1327  
1328 Paginator methods are helpers that repetively call methods that return partial results
1329  
1330 =head2 ListAllApiKeys(sub { },ApiId => Str, [MaxResults => Int, NextToken => Str])
1331  
1332 =head2 ListAllApiKeys(ApiId => Str, [MaxResults => Int, NextToken => Str])
1333  
1334  
1335 If passed a sub as first parameter, it will call the sub for each element found in :
1336  
1337 - apiKeys, passing the object as the first parameter, and the string 'apiKeys' as the second parameter
1338  
1339 If not, it will return a a L<Paws::AppSync::ListApiKeysResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1340  
1341  
1342 =head2 ListAllDataSources(sub { },ApiId => Str, [MaxResults => Int, NextToken => Str])
1343  
1344 =head2 ListAllDataSources(ApiId => Str, [MaxResults => Int, NextToken => Str])
1345  
1346  
1347 If passed a sub as first parameter, it will call the sub for each element found in :
1348  
1349 - dataSources, passing the object as the first parameter, and the string 'dataSources' as the second parameter
1350  
1351 If not, it will return a a L<Paws::AppSync::ListDataSourcesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1352  
1353  
1354 =head2 ListAllFunctions(sub { },ApiId => Str, [MaxResults => Int, NextToken => Str])
1355  
1356 =head2 ListAllFunctions(ApiId => Str, [MaxResults => Int, NextToken => Str])
1357  
1358  
1359 If passed a sub as first parameter, it will call the sub for each element found in :
1360  
1361 - functions, passing the object as the first parameter, and the string 'functions' as the second parameter
1362  
1363 If not, it will return a a L<Paws::AppSync::ListFunctionsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1364  
1365  
1366 =head2 ListAllGraphqlApis(sub { },[MaxResults => Int, NextToken => Str])
1367  
1368 =head2 ListAllGraphqlApis([MaxResults => Int, NextToken => Str])
1369  
1370  
1371 If passed a sub as first parameter, it will call the sub for each element found in :
1372  
1373 - graphqlApis, passing the object as the first parameter, and the string 'graphqlApis' as the second parameter
1374  
1375 If not, it will return a a L<Paws::AppSync::ListGraphqlApisResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1376  
1377  
1378 =head2 ListAllResolvers(sub { },ApiId => Str, TypeName => Str, [MaxResults => Int, NextToken => Str])
1379  
1380 =head2 ListAllResolvers(ApiId => Str, TypeName => Str, [MaxResults => Int, NextToken => Str])
1381  
1382  
1383 If passed a sub as first parameter, it will call the sub for each element found in :
1384  
1385 - resolvers, passing the object as the first parameter, and the string 'resolvers' as the second parameter
1386  
1387 If not, it will return a a L<Paws::AppSync::ListResolversResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1388  
1389  
1390 =head2 ListAllResolversByFunction(sub { },ApiId => Str, FunctionId => Str, [MaxResults => Int, NextToken => Str])
1391  
1392 =head2 ListAllResolversByFunction(ApiId => Str, FunctionId => Str, [MaxResults => Int, NextToken => Str])
1393  
1394  
1395 If passed a sub as first parameter, it will call the sub for each element found in :
1396  
1397 - resolvers, passing the object as the first parameter, and the string 'resolvers' as the second parameter
1398  
1399 If not, it will return a a L<Paws::AppSync::ListResolversByFunctionResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1400  
1401  
1402 =head2 ListAllTypes(sub { },ApiId => Str, Format => Str, [MaxResults => Int, NextToken => Str])
1403  
1404 =head2 ListAllTypes(ApiId => Str, Format => Str, [MaxResults => Int, NextToken => Str])
1405  
1406  
1407 If passed a sub as first parameter, it will call the sub for each element found in :
1408  
1409 - types, passing the object as the first parameter, and the string 'types' as the second parameter
1410  
1411 If not, it will return a a L<Paws::AppSync::ListTypesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1412  
1413  
1414  
1415  
1416  
1417 =head1 SEE ALSO
1418  
1419 This service class forms part of L<Paws>
1420  
1421 =head1 BUGS and CONTRIBUTIONS
1422  
1423 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
1424  
1425 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
1426  
1427 =cut
1428