File Coverage

blib/lib/Paws/DirectConnect/AllocateHostedConnection.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::AllocateHostedConnection;
3 1     1   387 use Moose;
  1         3  
  1         7  
4             has Bandwidth => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'bandwidth' , required => 1);
5             has ConnectionId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'connectionId' , required => 1);
6             has ConnectionName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'connectionName' , required => 1);
7             has OwnerAccount => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'ownerAccount' , required => 1);
8             has Vlan => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'vlan' , required => 1);
9              
10 1     1   6578 use MooseX::ClassAttribute;
  1         2  
  1         10  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'AllocateHostedConnection');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DirectConnect::Connection');
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::AllocateHostedConnection - Arguments for method AllocateHostedConnection on Paws::DirectConnect
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method AllocateHostedConnection on the
26             AWS Direct Connect service. Use the attributes of this class
27             as arguments to method AllocateHostedConnection.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AllocateHostedConnection.
30              
31             As an example:
32              
33             $service_obj->AllocateHostedConnection(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 B<REQUIRED> Bandwidth => Str
41              
42             The bandwidth of the connection.
43              
44             Example: C<500Mbps>
45              
46             Default: None
47              
48             Values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps
49              
50              
51              
52             =head2 B<REQUIRED> ConnectionId => Str
53              
54             The ID of the interconnect or LAG on which the connection will be
55             provisioned.
56              
57             Example: dxcon-456abc78 or dxlag-abc123
58              
59             Default: None
60              
61              
62              
63             =head2 B<REQUIRED> ConnectionName => Str
64              
65             The name of the provisioned connection.
66              
67             Example: "C<500M Connection to AWS>"
68              
69             Default: None
70              
71              
72              
73             =head2 B<REQUIRED> OwnerAccount => Str
74              
75             The numeric account ID of the customer for whom the connection will be
76             provisioned.
77              
78             Example: 123443215678
79              
80             Default: None
81              
82              
83              
84             =head2 B<REQUIRED> Vlan => Int
85              
86             The dedicated VLAN provisioned to the hosted connection.
87              
88             Example: 101
89              
90             Default: None
91              
92              
93              
94              
95             =head1 SEE ALSO
96              
97             This class forms part of L<Paws>, documenting arguments for method AllocateHostedConnection in L<Paws::DirectConnect>
98              
99             =head1 BUGS and CONTRIBUTIONS
100              
101             The source code is located here: https://github.com/pplu/aws-sdk-perl
102              
103             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
104              
105             =cut
106