File Coverage

blib/lib/Paws/IAM/ResourceSpecificResult.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::ResourceSpecificResult;
2 1     1   396 use Moose;
  1         2  
  1         7  
3             has EvalDecisionDetails => (is => 'ro', isa => 'Paws::IAM::EvalDecisionDetailsType');
4             has EvalResourceDecision => (is => 'ro', isa => 'Str', required => 1);
5             has EvalResourceName => (is => 'ro', isa => 'Str', required => 1);
6             has MatchedStatements => (is => 'ro', isa => 'ArrayRef[Paws::IAM::Statement]');
7             has MissingContextValues => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::IAM::ResourceSpecificResult
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::ResourceSpecificResult object:
26              
27             $service_obj->Method(Att1 => { EvalDecisionDetails => $value, ..., MissingContextValues => $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::ResourceSpecificResult object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->EvalDecisionDetails
35              
36             =head1 DESCRIPTION
37              
38             Contains the result of the simulation of a single API action call on a
39             single resource.
40              
41             This data type is used by a member of the EvaluationResult data type.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 EvalDecisionDetails => L<Paws::IAM::EvalDecisionDetailsType>
47              
48             Additional details about the results of the evaluation decision. When
49             there are both IAM policies and resource policies, this parameter
50             explains how each set of policies contributes to the final evaluation
51             decision. When simulating cross-account access to a resource, both the
52             resource-based policy and the caller's IAM policy must grant access.
53              
54              
55             =head2 B<REQUIRED> EvalResourceDecision => Str
56              
57             The result of the simulation of the simulated API action on the
58             resource specified in C<EvalResourceName>.
59              
60              
61             =head2 B<REQUIRED> EvalResourceName => Str
62              
63             The name of the simulated resource, in Amazon Resource Name (ARN)
64             format.
65              
66              
67             =head2 MatchedStatements => ArrayRef[L<Paws::IAM::Statement>]
68              
69             A list of the statements in the input policies that determine the
70             result for this part of the simulation. Remember that even if multiple
71             statements allow the action on the resource, if I<any> statement denies
72             that action, then the explicit deny overrides any allow, and the deny
73             statement is the only entry included in the result.
74              
75              
76             =head2 MissingContextValues => ArrayRef[Str|Undef]
77              
78             A list of context keys that are required by the included input policies
79             but that were not provided by one of the input parameters. This list is
80             used when a list of ARNs is included in the C<ResourceArns> parameter
81             instead of "*". If you do not specify individual resources, by setting
82             C<ResourceArns> to "*" or by not including the C<ResourceArns>
83             parameter, then any missing context values are instead included under
84             the C<EvaluationResults> section. To discover the context keys used by
85             a set of policies, you can call GetContextKeysForCustomPolicy or
86             GetContextKeysForPrincipalPolicy.
87              
88              
89              
90             =head1 SEE ALSO
91              
92             This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
93              
94             =head1 BUGS and CONTRIBUTIONS
95              
96             The source code is located here: https://github.com/pplu/aws-sdk-perl
97              
98             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
99              
100             =cut
101