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