blib/lib/Paws/EKS/ListUpdates.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::EKS::ListUpdates;
3 use Moose;
4 has AddonName => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'addonName');
5 has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults');
6 has Name => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'name', required => 1);
7 has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken');
8 has NodegroupName => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nodegroupName');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListUpdates');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/clusters/{name}/updates');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EKS::ListUpdatesResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::EKS::ListUpdates - Arguments for method ListUpdates on L<Paws::EKS>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method ListUpdates on the
27 L<Amazon Elastic Kubernetes Service|Paws::EKS> service. Use the attributes of this class
28 as arguments to method ListUpdates.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListUpdates.
31  
32 =head1 SYNOPSIS
33  
34 my $eks = Paws->service('EKS');
35 my $ListUpdatesResponse = $eks->ListUpdates(
36 Name => 'MyString',
37 AddonName => 'MyString', # OPTIONAL
38 MaxResults => 1, # OPTIONAL
39 NextToken => 'MyString', # OPTIONAL
40 NodegroupName => 'MyString', # OPTIONAL
41 );
42  
43 # Results:
44 my $NextToken = $ListUpdatesResponse->NextToken;
45 my $UpdateIds = $ListUpdatesResponse->UpdateIds;
46  
47 # Returns a L<Paws::EKS::ListUpdatesResponse> 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/eks/ListUpdates>
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 AddonName => Str
56  
57 The names of the installed add-ons that have available updates.
58  
59  
60  
61 =head2 MaxResults => Int
62  
63 The maximum number of update results returned by C<ListUpdates> in
64 paginated output. When you use this parameter, C<ListUpdates> returns
65 only C<maxResults> results in a single page along with a C<nextToken>
66 response element. You can see the remaining results of the initial
67 request by sending another C<ListUpdates> request with the returned
68 C<nextToken> value. This value can be between 1 and 100. If you don't
69 use this parameter, C<ListUpdates> returns up to 100 results and a
70 C<nextToken> value if applicable.
71  
72  
73  
74 =head2 B<REQUIRED> Name => Str
75  
76 The name of the Amazon EKS cluster to list updates for.
77  
78  
79  
80 =head2 NextToken => Str
81  
82 The C<nextToken> value returned from a previous paginated
83 C<ListUpdates> request where C<maxResults> was used and the results
84 exceeded the value of that parameter. Pagination continues from the end
85 of the previous results that returned the C<nextToken> value.
86  
87  
88  
89 =head2 NodegroupName => Str
90  
91 The name of the Amazon EKS managed node group to list updates for.
92  
93  
94  
95  
96 =head1 SEE ALSO
97  
98 This class forms part of L<Paws>, documenting arguments for method ListUpdates in L<Paws::EKS>
99  
100 =head1 BUGS and CONTRIBUTIONS
101  
102 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
103  
104 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
105  
106 =cut
107