Module Values.SetInstanceProtectionAnswerSource

Updates the instance protection settings of the specified instances. This operation cannot be called on instances in a warm pool. For more information, see Use instance scale-in protection in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call fails.

Sourcetype setInstanceProtectionResult = unit
Sourceand responseMetaData = unit
Sourceand t = {
  1. setInstanceProtectionResult : setInstanceProtectionResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `LimitExceededFault of LimitExceededFault.t
  2. | `ResourceContentionFault of ResourceContentionFault.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `LimitExceededFault of LimitExceededFault.t | `ResourceContentionFault of ResourceContentionFault.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.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 of_header_and_body : ('a * 'b) -> t
Sourceval to_value : 'a -> [> `Structure of 'b list ]
Sourceval to_query : 'a -> Awso.Client.Query.t
Sourceval of_xml : 'a -> t
Sourceval of_string : string -> t
Sourceval of_json : 'a -> t
Sourceval to_json : 'a -> Yojson.Safe.t