blib/lib/Paws/Neptune/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::Neptune::CopyDBClusterParameterGroup;
3 use Moose;
4 has SourceDBClusterParameterGroupIdentifier => (is => 'ro', isa => 'Str', required => 1);
5 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Neptune::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::Neptune::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::Neptune::CopyDBClusterParameterGroup - Arguments for method CopyDBClusterParameterGroup on L<Paws::Neptune>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method CopyDBClusterParameterGroup on the
25 L<Amazon Neptune|Paws::Neptune> 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('Neptune');
33 my $CopyDBClusterParameterGroupResult = $rds->CopyDBClusterParameterGroup(
34 SourceDBClusterParameterGroupIdentifier => 'MyString',
35 TargetDBClusterParameterGroupDescription => 'MyString',
36 TargetDBClusterParameterGroupIdentifier => 'MyString',
37 Tags => [
38 {
39 Key => 'MyString',
40 Value => 'MyString',
41 },
42 ...
43 ], # OPTIONAL
44 );
45  
46 # Results:
47 my $DBClusterParameterGroup =
48 $CopyDBClusterParameterGroupResult->DBClusterParameterGroup;
49  
50 # Returns a L<Paws::Neptune::CopyDBClusterParameterGroupResult> object.
51  
52 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.
53 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/rds/CopyDBClusterParameterGroup>
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 B<REQUIRED> SourceDBClusterParameterGroupIdentifier => Str
59  
60 The identifier or Amazon Resource Name (ARN) for the source DB cluster
61 parameter group. For information about creating an ARN, see
62 Constructing an Amazon Resource Name (ARN)
63 (https://docs.aws.amazon.com/neptune/latest/UserGuide/tagging.ARN.html#tagging.ARN.Constructing).
64  
65 Constraints:
66  
67 =over
68  
69 =item *
70  
71 Must specify a valid DB cluster parameter group.
72  
73 =item *
74  
75 If the source DB cluster parameter group is in the same Amazon Region
76 as the copy, specify a valid DB parameter group identifier, for example
77 C<my-db-cluster-param-group>, or a valid ARN.
78  
79 =item *
80  
81 If the source DB parameter group is in a different Amazon Region than
82 the copy, specify a valid DB cluster parameter group ARN, for example
83 C<arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1>.
84  
85 =back
86  
87  
88  
89  
90 =head2 Tags => ArrayRef[L<Paws::Neptune::Tag>]
91  
92 The tags to be assigned to the copied DB cluster parameter group.
93  
94  
95  
96 =head2 B<REQUIRED> TargetDBClusterParameterGroupDescription => Str
97  
98 A description for the copied DB cluster parameter group.
99  
100  
101  
102 =head2 B<REQUIRED> TargetDBClusterParameterGroupIdentifier => Str
103  
104 The identifier for the copied DB cluster parameter group.
105  
106 Constraints:
107  
108 =over
109  
110 =item *
111  
112 Cannot be null, empty, or blank
113  
114 =item *
115  
116 Must contain from 1 to 255 letters, numbers, or hyphens
117  
118 =item *
119  
120 First character must be a letter
121  
122 =item *
123  
124 Cannot end with a hyphen or contain two consecutive hyphens
125  
126 =back
127  
128 Example: C<my-cluster-param-group1>
129  
130  
131  
132  
133 =head1 SEE ALSO
134  
135 This class forms part of L<Paws>, documenting arguments for method CopyDBClusterParameterGroup in L<Paws::Neptune>
136  
137 =head1 BUGS and CONTRIBUTIONS
138  
139 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
140  
141 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
142  
143 =cut
144