File Coverage

blib/lib/Paws/DirectConnect/CreateLag.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::DirectConnect::CreateLag;
3 1     1   426 use Moose;
  1         2  
  1         10  
4             has ConnectionId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'connectionId' );
5             has ConnectionsBandwidth => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'connectionsBandwidth' , required => 1);
6             has LagName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'lagName' , required => 1);
7             has Location => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'location' , required => 1);
8             has NumberOfConnections => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'numberOfConnections' , required => 1);
9              
10 1     1   6205 use MooseX::ClassAttribute;
  1         2  
  1         9  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateLag');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DirectConnect::Lag');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::DirectConnect::CreateLag - Arguments for method CreateLag on Paws::DirectConnect
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method CreateLag on the
26             AWS Direct Connect service. Use the attributes of this class
27             as arguments to method CreateLag.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateLag.
30              
31             As an example:
32              
33             $service_obj->CreateLag(Att1 => $value1, Att2 => $value2, ...);
34              
35             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.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 ConnectionId => Str
41              
42             The ID of an existing connection to migrate to the LAG.
43              
44             Default: None
45              
46              
47              
48             =head2 B<REQUIRED> ConnectionsBandwidth => Str
49              
50             The bandwidth of the individual physical connections bundled by the
51             LAG.
52              
53             Default: None
54              
55             Available values: 1Gbps, 10Gbps
56              
57              
58              
59             =head2 B<REQUIRED> LagName => Str
60              
61             The name of the LAG.
62              
63             Example: "C<3x10G LAG to AWS>"
64              
65             Default: None
66              
67              
68              
69             =head2 B<REQUIRED> Location => Str
70              
71             The AWS Direct Connect location in which the LAG should be allocated.
72              
73             Example: EqSV5
74              
75             Default: None
76              
77              
78              
79             =head2 B<REQUIRED> NumberOfConnections => Int
80              
81             The number of physical connections initially provisioned and bundled by
82             the LAG.
83              
84             Default: None
85              
86              
87              
88              
89             =head1 SEE ALSO
90              
91             This class forms part of L<Paws>, documenting arguments for method CreateLag in L<Paws::DirectConnect>
92              
93             =head1 BUGS and CONTRIBUTIONS
94              
95             The source code is located here: https://github.com/pplu/aws-sdk-perl
96              
97             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
98              
99             =cut
100