Amazon.AutoScaling.AmazonAutoScalingClient.DeletePolicy C# (CSharp) Method

DeletePolicy() public method

Deletes the specified Auto Scaling policy.

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

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DeletePolicy ( DeletePolicyRequest request ) : DeletePolicyResponse
request DeletePolicyRequest Container for the necessary parameters to execute the DeletePolicy service method.
return DeletePolicyResponse
        public DeletePolicyResponse DeletePolicy(DeletePolicyRequest request)
        {
            var marshaller = new DeletePolicyRequestMarshaller();
            var unmarshaller = DeletePolicyResponseUnmarshaller.Instance;

            return Invoke<DeletePolicyRequest,DeletePolicyResponse>(request, marshaller, unmarshaller);
        }
AmazonAutoScalingClient