line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::ECS::Task; |
2
|
1
|
|
|
1
|
|
307
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
3
|
|
|
|
|
|
|
has ClusterArn => (is => 'ro', isa => 'Str', request_name => 'clusterArn', traits => ['NameInRequest']); |
4
|
|
|
|
|
|
|
has ContainerInstanceArn => (is => 'ro', isa => 'Str', request_name => 'containerInstanceArn', traits => ['NameInRequest']); |
5
|
|
|
|
|
|
|
has Containers => (is => 'ro', isa => 'ArrayRef[Paws::ECS::Container]', request_name => 'containers', traits => ['NameInRequest']); |
6
|
|
|
|
|
|
|
has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']); |
7
|
|
|
|
|
|
|
has DesiredStatus => (is => 'ro', isa => 'Str', request_name => 'desiredStatus', traits => ['NameInRequest']); |
8
|
|
|
|
|
|
|
has Group => (is => 'ro', isa => 'Str', request_name => 'group', traits => ['NameInRequest']); |
9
|
|
|
|
|
|
|
has LastStatus => (is => 'ro', isa => 'Str', request_name => 'lastStatus', traits => ['NameInRequest']); |
10
|
|
|
|
|
|
|
has Overrides => (is => 'ro', isa => 'Paws::ECS::TaskOverride', request_name => 'overrides', traits => ['NameInRequest']); |
11
|
|
|
|
|
|
|
has StartedAt => (is => 'ro', isa => 'Str', request_name => 'startedAt', traits => ['NameInRequest']); |
12
|
|
|
|
|
|
|
has StartedBy => (is => 'ro', isa => 'Str', request_name => 'startedBy', traits => ['NameInRequest']); |
13
|
|
|
|
|
|
|
has StoppedAt => (is => 'ro', isa => 'Str', request_name => 'stoppedAt', traits => ['NameInRequest']); |
14
|
|
|
|
|
|
|
has StoppedReason => (is => 'ro', isa => 'Str', request_name => 'stoppedReason', traits => ['NameInRequest']); |
15
|
|
|
|
|
|
|
has TaskArn => (is => 'ro', isa => 'Str', request_name => 'taskArn', traits => ['NameInRequest']); |
16
|
|
|
|
|
|
|
has TaskDefinitionArn => (is => 'ro', isa => 'Str', request_name => 'taskDefinitionArn', traits => ['NameInRequest']); |
17
|
|
|
|
|
|
|
has Version => (is => 'ro', isa => 'Int', request_name => 'version', traits => ['NameInRequest']); |
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
### main pod documentation begin ### |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 NAME |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Paws::ECS::Task |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 USAGE |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
This class represents one of two things: |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
33
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::ECS::Task object: |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { ClusterArn => $value, ..., Version => $value }); |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head3 Results returned from an API call |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::Task object: |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
44
|
|
|
|
|
|
|
$result->Att1->ClusterArn |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 DESCRIPTION |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Details on a task in a cluster. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head2 ClusterArn => Str |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
The Amazon Resource Name (ARN) of the cluster that hosts the task. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head2 ContainerInstanceArn => Str |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
The Amazon Resource Name (ARN) of the container instances that host the |
61
|
|
|
|
|
|
|
task. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head2 Containers => ArrayRef[L<Paws::ECS::Container>] |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
The containers associated with the task. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head2 CreatedAt => Str |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
The Unix timestamp for when the task was created (the task entered the |
72
|
|
|
|
|
|
|
C<PENDING> state). |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 DesiredStatus => Str |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
The desired status of the task. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head2 Group => Str |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
The name of the task group associated with the task. |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head2 LastStatus => Str |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
The last known status of the task. |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 Overrides => L<Paws::ECS::TaskOverride> |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
One or more container overrides. |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head2 StartedAt => Str |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
The Unix timestamp for when the task was started (the task transitioned |
98
|
|
|
|
|
|
|
from the C<PENDING> state to the C<RUNNING> state). |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head2 StartedBy => Str |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
The tag specified when a task is started. If the task is started by an |
104
|
|
|
|
|
|
|
Amazon ECS service, then the C<startedBy> parameter contains the |
105
|
|
|
|
|
|
|
deployment ID of the service that starts it. |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=head2 StoppedAt => Str |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
The Unix timestamp for when the task was stopped (the task transitioned |
111
|
|
|
|
|
|
|
from the C<RUNNING> state to the C<STOPPED> state). |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=head2 StoppedReason => Str |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
The reason the task was stopped. |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=head2 TaskArn => Str |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
The Amazon Resource Name (ARN) of the task. |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=head2 TaskDefinitionArn => Str |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
The Amazon Resource Name (ARN) of the task definition that creates the |
127
|
|
|
|
|
|
|
task. |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=head2 Version => Int |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
The version counter for the task. Every time a task experiences a |
133
|
|
|
|
|
|
|
change that triggers a CloudWatch event, the version counter is |
134
|
|
|
|
|
|
|
incremented. If you are replicating your Amazon ECS task state with |
135
|
|
|
|
|
|
|
CloudWatch events, you can compare the version of a task reported by |
136
|
|
|
|
|
|
|
the Amazon ECS APIs with the version reported in CloudWatch events for |
137
|
|
|
|
|
|
|
the task (inside the C<detail> object) to verify that the version in |
138
|
|
|
|
|
|
|
your event stream is current. |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
=head1 SEE ALSO |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::ECS> |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=cut |
153
|
|
|
|
|
|
|
|