File Coverage

blib/lib/Paws/Batch/AttemptContainerDetail.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Batch::AttemptContainerDetail;
2 1     1   428 use Moose;
  1         3  
  1         6  
3             has ContainerInstanceArn => (is => 'ro', isa => 'Str', request_name => 'containerInstanceArn', traits => ['NameInRequest']);
4             has ExitCode => (is => 'ro', isa => 'Int', request_name => 'exitCode', traits => ['NameInRequest']);
5             has LogStreamName => (is => 'ro', isa => 'Str', request_name => 'logStreamName', traits => ['NameInRequest']);
6             has Reason => (is => 'ro', isa => 'Str', request_name => 'reason', traits => ['NameInRequest']);
7             has TaskArn => (is => 'ro', isa => 'Str', request_name => 'taskArn', traits => ['NameInRequest']);
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::Batch::AttemptContainerDetail
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::Batch::AttemptContainerDetail object:
26              
27             $service_obj->Method(Att1 => { ContainerInstanceArn => $value, ..., TaskArn => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::AttemptContainerDetail object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->ContainerInstanceArn
35              
36             =head1 DESCRIPTION
37              
38             An object representing the details of a container that is part of a job
39             attempt.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 ContainerInstanceArn => Str
45              
46             The Amazon Resource Name (ARN) of the Amazon ECS container instance
47             that hosts the job attempt.
48              
49              
50             =head2 ExitCode => Int
51              
52             The exit code for the job attempt. A non-zero exit code is considered a
53             failure.
54              
55              
56             =head2 LogStreamName => Str
57              
58             The name of the CloudWatch Logs log stream associated with the
59             container. The log group for AWS Batch jobs is C</aws/batch/job>. Each
60             container attempt receives a log stream name when they reach the
61             C<RUNNING> status.
62              
63              
64             =head2 Reason => Str
65              
66             A short (255 max characters) human-readable string to provide
67             additional details about a running or stopped container.
68              
69              
70             =head2 TaskArn => Str
71              
72             The Amazon Resource Name (ARN) of the Amazon ECS task that is
73             associated with the job attempt.
74              
75              
76              
77             =head1 SEE ALSO
78              
79             This class forms part of L<Paws>, describing an object used in L<Paws::Batch>
80              
81             =head1 BUGS and CONTRIBUTIONS
82              
83             The source code is located here: https://github.com/pplu/aws-sdk-perl
84              
85             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
86              
87             =cut
88