blib/lib/Paws/RDS/CopyDBClusterParameterGroup.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::CopyDBClusterParameterGroup;
3 use Moose;
4 has SourceDBClusterParameterGroupIdentifier => (is => 'ro', isa => 'Str', required => 1);
5 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::RDS::Tag]');
6 has TargetDBClusterParameterGroupDescription => (is => 'ro', isa => 'Str', required => 1);
7 has TargetDBClusterParameterGroupIdentifier => (is => 'ro', isa => 'Str', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CopyDBClusterParameterGroup');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RDS::CopyDBClusterParameterGroupResult');
13 class_has _result_key => (isa => 'Str', is => 'ro', default => 'CopyDBClusterParameterGroupResult');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::RDS::CopyDBClusterParameterGroup - Arguments for method CopyDBClusterParameterGroup on L<Paws::RDS>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method CopyDBClusterParameterGroup on the
25 L<Amazon Relational Database Service|Paws::RDS> service. Use the attributes of this class
26 as arguments to method CopyDBClusterParameterGroup.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CopyDBClusterParameterGroup.
29  
30 =head1 SYNOPSIS
31  
32 my $rds = Paws->service('RDS');
33 # To copy a DB cluster parameter group
34 # This example copies a DB cluster parameter group.
35 my $CopyDBClusterParameterGroupResult = $rds->CopyDBClusterParameterGroup(
36 'SourceDBClusterParameterGroupIdentifier' => 'mydbclusterparametergroup',
37 'TargetDBClusterParameterGroupDescription' =>
38 'My DB cluster parameter group copy',
39 'TargetDBClusterParameterGroupIdentifier' =>
40 'mydbclusterparametergroup-copy'
41 );
42  
43 # Results:
44 my $DBClusterParameterGroup =
45 $CopyDBClusterParameterGroupResult->DBClusterParameterGroup;
46  
47 # Returns a L<Paws::RDS::CopyDBClusterParameterGroupResult> object.
48  
49 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.
50 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/rds/CopyDBClusterParameterGroup>
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 B<REQUIRED> SourceDBClusterParameterGroupIdentifier => Str
56  
57 The identifier or Amazon Resource Name (ARN) for the source DB cluster
58 parameter group. For information about creating an ARN, see
59 Constructing an ARN for Amazon RDS
60 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing)
61 in the I<Amazon Aurora User Guide>.
62  
63 Constraints:
64  
65 =over
66  
67 =item *
68  
69 Must specify a valid DB cluster parameter group.
70  
71 =back
72  
73  
74  
75  
76 =head2 Tags => ArrayRef[L<Paws::RDS::Tag>]
77  
78  
79  
80  
81  
82 =head2 B<REQUIRED> TargetDBClusterParameterGroupDescription => Str
83  
84 A description for the copied DB cluster parameter group.
85  
86  
87  
88 =head2 B<REQUIRED> TargetDBClusterParameterGroupIdentifier => Str
89  
90 The identifier for the copied DB cluster parameter group.
91  
92 Constraints:
93  
94 =over
95  
96 =item *
97  
98 Can't be null, empty, or blank
99  
100 =item *
101  
102 Must contain from 1 to 255 letters, numbers, or hyphens
103  
104 =item *
105  
106 First character must be a letter
107  
108 =item *
109  
110 Can't end with a hyphen or contain two consecutive hyphens
111  
112 =back
113  
114 Example: C<my-cluster-param-group1>
115  
116  
117  
118  
119 =head1 SEE ALSO
120  
121 This class forms part of L<Paws>, documenting arguments for method CopyDBClusterParameterGroup in L<Paws::RDS>
122  
123 =head1 BUGS and CONTRIBUTIONS
124  
125 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
126  
127 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
128  
129 =cut
130