Module Values.ProtectedTaskSource

An object representing the protection status details for a task. You can set the protection status with the UpdateTaskProtection API and get the status of tasks with the GetTaskProtection API.

Sourcetype nonrec t = {
  1. taskArn : String_.t option;
    (*

    The task ARN.

    *)
  2. protectionEnabled : Boolean.t option;
    (*

    The protection status of the task. If scale-in protection is on for a task, the value is true. Otherwise, it is false.

    *)
  3. expirationDate : Timestamp.t option;
    (*

    The epoch time when protection for the task will expire.

    *)
}
Sourceval make : ?taskArn:??? -> ?protectionEnabled:??? -> ?expirationDate:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of String_.t | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t