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

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 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::Identity;
3 use Moose;
4 has Group => (is => 'ro', isa => 'Paws::IoTSiteWise::GroupIdentity', request_name => 'group', traits => ['NameInRequest']);
5 has IamRole => (is => 'ro', isa => 'Paws::IoTSiteWise::IAMRoleIdentity', request_name => 'iamRole', traits => ['NameInRequest']);
6 has IamUser => (is => 'ro', isa => 'Paws::IoTSiteWise::IAMUserIdentity', request_name => 'iamUser', traits => ['NameInRequest']);
7 has User => (is => 'ro', isa => 'Paws::IoTSiteWise::UserIdentity', request_name => 'user', traits => ['NameInRequest']);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::IoTSiteWise::Identity
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::IoTSiteWise::Identity object:
27  
28 $service_obj->Method(Att1 => { Group => $value, ..., User => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::IoTSiteWise::Identity object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->Group
36  
37 =head1 DESCRIPTION
38  
39 Contains an identity that can access an AWS IoT SiteWise Monitor
40 resource.
41  
42 Currently, you can't use AWS APIs to retrieve AWS SSO identity IDs. You
43 can find the AWS SSO identity IDs in the URL of user and group pages in
44 the AWS SSO console (https://console.aws.amazon.com/singlesignon).
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 Group => L<Paws::IoTSiteWise::GroupIdentity>
50  
51 An AWS SSO group identity.
52  
53  
54 =head2 IamRole => L<Paws::IoTSiteWise::IAMRoleIdentity>
55  
56 An IAM role identity.
57  
58  
59 =head2 IamUser => L<Paws::IoTSiteWise::IAMUserIdentity>
60  
61 An IAM user identity.
62  
63  
64 =head2 User => L<Paws::IoTSiteWise::UserIdentity>
65  
66 An AWS SSO user identity.
67  
68  
69  
70 =head1 SEE ALSO
71  
72 This class forms part of L<Paws>, describing an object used in L<Paws::IoTSiteWise>
73  
74 =head1 BUGS and CONTRIBUTIONS
75  
76 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
77  
78 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
79  
80 =cut
81