blib/lib/Paws/CloudFormation/ListTypeVersions.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CloudFormation::ListTypeVersions;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str');
5 has DeprecatedStatus => (is => 'ro', isa => 'Str');
6 has MaxResults => (is => 'ro', isa => 'Int');
7 has NextToken => (is => 'ro', isa => 'Str');
8 has PublisherId => (is => 'ro', isa => 'Str');
9 has Type => (is => 'ro', isa => 'Str');
10 has TypeName => (is => 'ro', isa => 'Str');
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListTypeVersions');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudFormation::ListTypeVersionsOutput');
16 class_has _result_key => (isa => 'Str', is => 'ro', default => 'ListTypeVersionsResult');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::CloudFormation::ListTypeVersions - Arguments for method ListTypeVersions on L<Paws::CloudFormation>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method ListTypeVersions on the
28 L<AWS CloudFormation|Paws::CloudFormation> service. Use the attributes of this class
29 as arguments to method ListTypeVersions.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListTypeVersions.
32  
33 =head1 SYNOPSIS
34  
35 my $cloudformation = Paws->service('CloudFormation');
36 my $ListTypeVersionsOutput = $cloudformation->ListTypeVersions(
37 Arn => 'MyTypeArn', # OPTIONAL
38 DeprecatedStatus => 'LIVE', # OPTIONAL
39 MaxResults => 1, # OPTIONAL
40 NextToken => 'MyNextToken', # OPTIONAL
41 PublisherId => 'MyPublisherId', # OPTIONAL
42 Type => 'RESOURCE', # OPTIONAL
43 TypeName => 'MyTypeName', # OPTIONAL
44 );
45  
46 # Results:
47 my $NextToken = $ListTypeVersionsOutput->NextToken;
48 my $TypeVersionSummaries = $ListTypeVersionsOutput->TypeVersionSummaries;
49  
50 # Returns a L<Paws::CloudFormation::ListTypeVersionsOutput> object.
51  
52 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.
53 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudformation/ListTypeVersions>
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 Arn => Str
59  
60 The Amazon Resource Name (ARN) of the extension for which you want
61 version summary information.
62  
63 Conditional: You must specify either C<TypeName> and C<Type>, or
64 C<Arn>.
65  
66  
67  
68 =head2 DeprecatedStatus => Str
69  
70 The deprecation status of the extension versions that you want to get
71 summary information about.
72  
73 Valid values include:
74  
75 =over
76  
77 =item *
78  
79 C<LIVE>: The extension version is registered and can be used in
80 CloudFormation operations, dependent on its provisioning behavior and
81 visibility scope.
82  
83 =item *
84  
85 C<DEPRECATED>: The extension version has been deregistered and can no
86 longer be used in CloudFormation operations.
87  
88 =back
89  
90 The default is C<LIVE>.
91  
92 Valid values are: C<"LIVE">, C<"DEPRECATED">
93  
94 =head2 MaxResults => Int
95  
96 The maximum number of results to be returned with a single call. If the
97 number of available results exceeds this maximum, the response includes
98 a C<NextToken> value that you can assign to the C<NextToken> request
99 parameter to get the next set of results.
100  
101  
102  
103 =head2 NextToken => Str
104  
105 If the previous paginated request didn't return all of the remaining
106 results, the response object's C<NextToken> parameter value is set to a
107 token. To retrieve the next set of results, call this action again and
108 assign that token to the request object's C<NextToken> parameter. If
109 there are no remaining results, the previous response object's
110 C<NextToken> parameter is set to C<null>.
111  
112  
113  
114 =head2 PublisherId => Str
115  
116 The publisher ID of the extension publisher.
117  
118 Extensions published by Amazon are not assigned a publisher ID.
119  
120  
121  
122 =head2 Type => Str
123  
124 The kind of the extension.
125  
126 Conditional: You must specify either C<TypeName> and C<Type>, or
127 C<Arn>.
128  
129 Valid values are: C<"RESOURCE">, C<"MODULE">
130  
131 =head2 TypeName => Str
132  
133 The name of the extension for which you want version summary
134 information.
135  
136 Conditional: You must specify either C<TypeName> and C<Type>, or
137 C<Arn>.
138  
139  
140  
141  
142 =head1 SEE ALSO
143  
144 This class forms part of L<Paws>, documenting arguments for method ListTypeVersions in L<Paws::CloudFormation>
145  
146 =head1 BUGS and CONTRIBUTIONS
147  
148 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
149  
150 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
151  
152 =cut
153