    # File lib/fog/aws/requests/auto_scaling/put_scaling_policy.rb, line 58
            def put_scaling_policy(adjustment_type, auto_scaling_group_name, policy_name, scaling_adjustment, options = {})
              unless self.data[:auto_scaling_groups].has_key?(auto_scaling_group_name)
                raise Fog::AWS::AutoScaling::ValidationError.new('Auto Scaling Group name not found - null')
              end
              self.data[:scaling_policies][policy_name] = {
                'AdjustmentType'       => adjustment_type,
                'Alarms'               => [],
                'AutoScalingGroupName' => auto_scaling_group_name,
                'Cooldown'             => 0,
                'MinAdjustmentStep'    => 0,
                'PolicyARN'            => Fog::AWS::Mock.arn('autoscaling', self.data[:owner_id], "scalingPolicy:00000000-0000-0000-0000-000000000000:autoScalingGroupName/#{auto_scaling_group_name}:policyName/#{policy_name}", self.region),
                'PolicyName'           => policy_name,
                'ScalingAdjustment'    => scaling_adjustment
              }.merge!(options)

              response = Excon::Response.new
              response.status = 200
              response.body = {
                'ResponseMetadata' => { 'RequestId' => Fog::AWS::Mock.request_id }
              }
              response
            end