Module Values.StopServiceDeploymentRequestSource

Stops an ongoing service deployment. The following stop types are avaiable: ROLLBACK - This option rolls back the service deployment to the previous service revision. You can use this option even if you didn't configure the service deployment for the rollback option. For more information, see Stopping Amazon ECS service deployments in the Amazon Elastic Container Service Developer Guide.

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

    The ARN of the service deployment that you want to stop.

    *)
  2. stopType : StopServiceDeploymentStopType.t option;
    (*

    How you want Amazon ECS to stop the service. The valid values are ROLLBACK.

    *)
}
Sourceval context_ : string
Sourceval make : ?stopType:??? -> serviceDeploymentArn:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum 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