line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::ECS::Service; |
2
|
1
|
|
|
1
|
|
431
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
19
|
|
3
|
|
|
|
|
|
|
has ClusterArn => (is => 'ro', isa => 'Str', request_name => 'clusterArn', traits => ['NameInRequest']); |
4
|
|
|
|
|
|
|
has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']); |
5
|
|
|
|
|
|
|
has DeploymentConfiguration => (is => 'ro', isa => 'Paws::ECS::DeploymentConfiguration', request_name => 'deploymentConfiguration', traits => ['NameInRequest']); |
6
|
|
|
|
|
|
|
has Deployments => (is => 'ro', isa => 'ArrayRef[Paws::ECS::Deployment]', request_name => 'deployments', traits => ['NameInRequest']); |
7
|
|
|
|
|
|
|
has DesiredCount => (is => 'ro', isa => 'Int', request_name => 'desiredCount', traits => ['NameInRequest']); |
8
|
|
|
|
|
|
|
has Events => (is => 'ro', isa => 'ArrayRef[Paws::ECS::ServiceEvent]', request_name => 'events', traits => ['NameInRequest']); |
9
|
|
|
|
|
|
|
has LoadBalancers => (is => 'ro', isa => 'ArrayRef[Paws::ECS::LoadBalancer]', request_name => 'loadBalancers', traits => ['NameInRequest']); |
10
|
|
|
|
|
|
|
has PendingCount => (is => 'ro', isa => 'Int', request_name => 'pendingCount', traits => ['NameInRequest']); |
11
|
|
|
|
|
|
|
has PlacementConstraints => (is => 'ro', isa => 'ArrayRef[Paws::ECS::PlacementConstraint]', request_name => 'placementConstraints', traits => ['NameInRequest']); |
12
|
|
|
|
|
|
|
has PlacementStrategy => (is => 'ro', isa => 'ArrayRef[Paws::ECS::PlacementStrategy]', request_name => 'placementStrategy', traits => ['NameInRequest']); |
13
|
|
|
|
|
|
|
has RoleArn => (is => 'ro', isa => 'Str', request_name => 'roleArn', traits => ['NameInRequest']); |
14
|
|
|
|
|
|
|
has RunningCount => (is => 'ro', isa => 'Int', request_name => 'runningCount', traits => ['NameInRequest']); |
15
|
|
|
|
|
|
|
has ServiceArn => (is => 'ro', isa => 'Str', request_name => 'serviceArn', traits => ['NameInRequest']); |
16
|
|
|
|
|
|
|
has ServiceName => (is => 'ro', isa => 'Str', request_name => 'serviceName', traits => ['NameInRequest']); |
17
|
|
|
|
|
|
|
has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']); |
18
|
|
|
|
|
|
|
has TaskDefinition => (is => 'ro', isa => 'Str', request_name => 'taskDefinition', traits => ['NameInRequest']); |
19
|
|
|
|
|
|
|
1; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
### main pod documentation begin ### |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 NAME |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
Paws::ECS::Service |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 USAGE |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
This class represents one of two things: |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
34
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::ECS::Service object: |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { ClusterArn => $value, ..., TaskDefinition => $value }); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head3 Results returned from an API call |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::Service object: |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
45
|
|
|
|
|
|
|
$result->Att1->ClusterArn |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 DESCRIPTION |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Details on a service within a cluster |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head2 ClusterArn => Str |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
The Amazon Resource Name (ARN) of the cluster that hosts the service. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head2 CreatedAt => Str |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
The Unix timestamp for when the service was created. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head2 DeploymentConfiguration => L<Paws::ECS::DeploymentConfiguration> |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
Optional deployment parameters that control how many tasks run during |
67
|
|
|
|
|
|
|
the deployment and the ordering of stopping and starting tasks. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head2 Deployments => ArrayRef[L<Paws::ECS::Deployment>] |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
The current state of deployments for the service. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 DesiredCount => Int |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
The desired number of instantiations of the task definition to keep |
78
|
|
|
|
|
|
|
running on the service. This value is specified when the service is |
79
|
|
|
|
|
|
|
created with CreateService, and it can be modified with UpdateService. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head2 Events => ArrayRef[L<Paws::ECS::ServiceEvent>] |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
The event stream for your service. A maximum of 100 of the latest |
85
|
|
|
|
|
|
|
events are displayed. |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head2 LoadBalancers => ArrayRef[L<Paws::ECS::LoadBalancer>] |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
A list of Elastic Load Balancing load balancer objects, containing the |
91
|
|
|
|
|
|
|
load balancer name, the container name (as it appears in a container |
92
|
|
|
|
|
|
|
definition), and the container port to access from the load balancer. |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head2 PendingCount => Int |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
The number of tasks in the cluster that are in the C<PENDING> state. |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=head2 PlacementConstraints => ArrayRef[L<Paws::ECS::PlacementConstraint>] |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
The placement constraints for the tasks in the service. |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head2 PlacementStrategy => ArrayRef[L<Paws::ECS::PlacementStrategy>] |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
The placement strategy that determines how tasks for the service are |
108
|
|
|
|
|
|
|
placed. |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=head2 RoleArn => Str |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
The Amazon Resource Name (ARN) of the IAM role associated with the |
114
|
|
|
|
|
|
|
service that allows the Amazon ECS container agent to register |
115
|
|
|
|
|
|
|
container instances with an Elastic Load Balancing load balancer. |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=head2 RunningCount => Int |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
The number of tasks in the cluster that are in the C<RUNNING> state. |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=head2 ServiceArn => Str |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
The Amazon Resource Name (ARN) that identifies the service. The ARN |
126
|
|
|
|
|
|
|
contains the C<arn:aws:ecs> namespace, followed by the region of the |
127
|
|
|
|
|
|
|
service, the AWS account ID of the service owner, the C<service> |
128
|
|
|
|
|
|
|
namespace, and then the service name. For example, |
129
|
|
|
|
|
|
|
C<arn:aws:ecs:I<region>:I<012345678910>:service/I<my-service> >. |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
=head2 ServiceName => Str |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
The name of your service. Up to 255 letters (uppercase and lowercase), |
135
|
|
|
|
|
|
|
numbers, hyphens, and underscores are allowed. Service names must be |
136
|
|
|
|
|
|
|
unique within a cluster, but you can have similarly named services in |
137
|
|
|
|
|
|
|
multiple clusters within a region or across multiple regions. |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
=head2 Status => Str |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
The status of the service. The valid values are C<ACTIVE>, C<DRAINING>, |
143
|
|
|
|
|
|
|
or C<INACTIVE>. |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=head2 TaskDefinition => Str |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
The task definition to use for tasks in the service. This value is |
149
|
|
|
|
|
|
|
specified when the service is created with CreateService, and it can be |
150
|
|
|
|
|
|
|
modified with UpdateService. |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
=head1 SEE ALSO |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::ECS> |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
=cut |
165
|
|
|
|
|
|
|
|