blib/lib/Paws/Neptune/ResetDBParameterGroup.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::Neptune::ResetDBParameterGroup;
3 use Moose;
4 has DBParameterGroupName => (is => 'ro', isa => 'Str', required => 1);
5 has Parameters => (is => 'ro', isa => 'ArrayRef[Paws::Neptune::Parameter]');
6 has ResetAllParameters => (is => 'ro', isa => 'Bool');
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ResetDBParameterGroup');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Neptune::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::Neptune::ResetDBParameterGroup - Arguments for method ResetDBParameterGroup on L<Paws::Neptune>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method ResetDBParameterGroup on the
24 L<Amazon Neptune|Paws::Neptune> 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 =head1 SYNOPSIS
30  
31 my $rds = Paws->service('Neptune');
32 my $DBParameterGroupNameMessage = $rds->ResetDBParameterGroup(
33 DBParameterGroupName => 'MyString',
34 Parameters => [
35 {
36 AllowedValues => 'MyString',
37 ApplyMethod =>
38 'immediate', # values: immediate, pending-reboot; OPTIONAL
39 ApplyType => 'MyString',
40 DataType => 'MyString',
41 Description => 'MyString',
42 IsModifiable => 1, # OPTIONAL
43 MinimumEngineVersion => 'MyString',
44 ParameterName => 'MyString',
45 ParameterValue => 'MyString',
46 Source => 'MyString',
47 },
48 ...
49 ], # OPTIONAL
50 ResetAllParameters => 1, # OPTIONAL
51 );
52  
53 # Results:
54 my $DBParameterGroupName =
55 $DBParameterGroupNameMessage->DBParameterGroupName;
56  
57 # Returns a L<Paws::Neptune::DBParameterGroupNameMessage> object.
58  
59 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.
60 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/rds/ResetDBParameterGroup>
61  
62 =head1 ATTRIBUTES
63  
64  
65 =head2 B<REQUIRED> DBParameterGroupName => Str
66  
67 The name of the DB parameter group.
68  
69 Constraints:
70  
71 =over
72  
73 =item *
74  
75 Must match the name of an existing DBParameterGroup.
76  
77 =back
78  
79  
80  
81  
82 =head2 Parameters => ArrayRef[L<Paws::Neptune::Parameter>]
83  
84 To reset the entire DB parameter group, specify the C<DBParameterGroup>
85 name and C<ResetAllParameters> parameters. To reset specific
86 parameters, provide a list of the following: C<ParameterName> and
87 C<ApplyMethod>. A maximum of 20 parameters can be modified in a single
88 request.
89  
90 Valid Values (for Apply method): C<pending-reboot>
91  
92  
93  
94 =head2 ResetAllParameters => Bool
95  
96 Specifies whether (C<true>) or not (C<false>) to reset all parameters
97 in the DB parameter group to default values.
98  
99 Default: C<true>
100  
101  
102  
103  
104 =head1 SEE ALSO
105  
106 This class forms part of L<Paws>, documenting arguments for method ResetDBParameterGroup in L<Paws::Neptune>
107  
108 =head1 BUGS and CONTRIBUTIONS
109  
110 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
111  
112 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
113  
114 =cut
115