blib/lib/Paws/Proton/ListServiceTemplateVersions.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Proton::ListServiceTemplateVersions;
3 use Moose;
4 has MajorVersion => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'majorVersion' );
5 has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' );
6 has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
7 has TemplateName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'templateName' , required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListServiceTemplateVersions');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Proton::ListServiceTemplateVersionsOutput');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::Proton::ListServiceTemplateVersions - Arguments for method ListServiceTemplateVersions on L<Paws::Proton>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method ListServiceTemplateVersions on the
25 L<AWS Proton|Paws::Proton> service. Use the attributes of this class
26 as arguments to method ListServiceTemplateVersions.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListServiceTemplateVersions.
29  
30 =head1 SYNOPSIS
31  
32 my $proton = Paws->service('Proton');
33 my $ListServiceTemplateVersionsOutput =
34 $proton->ListServiceTemplateVersions(
35 TemplateName => 'MyResourceName',
36 MajorVersion => 'MyTemplateVersionPart', # OPTIONAL
37 MaxResults => 1, # OPTIONAL
38 NextToken => 'MyNextToken', # OPTIONAL
39 );
40  
41 # Results:
42 my $NextToken = $ListServiceTemplateVersionsOutput->NextToken;
43 my $TemplateVersions = $ListServiceTemplateVersionsOutput->TemplateVersions;
44  
45 # Returns a L<Paws::Proton::ListServiceTemplateVersionsOutput> object.
46  
47 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.
48 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/proton/ListServiceTemplateVersions>
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 MajorVersion => Str
54  
55 To view a list of minor of versions under a major version of a service
56 template, include C<majorVersion>.
57  
58 To view a list of major versions of a service template, I<exclude>
59 C<majorVersion>.
60  
61  
62  
63 =head2 MaxResults => Int
64  
65 The maximum number of major or minor versions of a service template to
66 list.
67  
68  
69  
70 =head2 NextToken => Str
71  
72 A token to indicate the location of the next major or minor version in
73 the array of major or minor versions of a service template, after the
74 list of major or minor versions that was previously requested.
75  
76  
77  
78 =head2 B<REQUIRED> TemplateName => Str
79  
80 The name of the service template.
81  
82  
83  
84  
85 =head1 SEE ALSO
86  
87 This class forms part of L<Paws>, documenting arguments for method ListServiceTemplateVersions in L<Paws::Proton>
88  
89 =head1 BUGS and CONTRIBUTIONS
90  
91 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
92  
93 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
94  
95 =cut
96