Module Values.RollbackApplicationResponseSource

Reverts the application to the previous running version. You can roll back an application if you suspect it is stuck in a transient status or in the running status. You can roll back an application only if it is in the UPDATING, AUTOSCALING, or RUNNING statuses. When you rollback an application, it loads state data from the last successful snapshot. If the application has no snapshots, Managed Service for Apache Flink rejects the rollback request.

Sourcetype nonrec t = {
  1. applicationDetail : ApplicationDetail.t option;
  2. operationId : OperationId.t option;
    (*

    The operation ID that can be used to track the request.

    *)
}
Sourcetype nonrec error = [
  1. | `ConcurrentModificationException of ConcurrentModificationException.t
  2. | `InvalidArgumentException of InvalidArgumentException.t
  3. | `InvalidRequestException of InvalidRequestException.t
  4. | `ResourceInUseException of ResourceInUseException.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `UnsupportedOperationException of UnsupportedOperationException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?applicationDetail:??? -> ?operationId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConcurrentModificationException of ConcurrentModificationException.t | `InvalidArgumentException of InvalidArgumentException.t | `InvalidRequestException of InvalidRequestException.t | `ResourceInUseException of ResourceInUseException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option | `UnsupportedOperationException of UnsupportedOperationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConcurrentModificationException of ConcurrentModificationException.t | `InvalidArgumentException of InvalidArgumentException.t | `InvalidRequestException of InvalidRequestException.t | `ResourceInUseException of ResourceInUseException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option | `UnsupportedOperationException of UnsupportedOperationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of OperationId.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of Id.t ]) list ] list | `Long of ApplicationVersionId.t | `String of ResourceARN.t | `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `String of SubnetId.t ] list | `String of Id.t ]) list ] list | `String of ApplicationMaintenanceWindowStartTime.t | `Structure of (string * [> `Boolean of BooleanObject.t | `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `String of InAppStreamName.t ] list | `Map of ([> `String of PropertyKey.t ] * [> `String of PropertyValue.t ]) list | `String of Id.t | `Structure of (string * [> `Enum of string | `Integer of InputParallelismCount.t | `List of [> `Structure of (string * [> `String of RecordColumnName.t ]) list ] list | `String of ResourceARN.t | `Structure of (string * [> `Enum of string | `String of ResourceARN.t | `Structure of (string * [> `Structure of (string * [> `String of RecordRowPath.t ]) list ]) list ]) list ]) list ]) list ] list | `String of JobPlanDescription.t | `Structure of (string * [> `Boolean of BooleanObject.t | `Enum of string | `Integer of Parallelism.t | `Long of CodeSize.t | `String of TextContent.t | `Structure of (string * [> `String of BucketARN.t ]) list ]) list ]) list ]) list | `Timestamp of Timestamp.t ]) list ]) 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