Module Smaws_Client_AutoScaling.DeletePolicy

Deletes the specified scaling policy.

Deleting either a step scaling policy or a simple scaling policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action.

For more information, see Delete a scaling policy in the Amazon EC2 Auto Scaling User Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `ResourceContentionFault of Types.resource_contention_fault | `ServiceLinkedRoleFailure of Types.service_linked_role_failure ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.delete_policy_type -> (Smaws_Lib.Smithy_api.Types.unit_, [> Smaws_Lib.Protocols.AwsQuery.error | `ResourceContentionFault of Types.resource_contention_fault | `ServiceLinkedRoleFailure of Types.service_linked_role_failure ]) Stdlib.result