File Coverage

blib/lib/Paws/DeviceFarm/CreateNetworkProfile.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::CreateNetworkProfile;
3 1     1   523 use Moose;
  1         3  
  1         8  
4             has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description' );
5             has DownlinkBandwidthBits => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'downlinkBandwidthBits' );
6             has DownlinkDelayMs => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'downlinkDelayMs' );
7             has DownlinkJitterMs => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'downlinkJitterMs' );
8             has DownlinkLossPercent => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'downlinkLossPercent' );
9             has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name' , required => 1);
10             has ProjectArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'projectArn' , required => 1);
11             has Type => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'type' );
12             has UplinkBandwidthBits => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'uplinkBandwidthBits' );
13             has UplinkDelayMs => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'uplinkDelayMs' );
14             has UplinkJitterMs => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'uplinkJitterMs' );
15             has UplinkLossPercent => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'uplinkLossPercent' );
16              
17 1     1   6328 use MooseX::ClassAttribute;
  1         2  
  1         18  
18              
19             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateNetworkProfile');
20             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DeviceFarm::CreateNetworkProfileResult');
21             class_has _result_key => (isa => 'Str', is => 'ro');
22             1;
23              
24             ### main pod documentation begin ###
25              
26             =head1 NAME
27              
28             Paws::DeviceFarm::CreateNetworkProfile - Arguments for method CreateNetworkProfile on Paws::DeviceFarm
29              
30             =head1 DESCRIPTION
31              
32             This class represents the parameters used for calling the method CreateNetworkProfile on the
33             AWS Device Farm service. Use the attributes of this class
34             as arguments to method CreateNetworkProfile.
35              
36             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateNetworkProfile.
37              
38             As an example:
39              
40             $service_obj->CreateNetworkProfile(Att1 => $value1, Att2 => $value2, ...);
41              
42             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.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 Description => Str
48              
49             The description of the network profile.
50              
51              
52              
53             =head2 DownlinkBandwidthBits => Int
54              
55             The data throughput rate in bits per second, as an integer from 0 to
56             104857600.
57              
58              
59              
60             =head2 DownlinkDelayMs => Int
61              
62             Delay time for all packets to destination in milliseconds as an integer
63             from 0 to 2000.
64              
65              
66              
67             =head2 DownlinkJitterMs => Int
68              
69             Time variation in the delay of received packets in milliseconds as an
70             integer from 0 to 2000.
71              
72              
73              
74             =head2 DownlinkLossPercent => Int
75              
76             Proportion of received packets that fail to arrive from 0 to 100
77             percent.
78              
79              
80              
81             =head2 B<REQUIRED> Name => Str
82              
83             The name you wish to specify for the new network profile.
84              
85              
86              
87             =head2 B<REQUIRED> ProjectArn => Str
88              
89             The Amazon Resource Name (ARN) of the project for which you want to
90             create a network profile.
91              
92              
93              
94             =head2 Type => Str
95              
96             The type of network profile you wish to create. Valid values are listed
97             below.
98              
99             Valid values are: C<"CURATED">, C<"PRIVATE">
100              
101             =head2 UplinkBandwidthBits => Int
102              
103             The data throughput rate in bits per second, as an integer from 0 to
104             104857600.
105              
106              
107              
108             =head2 UplinkDelayMs => Int
109              
110             Delay time for all packets to destination in milliseconds as an integer
111             from 0 to 2000.
112              
113              
114              
115             =head2 UplinkJitterMs => Int
116              
117             Time variation in the delay of received packets in milliseconds as an
118             integer from 0 to 2000.
119              
120              
121              
122             =head2 UplinkLossPercent => Int
123              
124             Proportion of transmitted packets that fail to arrive from 0 to 100
125             percent.
126              
127              
128              
129              
130             =head1 SEE ALSO
131              
132             This class forms part of L<Paws>, documenting arguments for method CreateNetworkProfile in L<Paws::DeviceFarm>
133              
134             =head1 BUGS and CONTRIBUTIONS
135              
136             The source code is located here: https://github.com/pplu/aws-sdk-perl
137              
138             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
139              
140             =cut
141