File Coverage

blib/lib/Paws/DeviceFarm/CreateRemoteAccessSession.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::DeviceFarm::CreateRemoteAccessSession;
3 1     1   511 use Moose;
  1         2  
  1         8  
4             has ClientId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientId' );
5             has Configuration => (is => 'ro', isa => 'Paws::DeviceFarm::CreateRemoteAccessSessionConfiguration', traits => ['NameInRequest'], request_name => 'configuration' );
6             has DeviceArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'deviceArn' , required => 1);
7             has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name' );
8             has ProjectArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'projectArn' , required => 1);
9             has RemoteDebugEnabled => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'remoteDebugEnabled' );
10             has SshPublicKey => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'sshPublicKey' );
11              
12 1     1   6617 use MooseX::ClassAttribute;
  1         2  
  1         11  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateRemoteAccessSession');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DeviceFarm::CreateRemoteAccessSessionResult');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::DeviceFarm::CreateRemoteAccessSession - Arguments for method CreateRemoteAccessSession on Paws::DeviceFarm
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method CreateRemoteAccessSession on the
28             AWS Device Farm service. Use the attributes of this class
29             as arguments to method CreateRemoteAccessSession.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateRemoteAccessSession.
32              
33             As an example:
34              
35             $service_obj->CreateRemoteAccessSession(Att1 => $value1, Att2 => $value2, ...);
36              
37             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 ClientId => Str
43              
44             Unique identifier for the client. If you want access to multiple
45             devices on the same client, you should pass the same C<clientId> value
46             in each call to C<CreateRemoteAccessSession>. This is required only if
47             C<remoteDebugEnabled> is set to true C<true>.
48              
49              
50              
51             =head2 Configuration => L<Paws::DeviceFarm::CreateRemoteAccessSessionConfiguration>
52              
53             The configuration information for the remote access session request.
54              
55              
56              
57             =head2 B<REQUIRED> DeviceArn => Str
58              
59             The Amazon Resource Name (ARN) of the device for which you want to
60             create a remote access session.
61              
62              
63              
64             =head2 Name => Str
65              
66             The name of the remote access session that you wish to create.
67              
68              
69              
70             =head2 B<REQUIRED> ProjectArn => Str
71              
72             The Amazon Resource Name (ARN) of the project for which you want to
73             create a remote access session.
74              
75              
76              
77             =head2 RemoteDebugEnabled => Bool
78              
79             Set to C<true> if you want to access devices remotely for debugging in
80             your remote access session.
81              
82              
83              
84             =head2 SshPublicKey => Str
85              
86             The public key of the C<ssh> key pair you want to use for connecting to
87             remote devices in your remote debugging session. This is only required
88             if C<remoteDebugEnabled> is set to C<true>.
89              
90              
91              
92              
93             =head1 SEE ALSO
94              
95             This class forms part of L<Paws>, documenting arguments for method CreateRemoteAccessSession in L<Paws::DeviceFarm>
96              
97             =head1 BUGS and CONTRIBUTIONS
98              
99             The source code is located here: https://github.com/pplu/aws-sdk-perl
100              
101             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
102              
103             =cut
104