blib/lib/Paws/MediaConnect/VpcInterfaceRequest.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MediaConnect::VpcInterfaceRequest;
3 use Moose;
4 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
5 has NetworkInterfaceType => (is => 'ro', isa => 'Str', request_name => 'networkInterfaceType', traits => ['NameInRequest']);
6 has RoleArn => (is => 'ro', isa => 'Str', request_name => 'roleArn', traits => ['NameInRequest'], required => 1);
7 has SecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'securityGroupIds', traits => ['NameInRequest'], required => 1);
8 has SubnetId => (is => 'ro', isa => 'Str', request_name => 'subnetId', traits => ['NameInRequest'], required => 1);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::MediaConnect::VpcInterfaceRequest
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::MediaConnect::VpcInterfaceRequest object:
28  
29 $service_obj->Method(Att1 => { Name => $value, ..., SubnetId => $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::MediaConnect::VpcInterfaceRequest object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->Name
37  
38 =head1 DESCRIPTION
39  
40 Desired VPC Interface for a Flow
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 B<REQUIRED> Name => Str
46  
47 The name of the VPC Interface. This value must be unique within the
48 current flow.
49  
50  
51 =head2 NetworkInterfaceType => Str
52  
53 The type of network interface. If this value is not included in the
54 request, MediaConnect uses ENA as the networkInterfaceType.
55  
56  
57 =head2 B<REQUIRED> RoleArn => Str
58  
59 Role Arn MediaConnect can assumes to create ENIs in customer's account
60  
61  
62 =head2 B<REQUIRED> SecurityGroupIds => ArrayRef[Str|Undef]
63  
64 Security Group IDs to be used on ENI.
65  
66  
67 =head2 B<REQUIRED> SubnetId => Str
68  
69 Subnet must be in the AZ of the Flow
70  
71  
72  
73 =head1 SEE ALSO
74  
75 This class forms part of L<Paws>, describing an object used in L<Paws::MediaConnect>
76  
77 =head1 BUGS and CONTRIBUTIONS
78  
79 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
80  
81 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
82  
83 =cut
84