blib/lib/Paws/RedShift/ResetClusterParameterGroup.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/RedShift/ReservedNodesMessage.pm ↑ Summary blib/lib/Paws/RedShift/ResizeInfo.pm »
1  
2 package Paws::RedShift::ResetClusterParameterGroup;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has ParameterGroupName => (is => 'ro', isa => 'Str', required => 1);
5 1 has Parameters => (is => 'ro', isa => 'ArrayRef[Paws::RedShift::Parameter]');
6 1 has ResetAllParameters => (is => 'ro', isa => 'Bool');
7  
8 1 ▶ use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ResetClusterParameterGroup');
11 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::ClusterParameterGroupNameMessage');
12 1 class_has _result_key => (isa => 'Str', is => 'ro', default => 'ResetClusterParameterGroupResult');
13 1 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::RedShift::ResetClusterParameterGroup - Arguments for method ResetClusterParameterGroup on L<Paws::RedShift>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method ResetClusterParameterGroup on the
24 L<Amazon Redshift|Paws::RedShift> service. Use the attributes of this class
25 as arguments to method ResetClusterParameterGroup.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ResetClusterParameterGroup.
28  
29 =head1 SYNOPSIS
30  
31 my $redshift = Paws->service('RedShift');
32 my $ClusterParameterGroupNameMessage =
33 $redshift->ResetClusterParameterGroup(
34 ParameterGroupName => 'MyString',
35 Parameters => [
36 {
37 AllowedValues => 'MyString', # max: 2147483647
38 ApplyType => 'static', # values: static, dynamic; OPTIONAL
39 DataType => 'MyString', # max: 2147483647
40 Description => 'MyString', # max: 2147483647
41 IsModifiable => 1, # OPTIONAL
42 MinimumEngineVersion => 'MyString', # max: 2147483647
43 ParameterName => 'MyString', # max: 2147483647
44 ParameterValue => 'MyString', # max: 2147483647
45 Source => 'MyString', # max: 2147483647
46 },
47 ...
48 ], # OPTIONAL
49 ResetAllParameters => 1, # OPTIONAL
50 );
51  
52 # Results:
53 my $ParameterGroupName =
54 $ClusterParameterGroupNameMessage->ParameterGroupName;
55 my $ParameterGroupStatus =
56 $ClusterParameterGroupNameMessage->ParameterGroupStatus;
57  
58 # Returns a L<Paws::RedShift::ClusterParameterGroupNameMessage> object.
59  
60 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.
61 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/redshift/ResetClusterParameterGroup>
62  
63 =head1 ATTRIBUTES
64  
65  
66 =head2 B<REQUIRED> ParameterGroupName => Str
67  
68 The name of the cluster parameter group to be reset.
69  
70  
71  
72 =head2 Parameters => ArrayRef[L<Paws::RedShift::Parameter>]
73  
74 An array of names of parameters to be reset. If I<ResetAllParameters>
75 option is not used, then at least one parameter name must be supplied.
76  
77 Constraints: A maximum of 20 parameters can be reset in a single
78 request.
79  
80  
81  
82 =head2 ResetAllParameters => Bool
83  
84 If C<true>, all parameters in the specified parameter group will be
85 reset to their default values.
86  
87 Default: C<true>
88  
89  
90  
91  
92 =head1 SEE ALSO
93  
94 This class forms part of L<Paws>, documenting arguments for method ResetClusterParameterGroup in L<Paws::RedShift>
95  
96 =head1 BUGS and CONTRIBUTIONS
97  
98 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
99  
100 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
101  
102 =cut
103  
« blib/lib/Paws/RedShift/ReservedNodesMessage.pm ↑ Summary blib/lib/Paws/RedShift/ResizeInfo.pm »