(self, target_capacity, *, dry_run=False)
Modify the requested capacity for a particular spot fleet

        :param target_capacity: desired capacity after this operation
Modify the requested capacity for a particular spot fleet
Modify the requested capacity for a particular spot fleet
def modify_target_capacity(self, target_capacity, *, dry_run=False):
        """ Modify the requested capacity for a particular spot fleet

        :param target_capacity: desired capacity after this operation
        """
        if dry_run:
            return

        curr_capacity = self.fulfilled_capacity
        self.__target_capacity = target_capacity
        if curr_capacity < target_capacity:
            self._increase_capacity_to_target(target_capacity)
def modify_target_capacity ( self , target_capacity , * , dry_run = False ) : if dry_run : return curr_capacity = self . fulfilled_capacity self . __target_capacity = target_capacity if curr_capacity < target_capacity : self . _increase_capacity_to_target ( target_capacity )