code: @Override
      public PutScalingPolicyResult putScalingPolicy(PutScalingPolicyRequest request) {
          request = beforeClientExecution(request);
          return executePutScalingPolicy(request);
      }
docs: <p>
  Creates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name
  and set the parameters to change. Any existing parameter not changed in an update to an existing policy is not
  changed in this update request.
  </p>
  
  @param putScalingPolicyRequest
  @return Result of the PutScalingPolicy operation returned by the service.
  @throws LimitExceededException
  You have already reached a limit for your Amazon EC2 Auto Scaling resources (for example, Auto Scaling
  groups, launch configurations, or lifecycle hooks). For more information, see
  <a>DescribeAccountLimits</a>.
  @throws ResourceContentionException
  You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling
  group, instance, or load balancer).
  @throws ServiceLinkedRoleFailureException
  The service-linked role is not yet ready for use.
  @sample AmazonAutoScaling.PutScalingPolicy
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScalingPolicy" target="_top">AWS
  API Documentation</a>