parameters: (self, capacity)
return_statement: return req
docstring: Set the desired capacity for the group.
docstring_summary: Set the desired capacity for the group.
docstring_tokens: Set the desired capacity for the group .
function: def set_capacity(self, capacity):
          """
          Set the desired capacity for the group.
          """
          params = {'AutoScalingGroupName': self.name,
                    'DesiredCapacity': capacity}
          req = self.connection.get_object('SetDesiredCapacity', params,
                                           Request)
          self.connection.last_request = req
          return req
function_tokens: def set_capacity ( self , capacity ) : params = { 'AutoScalingGroupName' : self . name , 'DesiredCapacity' : capacity } req = self . connection . get_object ( 'SetDesiredCapacity' , params , Request ) self . connection . last_request = req return req