blib/lib/Paws/KinesisAnalyticsV2.pm untested

filter: Statementstmt 0.0% 0 / 148 Branchbran 0.0% 0 / 8 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 40 Podpod 0.0% 0 / 39 totaltotal 0.0% 0 / 235 CC 5 SCAR 12.1
CC
5
Cov
0%
ListAllApplications
12.0
ListAllApplicationSnapshots
12.0
service
2.0
CRAP 3.4
1 package Paws::KinesisAnalyticsV2;
2 use Moose;
3 sub service { 'kinesisanalytics' }
4 sub signing_name { 'kinesisanalytics' }
5 sub version { '2018-05-23' }
6 sub target_prefix { 'KinesisAnalytics_20180523' }
7 sub json_version { "1.1" }
8 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
9 has retry => (is => 'ro', isa => 'HashRef', default => sub {
10 { base => 'rand', type => 'exponential', growth_factor => 2 }
11 });
12 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
13 ] });
14  
15 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller';
16  
17
18 sub AddApplicationCloudWatchLoggingOption {
19 my $self = shift;
20 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::AddApplicationCloudWatchLoggingOption', @_);
21 return $self->caller->do_call($self, $call_object);
22 }
23 sub AddApplicationInput {
24 my $self = shift;
25 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::AddApplicationInput', @_);
26 return $self->caller->do_call($self, $call_object);
27 }
28 sub AddApplicationInputProcessingConfiguration {
29 my $self = shift;
30 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::AddApplicationInputProcessingConfiguration', @_);
31 return $self->caller->do_call($self, $call_object);
32 }
33 sub AddApplicationOutput {
34 my $self = shift;
35 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::AddApplicationOutput', @_);
36 return $self->caller->do_call($self, $call_object);
37 }
38 sub AddApplicationReferenceDataSource {
39 my $self = shift;
40 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::AddApplicationReferenceDataSource', @_);
41 return $self->caller->do_call($self, $call_object);
42 }
43 sub AddApplicationVpcConfiguration {
44 my $self = shift;
45 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::AddApplicationVpcConfiguration', @_);
46 return $self->caller->do_call($self, $call_object);
47 }
48 sub CreateApplication {
49 my $self = shift;
50 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::CreateApplication', @_);
51 return $self->caller->do_call($self, $call_object);
52 }
53 sub CreateApplicationPresignedUrl {
54 my $self = shift;
55 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::CreateApplicationPresignedUrl', @_);
56 return $self->caller->do_call($self, $call_object);
57 }
58 sub CreateApplicationSnapshot {
59 my $self = shift;
60 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::CreateApplicationSnapshot', @_);
61 return $self->caller->do_call($self, $call_object);
62 }
63 sub DeleteApplication {
64 my $self = shift;
65 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::DeleteApplication', @_);
66 return $self->caller->do_call($self, $call_object);
67 }
68 sub DeleteApplicationCloudWatchLoggingOption {
69 my $self = shift;
70 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::DeleteApplicationCloudWatchLoggingOption', @_);
71 return $self->caller->do_call($self, $call_object);
72 }
73 sub DeleteApplicationInputProcessingConfiguration {
74 my $self = shift;
75 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::DeleteApplicationInputProcessingConfiguration', @_);
76 return $self->caller->do_call($self, $call_object);
77 }
78 sub DeleteApplicationOutput {
79 my $self = shift;
80 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::DeleteApplicationOutput', @_);
81 return $self->caller->do_call($self, $call_object);
82 }
83 sub DeleteApplicationReferenceDataSource {
84 my $self = shift;
85 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::DeleteApplicationReferenceDataSource', @_);
86 return $self->caller->do_call($self, $call_object);
87 }
88 sub DeleteApplicationSnapshot {
89 my $self = shift;
90 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::DeleteApplicationSnapshot', @_);
91 return $self->caller->do_call($self, $call_object);
92 }
93 sub DeleteApplicationVpcConfiguration {
94 my $self = shift;
95 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::DeleteApplicationVpcConfiguration', @_);
96 return $self->caller->do_call($self, $call_object);
97 }
98 sub DescribeApplication {
99 my $self = shift;
100 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::DescribeApplication', @_);
101 return $self->caller->do_call($self, $call_object);
102 }
103 sub DescribeApplicationSnapshot {
104 my $self = shift;
105 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::DescribeApplicationSnapshot', @_);
106 return $self->caller->do_call($self, $call_object);
107 }
108 sub DescribeApplicationVersion {
109 my $self = shift;
110 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::DescribeApplicationVersion', @_);
111 return $self->caller->do_call($self, $call_object);
112 }
113 sub DiscoverInputSchema {
114 my $self = shift;
115 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::DiscoverInputSchema', @_);
116 return $self->caller->do_call($self, $call_object);
117 }
118 sub ListApplications {
119 my $self = shift;
120 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::ListApplications', @_);
121 return $self->caller->do_call($self, $call_object);
122 }
123 sub ListApplicationSnapshots {
124 my $self = shift;
125 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::ListApplicationSnapshots', @_);
126 return $self->caller->do_call($self, $call_object);
127 }
128 sub ListApplicationVersions {
129 my $self = shift;
130 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::ListApplicationVersions', @_);
131 return $self->caller->do_call($self, $call_object);
132 }
133 sub ListTagsForResource {
134 my $self = shift;
135 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::ListTagsForResource', @_);
136 return $self->caller->do_call($self, $call_object);
137 }
138 sub RollbackApplication {
139 my $self = shift;
140 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::RollbackApplication', @_);
141 return $self->caller->do_call($self, $call_object);
142 }
143 sub StartApplication {
144 my $self = shift;
145 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::StartApplication', @_);
146 return $self->caller->do_call($self, $call_object);
147 }
148 sub StopApplication {
149 my $self = shift;
150 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::StopApplication', @_);
151 return $self->caller->do_call($self, $call_object);
152 }
153 sub TagResource {
154 my $self = shift;
155 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::TagResource', @_);
156 return $self->caller->do_call($self, $call_object);
157 }
158 sub UntagResource {
159 my $self = shift;
160 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::UntagResource', @_);
161 return $self->caller->do_call($self, $call_object);
162 }
163 sub UpdateApplication {
164 my $self = shift;
165 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::UpdateApplication', @_);
166 return $self->caller->do_call($self, $call_object);
167 }
168 sub UpdateApplicationMaintenanceConfiguration {
169 my $self = shift;
170 my $call_object = $self->new_with_coercions('Paws::KinesisAnalyticsV2::UpdateApplicationMaintenanceConfiguration', @_);
171 return $self->caller->do_call($self, $call_object);
172 }
173
174 sub ListAllApplications {
175 my $self = shift;
176  
177 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
178 my $result = $self->ListApplications(@_);
179 my $next_result = $result;
180  
181 if (not defined $callback) {
182 while ($next_result->NextToken) {
183 $next_result = $self->ListApplications(@_, NextToken => $next_result->NextToken);
184 push @{ $result->ApplicationSummaries }, @{ $next_result->ApplicationSummaries };
185 }
186 return $result;
187 } else {
188 while ($result->NextToken) {
189 $callback->($_ => 'ApplicationSummaries') foreach (@{ $result->ApplicationSummaries });
190 $result = $self->ListApplications(@_, NextToken => $result->NextToken);
191 }
192 $callback->($_ => 'ApplicationSummaries') foreach (@{ $result->ApplicationSummaries });
193 }
194  
195 return undef
196 }
197 sub ListAllApplicationSnapshots {
198 my $self = shift;
199  
200 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
201 my $result = $self->ListApplicationSnapshots(@_);
202 my $next_result = $result;
203  
204 if (not defined $callback) {
205 while ($next_result->NextToken) {
206 $next_result = $self->ListApplicationSnapshots(@_, NextToken => $next_result->NextToken);
207 push @{ $result->SnapshotSummaries }, @{ $next_result->SnapshotSummaries };
208 }
209 return $result;
210 } else {
211 while ($result->NextToken) {
212 $callback->($_ => 'SnapshotSummaries') foreach (@{ $result->SnapshotSummaries });
213 $result = $self->ListApplicationSnapshots(@_, NextToken => $result->NextToken);
214 }
215 $callback->($_ => 'SnapshotSummaries') foreach (@{ $result->SnapshotSummaries });
216 }
217  
218 return undef
219 }
220  
221  
222 sub operations { qw/AddApplicationCloudWatchLoggingOption AddApplicationInput AddApplicationInputProcessingConfiguration AddApplicationOutput AddApplicationReferenceDataSource AddApplicationVpcConfiguration CreateApplication CreateApplicationPresignedUrl CreateApplicationSnapshot DeleteApplication DeleteApplicationCloudWatchLoggingOption DeleteApplicationInputProcessingConfiguration DeleteApplicationOutput DeleteApplicationReferenceDataSource DeleteApplicationSnapshot DeleteApplicationVpcConfiguration DescribeApplication DescribeApplicationSnapshot DescribeApplicationVersion DiscoverInputSchema ListApplications ListApplicationSnapshots ListApplicationVersions ListTagsForResource RollbackApplication StartApplication StopApplication TagResource UntagResource UpdateApplication UpdateApplicationMaintenanceConfiguration / }
223  
224 1;
225  
226 ### main pod documentation begin ###
227  
228 =head1 NAME
229  
230 Paws::KinesisAnalyticsV2 - Perl Interface to AWS Amazon Kinesis Analytics
231  
232 =head1 SYNOPSIS
233  
234 use Paws;
235  
236 my $obj = Paws->service('KinesisAnalyticsV2');
237 my $res = $obj->Method(
238 Arg1 => $val1,
239 Arg2 => [ 'V1', 'V2' ],
240 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
241 # of the arguments type
242 Arg3 => { Att1 => 'Val1' },
243 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
244 # the constructor of the arguments type
245 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
246 );
247  
248 =head1 DESCRIPTION
249  
250 Amazon Kinesis Data Analytics is a fully managed service that you can
251 use to process and analyze streaming data using Java, SQL, or Scala.
252 The service enables you to quickly author and run Java, SQL, or Scala
253 code against streaming sources to perform time series analytics, feed
254 real-time dashboards, and create real-time metrics.
255  
256 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2018-05-23>
257  
258  
259 =head1 METHODS
260  
261 =head2 AddApplicationCloudWatchLoggingOption
262  
263 =over
264  
265 =item ApplicationName => Str
266  
267 =item CloudWatchLoggingOption => L<Paws::KinesisAnalyticsV2::CloudWatchLoggingOption>
268  
269 =item [ConditionalToken => Str]
270  
271 =item [CurrentApplicationVersionId => Int]
272  
273  
274 =back
275  
276 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::AddApplicationCloudWatchLoggingOption>
277  
278 Returns: a L<Paws::KinesisAnalyticsV2::AddApplicationCloudWatchLoggingOptionResponse> instance
279  
280 Adds an Amazon CloudWatch log stream to monitor application
281 configuration errors.
282  
283  
284 =head2 AddApplicationInput
285  
286 =over
287  
288 =item ApplicationName => Str
289  
290 =item CurrentApplicationVersionId => Int
291  
292 =item Input => L<Paws::KinesisAnalyticsV2::Input>
293  
294  
295 =back
296  
297 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::AddApplicationInput>
298  
299 Returns: a L<Paws::KinesisAnalyticsV2::AddApplicationInputResponse> instance
300  
301 Adds a streaming source to your SQL-based Kinesis Data Analytics
302 application.
303  
304 You can add a streaming source when you create an application, or you
305 can use this operation to add a streaming source after you create an
306 application. For more information, see CreateApplication.
307  
308 Any configuration update, including adding a streaming source using
309 this operation, results in a new version of the application. You can
310 use the DescribeApplication operation to find the current application
311 version.
312  
313  
314 =head2 AddApplicationInputProcessingConfiguration
315  
316 =over
317  
318 =item ApplicationName => Str
319  
320 =item CurrentApplicationVersionId => Int
321  
322 =item InputId => Str
323  
324 =item InputProcessingConfiguration => L<Paws::KinesisAnalyticsV2::InputProcessingConfiguration>
325  
326  
327 =back
328  
329 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::AddApplicationInputProcessingConfiguration>
330  
331 Returns: a L<Paws::KinesisAnalyticsV2::AddApplicationInputProcessingConfigurationResponse> instance
332  
333 Adds an InputProcessingConfiguration to a SQL-based Kinesis Data
334 Analytics application. An input processor pre-processes records on the
335 input stream before the application's SQL code executes. Currently, the
336 only input processor available is AWS Lambda
337 (https://docs.aws.amazon.com/lambda/).
338  
339  
340 =head2 AddApplicationOutput
341  
342 =over
343  
344 =item ApplicationName => Str
345  
346 =item CurrentApplicationVersionId => Int
347  
348 =item Output => L<Paws::KinesisAnalyticsV2::Output>
349  
350  
351 =back
352  
353 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::AddApplicationOutput>
354  
355 Returns: a L<Paws::KinesisAnalyticsV2::AddApplicationOutputResponse> instance
356  
357 Adds an external destination to your SQL-based Kinesis Data Analytics
358 application.
359  
360 If you want Kinesis Data Analytics to deliver data from an
361 in-application stream within your application to an external
362 destination (such as an Kinesis data stream, a Kinesis Data Firehose
363 delivery stream, or an AWS Lambda function), you add the relevant
364 configuration to your application using this operation. You can
365 configure one or more outputs for your application. Each output
366 configuration maps an in-application stream and an external
367 destination.
368  
369 You can use one of the output configurations to deliver data from your
370 in-application error stream to an external destination so that you can
371 analyze the errors.
372  
373 Any configuration update, including adding a streaming source using
374 this operation, results in a new version of the application. You can
375 use the DescribeApplication operation to find the current application
376 version.
377  
378  
379 =head2 AddApplicationReferenceDataSource
380  
381 =over
382  
383 =item ApplicationName => Str
384  
385 =item CurrentApplicationVersionId => Int
386  
387 =item ReferenceDataSource => L<Paws::KinesisAnalyticsV2::ReferenceDataSource>
388  
389  
390 =back
391  
392 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::AddApplicationReferenceDataSource>
393  
394 Returns: a L<Paws::KinesisAnalyticsV2::AddApplicationReferenceDataSourceResponse> instance
395  
396 Adds a reference data source to an existing SQL-based Kinesis Data
397 Analytics application.
398  
399 Kinesis Data Analytics reads reference data (that is, an Amazon S3
400 object) and creates an in-application table within your application. In
401 the request, you provide the source (S3 bucket name and object key
402 name), name of the in-application table to create, and the necessary
403 mapping information that describes how data in an Amazon S3 object maps
404 to columns in the resulting in-application table.
405  
406  
407 =head2 AddApplicationVpcConfiguration
408  
409 =over
410  
411 =item ApplicationName => Str
412  
413 =item VpcConfiguration => L<Paws::KinesisAnalyticsV2::VpcConfiguration>
414  
415 =item [ConditionalToken => Str]
416  
417 =item [CurrentApplicationVersionId => Int]
418  
419  
420 =back
421  
422 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::AddApplicationVpcConfiguration>
423  
424 Returns: a L<Paws::KinesisAnalyticsV2::AddApplicationVpcConfigurationResponse> instance
425  
426 Adds a Virtual Private Cloud (VPC) configuration to the application.
427 Applications can use VPCs to store and access resources securely.
428  
429 Note the following about VPC configurations for Kinesis Data Analytics
430 applications:
431  
432 =over
433  
434 =item *
435  
436 VPC configurations are not supported for SQL applications.
437  
438 =item *
439  
440 When a VPC is added to a Kinesis Data Analytics application, the
441 application can no longer be accessed from the Internet directly. To
442 enable Internet access to the application, add an Internet gateway to
443 your VPC.
444  
445 =back
446  
447  
448  
449 =head2 CreateApplication
450  
451 =over
452  
453 =item ApplicationName => Str
454  
455 =item RuntimeEnvironment => Str
456  
457 =item ServiceExecutionRole => Str
458  
459 =item [ApplicationConfiguration => L<Paws::KinesisAnalyticsV2::ApplicationConfiguration>]
460  
461 =item [ApplicationDescription => Str]
462  
463 =item [ApplicationMode => Str]
464  
465 =item [CloudWatchLoggingOptions => ArrayRef[L<Paws::KinesisAnalyticsV2::CloudWatchLoggingOption>]]
466  
467 =item [Tags => ArrayRef[L<Paws::KinesisAnalyticsV2::Tag>]]
468  
469  
470 =back
471  
472 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::CreateApplication>
473  
474 Returns: a L<Paws::KinesisAnalyticsV2::CreateApplicationResponse> instance
475  
476 Creates a Kinesis Data Analytics application. For information about
477 creating a Kinesis Data Analytics application, see Creating an
478 Application
479 (https://docs.aws.amazon.com/kinesisanalytics/latest/java/getting-started.html).
480  
481  
482 =head2 CreateApplicationPresignedUrl
483  
484 =over
485  
486 =item ApplicationName => Str
487  
488 =item UrlType => Str
489  
490 =item [SessionExpirationDurationInSeconds => Int]
491  
492  
493 =back
494  
495 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::CreateApplicationPresignedUrl>
496  
497 Returns: a L<Paws::KinesisAnalyticsV2::CreateApplicationPresignedUrlResponse> instance
498  
499 Creates and returns a URL that you can use to connect to an
500 application's extension. Currently, the only available extension is the
501 Apache Flink dashboard.
502  
503 The IAM role or user used to call this API defines the permissions to
504 access the extension. After the presigned URL is created, no additional
505 permission is required to access this URL. IAM authorization policies
506 for this API are also enforced for every HTTP request that attempts to
507 connect to the extension.
508  
509 You control the amount of time that the URL will be valid using the
510 C<SessionExpirationDurationInSeconds> parameter. If you do not provide
511 this parameter, the returned URL is valid for twelve hours.
512  
513 The URL that you get from a call to CreateApplicationPresignedUrl must
514 be used within 3 minutes to be valid. If you first try to use the URL
515 after the 3-minute limit expires, the service returns an HTTP 403
516 Forbidden error.
517  
518  
519 =head2 CreateApplicationSnapshot
520  
521 =over
522  
523 =item ApplicationName => Str
524  
525 =item SnapshotName => Str
526  
527  
528 =back
529  
530 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::CreateApplicationSnapshot>
531  
532 Returns: a L<Paws::KinesisAnalyticsV2::CreateApplicationSnapshotResponse> instance
533  
534 Creates a snapshot of the application's state data.
535  
536  
537 =head2 DeleteApplication
538  
539 =over
540  
541 =item ApplicationName => Str
542  
543 =item CreateTimestamp => Str
544  
545  
546 =back
547  
548 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::DeleteApplication>
549  
550 Returns: a L<Paws::KinesisAnalyticsV2::DeleteApplicationResponse> instance
551  
552 Deletes the specified application. Kinesis Data Analytics halts
553 application execution and deletes the application.
554  
555  
556 =head2 DeleteApplicationCloudWatchLoggingOption
557  
558 =over
559  
560 =item ApplicationName => Str
561  
562 =item CloudWatchLoggingOptionId => Str
563  
564 =item [ConditionalToken => Str]
565  
566 =item [CurrentApplicationVersionId => Int]
567  
568  
569 =back
570  
571 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::DeleteApplicationCloudWatchLoggingOption>
572  
573 Returns: a L<Paws::KinesisAnalyticsV2::DeleteApplicationCloudWatchLoggingOptionResponse> instance
574  
575 Deletes an Amazon CloudWatch log stream from an Kinesis Data Analytics
576 application.
577  
578  
579 =head2 DeleteApplicationInputProcessingConfiguration
580  
581 =over
582  
583 =item ApplicationName => Str
584  
585 =item CurrentApplicationVersionId => Int
586  
587 =item InputId => Str
588  
589  
590 =back
591  
592 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::DeleteApplicationInputProcessingConfiguration>
593  
594 Returns: a L<Paws::KinesisAnalyticsV2::DeleteApplicationInputProcessingConfigurationResponse> instance
595  
596 Deletes an InputProcessingConfiguration from an input.
597  
598  
599 =head2 DeleteApplicationOutput
600  
601 =over
602  
603 =item ApplicationName => Str
604  
605 =item CurrentApplicationVersionId => Int
606  
607 =item OutputId => Str
608  
609  
610 =back
611  
612 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::DeleteApplicationOutput>
613  
614 Returns: a L<Paws::KinesisAnalyticsV2::DeleteApplicationOutputResponse> instance
615  
616 Deletes the output destination configuration from your SQL-based
617 Kinesis Data Analytics application's configuration. Kinesis Data
618 Analytics will no longer write data from the corresponding
619 in-application stream to the external output destination.
620  
621  
622 =head2 DeleteApplicationReferenceDataSource
623  
624 =over
625  
626 =item ApplicationName => Str
627  
628 =item CurrentApplicationVersionId => Int
629  
630 =item ReferenceId => Str
631  
632  
633 =back
634  
635 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::DeleteApplicationReferenceDataSource>
636  
637 Returns: a L<Paws::KinesisAnalyticsV2::DeleteApplicationReferenceDataSourceResponse> instance
638  
639 Deletes a reference data source configuration from the specified
640 SQL-based Kinesis Data Analytics application's configuration.
641  
642 If the application is running, Kinesis Data Analytics immediately
643 removes the in-application table that you created using the
644 AddApplicationReferenceDataSource operation.
645  
646  
647 =head2 DeleteApplicationSnapshot
648  
649 =over
650  
651 =item ApplicationName => Str
652  
653 =item SnapshotCreationTimestamp => Str
654  
655 =item SnapshotName => Str
656  
657  
658 =back
659  
660 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::DeleteApplicationSnapshot>
661  
662 Returns: a L<Paws::KinesisAnalyticsV2::DeleteApplicationSnapshotResponse> instance
663  
664 Deletes a snapshot of application state.
665  
666  
667 =head2 DeleteApplicationVpcConfiguration
668  
669 =over
670  
671 =item ApplicationName => Str
672  
673 =item VpcConfigurationId => Str
674  
675 =item [ConditionalToken => Str]
676  
677 =item [CurrentApplicationVersionId => Int]
678  
679  
680 =back
681  
682 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::DeleteApplicationVpcConfiguration>
683  
684 Returns: a L<Paws::KinesisAnalyticsV2::DeleteApplicationVpcConfigurationResponse> instance
685  
686 Removes a VPC configuration from a Kinesis Data Analytics application.
687  
688  
689 =head2 DescribeApplication
690  
691 =over
692  
693 =item ApplicationName => Str
694  
695 =item [IncludeAdditionalDetails => Bool]
696  
697  
698 =back
699  
700 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::DescribeApplication>
701  
702 Returns: a L<Paws::KinesisAnalyticsV2::DescribeApplicationResponse> instance
703  
704 Returns information about a specific Kinesis Data Analytics
705 application.
706  
707 If you want to retrieve a list of all applications in your account, use
708 the ListApplications operation.
709  
710  
711 =head2 DescribeApplicationSnapshot
712  
713 =over
714  
715 =item ApplicationName => Str
716  
717 =item SnapshotName => Str
718  
719  
720 =back
721  
722 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::DescribeApplicationSnapshot>
723  
724 Returns: a L<Paws::KinesisAnalyticsV2::DescribeApplicationSnapshotResponse> instance
725  
726 Returns information about a snapshot of application state data.
727  
728  
729 =head2 DescribeApplicationVersion
730  
731 =over
732  
733 =item ApplicationName => Str
734  
735 =item ApplicationVersionId => Int
736  
737  
738 =back
739  
740 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::DescribeApplicationVersion>
741  
742 Returns: a L<Paws::KinesisAnalyticsV2::DescribeApplicationVersionResponse> instance
743  
744 Provides a detailed description of a specified version of the
745 application. To see a list of all the versions of an application,
746 invoke the ListApplicationVersions operation.
747  
748 This operation is supported only for Amazon Kinesis Data Analytics for
749 Apache Flink.
750  
751  
752 =head2 DiscoverInputSchema
753  
754 =over
755  
756 =item ServiceExecutionRole => Str
757  
758 =item [InputProcessingConfiguration => L<Paws::KinesisAnalyticsV2::InputProcessingConfiguration>]
759  
760 =item [InputStartingPositionConfiguration => L<Paws::KinesisAnalyticsV2::InputStartingPositionConfiguration>]
761  
762 =item [ResourceARN => Str]
763  
764 =item [S3Configuration => L<Paws::KinesisAnalyticsV2::S3Configuration>]
765  
766  
767 =back
768  
769 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::DiscoverInputSchema>
770  
771 Returns: a L<Paws::KinesisAnalyticsV2::DiscoverInputSchemaResponse> instance
772  
773 Infers a schema for a SQL-based Kinesis Data Analytics application by
774 evaluating sample records on the specified streaming source (Kinesis
775 data stream or Kinesis Data Firehose delivery stream) or Amazon S3
776 object. In the response, the operation returns the inferred schema and
777 also the sample records that the operation used to infer the schema.
778  
779 You can use the inferred schema when configuring a streaming source for
780 your application. When you create an application using the Kinesis Data
781 Analytics console, the console uses this operation to infer a schema
782 and show it in the console user interface.
783  
784  
785 =head2 ListApplications
786  
787 =over
788  
789 =item [Limit => Int]
790  
791 =item [NextToken => Str]
792  
793  
794 =back
795  
796 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::ListApplications>
797  
798 Returns: a L<Paws::KinesisAnalyticsV2::ListApplicationsResponse> instance
799  
800 Returns a list of Kinesis Data Analytics applications in your account.
801 For each application, the response includes the application name,
802 Amazon Resource Name (ARN), and status.
803  
804 If you want detailed information about a specific application, use
805 DescribeApplication.
806  
807  
808 =head2 ListApplicationSnapshots
809  
810 =over
811  
812 =item ApplicationName => Str
813  
814 =item [Limit => Int]
815  
816 =item [NextToken => Str]
817  
818  
819 =back
820  
821 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::ListApplicationSnapshots>
822  
823 Returns: a L<Paws::KinesisAnalyticsV2::ListApplicationSnapshotsResponse> instance
824  
825 Lists information about the current application snapshots.
826  
827  
828 =head2 ListApplicationVersions
829  
830 =over
831  
832 =item ApplicationName => Str
833  
834 =item [Limit => Int]
835  
836 =item [NextToken => Str]
837  
838  
839 =back
840  
841 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::ListApplicationVersions>
842  
843 Returns: a L<Paws::KinesisAnalyticsV2::ListApplicationVersionsResponse> instance
844  
845 Lists all the versions for the specified application, including
846 versions that were rolled back. The response also includes a summary of
847 the configuration associated with each version.
848  
849 To get the complete description of a specific application version,
850 invoke the DescribeApplicationVersion operation.
851  
852 This operation is supported only for Amazon Kinesis Data Analytics for
853 Apache Flink.
854  
855  
856 =head2 ListTagsForResource
857  
858 =over
859  
860 =item ResourceARN => Str
861  
862  
863 =back
864  
865 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::ListTagsForResource>
866  
867 Returns: a L<Paws::KinesisAnalyticsV2::ListTagsForResourceResponse> instance
868  
869 Retrieves the list of key-value tags assigned to the application. For
870 more information, see Using Tagging
871 (https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html).
872  
873  
874 =head2 RollbackApplication
875  
876 =over
877  
878 =item ApplicationName => Str
879  
880 =item CurrentApplicationVersionId => Int
881  
882  
883 =back
884  
885 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::RollbackApplication>
886  
887 Returns: a L<Paws::KinesisAnalyticsV2::RollbackApplicationResponse> instance
888  
889 Reverts the application to the previous running version. You can roll
890 back an application if you suspect it is stuck in a transient status.
891  
892 You can roll back an application only if it is in the C<UPDATING> or
893 C<AUTOSCALING> status.
894  
895 When you rollback an application, it loads state data from the last
896 successful snapshot. If the application has no snapshots, Kinesis Data
897 Analytics rejects the rollback request.
898  
899 This action is not supported for Kinesis Data Analytics for SQL
900 applications.
901  
902  
903 =head2 StartApplication
904  
905 =over
906  
907 =item ApplicationName => Str
908  
909 =item [RunConfiguration => L<Paws::KinesisAnalyticsV2::RunConfiguration>]
910  
911  
912 =back
913  
914 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::StartApplication>
915  
916 Returns: a L<Paws::KinesisAnalyticsV2::StartApplicationResponse> instance
917  
918 Starts the specified Kinesis Data Analytics application. After creating
919 an application, you must exclusively call this operation to start your
920 application.
921  
922  
923 =head2 StopApplication
924  
925 =over
926  
927 =item ApplicationName => Str
928  
929 =item [Force => Bool]
930  
931  
932 =back
933  
934 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::StopApplication>
935  
936 Returns: a L<Paws::KinesisAnalyticsV2::StopApplicationResponse> instance
937  
938 Stops the application from processing data. You can stop an application
939 only if it is in the running status, unless you set the C<Force>
940 parameter to C<true>.
941  
942 You can use the DescribeApplication operation to find the application
943 status.
944  
945 Kinesis Data Analytics takes a snapshot when the application is
946 stopped, unless C<Force> is set to C<true>.
947  
948  
949 =head2 TagResource
950  
951 =over
952  
953 =item ResourceARN => Str
954  
955 =item Tags => ArrayRef[L<Paws::KinesisAnalyticsV2::Tag>]
956  
957  
958 =back
959  
960 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::TagResource>
961  
962 Returns: a L<Paws::KinesisAnalyticsV2::TagResourceResponse> instance
963  
964 Adds one or more key-value tags to a Kinesis Data Analytics
965 application. Note that the maximum number of application tags includes
966 system tags. The maximum number of user-defined application tags is 50.
967 For more information, see Using Tagging
968 (https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html).
969  
970  
971 =head2 UntagResource
972  
973 =over
974  
975 =item ResourceARN => Str
976  
977 =item TagKeys => ArrayRef[Str|Undef]
978  
979  
980 =back
981  
982 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::UntagResource>
983  
984 Returns: a L<Paws::KinesisAnalyticsV2::UntagResourceResponse> instance
985  
986 Removes one or more tags from a Kinesis Data Analytics application. For
987 more information, see Using Tagging
988 (https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html).
989  
990  
991 =head2 UpdateApplication
992  
993 =over
994  
995 =item ApplicationName => Str
996  
997 =item [ApplicationConfigurationUpdate => L<Paws::KinesisAnalyticsV2::ApplicationConfigurationUpdate>]
998  
999 =item [CloudWatchLoggingOptionUpdates => ArrayRef[L<Paws::KinesisAnalyticsV2::CloudWatchLoggingOptionUpdate>]]
1000  
1001 =item [ConditionalToken => Str]
1002  
1003 =item [CurrentApplicationVersionId => Int]
1004  
1005 =item [RunConfigurationUpdate => L<Paws::KinesisAnalyticsV2::RunConfigurationUpdate>]
1006  
1007 =item [ServiceExecutionRoleUpdate => Str]
1008  
1009  
1010 =back
1011  
1012 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::UpdateApplication>
1013  
1014 Returns: a L<Paws::KinesisAnalyticsV2::UpdateApplicationResponse> instance
1015  
1016 Updates an existing Kinesis Data Analytics application. Using this
1017 operation, you can update application code, input configuration, and
1018 output configuration.
1019  
1020 Kinesis Data Analytics updates the C<ApplicationVersionId> each time
1021 you update your application.
1022  
1023 You cannot update the C<RuntimeEnvironment> of an existing application.
1024 If you need to update an application's C<RuntimeEnvironment>, you must
1025 delete the application and create it again.
1026  
1027  
1028 =head2 UpdateApplicationMaintenanceConfiguration
1029  
1030 =over
1031  
1032 =item ApplicationMaintenanceConfigurationUpdate => L<Paws::KinesisAnalyticsV2::ApplicationMaintenanceConfigurationUpdate>
1033  
1034 =item ApplicationName => Str
1035  
1036  
1037 =back
1038  
1039 Each argument is described in detail in: L<Paws::KinesisAnalyticsV2::UpdateApplicationMaintenanceConfiguration>
1040  
1041 Returns: a L<Paws::KinesisAnalyticsV2::UpdateApplicationMaintenanceConfigurationResponse> instance
1042  
1043 Updates the maintenance configuration of the Kinesis Data Analytics
1044 application.
1045  
1046 You can invoke this operation on an application that is in one of the
1047 two following states: C<READY> or C<RUNNING>. If you invoke it when the
1048 application is in a state other than these two states, it throws a
1049 C<ResourceInUseException>. The service makes use of the updated
1050 configuration the next time it schedules maintenance for the
1051 application. If you invoke this operation after the service schedules
1052 maintenance, the service will apply the configuration update the next
1053 time it schedules maintenance for the application. This means that you
1054 might not see the maintenance configuration update applied to the
1055 maintenance process that follows a successful invocation of this
1056 operation, but to the following maintenance process instead.
1057  
1058 To see the current maintenance configuration of your application,
1059 invoke the DescribeApplication operation.
1060  
1061 For information about application maintenance, see Kinesis Data
1062 Analytics for Apache Flink Maintenance
1063 (https://docs.aws.amazon.com/kinesisanalytics/latest/java/maintenance.html).
1064  
1065 This operation is supported only for Amazon Kinesis Data Analytics for
1066 Apache Flink.
1067  
1068  
1069  
1070  
1071 =head1 PAGINATORS
1072  
1073 Paginator methods are helpers that repetively call methods that return partial results
1074  
1075 =head2 ListAllApplications(sub { },[Limit => Int, NextToken => Str])
1076  
1077 =head2 ListAllApplications([Limit => Int, NextToken => Str])
1078  
1079  
1080 If passed a sub as first parameter, it will call the sub for each element found in :
1081  
1082 - ApplicationSummaries, passing the object as the first parameter, and the string 'ApplicationSummaries' as the second parameter
1083  
1084 If not, it will return a a L<Paws::KinesisAnalyticsV2::ListApplicationsResponse> 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.
1085  
1086  
1087 =head2 ListAllApplicationSnapshots(sub { },ApplicationName => Str, [Limit => Int, NextToken => Str])
1088  
1089 =head2 ListAllApplicationSnapshots(ApplicationName => Str, [Limit => Int, NextToken => Str])
1090  
1091  
1092 If passed a sub as first parameter, it will call the sub for each element found in :
1093  
1094 - SnapshotSummaries, passing the object as the first parameter, and the string 'SnapshotSummaries' as the second parameter
1095  
1096 If not, it will return a a L<Paws::KinesisAnalyticsV2::ListApplicationSnapshotsResponse> 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.
1097  
1098  
1099  
1100  
1101  
1102 =head1 SEE ALSO
1103  
1104 This service class forms part of L<Paws>
1105  
1106 =head1 BUGS and CONTRIBUTIONS
1107  
1108 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
1109  
1110 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
1111  
1112 =cut
1113