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

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 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::AccessDetail;
3 use Moose;
4 has EntityPath => (is => 'ro', isa => 'Str');
5 has LastAuthenticatedTime => (is => 'ro', isa => 'Str');
6 has Region => (is => 'ro', isa => 'Str');
7 has ServiceName => (is => 'ro', isa => 'Str', required => 1);
8 has ServiceNamespace => (is => 'ro', isa => 'Str', required => 1);
9 has TotalAuthenticatedEntities => (is => 'ro', isa => 'Int');
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::IAM::AccessDetail
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::IAM::AccessDetail object:
29  
30 $service_obj->Method(Att1 => { EntityPath => $value, ..., TotalAuthenticatedEntities => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::AccessDetail object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->EntityPath
38  
39 =head1 DESCRIPTION
40  
41 An object that contains details about when a principal in the reported
42 AWS Organizations entity last attempted to access an AWS service. A
43 principal can be an IAM user, an IAM role, or the AWS account root user
44 within the reported Organizations entity.
45  
46 This data type is a response element in the
47 GetOrganizationsAccessReport operation.
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 EntityPath => Str
53  
54 The path of the Organizations entity (root, organizational unit, or
55 account) from which an authenticated principal last attempted to access
56 the service. AWS does not report unauthenticated requests.
57  
58 This field is null if no principals (IAM users, IAM roles, or root
59 users) in the reported Organizations entity attempted to access the
60 service within the reporting period
61 (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period).
62  
63  
64 =head2 LastAuthenticatedTime => Str
65  
66 The date and time, in ISO 8601 date-time format
67 (http://www.iso.org/iso/iso8601), when an authenticated principal most
68 recently attempted to access the service. AWS does not report
69 unauthenticated requests.
70  
71 This field is null if no principals in the reported Organizations
72 entity attempted to access the service within the reporting period
73 (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period).
74  
75  
76 =head2 Region => Str
77  
78 The Region where the last service access attempt occurred.
79  
80 This field is null if no principals in the reported Organizations
81 entity attempted to access the service within the reporting period
82 (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period).
83  
84  
85 =head2 B<REQUIRED> ServiceName => Str
86  
87 The name of the service in which access was attempted.
88  
89  
90 =head2 B<REQUIRED> ServiceNamespace => Str
91  
92 The namespace of the service in which access was attempted.
93  
94 To learn the service namespace of a service, see Actions, resources,
95 and condition keys for AWS services
96 (https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html)
97 in the I<Service Authorization Reference>. Choose the name of the
98 service to view details for that service. In the first paragraph, find
99 the service prefix. For example, C<(service prefix: a4b)>. For more
100 information about service namespaces, see AWS service namespaces
101 (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
102 in the I<AWS General Reference>.
103  
104  
105 =head2 TotalAuthenticatedEntities => Int
106  
107 The number of accounts with authenticated principals (root users, IAM
108 users, and IAM roles) that attempted to access the service in the
109 reporting period.
110  
111  
112  
113 =head1 SEE ALSO
114  
115 This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
116  
117 =head1 BUGS and CONTRIBUTIONS
118  
119 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
120  
121 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
122  
123 =cut
124