Creates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name and set the parameter(s) you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.
 Declaration Syntax
 Declaration Syntax| C# | 
PutScalingPolicyResponse PutScalingPolicy( PutScalingPolicyRequest putScalingPolicyRequest )
 Parameters
 Parameters- putScalingPolicyRequest (PutScalingPolicyRequest)
- Container for the necessary parameters to execute the PutScalingPolicy service method on AmazonAutoScaling.
 Return Value
 Return ValueThe response from the PutScalingPolicy service method, as returned by AmazonAutoScaling.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| LimitExceededException |