blib/lib/Paws/IoTSiteWise/AccessPolicySummary.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IoTSiteWise::AccessPolicySummary;
3 use Moose;
4 has CreationDate => (is => 'ro', isa => 'Str', request_name => 'creationDate', traits => ['NameInRequest']);
5 has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest'], required => 1);
6 has Identity => (is => 'ro', isa => 'Paws::IoTSiteWise::Identity', request_name => 'identity', traits => ['NameInRequest'], required => 1);
7 has LastUpdateDate => (is => 'ro', isa => 'Str', request_name => 'lastUpdateDate', traits => ['NameInRequest']);
8 has Permission => (is => 'ro', isa => 'Str', request_name => 'permission', traits => ['NameInRequest'], required => 1);
9 has Resource => (is => 'ro', isa => 'Paws::IoTSiteWise::Resource', request_name => 'resource', traits => ['NameInRequest'], required => 1);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::IoTSiteWise::AccessPolicySummary
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::IoTSiteWise::AccessPolicySummary object:
29  
30 $service_obj->Method(Att1 => { CreationDate => $value, ..., Resource => $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::IoTSiteWise::AccessPolicySummary object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->CreationDate
38  
39 =head1 DESCRIPTION
40  
41 Contains an access policy that defines an identity's access to an AWS
42 IoT SiteWise Monitor resource.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 CreationDate => Str
48  
49 The date the access policy was created, in Unix epoch time.
50  
51  
52 =head2 B<REQUIRED> Id => Str
53  
54 The ID of the access policy.
55  
56  
57 =head2 B<REQUIRED> Identity => L<Paws::IoTSiteWise::Identity>
58  
59 The identity (an AWS SSO user, an AWS SSO group, or an IAM user).
60  
61  
62 =head2 LastUpdateDate => Str
63  
64 The date the access policy was last updated, in Unix epoch time.
65  
66  
67 =head2 B<REQUIRED> Permission => Str
68  
69 The permissions for the access policy. Note that a project
70 C<ADMINISTRATOR> is also known as a project owner.
71  
72  
73 =head2 B<REQUIRED> Resource => L<Paws::IoTSiteWise::Resource>
74  
75 The AWS IoT SiteWise Monitor resource (a portal or project).
76  
77  
78  
79 =head1 SEE ALSO
80  
81 This class forms part of L<Paws>, describing an object used in L<Paws::IoTSiteWise>
82  
83 =head1 BUGS and CONTRIBUTIONS
84  
85 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
86  
87 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
88  
89 =cut
90