Smaws_Client_AutoScalingPlans.DeleteScalingPlanDeletes the specified scaling plan.
Deleting a scaling plan deletes the underlying ScalingInstruction for all of the scalable resources that are covered by the plan.
If the plan has launched resources or has scaling activities in progress, you must delete those resources separately.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ConcurrentUpdateException of Types.concurrent_update_exception
| `InternalServiceException of Types.internal_service_exception
| `ObjectNotFoundException of Types.object_not_found_exception
| `ValidationException of Types.validation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_scaling_plan_request ->
(Types.delete_scaling_plan_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConcurrentUpdateException of Types.concurrent_update_exception
| `InternalServiceException of Types.internal_service_exception
| `ObjectNotFoundException of Types.object_not_found_exception
| `ValidationException of Types.validation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_scaling_plan_request ->
(Types.delete_scaling_plan_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConcurrentUpdateException of Types.concurrent_update_exception
| `InternalServiceException of Types.internal_service_exception
| `ObjectNotFoundException of Types.object_not_found_exception
| `ValidationException of Types.validation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result