Smaws_Client_ApplicationAutoScaling.DeleteScalingPolicyDeletes the specified scaling policy for an Application Auto Scaling scalable target.
Deleting a step scaling policy deletes the underlying alarm action, but does not delete the CloudWatch alarm associated with the scaling policy, even if it no longer has an associated action.
For more information, see Delete a step scaling policy and Delete a target tracking scaling policy in the Application Auto Scaling User Guide.
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_policy_request ->
(Types.delete_scaling_policy_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_policy_request ->
(Types.delete_scaling_policy_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