File Coverage

blib/lib/Paws/EC2/UserIdGroupPair.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::UserIdGroupPair;
2 1     1   369 use Moose;
  1     1   2  
  1         6  
  1         617  
  1         3  
  1         1602  
3             has GroupId => (is => 'ro', isa => 'Str', request_name => 'groupId', traits => ['NameInRequest']);
4             has GroupName => (is => 'ro', isa => 'Str', request_name => 'groupName', traits => ['NameInRequest']);
5             has PeeringStatus => (is => 'ro', isa => 'Str', request_name => 'peeringStatus', traits => ['NameInRequest']);
6             has UserId => (is => 'ro', isa => 'Str', request_name => 'userId', traits => ['NameInRequest']);
7             has VpcId => (is => 'ro', isa => 'Str', request_name => 'vpcId', traits => ['NameInRequest']);
8             has VpcPeeringConnectionId => (is => 'ro', isa => 'Str', request_name => 'vpcPeeringConnectionId', traits => ['NameInRequest']);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::EC2::UserIdGroupPair
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::EC2::UserIdGroupPair object:
27              
28             $service_obj->Method(Att1 => { GroupId => $value, ..., VpcPeeringConnectionId => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::UserIdGroupPair object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->GroupId
36              
37             =head1 DESCRIPTION
38              
39             This class has no description
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 GroupId => Str
45              
46             The ID of the security group.
47              
48              
49             =head2 GroupName => Str
50              
51             The name of the security group. In a request, use this parameter for a
52             security group in EC2-Classic or a default VPC only. For a security
53             group in a nondefault VPC, use the security group ID.
54              
55              
56             =head2 PeeringStatus => Str
57              
58             The status of a VPC peering connection, if applicable.
59              
60              
61             =head2 UserId => Str
62              
63             The ID of an AWS account. For a referenced security group in another
64             VPC, the account ID of the referenced security group is returned.
65              
66             [EC2-Classic] Required when adding or removing rules that reference a
67             security group in another AWS account.
68              
69              
70             =head2 VpcId => Str
71              
72             The ID of the VPC for the referenced security group, if applicable.
73              
74              
75             =head2 VpcPeeringConnectionId => Str
76              
77             The ID of the VPC peering connection, if applicable.
78              
79              
80              
81             =head1 SEE ALSO
82              
83             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
84              
85             =head1 BUGS and CONTRIBUTIONS
86              
87             The source code is located here: https://github.com/pplu/aws-sdk-perl
88              
89             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
90              
91             =cut