File Coverage

blib/lib/Paws/ECS/Deployment.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::ECS::Deployment;
2 1     1   274 use Moose;
  1         3  
  1         5  
3             has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']);
4             has DesiredCount => (is => 'ro', isa => 'Int', request_name => 'desiredCount', traits => ['NameInRequest']);
5             has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest']);
6             has PendingCount => (is => 'ro', isa => 'Int', request_name => 'pendingCount', traits => ['NameInRequest']);
7             has RunningCount => (is => 'ro', isa => 'Int', request_name => 'runningCount', traits => ['NameInRequest']);
8             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
9             has TaskDefinition => (is => 'ro', isa => 'Str', request_name => 'taskDefinition', traits => ['NameInRequest']);
10             has UpdatedAt => (is => 'ro', isa => 'Str', request_name => 'updatedAt', traits => ['NameInRequest']);
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::ECS::Deployment
18              
19             =head1 USAGE
20              
21             This class represents one of two things:
22              
23             =head3 Arguments in a call to a service
24              
25             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26             Each attribute should be used as a named argument in the calls that expect this type of object.
27              
28             As an example, if Att1 is expected to be a Paws::ECS::Deployment object:
29              
30             $service_obj->Method(Att1 => { CreatedAt => $value, ..., UpdatedAt => $value });
31              
32             =head3 Results returned from an API call
33              
34             Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::Deployment object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->CreatedAt
38              
39             =head1 DESCRIPTION
40              
41             The details of an Amazon ECS service deployment.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 CreatedAt => Str
47              
48             The Unix timestamp for when the service was created.
49              
50              
51             =head2 DesiredCount => Int
52              
53             The most recent desired count of tasks that was specified for the
54             service to deploy or maintain.
55              
56              
57             =head2 Id => Str
58              
59             The ID of the deployment.
60              
61              
62             =head2 PendingCount => Int
63              
64             The number of tasks in the deployment that are in the C<PENDING>
65             status.
66              
67              
68             =head2 RunningCount => Int
69              
70             The number of tasks in the deployment that are in the C<RUNNING>
71             status.
72              
73              
74             =head2 Status => Str
75              
76             The status of the deployment. Valid values are C<PRIMARY> (for the most
77             recent deployment), C<ACTIVE> (for previous deployments that still have
78             tasks running, but are being replaced with the C<PRIMARY> deployment),
79             and C<INACTIVE> (for deployments that have been completely replaced).
80              
81              
82             =head2 TaskDefinition => Str
83              
84             The most recent task definition that was specified for the service to
85             use.
86              
87              
88             =head2 UpdatedAt => Str
89              
90             The Unix timestamp for when the service was last updated.
91              
92              
93              
94             =head1 SEE ALSO
95              
96             This class forms part of L<Paws>, describing an object used in L<Paws::ECS>
97              
98             =head1 BUGS and CONTRIBUTIONS
99              
100             The source code is located here: https://github.com/pplu/aws-sdk-perl
101              
102             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
103              
104             =cut
105