File Coverage

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