Module Values.DetachInstancesAnswerSource

Removes one or more instances from the specified Auto Scaling group. After the instances are detached, you can manage them independent of the Auto Scaling group. If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches instances to replace the ones that are detached. If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups. For more information, see Detach or attach instances in the Amazon EC2 Auto Scaling User Guide.

Sourcetype detachInstancesResult = {
  1. activities : Activities.t option;
    (*

    The activities related to detaching the instances from the Auto Scaling group.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. detachInstancesResult : detachInstancesResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `ResourceContentionFault of ResourceContentionFault.t
  2. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?activities:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ResourceContentionFault of ResourceContentionFault.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.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 * [> `List of [> `Structure of (string * [> `Enum of string | `Integer of Progress.t | `String of XmlString.t | `Timestamp of TimestampType.t ]) list ] list ]) 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