File Coverage

blib/lib/Paws/RedShift/CreateClusterParameterGroup.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::RedShift::CreateClusterParameterGroup;
3 1     1   353 use Moose;
  1     1   4  
  1         7  
  1         402  
  1         2  
  1         7  
4             has Description => (is => 'ro', isa => 'Str', required => 1);
5             has ParameterGroupFamily => (is => 'ro', isa => 'Str', required => 1);
6             has ParameterGroupName => (is => 'ro', isa => 'Str', required => 1);
7             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::RedShift::Tag]');
8              
9 1     1   5655 use MooseX::ClassAttribute;
  1     1   2  
  1         8  
  1         6232  
  1         2  
  1         7  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateClusterParameterGroup');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::CreateClusterParameterGroupResult');
13             class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreateClusterParameterGroupResult');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::RedShift::CreateClusterParameterGroup - Arguments for method CreateClusterParameterGroup on Paws::RedShift
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method CreateClusterParameterGroup on the
25             Amazon Redshift service. Use the attributes of this class
26             as arguments to method CreateClusterParameterGroup.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateClusterParameterGroup.
29              
30             As an example:
31              
32             $service_obj->CreateClusterParameterGroup(Att1 => $value1, Att2 => $value2, ...);
33              
34             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.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 B<REQUIRED> Description => Str
40              
41             A description of the parameter group.
42              
43              
44              
45             =head2 B<REQUIRED> ParameterGroupFamily => Str
46              
47             The Amazon Redshift engine version to which the cluster parameter group
48             applies. The cluster engine version determines the set of parameters.
49              
50             To get a list of valid parameter group family names, you can call
51             DescribeClusterParameterGroups. By default, Amazon Redshift returns a
52             list of all the parameter groups that are owned by your AWS account,
53             including the default parameter groups for each Amazon Redshift engine
54             version. The parameter group family names associated with the default
55             parameter groups provide you the valid values. For example, a valid
56             family name is "redshift-1.0".
57              
58              
59              
60             =head2 B<REQUIRED> ParameterGroupName => Str
61              
62             The name of the cluster parameter group.
63              
64             Constraints:
65              
66             =over
67              
68             =item *
69              
70             Must be 1 to 255 alphanumeric characters or hyphens
71              
72             =item *
73              
74             First character must be a letter.
75              
76             =item *
77              
78             Cannot end with a hyphen or contain two consecutive hyphens.
79              
80             =item *
81              
82             Must be unique withing your AWS account.
83              
84             =back
85              
86             This value is stored as a lower-case string.
87              
88              
89              
90             =head2 Tags => ArrayRef[L<Paws::RedShift::Tag>]
91              
92             A list of tag instances.
93              
94              
95              
96              
97             =head1 SEE ALSO
98              
99             This class forms part of L<Paws>, documenting arguments for method CreateClusterParameterGroup in L<Paws::RedShift>
100              
101             =head1 BUGS and CONTRIBUTIONS
102              
103             The source code is located here: https://github.com/pplu/aws-sdk-perl
104              
105             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
106              
107             =cut
108