File Coverage

blib/lib/Paws/RedShift/SnapshotCopyGrant.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::RedShift::SnapshotCopyGrant;
2 1     1   438 use Moose;
  1         3  
  1         7  
3             has KmsKeyId => (is => 'ro', isa => 'Str');
4             has SnapshotCopyGrantName => (is => 'ro', isa => 'Str');
5             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::RedShift::Tag]', request_name => 'Tag', traits => ['NameInRequest']);
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::RedShift::SnapshotCopyGrant
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::RedShift::SnapshotCopyGrant object:
24              
25             $service_obj->Method(Att1 => { KmsKeyId => $value, ..., Tags => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::RedShift::SnapshotCopyGrant object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->KmsKeyId
33              
34             =head1 DESCRIPTION
35              
36             The snapshot copy grant that grants Amazon Redshift permission to
37             encrypt copied snapshots with the specified customer master key (CMK)
38             from AWS KMS in the destination region.
39              
40             For more information about managing snapshot copy grants, go to Amazon
41             Redshift Database Encryption in the I<Amazon Redshift Cluster
42             Management Guide>.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 KmsKeyId => Str
48              
49             The unique identifier of the customer master key (CMK) in AWS KMS to
50             which Amazon Redshift is granted permission.
51              
52              
53             =head2 SnapshotCopyGrantName => Str
54              
55             The name of the snapshot copy grant.
56              
57              
58             =head2 Tags => ArrayRef[L<Paws::RedShift::Tag>]
59              
60             A list of tag instances.
61              
62              
63              
64             =head1 SEE ALSO
65              
66             This class forms part of L<Paws>, describing an object used in L<Paws::RedShift>
67              
68             =head1 BUGS and CONTRIBUTIONS
69              
70             The source code is located here: https://github.com/pplu/aws-sdk-perl
71              
72             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
73              
74             =cut
75