Module Values.CancelInstanceRefreshAnswerSource

Cancels an instance refresh or rollback that is in progress. If an instance refresh or rollback is not in progress, an ActiveInstanceRefreshNotFound error occurs. This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes. When you cancel an instance refresh, this does not roll back any changes that it made. Use the RollbackInstanceRefresh API to roll back instead.

Sourcetype cancelInstanceRefreshResult = {
  1. instanceRefreshId : XmlStringMaxLen255.t option;
    (*

    The instance refresh ID associated with the request. This is the unique ID assigned to the instance refresh when it was started.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. cancelInstanceRefreshResult : cancelInstanceRefreshResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `ActiveInstanceRefreshNotFoundFault of ActiveInstanceRefreshNotFoundFault.t
  2. | `LimitExceededFault of LimitExceededFault.t
  3. | `ResourceContentionFault of ResourceContentionFault.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?instanceRefreshId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ActiveInstanceRefreshNotFoundFault of ActiveInstanceRefreshNotFoundFault.t | `LimitExceededFault of LimitExceededFault.t | `ResourceContentionFault of ResourceContentionFault.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ActiveInstanceRefreshNotFoundFault of ActiveInstanceRefreshNotFoundFault.t | `LimitExceededFault of LimitExceededFault.t | `ResourceContentionFault of ResourceContentionFault.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `String of XmlStringMaxLen255.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