File Coverage

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