File Coverage

blib/lib/Paws/KMS/GrantListEntry.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::KMS::GrantListEntry;
2 1     1   536 use Moose;
  1         3  
  1         8  
3             has Constraints => (is => 'ro', isa => 'Paws::KMS::GrantConstraints');
4             has CreationDate => (is => 'ro', isa => 'Str');
5             has GranteePrincipal => (is => 'ro', isa => 'Str');
6             has GrantId => (is => 'ro', isa => 'Str');
7             has IssuingAccount => (is => 'ro', isa => 'Str');
8             has KeyId => (is => 'ro', isa => 'Str');
9             has Name => (is => 'ro', isa => 'Str');
10             has Operations => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
11             has RetiringPrincipal => (is => 'ro', isa => 'Str');
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::KMS::GrantListEntry
19              
20             =head1 USAGE
21              
22             This class represents one of two things:
23              
24             =head3 Arguments in a call to a service
25              
26             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27             Each attribute should be used as a named argument in the calls that expect this type of object.
28              
29             As an example, if Att1 is expected to be a Paws::KMS::GrantListEntry object:
30              
31             $service_obj->Method(Att1 => { Constraints => $value, ..., RetiringPrincipal => $value });
32              
33             =head3 Results returned from an API call
34              
35             Use accessors for each attribute. If Att1 is expected to be an Paws::KMS::GrantListEntry object:
36              
37             $result = $service_obj->Method(...);
38             $result->Att1->Constraints
39              
40             =head1 DESCRIPTION
41              
42             Contains information about an entry in a list of grants.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 Constraints => L<Paws::KMS::GrantConstraints>
48              
49             A list of key-value pairs that must be present in the encryption
50             context of certain subsequent operations that the grant allows.
51              
52              
53             =head2 CreationDate => Str
54              
55             The date and time when the grant was created.
56              
57              
58             =head2 GranteePrincipal => Str
59              
60             The principal that receives the grant's permissions.
61              
62              
63             =head2 GrantId => Str
64              
65             The unique identifier for the grant.
66              
67              
68             =head2 IssuingAccount => Str
69              
70             The AWS account under which the grant was issued.
71              
72              
73             =head2 KeyId => Str
74              
75             The unique identifier for the customer master key (CMK) to which the
76             grant applies.
77              
78              
79             =head2 Name => Str
80              
81             The friendly name that identifies the grant. If a name was provided in
82             the CreateGrant request, that name is returned. Otherwise this value is
83             null.
84              
85              
86             =head2 Operations => ArrayRef[Str|Undef]
87              
88             The list of operations permitted by the grant.
89              
90              
91             =head2 RetiringPrincipal => Str
92              
93             The principal that can retire the grant.
94              
95              
96              
97             =head1 SEE ALSO
98              
99             This class forms part of L<Paws>, describing an object used in L<Paws::KMS>
100              
101             =head1 BUGS and CONTRIBUTIONS
102              
103             The source code is located here: https://github.com/pplu/aws-sdk-perl
104              
105             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
106              
107             =cut
108