blib/lib/Paws/RDS/CreateDBClusterParameterGroup.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::RDS::CreateDBClusterParameterGroup;
3 use Moose;
4 has DBClusterParameterGroupName => (is => 'ro', isa => 'Str', required => 1);
5 has DBParameterGroupFamily => (is => 'ro', isa => 'Str', required => 1);
6 has Description => (is => 'ro', isa => 'Str', required => 1);
7 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::RDS::Tag]');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateDBClusterParameterGroup');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RDS::CreateDBClusterParameterGroupResult');
13 class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreateDBClusterParameterGroupResult');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::RDS::CreateDBClusterParameterGroup - Arguments for method CreateDBClusterParameterGroup on L<Paws::RDS>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method CreateDBClusterParameterGroup on the
25 L<Amazon Relational Database Service|Paws::RDS> service. Use the attributes of this class
26 as arguments to method CreateDBClusterParameterGroup.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDBClusterParameterGroup.
29  
30 =head1 SYNOPSIS
31  
32 my $rds = Paws->service('RDS');
33 # To create a DB cluster parameter group
34 # This example creates a DB cluster parameter group.
35 my $CreateDBClusterParameterGroupResult =
36 $rds->CreateDBClusterParameterGroup(
37 'DBClusterParameterGroupName' => 'mydbclusterparametergroup',
38 'DBParameterGroupFamily' => 'aurora5.6',
39 'Description' => 'My DB cluster parameter group'
40 );
41  
42 # Results:
43 my $DBClusterParameterGroup =
44 $CreateDBClusterParameterGroupResult->DBClusterParameterGroup;
45  
46 # Returns a L<Paws::RDS::CreateDBClusterParameterGroupResult> object.
47  
48 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.
49 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/rds/CreateDBClusterParameterGroup>
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 B<REQUIRED> DBClusterParameterGroupName => Str
55  
56 The name of the DB cluster parameter group.
57  
58 Constraints:
59  
60 =over
61  
62 =item *
63  
64 Must match the name of an existing DB cluster parameter group.
65  
66 =back
67  
68 This value is stored as a lowercase string.
69  
70  
71  
72 =head2 B<REQUIRED> DBParameterGroupFamily => Str
73  
74 The DB cluster parameter group family name. A DB cluster parameter
75 group can be associated with one and only one DB cluster parameter
76 group family, and can be applied only to a DB cluster running a
77 database engine and engine version compatible with that DB cluster
78 parameter group family.
79  
80 B<Aurora MySQL>
81  
82 Example: C<aurora5.6>, C<aurora-mysql5.7>
83  
84 B<Aurora PostgreSQL>
85  
86 Example: C<aurora-postgresql9.6>
87  
88 To list all of the available parameter group families for a DB engine,
89 use the following command:
90  
91 C<aws rds describe-db-engine-versions --query
92 "DBEngineVersions[].DBParameterGroupFamily" --engine E<lt>engineE<gt>>
93  
94 For example, to list all of the available parameter group families for
95 the Aurora PostgreSQL DB engine, use the following command:
96  
97 C<aws rds describe-db-engine-versions --query
98 "DBEngineVersions[].DBParameterGroupFamily" --engine aurora-postgresql>
99  
100 The output contains duplicates.
101  
102 The following are the valid DB engine values:
103  
104 =over
105  
106 =item *
107  
108 C<aurora> (for MySQL 5.6-compatible Aurora)
109  
110 =item *
111  
112 C<aurora-mysql> (for MySQL 5.7-compatible Aurora)
113  
114 =item *
115  
116 C<aurora-postgresql>
117  
118 =back
119  
120  
121  
122  
123 =head2 B<REQUIRED> Description => Str
124  
125 The description for the DB cluster parameter group.
126  
127  
128  
129 =head2 Tags => ArrayRef[L<Paws::RDS::Tag>]
130  
131 Tags to assign to the DB cluster parameter group.
132  
133  
134  
135  
136 =head1 SEE ALSO
137  
138 This class forms part of L<Paws>, documenting arguments for method CreateDBClusterParameterGroup in L<Paws::RDS>
139  
140 =head1 BUGS and CONTRIBUTIONS
141  
142 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
143  
144 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
145  
146 =cut
147