Module Values.StopTaskRequestSource

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

    The 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.

    *)
  2. task : String_.t;
    (*

    Thefull Amazon Resource Name (ARN) of the task.

    *)
  3. reason : String_.t option;
    (*

    An optional message specified when a task is stopped. For example, if you're 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.

    *)
}
Sourceval context_ : string
Sourceval make : ?cluster:??? -> ?reason:??? -> task:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.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