File Coverage

blib/lib/Paws/ECS/SubmitContainerStateChange.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::SubmitContainerStateChange;
3 1     1   396 use Moose;
  1         2  
  1         9  
4             has Cluster => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'cluster' );
5             has ContainerName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'containerName' );
6             has ExitCode => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'exitCode' );
7             has NetworkBindings => (is => 'ro', isa => 'ArrayRef[Paws::ECS::NetworkBinding]', traits => ['NameInRequest'], request_name => 'networkBindings' );
8             has Reason => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'reason' );
9             has Status => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'status' );
10             has Task => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'task' );
11              
12 1     1   6791 use MooseX::ClassAttribute;
  1         2  
  1         9  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'SubmitContainerStateChange');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ECS::SubmitContainerStateChangeResponse');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::ECS::SubmitContainerStateChange - Arguments for method SubmitContainerStateChange on Paws::ECS
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method SubmitContainerStateChange on the
28             Amazon EC2 Container Service service. Use the attributes of this class
29             as arguments to method SubmitContainerStateChange.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SubmitContainerStateChange.
32              
33             As an example:
34              
35             $service_obj->SubmitContainerStateChange(Att1 => $value1, Att2 => $value2, ...);
36              
37             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.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 Cluster => Str
43              
44             The short name or full Amazon Resource Name (ARN) of the cluster that
45             hosts the container.
46              
47              
48              
49             =head2 ContainerName => Str
50              
51             The name of the container.
52              
53              
54              
55             =head2 ExitCode => Int
56              
57             The exit code returned for the state change request.
58              
59              
60              
61             =head2 NetworkBindings => ArrayRef[L<Paws::ECS::NetworkBinding>]
62              
63             The network bindings of the container.
64              
65              
66              
67             =head2 Reason => Str
68              
69             The reason for the state change request.
70              
71              
72              
73             =head2 Status => Str
74              
75             The status of the state change request.
76              
77              
78              
79             =head2 Task => Str
80              
81             The task ID or full Amazon Resource Name (ARN) of the task that hosts
82             the container.
83              
84              
85              
86              
87             =head1 SEE ALSO
88              
89             This class forms part of L<Paws>, documenting arguments for method SubmitContainerStateChange in L<Paws::ECS>
90              
91             =head1 BUGS and CONTRIBUTIONS
92              
93             The source code is located here: https://github.com/pplu/aws-sdk-perl
94              
95             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
96              
97             =cut
98