blib/lib/Paws/RedShift/CreateClusterParameterGroup.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/RedShift/CreateCluster.pm ↑ Summary blib/lib/Paws/RedShift/CreateClusterParameterGroupResult.pm »
1  
2 package Paws::RedShift::CreateClusterParameterGroup;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has Description => (is => 'ro', isa => 'Str', required => 1);
5 1 has ParameterGroupFamily => (is => 'ro', isa => 'Str', required => 1);
6 1 has ParameterGroupName => (is => 'ro', isa => 'Str', required => 1);
7 1 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::RedShift::Tag]');
8  
9 1 ▶ use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateClusterParameterGroup');
12 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::CreateClusterParameterGroupResult');
13 1 class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreateClusterParameterGroupResult');
14 1 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::RedShift::CreateClusterParameterGroup - Arguments for method CreateClusterParameterGroup on L<Paws::RedShift>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method CreateClusterParameterGroup on the
25 L<Amazon Redshift|Paws::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 =head1 SYNOPSIS
31  
32 my $redshift = Paws->service('RedShift');
33 my $CreateClusterParameterGroupResult =
34 $redshift->CreateClusterParameterGroup(
35 Description => 'MyString',
36 ParameterGroupFamily => 'MyString',
37 ParameterGroupName => 'MyString',
38 Tags => [
39 {
40 Key => 'MyString', # max: 2147483647
41 Value => 'MyString', # max: 2147483647
42 },
43 ...
44 ], # OPTIONAL
45 );
46  
47 # Results:
48 my $ClusterParameterGroup =
49 $CreateClusterParameterGroupResult->ClusterParameterGroup;
50  
51 # Returns a L<Paws::RedShift::CreateClusterParameterGroupResult> object.
52  
53 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.
54 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/redshift/CreateClusterParameterGroup>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 B<REQUIRED> Description => Str
60  
61 A description of the parameter group.
62  
63  
64  
65 =head2 B<REQUIRED> ParameterGroupFamily => Str
66  
67 The Amazon Redshift engine version to which the cluster parameter group
68 applies. The cluster engine version determines the set of parameters.
69  
70 To get a list of valid parameter group family names, you can call
71 DescribeClusterParameterGroups. By default, Amazon Redshift returns a
72 list of all the parameter groups that are owned by your AWS account,
73 including the default parameter groups for each Amazon Redshift engine
74 version. The parameter group family names associated with the default
75 parameter groups provide you the valid values. For example, a valid
76 family name is "redshift-1.0".
77  
78  
79  
80 =head2 B<REQUIRED> ParameterGroupName => Str
81  
82 The name of the cluster parameter group.
83  
84 Constraints:
85  
86 =over
87  
88 =item *
89  
90 Must be 1 to 255 alphanumeric characters or hyphens
91  
92 =item *
93  
94 First character must be a letter.
95  
96 =item *
97  
98 Cannot end with a hyphen or contain two consecutive hyphens.
99  
100 =item *
101  
102 Must be unique withing your AWS account.
103  
104 =back
105  
106 This value is stored as a lower-case string.
107  
108  
109  
110 =head2 Tags => ArrayRef[L<Paws::RedShift::Tag>]
111  
112 A list of tag instances.
113  
114  
115  
116  
117 =head1 SEE ALSO
118  
119 This class forms part of L<Paws>, documenting arguments for method CreateClusterParameterGroup in L<Paws::RedShift>
120  
121 =head1 BUGS and CONTRIBUTIONS
122  
123 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
124  
125 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
126  
127 =cut
128  
« blib/lib/Paws/RedShift/CreateCluster.pm ↑ Summary blib/lib/Paws/RedShift/CreateClusterParameterGroupResult.pm »