File Coverage

blib/lib/Paws/RDS/ResetDBParameterGroup.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::RDS::ResetDBParameterGroup;
3 1     1   435 use Moose;
  1         3  
  1         6  
4             has DBParameterGroupName => (is => 'ro', isa => 'Str', required => 1);
5             has Parameters => (is => 'ro', isa => 'ArrayRef[Paws::RDS::Parameter]');
6             has ResetAllParameters => (is => 'ro', isa => 'Bool');
7              
8 1     1   5906 use MooseX::ClassAttribute;
  1         3  
  1         9  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ResetDBParameterGroup');
11             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RDS::DBParameterGroupNameMessage');
12             class_has _result_key => (isa => 'Str', is => 'ro', default => 'ResetDBParameterGroupResult');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::RDS::ResetDBParameterGroup - Arguments for method ResetDBParameterGroup on Paws::RDS
20              
21             =head1 DESCRIPTION
22              
23             This class represents the parameters used for calling the method ResetDBParameterGroup on the
24             Amazon Relational Database Service service. Use the attributes of this class
25             as arguments to method ResetDBParameterGroup.
26              
27             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ResetDBParameterGroup.
28              
29             As an example:
30              
31             $service_obj->ResetDBParameterGroup(Att1 => $value1, Att2 => $value2, ...);
32              
33             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.
34              
35             =head1 ATTRIBUTES
36              
37              
38             =head2 B<REQUIRED> DBParameterGroupName => Str
39              
40             The name of the DB parameter group.
41              
42             Constraints:
43              
44             =over
45              
46             =item *
47              
48             Must be 1 to 255 alphanumeric characters
49              
50             =item *
51              
52             First character must be a letter
53              
54             =item *
55              
56             Cannot end with a hyphen or contain two consecutive hyphens
57              
58             =back
59              
60              
61              
62              
63             =head2 Parameters => ArrayRef[L<Paws::RDS::Parameter>]
64              
65             To reset the entire DB parameter group, specify the C<DBParameterGroup>
66             name and C<ResetAllParameters> parameters. To reset specific
67             parameters, provide a list of the following: C<ParameterName> and
68             C<ApplyMethod>. A maximum of 20 parameters can be modified in a single
69             request.
70              
71             B<MySQL>
72              
73             Valid Values (for Apply method): C<immediate> | C<pending-reboot>
74              
75             You can use the immediate value with dynamic parameters only. You can
76             use the C<pending-reboot> value for both dynamic and static parameters,
77             and changes are applied when DB instance reboots.
78              
79             B<MariaDB>
80              
81             Valid Values (for Apply method): C<immediate> | C<pending-reboot>
82              
83             You can use the immediate value with dynamic parameters only. You can
84             use the C<pending-reboot> value for both dynamic and static parameters,
85             and changes are applied when DB instance reboots.
86              
87             B<Oracle>
88              
89             Valid Values (for Apply method): C<pending-reboot>
90              
91              
92              
93             =head2 ResetAllParameters => Bool
94              
95             Specifies whether (C<true>) or not (C<false>) to reset all parameters
96             in the DB parameter group to default values.
97              
98             Default: C<true>
99              
100              
101              
102              
103             =head1 SEE ALSO
104              
105             This class forms part of L<Paws>, documenting arguments for method ResetDBParameterGroup in L<Paws::RDS>
106              
107             =head1 BUGS and CONTRIBUTIONS
108              
109             The source code is located here: https://github.com/pplu/aws-sdk-perl
110              
111             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
112              
113             =cut
114