Module Smaws_Client_ECS.DescribeTasks

Describes a specified task or tasks.

Currently, stopped tasks appear in the returned results for at least one hour.

If you have tasks with tags, and then delete the cluster, the tagged tasks are returned in the response. If you create a new cluster with the same name as the deleted cluster, the tagged tasks are not included in the response.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ClientException of Types.client_exception | `ClusterNotFoundException of Types.cluster_not_found_exception | `InvalidParameterException of Types.invalid_parameter_exception | `ServerException of Types.server_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.describe_tasks_request -> (Types.describe_tasks_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ClientException of Types.client_exception | `ClusterNotFoundException of Types.cluster_not_found_exception | `InvalidParameterException of Types.invalid_parameter_exception | `ServerException of Types.server_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.describe_tasks_request -> (Types.describe_tasks_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ClientException of Types.client_exception | `ClusterNotFoundException of Types.cluster_not_found_exception | `InvalidParameterException of Types.invalid_parameter_exception | `ServerException of Types.server_exception ] * Smaws_Lib.Response.metadata) Stdlib.result