File Coverage

blib/lib/Paws/EC2/Vpc.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             package Paws::EC2::Vpc;
2 1     1   304 use Moose;
  1     1   3  
  1         5  
  1         582  
  1         2  
  1         9  
3             has CidrBlock => (is => 'ro', isa => 'Str', request_name => 'cidrBlock', traits => ['NameInRequest']);
4             has CidrBlockAssociationSet => (is => 'ro', isa => 'ArrayRef[Paws::EC2::VpcCidrBlockAssociation]', request_name => 'cidrBlockAssociationSet', traits => ['NameInRequest']);
5             has DhcpOptionsId => (is => 'ro', isa => 'Str', request_name => 'dhcpOptionsId', traits => ['NameInRequest']);
6             has InstanceTenancy => (is => 'ro', isa => 'Str', request_name => 'instanceTenancy', traits => ['NameInRequest']);
7             has Ipv6CidrBlockAssociationSet => (is => 'ro', isa => 'ArrayRef[Paws::EC2::VpcIpv6CidrBlockAssociation]', request_name => 'ipv6CidrBlockAssociationSet', traits => ['NameInRequest']);
8             has IsDefault => (is => 'ro', isa => 'Bool', request_name => 'isDefault', traits => ['NameInRequest']);
9             has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
10             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']);
11             has VpcId => (is => 'ro', isa => 'Str', request_name => 'vpcId', traits => ['NameInRequest']);
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::EC2::Vpc
19              
20             =head1 USAGE
21              
22             This class represents one of two things:
23              
24             =head3 Arguments in a call to a service
25              
26             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27             Each attribute should be used as a named argument in the calls that expect this type of object.
28              
29             As an example, if Att1 is expected to be a Paws::EC2::Vpc object:
30              
31             $service_obj->Method(Att1 => { CidrBlock => $value, ..., VpcId => $value });
32              
33             =head3 Results returned from an API call
34              
35             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::Vpc object:
36              
37             $result = $service_obj->Method(...);
38             $result->Att1->CidrBlock
39              
40             =head1 DESCRIPTION
41              
42             This class has no description
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 CidrBlock => Str
48              
49             The primary IPv4 CIDR block for the VPC.
50              
51              
52             =head2 CidrBlockAssociationSet => ArrayRef[L<Paws::EC2::VpcCidrBlockAssociation>]
53              
54             Information about the IPv4 CIDR blocks associated with the VPC.
55              
56              
57             =head2 DhcpOptionsId => Str
58              
59             The ID of the set of DHCP options you've associated with the VPC (or
60             C<default> if the default options are associated with the VPC).
61              
62              
63             =head2 InstanceTenancy => Str
64              
65             The allowed tenancy of instances launched into the VPC.
66              
67              
68             =head2 Ipv6CidrBlockAssociationSet => ArrayRef[L<Paws::EC2::VpcIpv6CidrBlockAssociation>]
69              
70             Information about the IPv6 CIDR blocks associated with the VPC.
71              
72              
73             =head2 IsDefault => Bool
74              
75             Indicates whether the VPC is the default VPC.
76              
77              
78             =head2 State => Str
79              
80             The current state of the VPC.
81              
82              
83             =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
84              
85             Any tags assigned to the VPC.
86              
87              
88             =head2 VpcId => Str
89              
90             The ID of the VPC.
91              
92              
93              
94             =head1 SEE ALSO
95              
96             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
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