File Coverage

blib/lib/Paws/KinesisAnalytics.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::KinesisAnalytics;
2 1     1   2590 use Moose;
  1         2  
  1         10  
3             sub service { 'kinesisanalytics' }
4             sub version { '2015-08-14' }
5             sub target_prefix { 'KinesisAnalytics_20150814' }
6             sub json_version { "1.1" }
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::JsonCaller', 'Paws::Net::JsonResponse';
15              
16            
17             sub AddApplicationCloudWatchLoggingOption {
18             my $self = shift;
19             my $call_object = $self->new_with_coercions('Paws::KinesisAnalytics::AddApplicationCloudWatchLoggingOption', @_);
20             return $self->caller->do_call($self, $call_object);
21             }
22             sub AddApplicationInput {
23             my $self = shift;
24             my $call_object = $self->new_with_coercions('Paws::KinesisAnalytics::AddApplicationInput', @_);
25             return $self->caller->do_call($self, $call_object);
26             }
27             sub AddApplicationInputProcessingConfiguration {
28             my $self = shift;
29             my $call_object = $self->new_with_coercions('Paws::KinesisAnalytics::AddApplicationInputProcessingConfiguration', @_);
30             return $self->caller->do_call($self, $call_object);
31             }
32             sub AddApplicationOutput {
33             my $self = shift;
34             my $call_object = $self->new_with_coercions('Paws::KinesisAnalytics::AddApplicationOutput', @_);
35             return $self->caller->do_call($self, $call_object);
36             }
37             sub AddApplicationReferenceDataSource {
38             my $self = shift;
39             my $call_object = $self->new_with_coercions('Paws::KinesisAnalytics::AddApplicationReferenceDataSource', @_);
40             return $self->caller->do_call($self, $call_object);
41             }
42             sub CreateApplication {
43             my $self = shift;
44             my $call_object = $self->new_with_coercions('Paws::KinesisAnalytics::CreateApplication', @_);
45             return $self->caller->do_call($self, $call_object);
46             }
47             sub DeleteApplication {
48             my $self = shift;
49             my $call_object = $self->new_with_coercions('Paws::KinesisAnalytics::DeleteApplication', @_);
50             return $self->caller->do_call($self, $call_object);
51             }
52             sub DeleteApplicationCloudWatchLoggingOption {
53             my $self = shift;
54             my $call_object = $self->new_with_coercions('Paws::KinesisAnalytics::DeleteApplicationCloudWatchLoggingOption', @_);
55             return $self->caller->do_call($self, $call_object);
56             }
57             sub DeleteApplicationInputProcessingConfiguration {
58             my $self = shift;
59             my $call_object = $self->new_with_coercions('Paws::KinesisAnalytics::DeleteApplicationInputProcessingConfiguration', @_);
60             return $self->caller->do_call($self, $call_object);
61             }
62             sub DeleteApplicationOutput {
63             my $self = shift;
64             my $call_object = $self->new_with_coercions('Paws::KinesisAnalytics::DeleteApplicationOutput', @_);
65             return $self->caller->do_call($self, $call_object);
66             }
67             sub DeleteApplicationReferenceDataSource {
68             my $self = shift;
69             my $call_object = $self->new_with_coercions('Paws::KinesisAnalytics::DeleteApplicationReferenceDataSource', @_);
70             return $self->caller->do_call($self, $call_object);
71             }
72             sub DescribeApplication {
73             my $self = shift;
74             my $call_object = $self->new_with_coercions('Paws::KinesisAnalytics::DescribeApplication', @_);
75             return $self->caller->do_call($self, $call_object);
76             }
77             sub DiscoverInputSchema {
78             my $self = shift;
79             my $call_object = $self->new_with_coercions('Paws::KinesisAnalytics::DiscoverInputSchema', @_);
80             return $self->caller->do_call($self, $call_object);
81             }
82             sub ListApplications {
83             my $self = shift;
84             my $call_object = $self->new_with_coercions('Paws::KinesisAnalytics::ListApplications', @_);
85             return $self->caller->do_call($self, $call_object);
86             }
87             sub StartApplication {
88             my $self = shift;
89             my $call_object = $self->new_with_coercions('Paws::KinesisAnalytics::StartApplication', @_);
90             return $self->caller->do_call($self, $call_object);
91             }
92             sub StopApplication {
93             my $self = shift;
94             my $call_object = $self->new_with_coercions('Paws::KinesisAnalytics::StopApplication', @_);
95             return $self->caller->do_call($self, $call_object);
96             }
97             sub UpdateApplication {
98             my $self = shift;
99             my $call_object = $self->new_with_coercions('Paws::KinesisAnalytics::UpdateApplication', @_);
100             return $self->caller->do_call($self, $call_object);
101             }
102            
103              
104              
105             sub operations { qw/AddApplicationCloudWatchLoggingOption AddApplicationInput AddApplicationInputProcessingConfiguration AddApplicationOutput AddApplicationReferenceDataSource CreateApplication DeleteApplication DeleteApplicationCloudWatchLoggingOption DeleteApplicationInputProcessingConfiguration DeleteApplicationOutput DeleteApplicationReferenceDataSource DescribeApplication DiscoverInputSchema ListApplications StartApplication StopApplication UpdateApplication / }
106              
107             1;
108              
109             ### main pod documentation begin ###
110              
111             =head1 NAME
112              
113             Paws::KinesisAnalytics - Perl Interface to AWS Amazon Kinesis Analytics
114              
115             =head1 SYNOPSIS
116              
117             use Paws;
118              
119             my $obj = Paws->service('KinesisAnalytics');
120             my $res = $obj->Method(
121             Arg1 => $val1,
122             Arg2 => [ 'V1', 'V2' ],
123             # if Arg3 is an object, the HashRef will be used as arguments to the constructor
124             # of the arguments type
125             Arg3 => { Att1 => 'Val1' },
126             # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
127             # the constructor of the arguments type
128             Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
129             );
130              
131             =head1 DESCRIPTION
132              
133              
134              
135             =head1 METHODS
136              
137             =head2 AddApplicationCloudWatchLoggingOption(ApplicationName => Str, CloudWatchLoggingOption => L<Paws::KinesisAnalytics::CloudWatchLoggingOption>, CurrentApplicationVersionId => Int)
138              
139             Each argument is described in detail in: L<Paws::KinesisAnalytics::AddApplicationCloudWatchLoggingOption>
140              
141             Returns: a L<Paws::KinesisAnalytics::AddApplicationCloudWatchLoggingOptionResponse> instance
142              
143             Adds a CloudWatch log stream to monitor application configuration
144             errors. For more information about using CloudWatch log streams with
145             Amazon Kinesis Analytics applications, see Working with Amazon
146             CloudWatch Logs.
147              
148              
149             =head2 AddApplicationInput(ApplicationName => Str, CurrentApplicationVersionId => Int, Input => L<Paws::KinesisAnalytics::Input>)
150              
151             Each argument is described in detail in: L<Paws::KinesisAnalytics::AddApplicationInput>
152              
153             Returns: a L<Paws::KinesisAnalytics::AddApplicationInputResponse> instance
154              
155             Adds a streaming source to your Amazon Kinesis application. For
156             conceptual information, see Configuring Application Input.
157              
158             You can add a streaming source either when you create an application or
159             you can use this operation to add a streaming source after you create
160             an application. For more information, see CreateApplication.
161              
162             Any configuration update, including adding a streaming source using
163             this operation, results in a new version of the application. You can
164             use the DescribeApplication operation to find the current application
165             version.
166              
167             This operation requires permissions to perform the
168             C<kinesisanalytics:AddApplicationInput> action.
169              
170              
171             =head2 AddApplicationInputProcessingConfiguration(ApplicationName => Str, CurrentApplicationVersionId => Int, InputId => Str, InputProcessingConfiguration => L<Paws::KinesisAnalytics::InputProcessingConfiguration>)
172              
173             Each argument is described in detail in: L<Paws::KinesisAnalytics::AddApplicationInputProcessingConfiguration>
174              
175             Returns: a L<Paws::KinesisAnalytics::AddApplicationInputProcessingConfigurationResponse> instance
176              
177             Adds an InputProcessingConfiguration to an application. An input
178             processor preprocesses records on the input stream before the
179             application's SQL code executes. Currently, the only input processor
180             available is AWS Lambda.
181              
182              
183             =head2 AddApplicationOutput(ApplicationName => Str, CurrentApplicationVersionId => Int, Output => L<Paws::KinesisAnalytics::Output>)
184              
185             Each argument is described in detail in: L<Paws::KinesisAnalytics::AddApplicationOutput>
186              
187             Returns: a L<Paws::KinesisAnalytics::AddApplicationOutputResponse> instance
188              
189             Adds an external destination to your Amazon Kinesis Analytics
190             application.
191              
192             If you want Amazon Kinesis Analytics to deliver data from an
193             in-application stream within your application to an external
194             destination (such as an Amazon Kinesis stream or a Firehose delivery
195             stream), you add the relevant configuration to your application using
196             this operation. You can configure one or more outputs for your
197             application. Each output configuration maps an in-application stream
198             and an external destination.
199              
200             You can use one of the output configurations to deliver data from your
201             in-application error stream to an external destination so that you can
202             analyze the errors. For conceptual information, see Understanding
203             Application Output (Destination).
204              
205             Note that any configuration update, including adding a streaming source
206             using this operation, results in a new version of the application. You
207             can use the DescribeApplication operation to find the current
208             application version.
209              
210             For the limits on the number of application inputs and outputs you can
211             configure, see Limits.
212              
213             This operation requires permissions to perform the
214             C<kinesisanalytics:AddApplicationOutput> action.
215              
216              
217             =head2 AddApplicationReferenceDataSource(ApplicationName => Str, CurrentApplicationVersionId => Int, ReferenceDataSource => L<Paws::KinesisAnalytics::ReferenceDataSource>)
218              
219             Each argument is described in detail in: L<Paws::KinesisAnalytics::AddApplicationReferenceDataSource>
220              
221             Returns: a L<Paws::KinesisAnalytics::AddApplicationReferenceDataSourceResponse> instance
222              
223             Adds a reference data source to an existing application.
224              
225             Amazon Kinesis Analytics reads reference data (that is, an Amazon S3
226             object) and creates an in-application table within your application. In
227             the request, you provide the source (S3 bucket name and object key
228             name), name of the in-application table to create, and the necessary
229             mapping information that describes how data in Amazon S3 object maps to
230             columns in the resulting in-application table.
231              
232             For conceptual information, see Configuring Application Input. For the
233             limits on data sources you can add to your application, see Limits.
234              
235             This operation requires permissions to perform the
236             C<kinesisanalytics:AddApplicationOutput> action.
237              
238              
239             =head2 CreateApplication(ApplicationName => Str, [ApplicationCode => Str, ApplicationDescription => Str, CloudWatchLoggingOptions => ArrayRef[L<Paws::KinesisAnalytics::CloudWatchLoggingOption>], Inputs => ArrayRef[L<Paws::KinesisAnalytics::Input>], Outputs => ArrayRef[L<Paws::KinesisAnalytics::Output>]])
240              
241             Each argument is described in detail in: L<Paws::KinesisAnalytics::CreateApplication>
242              
243             Returns: a L<Paws::KinesisAnalytics::CreateApplicationResponse> instance
244              
245             Creates an Amazon Kinesis Analytics application. You can configure each
246             application with one streaming source as input, application code to
247             process the input, and up to five streaming destinations where you want
248             Amazon Kinesis Analytics to write the output data from your
249             application. For an overview, see How it Works.
250              
251             In the input configuration, you map the streaming source to an
252             in-application stream, which you can think of as a constantly updating
253             table. In the mapping, you must provide a schema for the in-application
254             stream and map each data column in the in-application stream to a data
255             element in the streaming source.
256              
257             Your application code is one or more SQL statements that read input
258             data, transform it, and generate output. Your application code can
259             create one or more SQL artifacts like SQL streams or pumps.
260              
261             In the output configuration, you can configure the application to write
262             data from in-application streams created in your applications to up to
263             five streaming destinations.
264              
265             To read data from your source stream or write data to destination
266             streams, Amazon Kinesis Analytics needs your permissions. You grant
267             these permissions by creating IAM roles. This operation requires
268             permissions to perform the C<kinesisanalytics:CreateApplication>
269             action.
270              
271             For introductory exercises to create an Amazon Kinesis Analytics
272             application, see Getting Started.
273              
274              
275             =head2 DeleteApplication(ApplicationName => Str, CreateTimestamp => Str)
276              
277             Each argument is described in detail in: L<Paws::KinesisAnalytics::DeleteApplication>
278              
279             Returns: a L<Paws::KinesisAnalytics::DeleteApplicationResponse> instance
280              
281             Deletes the specified application. Amazon Kinesis Analytics halts
282             application execution and deletes the application, including any
283             application artifacts (such as in-application streams, reference table,
284             and application code).
285              
286             This operation requires permissions to perform the
287             C<kinesisanalytics:DeleteApplication> action.
288              
289              
290             =head2 DeleteApplicationCloudWatchLoggingOption(ApplicationName => Str, CloudWatchLoggingOptionId => Str, CurrentApplicationVersionId => Int)
291              
292             Each argument is described in detail in: L<Paws::KinesisAnalytics::DeleteApplicationCloudWatchLoggingOption>
293              
294             Returns: a L<Paws::KinesisAnalytics::DeleteApplicationCloudWatchLoggingOptionResponse> instance
295              
296             Deletes a CloudWatch log stream from an application. For more
297             information about using CloudWatch log streams with Amazon Kinesis
298             Analytics applications, see Working with Amazon CloudWatch Logs.
299              
300              
301             =head2 DeleteApplicationInputProcessingConfiguration(ApplicationName => Str, CurrentApplicationVersionId => Int, InputId => Str)
302              
303             Each argument is described in detail in: L<Paws::KinesisAnalytics::DeleteApplicationInputProcessingConfiguration>
304              
305             Returns: a L<Paws::KinesisAnalytics::DeleteApplicationInputProcessingConfigurationResponse> instance
306              
307             Deletes an InputProcessingConfiguration from an input.
308              
309              
310             =head2 DeleteApplicationOutput(ApplicationName => Str, CurrentApplicationVersionId => Int, OutputId => Str)
311              
312             Each argument is described in detail in: L<Paws::KinesisAnalytics::DeleteApplicationOutput>
313              
314             Returns: a L<Paws::KinesisAnalytics::DeleteApplicationOutputResponse> instance
315              
316             Deletes output destination configuration from your application
317             configuration. Amazon Kinesis Analytics will no longer write data from
318             the corresponding in-application stream to the external output
319             destination.
320              
321             This operation requires permissions to perform the
322             C<kinesisanalytics:DeleteApplicationOutput> action.
323              
324              
325             =head2 DeleteApplicationReferenceDataSource(ApplicationName => Str, CurrentApplicationVersionId => Int, ReferenceId => Str)
326              
327             Each argument is described in detail in: L<Paws::KinesisAnalytics::DeleteApplicationReferenceDataSource>
328              
329             Returns: a L<Paws::KinesisAnalytics::DeleteApplicationReferenceDataSourceResponse> instance
330              
331             Deletes a reference data source configuration from the specified
332             application configuration.
333              
334             If the application is running, Amazon Kinesis Analytics immediately
335             removes the in-application table that you created using the
336             AddApplicationReferenceDataSource operation.
337              
338             This operation requires permissions to perform the
339             C<kinesisanalytics.DeleteApplicationReferenceDataSource> action.
340              
341              
342             =head2 DescribeApplication(ApplicationName => Str)
343              
344             Each argument is described in detail in: L<Paws::KinesisAnalytics::DescribeApplication>
345              
346             Returns: a L<Paws::KinesisAnalytics::DescribeApplicationResponse> instance
347              
348             Returns information about a specific Amazon Kinesis Analytics
349             application.
350              
351             If you want to retrieve a list of all applications in your account, use
352             the ListApplications operation.
353              
354             This operation requires permissions to perform the
355             C<kinesisanalytics:DescribeApplication> action. You can use
356             C<DescribeApplication> to get the current application versionId, which
357             you need to call other operations such as C<Update>.
358              
359              
360             =head2 DiscoverInputSchema([InputProcessingConfiguration => L<Paws::KinesisAnalytics::InputProcessingConfiguration>, InputStartingPositionConfiguration => L<Paws::KinesisAnalytics::InputStartingPositionConfiguration>, ResourceARN => Str, RoleARN => Str, S3Configuration => L<Paws::KinesisAnalytics::S3Configuration>])
361              
362             Each argument is described in detail in: L<Paws::KinesisAnalytics::DiscoverInputSchema>
363              
364             Returns: a L<Paws::KinesisAnalytics::DiscoverInputSchemaResponse> instance
365              
366             Infers a schema by evaluating sample records on the specified streaming
367             source (Amazon Kinesis stream or Amazon Kinesis Firehose delivery
368             stream). In the response, the operation returns the inferred schema and
369             also the sample records that the operation used to infer the schema.
370              
371             You can use the inferred schema when configuring a streaming source for
372             your application. For conceptual information, see Configuring
373             Application Input. Note that when you create an application using the
374             Amazon Kinesis Analytics console, the console uses this operation to
375             infer a schema and show it in the console user interface.
376              
377             This operation requires permissions to perform the
378             C<kinesisanalytics:DiscoverInputSchema> action.
379              
380              
381             =head2 ListApplications([ExclusiveStartApplicationName => Str, Limit => Int])
382              
383             Each argument is described in detail in: L<Paws::KinesisAnalytics::ListApplications>
384              
385             Returns: a L<Paws::KinesisAnalytics::ListApplicationsResponse> instance
386              
387             Returns a list of Amazon Kinesis Analytics applications in your
388             account. For each application, the response includes the application
389             name, Amazon Resource Name (ARN), and status. If the response returns
390             the C<HasMoreApplications> value as true, you can send another request
391             by adding the C<ExclusiveStartApplicationName> in the request body, and
392             set the value of this to the last application name from the previous
393             response.
394              
395             If you want detailed information about a specific application, use
396             DescribeApplication.
397              
398             This operation requires permissions to perform the
399             C<kinesisanalytics:ListApplications> action.
400              
401              
402             =head2 StartApplication(ApplicationName => Str, InputConfigurations => ArrayRef[L<Paws::KinesisAnalytics::InputConfiguration>])
403              
404             Each argument is described in detail in: L<Paws::KinesisAnalytics::StartApplication>
405              
406             Returns: a L<Paws::KinesisAnalytics::StartApplicationResponse> instance
407              
408             Starts the specified Amazon Kinesis Analytics application. After
409             creating an application, you must exclusively call this operation to
410             start your application.
411              
412             After the application starts, it begins consuming the input data,
413             processes it, and writes the output to the configured destination.
414              
415             The application status must be C<READY> for you to start an
416             application. You can get the application status in the console or using
417             the DescribeApplication operation.
418              
419             After you start the application, you can stop the application from
420             processing the input by calling the StopApplication operation.
421              
422             This operation requires permissions to perform the
423             C<kinesisanalytics:StartApplication> action.
424              
425              
426             =head2 StopApplication(ApplicationName => Str)
427              
428             Each argument is described in detail in: L<Paws::KinesisAnalytics::StopApplication>
429              
430             Returns: a L<Paws::KinesisAnalytics::StopApplicationResponse> instance
431              
432             Stops the application from processing input data. You can stop an
433             application only if it is in the running state. You can use the
434             DescribeApplication operation to find the application state. After the
435             application is stopped, Amazon Kinesis Analytics stops reading data
436             from the input, the application stops processing data, and there is no
437             output written to the destination.
438              
439             This operation requires permissions to perform the
440             C<kinesisanalytics:StopApplication> action.
441              
442              
443             =head2 UpdateApplication(ApplicationName => Str, ApplicationUpdate => L<Paws::KinesisAnalytics::ApplicationUpdate>, CurrentApplicationVersionId => Int)
444              
445             Each argument is described in detail in: L<Paws::KinesisAnalytics::UpdateApplication>
446              
447             Returns: a L<Paws::KinesisAnalytics::UpdateApplicationResponse> instance
448              
449             Updates an existing Amazon Kinesis Analytics application. Using this
450             API, you can update application code, input configuration, and output
451             configuration.
452              
453             Note that Amazon Kinesis Analytics updates the
454             C<CurrentApplicationVersionId> each time you update your application.
455              
456             This operation requires permission for the
457             C<kinesisanalytics:UpdateApplication> action.
458              
459              
460              
461              
462             =head1 PAGINATORS
463              
464             Paginator methods are helpers that repetively call methods that return partial results
465              
466              
467              
468              
469             =head1 SEE ALSO
470              
471             This service class forms part of L<Paws>
472              
473             =head1 BUGS and CONTRIBUTIONS
474              
475             The source code is located here: https://github.com/pplu/aws-sdk-perl
476              
477             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
478              
479             =cut
480