File Coverage

blib/lib/Paws/ECS/UpdateService.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::ECS::UpdateService;
3 1     1   470 use Moose;
  1         5  
  1         8  
4             has Cluster => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'cluster' );
5             has DeploymentConfiguration => (is => 'ro', isa => 'Paws::ECS::DeploymentConfiguration', traits => ['NameInRequest'], request_name => 'deploymentConfiguration' );
6             has DesiredCount => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'desiredCount' );
7             has Service => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'service' , required => 1);
8             has TaskDefinition => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'taskDefinition' );
9              
10 1     1   7321 use MooseX::ClassAttribute;
  1         4  
  1         10  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateService');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ECS::UpdateServiceResponse');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::ECS::UpdateService - Arguments for method UpdateService on Paws::ECS
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method UpdateService on the
26             Amazon EC2 Container Service service. Use the attributes of this class
27             as arguments to method UpdateService.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateService.
30              
31             As an example:
32              
33             $service_obj->UpdateService(Att1 => $value1, Att2 => $value2, ...);
34              
35             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 Cluster => Str
41              
42             The short name or full Amazon Resource Name (ARN) of the cluster that
43             your service is running on. If you do not specify a cluster, the
44             default cluster is assumed.
45              
46              
47              
48             =head2 DeploymentConfiguration => L<Paws::ECS::DeploymentConfiguration>
49              
50             Optional deployment parameters that control how many tasks run during
51             the deployment and the ordering of stopping and starting tasks.
52              
53              
54              
55             =head2 DesiredCount => Int
56              
57             The number of instantiations of the task to place and keep running in
58             your service.
59              
60              
61              
62             =head2 B<REQUIRED> Service => Str
63              
64             The name of the service to update.
65              
66              
67              
68             =head2 TaskDefinition => Str
69              
70             The C<family> and C<revision> (C<family:revision>) or full Amazon
71             Resource Name (ARN) of the task definition to run in your service. If a
72             C<revision> is not specified, the latest C<ACTIVE> revision is used. If
73             you modify the task definition with C<UpdateService>, Amazon ECS spawns
74             a task with the new version of the task definition and then stops an
75             old task after the new version is running.
76              
77              
78              
79              
80             =head1 SEE ALSO
81              
82             This class forms part of L<Paws>, documenting arguments for method UpdateService in L<Paws::ECS>
83              
84             =head1 BUGS and CONTRIBUTIONS
85              
86             The source code is located here: https://github.com/pplu/aws-sdk-perl
87              
88             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
89              
90             =cut
91