blib/lib/Paws/Transfer/ListedUser.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::Transfer::ListedUser;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', required => 1);
5 has HomeDirectory => (is => 'ro', isa => 'Str');
6 has HomeDirectoryType => (is => 'ro', isa => 'Str');
7 has Role => (is => 'ro', isa => 'Str');
8 has SshPublicKeyCount => (is => 'ro', isa => 'Int');
9 has UserName => (is => 'ro', isa => 'Str');
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::Transfer::ListedUser
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::Transfer::ListedUser object:
29  
30 $service_obj->Method(Att1 => { Arn => $value, ..., UserName => $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::Transfer::ListedUser object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->Arn
38  
39 =head1 DESCRIPTION
40  
41 Returns properties of the user that you specify.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 B<REQUIRED> Arn => Str
47  
48 Provides the unique Amazon Resource Name (ARN) for the user that you
49 want to learn about.
50  
51  
52 =head2 HomeDirectory => Str
53  
54 The landing directory (folder) for a user when they log in to the
55 server using the client.
56  
57 A C<HomeDirectory> example is C</bucket_name/home/mydirectory>.
58  
59  
60 =head2 HomeDirectoryType => Str
61  
62 The type of landing directory (folder) you want your users' home
63 directory to be when they log into the server. If you set it to
64 C<PATH>, the user will see the absolute Amazon S3 bucket or EFS paths
65 as is in their file transfer protocol clients. If you set it
66 C<LOGICAL>, you will need to provide mappings in the
67 C<HomeDirectoryMappings> for how you want to make Amazon S3 or EFS
68 paths visible to your users.
69  
70  
71 =head2 Role => Str
72  
73 Specifies the Amazon Resource Name (ARN) of the IAM role that controls
74 your users' access to your Amazon S3 bucket or EFS file system. The
75 policies attached to this role determine the level of access that you
76 want to provide your users when transferring files into and out of your
77 Amazon S3 bucket or EFS file system. The IAM role should also contain a
78 trust relationship that allows the server to access your resources when
79 servicing your users' transfer requests.
80  
81 The IAM role that controls your users' access to your Amazon S3 bucket
82 for servers with C<Domain=S3>, or your EFS file system for servers with
83 C<Domain=EFS>.
84  
85 The policies attached to this role determine the level of access you
86 want to provide your users when transferring files into and out of your
87 S3 buckets or EFS file systems.
88  
89  
90 =head2 SshPublicKeyCount => Int
91  
92 Specifies the number of SSH public keys stored for the user you
93 specified.
94  
95  
96 =head2 UserName => Str
97  
98 Specifies the name of the user whose ARN was specified. User names are
99 used for authentication purposes.
100  
101  
102  
103 =head1 SEE ALSO
104  
105 This class forms part of L<Paws>, describing an object used in L<Paws::Transfer>
106  
107 =head1 BUGS and CONTRIBUTIONS
108  
109 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
110  
111 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
112  
113 =cut
114