blib/lib/Paws/KMS/GrantListEntry.pm untested

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