File Coverage

blib/lib/Paws/RDS/CopyOptionGroup.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::RDS::CopyOptionGroup;
3 1     1   265 use Moose;
  1         2  
  1         4  
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 1     1   5298 use MooseX::ClassAttribute;
  1         2  
  1         7  
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 Paws::RDS
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method CopyOptionGroup on the
25             Amazon Relational Database Service 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             As an example:
31              
32             $service_obj->CopyOptionGroup(Att1 => $value1, Att2 => $value2, ...);
33              
34             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.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 B<REQUIRED> SourceOptionGroupIdentifier => Str
40              
41             The identifier or ARN for the source option group. For information
42             about creating an ARN, see Constructing an RDS Amazon Resource Name
43             (ARN).
44              
45             Constraints:
46              
47             =over
48              
49             =item *
50              
51             Must specify a valid option group.
52              
53             =item *
54              
55             If the source option group is in the same AWS Region as the copy,
56             specify a valid option group identifier, for example
57             C<my-option-group>, or a valid ARN.
58              
59             =item *
60              
61             If the source option group is in a different AWS Region than the copy,
62             specify a valid option group ARN, for example
63             C<arn:aws:rds:us-west-2:123456789012:og:special-options>.
64              
65             =back
66              
67              
68              
69              
70             =head2 Tags => ArrayRef[L<Paws::RDS::Tag>]
71              
72              
73              
74              
75              
76             =head2 B<REQUIRED> TargetOptionGroupDescription => Str
77              
78             The description for the copied option group.
79              
80              
81              
82             =head2 B<REQUIRED> TargetOptionGroupIdentifier => Str
83              
84             The identifier for the copied option group.
85              
86             Constraints:
87              
88             =over
89              
90             =item *
91              
92             Cannot be null, empty, or blank
93              
94             =item *
95              
96             Must contain from 1 to 255 alphanumeric characters or hyphens
97              
98             =item *
99              
100             First character must be a letter
101              
102             =item *
103              
104             Cannot end with a hyphen or contain two consecutive hyphens
105              
106             =back
107              
108             Example: C<my-option-group>
109              
110              
111              
112              
113             =head1 SEE ALSO
114              
115             This class forms part of L<Paws>, documenting arguments for method CopyOptionGroup in L<Paws::RDS>
116              
117             =head1 BUGS and CONTRIBUTIONS
118              
119             The source code is located here: https://github.com/pplu/aws-sdk-perl
120              
121             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
122              
123             =cut
124