Smaws_Client_AutoScaling.RollbackInstanceRefreshCancels an instance refresh that is in progress and rolls back any changes that it made. Amazon EC2 Auto Scaling replaces any instances that were replaced during the instance refresh. This restores your Auto Scaling group to the configuration that it was using before the start of the instance refresh.
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.
A rollback is not supported in the following situations:
ImageId property.$Latest or $Default version.When you receive a successful response from this operation, Amazon EC2 Auto Scaling immediately begins replacing instances. You can check the status of this operation through the DescribeInstanceRefreshes API operation.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `ActiveInstanceRefreshNotFoundFault of
Types.active_instance_refresh_not_found_fault
| `IrreversibleInstanceRefreshFault of
Types.irreversible_instance_refresh_fault
| `LimitExceededFault of Types.limit_exceeded_fault
| `ResourceContentionFault of Types.resource_contention_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.rollback_instance_refresh_type ->
(Types.rollback_instance_refresh_answer,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ActiveInstanceRefreshNotFoundFault of
Types.active_instance_refresh_not_found_fault
| `IrreversibleInstanceRefreshFault of
Types.irreversible_instance_refresh_fault
| `LimitExceededFault of Types.limit_exceeded_fault
| `ResourceContentionFault of Types.resource_contention_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.rollback_instance_refresh_type ->
(Types.rollback_instance_refresh_answer Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ActiveInstanceRefreshNotFoundFault of
Types.active_instance_refresh_not_found_fault
| `IrreversibleInstanceRefreshFault of
Types.irreversible_instance_refresh_fault
| `LimitExceededFault of Types.limit_exceeded_fault
| `ResourceContentionFault of Types.resource_contention_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result