File Coverage

blib/lib/Paws/IAM/ContextEntry.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::IAM::ContextEntry;
2 1     1   471 use Moose;
  1         37  
  1         13  
3             has ContextKeyName => (is => 'ro', isa => 'Str');
4             has ContextKeyType => (is => 'ro', isa => 'Str');
5             has ContextKeyValues => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::IAM::ContextEntry
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::IAM::ContextEntry object:
24              
25             $service_obj->Method(Att1 => { ContextKeyName => $value, ..., ContextKeyValues => $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::IAM::ContextEntry object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->ContextKeyName
33              
34             =head1 DESCRIPTION
35              
36             Contains information about a condition context key. It includes the
37             name of the key and specifies the value (or values, if the context key
38             supports multiple values) to use in the simulation. This information is
39             used when evaluating the C<Condition> elements of the input policies.
40              
41             This data type is used as an input parameter to C< SimulateCustomPolicy
42             > and C< SimulateCustomPolicy >.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 ContextKeyName => Str
48              
49             The full name of a condition context key, including the service prefix.
50             For example, C<aws:SourceIp> or C<s3:VersionId>.
51              
52              
53             =head2 ContextKeyType => Str
54              
55             The data type of the value (or values) specified in the
56             C<ContextKeyValues> parameter.
57              
58              
59             =head2 ContextKeyValues => ArrayRef[Str|Undef]
60              
61             The value (or values, if the condition context key supports multiple
62             values) to provide to the simulation for use when the key is referenced
63             by a C<Condition> element in an input policy.
64              
65              
66              
67             =head1 SEE ALSO
68              
69             This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
70              
71             =head1 BUGS and CONTRIBUTIONS
72              
73             The source code is located here: https://github.com/pplu/aws-sdk-perl
74              
75             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
76              
77             =cut
78