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

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ECS::UpdateContainerInstancesState;
3 use Moose;
4 has Cluster => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'cluster' );
5 has ContainerInstances => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'containerInstances' , required => 1);
6 has Status => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'status' , required => 1);
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateContainerInstancesState');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ECS::UpdateContainerInstancesStateResponse');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::ECS::UpdateContainerInstancesState - Arguments for method UpdateContainerInstancesState on L<Paws::ECS>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method UpdateContainerInstancesState on the
24 L<Amazon EC2 Container Service|Paws::ECS> service. Use the attributes of this class
25 as arguments to method UpdateContainerInstancesState.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateContainerInstancesState.
28  
29 =head1 SYNOPSIS
30  
31 my $ecs = Paws->service('ECS');
32 my $UpdateContainerInstancesStateResponse =
33 $ecs->UpdateContainerInstancesState(
34 ContainerInstances => [ 'MyString', ... ],
35 Status => 'ACTIVE',
36 Cluster => 'MyString', # OPTIONAL
37 );
38  
39 # Results:
40 my $ContainerInstances =
41 $UpdateContainerInstancesStateResponse->ContainerInstances;
42 my $Failures = $UpdateContainerInstancesStateResponse->Failures;
43  
44 # Returns a L<Paws::ECS::UpdateContainerInstancesStateResponse> object.
45  
46 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.
47 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ecs/UpdateContainerInstancesState>
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 Cluster => Str
53  
54 The short name or full Amazon Resource Name (ARN) of the cluster that
55 hosts the container instance to update. If you do not specify a
56 cluster, the default cluster is assumed.
57  
58  
59  
60 =head2 B<REQUIRED> ContainerInstances => ArrayRef[Str|Undef]
61  
62 A list of container instance IDs or full ARN entries.
63  
64  
65  
66 =head2 B<REQUIRED> Status => Str
67  
68 The container instance state with which to update the container
69 instance. The only valid values for this action are C<ACTIVE> and
70 C<DRAINING>. A container instance can only be updated to C<DRAINING>
71 status once it has reached an C<ACTIVE> state. If a container instance
72 is in C<REGISTERING>, C<DEREGISTERING>, or C<REGISTRATION_FAILED> state
73 you can describe the container instance but will be unable to update
74 the container instance state.
75  
76 Valid values are: C<"ACTIVE">, C<"DRAINING">, C<"REGISTERING">, C<"DEREGISTERING">, C<"REGISTRATION_FAILED">
77  
78  
79 =head1 SEE ALSO
80  
81 This class forms part of L<Paws>, documenting arguments for method UpdateContainerInstancesState in L<Paws::ECS>
82  
83 =head1 BUGS and CONTRIBUTIONS
84  
85 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
86  
87 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
88  
89 =cut
90