File Coverage

blib/lib/Paws/EC2/NetworkInterfaceAttachment.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::NetworkInterfaceAttachment;
2 1     1   514 use Moose;
  1     1   3  
  1         7  
  1         419  
  1         3  
  1         5  
3             has AttachmentId => (is => 'ro', isa => 'Str', request_name => 'attachmentId', traits => ['NameInRequest']);
4             has AttachTime => (is => 'ro', isa => 'Str', request_name => 'attachTime', traits => ['NameInRequest']);
5             has DeleteOnTermination => (is => 'ro', isa => 'Bool', request_name => 'deleteOnTermination', traits => ['NameInRequest']);
6             has DeviceIndex => (is => 'ro', isa => 'Int', request_name => 'deviceIndex', traits => ['NameInRequest']);
7             has InstanceId => (is => 'ro', isa => 'Str', request_name => 'instanceId', traits => ['NameInRequest']);
8             has InstanceOwnerId => (is => 'ro', isa => 'Str', request_name => 'instanceOwnerId', traits => ['NameInRequest']);
9             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::EC2::NetworkInterfaceAttachment
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::NetworkInterfaceAttachment object:
28              
29             $service_obj->Method(Att1 => { AttachmentId => $value, ..., Status => $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::NetworkInterfaceAttachment object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->AttachmentId
37              
38             =head1 DESCRIPTION
39              
40             This class has no description
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 AttachmentId => Str
46              
47             The ID of the network interface attachment.
48              
49              
50             =head2 AttachTime => Str
51              
52             The timestamp indicating when the attachment initiated.
53              
54              
55             =head2 DeleteOnTermination => Bool
56              
57             Indicates whether the network interface is deleted when the instance is
58             terminated.
59              
60              
61             =head2 DeviceIndex => Int
62              
63             The device index of the network interface attachment on the instance.
64              
65              
66             =head2 InstanceId => Str
67              
68             The ID of the instance.
69              
70              
71             =head2 InstanceOwnerId => Str
72              
73             The AWS account ID of the owner of the instance.
74              
75              
76             =head2 Status => Str
77              
78             The attachment state.
79              
80              
81              
82             =head1 SEE ALSO
83              
84             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
85              
86             =head1 BUGS and CONTRIBUTIONS
87              
88             The source code is located here: https://github.com/pplu/aws-sdk-perl
89              
90             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
91              
92             =cut