File Coverage

blib/lib/Paws/EC2/SecurityGroup.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::SecurityGroup;
2 1     1   374 use Moose;
  1     1   3  
  1         7  
  1         605  
  1         3  
  1         8  
3             has Description => (is => 'ro', isa => 'Str', request_name => 'groupDescription', traits => ['NameInRequest']);
4             has GroupId => (is => 'ro', isa => 'Str', request_name => 'groupId', traits => ['NameInRequest']);
5             has GroupName => (is => 'ro', isa => 'Str', request_name => 'groupName', traits => ['NameInRequest']);
6             has IpPermissions => (is => 'ro', isa => 'ArrayRef[Paws::EC2::IpPermission]', request_name => 'ipPermissions', traits => ['NameInRequest']);
7             has IpPermissionsEgress => (is => 'ro', isa => 'ArrayRef[Paws::EC2::IpPermission]', request_name => 'ipPermissionsEgress', traits => ['NameInRequest']);
8             has OwnerId => (is => 'ro', isa => 'Str', request_name => 'ownerId', traits => ['NameInRequest']);
9             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']);
10             has VpcId => (is => 'ro', isa => 'Str', request_name => 'vpcId', traits => ['NameInRequest']);
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::EC2::SecurityGroup
18              
19             =head1 USAGE
20              
21             This class represents one of two things:
22              
23             =head3 Arguments in a call to a service
24              
25             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26             Each attribute should be used as a named argument in the calls that expect this type of object.
27              
28             As an example, if Att1 is expected to be a Paws::EC2::SecurityGroup object:
29              
30             $service_obj->Method(Att1 => { Description => $value, ..., VpcId => $value });
31              
32             =head3 Results returned from an API call
33              
34             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::SecurityGroup object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->Description
38              
39             =head1 DESCRIPTION
40              
41             This class has no description
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 Description => Str
47              
48             A description of the security group.
49              
50              
51             =head2 GroupId => Str
52              
53             The ID of the security group.
54              
55              
56             =head2 GroupName => Str
57              
58             The name of the security group.
59              
60              
61             =head2 IpPermissions => ArrayRef[L<Paws::EC2::IpPermission>]
62              
63             One or more inbound rules associated with the security group.
64              
65              
66             =head2 IpPermissionsEgress => ArrayRef[L<Paws::EC2::IpPermission>]
67              
68             [EC2-VPC] One or more outbound rules associated with the security
69             group.
70              
71              
72             =head2 OwnerId => Str
73              
74             The AWS account ID of the owner of the security group.
75              
76              
77             =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
78              
79             Any tags assigned to the security group.
80              
81              
82             =head2 VpcId => Str
83              
84             [EC2-VPC] The ID of the VPC for the security group.
85              
86              
87              
88             =head1 SEE ALSO
89              
90             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
91              
92             =head1 BUGS and CONTRIBUTIONS
93              
94             The source code is located here: https://github.com/pplu/aws-sdk-perl
95              
96             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
97              
98             =cut