File Coverage

blib/lib/Paws/RDS/ModifyDBClusterSnapshotAttribute.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::ModifyDBClusterSnapshotAttribute;
3 1     1   679 use Moose;
  1         3  
  1         11  
4             has AttributeName => (is => 'ro', isa => 'Str', required => 1);
5             has DBClusterSnapshotIdentifier => (is => 'ro', isa => 'Str', required => 1);
6             has ValuesToAdd => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
7             has ValuesToRemove => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8              
9 1     1   8132 use MooseX::ClassAttribute;
  1         3  
  1         12  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifyDBClusterSnapshotAttribute');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RDS::ModifyDBClusterSnapshotAttributeResult');
13             class_has _result_key => (isa => 'Str', is => 'ro', default => 'ModifyDBClusterSnapshotAttributeResult');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::RDS::ModifyDBClusterSnapshotAttribute - Arguments for method ModifyDBClusterSnapshotAttribute on Paws::RDS
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method ModifyDBClusterSnapshotAttribute on the
25             Amazon Relational Database Service service. Use the attributes of this class
26             as arguments to method ModifyDBClusterSnapshotAttribute.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyDBClusterSnapshotAttribute.
29              
30             As an example:
31              
32             $service_obj->ModifyDBClusterSnapshotAttribute(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> AttributeName => Str
40              
41             The name of the DB cluster snapshot attribute to modify.
42              
43             To manage authorization for other AWS accounts to copy or restore a
44             manual DB cluster snapshot, set this value to C<restore>.
45              
46              
47              
48             =head2 B<REQUIRED> DBClusterSnapshotIdentifier => Str
49              
50             The identifier for the DB cluster snapshot to modify the attributes
51             for.
52              
53              
54              
55             =head2 ValuesToAdd => ArrayRef[Str|Undef]
56              
57             A list of DB cluster snapshot attributes to add to the attribute
58             specified by C<AttributeName>.
59              
60             To authorize other AWS accounts to copy or restore a manual DB cluster
61             snapshot, set this list to include one or more AWS account IDs, or
62             C<all> to make the manual DB cluster snapshot restorable by any AWS
63             account. Do not add the C<all> value for any manual DB cluster
64             snapshots that contain private information that you don't want
65             available to all AWS accounts.
66              
67              
68              
69             =head2 ValuesToRemove => ArrayRef[Str|Undef]
70              
71             A list of DB cluster snapshot attributes to remove from the attribute
72             specified by C<AttributeName>.
73              
74             To remove authorization for other AWS accounts to copy or restore a
75             manual DB cluster snapshot, set this list to include one or more AWS
76             account identifiers, or C<all> to remove authorization for any AWS
77             account to copy or restore the DB cluster snapshot. If you specify
78             C<all>, an AWS account whose account ID is explicitly added to the
79             C<restore> attribute can still copy or restore a manual DB cluster
80             snapshot.
81              
82              
83              
84              
85             =head1 SEE ALSO
86              
87             This class forms part of L<Paws>, documenting arguments for method ModifyDBClusterSnapshotAttribute in L<Paws::RDS>
88              
89             =head1 BUGS and CONTRIBUTIONS
90              
91             The source code is located here: https://github.com/pplu/aws-sdk-perl
92              
93             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
94              
95             =cut
96