blib/lib/Paws/Kafka.pm untested

filter: Statementstmt 0.0% 0 / 243 Branchbran 0.0% 0 / 28 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 43 Podpod 0.0% 0 / 42 totaltotal 0.0% 0 / 356 CC 15 SCAR 17.4
CC
15
Cov
0%
ListAllClusterOperations
12.0
ListAllClusters
12.0
ListAllConfigurationRevisions
12.0
CRAP 5.7
1 package Paws::Kafka;
2 use Moose;
3 sub service { 'kafka' }
4 sub signing_name { 'kafka' }
5 sub version { '2018-11-14' }
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 BatchAssociateScramSecret {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::Kafka::BatchAssociateScramSecret', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub BatchDisassociateScramSecret {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::Kafka::BatchDisassociateScramSecret', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27 sub CreateCluster {
28 my $self = shift;
29 my $call_object = $self->new_with_coercions('Paws::Kafka::CreateCluster', @_);
30 return $self->caller->do_call($self, $call_object);
31 }
32 sub CreateConfiguration {
33 my $self = shift;
34 my $call_object = $self->new_with_coercions('Paws::Kafka::CreateConfiguration', @_);
35 return $self->caller->do_call($self, $call_object);
36 }
37 sub DeleteCluster {
38 my $self = shift;
39 my $call_object = $self->new_with_coercions('Paws::Kafka::DeleteCluster', @_);
40 return $self->caller->do_call($self, $call_object);
41 }
42 sub DeleteConfiguration {
43 my $self = shift;
44 my $call_object = $self->new_with_coercions('Paws::Kafka::DeleteConfiguration', @_);
45 return $self->caller->do_call($self, $call_object);
46 }
47 sub DescribeCluster {
48 my $self = shift;
49 my $call_object = $self->new_with_coercions('Paws::Kafka::DescribeCluster', @_);
50 return $self->caller->do_call($self, $call_object);
51 }
52 sub DescribeClusterOperation {
53 my $self = shift;
54 my $call_object = $self->new_with_coercions('Paws::Kafka::DescribeClusterOperation', @_);
55 return $self->caller->do_call($self, $call_object);
56 }
57 sub DescribeConfiguration {
58 my $self = shift;
59 my $call_object = $self->new_with_coercions('Paws::Kafka::DescribeConfiguration', @_);
60 return $self->caller->do_call($self, $call_object);
61 }
62 sub DescribeConfigurationRevision {
63 my $self = shift;
64 my $call_object = $self->new_with_coercions('Paws::Kafka::DescribeConfigurationRevision', @_);
65 return $self->caller->do_call($self, $call_object);
66 }
67 sub GetBootstrapBrokers {
68 my $self = shift;
69 my $call_object = $self->new_with_coercions('Paws::Kafka::GetBootstrapBrokers', @_);
70 return $self->caller->do_call($self, $call_object);
71 }
72 sub GetCompatibleKafkaVersions {
73 my $self = shift;
74 my $call_object = $self->new_with_coercions('Paws::Kafka::GetCompatibleKafkaVersions', @_);
75 return $self->caller->do_call($self, $call_object);
76 }
77 sub ListClusterOperations {
78 my $self = shift;
79 my $call_object = $self->new_with_coercions('Paws::Kafka::ListClusterOperations', @_);
80 return $self->caller->do_call($self, $call_object);
81 }
82 sub ListClusters {
83 my $self = shift;
84 my $call_object = $self->new_with_coercions('Paws::Kafka::ListClusters', @_);
85 return $self->caller->do_call($self, $call_object);
86 }
87 sub ListConfigurationRevisions {
88 my $self = shift;
89 my $call_object = $self->new_with_coercions('Paws::Kafka::ListConfigurationRevisions', @_);
90 return $self->caller->do_call($self, $call_object);
91 }
92 sub ListConfigurations {
93 my $self = shift;
94 my $call_object = $self->new_with_coercions('Paws::Kafka::ListConfigurations', @_);
95 return $self->caller->do_call($self, $call_object);
96 }
97 sub ListKafkaVersions {
98 my $self = shift;
99 my $call_object = $self->new_with_coercions('Paws::Kafka::ListKafkaVersions', @_);
100 return $self->caller->do_call($self, $call_object);
101 }
102 sub ListNodes {
103 my $self = shift;
104 my $call_object = $self->new_with_coercions('Paws::Kafka::ListNodes', @_);
105 return $self->caller->do_call($self, $call_object);
106 }
107 sub ListScramSecrets {
108 my $self = shift;
109 my $call_object = $self->new_with_coercions('Paws::Kafka::ListScramSecrets', @_);
110 return $self->caller->do_call($self, $call_object);
111 }
112 sub ListTagsForResource {
113 my $self = shift;
114 my $call_object = $self->new_with_coercions('Paws::Kafka::ListTagsForResource', @_);
115 return $self->caller->do_call($self, $call_object);
116 }
117 sub RebootBroker {
118 my $self = shift;
119 my $call_object = $self->new_with_coercions('Paws::Kafka::RebootBroker', @_);
120 return $self->caller->do_call($self, $call_object);
121 }
122 sub TagResource {
123 my $self = shift;
124 my $call_object = $self->new_with_coercions('Paws::Kafka::TagResource', @_);
125 return $self->caller->do_call($self, $call_object);
126 }
127 sub UntagResource {
128 my $self = shift;
129 my $call_object = $self->new_with_coercions('Paws::Kafka::UntagResource', @_);
130 return $self->caller->do_call($self, $call_object);
131 }
132 sub UpdateBrokerCount {
133 my $self = shift;
134 my $call_object = $self->new_with_coercions('Paws::Kafka::UpdateBrokerCount', @_);
135 return $self->caller->do_call($self, $call_object);
136 }
137 sub UpdateBrokerStorage {
138 my $self = shift;
139 my $call_object = $self->new_with_coercions('Paws::Kafka::UpdateBrokerStorage', @_);
140 return $self->caller->do_call($self, $call_object);
141 }
142 sub UpdateBrokerType {
143 my $self = shift;
144 my $call_object = $self->new_with_coercions('Paws::Kafka::UpdateBrokerType', @_);
145 return $self->caller->do_call($self, $call_object);
146 }
147 sub UpdateClusterConfiguration {
148 my $self = shift;
149 my $call_object = $self->new_with_coercions('Paws::Kafka::UpdateClusterConfiguration', @_);
150 return $self->caller->do_call($self, $call_object);
151 }
152 sub UpdateClusterKafkaVersion {
153 my $self = shift;
154 my $call_object = $self->new_with_coercions('Paws::Kafka::UpdateClusterKafkaVersion', @_);
155 return $self->caller->do_call($self, $call_object);
156 }
157 sub UpdateConfiguration {
158 my $self = shift;
159 my $call_object = $self->new_with_coercions('Paws::Kafka::UpdateConfiguration', @_);
160 return $self->caller->do_call($self, $call_object);
161 }
162 sub UpdateMonitoring {
163 my $self = shift;
164 my $call_object = $self->new_with_coercions('Paws::Kafka::UpdateMonitoring', @_);
165 return $self->caller->do_call($self, $call_object);
166 }
167
168 sub ListAllClusterOperations {
169 my $self = shift;
170  
171 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
172 my $result = $self->ListClusterOperations(@_);
173 my $next_result = $result;
174  
175 if (not defined $callback) {
176 while ($next_result->NextToken) {
177 $next_result = $self->ListClusterOperations(@_, NextToken => $next_result->NextToken);
178 push @{ $result->ClusterOperationInfoList }, @{ $next_result->ClusterOperationInfoList };
179 }
180 return $result;
181 } else {
182 while ($result->NextToken) {
183 $callback->($_ => 'ClusterOperationInfoList') foreach (@{ $result->ClusterOperationInfoList });
184 $result = $self->ListClusterOperations(@_, NextToken => $result->NextToken);
185 }
186 $callback->($_ => 'ClusterOperationInfoList') foreach (@{ $result->ClusterOperationInfoList });
187 }
188  
189 return undef
190 }
191 sub ListAllClusters {
192 my $self = shift;
193  
194 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
195 my $result = $self->ListClusters(@_);
196 my $next_result = $result;
197  
198 if (not defined $callback) {
199 while ($next_result->NextToken) {
200 $next_result = $self->ListClusters(@_, NextToken => $next_result->NextToken);
201 push @{ $result->ClusterInfoList }, @{ $next_result->ClusterInfoList };
202 }
203 return $result;
204 } else {
205 while ($result->NextToken) {
206 $callback->($_ => 'ClusterInfoList') foreach (@{ $result->ClusterInfoList });
207 $result = $self->ListClusters(@_, NextToken => $result->NextToken);
208 }
209 $callback->($_ => 'ClusterInfoList') foreach (@{ $result->ClusterInfoList });
210 }
211  
212 return undef
213 }
214 sub ListAllConfigurationRevisions {
215 my $self = shift;
216  
217 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
218 my $result = $self->ListConfigurationRevisions(@_);
219 my $next_result = $result;
220  
221 if (not defined $callback) {
222 while ($next_result->NextToken) {
223 $next_result = $self->ListConfigurationRevisions(@_, NextToken => $next_result->NextToken);
224 push @{ $result->Revisions }, @{ $next_result->Revisions };
225 }
226 return $result;
227 } else {
228 while ($result->NextToken) {
229 $callback->($_ => 'Revisions') foreach (@{ $result->Revisions });
230 $result = $self->ListConfigurationRevisions(@_, NextToken => $result->NextToken);
231 }
232 $callback->($_ => 'Revisions') foreach (@{ $result->Revisions });
233 }
234  
235 return undef
236 }
237 sub ListAllConfigurations {
238 my $self = shift;
239  
240 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
241 my $result = $self->ListConfigurations(@_);
242 my $next_result = $result;
243  
244 if (not defined $callback) {
245 while ($next_result->NextToken) {
246 $next_result = $self->ListConfigurations(@_, NextToken => $next_result->NextToken);
247 push @{ $result->Configurations }, @{ $next_result->Configurations };
248 }
249 return $result;
250 } else {
251 while ($result->NextToken) {
252 $callback->($_ => 'Configurations') foreach (@{ $result->Configurations });
253 $result = $self->ListConfigurations(@_, NextToken => $result->NextToken);
254 }
255 $callback->($_ => 'Configurations') foreach (@{ $result->Configurations });
256 }
257  
258 return undef
259 }
260 sub ListAllKafkaVersions {
261 my $self = shift;
262  
263 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
264 my $result = $self->ListKafkaVersions(@_);
265 my $next_result = $result;
266  
267 if (not defined $callback) {
268 while ($next_result->NextToken) {
269 $next_result = $self->ListKafkaVersions(@_, NextToken => $next_result->NextToken);
270 push @{ $result->KafkaVersions }, @{ $next_result->KafkaVersions };
271 }
272 return $result;
273 } else {
274 while ($result->NextToken) {
275 $callback->($_ => 'KafkaVersions') foreach (@{ $result->KafkaVersions });
276 $result = $self->ListKafkaVersions(@_, NextToken => $result->NextToken);
277 }
278 $callback->($_ => 'KafkaVersions') foreach (@{ $result->KafkaVersions });
279 }
280  
281 return undef
282 }
283 sub ListAllNodes {
284 my $self = shift;
285  
286 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
287 my $result = $self->ListNodes(@_);
288 my $next_result = $result;
289  
290 if (not defined $callback) {
291 while ($next_result->NextToken) {
292 $next_result = $self->ListNodes(@_, NextToken => $next_result->NextToken);
293 push @{ $result->NodeInfoList }, @{ $next_result->NodeInfoList };
294 }
295 return $result;
296 } else {
297 while ($result->NextToken) {
298 $callback->($_ => 'NodeInfoList') foreach (@{ $result->NodeInfoList });
299 $result = $self->ListNodes(@_, NextToken => $result->NextToken);
300 }
301 $callback->($_ => 'NodeInfoList') foreach (@{ $result->NodeInfoList });
302 }
303  
304 return undef
305 }
306 sub ListAllScramSecrets {
307 my $self = shift;
308  
309 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
310 my $result = $self->ListScramSecrets(@_);
311 my $next_result = $result;
312  
313 if (not defined $callback) {
314 while ($next_result->NextToken) {
315 $next_result = $self->ListScramSecrets(@_, NextToken => $next_result->NextToken);
316 push @{ $result->SecretArnList }, @{ $next_result->SecretArnList };
317 }
318 return $result;
319 } else {
320 while ($result->NextToken) {
321 $callback->($_ => 'SecretArnList') foreach (@{ $result->SecretArnList });
322 $result = $self->ListScramSecrets(@_, NextToken => $result->NextToken);
323 }
324 $callback->($_ => 'SecretArnList') foreach (@{ $result->SecretArnList });
325 }
326  
327 return undef
328 }
329  
330  
331 sub operations { qw/BatchAssociateScramSecret BatchDisassociateScramSecret CreateCluster CreateConfiguration DeleteCluster DeleteConfiguration DescribeCluster DescribeClusterOperation DescribeConfiguration DescribeConfigurationRevision GetBootstrapBrokers GetCompatibleKafkaVersions ListClusterOperations ListClusters ListConfigurationRevisions ListConfigurations ListKafkaVersions ListNodes ListScramSecrets ListTagsForResource RebootBroker TagResource UntagResource UpdateBrokerCount UpdateBrokerStorage UpdateBrokerType UpdateClusterConfiguration UpdateClusterKafkaVersion UpdateConfiguration UpdateMonitoring / }
332  
333 1;
334  
335 ### main pod documentation begin ###
336  
337 =head1 NAME
338  
339 Paws::Kafka - Perl Interface to AWS Managed Streaming for Kafka
340  
341 =head1 SYNOPSIS
342  
343 use Paws;
344  
345 my $obj = Paws->service('Kafka');
346 my $res = $obj->Method(
347 Arg1 => $val1,
348 Arg2 => [ 'V1', 'V2' ],
349 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
350 # of the arguments type
351 Arg3 => { Att1 => 'Val1' },
352 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
353 # the constructor of the arguments type
354 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
355 );
356  
357 =head1 DESCRIPTION
358  
359 The operations for managing an Amazon MSK cluster.
360  
361 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14>
362  
363  
364 =head1 METHODS
365  
366 =head2 BatchAssociateScramSecret
367  
368 =over
369  
370 =item ClusterArn => Str
371  
372 =item SecretArnList => ArrayRef[Str|Undef]
373  
374  
375 =back
376  
377 Each argument is described in detail in: L<Paws::Kafka::BatchAssociateScramSecret>
378  
379 Returns: a L<Paws::Kafka::BatchAssociateScramSecretResponse> instance
380  
381 Associates one or more Scram Secrets with an Amazon MSK cluster.
382  
383  
384 =head2 BatchDisassociateScramSecret
385  
386 =over
387  
388 =item ClusterArn => Str
389  
390 =item SecretArnList => ArrayRef[Str|Undef]
391  
392  
393 =back
394  
395 Each argument is described in detail in: L<Paws::Kafka::BatchDisassociateScramSecret>
396  
397 Returns: a L<Paws::Kafka::BatchDisassociateScramSecretResponse> instance
398  
399 Disassociates one or more Scram Secrets from an Amazon MSK cluster.
400  
401  
402 =head2 CreateCluster
403  
404 =over
405  
406 =item BrokerNodeGroupInfo => L<Paws::Kafka::BrokerNodeGroupInfo>
407  
408 =item ClusterName => Str
409  
410 =item KafkaVersion => Str
411  
412 =item NumberOfBrokerNodes => Int
413  
414 =item [ClientAuthentication => L<Paws::Kafka::ClientAuthentication>]
415  
416 =item [ConfigurationInfo => L<Paws::Kafka::ConfigurationInfo>]
417  
418 =item [EncryptionInfo => L<Paws::Kafka::EncryptionInfo>]
419  
420 =item [EnhancedMonitoring => Str]
421  
422 =item [LoggingInfo => L<Paws::Kafka::LoggingInfo>]
423  
424 =item [OpenMonitoring => L<Paws::Kafka::OpenMonitoringInfo>]
425  
426 =item [Tags => L<Paws::Kafka::__mapOf__string>]
427  
428  
429 =back
430  
431 Each argument is described in detail in: L<Paws::Kafka::CreateCluster>
432  
433 Returns: a L<Paws::Kafka::CreateClusterResponse> instance
434  
435 Creates a new MSK cluster.
436  
437  
438 =head2 CreateConfiguration
439  
440 =over
441  
442 =item Name => Str
443  
444 =item ServerProperties => Str
445  
446 =item [Description => Str]
447  
448 =item [KafkaVersions => ArrayRef[Str|Undef]]
449  
450  
451 =back
452  
453 Each argument is described in detail in: L<Paws::Kafka::CreateConfiguration>
454  
455 Returns: a L<Paws::Kafka::CreateConfigurationResponse> instance
456  
457 Creates a new MSK configuration.
458  
459  
460 =head2 DeleteCluster
461  
462 =over
463  
464 =item ClusterArn => Str
465  
466 =item [CurrentVersion => Str]
467  
468  
469 =back
470  
471 Each argument is described in detail in: L<Paws::Kafka::DeleteCluster>
472  
473 Returns: a L<Paws::Kafka::DeleteClusterResponse> instance
474  
475 Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in
476 the request.
477  
478  
479 =head2 DeleteConfiguration
480  
481 =over
482  
483 =item Arn => Str
484  
485  
486 =back
487  
488 Each argument is described in detail in: L<Paws::Kafka::DeleteConfiguration>
489  
490 Returns: a L<Paws::Kafka::DeleteConfigurationResponse> instance
491  
492 Deletes an MSK Configuration.
493  
494  
495 =head2 DescribeCluster
496  
497 =over
498  
499 =item ClusterArn => Str
500  
501  
502 =back
503  
504 Each argument is described in detail in: L<Paws::Kafka::DescribeCluster>
505  
506 Returns: a L<Paws::Kafka::DescribeClusterResponse> instance
507  
508 Returns a description of the MSK cluster whose Amazon Resource Name
509 (ARN) is specified in the request.
510  
511  
512 =head2 DescribeClusterOperation
513  
514 =over
515  
516 =item ClusterOperationArn => Str
517  
518  
519 =back
520  
521 Each argument is described in detail in: L<Paws::Kafka::DescribeClusterOperation>
522  
523 Returns: a L<Paws::Kafka::DescribeClusterOperationResponse> instance
524  
525 Returns a description of the cluster operation specified by the ARN.
526  
527  
528 =head2 DescribeConfiguration
529  
530 =over
531  
532 =item Arn => Str
533  
534  
535 =back
536  
537 Each argument is described in detail in: L<Paws::Kafka::DescribeConfiguration>
538  
539 Returns: a L<Paws::Kafka::DescribeConfigurationResponse> instance
540  
541 Returns a description of this MSK configuration.
542  
543  
544 =head2 DescribeConfigurationRevision
545  
546 =over
547  
548 =item Arn => Str
549  
550 =item Revision => Int
551  
552  
553 =back
554  
555 Each argument is described in detail in: L<Paws::Kafka::DescribeConfigurationRevision>
556  
557 Returns: a L<Paws::Kafka::DescribeConfigurationRevisionResponse> instance
558  
559 Returns a description of this revision of the configuration.
560  
561  
562 =head2 GetBootstrapBrokers
563  
564 =over
565  
566 =item ClusterArn => Str
567  
568  
569 =back
570  
571 Each argument is described in detail in: L<Paws::Kafka::GetBootstrapBrokers>
572  
573 Returns: a L<Paws::Kafka::GetBootstrapBrokersResponse> instance
574  
575 A list of brokers that a client application can use to bootstrap.
576  
577  
578 =head2 GetCompatibleKafkaVersions
579  
580 =over
581  
582 =item [ClusterArn => Str]
583  
584  
585 =back
586  
587 Each argument is described in detail in: L<Paws::Kafka::GetCompatibleKafkaVersions>
588  
589 Returns: a L<Paws::Kafka::GetCompatibleKafkaVersionsResponse> instance
590  
591 Gets the Apache Kafka versions to which you can update the MSK cluster.
592  
593  
594 =head2 ListClusterOperations
595  
596 =over
597  
598 =item ClusterArn => Str
599  
600 =item [MaxResults => Int]
601  
602 =item [NextToken => Str]
603  
604  
605 =back
606  
607 Each argument is described in detail in: L<Paws::Kafka::ListClusterOperations>
608  
609 Returns: a L<Paws::Kafka::ListClusterOperationsResponse> instance
610  
611 Returns a list of all the operations that have been performed on the
612 specified MSK cluster.
613  
614  
615 =head2 ListClusters
616  
617 =over
618  
619 =item [ClusterNameFilter => Str]
620  
621 =item [MaxResults => Int]
622  
623 =item [NextToken => Str]
624  
625  
626 =back
627  
628 Each argument is described in detail in: L<Paws::Kafka::ListClusters>
629  
630 Returns: a L<Paws::Kafka::ListClustersResponse> instance
631  
632 Returns a list of all the MSK clusters in the current Region.
633  
634  
635 =head2 ListConfigurationRevisions
636  
637 =over
638  
639 =item Arn => Str
640  
641 =item [MaxResults => Int]
642  
643 =item [NextToken => Str]
644  
645  
646 =back
647  
648 Each argument is described in detail in: L<Paws::Kafka::ListConfigurationRevisions>
649  
650 Returns: a L<Paws::Kafka::ListConfigurationRevisionsResponse> instance
651  
652 Returns a list of all the MSK configurations in this Region.
653  
654  
655 =head2 ListConfigurations
656  
657 =over
658  
659 =item [MaxResults => Int]
660  
661 =item [NextToken => Str]
662  
663  
664 =back
665  
666 Each argument is described in detail in: L<Paws::Kafka::ListConfigurations>
667  
668 Returns: a L<Paws::Kafka::ListConfigurationsResponse> instance
669  
670 Returns a list of all the MSK configurations in this Region.
671  
672  
673 =head2 ListKafkaVersions
674  
675 =over
676  
677 =item [MaxResults => Int]
678  
679 =item [NextToken => Str]
680  
681  
682 =back
683  
684 Each argument is described in detail in: L<Paws::Kafka::ListKafkaVersions>
685  
686 Returns: a L<Paws::Kafka::ListKafkaVersionsResponse> instance
687  
688 Returns a list of Kafka versions.
689  
690  
691 =head2 ListNodes
692  
693 =over
694  
695 =item ClusterArn => Str
696  
697 =item [MaxResults => Int]
698  
699 =item [NextToken => Str]
700  
701  
702 =back
703  
704 Each argument is described in detail in: L<Paws::Kafka::ListNodes>
705  
706 Returns: a L<Paws::Kafka::ListNodesResponse> instance
707  
708 Returns a list of the broker nodes in the cluster.
709  
710  
711 =head2 ListScramSecrets
712  
713 =over
714  
715 =item ClusterArn => Str
716  
717 =item [MaxResults => Int]
718  
719 =item [NextToken => Str]
720  
721  
722 =back
723  
724 Each argument is described in detail in: L<Paws::Kafka::ListScramSecrets>
725  
726 Returns: a L<Paws::Kafka::ListScramSecretsResponse> instance
727  
728 Returns a list of the Scram Secrets associated with an Amazon MSK
729 cluster.
730  
731  
732 =head2 ListTagsForResource
733  
734 =over
735  
736 =item ResourceArn => Str
737  
738  
739 =back
740  
741 Each argument is described in detail in: L<Paws::Kafka::ListTagsForResource>
742  
743 Returns: a L<Paws::Kafka::ListTagsForResourceResponse> instance
744  
745 Returns a list of the tags associated with the specified resource.
746  
747  
748 =head2 RebootBroker
749  
750 =over
751  
752 =item BrokerIds => ArrayRef[Str|Undef]
753  
754 =item ClusterArn => Str
755  
756  
757 =back
758  
759 Each argument is described in detail in: L<Paws::Kafka::RebootBroker>
760  
761 Returns: a L<Paws::Kafka::RebootBrokerResponse> instance
762  
763 Reboots brokers.
764  
765  
766 =head2 TagResource
767  
768 =over
769  
770 =item ResourceArn => Str
771  
772 =item Tags => L<Paws::Kafka::__mapOf__string>
773  
774  
775 =back
776  
777 Each argument is described in detail in: L<Paws::Kafka::TagResource>
778  
779 Returns: nothing
780  
781 Adds tags to the specified MSK resource.
782  
783  
784 =head2 UntagResource
785  
786 =over
787  
788 =item ResourceArn => Str
789  
790 =item TagKeys => ArrayRef[Str|Undef]
791  
792  
793 =back
794  
795 Each argument is described in detail in: L<Paws::Kafka::UntagResource>
796  
797 Returns: nothing
798  
799 Removes the tags associated with the keys that are provided in the
800 query.
801  
802  
803 =head2 UpdateBrokerCount
804  
805 =over
806  
807 =item ClusterArn => Str
808  
809 =item CurrentVersion => Str
810  
811 =item TargetNumberOfBrokerNodes => Int
812  
813  
814 =back
815  
816 Each argument is described in detail in: L<Paws::Kafka::UpdateBrokerCount>
817  
818 Returns: a L<Paws::Kafka::UpdateBrokerCountResponse> instance
819  
820 Updates the number of broker nodes in the cluster.
821  
822  
823 =head2 UpdateBrokerStorage
824  
825 =over
826  
827 =item ClusterArn => Str
828  
829 =item CurrentVersion => Str
830  
831 =item TargetBrokerEBSVolumeInfo => ArrayRef[L<Paws::Kafka::BrokerEBSVolumeInfo>]
832  
833  
834 =back
835  
836 Each argument is described in detail in: L<Paws::Kafka::UpdateBrokerStorage>
837  
838 Returns: a L<Paws::Kafka::UpdateBrokerStorageResponse> instance
839  
840 Updates the EBS storage associated with MSK brokers.
841  
842  
843 =head2 UpdateBrokerType
844  
845 =over
846  
847 =item ClusterArn => Str
848  
849 =item CurrentVersion => Str
850  
851 =item TargetInstanceType => Str
852  
853  
854 =back
855  
856 Each argument is described in detail in: L<Paws::Kafka::UpdateBrokerType>
857  
858 Returns: a L<Paws::Kafka::UpdateBrokerTypeResponse> instance
859  
860 Updates EC2 instance type.
861  
862  
863 =head2 UpdateClusterConfiguration
864  
865 =over
866  
867 =item ClusterArn => Str
868  
869 =item ConfigurationInfo => L<Paws::Kafka::ConfigurationInfo>
870  
871 =item CurrentVersion => Str
872  
873  
874 =back
875  
876 Each argument is described in detail in: L<Paws::Kafka::UpdateClusterConfiguration>
877  
878 Returns: a L<Paws::Kafka::UpdateClusterConfigurationResponse> instance
879  
880 Updates the cluster with the configuration that is specified in the
881 request body.
882  
883  
884 =head2 UpdateClusterKafkaVersion
885  
886 =over
887  
888 =item ClusterArn => Str
889  
890 =item CurrentVersion => Str
891  
892 =item TargetKafkaVersion => Str
893  
894 =item [ConfigurationInfo => L<Paws::Kafka::ConfigurationInfo>]
895  
896  
897 =back
898  
899 Each argument is described in detail in: L<Paws::Kafka::UpdateClusterKafkaVersion>
900  
901 Returns: a L<Paws::Kafka::UpdateClusterKafkaVersionResponse> instance
902  
903 Updates the Apache Kafka version for the cluster.
904  
905  
906 =head2 UpdateConfiguration
907  
908 =over
909  
910 =item Arn => Str
911  
912 =item ServerProperties => Str
913  
914 =item [Description => Str]
915  
916  
917 =back
918  
919 Each argument is described in detail in: L<Paws::Kafka::UpdateConfiguration>
920  
921 Returns: a L<Paws::Kafka::UpdateConfigurationResponse> instance
922  
923 Updates an MSK configuration.
924  
925  
926 =head2 UpdateMonitoring
927  
928 =over
929  
930 =item ClusterArn => Str
931  
932 =item CurrentVersion => Str
933  
934 =item [EnhancedMonitoring => Str]
935  
936 =item [LoggingInfo => L<Paws::Kafka::LoggingInfo>]
937  
938 =item [OpenMonitoring => L<Paws::Kafka::OpenMonitoringInfo>]
939  
940  
941 =back
942  
943 Each argument is described in detail in: L<Paws::Kafka::UpdateMonitoring>
944  
945 Returns: a L<Paws::Kafka::UpdateMonitoringResponse> instance
946  
947 Updates the monitoring settings for the cluster. You can use this
948 operation to specify which Apache Kafka metrics you want Amazon MSK to
949 send to Amazon CloudWatch. You can also specify settings for open
950 monitoring with Prometheus.
951  
952  
953  
954  
955 =head1 PAGINATORS
956  
957 Paginator methods are helpers that repetively call methods that return partial results
958  
959 =head2 ListAllClusterOperations(sub { },ClusterArn => Str, [MaxResults => Int, NextToken => Str])
960  
961 =head2 ListAllClusterOperations(ClusterArn => Str, [MaxResults => Int, NextToken => Str])
962  
963  
964 If passed a sub as first parameter, it will call the sub for each element found in :
965  
966 - ClusterOperationInfoList, passing the object as the first parameter, and the string 'ClusterOperationInfoList' as the second parameter
967  
968 If not, it will return a a L<Paws::Kafka::ListClusterOperationsResponse> 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.
969  
970  
971 =head2 ListAllClusters(sub { },[ClusterNameFilter => Str, MaxResults => Int, NextToken => Str])
972  
973 =head2 ListAllClusters([ClusterNameFilter => Str, MaxResults => Int, NextToken => Str])
974  
975  
976 If passed a sub as first parameter, it will call the sub for each element found in :
977  
978 - ClusterInfoList, passing the object as the first parameter, and the string 'ClusterInfoList' as the second parameter
979  
980 If not, it will return a a L<Paws::Kafka::ListClustersResponse> 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.
981  
982  
983 =head2 ListAllConfigurationRevisions(sub { },Arn => Str, [MaxResults => Int, NextToken => Str])
984  
985 =head2 ListAllConfigurationRevisions(Arn => Str, [MaxResults => Int, NextToken => Str])
986  
987  
988 If passed a sub as first parameter, it will call the sub for each element found in :
989  
990 - Revisions, passing the object as the first parameter, and the string 'Revisions' as the second parameter
991  
992 If not, it will return a a L<Paws::Kafka::ListConfigurationRevisionsResponse> 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.
993  
994  
995 =head2 ListAllConfigurations(sub { },[MaxResults => Int, NextToken => Str])
996  
997 =head2 ListAllConfigurations([MaxResults => Int, NextToken => Str])
998  
999  
1000 If passed a sub as first parameter, it will call the sub for each element found in :
1001  
1002 - Configurations, passing the object as the first parameter, and the string 'Configurations' as the second parameter
1003  
1004 If not, it will return a a L<Paws::Kafka::ListConfigurationsResponse> 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.
1005  
1006  
1007 =head2 ListAllKafkaVersions(sub { },[MaxResults => Int, NextToken => Str])
1008  
1009 =head2 ListAllKafkaVersions([MaxResults => Int, NextToken => Str])
1010  
1011  
1012 If passed a sub as first parameter, it will call the sub for each element found in :
1013  
1014 - KafkaVersions, passing the object as the first parameter, and the string 'KafkaVersions' as the second parameter
1015  
1016 If not, it will return a a L<Paws::Kafka::ListKafkaVersionsResponse> 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.
1017  
1018  
1019 =head2 ListAllNodes(sub { },ClusterArn => Str, [MaxResults => Int, NextToken => Str])
1020  
1021 =head2 ListAllNodes(ClusterArn => Str, [MaxResults => Int, NextToken => Str])
1022  
1023  
1024 If passed a sub as first parameter, it will call the sub for each element found in :
1025  
1026 - NodeInfoList, passing the object as the first parameter, and the string 'NodeInfoList' as the second parameter
1027  
1028 If not, it will return a a L<Paws::Kafka::ListNodesResponse> 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.
1029  
1030  
1031 =head2 ListAllScramSecrets(sub { },ClusterArn => Str, [MaxResults => Int, NextToken => Str])
1032  
1033 =head2 ListAllScramSecrets(ClusterArn => Str, [MaxResults => Int, NextToken => Str])
1034  
1035  
1036 If passed a sub as first parameter, it will call the sub for each element found in :
1037  
1038 - SecretArnList, passing the object as the first parameter, and the string 'SecretArnList' as the second parameter
1039  
1040 If not, it will return a a L<Paws::Kafka::ListScramSecretsResponse> 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.
1041  
1042  
1043  
1044  
1045  
1046 =head1 SEE ALSO
1047  
1048 This service class forms part of L<Paws>
1049  
1050 =head1 BUGS and CONTRIBUTIONS
1051  
1052 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
1053  
1054 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
1055  
1056 =cut
1057