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

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 20 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::PortalSummary;
3 use Moose;
4 has CreationDate => (is => 'ro', isa => 'Str', request_name => 'creationDate', traits => ['NameInRequest']);
5 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
6 has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest'], required => 1);
7 has LastUpdateDate => (is => 'ro', isa => 'Str', request_name => 'lastUpdateDate', traits => ['NameInRequest']);
8 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
9 has RoleArn => (is => 'ro', isa => 'Str', request_name => 'roleArn', traits => ['NameInRequest']);
10 has StartUrl => (is => 'ro', isa => 'Str', request_name => 'startUrl', traits => ['NameInRequest'], required => 1);
11 has Status => (is => 'ro', isa => 'Paws::IoTSiteWise::PortalStatus', request_name => 'status', traits => ['NameInRequest'], required => 1);
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::IoTSiteWise::PortalSummary
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::IoTSiteWise::PortalSummary object:
31  
32 $service_obj->Method(Att1 => { CreationDate => $value, ..., Status => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::IoTSiteWise::PortalSummary object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->CreationDate
40  
41 =head1 DESCRIPTION
42  
43 Contains a portal summary.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 CreationDate => Str
49  
50 The date the portal was created, in Unix epoch time.
51  
52  
53 =head2 Description => Str
54  
55 The portal's description.
56  
57  
58 =head2 B<REQUIRED> Id => Str
59  
60 The ID of the portal.
61  
62  
63 =head2 LastUpdateDate => Str
64  
65 The date the portal was last updated, in Unix epoch time.
66  
67  
68 =head2 B<REQUIRED> Name => Str
69  
70 The name of the portal.
71  
72  
73 =head2 RoleArn => Str
74  
75 The ARN
76 (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
77 of the service role that allows the portal's users to access your AWS
78 IoT SiteWise resources on your behalf. For more information, see Using
79 service roles for AWS IoT SiteWise Monitor
80 (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-service-role.html)
81 in the I<AWS IoT SiteWise User Guide>.
82  
83  
84 =head2 B<REQUIRED> StartUrl => Str
85  
86 The URL for the AWS IoT SiteWise Monitor portal. You can use this URL
87 to access portals that use AWS SSO for authentication. For portals that
88 use IAM for authentication, you must use the AWS IoT SiteWise console
89 to get a URL that you can use to access the portal.
90  
91  
92 =head2 B<REQUIRED> Status => L<Paws::IoTSiteWise::PortalStatus>
93  
94  
95  
96  
97  
98 =head1 SEE ALSO
99  
100 This class forms part of L<Paws>, describing an object used in L<Paws::IoTSiteWise>
101  
102 =head1 BUGS and CONTRIBUTIONS
103  
104 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
105  
106 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
107  
108 =cut
109