blib/lib/Paws/MediaConvert/ListJobTemplates.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::MediaConvert::ListJobTemplates;
3 use Moose;
4 has Category => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'category');
5 has ListBy => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'listBy');
6 has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults');
7 has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken');
8 has Order => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'order');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListJobTemplates');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2017-08-29/jobTemplates');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MediaConvert::ListJobTemplatesResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::MediaConvert::ListJobTemplates - Arguments for method ListJobTemplates on L<Paws::MediaConvert>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method ListJobTemplates on the
27 L<AWS Elemental MediaConvert|Paws::MediaConvert> service. Use the attributes of this class
28 as arguments to method ListJobTemplates.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListJobTemplates.
31  
32 =head1 SYNOPSIS
33  
34 my $mediaconvert = Paws->service('MediaConvert');
35 my $ListJobTemplatesResponse = $mediaconvert->ListJobTemplates(
36 Category => 'My__string', # OPTIONAL
37 ListBy => 'NAME', # OPTIONAL
38 MaxResults => 1, # OPTIONAL
39 NextToken => 'My__string', # OPTIONAL
40 Order => 'ASCENDING', # OPTIONAL
41 );
42  
43 # Results:
44 my $JobTemplates = $ListJobTemplatesResponse->JobTemplates;
45 my $NextToken = $ListJobTemplatesResponse->NextToken;
46  
47 # Returns a L<Paws::MediaConvert::ListJobTemplatesResponse> object.
48  
49 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.
50 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mediaconvert/ListJobTemplates>
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 Category => Str
56  
57 Optionally, specify a job template category to limit responses to only
58 job templates from that category.
59  
60  
61  
62 =head2 ListBy => Str
63  
64 Optional. When you request a list of job templates, you can choose to
65 list them alphabetically by NAME or chronologically by CREATION_DATE.
66 If you don't specify, the service will list them by name.
67  
68 Valid values are: C<"NAME">, C<"CREATION_DATE">, C<"SYSTEM">
69  
70 =head2 MaxResults => Int
71  
72 Optional. Number of job templates, up to twenty, that will be returned
73 at one time.
74  
75  
76  
77 =head2 NextToken => Str
78  
79 Use this string, provided with the response to a previous request, to
80 request the next batch of job templates.
81  
82  
83  
84 =head2 Order => Str
85  
86 Optional. When you request lists of resources, you can specify whether
87 they are sorted in ASCENDING or DESCENDING order. Default varies by
88 resource.
89  
90 Valid values are: C<"ASCENDING">, C<"DESCENDING">
91  
92  
93 =head1 SEE ALSO
94  
95 This class forms part of L<Paws>, documenting arguments for method ListJobTemplates in L<Paws::MediaConvert>
96  
97 =head1 BUGS and CONTRIBUTIONS
98  
99 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
100  
101 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
102  
103 =cut
104