Smaws_Client_AutoScaling.CancelInstanceRefreshCancels 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `ActiveInstanceRefreshNotFoundFault of
Types.active_instance_refresh_not_found_fault
| `LimitExceededFault of Types.limit_exceeded_fault
| `ResourceContentionFault of Types.resource_contention_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.cancel_instance_refresh_type ->
(Types.cancel_instance_refresh_answer,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ActiveInstanceRefreshNotFoundFault of
Types.active_instance_refresh_not_found_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.cancel_instance_refresh_type ->
(Types.cancel_instance_refresh_answer Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ActiveInstanceRefreshNotFoundFault of
Types.active_instance_refresh_not_found_fault
| `LimitExceededFault of Types.limit_exceeded_fault
| `ResourceContentionFault of Types.resource_contention_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result