blib/lib/Paws/RDS/ConnectionPoolConfigurationInfo.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::RDS::ConnectionPoolConfigurationInfo;
3 use Moose;
4 has ConnectionBorrowTimeout => (is => 'ro', isa => 'Int');
5 has InitQuery => (is => 'ro', isa => 'Str');
6 has MaxConnectionsPercent => (is => 'ro', isa => 'Int');
7 has MaxIdleConnectionsPercent => (is => 'ro', isa => 'Int');
8 has SessionPinningFilters => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::RDS::ConnectionPoolConfigurationInfo
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::RDS::ConnectionPoolConfigurationInfo object:
28  
29 $service_obj->Method(Att1 => { ConnectionBorrowTimeout => $value, ..., SessionPinningFilters => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::RDS::ConnectionPoolConfigurationInfo object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->ConnectionBorrowTimeout
37  
38 =head1 DESCRIPTION
39  
40 Displays the settings that control the size and behavior of the
41 connection pool associated with a C<DBProxyTarget>.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 ConnectionBorrowTimeout => Int
47  
48 The number of seconds for a proxy to wait for a connection to become
49 available in the connection pool. Only applies when the proxy has
50 opened its maximum number of connections and all connections are busy
51 with client sessions.
52  
53  
54 =head2 InitQuery => Str
55  
56 One or more SQL statements for the proxy to run when opening each new
57 database connection. Typically used with C<SET> statements to make sure
58 that each connection has identical settings such as time zone and
59 character set. This setting is empty by default. For multiple
60 statements, use semicolons as the separator. You can also include
61 multiple variables in a single C<SET> statement, such as C<SET x=1,
62 y=2>.
63  
64  
65 =head2 MaxConnectionsPercent => Int
66  
67 The maximum size of the connection pool for each target in a target
68 group. For Aurora MySQL, it is expressed as a percentage of the
69 C<max_connections> setting for the RDS DB instance or Aurora DB cluster
70 used by the target group.
71  
72  
73 =head2 MaxIdleConnectionsPercent => Int
74  
75 Controls how actively the proxy closes idle database connections in the
76 connection pool. A high value enables the proxy to leave a high
77 percentage of idle connections open. A low value causes the proxy to
78 close idle client connections and return the underlying database
79 connections to the connection pool. For Aurora MySQL, it is expressed
80 as a percentage of the C<max_connections> setting for the RDS DB
81 instance or Aurora DB cluster used by the target group.
82  
83  
84 =head2 SessionPinningFilters => ArrayRef[Str|Undef]
85  
86 Each item in the list represents a class of SQL operations that
87 normally cause all later statements in a session using a proxy to be
88 pinned to the same underlying database connection. Including an item in
89 the list exempts that class of SQL operations from the pinning
90 behavior. Currently, the only allowed value is
91 C<EXCLUDE_VARIABLE_SETS>.
92  
93  
94  
95 =head1 SEE ALSO
96  
97 This class forms part of L<Paws>, describing an object used in L<Paws::RDS>
98  
99 =head1 BUGS and CONTRIBUTIONS
100  
101 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
102  
103 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
104  
105 =cut
106