blib/lib/Paws/ECS/SubmitContainerStateChange.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 27 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ECS::SubmitContainerStateChange;
3 use Moose;
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 RuntimeId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'runtimeId' );
10 has Status => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'status' );
11 has Task => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'task' );
12  
13 use MooseX::ClassAttribute;
14  
15 class_has _api_call => (isa => 'Str', is => 'ro', default => 'SubmitContainerStateChange');
16 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ECS::SubmitContainerStateChangeResponse');
17 class_has _result_key => (isa => 'Str', is => 'ro');
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::ECS::SubmitContainerStateChange - Arguments for method SubmitContainerStateChange on L<Paws::ECS>
25  
26 =head1 DESCRIPTION
27  
28 This class represents the parameters used for calling the method SubmitContainerStateChange on the
29 L<Amazon EC2 Container Service|Paws::ECS> service. Use the attributes of this class
30 as arguments to method SubmitContainerStateChange.
31  
32 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SubmitContainerStateChange.
33  
34 =head1 SYNOPSIS
35  
36 my $ecs = Paws->service('ECS');
37 my $SubmitContainerStateChangeResponse = $ecs->SubmitContainerStateChange(
38 Cluster => 'MyString', # OPTIONAL
39 ContainerName => 'MyString', # OPTIONAL
40 ExitCode => 1, # OPTIONAL
41 NetworkBindings => [
42 {
43 BindIP => 'MyString',
44 ContainerPort => 1,
45 HostPort => 1,
46 Protocol => 'tcp', # values: tcp, udp; OPTIONAL
47 },
48 ...
49 ], # OPTIONAL
50 Reason => 'MyString', # OPTIONAL
51 RuntimeId => 'MyString', # OPTIONAL
52 Status => 'MyString', # OPTIONAL
53 Task => 'MyString', # OPTIONAL
54 );
55  
56 # Results:
57 my $Acknowledgment = $SubmitContainerStateChangeResponse->Acknowledgment;
58  
59 # Returns a L<Paws::ECS::SubmitContainerStateChangeResponse> object.
60  
61 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.
62 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ecs/SubmitContainerStateChange>
63  
64 =head1 ATTRIBUTES
65  
66  
67 =head2 Cluster => Str
68  
69 The short name or full ARN of the cluster that hosts the container.
70  
71  
72  
73 =head2 ContainerName => Str
74  
75 The name of the container.
76  
77  
78  
79 =head2 ExitCode => Int
80  
81 The exit code returned for the state change request.
82  
83  
84  
85 =head2 NetworkBindings => ArrayRef[L<Paws::ECS::NetworkBinding>]
86  
87 The network bindings of the container.
88  
89  
90  
91 =head2 Reason => Str
92  
93 The reason for the state change request.
94  
95  
96  
97 =head2 RuntimeId => Str
98  
99 The ID of the Docker container.
100  
101  
102  
103 =head2 Status => Str
104  
105 The status of the state change request.
106  
107  
108  
109 =head2 Task => Str
110  
111 The task ID or full Amazon Resource Name (ARN) of the task that hosts
112 the container.
113  
114  
115  
116  
117 =head1 SEE ALSO
118  
119 This class forms part of L<Paws>, documenting arguments for method SubmitContainerStateChange in L<Paws::ECS>
120  
121 =head1 BUGS and CONTRIBUTIONS
122  
123 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
124  
125 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
126  
127 =cut
128