ó ¡ôXc@s:ddlmZddlmZdefd„ƒYZdS(iÿÿÿÿ(tArg(tAutoScalingRequesttPutScalingPolicycBséeZdZedddddƒedddd dd d edd ƒed dddddded eddƒeddddd edd%ddƒeddddddeddƒedd dd!dedd"dd#ƒgZd$„ZRS(&s7Create or update an auto-scaling group's scaling policyt PolicyNametmetavartPOLICYthelps1name of the policy to create or update (required)s-gs--auto-scaling-grouptdesttAutoScalingGroupNametASGROUPtrequiredsWname of the auto-scaling group the policy is associated with (required)s-as --adjustmenttScalingAdjustmenttSCALEttypes£amount to scale the group's capacity of the group. Use a negative value, as in "--adjustment=-1", to decrease capacity. (required)s-ts--typetAdjustmentTypetchoicestChangeInCapacityt ExactCapacitytPercentChangeInCapacitysêwhether the adjustment is the new desired size or an increment to the group's current capacity. An increment can either be a fixed number or a percentage of current capacity. (required)s --cooldowntCooldowntSECONDSs“waiting period after successful auto-scaling activities during which later auto-scaling activities will not executes-ss--min-adjustment-steptMinAdjustmentSteptPERCENTs¤for a PercentChangeInCapacity type policy, guarantee that this policy will change the group's desired capacity by at least this muchcCs|jdƒGHdS(Nt PolicyARN(tget(tselftresult((sS/usr/lib/python2.7/site-packages/euca2ools/commands/autoscaling/putscalingpolicy.pyt print_result=s(RRR(t__name__t __module__t DESCRIPTIONRtTruetinttARGSR(((sS/usr/lib/python2.7/site-packages/euca2ools/commands/autoscaling/putscalingpolicy.pyRs&   N(trequestbuilderRteuca2ools.commands.autoscalingRR(((sS/usr/lib/python2.7/site-packages/euca2ools/commands/autoscaling/putscalingpolicy.pyts