File Coverage

blib/lib/Paws/RedShift/ModifySnapshotCopyRetentionPeriod.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::RedShift::ModifySnapshotCopyRetentionPeriod;
3 1     1   511 use Moose;
  1         4  
  1         8  
4             has ClusterIdentifier => (is => 'ro', isa => 'Str', required => 1);
5             has RetentionPeriod => (is => 'ro', isa => 'Int', required => 1);
6              
7 1     1   7069 use MooseX::ClassAttribute;
  1         4  
  1         8  
8              
9             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifySnapshotCopyRetentionPeriod');
10             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::ModifySnapshotCopyRetentionPeriodResult');
11             class_has _result_key => (isa => 'Str', is => 'ro', default => 'ModifySnapshotCopyRetentionPeriodResult');
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::RedShift::ModifySnapshotCopyRetentionPeriod - Arguments for method ModifySnapshotCopyRetentionPeriod on Paws::RedShift
19              
20             =head1 DESCRIPTION
21              
22             This class represents the parameters used for calling the method ModifySnapshotCopyRetentionPeriod on the
23             Amazon Redshift service. Use the attributes of this class
24             as arguments to method ModifySnapshotCopyRetentionPeriod.
25              
26             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifySnapshotCopyRetentionPeriod.
27              
28             As an example:
29              
30             $service_obj->ModifySnapshotCopyRetentionPeriod(Att1 => $value1, Att2 => $value2, ...);
31              
32             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.
33              
34             =head1 ATTRIBUTES
35              
36              
37             =head2 B<REQUIRED> ClusterIdentifier => Str
38              
39             The unique identifier of the cluster for which you want to change the
40             retention period for automated snapshots that are copied to a
41             destination region.
42              
43             Constraints: Must be the valid name of an existing cluster that has
44             cross-region snapshot copy enabled.
45              
46              
47              
48             =head2 B<REQUIRED> RetentionPeriod => Int
49              
50             The number of days to retain automated snapshots in the destination
51             region after they are copied from the source region.
52              
53             If you decrease the retention period for automated snapshots that are
54             copied to a destination region, Amazon Redshift will delete any
55             existing automated snapshots that were copied to the destination region
56             and that fall outside of the new retention period.
57              
58             Constraints: Must be at least 1 and no more than 35.
59              
60              
61              
62              
63             =head1 SEE ALSO
64              
65             This class forms part of L<Paws>, documenting arguments for method ModifySnapshotCopyRetentionPeriod in L<Paws::RedShift>
66              
67             =head1 BUGS and CONTRIBUTIONS
68              
69             The source code is located here: https://github.com/pplu/aws-sdk-perl
70              
71             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
72              
73             =cut
74