AutoScaling / Client / delete_warm_pool
delete_warm_pool#
- AutoScaling.Client.delete_warm_pool(**kwargs)#
Deletes the warm pool for the specified Auto Scaling group.
For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
See also: AWS API Documentation
Request Syntax
response = client.delete_warm_pool( AutoScalingGroupName='string', ForceDelete=True|False )
- Parameters:
AutoScalingGroupName (string) –
[REQUIRED]
The name of the Auto Scaling group.
ForceDelete (boolean) – Specifies that the warm pool is to be deleted along with all of its associated instances, without waiting for all instances to be terminated. This parameter also deletes any outstanding lifecycle actions associated with the warm pool instances.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
AutoScaling.Client.exceptions.LimitExceededFault
AutoScaling.Client.exceptions.ResourceContentionFault
AutoScaling.Client.exceptions.ScalingActivityInProgressFault
AutoScaling.Client.exceptions.ResourceInUseFault