Module Values.StopDeploymentRequestSource

Stops a deployment. This API action works only on deployments that have a status of DEPLOYING, unless an AllowRevert parameter is supplied. If the AllowRevert parameter is supplied, the status of an in-progress deployment will be ROLLED_BACK. The status of a completed deployment will be REVERTED. AppConfig only allows a revert within 72 hours of deployment completion.

Sourcetype nonrec t = {
  1. applicationId : Id.t;
    (*

    The application ID.

    *)
  2. environmentId : Id.t;
    (*

    The environment ID.

    *)
  3. deploymentNumber : Integer.t;
    (*

    The sequence number of the deployment.

    *)
  4. allowRevert : Boolean.t option;
    (*

    A Boolean that enables AppConfig to rollback a COMPLETED deployment to the previous configuration version. This action moves the deployment to a status of REVERTED.

    *)
}
Sourceval context_ : string
Sourceval make : ?allowRevert:??? -> applicationId:Id.t -> environmentId:Id.t -> deploymentNumber:Integer.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `String of Id.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