Values.GetTaskProtectionResponseSourceRetrieves the protection status of tasks in an Amazon ECS service.
type nonrec t = {protectedTasks : ProtectedTasks.t option;A list of tasks with the following information. taskArn: The task ARN. protectionEnabled: The protection status of the task. If scale-in protection is turned on for a task, the value is true. Otherwise, it is false. expirationDate: The epoch time when protection for the task will expire.
*)failures : Failures.t option;Any failures associated with the call.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `ClientException of ClientException.t| `ClusterNotFoundException of ClusterNotFoundException.t| `InvalidParameterException of InvalidParameterException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ServerException of ServerException.t| `UnsupportedFeatureException of UnsupportedFeatureException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ClientException of ClientException.t
| `ClusterNotFoundException of ClusterNotFoundException.t
| `InvalidParameterException of InvalidParameterException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServerException of ServerException.t
| `Unknown_operation_error of string * string option
| `UnsupportedFeatureException of UnsupportedFeatureException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ClientException of ClientException.t
| `ClusterNotFoundException of ClusterNotFoundException.t
| `InvalidParameterException of InvalidParameterException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServerException of ServerException.t
| `Unknown_operation_error of string * string option
| `UnsupportedFeatureException of UnsupportedFeatureException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `String of String_.t
| `Timestamp of Timestamp.t ])
list ]
list ])
list ]