Paws::ECS::UpdateContainerInstancesState - Arguments for method UpdateContainerInstancesState on Paws::ECS
This class represents the parameters used for calling the method UpdateContainerInstancesState on the Amazon EC2 Container Service service. Use the attributes of this class as arguments to method UpdateContainerInstancesState.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateContainerInstancesState.
my $ecs = Paws->service('ECS'); my $UpdateContainerInstancesStateResponse = $ecs->UpdateContainerInstancesState( ContainerInstances => [ 'MyString', ... ], Status => 'ACTIVE', Cluster => 'MyString', # OPTIONAL ); # Results: my $ContainerInstances = $UpdateContainerInstancesStateResponse->ContainerInstances; my $Failures = $UpdateContainerInstancesStateResponse->Failures; # Returns a L<Paws::ECS::UpdateContainerInstancesStateResponse> object.
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. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/ecs/UpdateContainerInstancesState
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to update. If you do not specify a cluster, the default cluster is assumed.
A list of container instance IDs or full ARN entries.
The container instance state with which to update the container instance. The only valid values for this action are ACTIVE and DRAINING. A container instance can only be updated to DRAINING status once it has reached an ACTIVE state. If a container instance is in REGISTERING, DEREGISTERING, or REGISTRATION_FAILED state you can describe the container instance but will be unable to update the container instance state.
ACTIVE
DRAINING
REGISTERING
DEREGISTERING
REGISTRATION_FAILED
Valid values are: "ACTIVE", "DRAINING", "REGISTERING", "DEREGISTERING", "REGISTRATION_FAILED"
"ACTIVE"
"DRAINING"
"REGISTERING"
"DEREGISTERING"
"REGISTRATION_FAILED"
This class forms part of Paws, documenting arguments for method UpdateContainerInstancesState in Paws::ECS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.