line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::KMS::GrantConstraints; |
2
|
1
|
|
|
1
|
|
595
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
8
|
|
3
|
|
|
|
|
|
|
has EncryptionContextEquals => (is => 'ro', isa => 'Paws::KMS::EncryptionContextType'); |
4
|
|
|
|
|
|
|
has EncryptionContextSubset => (is => 'ro', isa => 'Paws::KMS::EncryptionContextType'); |
5
|
|
|
|
|
|
|
1; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
### main pod documentation begin ### |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
Paws::KMS::GrantConstraints |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 USAGE |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
This class represents one of two things: |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
20
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::KMS::GrantConstraints object: |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { EncryptionContextEquals => $value, ..., EncryptionContextSubset => $value }); |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head3 Results returned from an API call |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::KMS::GrantConstraints object: |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
31
|
|
|
|
|
|
|
$result->Att1->EncryptionContextEquals |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 DESCRIPTION |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
A structure that you can use to allow certain operations in the grant |
36
|
|
|
|
|
|
|
only when the desired encryption context is present. For more |
37
|
|
|
|
|
|
|
information about encryption context, see Encryption Context in the |
38
|
|
|
|
|
|
|
I<AWS Key Management Service Developer Guide>. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Grant constraints apply only to operations that accept encryption |
41
|
|
|
|
|
|
|
context as input. For example, the C< DescribeKey > operation does not |
42
|
|
|
|
|
|
|
accept encryption context as input. A grant that allows the |
43
|
|
|
|
|
|
|
C<DescribeKey> operation does so regardless of the grant constraints. |
44
|
|
|
|
|
|
|
In constrast, the C< Encrypt > operation accepts encryption context as |
45
|
|
|
|
|
|
|
input. A grant that allows the C<Encrypt> operation does so only when |
46
|
|
|
|
|
|
|
the encryption context of the C<Encrypt> operation satisfies the grant |
47
|
|
|
|
|
|
|
constraints. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head2 EncryptionContextEquals => L<Paws::KMS::EncryptionContextType> |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
A list of key-value pairs that must be present in the encryption |
55
|
|
|
|
|
|
|
context of certain subsequent operations that the grant allows. When |
56
|
|
|
|
|
|
|
certain subsequent operations allowed by the grant include encryption |
57
|
|
|
|
|
|
|
context that matches this list, the grant allows the operation. |
58
|
|
|
|
|
|
|
Otherwise, the grant does not allow the operation. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 EncryptionContextSubset => L<Paws::KMS::EncryptionContextType> |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
A list of key-value pairs, all of which must be present in the |
64
|
|
|
|
|
|
|
encryption context of certain subsequent operations that the grant |
65
|
|
|
|
|
|
|
allows. When certain subsequent operations allowed by the grant include |
66
|
|
|
|
|
|
|
encryption context that matches this list or is a superset of this |
67
|
|
|
|
|
|
|
list, the grant allows the operation. Otherwise, the grant does not |
68
|
|
|
|
|
|
|
allow the operation. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head1 SEE ALSO |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::KMS> |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=cut |
83
|
|
|
|
|
|
|
|