![]() |
![]()
| ![]() |
![]()
NAMEPaws::ECS::StopTask - Arguments for method StopTask on Paws::ECS DESCRIPTIONThis class represents the parameters used for calling the method StopTask on the Amazon EC2 Container Service service. Use the attributes of this class as arguments to method StopTask. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StopTask. SYNOPSISmy $ecs = Paws->service('ECS'); my $StopTaskResponse = $ecs->StopTask( Task => 'MyString', Cluster => 'MyString', # OPTIONAL Reason => 'MyString', # OPTIONAL ); # Results: my $Task = $StopTaskResponse->Task; # Returns a L<Paws::ECS::StopTaskResponse> 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/StopTask> ATTRIBUTESCluster => StrThe short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to stop. If you do not specify a cluster, the default cluster is assumed. Reason => StrAn optional message specified when a task is stopped. For example, if you are using a custom scheduler, you can use this parameter to specify the reason for stopping the task here, and the message appears in subsequent DescribeTasks API operations on this task. Up to 255 characters are allowed in this message. REQUIRED Task => StrThe task ID or full Amazon Resource Name (ARN) of the task to stop. SEE ALSOThis class forms part of Paws, documenting arguments for method StopTask in Paws::ECS BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|