blib/lib/Paws/AccessAnalyzer/KmsGrantConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::AccessAnalyzer::KmsGrantConfiguration;
3 use Moose;
4 has Constraints => (is => 'ro', isa => 'Paws::AccessAnalyzer::KmsGrantConstraints', request_name => 'constraints', traits => ['NameInRequest']);
5 has GranteePrincipal => (is => 'ro', isa => 'Str', request_name => 'granteePrincipal', traits => ['NameInRequest'], required => 1);
6 has IssuingAccount => (is => 'ro', isa => 'Str', request_name => 'issuingAccount', traits => ['NameInRequest'], required => 1);
7 has Operations => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'operations', traits => ['NameInRequest'], required => 1);
8 has RetiringPrincipal => (is => 'ro', isa => 'Str', request_name => 'retiringPrincipal', traits => ['NameInRequest']);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::AccessAnalyzer::KmsGrantConfiguration
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::AccessAnalyzer::KmsGrantConfiguration object:
28  
29 $service_obj->Method(Att1 => { Constraints => $value, ..., RetiringPrincipal => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::AccessAnalyzer::KmsGrantConfiguration object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->Constraints
37  
38 =head1 DESCRIPTION
39  
40 A proposed grant configuration for a KMS key. For more information, see
41 CreateGrant
42 (https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateGrant.html).
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 Constraints => L<Paws::AccessAnalyzer::KmsGrantConstraints>
48  
49 Use this structure to propose allowing cryptographic operations
50 (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations)
51 in the grant only when the operation request includes the specified
52 encryption context
53 (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context).
54  
55  
56 =head2 B<REQUIRED> GranteePrincipal => Str
57  
58 The principal that is given permission to perform the operations that
59 the grant permits.
60  
61  
62 =head2 B<REQUIRED> IssuingAccount => Str
63  
64 The AWS account under which the grant was issued. The account is used
65 to propose KMS grants issued by accounts other than the owner of the
66 key.
67  
68  
69 =head2 B<REQUIRED> Operations => ArrayRef[Str|Undef]
70  
71 A list of operations that the grant permits.
72  
73  
74 =head2 RetiringPrincipal => Str
75  
76 The principal that is given permission to retire the grant by using
77 RetireGrant
78 (https://docs.aws.amazon.com/kms/latest/APIReference/API_RetireGrant.html)
79 operation.
80  
81  
82  
83 =head1 SEE ALSO
84  
85 This class forms part of L<Paws>, describing an object used in L<Paws::AccessAnalyzer>
86  
87 =head1 BUGS and CONTRIBUTIONS
88  
89 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
90  
91 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
92  
93 =cut
94