blib/lib/Paws/KinesisAnalytics/UpdateApplication.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::UpdateApplication;
3 use Moose;
4 has ApplicationName => (is => 'ro', isa => 'Str', required => 1);
5 has ApplicationUpdate => (is => 'ro', isa => 'Paws::KinesisAnalytics::ApplicationUpdate', required => 1);
6 has CurrentApplicationVersionId => (is => 'ro', isa => 'Int', required => 1);
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateApplication');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::KinesisAnalytics::UpdateApplicationResponse');
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::UpdateApplication - Arguments for method UpdateApplication on L<Paws::KinesisAnalytics>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method UpdateApplication on the
24 L<Amazon Kinesis Analytics|Paws::KinesisAnalytics> service. Use the attributes of this class
25 as arguments to method UpdateApplication.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateApplication.
28  
29 =head1 SYNOPSIS
30  
31 my $kinesisanalytics = Paws->service('KinesisAnalytics');
32 my $UpdateApplicationResponse = $kinesisanalytics->UpdateApplication(
33 ApplicationName => 'MyApplicationName',
34 ApplicationUpdate => {
35 ApplicationCodeUpdate => 'MyApplicationCode', # max: 102400; OPTIONAL
36 CloudWatchLoggingOptionUpdates => [
37 {
38 CloudWatchLoggingOptionId => 'MyId', # min: 1, max: 50
39 LogStreamARNUpdate =>
40 'MyLogStreamARN', # min: 1, max: 2048; OPTIONAL
41 RoleARNUpdate => 'MyRoleARN', # min: 1, max: 2048; OPTIONAL
42 },
43 ...
44 ], # OPTIONAL
45 InputUpdates => [
46 {
47 InputId => 'MyId', # min: 1, max: 50
48 InputParallelismUpdate => {
49 CountUpdate => 1, # min: 1, max: 64; OPTIONAL
50 }, # OPTIONAL
51 InputProcessingConfigurationUpdate => {
52 InputLambdaProcessorUpdate => {
53 ResourceARNUpdate =>
54 'MyResourceARN', # min: 1, max: 2048; OPTIONAL
55 RoleARNUpdate => 'MyRoleARN', # min: 1, max: 2048; OPTIONAL
56 },
57  
58 }, # OPTIONAL
59 InputSchemaUpdate => {
60 RecordColumnUpdates => [
61 {
62 Name => 'MyRecordColumnName',
63 SqlType => 'MyRecordColumnSqlType', # min: 1
64 Mapping => 'MyRecordColumnMapping', # OPTIONAL
65 },
66 ...
67 ], # min: 1, max: 1000; OPTIONAL
68 RecordEncodingUpdate => 'MyRecordEncoding', # OPTIONAL
69 RecordFormatUpdate => {
70 RecordFormatType => 'JSON', # values: JSON, CSV
71 MappingParameters => {
72 CSVMappingParameters => {
73 RecordColumnDelimiter => 'MyRecordColumnDelimiter', # min: 1
74 RecordRowDelimiter => 'MyRecordRowDelimiter', # min: 1
75  
76 }, # OPTIONAL
77 JSONMappingParameters => {
78 RecordRowPath => 'MyRecordRowPath', # min: 1
79  
80 }, # OPTIONAL
81 }, # OPTIONAL
82 }, # OPTIONAL
83 }, # OPTIONAL
84 KinesisFirehoseInputUpdate => {
85 ResourceARNUpdate =>
86 'MyResourceARN', # min: 1, max: 2048; OPTIONAL
87 RoleARNUpdate => 'MyRoleARN', # min: 1, max: 2048; OPTIONAL
88 }, # OPTIONAL
89 KinesisStreamsInputUpdate => {
90 ResourceARNUpdate =>
91 'MyResourceARN', # min: 1, max: 2048; OPTIONAL
92 RoleARNUpdate => 'MyRoleARN', # min: 1, max: 2048; OPTIONAL
93 }, # OPTIONAL
94 NamePrefixUpdate => 'MyInAppStreamName', # min: 1, max: 32; OPTIONAL
95 },
96 ...
97 ], # OPTIONAL
98 OutputUpdates => [
99 {
100 OutputId => 'MyId', # min: 1, max: 50
101 DestinationSchemaUpdate => {
102 RecordFormatType => 'JSON', # values: JSON, CSV
103  
104 }, # OPTIONAL
105 KinesisFirehoseOutputUpdate => {
106 ResourceARNUpdate =>
107 'MyResourceARN', # min: 1, max: 2048; OPTIONAL
108 RoleARNUpdate => 'MyRoleARN', # min: 1, max: 2048; OPTIONAL
109 }, # OPTIONAL
110 KinesisStreamsOutputUpdate => {
111 ResourceARNUpdate =>
112 'MyResourceARN', # min: 1, max: 2048; OPTIONAL
113 RoleARNUpdate => 'MyRoleARN', # min: 1, max: 2048; OPTIONAL
114 }, # OPTIONAL
115 LambdaOutputUpdate => {
116 ResourceARNUpdate =>
117 'MyResourceARN', # min: 1, max: 2048; OPTIONAL
118 RoleARNUpdate => 'MyRoleARN', # min: 1, max: 2048; OPTIONAL
119 }, # OPTIONAL
120 NameUpdate => 'MyInAppStreamName', # min: 1, max: 32; OPTIONAL
121 },
122 ...
123 ], # OPTIONAL
124 ReferenceDataSourceUpdates => [
125 {
126 ReferenceId => 'MyId', # min: 1, max: 50
127 ReferenceSchemaUpdate => {
128 RecordColumns => [
129 {
130 Name => 'MyRecordColumnName',
131 SqlType => 'MyRecordColumnSqlType', # min: 1
132 Mapping => 'MyRecordColumnMapping', # OPTIONAL
133 },
134 ...
135 ], # min: 1, max: 1000; OPTIONAL
136 RecordFormat => {
137 RecordFormatType => 'JSON', # values: JSON, CSV
138 MappingParameters => {
139 CSVMappingParameters => {
140 RecordColumnDelimiter => 'MyRecordColumnDelimiter', # min: 1
141 RecordRowDelimiter => 'MyRecordRowDelimiter', # min: 1
142  
143 }, # OPTIONAL
144 JSONMappingParameters => {
145 RecordRowPath => 'MyRecordRowPath', # min: 1
146  
147 }, # OPTIONAL
148 }, # OPTIONAL
149 }, # OPTIONAL
150 RecordEncoding => 'MyRecordEncoding', # OPTIONAL
151 }, # OPTIONAL
152 S3ReferenceDataSourceUpdate => {
153 BucketARNUpdate => 'MyBucketARN', # min: 1, max: 2048; OPTIONAL
154 FileKeyUpdate => 'MyFileKey', # min: 1, max: 1024; OPTIONAL
155 ReferenceRoleARNUpdate =>
156 'MyRoleARN', # min: 1, max: 2048; OPTIONAL
157 }, # OPTIONAL
158 TableNameUpdate => 'MyInAppTableName', # min: 1, max: 32; OPTIONAL
159 },
160 ...
161 ], # OPTIONAL
162 },
163 CurrentApplicationVersionId => 1,
164  
165 );
166  
167 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.
168 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics/UpdateApplication>
169  
170 =head1 ATTRIBUTES
171  
172  
173 =head2 B<REQUIRED> ApplicationName => Str
174  
175 Name of the Amazon Kinesis Analytics application to update.
176  
177  
178  
179 =head2 B<REQUIRED> ApplicationUpdate => L<Paws::KinesisAnalytics::ApplicationUpdate>
180  
181 Describes application updates.
182  
183  
184  
185 =head2 B<REQUIRED> CurrentApplicationVersionId => Int
186  
187 The current application version ID. You can use the DescribeApplication
188 (https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html)
189 operation to get this value.
190  
191  
192  
193  
194 =head1 SEE ALSO
195  
196 This class forms part of L<Paws>, documenting arguments for method UpdateApplication in L<Paws::KinesisAnalytics>
197  
198 =head1 BUGS and CONTRIBUTIONS
199  
200 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
201  
202 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
203  
204 =cut
205