blib/lib/Paws/IAM/ContextEntry.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IAM::ContextEntry;
3 use Moose;
4 has ContextKeyName => (is => 'ro', isa => 'Str');
5 has ContextKeyType => (is => 'ro', isa => 'Str');
6 has ContextKeyValues => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::IAM::ContextEntry
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::IAM::ContextEntry object:
26  
27 $service_obj->Method(Att1 => { ContextKeyName => $value, ..., ContextKeyValues => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::ContextEntry object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->ContextKeyName
35  
36 =head1 DESCRIPTION
37  
38 Contains information about a condition context key. It includes the
39 name of the key and specifies the value (or values, if the context key
40 supports multiple values) to use in the simulation. This information is
41 used when evaluating the C<Condition> elements of the input policies.
42  
43 This data type is used as an input parameter to SimulateCustomPolicy
44 and SimulatePrincipalPolicy.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 ContextKeyName => Str
50  
51 The full name of a condition context key, including the service prefix.
52 For example, C<aws:SourceIp> or C<s3:VersionId>.
53  
54  
55 =head2 ContextKeyType => Str
56  
57 The data type of the value (or values) specified in the
58 C<ContextKeyValues> parameter.
59  
60  
61 =head2 ContextKeyValues => ArrayRef[Str|Undef]
62  
63 The value (or values, if the condition context key supports multiple
64 values) to provide to the simulation when the key is referenced by a
65 C<Condition> element in an input policy.
66  
67  
68  
69 =head1 SEE ALSO
70  
71 This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
72  
73 =head1 BUGS and CONTRIBUTIONS
74  
75 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
76  
77 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
78  
79 =cut
80