blib/lib/Paws/KinesisAnalytics/AddApplicationInput.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::KinesisAnalytics::AddApplicationInput;
3 use Moose;
4 has ApplicationName => (is => 'ro', isa => 'Str', required => 1);
5 has CurrentApplicationVersionId => (is => 'ro', isa => 'Int', required => 1);
6 has Input => (is => 'ro', isa => 'Paws::KinesisAnalytics::Input', required => 1);
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'AddApplicationInput');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::KinesisAnalytics::AddApplicationInputResponse');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::KinesisAnalytics::AddApplicationInput - Arguments for method AddApplicationInput on L<Paws::KinesisAnalytics>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method AddApplicationInput on the
24 L<Amazon Kinesis Analytics|Paws::KinesisAnalytics> service. Use the attributes of this class
25 as arguments to method AddApplicationInput.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddApplicationInput.
28  
29 =head1 SYNOPSIS
30  
31 my $kinesisanalytics = Paws->service('KinesisAnalytics');
32 my $AddApplicationInputResponse = $kinesisanalytics->AddApplicationInput(
33 ApplicationName => 'MyApplicationName',
34 CurrentApplicationVersionId => 1,
35 Input => {
36 InputSchema => {
37 RecordColumns => [
38 {
39 Name => 'MyRecordColumnName',
40 SqlType => 'MyRecordColumnSqlType', # min: 1
41 Mapping => 'MyRecordColumnMapping', # OPTIONAL
42 },
43 ...
44 ], # min: 1, max: 1000
45 RecordFormat => {
46 RecordFormatType => 'JSON', # values: JSON, CSV
47 MappingParameters => {
48 CSVMappingParameters => {
49 RecordColumnDelimiter => 'MyRecordColumnDelimiter', # min: 1
50 RecordRowDelimiter => 'MyRecordRowDelimiter', # min: 1
51  
52 }, # OPTIONAL
53 JSONMappingParameters => {
54 RecordRowPath => 'MyRecordRowPath', # min: 1
55  
56 }, # OPTIONAL
57 }, # OPTIONAL
58 },
59 RecordEncoding => 'MyRecordEncoding', # OPTIONAL
60 },
61 NamePrefix => 'MyInAppStreamName', # min: 1, max: 32
62 InputParallelism => {
63 Count => 1, # min: 1, max: 64; OPTIONAL
64 }, # OPTIONAL
65 InputProcessingConfiguration => {
66 InputLambdaProcessor => {
67 ResourceARN => 'MyResourceARN', # min: 1, max: 2048
68 RoleARN => 'MyRoleARN', # min: 1, max: 2048
69  
70 },
71  
72 }, # OPTIONAL
73 KinesisFirehoseInput => {
74 ResourceARN => 'MyResourceARN', # min: 1, max: 2048
75 RoleARN => 'MyRoleARN', # min: 1, max: 2048
76  
77 }, # OPTIONAL
78 KinesisStreamsInput => {
79 ResourceARN => 'MyResourceARN', # min: 1, max: 2048
80 RoleARN => 'MyRoleARN', # min: 1, max: 2048
81  
82 }, # OPTIONAL
83 },
84  
85 );
86  
87 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
88 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics/AddApplicationInput>
89  
90 =head1 ATTRIBUTES
91  
92  
93 =head2 B<REQUIRED> ApplicationName => Str
94  
95 Name of your existing Amazon Kinesis Analytics application to which you
96 want to add the streaming source.
97  
98  
99  
100 =head2 B<REQUIRED> CurrentApplicationVersionId => Int
101  
102 Current version of your Amazon Kinesis Analytics application. You can
103 use the DescribeApplication
104 (https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html)
105 operation to find the current application version.
106  
107  
108  
109 =head2 B<REQUIRED> Input => L<Paws::KinesisAnalytics::Input>
110  
111 The Input
112 (https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_Input.html)
113 to add.
114  
115  
116  
117  
118 =head1 SEE ALSO
119  
120 This class forms part of L<Paws>, documenting arguments for method AddApplicationInput in L<Paws::KinesisAnalytics>
121  
122 =head1 BUGS and CONTRIBUTIONS
123  
124 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
125  
126 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
127  
128 =cut
129