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