blib/lib/Paws/ECS/Container.pm untested

filter: Statementstmt 0.0% 0 / 37 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 38 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ECS::Container;
3 use Moose;
4 has ContainerArn => (is => 'ro', isa => 'Str', request_name => 'containerArn', traits => ['NameInRequest']);
5 has Cpu => (is => 'ro', isa => 'Str', request_name => 'cpu', traits => ['NameInRequest']);
6 has ExitCode => (is => 'ro', isa => 'Int', request_name => 'exitCode', traits => ['NameInRequest']);
7 has GpuIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'gpuIds', traits => ['NameInRequest']);
8 has HealthStatus => (is => 'ro', isa => 'Str', request_name => 'healthStatus', traits => ['NameInRequest']);
9 has Image => (is => 'ro', isa => 'Str', request_name => 'image', traits => ['NameInRequest']);
10 has ImageDigest => (is => 'ro', isa => 'Str', request_name => 'imageDigest', traits => ['NameInRequest']);
11 has LastStatus => (is => 'ro', isa => 'Str', request_name => 'lastStatus', traits => ['NameInRequest']);
12 has ManagedAgents => (is => 'ro', isa => 'ArrayRef[Paws::ECS::ManagedAgent]', request_name => 'managedAgents', traits => ['NameInRequest']);
13 has Memory => (is => 'ro', isa => 'Str', request_name => 'memory', traits => ['NameInRequest']);
14 has MemoryReservation => (is => 'ro', isa => 'Str', request_name => 'memoryReservation', traits => ['NameInRequest']);
15 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
16 has NetworkBindings => (is => 'ro', isa => 'ArrayRef[Paws::ECS::NetworkBinding]', request_name => 'networkBindings', traits => ['NameInRequest']);
17 has NetworkInterfaces => (is => 'ro', isa => 'ArrayRef[Paws::ECS::NetworkInterface]', request_name => 'networkInterfaces', traits => ['NameInRequest']);
18 has Reason => (is => 'ro', isa => 'Str', request_name => 'reason', traits => ['NameInRequest']);
19 has RuntimeId => (is => 'ro', isa => 'Str', request_name => 'runtimeId', traits => ['NameInRequest']);
20 has TaskArn => (is => 'ro', isa => 'Str', request_name => 'taskArn', traits => ['NameInRequest']);
21  
22 1;
23  
24 ### main pod documentation begin ###
25  
26 =head1 NAME
27  
28 Paws::ECS::Container
29  
30 =head1 USAGE
31  
32 This class represents one of two things:
33  
34 =head3 Arguments in a call to a service
35  
36 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
37 Each attribute should be used as a named argument in the calls that expect this type of object.
38  
39 As an example, if Att1 is expected to be a Paws::ECS::Container object:
40  
41 $service_obj->Method(Att1 => { ContainerArn => $value, ..., TaskArn => $value });
42  
43 =head3 Results returned from an API call
44  
45 Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::Container object:
46  
47 $result = $service_obj->Method(...);
48 $result->Att1->ContainerArn
49  
50 =head1 DESCRIPTION
51  
52 A Docker container that is part of a task.
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 ContainerArn => Str
58  
59 The Amazon Resource Name (ARN) of the container.
60  
61  
62 =head2 Cpu => Str
63  
64 The number of CPU units set for the container. The value will be C<0>
65 if no value was specified in the container definition when the task
66 definition was registered.
67  
68  
69 =head2 ExitCode => Int
70  
71 The exit code returned from the container.
72  
73  
74 =head2 GpuIds => ArrayRef[Str|Undef]
75  
76 The IDs of each GPU assigned to the container.
77  
78  
79 =head2 HealthStatus => Str
80  
81 The health status of the container. If health checks are not configured
82 for this container in its task definition, then it reports the health
83 status as C<UNKNOWN>.
84  
85  
86 =head2 Image => Str
87  
88 The image used for the container.
89  
90  
91 =head2 ImageDigest => Str
92  
93 The container image manifest digest.
94  
95 The C<imageDigest> is only returned if the container is using an image
96 hosted in Amazon ECR, otherwise it is omitted.
97  
98  
99 =head2 LastStatus => Str
100  
101 The last known status of the container.
102  
103  
104 =head2 ManagedAgents => ArrayRef[L<Paws::ECS::ManagedAgent>]
105  
106 The details of any Amazon ECS managed agents associated with the
107 container.
108  
109  
110 =head2 Memory => Str
111  
112 The hard limit (in MiB) of memory set for the container.
113  
114  
115 =head2 MemoryReservation => Str
116  
117 The soft limit (in MiB) of memory set for the container.
118  
119  
120 =head2 Name => Str
121  
122 The name of the container.
123  
124  
125 =head2 NetworkBindings => ArrayRef[L<Paws::ECS::NetworkBinding>]
126  
127 The network bindings associated with the container.
128  
129  
130 =head2 NetworkInterfaces => ArrayRef[L<Paws::ECS::NetworkInterface>]
131  
132 The network interfaces associated with the container.
133  
134  
135 =head2 Reason => Str
136  
137 A short (255 max characters) human-readable string to provide
138 additional details about a running or stopped container.
139  
140  
141 =head2 RuntimeId => Str
142  
143 The ID of the Docker container.
144  
145  
146 =head2 TaskArn => Str
147  
148 The ARN of the task.
149  
150  
151  
152 =head1 SEE ALSO
153  
154 This class forms part of L<Paws>, describing an object used in L<Paws::ECS>
155  
156 =head1 BUGS and CONTRIBUTIONS
157  
158 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
159  
160 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
161  
162 =cut
163