blib/lib/Paws/KinesisAnalyticsV2/ParallelismConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::KinesisAnalyticsV2::ParallelismConfiguration;
3 use Moose;
4 has AutoScalingEnabled => (is => 'ro', isa => 'Bool');
5 has ConfigurationType => (is => 'ro', isa => 'Str', required => 1);
6 has Parallelism => (is => 'ro', isa => 'Int');
7 has ParallelismPerKPU => (is => 'ro', isa => 'Int');
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::KinesisAnalyticsV2::ParallelismConfiguration
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::KinesisAnalyticsV2::ParallelismConfiguration object:
27  
28 $service_obj->Method(Att1 => { AutoScalingEnabled => $value, ..., ParallelismPerKPU => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::KinesisAnalyticsV2::ParallelismConfiguration object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->AutoScalingEnabled
36  
37 =head1 DESCRIPTION
38  
39 Describes parameters for how a Flink-based Kinesis Data Analytics
40 application executes multiple tasks simultaneously. For more
41 information about parallelism, see Parallel Execution
42 (https://ci.apache.org/projects/flink/flink-docs-release-1.8/dev/parallel.html)
43 in the Apache Flink Documentation
44 (https://ci.apache.org/projects/flink/flink-docs-release-1.8/).
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 AutoScalingEnabled => Bool
50  
51 Describes whether the Kinesis Data Analytics service can increase the
52 parallelism of the application in response to increased throughput.
53  
54  
55 =head2 B<REQUIRED> ConfigurationType => Str
56  
57 Describes whether the application uses the default parallelism for the
58 Kinesis Data Analytics service. You must set this property to C<CUSTOM>
59 in order to change your application's C<AutoScalingEnabled>,
60 C<Parallelism>, or C<ParallelismPerKPU> properties.
61  
62  
63 =head2 Parallelism => Int
64  
65 Describes the initial number of parallel tasks that a Flink-based
66 Kinesis Data Analytics application can perform. If
67 C<AutoScalingEnabled> is set to True, Kinesis Data Analytics increases
68 the C<CurrentParallelism> value in response to application load. The
69 service can increase the C<CurrentParallelism> value up to the maximum
70 parallelism, which is C<ParalellismPerKPU> times the maximum KPUs for
71 the application. The maximum KPUs for an application is 32 by default,
72 and can be increased by requesting a limit increase. If application
73 load is reduced, the service can reduce the C<CurrentParallelism> value
74 down to the C<Parallelism> setting.
75  
76  
77 =head2 ParallelismPerKPU => Int
78  
79 Describes the number of parallel tasks that a Flink-based Kinesis Data
80 Analytics application can perform per Kinesis Processing Unit (KPU)
81 used by the application. For more information about KPUs, see Amazon
82 Kinesis Data Analytics Pricing
83 (http://aws.amazon.com/kinesis/data-analytics/pricing/).
84  
85  
86  
87 =head1 SEE ALSO
88  
89 This class forms part of L<Paws>, describing an object used in L<Paws::KinesisAnalyticsV2>
90  
91 =head1 BUGS and CONTRIBUTIONS
92  
93 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
94  
95 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
96  
97 =cut
98